Commit graph

1660 commits

Author SHA1 Message Date
Julien Nabet
b80b7ba179 Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
2012-08-06 00:13:27 +02:00
Tor Lillqvist
55a8ae6cf6 WaE: unused variable
Change-Id: I75e195be6bcedc972bc7c820c8c8efb648c91526
2012-08-01 19:19:05 +03:00
Michael Stahl
753e9b3d45 udkapi, offapi: do not use #include "foo":
Evidently on Windows, the newfangled ucpp handles #include "foo"
differently from #include <foo> and treats it as a relative path, while
the angle brackets always result in absolute paths.
Since relative paths result in infinite rebuilds if make is invoked in a
different directory, don't use #include "foo" in IDL files.

Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-30 20:49:09 +02:00
Tor Lillqvist
29c6b31442 Check MACOSX_SDK_VERSION, not MAC_OS_X_VERSION_MIN_REQUIRED
Change-Id: Ie0b0ec3120f828e02b1ba9c21710c28159e7cd3c
2012-07-28 09:07:27 +03:00
Tor Lillqvist
9ded969685 WaE: unused variable
Change-Id: I36f59184c70b05e45929a01c2052c80cb04ed3de
2012-07-28 09:07:26 +03:00
Michael Meeks
d3c4d9a0f8 android: x86 porting work. 2012-07-20 16:40:21 +01:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Pierre-Eric Pelloux-Prayer
ffc7b3f8a1 Mark ecx register as clobbered (solaris/intel)
This is a followup of :
commit e748b09663
Author: Kristian Rietveld <kris@lanedo.com>
Date:   Sat Oct 15 01:15:21 2011 +0200

    Mark ecx register as clobbered

    The inline assembly code executes a function call and functions are
    free to use eax, ecx and edx without preservation. We must thus mark
    ecx as a clobber register.

Change-Id: I4e9ed38189b23c2bb6d4fbdedc34c318026acfe7
2012-07-10 16:23:34 +01:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Andras Timar
54e9a28390 typo: paramters, paramaters -> parameters
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-19 16:44:08 +02:00
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