summaryrefslogtreecommitdiffstats
path: root/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* fix STL assert in accessibility::AccessibleGridControl::commitTableEventMichael Stahl2013-10-041-8/+25
| | | | | | | | | | | | | | | 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
* require OAccessibleContextHelper to be initialized with SolarMutexMichael Stahl2013-10-041-1/+5
| | | | | | | | | | | | | | | 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
* Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara2013-09-251-1/+1
| | | | Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
* convert ACCESSIBILITY module from String to OUStringNoel Grandin2013-09-175-11/+11
| | | | Change-Id: Ia4d2e1feef575cb911e981fbb8b6359755ab0dd9
* fdo#68346 Accessibility bridge should exspose the font name.Niklas Johansson2013-09-012-12/+5
| | | | | | | | | 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>
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* covnert vcl/texteng.hxx from String to OUStringNoel Grandin2013-08-121-9/+9
| | | | Change-Id: Iaa2dca415b30cae436173df27058c9d3e3755efd
* Fix mingw64 build of accessibilityFridrich Štrba2013-07-171-1/+1
| | | | Change-Id: Ief6a4fe62ceb5bf3bd90530db622c7c178e7430e
* Fix crash & reduce nesting.Jan Holesovsky2013-07-171-14/+17
| | | | Change-Id: Ifbfe401cd69678c278394d190a37cc41a28d5c56
* fdo#58995 Fix window handle is null on AT side of JAB bridgeDavid Ostrovsky2013-06-301-1/+1
| | | | | | This reverts commit 41660feef6095f6d9510d11c99376652b41a504b. Change-Id: I25cdbc7d63b1ed244127a46b41e68e9c5a174697
* fdo#58995 Fix focus gained/lost event dropping for Window and FrameDavid Ostrovsky2013-06-303-0/+58
| | | | | | See 9fd9b14cffbf2604022c099b6202bb0a1da6f06e for more details. Change-Id: Iea92076be8cbcc110deff3c617ee13bbd66aab79
* fdo#58995 fix focus gain/lost events dropping on JDK 1.7David Ostrovsky2013-06-271-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With JDK upgrade to 1.7.x focus gain/lost events were dropped and thus not discoverable by AT tools. The problem has nothing to do with different packaging of JAB (2.0.3 is included with JDK 1.7u6 and higher). The reason for the event droping was a new check in DefaultKeyboardFocusManager.java that was introduced in JDK 1.7.x: @@ -294,18 +271,10 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager { - if (!(newFocusedWindow.isFocusableWindow() - && newFocusedWindow.isVisible() - && newFocusedWindow.isDisplayable())) - { - // we can not accept focus on such window, so reject it. - restoreFocus(we); - break; - } With this check in place it is assumed that Component.isDisplayable() must return true, for event to be dispatched. But particularly `Dialog.isDisplayable()` didn't and thus all tab key events (focus traversal) were dropped. Many thanks to Jamie and Stuart for helping out with reproducing and tracking that down! Change-Id: I4876773199ca06a6e73213401692e8275a1f3b22
* fdo#43460 framework,i18npool,accessibility: use isEmpty()Jelle van der Waa2013-06-241-1/+1
| | | | | | | Change-Id: I4cd9841127b1d4a294d7f001b646259c61eb1172 Reviewed-on: https://gerrit.libreoffice.org/4443 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* VCLXAccessibleTabPageWindow: unhandled IndexOutOfBoundsExceptionMichael Stahl2013-06-201-1/+9
| | | | | | | ... due to GetPagePos returning -1, work around that (can be easily triggered in template manager). Change-Id: Ic1334b224730d79e533539a24f115dc9aa2e9570
* Let us cast pointers to pointer-sized integersFridrich Štrba2013-06-071-1/+1
| | | | Change-Id: I0c68293d454917bbc5ed6df51a57e6b809d4b8c6
* use uno::Reference#clear() method...Noel Grandin2013-06-053-3/+3
| | | | | | ...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
* Java cleanup, convert Hashtable to HashMapNoel Grandin2013-05-063-5/+5
| | | | Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
* some more namespace cleanupThomas Arnhold2013-04-261-3/+0
| | | | Change-Id: Ib1e80d717f199db8f8ac4181d4377a86d88e3244
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-228-178/+32
|
* fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza2013-04-201-2/+2
| | | | | | | | | Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Remove bogus fileTor Lillqvist2013-04-181-1/+0
| | | | | | Goodbye to the last "prj" directory;) Change-Id: Ifce0e52c0b45ad08ea4ca20449adf56ae89ebfd4
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* drop prefix from ::cssThomas Arnhold2013-04-022-422/+422
| | | | | | as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
* remove boilerplate commentsThomas Arnhold2013-04-013-6/+1
| | | | Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
* ResMgr with LanguageTagEike Rathke2013-03-291-3/+1
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-082-0/+6
| | | | | | | | | use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-8/+8
| | | | | | | | Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-031-1/+1
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* loplugin: improve indentationThomas Arnhold2013-02-252-3/+3
| | | | Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
* s/the the/the/Tor Lillqvist2013-02-222-2/+2
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* typo: allways -> alwaysAndras Timar2013-02-201-1/+1
| | | | Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
* coverity#707601 Uninitialized pointer fieldNorbert Thiebaud2013-02-181-0/+4
| | | | | | | Change-Id: I1b7c13be91bd2047a4141b6d7d8e4363b0ddcf4f Reviewed-on: https://gerrit.libreoffice.org/2211 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* coverity#707602 Uninitialized pointer fieldNorbert Thiebaud2013-02-181-0/+2
| | | | | | | Change-Id: I70fa5899f3bb1eeb22eb18d77f2c816ec60aa97c Reviewed-on: https://gerrit.libreoffice.org/2212 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#707600 Uninitialized pointer fieldNorbert Thiebaud2013-02-181-0/+1
| | | | | | | Change-Id: I8894efd7549299903f0ca4c223a3dff60a9db536 Reviewed-on: https://gerrit.libreoffice.org/2210 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#984077: Unitialized pointer fieldNorbert Thiebaud2013-02-181-1/+0
| | | | | | | Change-Id: Id780b8d5bbbd67cde01f45214f5a4717148f08b7 Reviewed-on: https://gerrit.libreoffice.org/2208 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* coverity#738556 Unitialized scalar fieldNorbert Thiebaud2013-02-181-0/+8
| | | | | | | Change-Id: Iad7ca3d9928e34d0510c85242dc20a6dca6f09bb Reviewed-on: https://gerrit.libreoffice.org/2209 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: rhbz#895196 sc filter float a11y parent of itself loop/recurseCaolán McNamara2013-02-151-3/+5
| | | | Change-Id: I3679e7cfcd32a78b40c6a7b803c92ff0abe6f32c
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-265-5/+5
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+4
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Remove redundant braces around for loopsStephan Bergmann2013-01-261-6/+9
| | | | | | | ...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-072-1/+1
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* gbuild: replace all use of PRODUCT with ENABLE_DBGUTILMichael Stahl2013-01-031-1/+1
| | | | | | | Also fix the wrong check in cppunit/ExternalProject_cppunit.mk which caused cppunit to always be built without -D_GLIBCXX_DEBUG. Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
* Remove last RTL_CONSTASCII_* from accessibilityMarcos Paulo de Souza2012-12-292-5/+5
| | | | | | | | Change-Id: Icb8f66c9f6ad70828aa55580a1f3aae8b2af1593 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1500 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
* Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2012-12-241-1/+1
| | | | Change-Id: Ib799053921886d1bd524bf4ffe3f586e4c676572
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-302-4/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens2012-11-2918-42/+30
| | | | | | | | | | | | | The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
* fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin2012-11-282-7/+7
| | | | | | | | The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
* accessibility: WNT only IllegalArgumentException java problemMichael Stahl2012-11-271-1/+1
| | | | Change-Id: I9d251964d5fd00789dc831b7e55684c772c65fdf