summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2013-05-20WaE: variable ´res´ set but not usedTor Lillqvist
Change-Id: I5f252f75d22f041c76c7d3cfcdd36f69becf086f
2013-05-20sal osl_getGlobalTimer: Don't confuse start and current time.Mark Wielaard
Change-Id: I575dd70d6b80d4f3279476037e509550cfa23fde Reviewed-on: https://gerrit.libreoffice.org/3979 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-20Also iOS has tm_gmtoffTor Lillqvist
Change-Id: Ic0f883672b4bde3142ac257a57464bdbb90df96b
2013-05-20iOS is based on Mach, tooTor Lillqvist
Change-Id: I9b6bdc374c9e92af754094f31e1ff212fb386f9e
2013-05-20Thread-safe version of osl_getGlobalTimeNorbert Thiebaud
Change-Id: Ibb9d23780600437f607d866ff3d396b96879245d Reviewed-on: https://gerrit.libreoffice.org/3960 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14Fix syntax errorTor Lillqvist
Change-Id: I161cf0fb2c5bd071a963ece61928efb7938de6c2
2013-05-14Include PID and TID in SAL_DEBUG outputStephan Bergmann
...and clean up log.cxx somewhat. Change-Id: I657cf6c938cafa61959a8dc59c9f95dba5183d9f
2013-05-13clock_gettime requires -lrt at least on Fedora 18Stephan Bergmann
Change-Id: Id01c86517a89dffd560440d333a37eaa80738b56
2013-05-13Use clock_gettime instead of gettimeofday to have more precise timeArnaud Versini
Change-Id: I8e568368e7626789dee21d4823dbedec6257a231 Reviewed-on: https://gerrit.libreoffice.org/3841 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-26This *is* C codeTor Lillqvist
Change-Id: I4461b7a38862ad2c9861861fad8d6bf4bafd01ab
2013-04-26fdo#63154: Remove all usages of the macro EXTERN_CMarcos Paulo de Souza
Change-Id: I25b7f509ba5d1007a16c84ad05870a8174c094ec Reviewed-on: https://gerrit.libreoffice.org/3621 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-25update pchThomas Arnhold
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move sal_inc headers to include/David Tardon
Change-Id: I840c681b7c500640d3983e05e9895f3fa8bb1313 Reviewed-on: https://gerrit.libreoffice.org/3501 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Avoid warnings from compilerplugins/clang/sallogareas.cxxStephan Bergmann
Change-Id: Icce3ffd29398a3488e7704562a4e9064f106b393
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-22Revert "fdo#62096: Replaced some compareTo with =="Fridrich Štrba
This reverts commit dd47994722eaead16099145e593fbf878072d52b.
2013-04-22fdo#62096: Replaced some compareTo with ==Sameer Deshmukh
Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c Reviewed-on: https://gerrit.libreoffice.org/3509 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19sal: remove obsolete test/unloadingMatúš Kukan
Change-Id: I76ede5abd4662aaa2f5b01739da07cf3169ddb69 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-19better use SAL_LOG_INFO as triggerBjoern Michaelsen
Change-Id: I37635f9bd86d194b303705a58d81502d7d586692
2013-04-19Add pan gesture handlingTor Lillqvist
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
2013-04-18forward RTL_CONTEXT_foo logging to SAL_INFO in default debuggingBjoern Michaelsen
* 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>
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17Update pchAurimas Fišeras
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17-Werror=unused-macros (MinGW, sal)Stephan Bergmann
Change-Id: I7c0411320798721e70de32580de6adcf5565f12a
2013-04-16Further clean-up related to removed library unloading featureStephan Bergmann
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16API CHANGE: remove some of useless rtl/unload.h functionalityMatúš Kukan
Change-Id: If32923e35ef97f42d5203975362e5c76948ff327 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-15No need for Android, iOS or CROSS_COMPILING conditionals for unit testsTor Lillqvist
We don't run unit tests when cross-compiling anyway and since d4ea8c6b7ee32dfbe1525cae45ad44d411052c33 the corresponding .mk files aren't even read by Make. Change-Id: Icbee9ad51841d515a551e67708d9594358ce7e71
2013-04-15tune up debug level required for popping up dialogs from MSVCRTDMichael Stahl
Change-Id: I3cfa050ecf5c3c2ec66b11519c30d48459a9cafe
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15fdo#60724 informations -> informationThomas Arnhold
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-14Add lo_keyboard_input()Tor Lillqvist
Change-Id: I5904f673de9854af47eefac2f192295a281c5525
2013-04-13simplify makefilesDavid Tardon
Change-Id: I11ea8814d36cdc6d6838ec80b0bbb272d3116b2d
2013-04-13simplify generation of *_allheaders.hxxDavid Tardon
There are some differences in the generated headers: cppu_allheaders.hxx now explicitly includes #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/genfunc.h> #include <com/sun/star/uno/genfunc.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.h> #include <com/sun/star/uno/Type.hxx> sal_allheaders.hxx now does not (explicitly) include #include <cppunittester/protectorfactory.hxx> #include <internal/rtllifecycle.h> #include <osl/detail/android-bootstrap.h> #include <osl/detail/component-mapping.h> #include <osl/detail/file.h> #include <osl/detail/ios-bootstrap.h> #include <pch/precompiled_sal.hxx> Change-Id: Ide3c708ac66f23b360b8e130790f8fa8f1911082
2013-04-13install SDK headers from filelistsDavid Tardon
... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
2013-04-10pgsql-sdbc: set tablename even if we do not know the schemaLionel Elie Mamane
Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
2013-04-10sal: that TimeValue define causes -Wunused-macros with 10.6 SDK tooMichael Stahl
So since that is the new baseline let's get rid of it. Change-Id: I7b645fe2f6e641012919a87b63d5e14acce9e52b
2013-04-10Revert "If you can't load a shared library it should be a warning"Stephan Bergmann
This reverts commit 8b561c0012546aabbaff33b32a79833997aa8902. There are legitimate cases for osl_loadModule to fail (like when UNO only resorts to indirect bridging via binary UNO once it has not found a direct bridge implementation), so this adds too much noise. (Rather add SAL_WARNs to those places up the call stack where it is known to be an error, and/or enable +INFO.sal.osl.)
2013-04-10Clean up documentationStephan Bergmann
Change-Id: Icc53c25400acb46070fead08f7602295599fc6c8
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini
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