summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)AuthorFilesLines
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-28Bin the unused vague SAL_IMPLEMENT_MAIN_WITH_GUI ideaTor Lillqvist1-17/+0
Change-Id: I66dae812f3aea0534907316a7fb41b35ad37be48
2012-04-26improve error messageMarkus Mohrhard1-0/+2
2012-04-23doxygen warning fixesLuboš Luňák1-1/+3
2012-04-19Revert "Remove unnecessary hack on Linux by using pthread_mutexattr_settype"Arnaud Versini1-0/+6
Build error on tinderboxes.
2012-04-19Remove unnecessary hack on Linux by using pthread_mutexattr_settypeArnaud Versini1-6/+0
2012-04-19Removed obsolete commentStephan Bergmann1-7/+0
2012-04-19clang warning for osl_detail_ObjectRegistry_getMutex() in the .cxx file tooLuboš Luňák1-0/+16
2012-04-17More informative warning messageTor Lillqvist1-1/+1
2012-04-16Recognize unoexceptionprotector and unobootstrapprotectorTor Lillqvist2-6/+12
2012-04-15fix ambiguous call on windowsMarkus Mohrhard1-1/+1
2012-04-15autofill increment needs a bit more tolerance, fdo#37424Markus Mohrhard1-0/+13
2012-04-13WaE: initialization orderMichael Stahl1-1/+1
2012-04-13push and pop protectors around runner run, hopefully fixes windows buildCaolán McNamara1-6/+14
2012-04-13setup/teardown default component context once before/after all testsCaolán McNamara2-16/+3
avoids the problems of dangling uno singletons invalidated after the first dispose and the chain of other singletons that don't expect to need to re-initialize, etc. reenable editeng cppunit test inherit i18npool cppunit test from unotest base drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not in ctors/dtors
2012-04-13WaE: unknown warning group '-Wreturn-type-c-linkage'Tor Lillqvist1-0/+3
2012-04-10make OSL_ASSERT print the failed expression, not just "OSL_ASSERT"Luboš Luňák1-1/+1
2012-04-10disable clang warning about something that cannot be fixed without BIC changeLuboš Luňák1-0/+13
2012-04-09Add a header for iOS-specific low-level stuffTor Lillqvist2-0/+61
2012-04-09enforce only one possible use of gb_CustomTargetMatúš Kukan1-1/+1
This brings two changes: - no more recursive calling of make - gbuild_simple is now not used => removed
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi6-26/+26
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2-3/+5
2012-04-08gbuild: "use" vs. "add":Michael Stahl30-30/+30
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-07WaE: msvc, unreachable codeCaolán McNamara1-17/+7
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi5-30/+14
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-7/+7
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06reset the flag before checking it it will be set againLuboš Luňák1-0/+1
2012-04-06fix gcc-4.0.1 and/or 32bit build for string literalsLuboš Luňák2-3/+3
Plain 0 is ambiguous to convert to either long or const char*, and just adding an overload next to sal_Int32 would be a dupe if they actually are the same type, so just go with plain int, which is the sensible thing to do anyway.
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2-7/+7
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06string literal O(U)StringBuffer ctors too, after allLuboš Luňák9-33/+162
2012-04-05Catch attempts to open /assets files read-write. Improve debugging outputTor Lillqvist1-15/+63
2012-04-05Translated German comments to English in folder 'sal'.Mark Wolf7-131/+121
sal/qa/rtl_strings/rtl_old_testostring.cxx contains some German comments still but the code itself uses test strings in German. When the test strings appear in the comments, they were left unchanged to maintain consistency. Mark Wolf
2012-04-04Minor tweakingsStephan Bergmann3-16/+15
2012-04-03SAL_REINTERPRET_CAST returns, for API stability (for 3rd-party extensions)Tor Lillqvist1-0/+1
2012-04-03try including the ostream<<OUString operator directly with OUStringLuboš Luňák3-14/+15
The theory is that - the operator is suboptimal, because it always uses utf-8 as the encoding, which might possibly lead to some encoding problem somewhere but - the SAL_LOG macros need it anyway, or they are otherwise cumbersome with OUString - as people learn to use the macros more, rtl/oustringostreaminserter.hxx will be included in more and more places, eventually possibly triggering the above problem anyway - people probably should not just blindly do ostream << oustring if they have special encoding requirements So let's try to simply always have the operator available and see how it works out.
2012-04-03SAL_DEBUG(), instead of those temporary debug printf'sLuboš Luňák3-6/+29
2012-04-03Simplify SAL_CONST_CAST and SAL_STATIC_CAST defns, mention they are obsoleteTor Lillqvist1-12/+2
2012-04-03don't skip first cmdline argumentLuboš Luňák1-2/+1
It looks like this one is also meant to be called manually or something, and the original version didn't skip the first argument either.
2012-04-03I'm dumb, fromAscii() stops at \0.Luboš Luňák2-3/+2
2012-04-02fix crude command line arguments handlingLuboš Luňák1-35/+45
2012-04-02fix very ... uhm ... inventive and confusing use of empty stringLuboš Luňák2-24/+11
2012-04-02warn on \0 embedded in string literals, after allLuboš Luňák3-1/+8
Seeing 791f27683311e487947b0464a0cb132b19fd0e12 I've changed my mind, some embedded \0 can be actually well hidden: struct foo { const char txt[3]; }; const foos[] = { { "a" }, { "bb" }}; If somebody wants an embedded \0 in a string literal, they need to say it explicitly by specifying the size.
2012-04-02sal: reduce allocation thrash in URI encode / decodeMichael Meeks1-4/+4
This saves 1% of string allocation / destruction on startup.
2012-04-02sal: expose more stringbuffer related instrumentation pointsMichael Meeks9-49/+86
Avoid ref/unref pair in makeStringAndClear, hook into the stringbuffer-like 'String' class to expose it's conversion to immutable strings, and fixup misc. missing instrumentation.
2012-04-02Refactor where patch_libgnustl_shared() and extract_files() are calledTor Lillqvist1-5/+14
2012-04-02Add a JNI_OnLoad() to store the JavaVM* also from non-NativeActivity appsTor Lillqvist1-5/+25
2012-04-01sal: rtlbootstrap.mk was empty on cygwinMatúš Kukan1-1/+7
This needs proper fix. It wasn't noticed because it was created by pipe before afd5eb1f04971edb083e47a2f9c2e9d77c9737c9 and last command succeeded, so make continued even if compilation failed.
2012-03-31sal: use CustomTarget makefileMatúš Kukan3-15/+19
2012-03-30Use correct JNI name mangling of underscoresTor Lillqvist1-2/+2
2012-03-30do not just warn on allocation failure, simply abortLuboš Luňák2-4/+4