summaryrefslogtreecommitdiffstats
path: root/testtools/source
Commit message (Collapse)AuthorAgeFilesLines
* remove OUString wrap for string literalsThomas Arnhold2013-06-291-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-062-10/+10
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2013-04-161-3/+3
| | | | Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-079-97/+87
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* simplify OUString assignmentsChr. Rossmanith2013-03-201-6/+6
| | | | | | | Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-192-5/+5
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-195-74/+68
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-301-10/+9
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* Get rid of (most uses of) GUITor Lillqvist2012-12-251-6/+6
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* re-base on ALv2 code. Includes:Michael Meeks2012-12-0623-571/+358
| | | | | | | | | | | | Patches contributed by Ocke Janssen converted reportdesign. http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patch contributed by Oliver Rainer-Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-303-5/+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 remove [oneway] method attributesThorsten Behrens2012-11-302-6/+6
| | | | | | | Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
* testtools: add com.sun.star.test.performance.XPerformanceTest ...Michael Stahl2012-11-281-0/+130
| | | | | | | ... back, which was removed from udkapi in 771914ab1482af600b11dfe789182604802d1046. Change-Id: I266f2d4fd01dc01a839f5c608ec8c45be76165c0
* sal_Bool->bool in testtoolsNoel Grandin2012-10-041-5/+5
| | | | Change-Id: I716c0a08565e874bcb0667e72ed5261231a4743d
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-252-6/+6
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Fix duplicate branches for if and elseJulien Nabet2012-09-161-1/+1
| | | | Change-Id: Ic602fd4df63e6807f49c256ce7849ae587eeb82d
* Java cleanup, remove unnecessary importsNoel Grandin2012-09-101-1/+0
| | | | | | I guess I missed some last time :-) Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
* Java cleanup, make package name match folder nameNoel Grandin2012-09-0511-17/+17
| | | | Change-Id: I4229ea7a4ad4d669db824e14ee6a8acb2ac205a0
* udkapi, offapi: do not use #include "foo":Michael Stahl2012-07-303-9/+9
| | | | | | | | | | Evidently on Windows, the newfangled ucpp handles #include "foo" differently from #include <foo> and treats it as a relative path, while the angle brackets always result in absolute paths. Since relative paths result in infinite rebuilds if make is invoked in a different directory, don't use #include "foo" in IDL files. Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
* drop useless announcementDavid Tardon2012-07-121-10/+1
| | | | Change-Id: I0e94f44c27bbcb9d1ab12ae4f3f00e89d5388d69
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-2123-513/+333
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* targeted string re-workNorbert Thiebaud2012-06-011-21/+21
| | | | Change-Id: I81e04e43efd512d88b904cdd5b7fdd5aa54eea02
* cleaning up dmake stuffDavid Ostrovsky2012-05-293-513/+0
| | | | Change-Id: I85d1ffef06028f8781a0406ea6e43b0e0406413c
* WaE: pesky aliasing warning with gcc 4.7.0Caolán McNamara2012-05-251-1/+3
| | | | Change-Id: I78675ba624cf657a246f7d1211bf5075189ac873
* Revert "i hope this is fixed now"Stephan Bergmann2012-04-231-0/+4
| | | | | | | This reverts commit b8044cb828af149a4598b35a4d46d8fe4205ae74. 84dbc4fe2547f8fc341a46d7f000e721c81e63ee fixed the bridge for PPC on Linux, not Mac OS X.
* i hope this is fixed nowDavid Tardon2012-04-231-4/+0
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-063-20/+15
|
* Fix delivery of jvmfwk ini/data filesStephan Bergmann2012-03-261-3/+3
| | | | | ...that are (also) used during the build (e.g., cd testtools/*/lib && ./bridgetest_inprocess_java). Broken by gbuild'ification of jvmfwk.
* WaE: arrayIndexOutOfBoundsThomas Arnhold2012-02-211-1/+0
|
* method should be publicCaolán McNamara2012-02-191-1/+1
|
* add a uno test api with more than 8 floating point argsCaolán McNamara2012-02-174-1/+17
| | | | | | I'm a cruel person, i.e. this targets the TODO of dab11f7fe2a2fa4155e4c4feaa5fc54e57cfbd37 in bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cx
* Decrease verbiage a little bitTor Lillqvist2012-01-272-2/+6
|
* Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2012-01-213-5/+10
| | | | | | | | | SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
* Fix for fdo43460 Part XXXIX getLength() to isEmpty()Olivier Hallot2012-01-161-2/+2
| | | | | | Part XXXIX Modules testtools, toolkit, tools
* Removed extra semicolonsJesse2011-12-151-1/+1
|
* I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist2011-12-111-1/+0
|
* remove include of pch header from testtoolsNorbert Thiebaud2011-11-279-18/+0
|
* fdo#42865: let's try map file for windows onlyMichael Stahl2011-11-181-0/+9
|
* Do build stuff here also when cross-compiling (but don't run)Tor Lillqvist2011-11-172-10/+2
|
* Fix unintentional glitchTor Lillqvist2011-11-171-3/+3
|
* Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist2011-11-173-6/+6
| | | | | | | | | | | | | This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
* Revert the component.map removal from makefile to fix Windows build.Jan Holesovsky2011-11-171-2/+2
|
* fdo#42865: cppu,cppuhelper,testtools: no mapfileMichael Stahl2011-11-151-2/+3
| | | | Instead, build with VISIBILITY_HIDDEN.
* Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on ↵Stephan Bergmann2011-10-182-6/+18
| | | | Linux x86_64).
* Remove component_getImplementationEnvironmentMatúš Kukan2011-07-126-33/+0
|
* Don't do anything when cross-compiling for nowTor Lillqvist2011-06-124-0/+27
|
* Remove OS/2 supportFrancois Tigeot2011-04-282-6/+1
|
* Easyhack: Add visibility markup to all component_get* functionsJulien Nabet2011-04-215-10/+10
|
* catch by const referenceCaolán McNamara2011-04-131-11/+11
|