summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2012-03-28make unittest check also for invalid conversions with OUStringBufferLuboš Luňák
2012-03-28string literal overload for OUStringBuffer::insert()Luboš Luňák
2012-03-28string literal overload in the right placeLuboš Luňák
2012-03-28clean up string literal overloads in OUStringBufferLuboš Luňák
2012-03-28OUString does not have any non-const char functions, no need to check for itLuboš Luňák
2012-03-28use SFINAE to remove non-const char[N] OUString overloadsLuboš Luňák
2012-03-28move string helper types to stringutils.hxxLuboš Luňák
2012-03-28SFINAE workarounds for gcc-4.0.1Luboš Luňák
2012-03-28Add JNI wrapper for InitUCBHelper() and call itTor Lillqvist
2012-03-28stray debugging lineCaolán McNamara
2012-03-28when run under memcheck allow SIGUSR2 to dump current memory allocationsCaolán McNamara
2012-03-28these VALGRIND allocator annotations never worked for me, just busted memcheckCaolán McNamara
2012-03-28remove (non-const) char[N] overloads introduced because of string literalsLuboš Luňák
Cleaned up SFINAE helper classes and added even more comments.
2012-03-28sal: add dependency for unit test, fix typo in commentMatúš Kukan
2012-03-28more SFINAE to distinguish between const char* and const char[]Luboš Luňák
2012-03-28hopefully only OString ctors do not work with SFINAE brokenLuboš Luňák
2012-03-28string literal overloads for rest of OString methodsLuboš Luňák
2012-03-28CPPUNIT_ASSERT_MESSAGE -> CPPUNIT_ASSERT_EQUAL_MESSAGELuboš Luňák
2012-03-26finish work-in-progress testLuboš Luňák
2012-03-26string literal overload for OString::operator=()Luboš Luňák
2012-03-26CPPUNIT_ASSERT( == ) -> CPPUNIT_ASSERT_EQUAL()Luboš Luňák
2012-03-26string literal overloads for OUStringBufferLuboš Luňák
2012-03-26No separate sal_textenc library built for AndroidTor Lillqvist
(As a low-hanging fruit to drop the shared library count by one... Each library less counts.)
2012-03-26fix commentLuboš Luňák
2012-03-26Hardcode default inifile as /assets/rc on AndroidTor Lillqvist
2012-03-26Add an OSL_TRACE when opening Android /assets filesTor Lillqvist
2012-03-26sal_rtl_strings unittest depends on sal_textenc libraryLuboš Luňák
there's a dlopen of it somewhere in sal's string classes
2012-03-23removed duplicate includes in salTakeshi Abe
2012-03-22Add JNI wrappers for InitVCL and osl_setCommandArgsTor Lillqvist
2012-03-22No point searching PATH on Android and iOSTor Lillqvist
2012-03-22Clarify rtl_bootstrap_get documentation.Will Thompson
2012-03-22rtl::bootstap: rename filename parameter to contain "uri"Will Thompson
2012-03-22MinGW apparently needs to be forced into __cdeclStephan Bergmann
...otherwise bridges/source/cpp_uno/mingw_intel C++ ABI assumptions would not meet what i686-w64-mingw32-g++ emits (though it is unclear to me how this shall ever have worked before, as kendy claims it once did; also, at least for me, "wine soffice.exe" still does not work, as there is apparently confusion about C++ exception stack unwinding between GCC and cpp_uno/mingw_intel code).
2012-03-21chmod -xTor Lillqvist
2012-03-21More hacking on static linking (iOS) supportTor Lillqvist
2012-03-21Need the weird vnd.sun.star.pathname: prefixTor Lillqvist
2012-03-21Simply hardcode the inifile as "rc" in the app bundle directory on iOSTor Lillqvist
2012-03-21Clean up OSL_TRACE output a little bitTor Lillqvist
2012-03-18sal_osl_module depends on Module_DLL (uses the library)Luboš Luňák
2012-03-16sal: fix warningsMichael Stahl
2012-03-16sal: remove unx implementation of osl_sendResourcePipe/osl_receiveResourcePipeJonathan Adams
These are deprecated and not used in LO.
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-13checked that we do not use OString ctor with literals with \0'sLuboš Luňák
Except in some unittests, which are sometimes rather silly and broken about it, which might explain why they're disabled.
2012-03-13make OString work even with old gcc that has SFINAE brokenLuboš Luňák
Since OString already has a ctor accepting const char*, I cannot find out a way to distinguish string literals other than using a template, otherwise const char* somehow takes precedence (all of gcc, clang, msvc). But the template requires the Substitution Is Not A Failure Idiom to actually create only wanted instances. And the compiler can try evaluate the OString ctor as a possibility when comparing an int to an anonymous enum, and anonymous enum as a type without linkage cannot be a template argument before C++11. SFINAE should still work, but not with gcc older than 4.0.2 (which we right now use only on macs). So for that case disable the string literal ctors, which means macs will have one extra strlen call, and also that embedded \0's in string literals will be inconsistent. The tiny performance problem shouldn't matter that much and will eventually go away, the \0 problem should not matter, since before string literal ctors were introduced \0's had not been included anyway unless RTL_CONSTASCII_STRINGPARAM was used. So we should be safe and when removing the CONSTASCII macros \0 cases should be handled by explicitly mentioning the length.
2012-03-13Removed FileStatus::isFile. Use ::isRegular instead.Josh Heidenreich
See: https://bugs.freedesktop.org/show_bug.cgi?id=44982#c6 https://bugs.freedesktop.org/show_bug.cgi?id=44982#c7 for why.
2012-03-13Use _NSGetExecutablePath also on iOSTor Lillqvist
2012-03-12SAL_DLLPUBLIC_TEMPLATELuboš Luňák
On Linux, public templates should not be hidden at the linker level. But on Windows, dllimport causes trouble. So create a new macro to be used specifically with templates that does the right thing on both platforms. (http://lists.freedesktop.org/archives/libreoffice/2012-March/028041.html and followups)
2012-03-12handle msvc not even compiling a test that should failLuboš Luňák
but that is fine, because outside the unittest it should fail everywhere
2012-03-12Fix Android compilation errorTor Lillqvist
2012-03-12@since 3.6 -> @since LibreOffice 3.6Luboš Luňák
To help distinguish between OOo derivatives.