Commit graph

883 commits

Author SHA1 Message Date
Thomas Arnhold
7176db7752 Use format string on OSL_TRACE() 2011-03-15 16:55:52 +01:00
Caolán McNamara
71dee2f153 move cppumaker test to cppu 2011-03-15 13:41:19 +00:00
Tor Lillqvist
b6e36a7fa9 Use explicitly cast zeros to avoid compilation error with MSVC2010
Could also use nullptr, is it supported by all compiler versions we use?
2011-03-14 12:20:35 +02:00
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Thomas Arnhold
6488e5f120 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Julien Nabet
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
Caolán McNamara
5f66037d6d remove empty TESTSHL2LIB 2011-02-24 20:44:46 +00:00
Francois Tigeot
f091f5b395 dragonfly stuff 2011-02-15 15:55:19 +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
Fridrich Štrba
259c35955a don't crash trying to erase one past end 2011-02-06 11:49:10 +01:00
Fridrich Štrba
93c5442bd2 Revert "revert this change for now as its triggering a crash in saxparser"
This reverts commit b73cf2b1ef3892b4c200c05fd617bfd099aceee5.
2011-02-06 11:47:56 +01:00
Caolán McNamara
1d6bdb8380 revert this change for now as its triggering a crash in saxparser 2011-02-04 19:50:27 +00:00
Fridrich Strba
4724f82bf2 move module cppu to boost unordered containers 2011-02-03 23:39:38 +01:00
Thomas Arnhold
31ca64f91e Remove double line spacing and correct indentation 2011-01-29 15:39:11 +01:00
Caolán McNamara
8c2cd1675f WaE: gcc 4.6.0 various warnings 2011-01-24 10:55:39 +00:00
Tor Lillqvist
48252aada0 If CPPU_LEAK_STATIC_DATA is defined, don't bother with assertions
Re-introduce the possibility to define CPPU_LEAK_STATIC_DATA. This
time use it to bypass just the assertions that check that the type
description counts really are zero at the end of the
TypeDescriptor_Init_Impl destructor.

Add more informative debugging printout of which counts are non-zero.

Define CPPU_LEAK_STATIC_DATA for x64 Windows for now. But we do get
the same assertions also on x86 Windows if cppu is built with
OSL_DEBUG_LEVEL>1.
2011-01-23 01:05:45 +02:00
Tor Lillqvist
989bbfb350 Remove pointless debugging output
We do print out a message if struct size verifications fail. That is
enough. No point in printing out the same

> sizeof(AlignSize_Impl) = 16
> sizeof(M) = 8
> sizeof(N) = 12

etc messages every time a cppu-using program is run and cppu has been
built for debugging.
2011-01-23 00:55:20 +02:00
Tor Lillqvist
3e3482dc6e Use separate .map files for 64-bit MSVC build
Unfortunately the C++ name mangling in a 64-bit MSVC compilation is
slightly different from that in a 32-bit one:

-- An 'E' is inserted for pointers to indicate that they are 64
bits. I don't fully understand the rationale for this; isn't that the
only kind of pointer in 64-bit code produced by a C++ compiler anyway?

-- As there is only one calling convention on x64 Windows, __cdecl,
the indications for other calling conventions (here, especially
__thiscall) change to that for __cdecl.

