summaryrefslogtreecommitdiff
path: root/cppu
AgeCommit message (Collapse)AuthorFilesLines
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan10-10/+10
2012-02-27cppu: JobQueue::enter: add mutex guards for m_nToDoMichael Stahl2-6/+9
Considered replacing it with oslInterlockedCount, but wondered why there is no osl_getInterlockedCount (similar to glib's g_atomic_int_get)...
2012-02-23Some doxygen warnings cleanupKorrawit Pruegsanusak1-1/+1
2012-02-21WaE: silence some documentation errorsThomas Arnhold9-18/+18
2012-02-14cleanup: remove remenants of gcc version checkingMichael Meeks1-1/+1
2012-02-10Avoid deadlocks when disposing recursive JobQueue::enterStephan Bergmann1-2/+5
...where the outer JobQueue::enter blocks on m_cndWait after it has been reset again due to m_lstJob.empty().
2012-02-06Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich1-0/+4
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud1-37/+3
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann30-456/+456
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann10-59/+76
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-19Drop UNO_REF_QUERY[_THROW] duplicates of UNO_QUERY[_THROW].Stephan Bergmann1-20/+13
They are virtually unused (at least the LibO code base has only a single use of UNO_REF_QUERY) but confuse static analysis tools that classify unused function parameters as "tags" (which legalizes the unusedness of those parameters) if they are of an enum type with exactly one value defined.
2012-01-06typo in OSL_DEBUG_LEVEL > 1 codeCaolán McNamara1-1/+1
2012-01-05Switch from autodoc to doxygen for SDK C++ documentation.Stephan Bergmann13-78/+80
* 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-05Leak TypeDescriptor_Init_Impl to avoid problems at exit.Stephan Bergmann1-98/+106
2012-01-05Explicitly initialize TypeDescriptor_Init_Impl.Stephan Bergmann1-5/+13
2012-01-02Replace dynamic array with std::vector.Stephan Bergmann1-8/+7
2011-12-23OSL_ASSERT -> assertStephan Bergmann1-19/+20
2011-12-19Add symbols from addsym.awk to gbuilified .map files.Stephan Bergmann2-0/+16
2011-12-19get this to build under msvc 2008Caolán McNamara1-8/+8
2011-12-19Prevent creation of new ORequestThreads during shutdown.Stephan Bergmann2-0/+27
2011-12-19Removed superfluous CPPU_DLLPUBLIC from definitions.Stephan Bergmann3-12/+12
2011-12-19-Werror=sign-promo fixesStephan Bergmann2-35/+37
2011-12-19cppu: add visibility symbolsMatúš Kukan29-204/+239
2011-12-19cppu: convert to gbuildMatúš Kukan40-983/+730
Because of unit tests is here custom target where are idl files processed.
2011-12-17Fix for fdo43460 Part X getLength() to isEmpty()Olivier Hallot3-6/+6
Part X Module cppu cppuhelper cpputools
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist7-7/+0
2011-12-08Less succes, more successStefan Knorr (astron)1-1/+1
2011-12-01-Wstrict-aliasing fixStephan Bergmann1-2/+5
2011-12-01The other uses of pReserved had been changed to nStaticRefCount in 2001.Stephan Bergmann1-1/+1
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-63/+0
2011-11-27remove include of pch header in cppuNorbert Thiebaud28-52/+0
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud1-8/+0
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann2-28/+2
* 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-15fdo#42865: cppu,cppuhelper,testtools: no mapfileMichael Stahl4-73/+7
Instead, build with VISIBILITY_HIDDEN.
2011-11-14Fix build --all depend=x.Stephan Bergmann1-0/+2
2011-10-18Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on ↵Stephan Bergmann2-19/+27
Linux x86_64).
2011-10-03targeting gcc 4.6.1 gentoo strict-aliasing warningsCaolán McNamara1-57/+27
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann2-0/+24
2011-09-25Tell what "LB" meansTor Lillqvist1-0/+2
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-1/+1
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-20Bypass building the iOS cppu_unittester_all for nowTor Lillqvist1-1/+6
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-12sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed ↵Stephan Bergmann6-9/+11
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-09sb140: silence warningsStephan Bergmann1-56/+56
2011-08-30Tweak some DLL and import library names in the WNTGCC caseTor Lillqvist4-13/+23
2011-08-21Link cppu statically to gcc3_uno on iOSTor Lillqvist3-5/+15
2011-08-21Revert "I am tired of thesee assertions, put them behind dbglevel>2"Tor Lillqvist1-1/+1
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-19I am tired of thesee assertions, put them behind dbglevel>2Tor Lillqvist1-1/+1
2011-08-09Fix compilation errors with dbglevel>1Tor Lillqvist1-16/+16
2011-08-01Use OBJCXXFLAGS instead of duplicating itTor Lillqvist1-1/+1
2011-08-01Add statically linked cppu unit test for iOSTor Lillqvist6-5/+174