Commit graph

1647 commits

Author SHA1 Message Date
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Takeshi Abe
00f1180c96 removed unused const rtl::OUString
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
2012-05-18 22:56:54 +09:00
Takeshi Abe
6589e01589 the page seems moved
Change-Id: Id2a12ec3a3c394bb40aa233f29807932b1fa84d5
2012-05-18 22:56:54 +09:00
Caolán McNamara
ac6833f979 remove "TODO: add test" which is now done
since 99bf0c318b

Change-Id: I0fbd88d842f750d101e3eec5a6b18f7e8bc062be
2012-05-17 14:43:29 +01:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Catalin Iacob
08a38341e0 WaE: Clang unused variable 2012-04-25 10:07:01 +02:00
Stephan Bergmann
3120273ab1 Port gcc3_linux_powerpc fix to gcc3_macosx_powerpc
This ports 84dbc4fe25 "do not let gcc use
registers we are setting ourselves," in the hope that it is also an
improvement for Mac OS X PPC.  (But the patch was applied blindly, so
please revert if it makes things worse instead.)
2012-04-23 14:28:48 +02:00
David Tardon
84dbc4fe25 do not let gcc use registers we are setting ourselves
gcc uses a register for the function call--and it tried r9 here...
2012-04-23 13:47:01 +02:00
David Tardon
c4c9484a1f save register arguments first
The "mr" stores r11 to indeterminate register (r9 in my case) before
storing it into the output variable, thus overwriting one of our input
arguments... This later leads to nice segfault in
testtools/source/bridgetest ...

I suppose there is a better way to get the variable, but I do not know
it .-)
2012-04-23 13:47:00 +02:00
Tor Lillqvist
e0be9a035a WaE: variable 'stackptr' is uninitialized when used 2012-04-22 20:11:30 +03:00
Tor Lillqvist
4067e629f7 Fix crasher and generate PIC for iOS simulator
Had an embarrassing thinko in the assembler generation for the iOS
simulator, had forgotten the $ for a literal number. While at it, make
also the simulator read-only code snippet data structures
position-independent. Some minor comment improvements. Bridge seems to
work now on simulator.
2012-04-15 11:56:48 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Luboš Luňák
e2b7e28c12 adjust gcc3_linux_intel bridge to work with clang
Otherwise exception throwing seems to be broken.
This is a partial revert of b0515ea5fa.
2012-04-04 21:41:49 +02:00
Stephan Bergmann
932f5a4b1f Fixed include guard copy/paste error 2012-04-04 15:03:37 +02:00
Stephan Bergmann
b0515ea5fa Adapt cpp_uno/gcc3_linux_intel to GCC 4.7
...the same way cpp_uno/gcc3_linux_x86-64 was already adapted.
2012-04-04 13:02:44 +02:00
Stephan Bergmann
a8e489495a Hack around different __cxa_* declarations in different GCC versions 2012-03-30 16:41:06 +02:00
Stephan Bergmann
166be18da0 Missing includes 2012-03-30 14:01:54 +02:00
Stephan Bergmann
fa09866ccb Adapt cpp_uno/gcc3_linux_x86-64 to GCC 4.7 cxxabi.h
...the same way cpp_uno/mingw_intel was already adapted.
2012-03-30 14:01:52 +02:00
Stephan Bergmann
afde0ef9fe MinGW: callVirtualMethod needs same treatment as on gcc3_linux_x86_64
...for reasons that are yet unclear to me.
2012-03-30 11:14:39 +02:00
Tor Lillqvist
313a47faac iOS simulator fix and some cosmetics 2012-03-30 08:37:15 +03:00
Robert Nagy
7c9e637bde alloca(3) needs stdlib.h on *BSD because there is no alloca.h 2012-03-29 23:47:07 +02:00
Stephan Bergmann
3db7c67ddd Mark all registered as clobbered that are not saved across call 2012-03-29 17:52:47 +02:00
Stephan Bergmann
0fdbb5b0ea Make cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7
See comment in callvirtualmethod.cxx for details.
2012-03-29 17:52:47 +02:00
Stephan Bergmann
9e46c8fcb8 2nd param of __cxa_throw is void* in GCC <= 4.6 2012-03-27 22:26:25 +02:00
Stephan Bergmann
54e3855bff MinGW: Adapted cpp_uno bridge to GCC 4.7
...which incompatibly changed the calling convention of the third (dest)
function pointer parameter of __cxa_throw to __thiscall.
2012-03-27 18:52:49 +02:00
Stephan Bergmann
40193672b1 Revert "Field IDs on Dalvik are more unique than in JVMs"
This reverts commit b5ca34fa40.

829a9b9c10 "In Java, css.uno.RuntimeException is
not derived from css.uno.Exception" is a better fix.
2012-03-26 17:48:45 +02:00
Stephan Bergmann
829a9b9c10 In Java, css.uno.RuntimeException is not derived from css.uno.Exception
which lead to Bridge::map_to_java (jni_data.cxx) copying the Context member of RuntimeException
twice, once with a fieldID for Exception, which fails on Dalvik.
2012-03-26 17:47:20 +02:00
Tor Lillqvist
b5ca34fa40 Field IDs on Dalvik are more unique than in JVMs 2012-03-26 17:53:21 +03:00
Michael Stahl
e476a7632c .java files don't need executable bits 2012-03-23 21:58:12 +01:00
Tor Lillqvist
c0ab229dc7 Uniquify uno_initEnvironment and uno_ext_getMapping in the static linking case 2012-03-21 00:00:04 +02:00
Jonathan Adams
db96b09267 solaris/gcc: add missing standard includes 2012-03-16 22:18:40 +01:00
David Tardon
a203ca87e2 WaE: 'exec' may be used uninitialized in this function 2012-03-12 08:53:20 +01:00
Tor Lillqvist
37b6a37a26 Fix compilation for simulator 2012-03-07 02:18:30 +02:00
Tor Lillqvist
cc9b1e4e41 Make the iOS ARM code position-independent 2012-03-05 02:05:26 +02:00
Tor Lillqvist
5ab3db2c2e Make the iOS device (ARM) stuff at least link, surely does not work yet 2012-03-05 02:05:21 +02:00
Jani Monoses
e13dc26e39 ARM bridge: fixes for passing double arguments on the stack 2012-02-21 01:15:02 +02:00
Rene Engelhard
3dfae9e2e6 fix armel/armv4t build 2012-02-17 11:23:55 +01:00
Jani Monoses
dab11f7fe2 ARM bridge: VFP ABI (armhf) support 2012-02-16 16:25:22 +02:00
Jani Monoses
a55fa2d0a8 Remove unnecessary variable 2012-02-15 19:17:17 +02:00
Jani Monoses
4e679ee250 Simplify code and use proper register names for linux armhf 2012-02-15 19:17:17 +02:00
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Julien Nabet
9377bb4dcc Some cppcheck cleaning 2012-02-05 10:19:40 +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
Tor Lillqvist
617c8075ac Use cacheflush() on Android 2012-01-13 13:04:31 +02:00
David Tardon
9dec6475aa fix for gcc 4.7/C++11: these are not string literal operators 2012-01-11 07:49:53 +01:00
Caolán McNamara
697415eb4e WaE and build errors with OSL_DEBUG_LEVEL == 2 2012-01-05 09:18:15 +00:00
David Tardon
aee436760e function component_canUnload is exported 2011-12-27 15:44:42 +01:00
Robert Nagy
b8b22391ae only use posix_fallocate() if it's actually available 2011-12-21 16:17:45 +01:00