Commit Graph

15 Commits

Author SHA1 Message Date
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Tor Lillqvist
c366d95851 Use RTLD_DEFAULT on Android
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 libgnustl_shared.so. 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-24 19:20:15 +02:00
Caolán McNamara
0122cd3a53 fix mangled indent 2011-11-14 07:35:57 +00:00
Stephan Bergmann
d3794d2d8a sb140: #i117295# use rtl::Static 2011-09-09 17:46:39 +02:00
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Fridrich Strba
aac09aee67 move bridges to boost::unordered_map 2011-02-04 00:02:36 +01:00
Takeshi Abe
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
Caolán McNamara
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Caolán McNamara
dce434e245 armeabi02: #i105359# fix arm-eabi uno bridge, fix exception handling, and fix struct returning rules 2010-04-27 11:17:28 +01:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Ivo Hinkelmann
ab0131a9af INTEGRATION: CWS cmcfixes43 (1.3.20); FILE MERGED
2008/03/07 16:56:40 cmc 1.3.20.1: string.h for strdup
2008-04-24 16:02:06 +00:00
Rüdiger Timm
c8763626dc INTEGRATION: CWS changefileheader (1.3.24); FILE MERGED
2008/03/28 16:30:02 rt 1.3.24.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:33 +00:00
Kurt Zenker
b88d858829 INTEGRATION: CWS armeabi01 (1.2.2); FILE MERGED
2007/12/03 18:56:58 cmc 1.2.2.1: #i83775# arm eabi soft-float uno bridge
2007-12-12 14:35:44 +00:00
Ivo Hinkelmann
aa9b98f39d INTEGRATION: CWS armoabiport01 (1.1.6); FILE ADDED
2007/11/07 14:54:01 cmc 1.1.6.2: #i83413# add arm bridge with hardware float support
2004/11/04 18:26:54 cmc 1.1.6.1: file except.cxx was added on branch cws_src680_armoabiport01 on 2007-11-07 14:54:01 +0000
2007-11-26 17:02:01 +00:00