summaryrefslogtreecommitdiff
path: root/accessibility
AgeCommit message (Collapse)AuthorFilesLines
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin2-23/+4
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-48/+307
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin19-38/+19
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann49-167/+167
Change-Id: I5e94b084c923fa5d9c925630669cf698b34f34ff
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin1-1/+1
Change-Id: I58410209f32f988f258a588364e0b037c2790211
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin4-12/+6
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-28Get rid of some redundant base class typedefsStephan Bergmann10-35/+31
Change-Id: Ia11ec85cc172d1b81b494107306c0aee98ce2ab5
2015-10-28Fix includesStephan Bergmann2-2/+2
Change-Id: I9e2b4cd366fa4f7561945d9c86e35e984df36fd9
2015-10-28Fix previous 604c6cf42f1d136e5c076b4ae17bec86e7e1a206Stephan Bergmann2-2/+2
"bin confusion with name AccessibleGridControlTableImplHelper," there is no cppu::ImplHelper Change-Id: I289c3a20e848a1ce6f548b5720cf1436eed5352c
2015-10-28bin confusion with name AccessibleGridControlTableImplHelperDouglas Mencken3-7/+7
AccessibleGridControlTableBase.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleTable > AccessibleGridControlTableImplHelper; AccessibleGridControlTable.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleSelection > AccessibleGridControlTableImplHelper1; Change-Id: Icde57d148cf725a3bd4c0927edf7461598398e04 Reviewed-on: https://gerrit.libreoffice.org/19348 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21more removal of com::sun::star typedefsNoel Grandin2-7/+3
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21refactor out some com::sun::star typedefsNoel Grandin1-7/+4
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-13Revert "bin confusion with name AccessibleGridControlTableImplHelper"Noel Grandin3-7/+7
This reverts commit 302866858f1f1c194cadab5d01c2e912034c6c63, I suspect it depends on another commit which is not yet pushed.
2015-10-13bin confusion with name AccessibleGridControlTableImplHelperDouglas Mencken3-7/+7
AccessibleGridControlTableBase.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleTable > AccessibleGridControlTableImplHelper; AccessibleGridControlTable.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleSelection > AccessibleGridControlTableImplHelper1; Change-Id: Iced570b8647325a3bd4c0927edf7461598398e04 Reviewed-on: https://gerrit.libreoffice.org/19333 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann69-1244/+1244
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann7-16/+16
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann1-13/+13
Change-Id: Icc27b904a4cc3dd94b247360d7399349989c7f20
2015-09-30Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-20convert Link<> to typedNoel Grandin11-68/+40
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin2-26/+21
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-11convert Link<> to typedNoel Grandin2-9/+4
and remove unused maChildEventListeners Change-Id: I845a9af608c3429cf9ccb0e8041f24f423839513
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson1-0/+1
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-16sal_uLong to sal_uInt32Matteo Casalin1-2/+2
Change-Id: Ifcde090747127680a9e4b810ff062d024663632c
2015-08-16sal_uLong to sal_uInt32 as TextPaM paragraph numberMatteo Casalin1-16/+12
Applied also to related functions. Also fix a couple of minor issues while at it. Change-Id: I615094d047c87a0f4854054e720492d3ab25c575
2015-08-16sal_uInt16 to sal_Int32Matteo Casalin1-6/+2
Change-Id: Ia693dcbcfaa0349ef13466bb2eed877c5823f5bb
2015-08-11loplugin: defaultparamsNoel Grandin6-9/+9
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
2015-08-05loplugin:unusedmethodsNoel Grandin2-33/+7
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04basic,basctl: inline some use-once typedefsNoel Grandin1-2/+2
Change-Id: I60619a5bfe9507fb5ed24123f62f6b5c2f2c8712
2015-08-01sal_uInt16 to sal_Int32, constify, minor optimizationsMatteo Casalin1-13/+7
Change-Id: Icc41bbe09e495454ca27e9281eca6f4731a135c8
2015-08-01sal_uInt16 to sal_Int32Matteo Casalin1-4/+2
Change-Id: Ic2af80d2335875672fee5b61083b1f7f9703dac7
2015-07-30loplugin:unusedmethodsNoel Grandin2-19/+0
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-29chmod -xTor Lillqvist32-0/+0
Change-Id: I4a248b59e12587c3b2ce79676fdce29a348b6751
2015-07-24loplugin:unusedmethodsNoel Grandin1-15/+0
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a Reviewed-on: https://gerrit.libreoffice.org/17312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin2-21/+0
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17com::sun::star->css in accessibilityNoel Grandin107-1802/+1655
Change-Id: Iadc69c0c7e770a8c7a94942a24b9455233102211 Reviewed-on: https://gerrit.libreoffice.org/17161 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods accessibility,fpicker,uuiNoel Grandin9-44/+11
Change-Id: I106a0be06c4b9fe1313bbd8d4c62472c4b0a4b4f Reviewed-on: https://gerrit.libreoffice.org/17045 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-14loplugin:unusedmethods svtoolsNoel Grandin1-18/+0
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-08Fix typosAndrea Gelmini2-2/+2
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-06tdf#88206: replace cppu::WeakImplHelper* and cppu::WeakComponentImplHelper*Takeshi Abe11-21/+10
with variadic variants, and drop unused #includes, in accessibility. Change-Id: Iddbe0f7932108319a5105448a74c570265d601ce Reviewed-on: https://gerrit.libreoffice.org/16639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06improve the returnbyref lopluginNoel Grandin1-3/+3
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-04Fix typosAndrea Gelmini3-3/+3
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-29sal_uLong->sal_Int32 in SvtIconChoiceCtrlNoel Grandin1-2/+1
and drop the pass-by-reference param from GetSelected, nothing uses it Change-Id: I6d616a2b147912af9305410625af6e7afae34e59 Reviewed-on: https://gerrit.libreoffice.org/16312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-23fix a11y crash seen in save-as-templateCaolán McNamara1-3/+2
Change-Id: Ib00273452a67bd535e2f879d9801ae611e42cc7e
2015-06-17Some missing SolarMutexGuard around VclPtr acquire/releaseStephan Bergmann1-0/+2
At least OutputDevice::acquire/release use a plain unguarded int and ++, --, so apparently rely on the SolarMutex being locked whenever they are called. Fixed those places that caused "make check" to fail for me when temporarily adding DBG_TESTSOLARMUTEX() to OutputDevice::acquire/release. (A recurring pattern is that a class fails to ensure the SolarMutex is locked around the destruction of non-null VclPtr members.) Change-Id: I77cba6f3908f2de1b516ce28f1c3c43b3f57a9c5
2015-06-15cppcheck:redundantConditionNoel Grandin1-1/+1
Change-Id: Ib8b6342d1da526df6104125ded546b3f053c448b
2015-06-11convert expressions like 'size() == 0' to 'empty()'Noel Grandin1-2/+2
Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2-5/+5
Change-Id: If7c99c2ddb98c77bfecf42047fe8798423bb8c9b
2015-05-29loplugin:loopvartoosmallNoel Grandin1-1/+1
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
2015-05-28new clang plugin: loopvartoosmallNoel Grandin6-16/+16
Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini11-32/+11
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>