summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09remove duplicate createHexCaolán McNamara1-20/+0
2012-01-09Should use gb_Library_add_libs and not gb_Library_add_linked_libsTor Lillqvist1-3/+3
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úš Kukan1-5/+5
2012-01-06Merge branch 'feature/gbuild_extensions'Michael Stahl3-175/+0
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 Bergmann11-150/+147
2012-01-06Made textenc/converter cleanly usable by both sal and sal_textenc.Stephan Bergmann13-270/+193
2012-01-06Extracted convertsimple (used by sal and sal_textenc) from tcvtbyte.Stephan Bergmann20-798/+950
2012-01-06textenc/context.cxx only used in sal_textenc now.Stephan Bergmann1-1/+0
2012-01-06Further clean up.Stephan Bergmann31-122/+227
2012-01-06valgrind: error on startup in osl_unmapMappedFileCaolán McNamara1-1/+7
2012-01-05Changed C files to C++.Stephan Bergmann43-1297/+1173
2012-01-05Properly assign objects to only those libraries that actually use them.Stephan Bergmann5-38/+27
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 Bergmann4-249/+254
2012-01-05Retire TOOLS_STRING_MISSUSE hack (to enable further cleanup).Stephan Bergmann1-18/+0
2012-01-05Switch from autodoc to doxygen for SDK C++ documentation.Stephan Bergmann34-165/+132
* 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úš Kukan1-1/+1
2012-01-05sal: try to fix MinGW min/max breakage by inliningMichael Stahl1-2/+7
2012-01-05reduce ifdef forestCaolán McNamara1-8/+7
2012-01-04Make the apk dirent functions work properlyTor Lillqvist2-88/+1113
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 Lillqvist1-53/+51
2012-01-04Handle /assets paths also in realpath_u()Tor Lillqvist1-0/+14
2012-01-04Fix the monkey patching to work for an arbitrary offsetTor Lillqvist1-4/+3
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 Lillqvist1-12/+12
2012-01-04Use the lo_apk_* functions for files under /assetsTor Lillqvist2-24/+112
2012-01-04Use sizeof(s)-1 instead of strlen(s) on string literalsTor Lillqvist1-1/+1
2012-01-04Fixes for the lo-bootstrap apk element codeTor Lillqvist1-21/+100
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 Lillqvist1-1/+2
2012-01-03Need to compile cppunittester as Objective-C++ for iOSTor Lillqvist1-0/+8
2012-01-03WaE: deprecated conversion from string constant to 'char*'Tor Lillqvist1-1/+1
2012-01-02Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot7-13/+13
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 Tardon2-2/+2
2011-12-27function component_canUnload is exportedDavid Tardon2-2/+2
2011-12-24Merge remote-tracking branch 'origin/master' into feature/gbuild_extensionsPeter Foley125-3048/+2651
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 Lillqvist1-37/+159
2011-12-21WaE: add a space to tell SLED-11 gcc that we know what we're doingCaolán McNamara1-1/+1
2011-12-21get osl_File qa test to build under windowsCaolán McNamara1-0/+4
2011-12-21gbuild, sal: dl is linux onlyMatúš Kukan1-1/+3
2011-12-21use the internal gethostbyname_r() implementation on OpenBSD tooRobert Nagy1-2/+2
2011-12-21move onlinecheck.cxx from sal to extensionsMatúš Kukan3-175/+0
2011-12-21osl_unmapFile can't work for files bundled inside the .apk on AndroidTor Lillqvist4-12/+101
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 Lillqvist1-1/+1
2011-12-21Need visibility markup for lo_main() tooTor Lillqvist1-3/+3
2011-12-21Bin leftover unused filesTor Lillqvist2-25/+0
2011-12-20sal: disable subsequentcheck which has circular dependencyMatúš Kukan1-1/+2
make 3.82 continues without error but apparently older version not
2011-12-20Use visibility attributes as we get compiled with -fvisibility=hiddenTor Lillqvist1-0/+18
2011-12-20Link most libs and executables with gb_STDLIBS as presumably is intendedTor Lillqvist2-12/+8
2011-12-20Fix compiler warnings for AndroidTor Lillqvist4-39/+73
2011-12-20Always use the autoconfed sizes and alignments, not only when cross-compilingTor Lillqvist4-52/+0
2011-12-20Need gb_CXXFLAGS, tooTor Lillqvist1-2/+2
2011-12-19Clean up previous commit.Stephan Bergmann1-72/+8