Commit Graph

23 Commits

Author SHA1 Message Date
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
b3aad50859 Be truthful to the compiler about registers clobbered by asm snippet
The asm code loads values into parameter-passing registers r0-r3.
(That is one of the very purposes of the asm snippet.) We need to tell
the compiler that. The compiler does not analyze the asm snippet and
has no idea by itself what it does.

Otherwise the compiler might well put one of the input values to the
asm snippet, like the "pmethod" (the value of the pMethod variable)
into one of those registers, so that when that value then is used in
the asm snippet, *after* r0-r3 have already been modified, it
obviously is totally unrelated to pMethod any more, and the result is
that the code jumps into hyperspace.

Apparently this has worked purely by luck, or thanks to GCC
conservatively avoiding using the r0-r3 parameter-passing registers in
this way. The problem was noticed when using the same code with Clang.

The above analysis tentatively confirmed by Caolán and Jani Monoses,
who wrote the code.

Change-Id: I3018c2e2ccb83e7a71144425fa404ad28bb955d6
2013-01-10 09:22:16 +02: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
7b72d933f9 WaE: format '%lx' expects 'long unsigned int', argument is 'void*'
Change-Id: Id14a7be627502cb8aa2173f0206c84cd27fab2e6
2012-09-21 10:55:37 +03:00
e13dc26e39 ARM bridge: fixes for passing double arguments on the stack 2012-02-21 01:15:02 +02:00
3dfae9e2e6 fix armel/armv4t build 2012-02-17 11:23:55 +01:00
dab11f7fe2 ARM bridge: VFP ABI (armhf) support 2012-02-16 16:25:22 +02:00
a55fa2d0a8 Remove unnecessary variable 2012-02-15 19:17:17 +02:00
4e679ee250 Simplify code and use proper register names for linux armhf 2012-02-15 19:17:17 +02:00
f233f39736 fix armhf build in bridges
Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2011-12-19 10:51:43 +01:00
0d139d3d2e Oops, use #if instead of #ifdef 2011-03-01 17:12:28 +01:00
61100f6fc6 Move CMC_DEBUG to OSL_DEBUG_LEVEL 3
This level means 'ultra-verbose'.
2011-03-01 17:05:34 +01:00
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +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
867721d3e8 armeabi02: #i105359# fix arm-eabi uno bridge 2010-05-04 14:33:17 +01:00
dce434e245 armeabi02: #i105359# fix arm-eabi uno bridge, fix exception handling, and fix struct returning rules 2010-04-27 11:17:28 +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
c4989e147f #i105302# allow build with -mfloat-abi=softfp -mfpu=vfp 2009-10-06 15:00:30 +00:00
b8316e888f INTEGRATION: CWS changefileheader (1.3.24); FILE MERGED
2008/03/28 16:30:03 rt 1.3.24.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:27:28 +00:00
b88d858829 INTEGRATION: CWS armeabi01 (1.2.2); FILE MERGED
2007/12/03 18:56:58 cmc 1.2.2.1: #i83775# arm eabi soft-float uno bridge
2007-12-12 14:35:44 +00:00
2ea38045ce INTEGRATION: CWS armoabiport01 (1.1.6); FILE ADDED
2007/11/07 14:54:02 cmc 1.1.6.2: #i83413# add arm bridge with hardware float support
2004/11/04 18:26:56 cmc 1.1.6.1: file uno2cpp.cxx was added on branch cws_src680_armoabiport01 on 2007-11-07 14:54:02 +0000
2007-11-26 17:02:47 +00:00