summaryrefslogtreecommitdiff
path: root/cppu/util
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/util')
-rwxr-xr-xcppu/util/cppu.map127
-rw-r--r--cppu/util/empty.def6
-rw-r--r--cppu/util/extra.mk89
-rw-r--r--cppu/util/makefile.mk105
-rw-r--r--cppu/util/makefile.pmk32
-rw-r--r--cppu/util/purpenvhelper3MSC.map8
-rw-r--r--cppu/util/target.pmk62
-rw-r--r--cppu/util/uno_purpenvhelperC52.map9
-rw-r--r--cppu/util/uno_purpenvhelpergcc3.map8
-rw-r--r--cppu/util/uno_purpenvhelperwntgcc.map8
-rw-r--r--cppu/util/unsafe_os2.map7
11 files changed, 461 insertions, 0 deletions
diff --git a/cppu/util/cppu.map b/cppu/util/cppu.map
new file mode 100755
index 000000000000..e89594615f53
--- /dev/null
+++ b/cppu/util/cppu.map
@@ -0,0 +1,127 @@
+UDK_3_0_0 {
+ global:
+ typelib_typedescription_new;
+ typelib_typedescription_newInterface;
+ typelib_typedescription_newInterfaceMethod;
+ typelib_typedescription_newInterfaceAttribute;
+ typelib_typedescription_newEnum;
+ typelib_typedescription_newUnion;
+ typelib_typedescription_newArray;
+ typelib_typedescription_acquire;
+ typelib_typedescription_release;
+ typelib_typedescription_register;
+ typelib_typedescription_equals;
+ typelib_typedescription_isAssignableFrom;
+ typelib_typedescription_getByName;
+ typelib_typedescription_registerCallback;
+ typelib_typedescription_revokeCallback;
+ typelib_typedescriptionreference_new;
+ typelib_typedescriptionreference_acquire;
+ typelib_typedescriptionreference_release;
+ typelib_typedescriptionreference_getDescription;
+ typelib_typedescriptionreference_equals;
+ typelib_typedescriptionreference_assign;
+ typelib_typedescriptionreference_isAssignableFrom;
+
+ typelib_setCacheSize;
+
+ typelib_typedescriptionreference_newByAsciiName;
+ typelib_static_type_getByTypeClass;
+ typelib_static_type_init;
+ typelib_static_sequence_type_init;
+ typelib_static_compound_type_init;
+ typelib_static_interface_type_init;
+ typelib_static_enum_type_init;
+ typelib_static_array_type_init;
+ typelib_typedescription_complete;
+
+ uno_equalData;
+ uno_type_equalData;
+ uno_constructData;
+ uno_type_constructData;
+ uno_destructData;
+ uno_type_destructData;
+ uno_copyData;
+ uno_type_copyData;
+ uno_copyAndConvertData;
+ uno_type_copyAndConvertData;
+ uno_assignData;
+ uno_type_assignData;
+ uno_type_isAssignableFromData;
+
+ uno_any_assign;
+ uno_type_any_assign;
+ uno_any_construct;
+ uno_type_any_construct;
+ uno_any_constructAndConvert;
+ uno_type_any_constructAndConvert;
+ uno_any_destruct;
+ uno_any_clear;
+
+ uno_sequence_assign;
+ uno_type_sequence_assign;
+ uno_sequence_construct;
+ uno_type_sequence_construct;
+ uno_sequence_reference2One;
+ uno_type_sequence_reference2One;
+ uno_sequence_realloc;
+ uno_type_sequence_realloc;
+
+ uno_createEnvironment;
+ uno_getEnvironment;
+ uno_getRegisteredEnvironments;
+ uno_dumpEnvironment;
+ uno_dumpEnvironmentByName;
+ uno_getMapping;
+ uno_getMappingByName;
+ uno_registerMapping;
+ uno_revokeMapping;
+ uno_registerMappingCallback;
+ uno_revokeMappingCallback;
+
+ uno_getCurrentContext;
+ uno_setCurrentContext;
+
+ uno_bindIdToCurrentThread;
+ uno_getIdOfCurrentThread;
+ uno_releaseIdFromCurrentThread;
+ uno_threadpool_enter;
+ uno_threadpool_create;
+ uno_threadpool_destroy;
+ uno_threadpool_putJob;
+ uno_threadpool_dispose;
+ uno_threadpool_attach;
+ uno_threadpool_detach;
+
+ cppu_unsatisfied_iquery_msg;
+ local:
+ *;
+};
+
+UDK_3.1 {
+ global:
+ typelib_static_mi_interface_type_init;
+ typelib_static_struct_type_init;
+ typelib_typedescription_newExtendedInterfaceAttribute;
+ typelib_typedescription_newMIInterface;
+ typelib_typedescription_newStruct;
+ cppu_Any_extraction_failure_msg;
+} UDK_3_0_0;
+
+UDK_3.2 {
+ global:
+ uno_EnvDcp_getTypeName;
+ uno_EnvDcp_getPurpose;
+
+ uno_getCurrentEnvironment;
+ uno_Environment_invoke_v;
+ uno_Environment_invoke;
+ uno_Environment_enter;
+
+ uno_Environment_isValid;
+} UDK_3.1;
+
+UDK_3.3 { # OOo 2.4
+ global:
+ cppu_unsatisfied_iset_msg;
+} UDK_3.2;
diff --git a/cppu/util/empty.def b/cppu/util/empty.def
new file mode 100644
index 000000000000..269c8f14cffd
--- /dev/null
+++ b/cppu/util/empty.def
@@ -0,0 +1,6 @@
+HEAPSIZE 0
+EXPORTS
+
+
+
+
diff --git a/cppu/util/extra.mk b/cppu/util/extra.mk
new file mode 100644
index 000000000000..f013516480fc
--- /dev/null
+++ b/cppu/util/extra.mk
@@ -0,0 +1,89 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+
+PRJNAME :=cppu
+TARGET :=cppu
+ENABLE_EXCEPTIONS:=TRUE
+NO_BSYMBOLIC :=TRUE
+USE_DEFFILE :=TRUE
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : ../source/helper/purpenv/export.mk
+
+# --- Files --------------------------------------------------------
+
+SHL3TARGET := unsafe_uno_uno
+SHL3IMPLIB := i$(SHL3TARGET)
+SHL3STDLIBS := $(purpenv_helper_LIB) $(SALLIB)
+SHL3OBJS := $(SLO)$/UnsafeBridge.obj
+.IF "$(GUI)"=="OS2"
+SHL3VERSIONMAP=unsafe_os2.map
+SHL3DEF=$(MISC)$/$(SHL3TARGET).def
+DEF3NAME=$(SHL3TARGET)
+.ELSE
+SHL3DEF := empty.def
+.ENDIF
+SHL3OBJS := $(SLO)$/UnsafeBridge.obj
+SHL3RPATH := URELIB
+
+SHL4TARGET := affine_uno_uno
+SHL4IMPLIB := i$(SHL4TARGET)
+SHL4STDLIBS := $(purpenv_helper_LIB) $(SALLIB)
+SHL4OBJS := $(SLO)$/AffineBridge.obj
+.IF "$(GUI)"=="OS2"
+SHL4VERSIONMAP=unsafe_os2.map
+SHL4DEF=$(MISC)$/$(SHL4TARGET).def
+DEF4NAME=$(SHL4TARGET)
+.ELSE
+SHL4DEF := empty.def
+.ENDIF
+SHL4OBJS := $(SLO)$/AffineBridge.obj
+SHL4RPATH := URELIB
+
+
+SHL5TARGET := log_uno_uno
+SHL5IMPLIB := i$(SHL5TARGET)
+SHL5STDLIBS := $(purpenv_helper_LIB) $(SALLIB) $(CPPULIB)
+SHL5OBJS := $(SLO)$/LogBridge.obj
+
+.IF "$(GUI)"=="OS2"
+SHL5VERSIONMAP=unsafe_os2.map
+SHL5DEF=$(MISC)$/$(SHL5TARGET).def
+DEF5NAME=LogMapping.def
+.ELSE
+SHL5DEF := empty.def
+.ENDIF
+SHL5RPATH := URELIB
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+
diff --git a/cppu/util/makefile.mk b/cppu/util/makefile.mk
new file mode 100644
index 000000000000..2e52c28b5193
--- /dev/null
+++ b/cppu/util/makefile.mk
@@ -0,0 +1,105 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+PRJ=..
+
+PRJNAME=cppu
+TARGET=cppu
+USE_DEFFILE=TRUE
+ENABLE_EXCEPTIONS=TRUE
+NO_BSYMBOLIC=TRUE
+
+.IF "$(OS)" != "WNT"
+UNIXVERSIONNAMES=UDK
+.ENDIF
+
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : ../source/helper/purpenv/export.mk
+
+# --- Files --------------------------------------------------------
+
+SHL1LIBS= \
+ $(SLB)$/cppu_typelib.lib \
+ $(SLB)$/cppu_uno.lib \
+ $(SLB)$/cppu_threadpool.lib \
+ $(SLB)$/cppu_cppu.lib
+
+.IF "$(GUI)" == "WNT" || "$(GUI)"=="OS2"
+SHL1TARGET=$(TARGET)$(UDK_MAJOR)
+.ELSE
+SHL1TARGET= uno_$(TARGET)
+.ENDIF
+
+SHL1STDLIBS = $(SALLIB)
+
+SHL1DEPN=
+SHL1IMPLIB=i$(TARGET)
+.IF "$(OS)"!="FREEBSD"
+SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.ENDIF
+
+SHL1VERSIONMAP=$(TARGET).map
+SHL1RPATH=URELIB
+
+DEF1NAME=$(SHL1TARGET)
+
+
+SHL2TARGET := $(NAMEpurpenv_helper)
+DEF2NAME := $(SHL2TARGET)
+.IF "$(GUI)$(COM)"=="WNTGCC"
+SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map
+.ELIF "$(GUI)"=="OS2"
+SHL2VERSIONMAP:=uno_purpenvhelperwntgcc.map
+.ELSE
+SHL2VERSIONMAP:=$(SHL2TARGET).map
+.ENDIF # "$(GUI)$(COM)"=="WNTGCC"
+SHL2DEF := $(MISC)$/$(SHL2TARGET).def
+SHL2IMPLIB := i$(SHL2TARGET)
+SHL2STDLIBS := $(CPPULIB) $(SALLIB)
+SHL2RPATH := URELIB
+SHL2OBJS := \
+ $(SLO)$/helper_purpenv_Environment.obj \
+ $(SLO)$/helper_purpenv_Mapping.obj \
+ $(SLO)$/helper_purpenv_Proxy.obj
+
+
+# --- Targets ------------------------------------------------------
+
+.PHONY: ALLTAR
+
+
+ALLTAR: $(SHL2TARGETN)
+ $(MAKE) $(MAKECMDGOALS) -f extra.mk
+
+
+.INCLUDE : target.mk
+
+
+$(SHL2TARGETN): $(SHL1TARGETN)
+
diff --git a/cppu/util/makefile.pmk b/cppu/util/makefile.pmk
new file mode 100644
index 000000000000..c1259ddf4a10
--- /dev/null
+++ b/cppu/util/makefile.pmk
@@ -0,0 +1,32 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+ENABLE_EXCEPTIONS=TRUE
+NO_BSYMBOLIC=TRUE
+
+.IF "$(GUI)" == "OS2"
+STL_OS2_BUILDING=1
+.ENDIF
diff --git a/cppu/util/purpenvhelper3MSC.map b/cppu/util/purpenvhelper3MSC.map
new file mode 100644
index 000000000000..5bbb14e9a1ab
--- /dev/null
+++ b/cppu/util/purpenvhelper3MSC.map
@@ -0,0 +1,8 @@
+UDK_3_0_0 {
+ global:
+ ?Environment_initWithEnterable@purpenv@helper@cppu@@YAXPAU_uno_Environment@@PAVEnterable@3@@Z;
+ ?createMapping@purpenv@helper@cppu@@YAXPAPAU_uno_Mapping@@PAU_uno_Environment@@1P6AX_NPAX3PAU_typelib_TypeDescriptionReference@@PAU_typelib_MethodParameter@@JPBU_typelib_TypeDescription@@3QAPAXPAPAU_uno_Any@@@Z3@Z;
+
+ local:
+ *;
+};
diff --git a/cppu/util/target.pmk b/cppu/util/target.pmk
new file mode 100644
index 000000000000..4e456b20605b
--- /dev/null
+++ b/cppu/util/target.pmk
@@ -0,0 +1,62 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+.IF "$(debug)" == ""
+
+# switch on aggressive opt
+
+# msvc++
+.IF "$(COM)" == "MSC"
+CFLAGS += -Ox
+.ENDIF
+
+# sunpro 5
+.IF "$(COM)" == "C50"
+CFLAGS += -O5 -xO5
+.ENDIF
+
+# gcc
+.IF "$(COM)" == "GCC"
+CFLAGS += -O
+.ENDIF
+
+.ELSE
+
+# msvc++: no inlining
+.IF "$(COM)" == "MSC"
+CFLAGS += -Ob0
+.ENDIF
+
+.ENDIF
+
+# other stuff
+
+.IF "$(cppu_no_leak)" == ""
+.IF "$(bndchk)" == ""
+CFLAGS += -DCPPU_LEAK_STATIC_DATA
+.ENDIF
+.ENDIF
+
diff --git a/cppu/util/uno_purpenvhelperC52.map b/cppu/util/uno_purpenvhelperC52.map
new file mode 100644
index 000000000000..5213c8ade00a
--- /dev/null
+++ b/cppu/util/uno_purpenvhelperC52.map
@@ -0,0 +1,9 @@
+UDK_3_0_0 {
+ global:
+ __1cEcppuGhelperHpurpenvNcreateMapping6FppnM_uno_Mapping_pnQ_uno_Environment_7pFbpv8pnbH_typelib_TypeDescriptionReference_pnY_typelib_MethodParameter_lpknY_typelib_TypeDescription_8p8ppnI_uno_Any__v8_v_; # S-ILP32
+ __1cEcppuGhelperHpurpenvNcreateMapping6FppnM_uno_Mapping_pnQ_uno_Environment_7pFbpv8pnbH_typelib_TypeDescriptionReference_pnY_typelib_MethodParameter_ipknY_typelib_TypeDescription_8p8ppnI_uno_Any__v8_v_; # S-LP64
+ __1cEcppuGhelperHpurpenvbDEnvironment_initWithEnterable6FpnQ_uno_Environment_pn0AJEnterable__v_;
+
+ local:
+ *;
+};
diff --git a/cppu/util/uno_purpenvhelpergcc3.map b/cppu/util/uno_purpenvhelpergcc3.map
new file mode 100644
index 000000000000..1a8f13238ab8
--- /dev/null
+++ b/cppu/util/uno_purpenvhelpergcc3.map
@@ -0,0 +1,8 @@
+UDK_3_0_0 {
+ global:
+ _ZN4cppu6helper7purpenv13createMappingEPP12_uno_MappingP16_uno_EnvironmentS6_PFvbPvS7_P33_typelib_TypeDescriptionReferenceP24_typelib_MethodParameter?PK24_typelib_TypeDescriptionS7_PS7_PP8_uno_AnyES7_;
+ _ZN4cppu6helper7purpenv29Environment_initWithEnterableEP16_uno_EnvironmentPNS_9EnterableE;
+
+ local:
+ *;
+};
diff --git a/cppu/util/uno_purpenvhelperwntgcc.map b/cppu/util/uno_purpenvhelperwntgcc.map
new file mode 100644
index 000000000000..eb224df0b301
--- /dev/null
+++ b/cppu/util/uno_purpenvhelperwntgcc.map
@@ -0,0 +1,8 @@
+UDK_3_0_0 {
+ global:
+ _ZN4cppu6helper7purpenv13createMappingEPP12_uno_MappingP16_uno_EnvironmentS6_PFvbPvS7_P33_typelib_TypeDescriptionReferenceP24_typelib_MethodParameterlPK24_typelib_TypeDescriptionS7_PS7_PP8_uno_AnyES7_;
+ _ZN4cppu6helper7purpenv29Environment_initWithEnterableEP16_uno_EnvironmentPNS_9EnterableE;
+
+ local:
+ *;
+};
diff --git a/cppu/util/unsafe_os2.map b/cppu/util/unsafe_os2.map
new file mode 100644
index 000000000000..cc6a0ddca448
--- /dev/null
+++ b/cppu/util/unsafe_os2.map
@@ -0,0 +1,7 @@
+UDK_3_0_0 {
+ global:
+ uno_initEnvironment;
+ uno_ext_getMapping;
+ local:
+ *;
+};