Commit graph

940 commits

Author SHA1 Message Date
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Tor Lillqvist
480a380a72 Look for libboostrap.uno.so and not bootstrap.uno.so on Android
Not sure if we need to be more generic here, and always add a "lib"
prefix if not present. Or do the changes to the makefilery take care
of it, so that for other UNO components than bootstrap, the name as
stored wherever it is stored does contain the "lib" prefix we are
forces to use on Android?
2011-11-17 15:23:05 +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
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
c1bd2a254b New LO_{LIB,JAVA}_DIR make special inbuild component handling superfluous. 2011-11-10 13:36:20 +01:00
Stephan Bergmann
8524330a74 Simplify addition of optional components to URE_MORE_{SERVICES,TYPES}.
Those bootstrap variables now support <XXX>* syntax to include all files (non-
recursively) contained in the directory denoted by XXX.  Optional components can
put their data simply into program/services/ and program/types/.
2011-11-02 17:25:36 +01:00
Stephan Bergmann
793274a6cf Minor clean up. 2011-11-02 10:36:50 +01:00
Lionel Elie Mamane
853b185220 typo/spelling/grammar in comment 2011-10-28 11:07:50 +02: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
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Stephan Bergmann
0607102c47 Improved some error reporting. 2011-09-21 23:35:24 +02:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Stephan Bergmann
23b04dae8b sb140: #i117698# no implementations of XIdlClassProvider remain, so code that checks for it can be removed 2011-09-12 22:47:49 +02:00
Stephan Bergmann
12e2e04977 sb140: #i117697# simplify obsolete cppuhelper/stdidlclass.hxx implementation 2011-09-12 22:47:49 +02:00
Stephan Bergmann
30ad5e9d87 sb140: #i117694# some CppUnit related cleanup 2011-09-12 22:47:48 +02:00
Tor Lillqvist
04d6f16a99 This seems to help the MSVC build along 2011-09-07 14:17:16 +03:00
Lionel Elie Mamane
5b80048a1e correct OPropertySetHelper2 copy constructor and assignment operator
allows to get rid of export of vtable
2011-09-07 12:09:23 +02:00
Lionel Elie Mamane
47572f1d92 apparently vtable & thunks necessary after all in gcc3.map 2011-09-07 11:53:53 +02:00
Lionel Elie Mamane
5c64fd7ce0 Restore ABI compatibility with LO 3.4 and earlier
Factor out ABI-breaking changes to OPropertySetHelper into a derived
class OPropertySetHelper2.

Only gcc3.map is up-to-date.
2011-09-07 11:17:55 +02:00
Lionel Elie Mamane
6749e4859f Typo in comment 2011-09-02 14:58:55 +02:00
Tor Lillqvist
e081225623 Tweak some DLL and import library names in the WNTGCC case 2011-08-30 11:13:32 +03:00
Caolán McNamara
598ea329b7 OSL_DEBUG_LEVEL > 1 2011-08-22 15:18:58 +01:00
Gabor
2138487693 servicefactory fix 2011-08-22 15:18:57 +01:00
Kohei Yoshida
60d60caf99 Renamed XPropertySet2 to XPropertySetOption.
To avoid making it appear to be a derived interface of XPropertySet
when it's not.
2011-08-16 21:22:45 -04:00
Kohei Yoshida
11207ae931 Make XPropertSet2 not a child interface of XPropertySet.
This is to preserve ABI backward compatibility with cppu::OPropertySetHelper.
2011-08-16 21:22:44 -04:00
Kohei Yoshida
8657e723d0 Changing the vtable symbol from XPropertySet to XPropertySet2.
NOTE: This needs to be double-checked by an expert.  I'm modifying
a symbol that's defined in the UDK_3_0_0 section.  I'm not really
sure if this will cause any ABI breakages for either the core code
or extensions.
2011-08-16 21:22:44 -04:00
Kohei Yoshida
a3e7f4b932 Added symbol for MSVC. 2011-08-16 21:22:44 -04:00
Kohei Yoshida
80b1e66277 Added XPropertySet2 to allow disabling of change event notifications.
Sometimes broadcasting changes to the property set on every new
value insertion makes no sense especially during import.  Turning
that off also improves performance especially when inserting millions
of property values.
2011-08-16 21:22:43 -04:00
Tor Lillqvist
491dcf9bec Can't build the iOS static cppuhelper test here now
Since we now link to the (also static) bootstrap.uno component which
hasn't been built yet.
2011-08-08 21:20:54 +03:00
Tor Lillqvist
8cd859d9a6 For iOS just link directly to the bootstrap component 2011-08-08 21:20:53 +03:00
Tor Lillqvist
ef04510167 Don't bother trying to truncate parts debugging output
Murphy says it's the part that is dropped which will be interesting
one anyway.
2011-08-08 17:45:24 +03:00
Tor Lillqvist
b16ab7a751 Add invokeStaticComponentFactory() for statically linked components
Will be used for iOS at least.

Factor out the part of loadSharedLibComponentFactory() that handle the
symbol that has been successfully looked up.
2011-08-08 17:39:38 +03:00
Tor Lillqvist
e32e87980a Add metacomment 2011-08-08 15:02:09 +03:00
Tor Lillqvist
7702cc5a7a OSL_TRACE adds trailing newline itself 2011-08-08 14:13:48 +03:00
Tor Lillqvist
cc13807356 Add XServiceInfo.hpp needed when OSL_DEBUG_LEVEL > 1 2011-08-08 14:13:47 +03:00
Tor Lillqvist
c89d682d94 Factor out "bootstrap.uno" repeated for all bootstrap services 2011-08-08 14:13:47 +03:00
Tor Lillqvist
2fdacd0142 Move function to the file where it is used 2011-08-08 13:01:20 +03:00
Tor Lillqvist
1f22396b4a getLibEnv always returned an empty string anyway so make it void instead 2011-08-07 19:51:49 +03:00
Tor Lillqvist
334bf75566 Bin OS/2 .map files 2011-08-04 21:16:23 +03:00
Tor Lillqvist
e881b51dc6 Use separate unit testers for subsequent and normal tests for iOS 2011-08-01 22:10:28 +03:00
Tor Lillqvist
b349c5f4f6 Try to use the app executable module on iOS for now 2011-08-01 21:10:14 +03:00
Tor Lillqvist
ff6072a397 Nah, these must be subsequent tests also for iOS 2011-08-01 21:06:42 +03:00
Tor Lillqvist
7ff697bc13 Add statically linked cpphelper unit test for iOS 2011-08-01 18:18:33 +03:00
Matúš Kukan
683d975d70 we are searching for prefix in activate
also fix small typo
2011-07-28 14:42:08 +02:00
Matúš Kukan
15f10fc946 Remove component_getImplementationEnvironment 2011-07-12 16:30:06 +02:00
Matúš Kukan
d6f18bf9e0 Default to current language binding name, if not specified.
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
2011-07-11 17:47:02 +01:00
Tor Lillqvist
818891f6f4 Export the new loadSharedLibComponentFactory() overload, too 2011-06-27 11:11:10 +03:00
Michael Meeks
babdd43fce re-work prefix handling and undo cppuhelper ABI change, add unit test
use a separate prefix enabled method instead of changing the ABI of cppuhelper
also - lookup the prefix in the dllcomponentloader in case we are called this way
also - add a unit test for the prefix change
2011-06-24 14:23:25 +01:00