summaryrefslogtreecommitdiff
path: root/salhelper/source
AgeCommit message (Collapse)Author
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: If341fc7d18bb6f07d76dd259f5dd77b447c93566
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-08-06If we want this to crash intentionally, use abort() thenTor Lillqvist
free(NULL) does not crash, it is defined to do nothing. Did I not know that in 2010? Change-Id: Ia6c4817ea87b646d643a19daabfe7850c5416cc8
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-01-20Some more loplugin:cstylecast: salhelperStephan Bergmann
Change-Id: I1e6168297ac4405c3f300aecc9074a4f15e6654c
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-25set names on a bunch more threads...Michael Stahl
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
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
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-02-26Remove visual noise from salhelperAlexander Wilms
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>
2014-02-17salhelper: sal_Bool -> boolStephan Bergmann
Change-Id: Ibbfc597ec23dbc7605b2fbd02623ed4c62e4cd5c
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-03-04doubled namespacesThomas Arnhold
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist
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
2012-08-08fix buildThomas Arnhold
Change-Id: I52c176776a58a633d0125449fdaa550c813e7da0
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-07Remove non-existing forward declarationsThomas Arnhold
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-27re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-05-18fdo#42865: privatized unique empty string symbol:Michael Stahl
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.
2012-04-02remove static objects from static_initialization_and_destruction chainCaolán McNamara
2012-02-24salhelper::Thread::launch: check create() failureStephan Bergmann
The assumption in the comment is clearly wrong, as osl::Thread::create returns a boolean result to indicate failure. Slight modification of a patch by Michael Stahl <mstahl@redhat.com>.
2012-02-23Clean upStephan Bergmann
2012-02-23add ia32 non-virtual thunks to linker mapMichael Meeks
2012-02-23Moved dp_gui::Thread to salhelper::Thread, so that all code can use itStephan Bergmann
...also improved the code somewhat.
2011-12-15convert salhelper to gbuildMatúš Kukan
This is a cherry-pick of Matúš's e2f30c078fcf26d481c2e90398b450f6c475a483 from the feature/gbuild branch, with the following modifications by Stephan Bergmann <sbergman@redhat.com>: * Adapt salhelper/Makefile to what all those Makefiles currently need to look like. * Do not remove salhelper/source/gcc3.map, instead add directly into it what otherwise solenv/bin/addsym.awk would add to it on Linux. * In salhelper/Library_salhelper.mk, add code that on Linux takes care of the soname and symbol versioning required for backwards compatibility. Solaris would need those features too, and its backwards compatibility is thus currently broken. Also add a bad hack to create the soname symlink (xxx.3 -> xxx) in the solver needed on non-Windows platforms (it is a bad hack for now in that it e.g. is not removed by "make clean"). * In solenv/gbuild/platform/macosx.mk, add an even worse hack to set the correct install name for libuno_salhelpergcc3.dylib.3, with a trailing ".3".
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist
2011-08-30Tweak some DLL and import library names in the WNTGCC caseTor Lillqvist
2011-08-04Bin OS/2 .map filesTor Lillqvist
2011-05-25Use simpler DLL and library names in the WNTGCC caseTor Lillqvist
2011-04-18Remove OS/2 support.Francois Tigeot
2011-01-16Use mscx.map for 64-bit MSVC buildTor Lillqvist
Unfortunately the C++ name mangling in a 64-bit MSVC compilation is slightly different from that in a 32-bit one: -- An 'E' is inserted for pointers to indicate that they are 64 bits. I don't fully understand the rationale for this; isn't that the only kind of pointer in 64-bit code produced by a C++ compiler anyway? -- As there is only one calling convention on x64 Windows, __cdecl, the indications for other calling conventions (here, especially __thiscall) change to that for __cdecl. It should be possible to write a tool to at least partially automate conversion of 32-bit mangled names to 64-bit ones, and thus make it easy to create mscx map files from the corresponding msci ones in LibreOffice. Sure, it probably wouldn't work 100% correctly in all cases, but it would help a lot.
2010-11-04Export one more Timer symbolTor Lillqvist
2010-11-04Attempt to fix some vos removal fallout on WindowsTor Lillqvist
After of the vos removal, some classes in other parts of the code now are subclasses of SimpleReferenceObject. To avoid compilation and linking errors in those other parts, we seem to need to have the operator new[] and operator delete[] in SimpleReferenceObject as protected instead of private. We also need an implementation of operator delete[]. As it can be unimplemented with gcc, I hope it isn't actually called, though, so it for now crashes intentionally if called. Will see later if this actually works, this is just a commit to make stuff build.
2010-11-04Export more Timer API with MSVC in the map fileTor Lillqvist
2010-11-02Export more symbolsTor Lillqvist
2010-10-27add modelines to .h and .c files as wellCaolán McNamara
2010-10-25merge vosremoval-timer.diffNorbert Thiebaud
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-05remove include guards using fixguard.pyPetr Mladek
2010-04-06dtardon02: #i108502# remove SCO makefile.mk entryCaolán McNamara
2010-03-11dtardon02: #i108502# remove empty file in salhelperDavid Tardon
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-13sb116: #i106845# removed obsolete IRIX portsb
2008-09-19No old windows def files needed any more.Rüdiger Timm
2008-06-16INTEGRATION: CWS hr51 (1.7.20); FILE MERGEDRüdiger Timm
2008/05/14 14:25:12 hr 1.7.20.1: #i88947#: add symbols for Solaris LP64
2008-04-11INTEGRATION: CWS changefileheader (1.2.62); FILE MERGEDRüdiger Timm
2008/03/31 07:25:46 rt 1.2.62.1: #i87441# Change license header to LPGL v3.