Commit Graph

62 Commits

Author SHA1 Message Date
c209bef8e5 Use prefixed name for uno_initEnvironment() for iOS 2011-08-21 17:49:11 +03:00
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
f091f5b395 dragonfly stuff 2011-02-15 15:55:19 +00:00
aac09aee67 move bridges to boost::unordered_map 2011-02-04 00:02:36 +01:00
75e02ab302 Let's use a shared privateSnippetExecutor() approach as on x64 Linux
It simplifies function table and unwinding info management, as those
are now static for the privateSnippetExecutor() function in
call.asm. Even if it is slightly ugly to have to poke in more
instructions in codeSnippet().

Out privateSnippetExecutor() is much simpler than the x64 Linux one,
thanks to the simpler calling convention.
2011-01-28 18:41:07 +02:00
31a8176ab6 More work on x64 Windows C++-UNO bridge
Now the call through the trampoline into cpp_vtable_call() seems to
work, but I get a crash later. Glitches in parameter passing, no
doubt. Debugging needed in cpp_vtable_call() and cpp2uno_call().

The basic implementation is probably sane. But I wonder if I after all
should have done like in the x86-64 Linux implementation, with the
dynamically generated trampoline just jumping into fixed code shared
between all trampolines. Probably should redo it like that, yes.

Will it then cause a problem for OS unwinding if the caller of the
trampoline calls a short dynamically generated code snippet, which
then jumps into the fixed part, and only the fixed part has a
(assembler-generated) function table and unwind info? Probably not.

It is quite impossible that such a short dynamically generated snippet
with just a couple of instructions would cause an exception, and when
we have jumped into the fixed part, where the call to
cpp_vtable_call() is done, it doesn't matter any more that the caller
in fact didn't call what the function table claims is the entry
point. Or does it?

