summaryrefslogtreecommitdiffstats
path: root/sal/inc
Commit message (Collapse)AuthorAgeFilesLines
* fdo#62096: Replaced some compareTo with ==Sameer Deshmukh2013-04-221-4/+4
| | | | | | | Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c Reviewed-on: https://gerrit.libreoffice.org/3509 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* better use SAL_LOG_INFO as triggerBjoern Michaelsen2013-04-191-1/+1
| | | | Change-Id: I37635f9bd86d194b303705a58d81502d7d586692
* Add pan gesture handlingTor Lillqvist2013-04-191-0/+1
| | | | | | | | I get exactly the same kind of artefacts as in the Android app, which I guess is good as it is at least consistent, as the implementation at the LO layer is identical... Change-Id: Icf0690fd2c48a133cb66de2ab7977b7088d2199e
* forward RTL_CONTEXT_foo logging to SAL_INFO in default debuggingBjoern Michaelsen2013-04-181-3/+21
| | | | | | | | | | | | | | | * RTL_CONTEXT_foo is originally intended to be used for performance measurement, but mostly unused right now * however its macros are sprinkled all over the codebase and might provide good help for ad-hoc debugging, and prevent SAL_INFO duplication * if there is no performance logging, these macros are now forwarded to SAL_INFO with logarea "logfile" or "$AREA.logfile" Change-Id: I495c8924e5b55124f7eac68eccda074d0740c117 Reviewed-on: https://gerrit.libreoffice.org/3421 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* Update pchAurimas Fišeras2013-04-171-2/+0
| | | | | | | Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Further clean-up related to removed library unloading featureStephan Bergmann2013-04-161-44/+22
| | | | Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
* API CHANGE: remove some of useless rtl/unload.h functionalityMatúš Kukan2013-04-161-197/+0
| | | | | Change-Id: If32923e35ef97f42d5203975362e5c76948ff327 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* fdo#60724 correct spellingThomas Arnhold2013-04-151-4/+4
| | | | Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
* fdo#60724 successfull -> successfulThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
* fdo#60724 correct spellingThomas Arnhold2013-04-153-3/+3
| | | | Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
* fdo#60724 informations -> informationThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
* Add lo_keyboard_input()Tor Lillqvist2013-04-141-0/+1
| | | | Change-Id: I5904f673de9854af47eefac2f192295a281c5525
* pgsql-sdbc: set tablename even if we do not know the schemaLionel Elie Mamane2013-04-101-0/+1
| | | | Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
* Clean up documentationStephan Bergmann2013-04-101-8/+8
| | | | Change-Id: Icc53c25400acb46070fead08f7602295599fc6c8
* Introduce characters utilities in rtl/character.hxxArnaud Versini2013-04-101-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
* Check for the C++11 "final" specifier and introduce SAL_FINALTor Lillqvist2013-04-081-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
* fdo#43157 - Clean up OSL_ASSERTRadu Ioan2013-04-081-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>
* new module i18nlangtagEike Rathke2013-04-051-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
* remove HAVE_SFINAE_ANONYMOUS_BROKENLuboš Luňák2013-04-045-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
* fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2013-04-031-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>
* Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann2013-04-032-2/+10
| | | | | | ...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
* vcl: convert some fprintf to SAL_INFOThomas Arnhold2013-04-021-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>
* fix loplugin unused warningsPeter Foley2013-03-301-0/+4
| | | | Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
* OSL_FAIL -> SAL_WARNThomas Arnhold2013-03-301-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>
* fix loplugin warningsPeter Foley2013-03-301-1/+9
| | | | Change-Id: I17593ac6e495213a1ef99d4d5525a6e38aee0bc7
* Protect CoreGraphics.h inclusion with <premac.h>, sighTor Lillqvist2013-03-301-0/+2
| | | | Change-Id: I9d16929d3b8fb5114e72eee850da64433394df9c
* Draw the frame virtual device bitmaps directly to the destination CGContextTor Lillqvist2013-03-301-2/+2
| | | | | | Much faster. No need for the pixelBuffer inbetween. Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
* Refactor the iOS Viewer app and rename it to "LibreOffice"Tor Lillqvist2013-03-301-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
* Add lo_tap()Tor Lillqvist2013-03-301-0/+1
| | | | Change-Id: I635be54c27c93de0a11be7bdd01979b99dadda28
* Half-assed attempt at enforcing operator [] preconditionsStephan Bergmann2013-03-282-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
* svx/source/inc/trace.hxx -> SAL_INFOStephan Bergmann2013-03-271-0/+1
| | | | Change-Id: I019f41aeb41ec150087e6f544cff3b36719d1845
* Add log area 'vcl.headless'Tor Lillqvist2013-03-271-0/+1
| | | | Change-Id: I40053b9a51c5a640b46c6d615a5d7e067a5e138a
* remove external include guardsThomas Arnhold2013-03-253-8/+0
| | | | 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
* 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-252-6/+12
| | | | Change-Id: I1c5b66888baac8aa1bc99c06579e0ef3638a4877
* Clean up new toUInt64Stephan Bergmann2013-03-254-6/+47
| | | | 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
* 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-211-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
* 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-201-0/+7
| | | | Change-Id: I3a41036ec03cdaefea94b19dbedf59e5a5e37dc8
* use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák2013-03-209-18/+18
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-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>
* cleanup doxygen warningsPeter Foley2013-03-1819-101/+153
| | | | Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
* 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