Commit graph

968 commits

Author SHA1 Message Date
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
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