summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2012-01-09remove duplicate createHexCaolán McNamara
2012-01-09Should use gb_Library_add_libs and not gb_Library_add_linked_libsTor Lillqvist
for system libs, says dtardon, and I trust him. Note that this crap still doesn't work any more for Android, though. Some problems with the gnustl_shared library. I have no idea where it needs to be mentioned for the bloody gbuild mechanism to understand what kind of library that is.
2012-01-07sal.map: allow different name manglingMatúš Kukan
2012-01-06Merge branch 'feature/gbuild_extensions'Michael Stahl
Conflicts: extensions/source/ole/servreg.cxx extensions/source/plugin/util/makefile.mk postprocess/packcomponents/makefile.mk postprocess/prj/build.lst tail_build/prj/build.lst
2012-01-06Final disentanglement between sal and sal_textenc.Stephan Bergmann
2012-01-06Made textenc/converter cleanly usable by both sal and sal_textenc.Stephan Bergmann
2012-01-06Extracted convertsimple (used by sal and sal_textenc) from tcvtbyte.Stephan Bergmann
2012-01-06textenc/context.cxx only used in sal_textenc now.Stephan Bergmann
2012-01-06Further clean up.Stephan Bergmann
2012-01-06valgrind: error on startup in osl_unmapMappedFileCaolán McNamara
2012-01-05Changed C files to C++.Stephan Bergmann
2012-01-05Properly assign objects to only those libraries that actually use them.Stephan Bergmann
For that, moved aImplJavaUtf8TextEncodingData from tables.cxx to textenc.cxx, as it shares code with aImplUTF8TextEncoding (but does not drag lots of expensive data back into sal from sal_textenc).
2012-01-05Properly extract from tcvt*.tab files what goes into textenc.cxx.Stephan Bergmann
2012-01-05Retire TOOLS_STRING_MISSUSE hack (to enable further cleanup).Stephan Bergmann
2012-01-05Switch from autodoc to doxygen for SDK C++ documentation.Stephan Bergmann
* New build prerequisite doxygen (controllable via --with-doxygen). * Adapted various headers to slightly different doxygen documentation syntax, but much clean up still remains to be done (i.e., warnings emitted by doxygen fixed).
2012-01-05gcc-trunk: fix: unable to find string literal operator 'operator FOO'Matúš Kukan
2012-01-05sal: try to fix MinGW min/max breakage by inliningMichael Stahl
2012-01-05reduce ifdef forestCaolán McNamara
2012-01-04Make the apk dirent functions work properlyTor Lillqvist
We must build a directory tree structure corresponding to the files in the .apk, and use that then in lo_apk_opendir()/readdir(). We can't just return the same subdirectory once for each time we come across an entry that has it as a prefix in the zip directory. Use the BSD-licensed "uthash" library (just one .h file actually) from http://uthash.sourceforge.net/ .
2012-01-04Remove bogus one column indentationTor Lillqvist
2012-01-04Handle /assets paths also in realpath_u()Tor Lillqvist
2012-01-04Fix the monkey patching to work for an arbitrary offsetTor Lillqvist
We used to patch in a simple "b" instruction with a relative offset that has to fit in 24(+2) bits. Which was not enough in practice. Now patch in a "ldr pc, [pc, #-4]" instead which loads PC from the next word; in ARM code PC cotains the address of the executing instruction + 8), and put the full address of the replacement code into the next word.
2012-01-04Probably using a local rtl::OString is betterTor Lillqvist
2012-01-04Use the lo_apk_* functions for files under /assetsTor Lillqvist
2012-01-04Use sizeof(s)-1 instead of strlen(s) on string literalsTor Lillqvist
2012-01-04Fixes for the lo-bootstrap apk element codeTor Lillqvist
Fix some off-by-one style errors, add a new lo_apk_lstat() function, and (temporarily) add some debugging logging.
2012-01-03Actually we should not build a normal cppunittester executable for iOS at allTor Lillqvist
2012-01-03Need to compile cppunittester as Objective-C++ for iOSTor Lillqvist
2012-01-03WaE: deprecated conversion from string constant to 'char*'Tor Lillqvist
2012-01-02Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2011-12-27function component_canUnload is SAL_CALLDavid Tardon
2011-12-27function component_canUnload is exportedDavid Tardon
2011-12-24Merge remote-tracking branch 'origin/master' into feature/gbuild_extensionsPeter Foley
Conflicts: Module_tail_build.mk Repository.mk extensions/util/makefile.pmk postprocess/prj/build.lst svx/AllLangResTarget_svx.mk
2011-12-22Initial untested implementation of dirent style functions for the .apkTor Lillqvist
2011-12-21WaE: add a space to tell SLED-11 gcc that we know what we're doingCaolán McNamara
2011-12-21get osl_File qa test to build under windowsCaolán McNamara
2011-12-21gbuild, sal: dl is linux onlyMatúš Kukan
2011-12-21use the internal gethostbyname_r() implementation on OpenBSD tooRobert Nagy
2011-12-21move onlinecheck.cxx from sal to extensionsMatúš Kukan
2011-12-21osl_unmapFile can't work for files bundled inside the .apk on AndroidTor Lillqvist
On Android, when an app is installed, arbitrary files bundled in the app won't be unpacked into actual separate files in the file system. They will exist only as archive entries in the .apk file (which is a zip archive). The SDK tooling puts such files under the /assets folder in the .apk. The LibreOffice bootstrapping code for Android maps the .apk file into memory. osl_openFile() knows about the /assets special case, and uses a separate abstraction for such memory-mapped files. Obviously, when producing an .apk, one needs to make sure these bundled files are not compressed, if one wants to be able to use them directly from the memory-mapped .apk file. We do that in our test and sample Android projects. When mapping such files under /assets , just return a pointer to the file's location inside the mapped .apk archive. We can't use the old osl_unmapFile() on such mapped files, as that would unexpectedly unmap fairly arbitrary pages of the .apk mapping, wreaking havoc on later use of the same pages. So, introduce a new osl_unmapMappedFile() function that takes also the oslFileHandle originally passed to osl_mapFile(). Use this instead in the few places where the code actually called osl_unmapFile(). Make sure osl_mapFile() is nonexistent on Android.
2011-12-21Need visibility markup for ANativeActivity_onCreate() tooTor Lillqvist
2011-12-21Need visibility markup for lo_main() tooTor Lillqvist
2011-12-21Bin leftover unused filesTor Lillqvist
2011-12-20sal: disable subsequentcheck which has circular dependencyMatúš Kukan
make 3.82 continues without error but apparently older version not
2011-12-20Use visibility attributes as we get compiled with -fvisibility=hiddenTor Lillqvist
2011-12-20Link most libs and executables with gb_STDLIBS as presumably is intendedTor Lillqvist
2011-12-20Fix compiler warnings for AndroidTor Lillqvist
2011-12-20Always use the autoconfed sizes and alignments, not only when cross-compilingTor Lillqvist
2011-12-20Need gb_CXXFLAGS, tooTor Lillqvist
2011-12-19Clean up previous commit.Stephan Bergmann