summaryrefslogtreecommitdiffstats
path: root/sal
Commit message (Collapse)AuthorAgeFilesLines
* svx/source/inc/trace.hxx -> SAL_INFOStephan Bergmann2013-03-271-0/+1
| | | | Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
* -Werror=unused-macrosStephan Bergmann2013-03-271-0/+4
| | | | Change-Id: Ia02ff34be9eff80fd8f9d76f034d76c3791342f2
* WaE: macro is not used: STACKTYPETor Lillqvist2013-03-271-0/+2
| | | | Change-Id: If20c7637d13f37029e447e779586fcfad21c3305
* At least Mac OS X SDK 10.7 doesn't experience TimeValue clash hereStephan Bergmann2013-03-271-0/+4
| | | | | | (causes -Werror,-Wunused-macros, rather) Change-Id: I1dc05a5cf73aec7827df662342f5d9189215e64e
* -Werror=unused-macros (Android)Stephan Bergmann2013-03-271-4/+7
| | | | Change-Id: Ibd06e49e78a6d6a69521a65b53b056e85b64765b
* -Werror=unused-macros (Android)Stephan Bergmann2013-03-271-1/+1
| | | | Change-Id: I7b88ff1a8c53fbb875d5cb84060c726fd7d06c9c
* Hopefully _BSD_SOURCE not needed anywhere for MAP_ANONStephan Bergmann2013-03-271-1/+0
| | | | | | (-Werror=unused-macros on Android) Change-Id: I393face32e7d4782b5c8037fa8ebeb21ec3c6e7a
* -Werror=unused-macrosStephan Bergmann2013-03-271-7/+0
| | | | Change-Id: I3c64ed78577988767a7da859e68a7f63f890f7dc
* -Wunused-macrosStephan Bergmann2013-03-275-40/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* No need for a template hereStephan Bergmann2013-03-261-39/+31
| | | | Change-Id: I43262c984c311fcb1e1a9eca9b4dec4092351dea
* Could the failing MSVC tinderbox be due to implementation-defined /Stephan Bergmann2013-03-261-2/+22
| | | | | | ...for negative integers in < C++11? Rather unlikely, but lets see... Change-Id: I9abfcbf2c0e409fab4c77b62e5f734d3c2cc2719
* Add log area 'vcl.headless'Tor Lillqvist2013-03-271-0/+1
| | | | Change-Id: I40053b9a51c5a640b46c6d615a5d7e067a5e138a
* remove external include guardsThomas Arnhold2013-03-2517-133/+16
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Fix bogus SAL_WARN useTor Lillqvist2013-03-261-0/+1
| | | | | | unknown log area 'IMPL_LINK_NOARG(SwSaveLabelDlg, OkHdl) [loplugin], huh? Change-Id: I265102a552615208db43fc7b6617189ad99b6aad
* Introduce temporary lo_set_view_size() hack like on Android and call itTor Lillqvist2013-03-261-0/+1
| | | | Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
* Temporary hack for iOS: open files read-only if read-write open failsTor Lillqvist2013-03-261-0/+12
| | | | Change-Id: Ifc400d9843b23ef942c43af3a2b8830ccff71a7e
* Fix warning: unknown log area 'sw.docx' [loplugin]Tor Lillqvist2013-03-261-1/+2
| | | | Change-Id: I0e97399220b2eb2da54072241ddee43a683d17ef
* Add test case for toInt overflow detectionStephan Bergmann2013-03-254-6/+78
| | | | Change-Id: I1c5b66888baac8aa1bc99c06579e0ef3638a4877
* Handle oveflow in O(U)String::toInt() functionsZolnai Tamás2013-03-251-0/+8
| | | | | | | | | | | | Return 0 when overflow. The base idea in unsigned case is checking wheather (Max-nDigit)/nRadix < n But for efficency, take out nDiv = Max/nRadix from loop and corrigate it with -1 if needed. In signed case use minimum value if the number is negativ. Change-Id: I5b77580adbf12421b6c4b785ba9bc2a080accba2 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Clean up new toUInt64Stephan Bergmann2013-03-255-6/+48
| | | | Change-Id: Ic908cb5cc9169ab1baae2c1c52070adfb9afba39
* Fix warning: unknown log area 'chart2' [loplugin]Tor Lillqvist2013-03-251-0/+4
| | | | Change-Id: Ifdfdc1869dbee46d507b552ed62364f6058888e2
* Add some debugging printoutTor Lillqvist2013-03-251-0/+4
| | | | Change-Id: Iea0decde41be8b9325b19651433f1b3b79f851a9
* coverity#704247 Logically dead codeJulien Nabet2013-03-231-4/+1
| | | | | | | | Change-Id: Iaefddeb816d36d4a07234d903fafab3d6b83e1d2 Reviewed-on: https://gerrit.libreoffice.org/2952 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* WaE: unused functionsTor Lillqvist2013-03-221-0/+6
| | | | Change-Id: I3014f75e9f5969902c5bb6cecad9286841e158e6
* clean up DBG_ERRORnThomas Arnhold2013-03-221-0/+1
| | | | | | | | | | | | | Those were DBG_ERRORn before and were falsely changed to OSL_TRACE by me. See: 1707a350af8a0909ae88c2b11deb714f8b2a93ff 533f89e49395bbc31baaab9ade46db934b383e14 Change-Id: I4f4188ba25b988128a539542f49797ea6985702e Reviewed-on: https://gerrit.libreoffice.org/2900 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* For convenience, include config_global.h in sal/config.hStephan Bergmann2013-03-225-15/+7
| | | | | | ...which must be included first thing everywhere anyway. Change-Id: Idbbf941b526f48a89d6398e19404b1ff0e23a6b4
* Re-work the vcl aspects of the iOS portTor Lillqvist2013-03-212-26/+32
| | | | | | | | | | | | | | | Don't try to use similar code as for OS X to manage windows, events etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in the Android port, use the "headless" vcl backend. Do keep using CoreText, though, not FreeType & fontconfig. Start changing the iOS "Viewer" app to correspond to the Android "desktop" app (so it should be renamed). Work in progress since a long time, several crucial details still missing, but committing for now. Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
* std::min() parameters must be of same typeTor Lillqvist2013-03-211-1/+1
| | | | Change-Id: If8ac23dcf2a9e5811c1b2fe84c92d78cdfbc825b
* Kill fprintf in sdext in favour of SAL_LOGThorsten Behrens2013-03-211-0/+1
| | | | Change-Id: I2253c1a4d90ab348764cd8863b8aaf2036a254de
* Deprecate confusing rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-202-13/+7
| | | | Change-Id: I3a41036ec03cdaefea94b19dbedf59e5a5e37dc8
* use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák2013-03-2013-30/+30
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
* further OUString cleanupThomas Arnhold2013-03-192-6/+5
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-197-15/+15
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1911-61/+56
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* cleanup doxygen warningsPeter Foley2013-03-1819-101/+153
| | | | Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
* Use InterlockedIncrement() and InterlockedDecrement() unconditionallyTor Lillqvist2013-03-182-120/+0
| | | | | | Much simpler. Change-Id: I6837f95121f881d6265eb65343f6b311c1a6c33f
* fprintf -> SAL_WARNStephan Bergmann2013-03-151-0/+1
| | | | Change-Id: Ifab1415fafa93551d8bed1e77c38f04bec8d2eba
* Improve debug messagesStephan Bergmann2013-03-151-0/+1
| | | | | | | Some of those SAL_WARNs might actually better be SAL_INFOs; please change if they hit too often. Change-Id: I2a3b9bd485586b7878194f84bc734b54ce69bc06
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* update pch headersLuboš Luňák2013-03-121-0/+7
| | | | Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
* janitorial: typo in commentLionel Elie Mamane2013-03-121-1/+1
| | | | Change-Id: Idd62c2768a03f7aab8ff11165425f8c383653f38
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-092-9/+9
| | | | Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-095-15/+15
| | | | Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
* function for duplicated codeLuboš Luňák2013-03-081-0/+1
| | | | Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
* Assert OUStringBuffer::copy preconditionsStephan Bergmann2013-03-081-0/+4
| | | | Change-Id: I46ccba35be6695dba14721303b5eb52f69fc3dfa
* Add a SAL_INFO()Tor Lillqvist2013-03-071-0/+1
| | | | Change-Id: Ic681a76deb8db931f7868ca00d649cc3cbabe21b
* add copy() to OUStringBufferChr. Rossmanith2013-03-071-0/+40
| | | | | | | 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>
* Use __android_log_print directlyTor Lillqvist2013-03-071-9/+6
| | | | Change-Id: I67d90eb58faa0427c4de894eac107cc2d05a3477
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-1/+10
| | | | | | | | 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>
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e