summaryrefslogtreecommitdiffstats
path: root/toolkit/qa
Commit message (Collapse)AuthorAgeFilesLines
* java: simplify the getMSF() methodsNoel Grandin2014-12-102-5/+2
| | | | | | | Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: make fields final where possibleNoel Grandin2014-11-185-11/+11
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-1/+1
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* accessibility: The if statement is redundantRobert Antoni Buj i Gelonch2014-10-191-9/+6
| | | | | | | | Change-Id: I70dd50d8d588c71d391936195bb13ccb767470be Reviewed-on: https://gerrit.libreoffice.org/11890 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* complex: Use 'import com.sun.star.beans.UnknownPropertyException;'Robert Antoni Buj i Gelonch2014-10-081-3/+3
| | | | | | | Change-Id: Ib42baf6f18fd407a879313c042efd74c8f724aa4 Reviewed-on: https://gerrit.libreoffice.org/11864 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* java: remove unnecessary adding of empty stringsNoel Grandin2014-10-072-3/+3
| | | | Change-Id: I3825ea5fb1eb34ca52659350e202f95abea945a9
* toolkit: use String.length()==0 instead of String.equals(empty string)rbuj2014-09-091-1/+1
| | | | | | | Change-Id: Id38f28e7138460493fde982cc1ebc75c3cb0b386 Reviewed-on: https://gerrit.libreoffice.org/11365 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* toolkit: fix javadoc errorsrbuj2014-09-022-6/+6
| | | | | | | Change-Id: I6d2268786d22f967be2d5e0dbcda14a074af4475 Reviewed-on: https://gerrit.libreoffice.org/11248 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* java: remove unnecessary constructor declarationsNoel Grandin2014-08-202-8/+0
| | | | | | | in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
* use correct loop index variableNoel Grandin2014-08-201-2/+2
| | | | Change-Id: I92531f8fc96c0cb0ca944a7dd50c4fe4ea740b37
* double-checked locking is not thread-safe in JavaNoel Grandin2014-08-201-1/+1
| | | | | | found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
* java: remove unused methodsNoel Grandin2014-08-191-18/+0
| | | | Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
* catch UnknownPropertyExceptionCaolán McNamara2014-08-171-0/+10
| | | | Change-Id: I3134c574a124a2359c40b139eb5b41198b0e4611
* java: remove unused importsNoel Grandin2014-08-141-1/+0
| | | | Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
* java: remove dead methodsNoel Grandin2014-08-131-23/+2
| | | | | | found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
* java: reduce scope, make some methods privateNoel Grandin2014-08-132-3/+3
| | | | | | found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
* java: reduce scope, make member classes privateNoel Grandin2014-08-131-1/+1
| | | | | | found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
* java: reduce scope, make fields privateNoel Grandin2014-08-135-12/+12
| | | | | | found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
* java: reduce scope, make constructors privateNoel Grandin2014-08-131-1/+1
| | | | | | found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
* java: remove useless javadoc tagsNoel Grandin2014-08-125-47/+0
| | | | | | that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
* java: remove commented out codeNoel Grandin2014-08-055-35/+0
| | | | Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
* java: remove various unused variablesNoel Grandin2014-08-051-15/+9
| | | | Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
* simplify ternary conditions "xxx ? yyy : false"Noel Grandin2014-05-051-1/+1
| | | | | | | | | Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
* Remove visual noise from toolkitAlexander Wilms2014-02-262-28/+28
| | | | | | | Change-Id: I1704d6ac497f2e47a813813640ead14c5fa480d9 Reviewed-on: https://gerrit.libreoffice.org/8326 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Related: #i121514# Remove deprecated UnoControlSimpleAnimationAriel Constenla-Haile2013-07-052-13/+0
| | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 514bb6777e001d02dbd9be63fc7a6187560aad63) Conflicts: offapi/com/sun/star/awt/UnoControlSimpleAnimation.idl offapi/com/sun/star/awt/UnoControlSimpleAnimationModel.idl offapi/com/sun/star/awt/XSimpleAnimation.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb toolkit/inc/toolkit/helper/servicenames.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/awt/xsimpleanimation.cxx toolkit/source/controls/tksimpleanimation.cxx toolkit/source/helper/registerservices.cxx toolkit/source/helper/servicenames.cxx toolkit/util/toolkit.xml Change-Id: If7f8de62713e28434e28975026cf8e5c66c831aa
* Related: #i121513# Remove deprecated UnoControlThrobberModelAriel Constenla-Haile2013-07-052-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 5569d97f06a0299e41b91ca248bf7eaa038b1f21) Conflicts: icon-themes/human/toolkit/source/awt/spinner03-grey_01.png icon-themes/human/toolkit/source/awt/spinner03-grey_02.png icon-themes/human/toolkit/source/awt/spinner03-grey_03.png icon-themes/human/toolkit/source/awt/spinner03-grey_04.png icon-themes/human/toolkit/source/awt/spinner03-grey_05.png icon-themes/human/toolkit/source/awt/spinner03-grey_06.png icon-themes/human/toolkit/source/awt/spinner03-grey_07.png icon-themes/human/toolkit/source/awt/spinner03-grey_08.png icon-themes/human/toolkit/source/awt/spinner03-grey_09.png icon-themes/human/toolkit/source/awt/spinner03-grey_10.png icon-themes/human/toolkit/source/awt/spinner03-grey_11.png icon-themes/human/toolkit/source/awt/spinner03-grey_12.png offapi/com/sun/star/awt/UnoControlThrobber.idl offapi/com/sun/star/awt/UnoControlThrobberModel.idl offapi/com/sun/star/awt/XThrobber.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb rat-excludes swext/mediawiki/help/component.txt swext/mediawiki/src/com/sun/star/wiki/WikiDialog.java swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java swext/mediawiki/src/description.xml toolkit/AllLangResTarget_tk.mk toolkit/inc/toolkit/helper/servicenames.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/awt/xthrobber.cxx toolkit/source/awt/xthrobber.hrc toolkit/source/awt/xthrobber.src toolkit/source/controls/tkthrobber.cxx toolkit/source/helper/registerservices.cxx toolkit/source/helper/servicenames.cxx toolkit/src2xml/src.lst toolkit/util/toolkit.xml Change-Id: Ic415a96fe6ba7040a3b03fd562f997d2df1516d6
* toolkit: s/EventEvent/Event/ in a11y complex testMichael Stahl2012-11-291-5/+5
| | | | Change-Id: Ie8bf5881bb99d1d0c5202aadee69e330a5976528
* API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens2012-11-291-5/+5
| | | | | | | | | | | | | 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#51304: Remove @author annotationJosé Guilherme Vanz2012-11-205-5/+0
| | | | | | | | | | This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* re-base on ALv2 code. Includes:Michael Meeks2012-10-033-44/+46
| | | | | | | | | | | | | | | | tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
* fs34b: integrated complex test cases into GNUMake's subsequentcheck targetFrank Schoenheit [fs]2012-10-031-97/+0
|
* gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud2012-09-141-56/+99
| | | | | | | Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a Reviewed-on: https://gerrit.libreoffice.org/554 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* gridfixes: #i117398# XMutableGridDataModel:Norbert Thiebaud2012-09-142-4/+151
| | | | | | | | | allow inserting rows at arbitrary positions Change-Id: Ia5af125035979951c61d6c8cd9a916e8f81bb6c0 Reviewed-on: https://gerrit.libreoffice.org/545 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* gridfixes: #i117398# added XGridDataModel::getRowDataFrank Schoenheit [fs]2012-09-141-1/+28
| | | | | | | Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c Reviewed-on: https://gerrit.libreoffice.org/543 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* Java cleanup - remove unused importsNoel Grandin2012-08-281-1/+0
| | | | Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
* Remove dead java codeNoel Grandin2012-08-203-9/+0
| | | | Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
* Java5 update - convert to use generics and new Collections classesNoel Grandin2012-06-295-33/+27
| | | | Change-Id: Ibe51b5c8d4065c88cd6bae8cddb42a9b6117312a
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-2110-182/+148
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* i#87757: do not create empty Rectangle bounding box for glyphs:Michael Stahl2012-05-301-4/+0
| | | | | | | | | | | | | | | | | | | | | Enforce a minimum width and height of 1 in GlyphMetric::SetSize(), preventing X11SalGraphics::GetGlyphBoundRect() from returning a Rectangle that has one side set as RECT_EMPTY. This problem has surfaced due to the change of the status bar in ce14342c4292628a641a72d4f63d9c048e030c6a, causing the AccessibleStatusBarItem to fail in getCharacterBounds() because the text of the control, "Words: 0", now contains a space, for which an empty Rectangle bounding box is created, which results in a wrong return value from getCharacterBounds(): LOG> Character bounds outside component LOG> Character rect: 43, -566, 0, 0 LOG> Component rect: 91, 2, 71, 18 It turns out that the following test was disabled due to this problem, so re-enable it now: toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText
* .java files don't need executable bitsMichael Stahl2012-03-2311-0/+0
|
* chmod -xTor Lillqvist2012-03-211-0/+0
|
* fix prefix of command line switches (-- instead of -)Andras Timar2012-01-111-1/+1
|
* sb140: #i117486# avoid XWindow.getPosSize immediately after XWindow.setPosSizeStephan Bergmann2011-09-121-7/+6
|
* fdo#35690: reenable toolkit.AccessibleStatusBarItem as it appears stableBjoern Michaelsen2011-05-231-1/+1
|
* fdo#35690: disabling toolkit.AccessibleStatusBarItem as it crashes nowBjoern Michaelsen2011-05-191-1/+1
|
* fd#35772: toolkit.Toolkit::css::awt::XMessageBoxFactory fails on headlessBjoern Michaelsen2011-03-291-0/+3
|
* cleanup of unoapi testBjoern Michaelsen2011-03-272-100/+0
|
* fd#35666: disable toolkit.UnoControlDialogModel::css::io::XPersistObjectBjoern Michaelsen2011-03-251-0/+3
|
* Merge commit 'ooo/DEV300_m103'Jan Holesovsky2011-03-231-0/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cppcanvas/source/mtfrenderer/implrenderer.cxx dtrans/source/win32/dtobj/XTDataObject.cxx dtrans/source/win32/dtobj/XTDataObject.hxx sot/source/sdstor/stgio.cxx tools/source/debug/debug.cxx vcl/source/gdi/jobset.cxx vcl/unx/kde4/KDEData.cxx vcl/unx/kde4/KDEData.hxx vcl/unx/kde4/KDESalDisplay.cxx vcl/unx/kde4/KDESalFrame.cxx vcl/unx/kde4/KDESalFrame.hxx vcl/unx/kde4/KDESalGraphics.cxx vcl/unx/kde4/KDESalGraphics.hxx vcl/unx/kde4/KDESalInstance.cxx vcl/unx/kde4/KDESalInstance.hxx vcl/unx/kde4/KDEXLib.cxx vcl/unx/kde4/VCLKDEApplication.cxx vcl/unx/kde4/VCLKDEApplication.hxx