Doing it that way would mean no RtlAddFunctionTable() and
RtlDeleteFunctionTable() would be needed, and especially doing the
latter correctly is a bit hairy.
2011-01-28 16:41:04 +02:00
dc433642ab More work on the x64 Windows C++-UNO bridge 2011-01-27 23:39:59 +02:00
1c321e027d use errno to get the correct error message if mkstemp() fails 2011-01-21 11:03:11 +01:00
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
d7fa5f9a1c RTL macro converted from createFromAscii 2010-11-09 16:55:45 +00:00
c5e3a70a85 use getpagesize() on OpenBSD 2010-11-05 11:37:40 +01:00
a715e1b3d0 Add vim/emacs modelines to all source files
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-14 17:04:31 +02:00
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
bf9defceee #i105828# clear -Wp,-D_FORTIFY_SOURCE=2 warnings 2009-10-12 13:29:25 +00:00
bb490edf43 CWS-TOOLING: integrate CWS selinux01
2009-01-13 12:54:38 +0100 cmc  r266213 : #i97320# might as well be silent if we fallback
2009-01-07 11:17:16 +0100 cmc  r265957 : #i97320# use a double-mmap of an anonymous file under linux to keep onside of selinux
2009-01-20 10:20:47 +00:00
2603b8de06 INTEGRATION: CWS mingwport13 (1.8.6); FILE MERGED
2008/04/29 12:46:23 vg 1.8.6.1: #88772# MinGW port catch-up fixes for DEV300
2008-06-06 15:58:09 +00:00
72d669b04d INTEGRATION: CWS changefileheader (1.4.100); FILE MERGED
2008/03/28 16:30:41 rt 1.4.100.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:03:41 +00:00
21dc4f5a82 INTEGRATION: CWS changefileheader (1.10.12); FILE MERGED
2008/03/28 16:30:41 rt 1.10.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:03:22 +00:00
393472bbb2 INTEGRATION: CWS changefileheader (1.5.100); FILE MERGED
2008/03/28 16:30:41 rt 1.5.100.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:03:04 +00:00
507f1a311c INTEGRATION: CWS changefileheader (1.6.100); FILE MERGED
2008/03/28 16:30:41 rt 1.6.100.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:02:41 +00:00
4349e5562d INTEGRATION: CWS changefileheader (1.4.48); FILE MERGED
2008/03/28 16:30:40 rt 1.4.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:02:13 +00:00
78462a1d51 INTEGRATION: CWS changefileheader (1.3.170); FILE MERGED
2008/03/28 16:30:40 rt 1.3.170.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:01:56 +00:00
1ed36b9027 INTEGRATION: CWS changefileheader (1.7.48); FILE MERGED
2008/03/28 16:30:40 rt 1.7.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:01:36 +00:00
3240e92450 INTEGRATION: CWS changefileheader (1.5.100); FILE MERGED
2008/03/28 16:30:40 rt 1.5.100.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:00:30 +00:00
3da03f5235 INTEGRATION: CWS ia64port01_DEV300 (1.9.22); FILE MERGED
2008/02/18 10:40:38 cmc 1.9.22.2: #i84999# follow sb's suggested pattern, stage 1, gcc3_linux_*
2008/01/04 19:09:58 cmc 1.9.22.1: first cut at ia64 bridge
2008-02-27 09:02:58 +00:00
b532602437 INTEGRATION: CWS os2port01 (1.6.20); FILE MERGED
2007/07/17 08:22:18 obr 1.6.20.2: RESYNC: (1.6-1.7); FILE MERGED
2006/12/28 14:32:41 ydario 1.6.20.1: OS/2 initial import
2007-09-20 14:30:12 +00:00
7dd35bdd7c INTEGRATION: CWS mingwport06 (1.7.58); FILE MERGED
2007/08/24 12:55:23 vg 1.7.58.1: #i75499# pragma is for MSVC
2007-09-06 12:43:01 +00:00
6bda227e7e INTEGRATION: CWS unomacli64 (1.3.122); FILE MERGED
2007/06/29 11:14:39 kr 1.3.122.2: jkims patch - noopt only for cppinterfaceproxy.cxx
2007/06/20 12:21:31 kr 1.3.122.1: fixed: #78284# - somehow optimization needs to be disabled
2007-07-18 11:16:23 +00:00
730399de90 INTEGRATION: CWS unomacli64 (1.6.50); FILE MERGED
2007/06/20 10:29:46 kr 1.6.50.1: fixed: #i78284#
2007-07-18 11:16:06 +00:00
242b9c51db INTEGRATION: CWS unomacli64 (1.6.4); FILE MERGED
2007/06/06 07:38:41 kr 1.6.4.1: #i77422# Use va_list * instead of plain type; added missing include for precompiled headers
2007-07-18 11:15:51 +00:00
d384fe3c39 INTEGRATION: CWS bunoexttm (1.5.26); FILE MERGED
2007/01/26 09:54:07 kr 1.5.26.1: joined from utf2
2007-05-09 12:24:21 +00:00
4ba3144f81 INTEGRATION: CWS pchfix02 (1.3.70); FILE MERGED
2006/09/01 17:17:39 kaib 1.3.70.1: #i68856# Added header markers and pch files
2006-09-16 14:57:14 +00:00
16bb3439f6 INTEGRATION: CWS pchfix02 (1.6.22); FILE MERGED
2006/09/01 17:17:39 kaib 1.6.22.1: #i68856# Added header markers and pch files
2006-09-16 14:56:54 +00:00
80856c36c8 INTEGRATION: CWS pchfix02 (1.4.22); FILE MERGED
2006/09/01 17:17:39 kaib 1.4.22.1: #i68856# Added header markers and pch files
2006-09-16 14:56:39 +00:00
66f8441370 INTEGRATION: CWS pchfix02 (1.5.22); FILE MERGED
2006/09/01 17:17:38 kaib 1.5.22.1: #i68856# Added header markers and pch files
2006-09-16 14:56:26 +00:00
2c34eabdbe INTEGRATION: CWS pchfix02 (1.4.22); FILE MERGED
2006/09/01 17:17:38 kaib 1.4.22.1: #i68856# Added header markers and pch files
2006-09-16 14:55:49 +00:00
1529171481 INTEGRATION: CWS warnings01 (1.5.10); FILE MERGED
2006/05/26 13:42:18 sb 1.5.10.1: #i53898# Made code warning-free and/or compile at all after resync to SRC680m170.
2006-06-19 22:46:29 +00:00
83860cd6e6 INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2005/09/22 18:28:36 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/09 12:37:48 sb 1.2.100.1: #i53898# Made code warning-free.
2006-06-19 22:46:15 +00:00
8a1e55ddcb INTEGRATION: CWS warnings01 (1.3.36); FILE MERGED
2005/09/22 18:28:23 sb 1.3.36.2: RESYNC: (1.3-1.4); FILE MERGED
2005/09/05 14:25:19 sb 1.3.36.1: #i53898# Made code warning-free.
2006-06-19 22:46:04 +00:00
b4f9a5acf2 INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2006/05/23 23:06:13 sb 1.2.100.3: RESYNC: (1.3-1.4); FILE MERGED
2005/09/22 18:27:25 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/09 12:37:47 sb 1.2.100.1: #i53898# Made code warning-free.
2006-06-19 22:45:51 +00:00
21fa31545c INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2005/09/22 18:26:58 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/09 12:37:46 sb 1.2.100.1: #i53898# Made code warning-free.
2006-06-19 22:45:40 +00:00
cb46e4aa35 INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2005/09/22 18:26:43 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/09 12:37:43 sb 1.2.100.1: #i53898# Made code warning-free.
2006-06-19 22:45:29 +00:00
dca1c17b96 INTEGRATION: CWS mhu12 (1.4.38); FILE MERGED
2006/04/28 15:22:21 mhu 1.4.38.5: #i47132# Fixed typo in mprotect() call.
2006/04/28 10:47:52 mhu 1.4.38.4: #i47132# Fedora Core 5 with SELinux enforced needs explicit 'mprotect()', i.e. 'mmap(..PROT_EXEC...)' still fails.
2006/04/19 14:56:18 sb 1.4.38.3: #i47132# One more fix for Solaris.
2006/04/19 14:03:08 sb 1.4.38.2: #i47132# Fix for Solaris.
2006/04/19 12:55:33 sb 1.4.38.1: #i47132# Adapted to new functionality from rtl/alloc.h to obtain executable memory for the raw vtable blocks (which contain code snippets together with the vtables).
2006-05-02 11:07:18 +00:00
dc8577a127 INTEGRATION: CWS mhu12 (1.3.36); FILE MERGED
2006/04/19 12:55:33 sb 1.3.36.1: #i47132# Adapted to new functionality from rtl/alloc.h to obtain executable memory for the raw vtable blocks (which contain code snippets together with the vtables).
2006-05-02 11:07:01 +00:00
3aa21be46f INTEGRATION: CWS ooo19126 (1.2.98); FILE MERGED
2005/09/05 17:07:37 rt 1.2.98.1: #i54170# Change license header: remove SISSL
2005-09-07 21:35:54 +00:00
54ac7e1237 INTEGRATION: CWS ooo19126 (1.3.90); FILE MERGED
2005/09/05 17:07:37 rt 1.3.90.1: #i54170# Change license header: remove SISSL
2005-09-07 21:35:41 +00:00
0c00267a5f INTEGRATION: CWS ooo19126 (1.3.34); FILE MERGED
2005/09/05 17:07:36 rt 1.3.34.1: #i54170# Change license header: remove SISSL
2005-09-07 21:35:09 +00:00
623c0a39a8 INTEGRATION: CWS ooo19126 (1.2.98); FILE MERGED
2005/09/05 17:07:36 rt 1.2.98.1: #i54170# Change license header: remove SISSL
2005-09-07 21:34:55 +00:00
94d6463055 INTEGRATION: CWS ooo19126 (1.2.98); FILE MERGED
2005/09/05 17:07:35 rt 1.2.98.1: #i54170# Change license header: remove SISSL
2005-09-07 21:33:59 +00:00