Commit graph

981 commits

Author SHA1 Message Date
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
Matúš Kukan
0273632956 cppuhelper: use InternalUnoApi 2012-04-09 21:04:38 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02: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
Stephan Bergmann
9a6f7f674b Updated workaround comment 2012-04-02 15:08:28 +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
Takeshi Abe
6f087d103a removed duplicate includes in cppcanvas / cppuhelper / cui 2012-03-30 00:42:35 +09:00
Tor Lillqvist
b5e4de326f Add some more temporary hardcoded library mappings for DISABLE_DYNLOADING 2012-03-29 09:49:45 +03:00
Stephan Bergmann
aacea7da46 Make SAL_CALL placement work with both MinGW and MSVC 2012-03-22 13:48:45 +01:00
Stephan Bergmann
4fc8059d44 Fix SAL_CALL placement (so MinGW won't complain) 2012-03-22 10:37:14 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02: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
Luboš Luňák
36627af621 SAL_DLLPUBLIC_TEMPLATE
On Linux, public templates should not be hidden at the linker level.
But on Windows, dllimport causes trouble. So create a new macro
to be used specifically with templates that does the right thing
on both platforms.
(http://lists.freedesktop.org/archives/libreoffice/2012-March/028041.html
and followups)
2012-03-12 19:12:49 +01:00
Tom Thorogood
caacafe4db Translate German comments in core/cppuhelper 2012-03-10 22:00:56 +01:00
Luboš Luňák
34f8495dd9 exported templates need to be marked as such
Otherwise their instances created in other modules may end up
as non-exported even when used by something exported.
2012-03-10 16:39:22 +01:00
Korrawit Pruegsanusak
0f6d1ff621 some doxygen warnings cleanup 2012-02-27 21:25:02 +07:00
Korrawit Pruegsanusak
98a11f3ad9 Some doxygen warnings cleanup 2012-02-23 22:58:06 +07:00
Thomas Arnhold
22e96521da WaE: silence some documentation errors 2012-02-22 00:52:32 +01:00
Thomas Arnhold
b1073d9fa2 WaE: silence some documentation errors 2012-02-21 23:16:31 +01:00
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06: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
Norbert Thiebaud
6ac30d8be9 clean-up Doxygen warnings 2012-01-19 20:19:21 -06:00
Andras Timar
aab14cb9fb fix prefix of command line switches (-- instead of -) 2012-01-11 19:25:45 +01:00
Korrawit Pruegsanusak
d0e97e3db7 Also gives BoundListeners a CPPUHELPER_DLLPUBLIC to link on msvc 2012-01-09 10:36:35 +01:00
Stephan Bergmann
58ab12acf5 Switch from autodoc to doxygen for SDK C++ documentation.
* New build prerequisite doxygen (controllable via --with-doxygen).
* Adapted various headers to slightly different doxygen documentation
  syntax, but much clean up still remains to be done (i.e., warnings
  emitted by doxygen fixed).
2012-01-05 19:43:14 +01:00
Tor Lillqvist
08f62fb29d WaE: unused parameter 'rPath' 2012-01-03 11:47:00 +02:00
Stephan Bergmann
a768436252 CppunitTest_cppuhelper_qa_weak depends on module bridges
...through a call to cppu::getCaughtException.
2012-01-02 15:33:13 +01: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
Christian Lohmaier
89b4260fc9 GUI is also UNX for Mac, to check for Mac use either OS→MACOSX or GUIBASE→aqua 2011-12-13 01:59:12 +01:00
Tor Lillqvist
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Michael Meeks
b8c7548527 ignore backup files in services/ directory to avoid debugging grief 2011-12-07 14:38:16 +00:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
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