office-gobmx/cppu
Stephan Bergmann 12fa9ece66 Avoid global static data
...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-11-13 18:04:26 +01:00
..
inc Make Reference::iset_throw work with multiple-inheritance interfaces 2012-09-30 19:59:02 +02:00
prj make gbuild the default assumption of build.pl 2012-04-29 03:50:46 +02:00
qa deprecate oustringostreaminserter.hxx 2012-09-18 10:10:06 +00:00
source Avoid global static data 2012-11-13 18:04:26 +01:00
util re-base on ALv2 code. 2012-06-13 14:18:29 +01:00
CppunitTest_cppu_checkapi.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CppunitTest_cppu_qa_any.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CppunitTest_cppu_qa_recursion.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CppunitTest_cppu_qa_reference.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CppunitTest_cppu_qa_unotype.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CppunitTest_cppu_test_cppumaker.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
CustomTarget_cppu_allheaders.mk dependency on makefile needs full path 2012-09-22 08:15:35 +02:00
InternalUnoApi_cppu.mk cppu: use InternalUnoApi 2012-04-09 21:04:37 +02:00
Library_affine_uno.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
Library_cppu.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
Library_log_uno.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
Library_purpenvhelper.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
Library_unsafe_uno.mk gbuild: invert handling of standard system libraries: 2012-09-28 16:49:08 +02:00
Makefile
Module_cppu.mk allow using rtl::OUString etc. simply as OUString, without rtl:: 2012-07-16 16:03:03 +02:00
Package_inc.mk Remove unused header files 2012-06-28 11:08:49 +02:00
README

Type definitions/implementations for the core of UNO. The exported API is in C.

See also:
[http://wiki.services.openoffice.org/wiki/Uno/Binary/Modules/CPPU]