Commit Graph

84 Commits

Author SHA1 Message Date
eeaa2ecd1e remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
7dac241ca0 Remove RTL_CONSTASCII_(U)STRINGPARAM in bridges
Change-Id: Id8777ee7f587846399e95cf3b1b37d669a76bae5
Reviewed-on: https://gerrit.libreoffice.org/3139
Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de>
Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
2013-04-02 20:25:44 +00:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
e5e8136c6a re-factor lifecycle issues in FormattedFieldWrapper.
XAggregation.idl has some rather helpful comments on how this
should work.
2012-11-27 12:55:11 +00:00
17ff7b41d1 re-base on ALv2 code. Includes:
Patches contributed by: Armin Le Grand.
    #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task.
    http://svn.apache.org/viewvc?view=revision&revision=1195906
    #118485# - Styles for OLEs are not saved.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    #119337# Solves the wrong get/setPropertyValue calls in
    SvxShapeText (and thus in SvxOle2Shape)
    http://svn.apache.org/viewvc?view=revision&revision=1344156

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    cws mba34issues01: #i117717#: remove wrong assertion
    http://svn.apache.org/viewvc?view=revision&revision=1172349

    Patch contributed by Herbert Duerr
    goodbye Registration and License dialogs, don't let the door hit you
    http://svn.apache.org/viewvc?view=revision&revision=1172613
    help gcc 4.6.0 on 32bit ubuntu 11.10"
    http://svn.apache.org/viewvc?view=revision&revision=1245357

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

Revert "sb140: #i117082# avoid unncessary static class data members
    commit 21d97438e2944861e26e4984195f959a0cce1e41.
remove obsolete FreeBSD visibility special case.
retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15 16:06:08 +00:00
595771d00d More ::rtl::OUString -> OUString in bridges
Change-Id: Ibd29c68077dd8f27c95cd4cb62cd8dad0e18aacf
Reviewed-on: https://gerrit.libreoffice.org/976
Reviewed-by: Radek Doulík <rodo@novell.com>
Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07 12:09:31 +00:00
da67a17d2d ::rtl::OUString -> OUString in bridges
Change-Id: I3a4fa7b108c58f100d2c8a586ec6c76af902e138
Reviewed-on: https://gerrit.libreoffice.org/974
Reviewed-by: Radek Doulík <rodo@novell.com>
Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07 12:06:45 +00:00
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
61c0a3a63d switch bridges to gbuild
Change-Id: Ia19ff61f1f7fb446298472acd6722b57ddaeddec
2012-09-22 08:15:30 +02:00
f2ec771cd9 add missing exports
Change-Id: I4cfbcedde049ae205997815786c46941937e2cf7
2012-09-22 08:15:28 +02:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
c0ab229dc7 Uniquify uno_initEnvironment and uno_ext_getMapping in the static linking case 2012-03-21 00:00:04 +02:00
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
aee436760e function component_canUnload is exported 2011-12-27 15:44:42 +01:00
b8b22391ae only use posix_fallocate() if it's actually available 2011-12-21 16:17:45 +01:00
d11f2ccdce Resolves: rhbz#767708 avoid SIGBUS writing to overcommitted mmaped diskspace 2011-12-15 11:59:03 +01:00
9201704ede Fix for fdo43460 Part IV getLength to isEmpty
Part IV
Module
basic (small fix per demand from Ivan Timofeev)
binaryurp
bridges
2011-12-13 00:11:25 +04:00
7113c7152d catch by constant reference 2011-11-30 11:27:42 +09:00
4dc45a2854 remove include of pch header in bridge 2011-11-27 12:56:37 -06:00
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