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
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
Stephan Bergmann
63141d21b1
-Werror=sign-promo fixes
2011-12-19 11:33:12 +01:00
Matúš Kukan
051fdda153
cppu: convert to gbuild
...
Because of unit tests is here custom target where are idl files
processed.
2011-12-19 10:14:51 +01:00
Norbert Thiebaud
24b4c075d5
remove include of pch header in cppu
2011-11-27 13:02:56 -06:00
Stephan Bergmann
70a6b9ffbd
New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
...
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01: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
e3712f9d35
Fix build --all depend=x.
2011-11-14 11:50:26 +01: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
Stephan Bergmann
6671fa81db
Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().
2011-09-27 20:22:03 +02:00
Tor Lillqvist
1c69052b52
Bypass building the iOS cppu_unittester_all for now
...
We can't build it here at this point during the build after all. We
use static linking on iOS, and we would need to link with -lgcc3_uno
from bridges which has not been built yet. It seems that any
meaningful unit tests for iOS actually need to be built in a
"subsequent" stage.
2011-09-20 16:59:05 +03: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
Tor Lillqvist
07ded12adc
Use OBJCXXFLAGS instead of duplicating it
2011-08-01 14:47:08 +03:00
Tor Lillqvist
46bd39b0d3
Add statically linked cppu unit test for iOS
2011-08-01 00:59:09 +03:00
Christian Lohmaier
e224ac0e31
use rm -f to not complain about attempting to remove nonexisting file
2011-06-13 16:27:50 +02:00
Tor Lillqvist
28bff17eac
Can't run any qa when cross-compiling
2011-06-05 02:23:46 +03:00
Caolán McNamara
1fa55878d9
restore cppunit test, Sequence ctor from sal_Int32 is now explicit
2011-03-18 21:49:26 +00:00
Caolán McNamara
a4632bb6a2
only test this on certain archs
2011-03-18 13:37:29 +00:00
Fridrich Štrba
16d941cb03
Add PowerPC to the right branch
2011-03-18 14:30:33 +01:00
Caolán McNamara
71dee2f153
move cppumaker test to cppu
2011-03-15 13:41:19 +00:00
Caolán McNamara
5f66037d6d
remove empty TESTSHL2LIB
2011-02-24 20:44:46 +00:00
Fridrich Štrba
81ef04be69
Trying to remove the stlport mention from the code
2011-02-09 19:58:43 +01:00
Fridrich Štrba
30a8393e50
Removing the ext_std masterpiece
2011-02-09 19:58:43 +01:00
Thomas Arnhold
31ca64f91e
Remove double line spacing and correct indentation
2011-01-29 15:39:11 +01:00
David Tardon
d1d16c48ff
fix break on parallel build
2011-01-15 18:10:49 +01:00
Caolán McNamara
387b321092
cppunit: port these tests over to canonical cppunit
2011-01-14 15:36:53 +00:00
Sebastian Spaeth
a715e1b3d0
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
sb
6c036b980c
sb118: #i109791# improved CPPUNIT_CFLAGS handling
2010-03-04 22:13:08 +01:00
Rene Engelhard
2e10c0e2fc
sb118: add missing CFLAGS+= $(CPPUNIT_CFLAGS) to loads of other makefiles, too
2010-03-04 00:11:19 +01:00
Jens-Heiner Rechtien
7c80db2eb3
changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-02-12 15:01:35 +01:00
Mathias Bauer
6ea0304b45
#i103496#: split cppunit in a pure external lib and a lib depending on sal -> testshl2
2009-09-14 19:06:55 +02:00
Vladimir Glazounov
8f9181922c
CWS-TOOLING: integrate CWS sb93
2008-10-01 09:14:16 +00:00
Vladimir Glazounov
3b2b8f91ff
CWS-TOOLING: integrate CWS sb93
2008-10-01 09:04:58 +00:00
Rüdiger Timm
c02c486b41
INTEGRATION: CWS changefileheader (1.3.132); FILE MERGED
...
2008/03/31 07:23:18 rt 1.3.132.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:27:27 +00:00
Rüdiger Timm
35113225b3
INTEGRATION: CWS changefileheader (1.4.96); FILE MERGED
...
2008/03/31 07:23:18 rt 1.4.96.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:27:09 +00:00
Rüdiger Timm
8625e1629d
INTEGRATION: CWS changefileheader (1.4.74); FILE MERGED
...
2008/03/31 07:23:18 rt 1.4.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:52 +00:00
Rüdiger Timm
95e3cfdc0e
INTEGRATION: CWS changefileheader (1.2.20); FILE MERGED
...
2008/03/31 07:23:18 rt 1.2.20.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:32 +00:00
Rüdiger Timm
ce582a0da6
INTEGRATION: CWS changefileheader (1.5.74); FILE MERGED
...
2008/03/31 07:23:18 rt 1.5.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:15 +00:00
Rüdiger Timm
f06c0f0202
INTEGRATION: CWS changefileheader (1.5.20); FILE MERGED
...
2008/03/31 07:23:18 rt 1.5.20.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:25:48 +00:00
Kurt Zenker
8c89d65a5d
INTEGRATION: CWS basmgr03 (1.1.2); FILE ADDED
...
2007/09/17 08:26:56 fs 1.1.2.1: #i80044# unit test for Reference class, currently containing tests for UNO_SET_THROW only
2007-10-09 14:19:47 +00:00
Kurt Zenker
72fabac222
INTEGRATION: CWS basmgr03 (1.4.80); FILE MERGED
...
2007/09/17 08:27:36 fs 1.4.80.1: #i80044# added Reference unit tests
2007-10-09 14:19:37 +00:00
Oliver Bolte
d404e62548
INTEGRATION: CWS pchfix02 (1.3.24); FILE MERGED
...
2006/09/01 17:23:00 kaib 1.3.24.1: #i68856# Added header markers and pch files
2006-09-16 23:18:51 +00:00
Oliver Bolte
9cf9cd9629
INTEGRATION: CWS pchfix02 (1.4.24); FILE MERGED
...
2006/09/01 17:23:00 kaib 1.4.24.1: #i68856# Added header markers and pch files
2006-09-16 23:18:37 +00:00
Rüdiger Timm
572179c6ac
INTEGRATION: CWS jl31 (1.3.38); FILE MERGED
...
2006/02/20 16:00:31 sb 1.3.38.1: #i62339# Introduced (internal-only) cppu::getTypeFavourUnsigned as (working) replacement of now deprecated getCppuType<> template.
2006-03-09 09:45:27 +00:00
Rüdiger Timm
2cf3ab0e32
INTEGRATION: CWS jl31 (1.2.14); FILE MERGED
...
2006/02/20 16:00:31 sb 1.2.14.1: #i62339# Introduced (internal-only) cppu::getTypeFavourUnsigned as (working) replacement of now deprecated getCppuType<> template.
2006-03-09 09:45:15 +00:00
Rüdiger Timm
44b58396a9
INTEGRATION: CWS jl31 (1.3.38); FILE MERGED
...
2006/02/20 16:00:30 sb 1.3.38.1: #i62339# Introduced (internal-only) cppu::getTypeFavourUnsigned as (working) replacement of now deprecated getCppuType<> template.
2006-03-09 09:45:05 +00:00
Rüdiger Timm
53cdc0c604
INTEGRATION: CWS sb41 (1.1.2); FILE ADDED
...
2005/12/13 09:44:05 sb 1.1.2.2: #i57855# Improved tests.
2005/11/24 08:19:41 sb 1.1.2.1: #i57855# Replaced getCppuType (which is still there for backwards compatibility) with new cppu::UnoType and helper cppu::getTypeFavourUnsigned, as GCC 4.1 started to complain about non-conforming uses of getCppuType in template code.
2006-01-10 14:55:19 +00:00
Rüdiger Timm
13bfb9a258
INTEGRATION: CWS sb41 (1.3.18); FILE MERGED
...
2005/11/24 08:18:12 sb 1.3.18.1: #i57855# Replaced getCppuType (which is still there for backwards compatibility) with new cppu::UnoType and helper cppu::getTypeFavourUnsigned, as GCC 4.1 started to complain about non-conforming uses of getCppuType in template code.
2006-01-10 14:55:03 +00:00
Rüdiger Timm
5c75e413e4
INTEGRATION: CWS ooo19126 (1.2.12); FILE MERGED
...
2005/09/05 13:54:21 rt 1.2.12.1: #i54170# Change license header: remove SISSL
2005-09-08 07:44:03 +00:00
Rüdiger Timm
0ae9d6e949
INTEGRATION: CWS ooo19126 (1.2.12); FILE MERGED
...
2005/09/05 13:54:20 rt 1.2.12.1: #i54170# Change license header: remove SISSL
2005-09-08 07:43:22 +00:00