It should be possible to write a tool to at least partially automate
conversion of 32-bit mangled names to 64-bit ones, and thus make it
easy to create mscx map files from the corresponding msci ones in
LibreOffice. Sure, it probably wouldn't work 100% correctly in all
cases, but it would help a lot.
2011-01-16 23:31:10 +02:00
David Tardon
d1d16c48ff fix break on parallel build 2011-01-15 18:10:49 +01:00
Caolán McNamara
eba7563505 cppunit: enable these tests 2011-01-14 15:44:26 +00:00
Caolán McNamara
387b321092 cppunit: port these tests over to canonical cppunit 2011-01-14 15:36:53 +00:00
Caolán McNamara
39b67dcf71 add an explicit 2011-01-13 08:59:22 +00:00
Julien Nabet
6ca25e8192 Some cppcheck cleaning 2011-01-12 13:12:22 +00:00
David Tardon
c7e4a291ec suppress compiler warning 2010-12-23 11:21:14 +01:00
Thomas Klausner
c1d5abdc81 Handle NetBSD like the other BSDs in more cases. 2010-12-16 22:39:28 +01:00
Takeshi Abe
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
J. Graeme Lingard
1b11499074 Remove redundant comments 2010-12-05 20:28:21 +00:00
Caolán McNamara
751c750a8c cppcheck: use prefix variant 2010-11-26 21:38:32 +00:00
Jan Holesovsky
f12505d596 Revert "Add workaround to avoid crash when exiting LibreOffice"
This reverts commit 146e2fbca20f5cba3410d3d042ae6222a565dd7e.

The workaround is has to be present in libreoffice-3-3, but we do not want to
have it in master, so that eventually it is fixed in the end :-)
2010-11-12 16:21:07 +01:00
Tor Lillqvist
8e7f25848a Add workaround to avoid crash when exiting LibreOffice
Reintroduce the horrible CPPU_LEAK_STATIC_DATA hack used in OOo 3.2.1,
but only for Windows builds. No idea what causes the crash. See
fdo#31494. Don't know if this hack has some bad consequences then,
i#107490 seems to say so.
2010-11-10 18:40:38 +02:00
Robert Nagy
30a34fcf31 Patches for ure, neeed by OpenBSD
Adds the necessary distinctions in the system abstraction layers.
2010-11-08 12:32:28 +01:00
Caolán McNamara
c8540f0850 can undo this now with dial-down in solenv
(cherry picked from commit 23b34d1adafa71612f093d6b5aa015f307785a3f)
2010-11-05 16:18:38 +00:00
Jan Holesovsky
b7f08e5afe Workaround for the registration breakage on SUSE.
Commit 55c3066e52ad1843549c442e8d74f886507c58f4 seems to break the SUSE boxes,
this is a workaround for that.
2010-11-03 12:19:34 +01:00
Caolán McNamara
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
Caolán McNamara
61582157aa micro opts 2010-10-24 20:36:55 +01:00
Caolán McNamara
cf575ec187 give me a deterministic ctor/dtor ordering I can trust, and defer to first use 2010-10-24 13:36:40 +01:00
Caolán McNamara
85c44ad8b3 #i101100# strict-alias clean 2010-10-20 08:53:25 +01:00
Jesús Corrius
7ed1d1de5e Make calls to unary_function and binary_function less ambiguous for VC10 2010-10-16 22:09:55 +02: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
Caolán McNamara
5192050cf4 AIX cppu quirks 2010-10-13 20:31:42 +01:00
J. Graeme Lingard
bda7aaeb74 Remove redundant #include, #define & comments 2010-10-13 12:51:10 +02:00
Caolán McNamara
ed927d918e micro optimization to avoid global ctor that including iostream creates 2010-10-13 10:19:01 +01:00
Caolán McNamara
521a9f6f76 #i107490# cppu lifecycle cleanup 2010-10-11 12:37:08 +01:00
Petr Mladek
bcdb4cc866 more removed include guards using fixguard.py 2010-10-05 18:12:52 +02:00
Petr Mladek
334bef4563 remove include guards using fixguard.py 2010-10-05 18:12:51 +02:00
Caolán McNamara
5bcf47249f all of these compiler checks can go, the result is overridden anyway 2010-10-05 08:53:13 +01:00
Petr Mladek
6635abfeb1 cppu-lbnames-enable-gcc-4.5.diff: enable build with gcc-4.5
i#109853
2010-09-17 12:18:37 +02:00
Thorsten Behrens
09ce8ce7ed win32-vs2005-compat.diff: Fix build with Visual Studio 2005 2010-09-14 13:12:26 +02:00
sb
d99069c4d5 sb120: #i83192# removed cppu/test, superseded by testtools tests 2010-03-10 10:44:50 +01:00