Tor Lillqvist
128749140f
More hacking on static linking (iOS) support
2012-03-21 00:00:05 +02:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Tom Thorogood
caacafe4db
Translate German comments in core/cppuhelper
2012-03-10 22:00:56 +01:00
Alexander Bergmann
0439af27e1
Code cleanup: ( () ) replaced by (())
2012-01-26 17:41:07 +00:00
Michael Meeks
847494bc43
android: nasty hack to overcome unpleasantness of UNO bootstrapping
2012-01-23 17:12:03 +00: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
Andras Timar
aab14cb9fb
fix prefix of command line switches (-- instead of -)
2012-01-11 19:25:45 +01:00
Tor Lillqvist
08f62fb29d
WaE: unused parameter 'rPath'
2012-01-03 11:47:00 +02:00
Matúš Kukan
b222aa8fff
cppuhelper: convert to gbuild
...
missing subsequent test qa/propertysetmixin/makefile.mk
2012-01-02 15:33:13 +01:00
Matúš Kukan
bd46aa5930
cppuhelper: add visibility symbols as first step for porting to gbuild
2012-01-02 15:33:13 +01:00
Olivier Hallot
1b99d8800e
Fix for fdo43460 Part X getLength() to isEmpty()
...
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
Michael Meeks
b8c7548527
ignore backup files in services/ directory to avoid debugging grief
2011-12-07 14:38:16 +00:00
Norbert Thiebaud
c10fb61c1a
remove include of pch header in cppuhelper
2011-11-27 13:03:19 -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
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
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
12e2e04977
sb140: #i117697# simplify obsolete cppuhelper/stdidlclass.hxx implementation
2011-09-12 22:47:49 +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
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
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
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
b349c5f4f6
Try to use the app executable module on iOS for now
2011-08-01 21:10:14 +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
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
Matus Kukan
f1be5778f8
Allows using prefix information about component
2011-06-24 12:15:50 +01:00
Tor Lillqvist
31c65a35bf
Use the i prefix for the import library only with MSC
2011-06-18 01:07:31 +03:00
Tor Lillqvist
01da593c51
Revert "Bypass DLL prefix and extension stuff on iOS for now"
...
Not needed now with a normal SAL_DLLEXTENSION defined for iOS.
This reverts commit dc915ed7fbbbeef9eefbf5bda07289a9462b6904.
2011-06-14 00:36:42 +03:00
Tor Lillqvist
a44330b976
Bypass DLL prefix and extension stuff on iOS for now
2011-06-14 00:36:11 +03:00