summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2011-11-29Refactor, make lo-bootstrap API usable from non-NativeActivity apps tooTor Lillqvist
2011-11-29Construct a .jar for use by future other Android-specific Java code, tooTor Lillqvist
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove include of pch header from salNorbert Thiebaud
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud
2011-11-26The lo_main() thing on Android works fine, remove superfluous loggingTor Lillqvist
2011-11-25PDP_ENDIAN and variants are unused.François Tigeot
Remove their use from the code.
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-25Add lo_get_javavm() to get the JavaVM we are runnning inTor Lillqvist
2011-11-24Replace also the std::type_info::before() in libgnustl_shared.soTor Lillqvist
It too suffers from the same problem as operator==: Compares name pointers, not name strings. Thus with two things to patch, had to refactor it. (before() doesn't seem to get called when running the bridgetest at least, though.) Noticed that there is no need to wrap the replacement asm snippets with dummy C functions. Just having them at the outermost level in the source file works as expected.
2011-11-24Reduce logging verbosity and tune levelsTor Lillqvist
2011-11-24Binary patch the mmapped libgnustl_shared.so from NDK r7Tor Lillqvist
Poke in a jump to our replacement for std::type_info::operator==. See http://code.google.com/p/android/issues/detail?id=22165 .
2011-11-24Add "clean" targetTor Lillqvist
2011-11-24ditch dbg_dumpCaolán McNamara
2011-11-23Call getResult with fully qualified name.Stephan Bergmann
2011-11-23Silence bogus MSC "must return a value" errors.Stephan Bergmann
2011-11-23version information from Arnaud on deprecating the getpid workaround.Michael Meeks
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23Some trivial fixes for MinGW with -std=c++0x enabled; not finished.Jan Holesovsky
2011-11-22Base SAL_INFO/WARN inclusion on if instead of #if.Stephan Bergmann
So that variables only used within SAL_INFO/WARN do not lead to unused variable warnings in product builds. Also for OSL_TRACE (which used to work that way before already); allowing to revert a recent warning fix.
2011-11-22rtlbootstrap.mk.cxx needs to be a C++ file (including C++ macros.hxx).Stephan Bergmann
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-11-21remove extraneous endif.Michael Meeks
2011-11-21only build custom gethostbyname for OSX & IOSMichael Meeks
2011-11-21Revert "Remove internal gethostbyname_r implementation." - OSX needs itMichael Meeks
This reverts commit af19d9f563667376f759b4526bc1bcb056947394.
2011-11-21Remove internal backtrace and backtrace_symbols_fdArnaud Versini
2011-11-21Remove internal gethostbyname_r implementation.Arnaud Versini
2011-11-21Replace gethostbyname by _osl_gethostbyname_r in socket.c .Arnaud Versini
2011-11-21Add stuff to run bridgetestTor Lillqvist
2011-11-21Bah, don't bother with conditional copying of stuff into the .apk hereTor Lillqvist
You are not expected to be make'ing here without knowing what you are doing anyway. Just unconditionally require the stuff needed by the sample cppunit tests mentioned on the last lines.
2011-11-21Add the localedata_en and localedata_others libsTor Lillqvist
2011-11-21Use --with-library-suffix=lo for Android to avoid clash with system ICUTor Lillqvist
2011-11-21Do not catch signals in dbgutil buildLionel Elie Mamane
Helps debug crashes, segfaults, etc as one gets the right backtrace in gdb and dumped core.
2011-11-21poke __cplusplus into workben comparison toolCaolán McNamara
2011-11-21SAL_N_ELEMENTS: use "check argument is array" version in all C++0x compilersLionel Elie Mamane
2011-11-21Ignore also "assets"Tor Lillqvist
2011-11-21Include more stuff in the .apk needed by test_i18npool_test_breakiteratorTor Lillqvist
Now it runs until a crash caused by ICU library mixup between our ones and the system ones, they have the same names but aren't compatible... (see 7ee03666d7cfc27453315e1682e3c32d39a031b6).
2011-11-21Fix crash in the "memory" FileHandle_ImplTor Lillqvist
2011-11-20Use proper command line parsing for the lo-main-cmdline extra stringTor Lillqvist
2011-11-20Unix style command line parserTor Lillqvist
2011-11-19osl_syncFile() should work also for NULL handlesTor Lillqvist
2011-11-19Add read-only pseudo-files representing a memory blockTor Lillqvist
For Android only for now. To be used to read raw asset files from the application package (.apk file, a zip archive).
2011-11-19More misc Android workTor Lillqvist
Add possibility to start strace tracing the process. Unfortunately it this doesn't seem to work as nicely as one might have hoped. If the process crashes, the last strace output does not show up. Some buffering that gets abruptly discarded when the straced process dies? Add a function to the native code to look up an archive member in the .apk and return a pointer to it. To be used for non-compressed resources only. We mmap the whole .apk. The Zip format parsing code is borrrowed from Mozilla's APKOpen.cpp. Correspondingly, add to the local build.xml a re-definition of the "-package-resources" target from Ant's build.xml modified to not compress resources. Improved the Makefile a lot. New target "install" to build the apk and install it without constructing the apk twice. Other minor changes here and there.
2011-11-18cppcheck: unread variablesKorrawit Pruegsanusak
These variables are set, but unused.
2011-11-17Add the gcc3_uno libraryTor Lillqvist
2011-11-17Missing semicolonTor Lillqvist
2011-11-17Look for lo_main() and not main() on AndroidTor Lillqvist
2011-11-17Use lo_dladdr() on AndroidTor Lillqvist
2011-11-17Add more librariesTor Lillqvist
2011-11-17Add lo_dladdr(), a wrapper for Android's dladdr()Tor Lillqvist
Android's dladdr() stores just the basename of a shared object in Dl_info::dli_fname. LibreOffice expects either a complete absolute pathname or a relative path from the current directory to be returned there. So look up the full pathname of the library from /proc/self/maps. Also remove the fallback message loop after lo_main() returns, instead just exit.