Commit graph

1197 commits

Author SHA1 Message Date
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Jesús Corrius
7be0cc289d A few safe replacements of pathes->paths 2012-02-01 14:43:37 +01:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Stephan Bergmann
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
Stephan Bergmann
0a77071485 Code clean up. 2012-01-20 12:14:46 +01:00
Stephan Bergmann
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
Stephan Bergmann
2ca0ab44b4 Clang -Wunused-variable. 2012-01-15 22:55:08 +01:00
Olivier Hallot
ba713b5add Fix mistake in type OUStringBuffer
Fix mistake in method for type OUStringBuffer
2012-01-12 19:33:28 -02:00
Olivier Hallot
71dc235aba Fix for fdo43460 Part XXXV getLength() to isEmpty()
Part XXXV
Modules
stoc
2012-01-12 19:15:08 -02:00
Stephan Bergmann
13a40f3041 Get rid of manual ref counting. 2012-01-02 18:01:42 +01:00
Stephan Bergmann
c28c09a8b2 USE_INTROSPECTION_CACHE is always defined. 2012-01-02 18:01:42 +01:00
David Tardon
aee436760e function component_canUnload is exported 2011-12-27 15:44:42 +01:00
Takeshi Abe
c936e50627 catch exception by constant reference 2011-12-27 10:17:15 +09:00
Caolán McNamara
098bc2f8ac msvc 2008 express won't link without explicit salhelper
post salhelper visibility markup and gbuildification express
2008 doesn't link without salhelper mentioned on link line
2011-12-16 12:31:11 +00:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Tor Lillqvist
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
36f155dda1 remove include of pch header from stoc 2011-11-27 13:23:37 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Kevin Hunter
a313cf8607 Fix logic of isDerivedFrom function
From an email conversation with Stephen Bergmann

"I think the real intent always was to actually look through all the
returned getSuperclasses(), and the error that superclasses past the
first one are effectively ignored has never been noticed."
2011-10-05 08:52:09 +02:00
Tor Lillqvist
9e6d06a871 WaE: unreachable code, also add comment pondering what the code means 2011-10-03 16:28:44 +03:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Michael Meeks
7fc35af5fd remove obsolete Forte NOOPT files 2011-09-24 08:33:45 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Thomas Arnhold
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
Stephan Bergmann
23b04dae8b sb140: #i117698# no implementations of XIdlClassProvider remain, so code that checks for it can be removed 2011-09-12 22:47:49 +02:00
Stephan Bergmann
30ad5e9d87 sb140: #i117694# some CppUnit related cleanup 2011-09-12 22:47:48 +02:00
Caolán McNamara
7c658039e8 fix this up, revert using comphelper stuff, but modify to-dos 2011-08-29 12:10:15 +01:00
Tor Lillqvist
c565e0c641 Need to link with COMPHELPERLIB for isupperAscii etc 2011-08-29 13:57:23 +03:00
Caolán McNamara
3829892dbc merge together 5 or ascii isalpha/isalnum/isdigit implementations 2011-08-29 09:56:08 +01:00
Julien Nabet
66fd144269 Some cppcheck cleaning 2011-08-13 15:12:35 +02:00
Julien Nabet
5cbb76d6c4 Some cppcheck cleaning 2011-08-11 23:23:19 +02:00
Julien Nabet
0410bbafaf Some cppcheck cleaning 2011-08-10 23:05:50 +02:00
Tor Lillqvist
c8eefebef6 Use prefixed getFactory and no canUnload on iOS 2011-08-08 21:20:52 +03:00
Tor Lillqvist
9a48e75b07 Deliver also static component archives as built for iOS 2011-08-08 21:20:51 +03:00
Matúš Kukan
683d975d70 we are searching for prefix in activate
also fix small typo
2011-07-28 14:42:08 +02:00
Matúš Kukan
15f10fc946 Remove component_getImplementationEnvironment 2011-07-12 16:30:06 +02:00
Michael Meeks
babdd43fce re-work prefix handling and undo cppuhelper ABI change, add unit test
use a separate prefix enabled method instead of changing the ABI of cppuhelper
also - lookup the prefix in the dllcomponentloader in case we are called this way
also - add a unit test for the prefix change
2011-06-24 14:23:25 +01:00
Matus Kukan
6e73ddbdd9 Add prefix information about component into registry 2011-06-24 12:10:53 +01:00
Tor Lillqvist
bf4f578dbc stoc depends on registry 2011-06-21 02:59:40 +03:00
Tor Lillqvist
130d583ade Use DESKTOP and NATIVE where appropriate 2011-06-16 01:19:35 +03:00
Michael Meeks
08a08dec6e don't throw an exception on unexpected attributes in XML rdb files 2011-06-14 10:47:49 +01:00
Tor Lillqvist
0d51eab31f No malloc.h in iOS SDK either
Why this source file bothers including <malloc.h> at all (on platforms
where it exists) I have no idea... This is C++ for chrissake. And the
standard C location for the malloc() declaration is <stdlib.h> anyway.
2011-06-14 01:59:26 +03:00
Caolán McNamara
932ebc493d createFromAscii -> RTL_CONSTASCII_USTRINGPARAM 2011-06-13 11:44:37 +01:00
Tor Lillqvist
7862e397af Drop %_EXT% which was always empty 2011-06-03 13:28:35 +03:00
Caolán McNamara
c1abc2ec9e fix up 2011-06-01 15:35:10 +01:00
Caolán McNamara
f6b23e1618 this is overly static + double check lock for little gain 2011-06-01 15:35:09 +01:00
Julien Nabet
08d3fdffae Easyhack: Add visibility markup to all component_get* functions 2011-04-21 16:06:40 +02:00