summaryrefslogtreecommitdiff
path: root/sal/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-04-10pgsql-sdbc: set tablename even if we do not know the schemaLionel Elie Mamane1-0/+1
Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
2013-04-10Clean up documentationStephan Bergmann1-8/+8
Change-Id: Icc53c25400acb46070fead08f7602295599fc6c8
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini1-0/+144
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with slight modifications to sal/inc/rtl/character.hxx: * Replaced "#pragma once" with explicit include guard for now. * Missing includes. * Cosmetic clean-up. Change-Id: I94d01cd4e766f92c70f941839a67101fa2c97654
2013-04-08Check for the C++11 "final" specifier and introduce SAL_FINALTor Lillqvist1-0/+12
I think it is useful to use SAL_FINAL mainly as a documentation aid, to make it clear to a code reader when a class is not expected to be derived from, and when a virtual function is not expected to be overridden in a derived class. Possibly there is also some class of bugs that using SAL_FINAL will help find? Change-Id: I45002f020dcb52e8a9f2962ff98780f2b80627af
2013-04-08fdo#43157 - Clean up OSL_ASSERTRadu Ioan1-0/+8
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: I41444e90a22bad7d04d3827914d4d793b3601304 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05new module i18nlangtagEike Rathke1-1/+4
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-04remove HAVE_SFINAE_ANONYMOUS_BROKENLuboš Luňák5-116/+1
Since we no longer support the old Apple SDK using gcc-4.0.1, we can remove the cruft to work around its problems. Woohoo. Change-Id: Idf275e76449443f1f0314e75dab993f213a77eb7
2013-04-03fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan1-0/+1
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: I20f539bd9fa62bef2e9a2a82b59e0b15f4efdd48 Reviewed-on: https://gerrit.libreoffice.org/3179 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-03Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann2-2/+10
...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-02vcl: convert some fprintf to SAL_INFOThomas Arnhold1-0/+2
Change-Id: I4b9a20e62e8e137a1bfaa1c654307f15c33e3d3c Reviewed-on: https://gerrit.libreoffice.org/3143 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-30fix loplugin unused warningsPeter Foley1-0/+4
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold1-2/+5
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-30fix loplugin warningsPeter Foley1-1/+9
Change-Id: I17593ac6e495213a1ef99d4d5525a6e38aee0bc7
2013-03-30Protect CoreGraphics.h inclusion with <premac.h>, sighTor Lillqvist1-0/+2
Change-Id: I9d16929d3b8fb5114e72eee850da64433394df9c
2013-03-30Draw the frame virtual device bitmaps directly to the destination CGContextTor Lillqvist1-2/+2
Much faster. No need for the pixelBuffer inbetween. Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
2013-03-30Refactor the iOS Viewer app and rename it to "LibreOffice"Tor Lillqvist1-1/+3
No, it isn't any closer to being "ready" despite the name, but still, using the current approach, it clearly isn't restricted to be just a viewer. Also drop the verbose LOViewer prefix from class and file names in it. Change-Id: Ib4e8a31d6fa1b35169ee98cf2aa8f0f22957164c
2013-03-30Add lo_tap()Tor Lillqvist1-0/+1
Change-Id: I635be54c27c93de0a11be7bdd01979b99dadda28
2013-03-28Half-assed attempt at enforcing operator [] preconditionsStephan Bergmann2-2/+16
...inspired by comments to <https://gerrit.libreoffice.org/#/c/3068/> "String::AppendAscii cleanup in dbaccess," but it quickly becomes apparent that lots of code rely on s[s.getLength()] == 0, so live with a weakened precondition check for now. Change-Id: Ifad96c706b14433df4a084ab8054b32433b8b5b6
2013-03-27svx/source/inc/trace.hxx -> SAL_INFOStephan Bergmann1-0/+1
Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
2013-03-27Add log area 'vcl.headless'Tor Lillqvist1-0/+1
Change-Id: I40053b9a51c5a640b46c6d615a5d7e067a5e138a
2013-03-25remove external include guardsThomas Arnhold3-8/+0
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26Fix bogus SAL_WARN useTor Lillqvist1-0/+1
unknown log area 'IMPL_LINK_NOARG(SwSaveLabelDlg, OkHdl) [loplugin], huh? Change-Id: I265102a552615208db43fc7b6617189ad99b6aad
2013-03-26Introduce temporary lo_set_view_size() hack like on Android and call itTor Lillqvist1-0/+1
Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
2013-03-26Fix warning: unknown log area 'sw.docx' [loplugin]Tor Lillqvist1-1/+2
Change-Id: I0e97399220b2eb2da54072241ddee43a683d17ef
2013-03-25Add test case for toInt overflow detectionStephan Bergmann2-6/+12
Change-Id: I1c5b66888baac8aa1bc99c06579e0ef3638a4877
2013-03-25Clean up new toUInt64Stephan Bergmann4-6/+47
Change-Id: Ic908cb5cc9169ab1baae2c1c52070adfb9afba39
2013-03-25Fix warning: unknown log area 'chart2' [loplugin]Tor Lillqvist1-0/+4
Change-Id: Ifdfdc1869dbee46d507b552ed62364f6058888e2
2013-03-25Add some debugging printoutTor Lillqvist1-0/+4
Change-Id: Iea0decde41be8b9325b19651433f1b3b79f851a9
2013-03-22clean up DBG_ERRORnThomas Arnhold1-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>
2013-03-22For convenience, include config_global.h in sal/config.hStephan Bergmann5-15/+7
...which must be included first thing everywhere anyway. Change-Id: Idbbf941b526f48a89d6398e19404b1ff0e23a6b4
2013-03-21Re-work the vcl aspects of the iOS portTor Lillqvist1-24/+30
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
2013-03-21Kill fprintf in sdext in favour of SAL_LOGThorsten Behrens1-0/+1
Change-Id: I2253c1a4d90ab348764cd8863b8aaf2036a254de
2013-03-20Deprecate confusing rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann1-0/+7
Change-Id: I3a41036ec03cdaefea94b19dbedf59e5a5e37dc8
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák9-18/+18
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
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>
2013-03-18cleanup doxygen warningsPeter Foley19-101/+153
Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
2013-03-15fprintf -> SAL_WARNStephan Bergmann1-0/+1
Change-Id: Ifab1415fafa93551d8bed1e77c38f04bec8d2eba
2013-03-15Improve debug messagesStephan Bergmann1-0/+1
Some of those SAL_WARNs might actually better be SAL_INFOs; please change if they hit too often. Change-Id: I2a3b9bd485586b7878194f84bc734b54ce69bc06
2013-03-12update pch headersLuboš Luňák1-0/+7
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12janitorial: typo in commentLionel Elie Mamane1-1/+1
Change-Id: Idd62c2768a03f7aab8ff11165425f8c383653f38
2013-03-08function for duplicated codeLuboš Luňák1-0/+1
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-08Assert OUStringBuffer::copy preconditionsStephan Bergmann1-0/+4
Change-Id: I46ccba35be6695dba14721303b5eb52f69fc3dfa
2013-03-07Add a SAL_INFO()Tor Lillqvist1-0/+1
Change-Id: Ic681a76deb8db931f7868ca00d649cc3cbabe21b
2013-03-07add copy() to OUStringBufferChr. Rossmanith1-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>
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-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>
2013-03-03sal: update log areasThomas Arnhold1-8/+6
Change-Id: I8687f0a182597e31625b654d6ccf62aa046be8ec
2013-03-02Removing useless STLPort specific codeArnaud Versini1-13/+0
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-02Typo fix: informations -> information and a few other adjacent typos.Gregg King1-1/+1
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 Bergmann1-0/+1
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-02-27sal: use typesizes.h in MSVC build tooMichael Stahl1-17/+1
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