summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2012-05-24fdo#50162 merge rtlbootstrap.mk into configure.inDavid Ostrovsky
Change-Id: I241be2704a069ec1f6be5861084039569673cc12
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-22android: use existing SAL_DLLPUBLIC macros instead of attributesMichael Meeks
2012-05-18fdo#42865: privatized unique empty string symbol:Michael Stahl
Unfortunately this --enable-dbg-util only problem (caused by _GLIBCXX_DEUBG) resurfaced, perhaps because of new std::string based logging in sal; adapt all map files to export the unique symbol.
2012-05-17drop debug_oustring now that gdb pretty-printers existCaolán McNamara
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
2012-05-16Create the redirection thread in detached stateTor Lillqvist
Change-Id: I293fa84452f00a41f4a33d4a45eee6d1a32ff761
2012-05-16Add stdout and stderr redirection to the Android logTor Lillqvist
On a (non-rooted) device it is not possible to set the log.redirect-stdio property so that it would be effective (i.e. read by the Zygote process when it starts). Such redirection has to be done in-process. Add a (JNI-callable) method to set it up: Point file descriptors 1 and 2 at pipes that are read by a thread that logs each line through the Android logging API. Code based on Android's own logwrapper.c. Change-Id: Id5308293595096a44a2ffed2dbc0c252be109de7
2012-05-14Generate a proper (?) rtlbootstrap.mk for a MSC build, tooTor Lillqvist
Change-Id: I35a1a270f5eab2250ed0ef50c6bf6c9dbec4f42e
2012-05-10normalize variable names in gbuild user makefilesMichael Stahl
Variables should have module name as prefix to prevent collisions.
2012-05-09EasyHack fdo#42783: get rid of CPU define/build system variableThomas Collerton
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-05-08sal: work around spurious signed overflow warningsMichael Stahl
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC): /rtl/string.hxx:1037:67: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02Related: fdo#49208 implement operator== with faster equalsCaolán McNamara
we have an optimized equals which checks that the strings being compared for equality share the same underlying pImpl, but out operator== implementations don't use it! Change-Id: Ie5c464494ff875315a5ca369a2da80c22c29f431
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
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 Lillqvist
Change-Id: I66dae812f3aea0534907316a7fb41b35ad37be48
2012-04-26improve error messageMarkus Mohrhard
2012-04-23doxygen warning fixesLuboš Luňák
2012-04-19Revert "Remove unnecessary hack on Linux by using pthread_mutexattr_settype"Arnaud Versini
Build error on tinderboxes.
2012-04-19Remove unnecessary hack on Linux by using pthread_mutexattr_settypeArnaud Versini
2012-04-19Removed obsolete commentStephan Bergmann
2012-04-19clang warning for osl_detail_ObjectRegistry_getMutex() in the .cxx file tooLuboš Luňák
2012-04-17More informative warning messageTor Lillqvist
2012-04-16Recognize unoexceptionprotector and unobootstrapprotectorTor Lillqvist
2012-04-15fix ambiguous call on windowsMarkus Mohrhard
2012-04-15autofill increment needs a bit more tolerance, fdo#37424Markus Mohrhard
2012-04-13WaE: initialization orderMichael Stahl
2012-04-13push and pop protectors around runner run, hopefully fixes windows buildCaolán McNamara
2012-04-13setup/teardown default component context once before/after all testsCaolán McNamara
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 Lillqvist
2012-04-10make OSL_ASSERT print the failed expression, not just "OSL_ASSERT"Luboš Luňák
2012-04-10disable clang warning about something that cannot be fixed without BIC changeLuboš Luňák
2012-04-09Add a header for iOS-specific low-level stuffTor Lillqvist
2012-04-09enforce only one possible use of gb_CustomTargetMatúš Kukan
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 Dezsi
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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 McNamara
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
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ňák
2012-04-06fix gcc-4.0.1 and/or 32bit build for string literalsLuboš Luňák
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 Dezsi
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ňák
2012-04-05Catch attempts to open /assets files read-write. Improve debugging outputTor Lillqvist
2012-04-05Translated German comments to English in folder 'sal'.Mark Wolf
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 Bergmann
2012-04-03SAL_REINTERPRET_CAST returns, for API stability (for 3rd-party extensions)Tor Lillqvist
2012-04-03try including the ostream<<OUString operator directly with OUStringLuboš Luňák
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ňák