path: root/cppu/source/uno/EnvStack.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-12-16Clean-up uno/lbnames.hStephan Bergmann1-0/+1
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-08-21osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann1-2/+3
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-05-09protect UNO EnvStack's s_setCurrent() against unknown threadidHerbert Dürr1-2/+7
untracked threadIds have been observed and can result in crashes. s_getCurrent() already checks them and s_setCurrent() does it now. (cherry picked from commit bf8e3135ac906ce0ab7d6d9ccbd434f1597f2ff4) Conflicts: cppu/source/uno/EnvStack.cxx Change-Id: If35237179c1ee3b854e6183294ed72a6d0b105a8
2012-11-13Avoid global static dataStephan Bergmann1-7/+7
...that (indirectly) allocates memory via rtl/alloc.h, thereby causing the rtl_cache_wsupdate_init thread to be spawned before main, as on Mac OS X that would interfere with the code in sal_detail_initialize to close all file descriptors >= 3 -- on Mac OS X the pthreads implementation makes use of KQUEUE file descriptors. * This commit removes enough global static data to make ui-preview work again on Mac OS X (where it crashed at startup when the main thread closed the KQUEUE fd used by pthreads implementation threads). gengal uses further static data (at least from module sb), so needs further clean-up. * Avoiding global static instances derived from class Application required the introduction of vcl/vclmain.hxx. * That the vcl library was linked against the static vclmain library (which only provides an implementation of main) appears to me to be a historic relic (all executables should either include a SAL_IMPLEMENT_MAIN or link against vclmain), so I removed that. Change-Id: I048aa616208cb3a1b9bd8dcc3b729ba1665729bd
2012-06-13re-base on ALv2 code.Michael Meeks1-23/+14
2011-12-19cppu: add visibility symbolsMatúš Kukan1-5/+5
2011-12-17Fix for fdo43460 Part X getLength() to isEmpty()Olivier Hallot1-1/+1
Part X Module cppu cppuhelper cpputools
2011-02-06don't crash trying to erase one past endFridrich Štrba1-4/+1
2011-02-06Revert "revert this change for now as its triggering a crash in saxparser"Fridrich Štrba1-2/+2
This reverts commit b73cf2b1ef3892b4c200c05fd617bfd099aceee5.
2011-02-04revert this change for now as its triggering a crash in saxparserCaolán McNamara1-2/+2
2011-02-03move module cppu to boost unordered containersFridrich Strba1-2/+2
2010-10-24give me a deterministic ctor/dtor ordering I can trust, and defer to first useCaolán McNamara1-10/+16
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+3
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail Signed-off-by: Sebastian Spaeth <>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.4.34); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:23:21 rt #i87441# Change license header to LPGL v3.
2007-07-18INTEGRATION: CWS unomacli64 (1.3.2); FILE MERGEDOliver Bolte1-28/+28
2007/06/05 15:06:18 kr #i77422# Use va_list * instead of plain type
2007-05-16#i77422# fix build break for x86_64Kurt Zenker1-9/+9
2007-05-09INTEGRATION: CWS bunoexttm (; FILE ADDEDKurt Zenker1-0/+388
2007/03/01 16:06:03 kr aligned: now uno_getCurrentEnvironment takes a rtl_uString 2007/02/08 10:13:11 kr fixed: linkage 2007/01/25 13:29:42 kr fixed: license; adapted: EnvDcp nsp