Commit Graph

982 Commits

Author SHA1 Message Date
61a8905c48 Reverted "Leak TypeDescriptor_Init_Impl to avoid problems at exit."
(This reverts commit 0ba6bd3ddc025666a6d4bb0640bf443728b23bd3.)

The problems worked-around there are no longer observed by me, so they
were hopefully only a temporal problem (the real root cause had never
been found back then).  If problems start to pop up again, we'll need
to have another look at this.
2012-04-26 09:33:12 +02:00
fd0790a219 WaE: Clang unused variable 2012-04-25 10:07:00 +02:00
0d0b7947aa WaE: implicit conversion changes signedness 2012-04-24 12:22:58 +03:00
8d1fbba77f doxygen warning fixes 2012-04-23 19:17:42 +02:00
aa28e0e3d4 remove doxygen warnings 2012-04-17 22:10:10 -05:00
9e7d5cd530 cppu: use InternalUnoApi 2012-04-09 21:04:37 +02:00
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
694bb9f5de Do two fairly useless but often emitted OSL_TRACEs only if OSL_DEBUG_LEVEL > 2 2012-04-05 20:46:26 +03:00
128749140f More hacking on static linking (iOS) support 2012-03-21 00:00:05 +02:00
c0ab229dc7 Uniquify uno_initEnvironment and uno_ext_getMapping in the static linking case 2012-03-21 00:00:04 +02:00
a8f19ca300 Use MAX_ALIGNMENT_4 also for iOS 2012-03-21 00:00:02 +02:00
ba6714d34f Dead code 2012-03-14 15:23:22 +01:00
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
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
a860cd108c cppu: JobQueue::enter: add mutex guards for m_nToDo
Considered replacing it with oslInterlockedCount, but wondered why there is
no osl_getInterlockedCount (similar to glib's g_atomic_int_get)...
2012-02-27 20:53:20 +01:00
98a11f3ad9 Some doxygen warnings cleanup 2012-02-23 22:58:06 +07:00
b1073d9fa2 WaE: silence some documentation errors 2012-02-21 23:16:31 +01:00
3e41d0bf6a cleanup: remove remenants of gcc version checking 2012-02-14 14:15:52 +00:00
cba3ac1eab Avoid deadlocks when disposing recursive JobQueue::enter
...where the outer JobQueue::enter blocks on m_cndWait after it has been reset
again due to m_lstJob.empty().
2012-02-10 16:26:00 +01:00
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
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
3c7ad92d43 Drop UNO_REF_QUERY[_THROW] duplicates of UNO_QUERY[_THROW].
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-19 20:54:35 +01:00
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