Commit Graph

955 Commits

Author SHA1 Message Date
504e01e52e typo in OSL_DEBUG_LEVEL > 1 code 2012-01-06 09:52:42 +00:00
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
0ba6bd3ddc Leak TypeDescriptor_Init_Impl to avoid problems at exit. 2012-01-05 11:58:40 +01:00
321894af2c Explicitly initialize TypeDescriptor_Init_Impl. 2012-01-05 11:54:08 +01:00
9d54084d61 Replace dynamic array with std::vector. 2012-01-02 18:01:42 +01:00
c84a5ec4cb OSL_ASSERT -> assert 2011-12-23 18:56:18 +01:00
47dda94606 Add symbols from addsym.awk to gbuilified .map files. 2011-12-19 16:30:23 +01:00
bc4c7b52a8 get this to build under msvc 2008 2011-12-19 15:16:51 +00:00
b68640c44e Prevent creation of new ORequestThreads during shutdown. 2011-12-19 16:08:20 +01:00
2af1a97346 Removed superfluous CPPU_DLLPUBLIC from definitions. 2011-12-19 11:33:13 +01:00
63141d21b1 -Werror=sign-promo fixes 2011-12-19 11:33:12 +01:00
d899f976ee cppu: add visibility symbols 2011-12-19 10:14:52 +01:00
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
1b99d8800e Fix for fdo43460 Part X getLength() to isEmpty()
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
ad2eb6c4ba Less succes, more success 2011-12-08 09:06:09 +01:00
beebf578ed -Wstrict-aliasing fix 2011-12-01 21:24:50 +01:00
db4017cb71 The other uses of pReserved had been changed to nStaticRefCount in 2001. 2011-12-01 21:24:49 +01:00
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
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
c506e1852a fdo#42865: cppu,cppuhelper,testtools: no mapfile
Instead, build with VISIBILITY_HIDDEN.
2011-11-15 20:52:00 +01:00
e3712f9d35 Fix build --all depend=x. 2011-11-14 11:50:26 +01:00
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
424dcd6813 targeting gcc 4.6.1 gentoo strict-aliasing warnings 2011-10-03 17:00:54 +01:00
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
2b207686cd Tell what "LB" means 2011-09-25 11:47:19 +03:00
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
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
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
315e6ca249 sb140: silence warnings 2011-09-09 17:46:38 +02:00
e081225623 Tweak some DLL and import library names in the WNTGCC case 2011-08-30 11:13:32 +03:00
b6a9f3560a Link cppu statically to gcc3_uno on iOS 2011-08-21 17:49:11 +03:00
9097947b9b Revert "I am tired of thesee assertions, put them behind dbglevel>2"
Nah, having them behind dbglevel>1 is fine (which already means these
assertions won't normally be compiled even with --enable-debug).

I got mislead as I was building with dbglevel=2 everywhere. But
pondering the point of dbglevel a.k.a. OSL_DEBUG_LEVEL, I think the
right way to see it is: You are not supposed to build all (or large
parts) of LibreOffice with dbglevel=2. If we used OSL_TRACE all over
the place as thoroughly as in some files in sal/rtl, that would lead
to astronomical amounts of tracing output. (We don't use OSL_TRACE
like that, but that is another thing...)

I think the intended use of dbglevel is that you should build with
dbglevel=2 only the small part of code you are currently actively
working on, when you want to see trace output.

Of course, another problem then is that in some modules and/or
libraries it might not be possible to compile just a part of the
sources with dbglevel=2. That should be fixed.

This reverts commit a3bad2855032fb2742feea1e0e350297d41f69fe.
2011-08-21 14:30:37 +03:00
a3bad28550 I am tired of thesee assertions, put them behind dbglevel>2 2011-08-19 17:58:50 +03:00
d7e16fdbab Fix compilation errors with dbglevel>1 2011-08-09 10:27:40 +03:00
07ded12adc Use OBJCXXFLAGS instead of duplicating it 2011-08-01 14:47:08 +03:00
46bd39b0d3 Add statically linked cppu unit test for iOS 2011-08-01 00:59:09 +03:00
4313f43185 ause130: #i117218# change .idl handling to gnu make 2011-06-18 11:30:46 +02:00
a6d7605c22 Use the i prefix for the import library only with MSC 2011-06-18 01:03:43 +03:00
292a358e86 Be less picky with library name 2011-06-14 00:36:17 +03:00
4dafde87ff restore dependency 2011-06-13 23:31:18 +02:00
0700d11c1d get rid of "SHL2TARGETN redefined after use" warning - 2nd try
this time run git add before commiting to commit the locally tested
version, and not some intermediate crap that was added in between
2011-06-13 22:21:17 +02:00
e224ac0e31 use rm -f to not complain about attempting to remove nonexisting file 2011-06-13 16:27:50 +02:00
7249ab6122 get rid of "SHL2TARGETN redefined after use" warning 2011-06-13 16:20:33 +02:00
bb0f5c9359 No dynamic module loading on iOS 2011-06-13 02:50:38 +03:00
28bff17eac Can't run any qa when cross-compiling 2011-06-05 02:23:46 +03:00
7862e397af Drop %_EXT% which was always empty 2011-06-03 13:28:35 +03:00
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00