summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-08function for duplicated codeLuboš Luňák
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-08Assert OUStringBuffer::copy preconditionsStephan Bergmann
Change-Id: I46ccba35be6695dba14721303b5eb52f69fc3dfa
2013-03-07Add a SAL_INFO()Tor Lillqvist
Change-Id: Ic681a76deb8db931f7868ca00d649cc3cbabe21b
2013-03-07add copy() to OUStringBufferChr. Rossmanith
Change-Id: Ibac7f624f1a1dcce653dff4bec573be457d70075 Reviewed-on: https://gerrit.libreoffice.org/2125 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-03-07Use __android_log_print directlyTor Lillqvist
Change-Id: I67d90eb58faa0427c4de894eac107cc2d05a3477
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04Cleanup static and inline usage in alloc_impl.Arnaud Versini
Change-Id: I88170c9d033e0299c4b4462f7d0edb83152b4fbb Reviewed-on: https://gerrit.libreoffice.org/2367 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-03sal: update log areasThomas Arnhold
Change-Id: I8687f0a182597e31625b654d6ccf62aa046be8ec
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03coverity#705121: missing unlock of mutexMarkus Mohrhard
Change-Id: Ib36a2f0ada0f0e1af631f3a1698a44edbd3dd59e
2013-03-03coverity#705120: missing unlock of mutexMarkus Mohrhard
Change-Id: I341ba77e459967ece5916ed897b76e9f63164e58
2013-03-03coverity#983100: close resource handleMarkus Mohrhard
Change-Id: I7e637fcafff08e4299a90887dbcfc60613377c9d
2013-03-03coverity#983099: fix memory leakMarkus Mohrhard
Change-Id: I2fe582bc9b082ab4cac7cc7e6c521087f4906436
2013-03-02Removing useless STLPort specific codeArnaud Versini
Change-Id: Id4c5907b2431130018bff434049d9e85ae689793 Reviewed-on: https://gerrit.libreoffice.org/2365 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Niko Rönkkö <ronkko@iki.fi> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-03-02coverity#982797: Out-of-bounds writeJulien Nabet
Change-Id: I58f2040ffc7d56e8e4418a29de0dd4d263defbd2 Reviewed-on: https://gerrit.libreoffice.org/2499 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-01neon commands cannot be abortedStephan Bergmann
See <http://lists.manyfish.co.uk/pipermail/neon/2013-February/001533.html> "Re: About ne_set_read_timeout" for why ne_close_connection is not a solution here (and currently would not work anyway, for the thread calling abort would block on the aGlobalNeonMutex introduced with 510da29131e56ba0e1783e505e7131e6f7e0d6b4 "forced to make certain neon api calls thread-safe due to cups" until the blocking thread was done with its neon call) and "a new, dedicated, thread-safe ne_session_* API call will be needed to allow aborting of a running request." So enable DAVResourceAccess::abort again and instead disable the underlying NeonSession::abort. i#106766 "Crash when cancelling extension update" does not give any good rationale why DAVResourceAccess::abort had to be disabled, so it might well have been because the underlying NeonSession::abort was bogus to begin with. Change-Id: If8293b93a960907726208bb2f93c375d83357ed3
2013-03-01Pass log output directly to the Android log mechanismTor Lillqvist
Writing to stderr just takes a detour through the pipe we set up ourselves and read in a separate thread, and eventually ends up being passed to __android_log_print() anyway. Change-Id: I46356910e48926f22c8dc88d9eba6acbc8bce751
2013-03-01Open files from /assets (i.e. read-only) even if asked for write accessTor Lillqvist
It seems to work better to silently "open" a such file read-only even if write access is requested, and let write attempts, if any, fail later. Otherwise loading a document from /assets fails with that idiotic "General Error" dialog... Change-Id: I95cbe18010ec5e75ee5993faef2656ae8a2f981b
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28Unused UDK_MAJOR/MINOR/MICRO macros (and udkversion.mk), also removed from SDKStephan Bergmann
Change-Id: I466424c5b71de4d6bb126499895539813283502a
2013-02-28Unused SAL_UDK_MAJOR/MINOR/MICRO macros (unused sal/udkversion.h)Stephan Bergmann
Change-Id: Iac16e28979e7d6ae7e0502588f6216d9bfa51eda
2013-02-27Use config_$(gb_Side), not config_hostTor Lillqvist
Change-Id: I174f6bec7770ee029e5c452781f1de995c21e625
2013-02-27remove odk/CustomTarget_include.mk and package udkversion.mk in salMichael Stahl
Change-Id: Iab7335bc440484a6c01700ae36d1e004f8e96be7
2013-02-27sal: get rid of CustomTarget_generated.mkMichael Stahl
Change-Id: I2347f60ef922d32201beda47e59e0b345d07a3b1
2013-02-27move generation of sal/udkversion.h to configureMichael Stahl
Change-Id: I401dc6b3dcea933d1f186a8618e7c86ccd21430e
2013-02-27sal: use typesizes.h in MSVC build tooMichael Stahl
The types.h header defined the alignments to be 1 for MSVC, while configure set them to 2/4/8. It appears the alignment are only used in very few implementation details, so nothing should break by changing the values. Change-Id: I56ce85e0607159f0a4f653dd03480533b0adba07
2013-02-27move generation of sal/typesizes.h to configureMichael Stahl
Change-Id: I22d28044bde624b7cfd8537c5c1e2906cb5303fc
2013-02-27sal: systools/win32/snprintf.h apparently needed by sal/config.hMichael Stahl
Change-Id: I888ce2105d497fc71879005f6e5c1add88406617
2013-02-27sal: why deliver log-areas.dox at all?Michael Stahl
Change-Id: Ie3ebb133777644177dadec652dcaf04d6c7c3833
2013-02-27sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-26createWindowFoo is unusedTor Lillqvist
Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
2013-02-26SAL_WARN_UNUSED_RESULT OString copyEike Rathke
Change-Id: Iba2ee6f72c5d3fe35a22a6b2a6b42866fd8fb6fd
2013-02-26SAL_WARN_UNUSED_RESULT OUString copyEike Rathke
Change-Id: Ic511a4a399ae2d75de6050ac8e3f77ee13ec8275
2013-02-25WIP: Experimental new binary type.rdb formatStephan Bergmann
Move unoidl functionality into a module of its own, as a prerequisite to use it in codemaker etc. (This is intended to ultimately remove modules store and registry, modulo backwards compatibility constraints.) Change-Id: If5274cbd3a595951e6cf7a9664bc542f01833f38
2013-02-25fdo#60724 - change 'charcter' to 'character'sadam36
Changed all occurrences of 'charcter' found by git grep. All of them were used in comments only, so it should not break anything. Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82 Reviewed-on: https://gerrit.libreoffice.org/2372 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-24log presentation minimizer results as infoCaolán McNamara
Change-Id: I0f68ca75f774dfb18423517b36a1ea4d6071a83b
2013-02-23Fix typo accessable/accessibleJulien Nabet
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23Fix typos retreive/retrieve furture/futureJulien Nabet
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
2013-02-23Fix typo "fuction" -> "function"Julien Nabet
Change-Id: I369da2262d42fbc7cc3cfeeef4920606522237cd
2013-02-23sal: update log areasThomas Arnhold
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23No NativeActivity, so native_app_glue and struct android_app are meaninglessTor Lillqvist
Leave the NativeActivity-related code in androidinst.cxx for reference for now. Change-Id: I760c02ea361361be2d2b69c4cad1e38311f51247
2013-02-22Not using NativeActivity means no lo_main() stuff used eitherTor Lillqvist
Hopefully also fixes build for iOS by re-introducing checks for DESKTOP. Also this commit partially reverts 52a8744afee2cd589813f0377d93f821fce7aedd. Change-Id: Ie94c771b72ba138bb0481b054285916618baf6eb
2013-02-22sal: document oox.ppt log areaMiklos Vajna
Change-Id: I756cae33f408a1b735358da5a15b0462a19e31d0
2013-02-22Bin pointless single-child directory levelTor Lillqvist
Change-Id: I03de46fb6c095bb176fd25fc5f803be6d2d89bcf
2013-02-22silence warning.Michael Meeks
Change-Id: Ibf82038c15c9ecf6de502bae1dd21e2393cafe09
2013-02-22Fix misspellings detected by https://github.com/lyda/misspell-checkTor Lillqvist
Just as a test to check the usefulness of that tool. It needs some improvement before really usable. Change-Id: I875e79c1992ed5f3b695736b0d49938ad0ba2d55