Commit Graph
385 Commits
Author SHA1 Message Date
Luboš Luňák 1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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
2013-04-07 14:23:11 +02:00
Chr. Rossmanith b2f8318dbd simplify OUString assignments
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>
2013-03-20 10:28:58 +00:00
Thomas Arnhold 39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
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>
2013-03-19 10:48:30 +00:00
Thomas Arnhold 8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
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>
2013-03-19 09:00:26 +00:00
Jean-Noël Rouvignac 97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
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>
2013-01-30 12:54:40 +00:00
Tor Lillqvist c29098917a Get rid of (most uses of) GUI
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>
2012-12-25 17:53:25 +00:00
Michael Meeks 9d7c1dcbbb re-base on ALv2 code. Includes:
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
2012-12-06 09:12:57 +00:00
Thorsten Behrens 66a175834c c++ API: use css alias in generated headers, adds global css decl
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
2012-11-30 14:36:36 +01:00
Thorsten Behrens 90eac3e697 API CHANGE remove [oneway] method attributes
Remove non-functional and broken [oneway] attributes from all idl
files. Change idl compiler to no longer digest such idl.

Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-30 14:36:35 +01:00
Michael Stahl 6111068d52 testtools: add com.sun.star.test.performance.XPerformanceTest ...
... back, which was removed from udkapi in
771914ab14.

Change-Id: I266f2d4fd01dc01a839f5c608ec8c45be76165c0
2012-11-28 16:56:16 +01:00
Noel Grandin b6831de354 sal_Bool->bool in testtools
Change-Id: I716c0a08565e874bcb0667e72ed5261231a4743d
2012-10-04 21:29:34 +02:00
Norbert Thiebaud 750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Julien Nabet 5bfa5cb86a Fix duplicate branches for if and else
Change-Id: Ic602fd4df63e6807f49c256ce7849ae587eeb82d
2012-09-16 10:24:59 +02:00
Noel Grandin 6bf09ecf1d Java cleanup, remove unnecessary imports
I guess I missed some last time :-)

Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
2012-09-10 23:43:38 +02:00
Noel Grandin 975866d592 Java cleanup, make package name match folder name
Change-Id: I4229ea7a4ad4d669db824e14ee6a8acb2ac205a0
2012-09-05 21:01:47 +02:00
Michael Stahl 753e9b3d45 udkapi, offapi: do not use #include "foo":
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
2012-07-30 20:49:09 +02:00
David Tardon 15f85977d1 drop useless announcement
Change-Id: I0e94f44c27bbcb9d1ab12ae4f3f00e89d5388d69
2012-07-12 13:30:52 +02:00
Michael Meeks b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Norbert Thiebaud f713237cc3 targeted string re-work
Change-Id: I81e04e43efd512d88b904cdd5b7fdd5aa54eea02
2012-06-01 06:30:57 -05:00
David Ostrovsky b396546834 cleaning up dmake stuff
Change-Id: I85d1ffef06028f8781a0406ea6e43b0e0406413c
2012-05-29 07:35:17 +02:00
Caolán McNamara 268ddf9675 WaE: pesky aliasing warning with gcc 4.7.0
Change-Id: I78675ba624cf657a246f7d1211bf5075189ac873
2012-05-25 09:26:13 +01:00
Stephan Bergmann 85c2f280ef Revert "i hope this is fixed now"
This reverts commit b8044cb828.

84dbc4fe25 fixed the bridge for PPC on Linux, not
Mac OS X.
2012-04-23 14:18:24 +02:00
David Tardon b8044cb828 i hope this is fixed now 2012-04-23 13:51:51 +02:00
Szabolcs Dezsi d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Stephan Bergmann 094cf7caf9 Fix delivery of jvmfwk ini/data files
...that are (also) used during the build (e.g., cd testtools/*/lib &&
./bridgetest_inprocess_java).  Broken by gbuild'ification of jvmfwk.
2012-03-26 17:47:19 +02:00
Thomas Arnhold a3bf3451a9 WaE: arrayIndexOutOfBounds 2012-02-21 20:57:06 +01:00
Caolán McNamara 777f63d448 method should be public 2012-02-19 13:42:04 +00:00
Caolán McNamara 99bf0c318b add a uno test api with more than 8 floating point args
I'm a cruel person, i.e. this targets the TODO of
dab11f7fe2 in
bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cx
2012-02-17 12:21:36 +00:00
Tor Lillqvist a6ed487d97 Decrease verbiage a little bit 2012-01-27 15:52:23 +02:00
Stephan Bergmann 7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
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.
2012-01-21 15:21:16 +01:00
Olivier Hallot 81e50fb2e3 Fix for fdo43460 Part XXXIX getLength() to isEmpty()
Part XXXIX
Modules
testtools, toolkit, tools
2012-01-16 18:49:04 -02:00
Jesse 6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Tor Lillqvist 7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Norbert Thiebaud 3c9d6bdbc6 remove include of pch header from testtools 2011-11-27 13:25:25 -06:00
Michael Stahl eedfbf5b8b fdo#42865: let's try map file for windows only 2011-11-18 22:24:21 +01:00
Tor Lillqvist 6f55d5eaec Do build stuff here also when cross-compiling (but don't run) 2011-11-17 17:46:15 +02:00
Tor Lillqvist 5057892990 Fix unintentional glitch 2011-11-17 17:46:15 +02:00
Tor Lillqvist 469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
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.
2011-11-17 15:22:59 +02:00
Jan Holesovsky 4f11d0aa46 Revert the component.map removal from makefile to fix Windows build. 2011-11-17 00:38:25 +01:00
Michael Stahl c506e1852a fdo#42865: cppu,cppuhelper,testtools: no mapfile
Instead, build with VISIBILITY_HIDDEN.
2011-11-15 20:52:00 +01:00
Stephan Bergmann bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
Matúš Kukan 50205b9d19 Remove component_getImplementationEnvironment 2011-07-12 12:26:18 +02:00
Tor Lillqvist e634f62b39 Don't do anything when cross-compiling for now 2011-06-12 13:01:12 +03:00
Francois Tigeot a3c69425d0 Remove OS/2 support 2011-04-28 08:27:16 +02:00
Julien Nabet a27728407e Easyhack: Add visibility markup to all component_get* functions 2011-04-21 15:28:34 +02:00
Caolán McNamara 5775fc2091 catch by const reference 2011-04-13 09:57:50 +01:00
Jan Holesovsky f2574337db Merge commit 'ooo/DEV300_m103'
Conflicts:
	smoketestdoc/com/sun/star/comp/smoketest/makefile.mk
	smoketestdoc/data/Global.xml
	smoketestdoc/data/OptionsDlg.xml
	smoketestdoc/data/Test_10er.xml
	smoketestoo_native/data/content.xml
	smoketestoo_native/makefile.mk
2011-03-23 16:59:41 +01:00
Thomas Arnhold d8d6bee713 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:12:11 +01:00
Jan Holesovsky db676752e4 Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	testtools/prj/build.lst
2011-03-18 15:57:12 +01:00