Commit graph

26 commits

Author SHA1 Message Date
Michael Stahl
c40cb83055 sal: systools/win32/snprintf.h apparently needed by sal/config.h
Change-Id: I888ce2105d497fc71879005f6e5c1add88406617
2013-02-27 12:28:30 +01:00
Michael Stahl
58cd530323 sal: why deliver log-areas.dox at all?
Change-Id: Ie3ebb133777644177dadec652dcaf04d6c7c3833
2013-02-27 01:33:18 +01:00
Michael Stahl
308cac3f23 sal: new ZipPackage_sal_odk_headers for public ODK headers
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
Tor Lillqvist
d372af0897 No NativeActivity, so native_app_glue and struct android_app are meaningless
Leave the NativeActivity-related code in androidinst.cxx for reference for
now.

Change-Id: I760c02ea361361be2d2b69c4cad1e38311f51247
2013-02-23 00:31:24 +02:00
Michael Meeks
52a8744afe Revert "Clean up remains of NativeActivity-based Android app support"
This reverts commit cecc926070.

Conflicts:
	sal/android/lo-bootstrap.c
	sal/inc/osl/detail/android-bootstrap.h
2013-02-21 22:54:36 +02:00
Arnaud Versini
542ad7f1c5 API CHANGE: Remove useless deprecated rtl/memory.h
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, adapted some function
definitions in sal/osl/all/compat.cxx to avoid "must return a value" warnings.

Change-Id: Iac156b004464018225bbfda24f0a234f9ebcb19f
2012-12-17 18:28:36 +01:00
Stephan Bergmann
43b8e719d2 API CHANGE: drop obsolete rtl/oustringostreaminserter.hxx
...its functionality moved directly into rtl/ustring.hxx

Change-Id: I5a1af63a4fd61c71e6594f1fab0c17f503fdd1c5
2012-12-06 09:17:45 +01:00
Thorsten Behrens
d911673a64 API CHANGE: remove long-deprecated Semaphore & related stuff.
osl::semaphore was not portable & thusly long-deprecated. Also
killing further unused clients of that code in salhelper.

Change-Id: Ie1c1924e06e8ce3be33fd1dc2c6933f2de8b5217
2012-12-04 12:38:09 +01:00
Luboš Luňák
d87f5d3087 support for fast O(U)String concatenation using operator+
Operator+ now, instead of requiring O(U)String operands and returning
another O(U)String object, keeps a track of the whole concatenation
operation using temporary O(U)StringConcat objects and performs
the whole operation only at the very end.

Change-Id: I94b3348300a137498514d26e96459c1698328520
2012-12-03 18:04:23 +01:00
Eike Rathke
73bda5058b ditched rtl::OLocale
Change-Id: I3f4a09c82df1bc71759331705c502320f973d4bb
2012-11-30 17:27:07 +01:00
Tor Lillqvist
cecc926070 Clean up remains of NativeActivity-based Android app support
We haven't been able to build NativeActivity-based apps (like the
android/qa/sc and anroid/qa/desktop thingies) since we switched to
DISABLE_DYNLOADING and a single DSO liblo-native-code.so anyway.

No lo_main() any more. <sal/main.h> should not be included ever when
compiling for Android of iOS now.

Lots of stuff binned from vcl's androidinst.cxx, in the (vain?) hope
that it will reduce the amount of never invoked GUI code that gets
linked in.

Change-Id: I25f584864c40110774c728a23151e089620442d9
2012-11-21 23:03:57 +02:00
Michael Meeks
f78a2bcce8 re-base on ALv2 code. Includes:
Patch contributed by Herbert Duerr:
    #i118662# remove berkeleyDB from module xmlhelp (author=orwitt)
    http://svn.apache.org/viewvc?view=revision&revision=1213188
    #i119141# remove ISCII converter for now
    http://svn.apache.org/viewvc?view=revision&revision=1306246
    make exceptions for cppunittester verbose
    http://svn.apache.org/viewvc?view=revision&revision=1174831

    Patches contributed by Pedro Giffuni:
    Avoid some uses of non portable #!/bin/bash in shell scripts.
    http://svn.apache.org/viewvc?view=revision&revision=1235297

    Patch contributed by Oliver-Rainer Wittmann
    88652: applied patch, remove unicows deps
    http://svn.apache.org/viewvc?view=revision&revision=1177585

