summaryrefslogtreecommitdiff
path: root/include/osl
AgeCommit message (Collapse)Author
2015-10-11move extracting assets to Java & use AssetManager to access assetsChristian Lohmaier
using AssetsManager in both java as well as native parts allows to handle files both with and without compression transparently Change-Id: If02f1159c498be7ea965fd9c217410722f2dca1f
2015-10-05Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt
See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Id66432ef80fc2963fd2cbc6fad5d8e135e8975b0 Reviewed-on: https://gerrit.libreoffice.org/18956 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-08-18tdf#84323: Make osl::Condition::wait more readableStephan Bergmann
Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
2015-08-17tdf#84323: Make osl::Thread::wait more readableStephan Bergmann
Change-Id: I33eb6970050a103404344c7f16dd33349c154347 Reviewed-on: https://gerrit.libreoffice.org/15018 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-29endian.h: avoid some Wconversion warningsMatteo Casalin
Change-Id: Ic77bd0dd6ac2355eaf3e11811fba7604c782d9d6 Reviewed-on: https://gerrit.libreoffice.org/17307 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-19Fix typosAndrea Gelmini
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-15Clarify documentation of (mis)features of osl_getExecutableFile()Tor Lillqvist
Change-Id: I106b14a8ce2709c11f23eb1d49924c9c5ab51b50
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-03Fix typosAndrea Gelmini
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-30Fix typosAndrea Gelmini
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-18Fix typosAndrea Gelmini
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Ibd373cddb1e25f05528e627349953b5f7d115330
2015-04-02Move osl::LibreOfficeKit stuff to comphelper for nowTor Lillqvist
Let's see where it actually will be needed. Sal is a "picky" place for new API, even inside LIBO_INTERNAL_ONLY. Change-Id: Ia0c5ee8cfc6ee526c5ad34d2f8aab0b14b5f805b
2015-04-01Add API to check whether being used through LibreOfficeKitTor Lillqvist
LibreOffice code, when used in a program through LibreOfficeKit, needs to be aware of that in certain crucial spots, to avoid behaviour and functionality that makes no sense in a LibreOfficeKit scenario. As LibreOfficeKit uses a normal LibreOffice installation to perform its job, this can't be a compile-time choice. Also, none of the existing run-time "headlessness" modes fully match what is needed. Change-Id: Iaccf7f958c549f019b508854800519f54dcadb11
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
2015-03-12sal: PVS-Studio V611 memory was allocated using 'new T[]' operatorMichael Stahl
... but was released using the 'delete' operator Change-Id: I67a4b9b8c60f7fddaeef4344ba472d331b3ca154
2015-03-01mismatched new[]/deleteDavid Tardon
Change-Id: Ie3987480800cb07fcb18adb9fa4a5b190c1d45b5
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I646d55ee80ceeefbb3647ec64278460cc5af579f
2015-01-20Some more loplugin:cstylecast: salStephan Bergmann
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
2015-01-08osl/detail/component-defines.h is used in cppumaker-generated codeStephan Bergmann
see ServiceType::dumpHxxFile and SingletonType::dumpHxxFile in codemaker/source/cppumaker/cpputype.cxx partial revert of 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 "brute-force find-and-remove of unused #define constants." Change-Id: I3c3d10f2d81926ad0b86330d46b8bf52416bc361
2015-01-08[API CHANGE] remove oslDescriptorType/FlagStephan Bergmann
...apparently unused since the corresponding code was removed with 2ad023906439164a10e7e2bbd6ae85f0e8958efe "#87132#removed obsolete parameter in executeProcess" in 2001 (detected after 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 "brute-force find-and-remove of unused #define constants" boldly removed the corresponding osl_Process_DF* defines from osl/process.h) Change-Id: I49c20aec9b4acb08d42bfa0371ee1149d6c4e9d4
2015-01-08[API CHANGE] Remove osl_send/receiveResourcePipeStephan Bergmann
...they had not been documented in osl/process.h and the sal/osl/unx implementation had been stubbed out since 7b37265b8e1afe480a6bbd271bf48fa1cbb44d55 "sal: remove unx implementation of osl_sendResourcePipe/osl_receiveResourcePipe" in 2012 Change-Id: Ia3ae853d95b6f3b2d2743f06755ef8f6246501d8
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-02Fix simple typos.Andrea Gelmini
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-12-20TyposJulien Nabet
Change-Id: I3475be796cf2655d9b619b86c9686aeef4b97b82
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: Iaadb8aef9e10b378fca844fa323e0a1ae369d31c
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: Iff55c88a365859400e87f3333735e54ba59811b6
2014-12-04[API CHANGE] Remove osl_setCommandArgsStephan Bergmann
...it was added late in the LO 3.3 cycle apparently by error. While this is strictly speaking an incompatible change, no client code should ever have called this deprecated, internal functionality anyway. An aborting stub is left in place for soname stability. Change-Id: Ibbc96ccf76a07a80d732a0713c95ff7b6bf1e528
2014-11-19sal, cppuhelper headers a little more complete and self-containedMichael Stahl
All of them now build as-is (doing that is actually a pain because some are named the same as C library headers and clang looks first in the directory where the source file is in...). Change-Id: Ief6e245c8f49fcee678aebd46394c19e4cb47f51
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17sal: remove pointless checking for __cplusplus in public C++ headersMichael Stahl
Change-Id: Ibbcdb4a3f46b7491396a1b1c7b4cdc1af05f30d3
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-31cid#1242936 handle rename failureStephan Bergmann
Change-Id: I92ce690a6f8183ce77c8ed53bd2fcb45d39d756e
2014-10-31Duplicate lineStephan Bergmann
Change-Id: I55811305ec24ff3538d33e98c8eac680e7da17fe
2014-10-02MWERKS etc. are not supported toolchainsMichael Stahl
Change-Id: I449fe34be396114529357388c87162aaf8976292
2014-09-11(Rudimentary) C++11 support is a hard requirement nowStephan Bergmann
Change-Id: I43ed776d52336b822aa6152f0f2a29e39303bb75
2014-08-17warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'Thomas Arnhold
Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
2014-08-13warning C4365: 'argument' : conversion from 'sal_Int32' to 'sal_uInt32'Thomas Arnhold
Change-Id: I2836ce249e57b1129947616f85894afc16b45547
2014-08-08osl: kill check for ancient freebsd < 7 versionsRiccardo Magliocchetti
Change-Id: I082611edd88daae36181d62f9fc56b588630629b Reviewed-on: https://gerrit.libreoffice.org/10828 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-07-31Mark osl_areCommandArgsSet as internal only.Andrzej Hunt
Change-Id: Iac97290738088bd1ce7469ffee773994e7653efc
2014-07-31Add @since to osl_areCommandArgsSet.Andrzej Hunt
Change-Id: Ib2d033f975a9b5bf7b667fd80e495d8f043faff0
2014-07-11Introduce osl_areCommandArgsSet.Andrzej Hunt
We cannot call osl_setCommandArgs twice, however there is currently no way to determine whether or not this has already been done. This is necessary e.g. for LibreOfficeKit where we may also be using UNO separately (and also for unit tests where LO is already set-up prior to the unit test running, and therefore we can't set up osl again from within LOK). Change-Id: Id1f357ef604eb2b6b7814c9a04ac6933a39fd3eb
2014-06-30android: Introduce LibreOfficeKit.java to bootstrap using LibreOfficeKit.Jan Holesovsky
Change-Id: I5e1758c15684b06ab6809f62f4da6d5f50c071a9
2014-06-06fixincludeguards: fix include guardsThomas Arnhold
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-05-20fdo#60338: Introduce osl_createDirectoryWithFlagsStephan Bergmann
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to resort to umask (the calls to umask around Directory::create had somewhat erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42 "Related fdo#60338: Create missing temp file dir with user's original umask," mistaking this for creation of intermediate directories in the hierarchy). On Windows, the flags argument to osl_createDirectoryWithFlags is ignored completely for now. Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-19fdo#60338: Add osl_File_OpenFlag_Private to avoid umaskStephan Bergmann
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-15Resolves: #i124896# [API CHANGE] remove obsoleted rtl/allocator.hxxHerbert Dürr
remove obsoleted sal-module-internal custom STL allocator The SAL module avoided the heavy dependency on the stlport4-libraries by using a custom allocator for its internal STL containers. With stlport4 removed these dependencies are gone and the SAL-internal custom allocator is obsoleted. (cherry picked from commit c6e0325df6efce45dbb2616a32b7745c449c6c58) Conflicts: include/osl/diagnose.hxx include/rtl/allocator.hxx sal/osl/w32/procimpl.cxx sal/qa/osl/process/osl_process.cxx sal/rtl/bootstrap.cxx sal/rtl/source/hash.cxx sal/rtl/source/unload.cxx Change-Id: I8515382828eda36aba1fec5f23e0f2a89aef7a33