705 Commits

Author SHA1 Message Date
Michael Meeks
cb5c881a7f avoid using the new rdb reading logic for empty/non-existent directories 2012-04-18 11:04:42 +01:00
Tor Lillqvist
b0105caa7f Add static mapping of the fastsax component 2012-04-18 01:23:49 +03:00
Florian Allmann-Rahn
223b99165a translated or removed german comments in connectivity, cppuhelper and cui 2012-04-17 11:32:31 +02:00
Tor Lillqvist
c92e66c38a More static UNO component linkage 2012-04-17 00:28:47 +03:00
Tor Lillqvist
2aadb6f9f4 Add the package2 component 2012-04-16 01:46:39 +02:00
Tor Lillqvist
906aa9dea2 Add utl and xstor UNO component mapping 2012-04-15 11:56:55 +02:00
Tor Lillqvist
3061e9e866 Add newline... 2012-04-15 11:56:54 +02:00
Tor Lillqvist
d31997559a Add comphelp and stocservices UNO component mapping 2012-04-15 11:56:53 +02:00
Tor Lillqvist
220336d736 Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING 2012-04-15 11:56:52 +02:00
Tor Lillqvist
e56b2109c0 Map and link in also the sfx UNO component 2012-04-15 11:56:51 +02:00
Tor Lillqvist
91ff02ec77 Map and link in also the filterconfig1 UNO component 2012-04-15 11:56:49 +02:00
Michael Meeks
09524d410b stoc: accelerate opening of multiple XML .rdb files in a directory
Instead of nesting these, we aggregate them into a single non-nested
registry, which saves lots of CPU at startup, sadly we can only do
that for the new-style XML registries, so we have to sniff files,
nevertheless this is still far faster. The merged xml files also
break the XSimpleRegistry::getURL() method - but it appears not
to get called.
2012-04-14 01:34:59 +02:00
Tor Lillqvist
0b67dd10f8 Use lo_get_libmap() 2012-04-09 22:43:52 +03:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Tor Lillqvist
1a4cbf9f5c More static lib name mappings. Yeah, need to do a gperf thing some night 2012-03-30 08:37:14 +03:00
Tor Lillqvist
b5e4de326f Add some more temporary hardcoded library mappings for DISABLE_DYNLOADING 2012-03-29 09:49:45 +03:00
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