drop OS/2 code, remove in-line assembler ARM atomics,
and obsolete armarch header.
2012-11-21 14:52:11 +00:00
Tor Lillqvist
4b7e701024 Use DISABLE_DYNLOADING on Android
IN this branch these changes are not conditional. Unclear yet whether
this is what we finally will want to use or not. Maybe should make
these changes conditional and do this stuff in master instead?

Change-Id: I379d570a0e00648d295c675fd90eba6594ba3182
2012-10-11 10:07:05 +03:00
Stephan Bergmann
e9689e4fdc Revert "saldllapi.h is really not included outside of sal itself"
This reverts commit 2dfe34ce0e:

* sal/saldllapi.h is about something different than sal/types.h (it is rather a
  mistake of cf77e8a0b9 "sal: add visibility
  symbols" to shortcut the #include of sal/saldllapi.h into sal/types.h instead
  of the headers that actually need it), not every header needs to include
  sal/types.h

* sal/config.h is the header to always include first (not sal/types.h)

Change-Id: I217f2540197ddb682c6c00e529b812b04b327d73
2012-09-15 23:20:46 +02:00
Norbert Thiebaud
2dfe34ce0e saldllapi.h is really not included outside of sal itself
furthermore sal/config.h is already included by sal/types.h
so no need to include it twice

Change-Id: Id84122eb102eececc1001ea4a56c556ff775defa
2012-09-14 03:49:19 -05:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Tor Lillqvist
4e4dcdae48 Add Android-specific sal/ByteBufferWrapper.hxx header
Used for impedance matching between Java's direct ByteBuffer and the
boost::shared_array used by basebmp. Not sure yet how well this will
actually work. I'm afraid leaks might be possible in exception
throwing cases.

Change-Id: I74fc57aaf46b2dd9f227043bd9045d4815a5ed40
2012-06-12 13:50:45 +03:00
Tor Lillqvist
0b165a6e0a Add a header for iOS-specific low-level stuff 2012-04-09 22:43:52 +03:00
Luboš Luňák
81e7364f52 move string helper types to stringutils.hxx 2012-03-28 23:00:53 +02:00
Stephan Bergmann
5b98bb4713 log-areas clean up 2012-02-23 10:47:35 +01:00
Michael Meeks
7c4c1832cc android: move lo-bootstrap to osl/detail, Attach threads as created 2012-01-26 10:29:38 +00:00
Tor Lillqvist
25f78344e8 Bin global_android_app and instead use lo-bootstrap API
Instead of introducing a global variable, use the already existing
saved android_app pointer in lo-bootstrap.c, and just add a function
to retrieve it from there. Store it in the AndroidSalInstance.

Reanme osl/detail/android.h back to android_native_app_glue.h, which
is the name of that file in NDK/sources. "android.h" sounded to me too
grand, as if it was some universal Android header. But if we do start
to modify the android_native_app_glue stuff heavily, then it indeed
makes sense to call it something else. Until then, revert also some
whitespace changes to android_native_app_glue.c for it to be as close
as possible to the "upstream" one in the NDK, for clarity.
2012-01-25 19:39:06 +02:00
Michael Meeks
c2112c7ce1 android: rename native_app_glue.h and install as osl/detail/android.h 2012-01-24 22:37:08 +00:00
Tor Lillqvist
a64db11b6c Add some non-public API to be used by SvFileStream
Having SvFileStream call the file opening etc functions here, instead
of calling open() directly itself, means we won't have to duplicate
the Android .apk hooks there, too.
2012-01-18 23:15:42 +02:00
Matúš Kukan
cf77e8a0b9 sal: add visibility symbols 2011-12-19 10:14:53 +01:00
Matúš Kukan
a9e130ab82 sal: convert to gbuild 2011-12-19 10:14:53 +01:00