summaryrefslogtreecommitdiffstats
path: root/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* fdo#63154 Remove some solar.h referencesAlexandre Vicenzi2014-03-152-6/+5
| | | | | | | | | | Remove some solar.h from tools. Replace sal_uLong by size_t, sal_uInt32 and sal_Int32. Change-Id: I38961db046337a3ea4ef75d64afa424d81391f34 Reviewed-on: https://gerrit.libreoffice.org/8582 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* OAccessibleContextWrapperHelper does not implement XAccessibleContextStephan Bergmann2014-03-141-3/+3
| | | | | | | ...but rather some (non-virtual) base functionality for use in derived classes (that do implement XAccessibleContext) Change-Id: Idb0023906108db22bb9696245f07b9a4c053a0d1
* a crash sometimes seen in a11y in baseCaolán McNamara2014-03-131-14/+15
| | | | Change-Id: Id8b7c8394a4e8bc1477c34056b8014d311186d7e
* No need for implGetBounds to be SAL_CALLStephan Bergmann2014-03-1113-13/+13
| | | | Change-Id: I4eb1f998de57a4ceeb7990c6e4a964ce0d07ea88
* accessibility: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-109-75/+9
| | | | Change-Id: I7f8848adf245a4fdf56bff67cc15ee0efb818c43
* made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke2014-03-055-34/+36
| | | | | | | | | | | | ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* remove unused code in accessibility::DocumentNoel Grandin2014-03-052-41/+0
| | | | | | | accessibility::Document::justifySelection(TextPaM&, TextPaM&) accessibility::Document::notifySelectionChange(int, int) Change-Id: I3a5c79ada69c1530ebbbf386bf271f3a83843815
* Revert "Let's use RADIO_BUTTON and CHECK_BUTTON roles"Stephan Bergmann2014-02-261-6/+4
| | | | | This reverts commit 97d4f7e07462cbc33e8ebf0bc2bbf8a17c232d50, which appears to be incomplete: CHECK_BUTTON is not defined anywhere.
* Let's use RADIO_BUTTON and CHECK_BUTTON rolesJulien Nabet2014-02-261-4/+6
| | | | | | Thank you Caolán and Niklas for your support! Change-Id: Ied978b36cc309b2668889d878a309d1a1400633a
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-26123-1926/+1926
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* cppcheck: duplicateIfJulien Nabet2014-02-261-7/+9
| | | | | | | | | | - replace duplicate TIB_DROPDOWN test with TIB_DROPDOWN + TIB_DROPDOWNONLY - consider also TIB_RADIOCHECK as AccessibleRole::TOGGLE_BUTTON Change-Id: Id159349ae1515681f47c373ba3d839ed406284ab Reviewed-on: https://gerrit.libreoffice.org/8164 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove visual noise from accessibilityAlexander Wilms2014-02-2578-314/+314
| | | | | | | Change-Id: I876e5c4d1991b35c1dc2cea709d8a2ddf781b012 Reviewed-on: https://gerrit.libreoffice.org/8225 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann2014-02-245-14/+14
| | | | Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
* Remove unneccessary commentsAlexander Wilms2014-02-2353-1564/+1318
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert2014-02-2016-3/+16
| | | | | | | | | | | | | Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Related: fdo#74242 hook up a selection and caret change for multiline editsCaolán McNamara2014-02-191-0/+1
| | | | | | | | | | | | | a) split the textengine selection changed broadcast into a text selection changed and text caret change event b) handle both in existing places that handled the text selection event c) listen for them in VclMultiLineEdit and translate to VCLEVENT_EDIT_SELECTIONCHANGED VCLEVENT_EDIT_CARETCHANGED events d) profit from the VCLEVENT_EDIT_SELECTIONCHANGED and VCLEVENT_EDIT_CARETCHANGED handling in accessibility/source/standard/vclxaccessibleedit.cxx for VCLXAccessibleEdits Change-Id: I09187e76ae4eb189ee9469e388374154087faf80
* Related: fdo#74242 #i104470# we now have a seperate CARET_CHANGED eventCaolán McNamara2014-02-191-17/+14
| | | | | | | so cursoring left and right in normal non-multiline edit widgets should give a11y cursor-changed events Change-Id: I91e86e43d049793912b3ffcc2802bb9aa4b3857c
* accessibility: add some missing locks in new codeMichael Stahl2014-02-114-9/+18
| | | | Change-Id: Ic38a07c592a89973ca1df807505f87910e84a17f
* the return of callcatcherCaolán McNamara2014-02-102-15/+0
| | | | Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
* std::less is the default hereStephan Bergmann2014-02-071-1/+1
| | | | Change-Id: I57428772187d3487668eca2f553c74e18e4f736e
* auto_ptr -> scoped_ptrStephan Bergmann2014-02-074-15/+9
| | | | Change-Id: I05c461deca118f1a1b75d94b4d00ce797987e8d6
* Avoid unnecessary heap allocationStephan Bergmann2014-02-074-22/+8
| | | | Change-Id: I7bc1a0960cc100c51b90c50838a5ef620f3c763f
* Doxygen warnings correctedChris Sherlock2014-02-052-3/+3
| | | | | | | | | | | | | | | * Doxygen spits out a lot of warnings about not being able to find match function signatures, etc. This is because in some headers we have a using namespace statement, in others it gets confused between ::Window and Window (!). * Wrong use of tags: + Lots of @seealso - should be @see + Wrong usage of @overload - corrected with the right function signature + HTML tags that doxygen doesn't recognize removed Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
* fix ambiguitiesCaolán McNamara2014-02-042-3/+3
| | | | Change-Id: Ice46cfbe8a21c5e641e09070128b8f412411c9d9
* Related: #i123862# use O*String's isEmpty() method...Herbert Dürr2014-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | to check for emptiness in modules starting with 'a' Patch-by: j.nitschke@ok.de Review-by: hdu@apache.org (cherry picked from commit 40b2ffbb1036c2f2db50965525009213d8fd6343) Conflicts: accessibility/source/extended/accessibleiconchoicectrl.cxx accessibility/source/extended/textwindowaccessibility.cxx accessibility/source/standard/vclxaccessiblebox.cxx accessibility/source/standard/vclxaccessibletoolboxitem.cxx automation/source/server/recorder.cxx automation/source/server/statemnt.cxx avmedia/source/framework/mediacontrol.cxx avmedia/source/framework/soundhandler.cxx avmedia/source/gstreamer/gstplayer.cxx avmedia/source/viewer/mediawindow.cxx Change-Id: I8e6d6754282634f6931a2e7f73f08f70c23d452e
* bool improvementsStephan Bergmann2014-01-285-7/+7
| | | | Change-Id: I09ac60e907b7c0a78934dce05343e2ba2b6df49f
* Resolves: #i124008# listbox entry's are selected automatically...Steve Yin2014-01-282-0/+2
| | | | | | | | on mouse over instead of mouse click (cherry picked from commit ae97dcb5b8d2dead81b007c5c71daf608f0c7bc3) Change-Id: Ib1ce0db60785ddc96473ef4ce88b578287956164
* coverity#983594 Uncaught exceptionCaolán McNamara2014-01-282-4/+10
| | | | Change-Id: Ic49f88b44216a24df8a236b755d22b2537245c5f
* coverity#706219 Uncaught exceptionCaolán McNamara2014-01-282-4/+10
| | | | Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
* fdo#63154 Removed unused solar.h referenceAlexandre Vicenzi2014-01-231-3/+0
| | | | | | | Change-Id: I6b2f9e04e2232570c8bb9f36252b23a70c5f7525 Reviewed-on: https://gerrit.libreoffice.org/7604 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
* coverity#1132668 : missing break in switchNorbert Thiebaud2014-01-191-84/+81
| | | | Change-Id: Ia759081e7ccc9105898f25025ea567d900d33b13
* coverity#1158122 : Explicit null dereferencedNorbert Thiebaud2014-01-191-2/+4
| | | | Change-Id: I6ffec6e69ca5ddb01998653d2f7637ed062bdc80
* coverity#1132662 Dereference after null checkNorbert Thiebaud2014-01-191-1/+1
| | | | Change-Id: Iaccf8bb7903702d2bed3c4fc2195172e18ead6c7
* coverity#1132661 Dereference after null checkNorbert Thiebaud2014-01-191-13/+10
| | | | Change-Id: Ida147599810b0aff4a7ebd00b90475b1c6cd1366
* coverity#1132660 Dereference after null checkNorbert Thiebaud2014-01-191-16/+13
| | | | Change-Id: Ib184d73f2ced3beca8540a37bab74c4a712170ba
* fdo#57950: Remove chained appends in accessibilityAnderson Roberto2014-01-151-8/+1
| | | | | | | Change-Id: I4ba583a891933068ab4003307d09693180c7b61f Reviewed-on: https://gerrit.libreoffice.org/7436 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* svtools: rename IAccessibleTableControl::dispose()Michael Stahl2013-12-162-2/+2
| | | | | | ... to not confuse it with XComponent::dispose(). Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
* accessibility: don't crash if the TableControl is deadMichael Stahl2013-12-162-7/+10
| | | | | | | AccessibleGridControlAccess: clear the m_pTable member in dispose() so it is no longer accessed later. Change-Id: I490c84ce1bee55c9c69eb29b81ddfbe808301797
* accessibility: Mutex cleanup in AccessibleGridControl* classesMichael Stahl2013-12-169-116/+93
| | | | | | | | | | | | | | For unknown reasons this uses both SolarMutex and a OBaseMutex::m_aMutex to lock some but not all methods, which seems odd. - remove a third mutex AccessibleGridControl::m_aMutex that appears unused - lock OBaseMutex::m_aMutex in AccessibleGridControlBase::isAlive() which accesses rBHelper members, which should be sufficient - lock SolarMutex in all UNO methods - remove misc weird stuff like TC_SolarMethodGuard Change-Id: I8321757fb4a5043a05c23f2dc9801f5d8c8d911e
* Drop duplicate #includeTakeshi Abe2013-12-081-1/+0
| | | | Change-Id: I05569ef98293445916e8f48e7f06abd795fe9bb5
* fdo#39956 Delete JABDavid Ostrovsky2013-12-0557-12785/+0
| | | | | | | | | | | JAB has been discontinued in favor of the native IA2 bridge. Change-Id: I88461f73c620507d3e97b077ea2abdd2229322e1 Reviewed-on: https://gerrit.libreoffice.org/6819 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Related: #i123768# [ia2] remove pseudo-automatic noisy commentsHerbert Dürr2013-11-282-2/+0
| | | | Change-Id: I346518267294556ce529966fe168440de05a38c6
* Improve exception messageStephan Bergmann2013-11-271-1/+5
| | | | Change-Id: I06ffe3088546d55b29d61ccfae16937d8a7ce9e8
* Revert sense in VCLXAccessibleBox::getAccessibleActionCount againStephan Bergmann2013-11-271-1/+1
| | | | | | | | ...this had been switched from "m_bIsDropDownBox ? 1 : 0" to "m_bIsDropDownBox ? 0 : 1" in efb23f29983f87104a684e7fab00b84fc59d131d "Integrate branch of IAccessible2" for no apparent reason and broke JunitTest_testtools_unoapi. Change-Id: I276d2f452648387a5fa693349cf868787b2d48e1
* -Werror,-Wunused-private-fieldStephan Bergmann2013-11-263-5/+5
| | | | | | | ...fixed more thoroughly than 49c1964b427c9f2f169ba4d826d346adc7555ae0 "WaE: private field 'm_bCompoundControlChild' is not used." Change-Id: Ief1093c054fe272b82da78ab103e8ca3feb72b90
* WaE: private field 'm_bCompoundControlChild' is not usedTor Lillqvist2013-11-262-4/+2
| | | | Change-Id: I656c044de766e274f4938facc3a85b6152ba79ed
* statement aligned as second statement in if body but not in a statement blockStephan Bergmann2013-11-261-4/+4
| | | | Change-Id: I237148ec56164994e5c3168ef5b7dfc56588cad9
* -Werror,-Wunused-variableStephan Bergmann2013-11-261-1/+0
| | | | Change-Id: I4a501430d6ea8fdf6d2ae748fd3e122846c0b4cd
* WaE: unreachable codeTor Lillqvist2013-11-261-1/+0
| | | | Change-Id: I21cce258c0cc978bd8a45148102787d3c4017e64
* Document::ProcessWindowEvent now just forwards to baseclassCaolán McNamara2013-11-262-23/+0
| | | | Change-Id: Ia4c224105e15c8eea90a9c98161981ff10661044