summaryrefslogtreecommitdiffstats
path: root/salhelper
Commit message (Collapse)AuthorAgeFilesLines
* salhelper: work around spurious warning C4189Michael Stahl2014-08-131-0/+11
| | | | Change-Id: If919ca6da332bb94419a25253a5d6dec7243def9
* fixincludeguards: fix include guardsThomas Arnhold2014-06-062-4/+4
| | | | | | | Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* various: remove SAL_THROW macroNoel Grandin2014-06-051-5/+2
| | | | Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-151-2/+2
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* prefer makefile-gmake-modeTakeshi Abe2014-04-282-2/+2
| | | | Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-262-3/+3
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Remove visual noise from salhelperAlexander Wilms2014-02-261-11/+11
| | | | | | | Change-Id: Id01f525478558f2d280bfda7c970f4e16faaff44 Reviewed-on: https://gerrit.libreoffice.org/8298 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-211-3/+1
| | | | Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
* salhelper: sal_Bool -> boolStephan Bergmann2014-02-171-14/+14
| | | | Change-Id: Ibbfc597ec23dbc7605b2fbd02623ed4c62e4cd5c
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-192-4/+4
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* gbuild: make the versioned library the linktarget on UnixesMichael Stahl2013-09-221-1/+1
| | | | | | | | | | | | | | | | | If there is a SOVERSION then the versioned library is a real file and the unversioned one just a symlink; better to have the real file be the target. - add gb_Library_UDK_MAJORVER variable for SOVERSION - remove version parameter of gb_Library_set_soversion_script; instead hardcode the SOVERSION since it must be included in the file name in gb_Library_FILENAMES anyway - store the unversioned symlink in the ILIBTARGET variable - via new gb_Library_get_workdir_target_versionlink function - removed gb_Helper_install call that resulted in both versioned and unversioned libs in instdir Change-Id: I2c6f1698f0e39fdb2c07964d43ed9485cbca0b30
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-302-42/+8
|
* Don't point to inc directories that don't exist any longerTor Lillqvist2013-04-241-5/+0
| | | | Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
* move URE headers to include/David Tardon2013-04-2414-1324/+0
| | | | | | | Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-223-72/+12
|
* simplify makefilesDavid Tardon2013-04-131-6/+4
| | | | Change-Id: I11ea8814d36cdc6d6838ec80b0bbb272d3116b2d
* simplify generation of *_allheaders.hxxDavid Tardon2013-04-132-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* install SDK headers from filelistsDavid Tardon2013-04-133-4/+6
| | | | | | ... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* doubled namespacesThomas Arnhold2013-03-041-2/+0
| | | | Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
* coverity#983108: fix memory leakMarkus Mohrhard2013-03-031-0/+1
| | | | Change-Id: Ief22e3cbb826ab0ceca5d199c1bfd21b46e87358
* coverity#983107: fix memory leakMarkus Mohrhard2013-03-031-0/+1
| | | | Change-Id: I602510657d72455485e42e66b8ddf68413035232
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* salhelper: new ZipPackage_salhelper_odk_headersMichael Stahl2013-02-274-14/+18
| | | | Change-Id: I83172bd105496dd1af8090a01ebfac864958e20c
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+4
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Get rid of GetVersionInfo and checkdllTor Lillqvist2013-01-161-1/+0
| | | | | | | With gbuildification neither was actually used anyway, as far as I could see. Change-Id: I00d914e6571aed3110226f91ac1685a838031c65
* Proper indentationStephan Bergmann2012-12-071-2/+6
| | | | Change-Id: I4f85be9a33be6d9a3c756f2422eb7574beac1e1d
* API CHANGE: remove long-deprecated Semaphore & related stuff.Thorsten Behrens2012-12-044-397/+0
| | | | | | | osl::semaphore was not portable & thusly long-deprecated. Also killing further unused clients of that code in salhelper. Change-Id: Ie1c1924e06e8ce3be33fd1dc2c6933f2de8b5217
* try and make mingw32 buildCaolán McNamara2012-10-103-68/+1
| | | | Change-Id: I64c884b6d14c7112a88c7741ef7688108ec80ffe
* fdo#39625 Make existing cppunittests workRadu Ioan2012-10-103-5/+42
| | | | | | | | | | | | | | Make salhelper testapi cppunit work - removed call to simpleheader.hxx - added call in Module_sal.mk for sal_testapi - created mk for cppunittest for sal_testapi - fixed some compile warning for auto_ptr Change-Id: I07a58dbd5282f92604f58eb450e0bf549c54c6b3 Reviewed-on: https://gerrit.libreoffice.org/839 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist2012-10-071-0/+10
| | | | | | | | | | | | | | | | There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-282-4/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-282-2/+4
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-282-0/+2
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-251-2/+2
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* dependency on makefile needs full pathDavid Tardon2012-09-221-1/+1
| | | | Change-Id: I0733abb5c736ab393259fd6a005a89b887304f10
* fix buildThomas Arnhold2012-08-081-1/+2
| | | | Change-Id: I52c176776a58a633d0125449fdaa550c813e7da0
* reduce ascii noise and useless commentsThomas Arnhold2012-08-082-6/+1
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-081-3/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* Remove non-existing forward declarationsThomas Arnhold2012-08-071-2/+0
| | | | | | Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
* More: echo -e is not POSIX (and unknown to Mac OS X)Stephan Bergmann2012-07-161-11/+12
| | | | Change-Id: I8fdfbebd9fd4bf19b57ec83689116c6fc77227e6
* allow using rtl::OUString etc. simply as OUString, without rtl::Luboš Luňák2012-07-164-0/+134
| | | | | | | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-April/029940.html The RTL_USING #define (set by gbuild for anything that's not public API) allows to use such classes simply by their name, without having to use the namespace or do explicit using rtl::OUString (which half of the sources do anyway). Change-Id: I7edaf12cd278489cdc1d5ff782f0a86361c13c0a
* Remove some more include guardsThomas Arnhold2012-06-292-9/+0
| | | | Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
* Remove unused header filesThomas Arnhold2012-06-282-283/+0
| | | | | | Those are unused too. Change-Id: I09c9dbcdbc68131c7c54bf0762a23f1280e6e22a
* re-base on ALv2 code.Michael Meeks2012-06-2719-250/+290
|
* re-base on ALv2 code.Michael Meeks2012-06-2112-192/+184
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-211-0/+18
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* fucntion -> functionCaolán McNamara2012-06-121-1/+1
| | | | Change-Id: I0d345b2cf60f49e0e6b72724251c1f6d30529dce
* fdo#42865: privatized unique empty string symbol:Michael Stahl2012-05-181-2/+3
| | | | | | Unfortunately this --enable-dbg-util only problem (caused by _GLIBCXX_DEUBG) resurfaced, perhaps because of new std::string based logging in sal; adapt all map files to export the unique symbol.