Commit Graph

71 Commits

Author SHA1 Message Date
9c9f0ea2c3 Include RTTI in generated vtables for ubsan's vptr-based checks
...though only on gcc3_linux_x86-64 for now.

Change-Id: Id90554425e78b38a5a97149f2a7d3ac04cbe0c9b
2014-08-07 18:21:19 +02:00
14ab8c3f1d bridges: remove SAL_THROW macro
Change-Id: I2daafd711aedab17b6c13fde95c8af5f49d38a7c
2014-06-05 08:17:49 +02:00
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
a8a195c9e7 fdo#68849 Add header guards to bridges/* files.
Change-Id: I8599908ccf1aba9a0843eb41dc16c21455acc5ba
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-12 09:49:18 +01:00
6660b9d2c5 Remove visual noise from bridges
Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65
Reviewed-on: https://gerrit.libreoffice.org/8237
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-01 05:21:45 -06:00
0bcaa9f9f7 fix "fix gcc inline assembler operands usage"
Change-Id: I192c30bed60a657e9360bbe1d6dd217c75ed8da6
2014-02-24 18:12:53 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
e036d4b706 Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02 21:57:42 +03:00
6b83934749 fix gcc inline assembler operands usage
Apparently whoever did these didn't get the gcc docs and specified
every operand only as input, and then added volatile, explicit
initialization and what not until it worked. Specify output operands
correctly instead.
I couldn't verify all assembler variants, as I don't know them,
but the ones I don't know had at least some proper usage of output
operands, so I'll assume those are all correct.

Change-Id: I2910308b5e00cce8db756496df50ed26cfe35bb6
2013-06-05 16:01:43 +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
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +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
10511acd08 Revert "sb140: #i117295# use rtl::Static"
This reverts commit d3794d2d8ab2ee3f8118d61538bb753335b37f23.

Conflicts:
	bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
	bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
	bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
	bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
	bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
2012-11-15 16:06:07 +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
61c0a3a63d switch bridges to gbuild
Change-Id: Ia19ff61f1f7fb446298472acd6722b57ddaeddec
2012-09-22 08:15:30 +02:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
9377bb4dcc Some cppcheck cleaning 2012-02-05 10:19:40 +01:00
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
4dc45a2854 remove include of pch header in bridge 2011-11-27 12:56:37 -06:00
60ad74a87c sb140: #i117295# removed obsolete LEAK_STATIC_DATA defines 2011-09-12 22:47:47 +02:00
d3794d2d8a sb140: #i117295# use rtl::Static 2011-09-09 17:46:39 +02:00
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
aac09aee67 move bridges to boost::unordered_map 2011-02-04 00:02:36 +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
bc9aea44a7 explicitly -fno-strict-alias for linux bridges by default 2010-10-20 08:53:25 +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
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
bc573506a9 INTEGRATION: CWS cmcfixes43 (1.6.80); FILE MERGED
2008/03/07 16:58:40 cmc 1.6.80.1: string.h for strdup
2008-04-24 16:03:53 +00:00
ce0301d3d4 INTEGRATION: CWS changefileheader (1.10.84); FILE MERGED
2008/04/01 15:02:34 thb 1.10.84.2: #i85898# Stripping all external header guards
2008/03/28 16:30:19 rt 1.10.84.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:40:46 +00:00
4b8fc7ea28 INTEGRATION: CWS changefileheader (1.4.170); FILE MERGED
2008/03/28 16:30:19 rt 1.4.170.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:40:24 +00:00
da1ec5460c INTEGRATION: CWS changefileheader (1.7.32); FILE MERGED
2008/03/28 16:30:19 rt 1.7.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:40:07 +00:00
2ce175fb56 INTEGRATION: CWS changefileheader (1.6.84); FILE MERGED
2008/03/28 16:30:18 rt 1.6.84.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:39:48 +00:00
c239df1f7b INTEGRATION: CWS changefileheader (1.13.12); FILE MERGED
2008/03/28 16:30:18 rt 1.13.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:39:30 +00:00
a3cc5c3d1d INTEGRATION: CWS ia64port01_DEV300 (1.12.66); FILE MERGED
2008/02/18 10:40:38 cmc 1.12.66.1: #i84999# follow sb's suggested pattern, stage 1, gcc3_linux_*
2008-02-27 08:58:17 +00:00
5ea37ad3b6 INTEGRATION: CWS sb71 (1.6.26); FILE MERGED
2007/06/14 15:04:34 sb 1.6.26.1: #i75466# Adapted to new APP|SHLnRPATH.
2007-10-15 10:57:17 +00:00
c475274803 INTEGRATION: CWS ause069 (1.5.82); FILE MERGED
2006/11/28 11:48:38 hjs 1.5.82.1: #i70359# remove forced shell calls; a bit cleanup
2007-01-25 12:28:26 +00:00
72c1a7fbd9 INTEGRATION: CWS jw2 (1.9.18); FILE MERGED
2006/11/15 08:40:37 sparcmoz 1.9.18.2: #71180#: warnings are errors - allow debug build
2006/11/09 03:13:42 sparcmoz 1.9.18.1: #i71180#: remove warnings for gcc 4.1.2
2006-11-22 10:07:45 +00:00
cc7e300303 INTEGRATION: CWS jw2 (1.5.18); FILE MERGED
2006/11/09 03:13:21 sparcmoz 1.5.18.1: #i71180#: remove warnings for gcc 4.1.2
2006-11-22 10:07:33 +00:00
f1301cf7aa INTEGRATION: CWS jw2 (1.11.18); FILE MERGED
2006/11/09 03:12:52 sparcmoz 1.11.18.1: #i71180#: remove warnings for gcc 4.1.2
2006-11-22 10:07:20 +00:00
9ec16dc9ec INTEGRATION: CWS pchfix02 (1.8.22); FILE MERGED
2006/09/01 17:17:33 kaib 1.8.22.1: #i68856# Added header markers and pch files
2006-09-16 14:49:57 +00:00
1004635f77 INTEGRATION: CWS pchfix02 (1.4.70); FILE MERGED
2006/09/01 17:17:33 kaib 1.4.70.1: #i68856# Added header markers and pch files
2006-09-16 14:49:42 +00:00
0ae26d6427 INTEGRATION: CWS pchfix02 (1.10.34); FILE MERGED
2006/09/01 17:17:33 kaib 1.10.34.1: #i68856# Added header markers and pch files
2006-09-16 14:49:29 +00:00
759b43d362 INTEGRATION: CWS warnings01 (1.6.40); FILE MERGED
2005/09/22 18:19:29 sb 1.6.40.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/09 12:37:35 sb 1.6.40.1: #i53898# Made code warning-free.
2006-06-19 22:44:05 +00:00
16e0b8d084 INTEGRATION: CWS mhu12 (1.9.26); FILE MERGED
2006/04/19 12:55:31 sb 1.9.26.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:02:54 +00:00
5198a42ce9 INTEGRATION: CWS unxlngs04 (1.8.6); FILE MERGED
2005/09/23 11:40:28 sparcmoz 1.8.6.1: #51545#:GNU/Linux Sparc bridges gcc4 assembler error memory input 0 is not directly addressable
2005-12-21 14:38:28 +00:00