path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
2012-04-15Fix crasher and generate PIC for iOS simulatorTor Lillqvist5-17/+23
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-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi5-22/+9
2012-04-04adjust gcc3_linux_intel bridge to work with clangLuboš Luňák3-1/+11
Otherwise exception throwing seems to be broken. This is a partial revert of b0515ea5fa6c29faebed616ae3e0213c72d24904.
2012-04-04Fixed include guard copy/paste errorStephan Bergmann1-2/+2
2012-04-04Adapt cpp_uno/gcc3_linux_intel to GCC 4.7Stephan Bergmann6-135/+233
...the same way cpp_uno/gcc3_linux_x86-64 was already adapted.
2012-03-30Hack around different __cxa_* declarations in different GCC versionsStephan Bergmann2-8/+16
2012-03-30Missing includesStephan Bergmann2-0/+2
2012-03-30Adapt cpp_uno/gcc3_linux_x86-64 to GCC 4.7 cxxabi.hStephan Bergmann3-8/+24
...the same way cpp_uno/mingw_intel was already adapted.
2012-03-30MinGW: callVirtualMethod needs same treatment as on gcc3_linux_x86_64Stephan Bergmann5-115/+203
...for reasons that are yet unclear to me.
2012-03-30iOS simulator fix and some cosmeticsTor Lillqvist1-8/+8
2012-03-29alloca(3) needs stdlib.h on *BSD because there is no alloca.hRobert Nagy1-0/+4
2012-03-29Mark all registered as clobbered that are not saved across callStephan Bergmann1-1/+3
2012-03-29Make cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7Stephan Bergmann8-168/+233
See comment in callvirtualmethod.cxx for details.
2012-03-272nd param of __cxa_throw is void* in GCC <= 4.6Stephan Bergmann1-1/+1
2012-03-27MinGW: Adapted cpp_uno bridge to GCC 4.7Stephan Bergmann3-7/+23
...which incompatibly changed the calling convention of the third (dest) function pointer parameter of __cxa_throw to __thiscall.
2012-03-26Revert "Field IDs on Dalvik are more unique than in JVMs"Stephan Bergmann3-27/+1
This reverts commit b5ca34fa409bc4cbeb41a84b900612e302f5b0fb. 829a9b9c1041626efb688157658c1e0e2f6e8414 "In Java, is not derived from" is a better fix.
2012-03-26In Java, is not derived from Bergmann1-1/+5
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-26Field IDs on Dalvik are more unique than in JVMsTor Lillqvist3-1/+27 files don't need executable bitsMichael Stahl1-0/+0
2012-03-21Uniquify uno_initEnvironment and uno_ext_getMapping in the static linking caseTor Lillqvist1-3/+7
2012-03-16solaris/gcc: add missing standard includesJonathan Adams2-0/+2
2012-03-12WaE: 'exec' may be used uninitialized in this functionDavid Tardon1-1/+1
2012-03-07Fix compilation for simulatorTor Lillqvist1-3/+3
2012-03-05Make the iOS ARM code position-independentTor Lillqvist4-33/+23
2012-03-05Make the iOS device (ARM) stuff at least link, surely does not work yetTor Lillqvist2-3/+120
2012-02-21ARM bridge: fixes for passing double arguments on the stackJani Monoses2-1/+8
2012-02-17fix armel/armv4t buildRene Engelhard1-0/+4
2012-02-16ARM bridge: VFP ABI (armhf) supportJani Monoses4-17/+142
2012-02-15Remove unnecessary variableJani Monoses1-29/+20
2012-02-15Simplify code and use proper register names for linux armhfJani Monoses1-5/+2
2012-02-06Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich1-0/+4
2012-02-05Some cppcheck cleaningJulien Nabet17-34/+0
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann27-183/+183
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann8-25/+29
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-13Use cacheflush() on AndroidTor Lillqvist1-0/+7
2012-01-11fix for gcc 4.7/C++11: these are not string literal operatorsDavid Tardon1-2/+2
2012-01-05WaE and build errors with OSL_DEBUG_LEVEL == 2Caolán McNamara1-1/+1
2011-12-27function component_canUnload is exportedDavid Tardon2-2/+2
2011-12-21only use posix_fallocate() if it's actually availableRobert Nagy2-0/+12
2011-12-19fix armhf build in bridgesMatthias Klose1-2/+2
Signed-off-by: Bjoern Michaelsen <> Signed-off-by: Caolán McNamara <>
2011-12-15Resolves: rhbz#767708 avoid SIGBUS writing to overcommitted mmaped diskspaceStephan Bergmann1-2/+8
2011-12-13Fix for fdo43460 Part IV getLength to isEmptyOlivier Hallot2-3/+3
Part IV Module basic (small fix per demand from Ivan Timofeev) binaryurp bridges
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist4-4/+0
2011-11-30catch by constant referenceTakeshi Abe7-17/+17
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-180/+0
2011-11-27remove include of pch header in bridgeNorbert Thiebaud100-194/+0
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud1-7/+0
2011-11-24Use RTLD_DEFAULT on AndroidTor Lillqvist1-0/+24
dlopen()ing NULL (the main program) and dlsym()ing on that handle does not work on Android as in GNU/Linux. So don't bother with that, just call dlsym(RTLD_DEFAULT, symbol) instead. But, it doesn't help, it won't find the type_infos anyway, as they are weak symbols and the dlsym() at least in Android 4.0 does not like weak symbols, "Symbol is not global." So the fallback branch that dynamically generates a type_info, which normally should get used only for inter-process UNO (and thus presumably never on Android) is taken instead. But, that didn't work either at least with NDK r7 thanks to a bug in its But we now patch that at run-time in android_main() in sal/osl/android/jni/lo-bootstrap.c. Are we having fun yet?
2011-11-21Don't use USE_DOUBLE_MMAP on AndroidTor Lillqvist2-3/+8
2011-11-17Let's try using the gcc3_linux_arm code for Android, tooTor Lillqvist2-2/+3