summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2012-11-15Drop obsolete includes of deprecated rtl/memory.hStephan Bergmann
Change-Id: I532558f5502898e036e01d64faa854c68e7109c9
2012-11-15Mark rtl_*memory as deprecatedArnaud Versini
Change-Id: I0e5e85d6b23961baa9ef3ed4247e39497bb063d7 Reviewed-on: https://gerrit.libreoffice.org/865 Reviewed-by: Niko Rönkkö <ronkko@iki.fi> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-14Include clean-upStephan Bergmann
Change-Id: Ice3b97269640c0d739e5b4f4b27a0e07fc854f9f
2012-11-13fix system boostPeter Foley
Change-Id: Id80557cb47ab471a0f3a643a1c11a59e89c14c54
2012-11-12fix sal build with system-boostRene Engelhard
Change-Id: I56ce5fc99c654c63df87844c78f652c4ff13ce2c
2012-11-12WaE: C-linkage specified, but returns user-defined typeTor Lillqvist
Clang says: 'osl_detail_ObjectRegistry_getMutex' has C-linkage specified, but returns user-defined type '::osl::Mutex &' which is incompatible with C. Let's continue disabling that warning also also in 4.0 and later. Change-Id: I892bdc7e7aa6d546adf6b1c388e4c149db738948
2012-11-11oox: ZipStorage: better exception tracingMichael Stahl
Change-Id: I2b81f92cea8a8c9577c3f9ca33b915942708330c
2012-11-10sal needs boostPeter Foley
Change-Id: Icdda77d0fda4faf071566a44c2b93285a6437d38
2012-11-10deduplicate OString std::basic_ostream operatorsMiklos Vajna
I wanted to add one, based on OUString one, and Stephan on IRC agreed it's a good idea. Then it turned out we already had it in sal unit tests, sdext and unodevtools as well. Get rid of all these, and have a single implementation in string.hxx, so it can be used everywhere. Change-Id: Ibb820f20a138d055fd87036253c627fb862a31fe
2012-11-09RepositoryExternal: fix gb_LinkTarget__use_valgrindMichael Stahl
... which i've also managed to break, unaware of its existence. Consolidate 2 different ways to use VALGRIND_CFLAGS. Change-Id: I245c7a9a2b6bc904a227a15063cf5d8a2f64313c
2012-11-09configure: why not set up VALGRIND_CFLAGS all in one placeMichael Stahl
Also unbreaks the build because VALGRIND_CFLAGS is now never empty with cedd9ebdd260e99e74ad54391c0d0b1d1ebd9891. Change-Id: Ide5ca799b3656ccaff483ca05dbc18682136345f
2012-11-09add indexOf family of function to OUStringBufferNorbert Thiebaud
it is fairly common when converting String to OUString to find code that search for thing and replace/delete these things... the later need OUStringBuffer, the former OUString. This add the search feature provided by the indexOf family of function found in OUString, into OUStringBuffer Change-Id: I2de818e6317a94ed520f338ebc9ed08d5f17765c
2012-11-09Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORTTor Lillqvist
Use it in the cases where I yesterday changed SAL_DLLPUBLIC_EXPORT to JNIEXPORT. It turns out that on Linux JNIEXPORT does not enforce "default" visibility, but expands to empty. Change-Id: I033b3cf538715fb596e965e17f3da12fb987df63
2012-11-09When DISABLE_DYNLOADING there is no need to export much any symbols at allTor Lillqvist
Change-Id: I0261d30f20c88fc324194f687ebba3afd980117d
2012-11-07Improve loggingStephan Bergmann
Change-Id: I5ff457c76970356a5748f6f319f32a1f49b86ca1
2012-11-07move CppunitTest_sal_osl_process to gb_Module_add_check_targets callRene Engelhard
Change-Id: I602e1d42fde19b9557e1a21ba4d3fe704dd3f834
2012-11-06Add some rtl::Bootstrap unit testStephan Bergmann
...there is still additional old cruft in sal/qa/rtl/bootstrap/, some of it might be worthwhile to resurrect. Change-Id: Ie334431abc8de839fa2e655cbd3dc4d014c38f15
2012-11-06Some white-space clean-upStephan Bergmann
Change-Id: Ice25e13891865c2c7a223a3708d200272645140d
2012-11-03document writerfilter.profile log areaMiklos Vajna
Change-Id: I882de51f0605c4556d97b735fa3e85f686799c61
2012-11-03isfinite() is hard to get rightTor Lillqvist
Change-Id: Iae369a1b057d207f18c8c0ea8ac4fb5437ff1da5
2012-11-02Try to use isfinite() for iOSTor Lillqvist
Change-Id: Ia333afbefa4c112f478d2619efbe032e70925417
2012-11-02change std::clog debug output to SAL_INFO, so that it can be turned offLuboš Luňák
Change-Id: I92af860af6ac82302458cdd894f3ad038a863b49
2012-11-02loplugin: unused UniStringsCaolán McNamara
Change-Id: Ia6a10bf30685f25a13c091f04566c62888524c94
2012-10-28add SAL_WARN_UNUSED to some classesCaolán McNamara
Change-Id: Ibcc3ea7ebd60c46930f0c2419c8286fed9671061
2012-10-26add generic sc/sw log categoriesCaolán McNamara
Change-Id: I64995db8f9e913db5f4ab4e81359dd163bc29d15
2012-10-26add svl.numbers to log-areasCaolán McNamara
Change-Id: I6b26f2805d08d2eb1b28ade459d38a1c6895addf
2012-10-25add filter.xslt log areaCaolán McNamara
Change-Id: Ia212489c33da72f85d96618aa1d4db5972044bb2
2012-10-25fix tests that aren't testing anythingCaolán McNamara
Change-Id: I62c5f9206b6bc0321b7ee2b9c679ab7b5400a8ef
2012-10-25Cleanup and simplification of process.cxxArnaud Versini
Change-Id: I2bbc2763eca7c878ead2a325589d8c4bb9210bda Reviewed-on: https://gerrit.libreoffice.org/868 Reviewed-by: Marc-André Laverdière <marc-andre@atc.tcs.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-25loplugin: tidy up some log areasCaolán McNamara
Change-Id: Ie2c7b219f57a2bdf14fc07311a03a2c66f6c75aa
2012-10-22some more clang warningsCaolán McNamara
Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20
2012-10-17More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-10-13loplugin: some log, indent and unused variable warningsCaolán McNamara
fix up some indents, remove some unused OUStrings and add some log areas Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-13compiler check to compare SAL_WARN/LOG areas against sal/inc/sal/log-areas.doxLuboš Luňák
Some of the areas are guesses I've added after seeing them, whoever feels reponsible for whichever part of the code feel free to adjust them. Change-Id: I2192de84d51cc2bc7c28fa84019d38b465985d15
2012-10-13use consistently sal.osl and sal.rtl as log areasLuboš Luňák
Change-Id: Ib5e606283d3d37c38e9729c79c4531807a1419d3
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-11loplugin: more unused OUStrings and so forthCaolán McNamara
Change-Id: I4f3a51e1fd3ddca9442022a7134306fbf32e13ae
2012-10-11Be consistent with surrounding codeTor Lillqvist
Change-Id: Ice88c3912c2fd0d99156acaa8e15518acab3b55b
2012-10-11WaE: 'fn' may be used uninitialized in this functionTor Lillqvist
Change-Id: Ib918bd537b30fe5dc48396fc7e952147003e3b19
2012-10-11Use DISABLE_DYNLOADING on AndroidTor Lillqvist
IN this branch these changes are not conditional. Unclear yet whether this is what we finally will want to use or not. Maybe should make these changes conditional and do this stuff in master instead? Change-Id: I379d570a0e00648d295c675fd90eba6594ba3182
2012-10-10avoid unused variable warnings for vars used for RTL_LOGFILE_CONTEXT_TRACExLuboš Luňák
Change-Id: I8847192f61b2fca696a1ec6fbad65026e1ffdb43
2012-10-10loplugin: unused O[U]StringsCaolán McNamara
Change-Id: I020149a3073d8479887d108465cf5d3b727588d7
2012-10-09Add a 'fromIndex' parameter to OUString::replaceAllNoel Grandin
This method will be needed for forthcoming String->OUStringBuffer conversions. Change-Id: I001099baaca5cd402aebcd15c031d9060286a8f9
2012-10-09mark our string classes as SAL_WARN_UNUSEDLuboš Luňák
Change-Id: I420229dea6c5b3e45cec5989897bb31654851e32
2012-10-09compiler check for unused variablesLuboš Luňák
This is for variables that the compiler itself cannot figure out (e.g. non-trivial ctors). The classes need to be marked manually. Change-Id: I0109972e11e20578b1adc32065f701a871ee21aa
2012-10-07When DISABLE_DYNLOADING don't even provide any module loading/unloading APITor Lillqvist
Will then cause compilation errors where they are used, which will be noticed and taken care of. (The code chanaged to either use direct linking instead, when it makes sense, or to just bypass the functionality that requires dynamic loading.) Much better than waiting until run-time to notice where dynamic loading is attempted. Change-Id: Ib0cb5a2524b5c63f8e27670e7d72e37ce2a8e6e9
2012-10-04Version name/dependency cleanup towards 3.7Stephan Bergmann
Change-Id: Ib5da7703bf48713093bc6a3380facafd0013e039
2012-10-03Revert "add rtl::OUStringBuffer::append(bool)"Markus Mohrhard
This reverts commit 563fa900ba22bf83dfa58e67807ed0337f810576.
2012-10-03add rtl::OUStringBuffer::append(bool)Markus Mohrhard
Change-Id: I2cbb4d126b27c5cb7a1be3606807fcbda25d3e72
2012-10-03fix indentationMarkus Mohrhard
Change-Id: I43bad91f6afe5b55c6e2b6bf952cc0291d5bdd10