Elton Chung
d30b4e9fb6
Get rid of size() == 0
2012-02-19 17:07:46 +04:00
Michael Meeks
3823c4fbba
java: add STOC_FORCE_NO_JRE env. var to enable easy testing of no-JRE case.
2012-02-16 12:45:41 +00: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
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
Norbert Thiebaud
36f155dda1
remove include of pch header from stoc
2011-11-27 13:23:37 -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
Caolán McNamara
7c658039e8
fix this up, revert using comphelper stuff, but modify to-dos
2011-08-29 12:10:15 +01: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
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
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
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
Francois Tigeot
35e1b53c7e
Remove OS/2 support.
2011-04-18 16:59:48 +02:00
Caolán McNamara
20029b1a1e
catched->caught
2011-04-13 09:49:52 +01:00
Francisco Saito
a09675b4c5
drop bogus executable flag from [ch]xx/bas/asm files
2011-03-29 21:39:03 +01:00
Thomas Arnhold
5a7f6793ac
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
2011-03-19 14:12:37 +01:00
Jan Holesovsky
a3a19632f4
Merge remote-tracking branch 'origin/integration/dev300_m101'
...
Conflicts:
bridges/source/remote/urp/urp_environment.cxx
bridges/source/remote/urp/urp_propertyobject.cxx
bridges/source/remote/urp/urp_reader.cxx
remotebridges/source/factory/bridgefactory.cxx
stoc/source/corereflection/crefl.cxx
stoc/source/javavm/javavm.cxx
stoc/source/simpleregistry/simpleregistry.cxx
2011-03-18 15:58:02 +01:00
Thomas Arnhold
527f271842
Remove TRACE usage (macro was empty)
2011-03-15 16:55:53 +01:00
Thomas Arnhold
aa3360aa01
Remove unused TRACE macro
2011-03-15 16:55:53 +01:00
Thomas Arnhold
d0c187cc8c
OSL_TRACE: Use format string
2011-03-12 14:19:49 +01:00
Thomas Arnhold
adc6fe00e3
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
2011-03-12 14:19:48 +01:00