Commit Graph

1127 Commits

Author SHA1 Message Date
8c2cd1675f WaE: gcc 4.6.0 various warnings 2011-01-24 10:55:39 +00:00
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
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
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
d1d16c48ff fix break on parallel build 2011-01-15 18:10:49 +01:00
eba7563505 cppunit: enable these tests 2011-01-14 15:44:26 +00:00
387b321092 cppunit: port these tests over to canonical cppunit 2011-01-14 15:36:53 +00:00
39b67dcf71 add an explicit 2011-01-13 08:59:22 +00:00
6ca25e8192 Some cppcheck cleaning 2011-01-12 13:12:22 +00:00
sb
d06639e31c sb139: merged in DEV300_m97 2011-01-11 15:23:26 +01:00
sb
17be18e8a5 sb139: #i103789# various OSL_DEBUG_LEVEL>1 problems in uno/data.cxx 2011-01-10 14:57:31 +01:00
865df52045 dr77: rebase to DEV300m96 2010-12-27 12:33:29 +01:00
c7e4a291ec suppress compiler warning 2010-12-23 11:21:14 +01:00
c1d5abdc81 Handle NetBSD like the other BSDs in more cases. 2010-12-16 22:39:28 +01:00
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
1b11499074 Remove redundant comments 2010-12-05 20:28:21 +00:00
751c750a8c cppcheck: use prefix variant 2010-11-26 21:38:32 +00:00
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
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
4584f69f0d dr77: rebase to DEV300m92 2010-11-09 15:15:30 +01:00
30a34fcf31 Patches for ure, neeed by OpenBSD
Adds the necessary distinctions in the system abstraction layers.
2010-11-08 12:32:28 +01:00
c8540f0850 can undo this now with dial-down in solenv
(cherry picked from commit 23b34d1adafa71612f093d6b5aa015f307785a3f)
2010-11-05 16:18:38 +00:00
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
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
sb
2a3ed89284 sb132: #i112448# proper clean up in JobQueue::enter (patch by olistraub) 2010-10-25 15:37:14 +02:00
61582157aa micro opts 2010-10-24 20:36:55 +01:00
cf575ec187 give me a deterministic ctor/dtor ordering I can trust, and defer to first use 2010-10-24 13:36:40 +01:00
85c44ad8b3 #i101100# strict-alias clean 2010-10-20 08:53:25 +01:00
7ed1d1de5e Make calls to unary_function and binary_function less ambiguous for VC10 2010-10-16 22:09:55 +02:00
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
5192050cf4 AIX cppu quirks 2010-10-13 20:31:42 +01:00
bda7aaeb74 Remove redundant #include, #define & comments 2010-10-13 12:51:10 +02:00
ed927d918e micro optimization to avoid global ctor that including iostream creates 2010-10-13 10:19:01 +01:00
521a9f6f76 #i107490# cppu lifecycle cleanup 2010-10-11 12:37:08 +01:00
bcdb4cc866 more removed include guards using fixguard.py 2010-10-05 18:12:52 +02:00
334bef4563 remove include guards using fixguard.py 2010-10-05 18:12:51 +02:00
5bcf47249f all of these compiler checks can go, the result is overridden anyway 2010-10-05 08:53:13 +01:00
6635abfeb1 cppu-lbnames-enable-gcc-4.5.diff: enable build with gcc-4.5
i#109853
2010-09-17 12:18:37 +02:00
09ce8ce7ed win32-vs2005-compat.diff: Fix build with Visual Studio 2005 2010-09-14 13:12:26 +02:00
16813a9d8b dr77: #i113097# make Sequence(sal_Int32) explicit 2010-07-13 18:26:57 +02:00
sb
ce86770502 sb126: #i107490# dead code not removed by previous cleanup 2010-07-12 11:44:25 +02:00
sb
648603aa7c sb126: #i107490# cppu lifecycle cleanup (patch by cmc, plus removal of now obsolete CPPU_LEAK_STATIC_DATA) 2010-07-07 13:03:20 +02:00
sb
5302330cfd sb126: #i109853# no need to set CPPU_ENV in cppu/inc/uno/lbnames.h 2010-06-23 11:07:00 +02:00
sb
d99069c4d5 sb120: #i83192# removed cppu/test, superseded by testtools tests 2010-03-10 10:44:50 +01:00
sb
6c036b980c sb118: #i109791# improved CPPUNIT_CFLAGS handling 2010-03-04 22:13:08 +01:00
2e10c0e2fc sb118: add missing CFLAGS+= $(CPPUNIT_CFLAGS) to loads of other makefiles, too 2010-03-04 00:11:19 +01:00
sb
e3e1a6da80 sb119: merged in DEV300_m72 2010-02-26 09:55:56 +01:00
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
sb
d127b5cb9d sb119: #i108654# avoid casts that are not strict-aliasing safe (patch by cmc) 2010-01-29 10:48:57 +01:00
e51f9e2802 CWS-TOOLING: integrate CWS killnonpro 2009-12-09 19:10:19 +01:00