summaryrefslogtreecommitdiff
path: root/accessibility
AgeCommit message (Collapse)Author
2014-02-19Related: fdo#74242 hook up a selection and caret change for multiline editsCaolán McNamara
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
2014-02-19Related: fdo#74242 #i104470# we now have a seperate CARET_CHANGED eventCaolán McNamara
so cursoring left and right in normal non-multiline edit widgets should give a11y cursor-changed events Change-Id: I91e86e43d049793912b3ffcc2802bb9aa4b3857c
2014-02-11accessibility: add some missing locks in new codeMichael Stahl
Change-Id: Ic38a07c592a89973ca1df807505f87910e84a17f
2014-02-10the return of callcatcherCaolán McNamara
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-07std::less is the default hereStephan Bergmann
Change-Id: I57428772187d3487668eca2f553c74e18e4f736e
2014-02-07auto_ptr -> scoped_ptrStephan Bergmann
Change-Id: I05c461deca118f1a1b75d94b4d00ce797987e8d6
2014-02-07Avoid unnecessary heap allocationStephan Bergmann
Change-Id: I7bc1a0960cc100c51b90c50838a5ef620f3c763f
2014-02-05Doxygen warnings correctedChris Sherlock
* 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
2014-02-04fix ambiguitiesCaolán McNamara
Change-Id: Ice46cfbe8a21c5e641e09070128b8f412411c9d9
2014-02-04Related: #i123862# use O*String's isEmpty() method...Herbert Dürr
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
2014-01-28bool improvementsStephan Bergmann
Change-Id: I09ac60e907b7c0a78934dce05343e2ba2b6df49f
2014-01-28Resolves: #i124008# listbox entry's are selected automatically...Steve Yin
on mouse over instead of mouse click (cherry picked from commit ae97dcb5b8d2dead81b007c5c71daf608f0c7bc3) Change-Id: Ib1ce0db60785ddc96473ef4ce88b578287956164
2014-01-28coverity#983594 Uncaught exceptionCaolán McNamara
Change-Id: Ic49f88b44216a24df8a236b755d22b2537245c5f
2014-01-28coverity#706219 Uncaught exceptionCaolán McNamara
Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
2014-01-23fdo#63154 Removed unused solar.h referenceAlexandre Vicenzi
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>
2014-01-19coverity#1132668 : missing break in switchNorbert Thiebaud
Change-Id: Ia759081e7ccc9105898f25025ea567d900d33b13
2014-01-19coverity#1158122 : Explicit null dereferencedNorbert Thiebaud
Change-Id: I6ffec6e69ca5ddb01998653d2f7637ed062bdc80
2014-01-19coverity#1132662 Dereference after null checkNorbert Thiebaud
Change-Id: Iaccf8bb7903702d2bed3c4fc2195172e18ead6c7
2014-01-19coverity#1132661 Dereference after null checkNorbert Thiebaud
Change-Id: Ida147599810b0aff4a7ebd00b90475b1c6cd1366
2014-01-19coverity#1132660 Dereference after null checkNorbert Thiebaud
Change-Id: Ib184d73f2ced3beca8540a37bab74c4a712170ba
2014-01-15fdo#57950: Remove chained appends in accessibilityAnderson Roberto
Change-Id: I4ba583a891933068ab4003307d09693180c7b61f Reviewed-on: https://gerrit.libreoffice.org/7436 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-16svtools: rename IAccessibleTableControl::dispose()Michael Stahl
... to not confuse it with XComponent::dispose(). Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
2013-12-16accessibility: don't crash if the TableControl is deadMichael Stahl
AccessibleGridControlAccess: clear the m_pTable member in dispose() so it is no longer accessed later. Change-Id: I490c84ce1bee55c9c69eb29b81ddfbe808301797
2013-12-16accessibility: Mutex cleanup in AccessibleGridControl* classesMichael Stahl
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
2013-12-08Drop duplicate #includeTakeshi Abe
Change-Id: I05569ef98293445916e8f48e7f06abd795fe9bb5
2013-12-05fdo#39956 Delete JABDavid Ostrovsky
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>
2013-11-28Related: #i123768# [ia2] remove pseudo-automatic noisy commentsHerbert Dürr
Change-Id: I346518267294556ce529966fe168440de05a38c6
2013-11-27Improve exception messageStephan Bergmann
Change-Id: I06ffe3088546d55b29d61ccfae16937d8a7ce9e8
2013-11-27Revert sense in VCLXAccessibleBox::getAccessibleActionCount againStephan Bergmann
...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
2013-11-26-Werror,-Wunused-private-fieldStephan Bergmann
...fixed more thoroughly than 49c1964b427c9f2f169ba4d826d346adc7555ae0 "WaE: private field 'm_bCompoundControlChild' is not used." Change-Id: Ief1093c054fe272b82da78ab103e8ca3feb72b90
2013-11-26WaE: private field 'm_bCompoundControlChild' is not usedTor Lillqvist
Change-Id: I656c044de766e274f4938facc3a85b6152ba79ed
2013-11-26statement aligned as second statement in if body but not in a statement blockStephan Bergmann
Change-Id: I237148ec56164994e5c3168ef5b7dfc56588cad9
2013-11-26-Werror,-Wunused-variableStephan Bergmann
Change-Id: I4a501430d6ea8fdf6d2ae748fd3e122846c0b4cd
2013-11-26WaE: unreachable codeTor Lillqvist
Change-Id: I21cce258c0cc978bd8a45148102787d3c4017e64
2013-11-26Document::ProcessWindowEvent now just forwards to baseclassCaolán McNamara
Change-Id: Ia4c224105e15c8eea90a9c98161981ff10661044
2013-11-26Integrate branch of IAccessible2Steve Yin
(cherry picked from commit e2f90c93c97f3cf137c348ed302c6470f398aa70) Change-Id: I44ce0d69f3e7364038b00b1ba0f0d27e60132a37 WaE: Prevent uninitialized variable warnings. (cherry picked from commit b989f4074ea70729d527b307bfbe49e01a0d3646)
2013-11-21--enable-ia2 no longer disables Java access bridgeMichael Stahl
Just install both; 448727e598ca0c35ee9cd6f2c25a847c8147943b already made IA2 an experimental feature with fallback to Java access bridge if experimental mode is disabled. Change-Id: I4ca64adbc586bd87b4d28087709f5c2e02bf7990
2013-11-19Add --enable-ia2 configuration optionDavid Ostrovsky
Change-Id: I950c47bd95d5bb4aacf9e584c8e2eeef461af71f
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-15Add namespace to accessbility's TkResMgr.Andrzej J.R. Hunt
Previously this conflicted with include/toolkit/helper/tkresmgr.hxx, breaking the Android build. Change-Id: I195e18e42a5978fd7d415a8afaa007b3bee33190 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-10-25stop looking for Jar files in solverMichael Stahl
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-04fix STL assert in accessibility::AccessibleGridControl::commitTableEventMichael Stahl
While running some JunitTest, crashes on an attempt to delete entries of an empty vector m_pImpl->m_pTable->m_pCellVector. The entries are created on-demand by AccessibleGridControlTable::getAccessibleChild(), so presumably that hadn't been called yet when the rows were deleted. Also fix bizarre abuse of all applicable variable naming conventions. (regression from 2095b2e1d44a158418d17836019352ed92f95d21) Change-Id: Id2d70ca4601a166718629c0fe922f805dd72eec1
2013-10-04require OAccessibleContextHelper to be initialized with SolarMutexMichael Stahl
OAccessibleContextHelper methods are locked by OExternalLockGuard which effectively only locks its ExternalMutex (i.e. SolarMutex); so ensure that all sub-classes actually pass in a SolarMutex by removing the default constructor. (since these classes are in comphelper they can only use the SolarMutex indirectly) This uncovers that AccessibleToolPanelDeckTabBarItem and OAccessibleControlContext did not pass in SolarMutex before. Change-Id: Ib9085eeee6225f7c74b158e72f04b1bf62622071
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-17convert ACCESSIBILITY module from String to OUStringNoel Grandin
Change-Id: Ia4d2e1feef575cb911e981fbb8b6359755ab0dd9
2013-09-01fdo#68346 Accessibility bridge should exspose the font name.Niklas Johansson
At the moment it tells the user if the font is proportional or monospaced. Change-Id: I5073fed730aab1435fd9cc3bd4a897e95f97e783 Reviewed-on: https://gerrit.libreoffice.org/5739 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-12covnert vcl/texteng.hxx from String to OUStringNoel Grandin
Change-Id: Iaa2dca415b30cae436173df27058c9d3e3755efd