Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
a8e489495a Hack around different __cxa_* declarations in different GCC versions 2012-03-30 16:41:06 +02:00
afde0ef9fe MinGW: callVirtualMethod needs same treatment as on gcc3_linux_x86_64
...for reasons that are yet unclear to me.
2012-03-30 11:14:39 +02:00
9e46c8fcb8 2nd param of __cxa_throw is void* in GCC <= 4.6 2012-03-27 22:26:25 +02:00
54e3855bff MinGW: Adapted cpp_uno bridge to GCC 4.7
...which incompatibly changed the calling convention of the third (dest)
function pointer parameter of __cxa_throw to __thiscall.
2012-03-27 18:52:49 +02:00
a203ca87e2 WaE: 'exec' may be used uninitialized in this function 2012-03-12 08:53:20 +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
e748b09663 Mark ecx register as clobbered
The inline assembly code executes a function call and functions are
free to use eax, ecx and edx without preservation. We must thus mark
ecx as a clobber register.
2011-10-17 08:13:54 +02: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
5b759fd175 YES->TRUE 2011-08-04 17:05:22 +01:00
f8069fc858 Fix segmentation fault when linking -mavx on new CPUs is enabled by explicitly adding -mno-avx to CXXFLAGS. 2011-08-04 16:56:38 +01:00
e6c3cc8ade Revert adding -mno-avx to CXXFLAGS, not universally supported
This reverts commit bf85809783ba11c9018c03f5a26508fa856ff3f8.
2011-08-03 12:25:35 +01:00
ce5469751c Fix segmentation fault when linking -mavx on new CPUs is enabled by explicitly adding -mno-avx to CXXFLAGS. 2011-08-03 12:09:50 +01:00
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +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
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
sb
67977bbe29 sb121: removed obsolete comments (-Wa,--noexecstack long been superseded by .note.GNU-stack on unxlngi6, anyway, and the other occurrences obviously being cargo-cult copies) 2010-03-17 17:14:05 +01: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
d1571f12a3 CWS-TOOLING: integrate CWS mingwport24
2009-09-13 02:15:22 +0200 tono  r276097 : i#105033: mingw port: accept incomplete deflib
2009-09-12 15:14:34 +0200 tono  r276096 : i#105012: mingw port: $(PATH) should be quoted
2009-09-12 15:12:49 +0200 tono  r276095 : i#105011: mingw port: berkeleydb fix
2009-09-12 15:11:39 +0200 tono  r276094 : i#105010: mingw port: decline libdl
2009-09-12 15:10:21 +0200 tono  r276093 : i#105009: mingw port: sal/osl/w32/file_dirvol.cxx needs ctype.h
2009-09-12 15:08:27 +0200 tono  r276092 : reverting changes to revise log messages
2009-09-12 11:55:48 +0200 tono  r276090 : i#105014: mingw port: change to latest w32api and mingw runtime
2009-09-12 11:52:12 +0200 tono  r276089 : i#105013: mingw port: fix gas error in call.s in bridges
2009-09-12 11:42:04 +0200 tono  r276088 : mingw port:  should be quoted
2009-09-12 11:35:35 +0200 tono  r276087 : mingw port: berkeleydb fix
2009-09-12 11:32:34 +0200 tono  r276086 : mingw port: decline libdl
2009-09-12 11:20:50 +0200 tono  r276085 : mingw port: sal/osl/w32/file_dirvol.cxx needs ctype.h
2009-09-18 14:37:01 +00:00
d8cb0da0ae CWS-TOOLING: integrate CWS mingwport22
2009-08-19 16:18:46 +0200 tono  r275156 : i#103794: mingw gcc-4.4.0 port: make use of dwarf2 eh
2009-08-05 12:27:41 +0200 tono  r274650 : CWS-TOOLING: rebase CWS mingwport22 to trunk@274622 (milestone: DEV300:m54)
2009-08-01 00:56:35 +0200 tono  r274552 : i#103795: mingw gcc-4.4.0 port: use gcc dll
2009-07-27 00:13:27 +0200 tono  r274344 : i#103795: mingw gcc-4.4.0 port: use gcc dll
2009-07-25 06:19:59 +0200 tono  r274332 : i#103803: mingw gcc-4.4.0 port: invalid "extern static"
2009-07-25 06:13:56 +0200 tono  r274331 : i#103802: mingw gcc-4.4.0 port: inhibit use of pthread
2009-07-25 06:05:22 +0200 tono  r274330 : i#103801: mingw gcc-4.4.0 port: specify relocatable data section
2009-07-25 05:54:09 +0200 tono  r274329 : i#103800: mingw gcc-4.4.0 port: remove invalid scope
2009-07-25 05:44:58 +0200 tono  r274328 : i#103799: mingw gcc-4.4.0 port: add some #include
2009-07-25 05:33:09 +0200 tono  r274327 : i#103798: mingw gcc-4.4.0 port: add backward in include path
2009-07-25 05:24:42 +0200 tono  r274326 : i#103797: mingw gcc-4.4.0 port: nooptimize c++-uno bridge
2009-07-25 05:16:20 +0200 tono  r274325 : i#103795: mingw gcc-4.4.0 port: use gcc dll
2009-07-25 04:01:59 +0200 tono  r274324 : i#103794: mingw gcc-4.4.0 port: make use of dwarf2 eh
2009-07-25 02:44:01 +0200 tono  r274322 : i#103793: mingw port: Exclude msvc[pr]80.dll from packaging
2009-07-25 02:28:21 +0200 tono  r274321 : i#103791: mingw port fix typo
2009-08-26 06:36:38 +00:00
314e33493a CWS-TOOLING: integrate CWS mingwport16
2009-01-15 13:11:20 +0100 releng  r266363 : tidy-up tabs
2008-11-28 15:33:23 +0100 tono  r264557 : i95203: mingw build without stlport
2008-11-22 07:19:50 +0100 tono  r264180 : i96436: make mingw bridge conform with reg-struct-return
2008-11-22 05:14:58 +0100 tono  r264179 : i96436: make mingw bridge conform with reg-struct-return
2008-11-21 17:09:04 +0100 tono  r264153 : i95203: mingw build without stlport
2008-11-21 16:59:55 +0100 tono  r264152 : i96436: make mingw bridge conform with reg-struct-return
2008-11-21 16:59:18 +0100 tono  r264151 : i96436: make mingw bridge conform with reg-struct-return
2008-11-21 16:57:01 +0100 tono  r264150 : i96436: make mingw bridge conform with reg-struct-return
2008-11-21 16:53:19 +0100 tono  r264149 : i96100: mingw port for icu 4.0
2008-11-13 13:41:13 +0100 tono  r263643 : i95203: mingw: Build without stlport
2008-11-13 13:29:38 +0100 tono  r263640 : i96100: MinGW port for icu 4.0
2008-11-13 13:17:10 +0100 tono  r263634 : i96098: MinGW port fix for new Windows API
2008-11-09 15:22:59 +0100 tono  r263497 : i95198: mingwport do not interfere with Cygwin
2008-11-09 14:44:54 +0100 tono  r263496 : i95190: mingwport avoid use of MS assembler
2008-11-09 14:32:26 +0100 tono  r263495 : i95190: mingwport trivial build fixes
2009-01-20 16:36:21 +00:00
a241c8e444 INTEGRATION: CWS mingwport13 (1.5.6); FILE MERGED
2008/04/29 12:46:22 vg 1.5.6.1: #88772# MinGW port catch-up fixes for DEV300
2008-06-06 15:57:54 +00:00
8b4ab6c865 INTEGRATION: CWS mingwport13 (1.1.2); FILE ADDED
2008/06/06 16:35:07 vg 1.1.2.2: new license header
2008/04/29 12:46:22 vg 1.1.2.1: #88772# MinGW port catch-up fixes for DEV300
2008-06-06 15:57:38 +00:00
8f40867ba6 INTEGRATION: CWS changefileheader (1.3.52); FILE MERGED
2008/03/28 16:30:37 rt 1.3.52.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:57:12 +00:00
3ee7b28fbe INTEGRATION: CWS changefileheader (1.2.60); FILE MERGED
2008/03/28 16:30:37 rt 1.2.60.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:56:35 +00:00
3339107074 INTEGRATION: CWS changefileheader (1.4.32); FILE MERGED
2008/03/28 16:30:37 rt 1.4.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:56:11 +00:00
13789fbd89 INTEGRATION: CWS changefileheader (1.3.52); FILE MERGED
2008/03/28 16:30:36 rt 1.3.52.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:55:47 +00:00
78ff5a76b1 INTEGRATION: CWS changefileheader (1.4.12); FILE MERGED
2008/03/28 16:30:36 rt 1.4.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:55:24 +00:00
6b050d5a1e INTEGRATION: CWS ia64port01_DEV300 (1.3.34); FILE MERGED
2008/02/18 11:16:17 cmc 1.3.34.1: #i84999# follow sb's suggested pattern, stage 1, mingw_intel
2008-02-27 09:02:30 +00:00
f969adbd29 INTEGRATION: CWS sb71 (1.2.12); FILE MERGED
2007/06/15 08:14:37 sb 1.2.12.2: RESYNC: (1.2-1.3); FILE MERGED
2007/06/14 15:04:36 sb 1.2.12.1: #i75466# Adapted to new APP|SHLnRPATH.
2007-10-15 10:58:44 +00:00
5dc9eb916a INTEGRATION: CWS mingwport04 (1.2.4); FILE MERGED
2007/04/17 13:11:49 vg 1.2.4.1: #i75844# MinGW port efforts part 2
2007-05-25 09:54:25 +00:00
aadc91a565 INTEGRATION: CWS mingwport04 (1.2.4); FILE MERGED
2007/04/17 13:11:48 vg 1.2.4.1: #i75844# MinGW port efforts part 2
2007-05-25 09:53:46 +00:00
d1d615a798 INTEGRATION: CWS mingwport03 (1.1.6); FILE ADDED
2006/09/07 09:21:09 vg 1.1.6.1: #i53572# MinGW port
2007-03-26 12:15:22 +00:00
616b3164b7 INTEGRATION: CWS mingwport03 (1.1.6); FILE ADDED
2006/09/07 09:21:08 vg 1.1.6.1: #i53572# MinGW port
2007-03-26 12:15:12 +00:00
7dd6fa339c INTEGRATION: CWS mingwport03 (1.1.6); FILE ADDED
2007/03/21 12:21:45 vg 1.1.6.2: #i53572# fixes for build breakers caused by multiple resync
2006/09/07 09:21:08 vg 1.1.6.1: #i53572# MinGW port
2007-03-26 12:15:03 +00:00