Stephan Bergmann
ab9b67bbb0
Remove obsolete SAL_FALLTHROUGH completely
...
...after 7ffdd830d5
"HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now"
Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937
Reviewed-on: https://gerrit.libreoffice.org/64800
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2018-12-08 13:28:16 +01:00
Caolán McNamara
6ddecf61ec
fillUnoException not working on std::rethrow_exception exceptions
...
used since...
commit dacc1b40df
Date: Sat Jul 28 16:33:22 2018 +0100
ofz#9597 rethrown IOException not caught by catch IOException
the adjustedPtr seems to be as expected, but the type_info not. Presumably
these are thrown as 'dependent exceptions' (?)
https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/libsupc%2B%2B/eh_type.cc#L42
Change-Id: Ibd736abe941bb1d5facdb88139b3a0e6cf32cf1f
Reviewed-on: https://gerrit.libreoffice.org/58477
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2018-08-04 15:37:30 +02:00
Stephan Bergmann
4544713d3a
Adapt remaining cpp_uno bridges to #i114635#
...
..."C++ UNO bridge should convert non-UNO exceptions into RuntimeException"
(<https://bz.apache.org/ooo/show_bug.cgi?id=114635 >), see
<https://lists.freedesktop.org/archives/libreoffice/2018-April/079985.html >
"Re: CppunitTest_sw_filters_test failing on x86 Linux, std::exception ->
uno::RuntimeException".
(The msvc_win32_{intel,x86-64} versions already handle non-UNO exceptions in
their msc{i,x}_filterCppException functions, in a different way.)
Change-Id: Ie359affed6831d16be0de3e3ff065484e28bd9c3
Reviewed-on: https://gerrit.libreoffice.org/52665
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2018-04-10 13:16:23 +02:00
Christian Lohmaier
4082a18406
android: use unified headers and llvm-c++ STL (x86) with NDK 16
...
gnustl (and others) are to be removed in future versions of the ndk
also bump gradle and build-tools to current versions along with it
arm unfortunately crashes with llvm-c++, so keep with gnustl for now/fix
that later
Change-Id: Ic794c3293b599b77ec48096bf3283a99c09cbb79
Reviewed-on: https://gerrit.libreoffice.org/45163
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
2018-01-18 14:44:25 +01:00
Michael Stahl
5581ab4a13
bridges: [loplugin:stringconstant]
...
Change-Id: I07501ac3593cd5df713b74e04ea64d22365958b9
2017-09-18 13:35:45 +02:00
brainbreaker
3bb8ec7cc5
android: Fix bridges/ module for building with Clang
...
Change-Id: If8bcda3aa8c3a3e46cd98e5ae797486f32db9822
Reviewed-on: https://gerrit.libreoffice.org/39050
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
2017-06-23 15:22:40 +02:00
brainbreaker
e88584fed0
Clean up declaration of __cxa_get_globals in linux_arm bridge
...
This is the Linux/arm version of commit
5ba3d1740b
, which did the same for the
Linux/x86_64 bridge.
Clang rejects the incompatible declarations of the
same extern "C" function in different namespaces.
This commit redeclares __cxa_get_globals so as to support
clang for building Android in future.
Change-Id: I4d733d3835d0dea5784701143f4ea1bc5d5ff363
Reviewed-on: https://gerrit.libreoffice.org/38735
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
2017-06-14 22:12:24 +02:00
Tor Lillqvist
e0849330bc
Get rid of unnecessary directory levels $D/inc/$D
...
Change-Id: Ibf313b8948a493043006ebf3a8281487c1f67b48
Reviewed-on: https://gerrit.libreoffice.org/25532
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Tor Lillqvist <tml@collabora.com >
Tested-by: Tor Lillqvist <tml@collabora.com >
2016-05-27 17:10:45 +00:00
Noel Grandin
71b809959b
remove unnecessary use of void in function declarations
...
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15 11:47:12 +02:00
Stephan Bergmann
fb088cdd8d
Replace remaining getCppuType et al with cppu::UnoType
...
Change-Id: I37d1a939c1a98f77152ed90dfb201446101f3157
2015-04-01 08:35:33 +02:00
Miklos Vajna
7a4a9d3d42
bridges: fix gcc3_linux_arm build
...
Change-Id: I3bfaeab9dd9f2d8cd603c655ec3aa7c4f508c673
2014-12-11 11:16:45 +01:00
Michael Weghorn
0e55feea6a
reduce scope of local variables
...
This addresses some cppcheck warnings.
Change-Id: I1122494e295af756ef3cc32717fe204505aeb9e3
Reviewed-on: https://gerrit.libreoffice.org/13335
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-12-11 06:15:26 +00:00
Michael Stahl
1276076ac8
ibridges: convert all legacy osl/diagnose.h assertions in source/cppu_uno
...
Change-Id: I4e78fac76b6bb4923e3b680d910afe5bb9640c33
2014-11-21 17:32:26 +01:00
Matúš Kukan
d743004ac4
missing include
...
Change-Id: Iac01fc756a74cbaeebd1d9a01ddea74bbaf18f4b
2014-11-17 15:40:58 +01:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-29 11:28:54 +00:00
Alexander Wilms
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
Tor Lillqvist
e036d4b706
Spell "indices" correctly
...
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02 21:57:42 +03:00
Thomas Arnhold
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
Thomas Arnhold
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
Tor Lillqvist
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
Michael Meeks
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 21d97438e2
.
remove obsolete FreeBSD visibility special case.
retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15 16:06:08 +00:00
Tor Lillqvist
7b72d933f9
WaE: format '%lx' expects 'long unsigned int', argument is 'void*'
...
Change-Id: Id14a7be627502cb8aa2173f0206c84cd27fab2e6
2012-09-21 10:55:37 +03:00
Jani Monoses
e13dc26e39
ARM bridge: fixes for passing double arguments on the stack
2012-02-21 01:15:02 +02:00
Rene Engelhard
3dfae9e2e6
fix armel/armv4t build
2012-02-17 11:23:55 +01:00
Jani Monoses
dab11f7fe2
ARM bridge: VFP ABI (armhf) support
2012-02-16 16:25:22 +02:00
Jani Monoses
a55fa2d0a8
Remove unnecessary variable
2012-02-15 19:17:17 +02:00
Jani Monoses
4e679ee250
Simplify code and use proper register names for linux armhf
2012-02-15 19:17:17 +02:00
Matthias Klose
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
Thomas Arnhold
0d139d3d2e
Oops, use #if instead of #ifdef
2011-03-01 17:12:28 +01:00
Thomas Arnhold
61100f6fc6
Move CMC_DEBUG to OSL_DEBUG_LEVEL 3
...
This level means 'ultra-verbose'.
2011-03-01 17:05:34 +01:00
Takeshi Abe
36e2296bf8
Replace all occured, occurance etc.
2010-12-06 09:16:29 +00:00
Caolán McNamara
da5cef0ab4
add modelines to .h and .c files as well
2010-10-27 16:04:46 +01:00
Sebastian Spaeth
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
Caolán McNamara
867721d3e8
armeabi02: #i105359# fix arm-eabi uno bridge
2010-05-04 14:33:17 +01:00
Caolán McNamara
dce434e245
armeabi02: #i105359# fix arm-eabi uno bridge, fix exception handling, and fix struct returning rules
2010-04-27 11:17:28 +01:00
Jens-Heiner Rechtien
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
Caolán McNamara
c4989e147f
#i105302# allow build with -mfloat-abi=softfp -mfpu=vfp
2009-10-06 15:00:30 +00:00
Rüdiger Timm
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
Kurt Zenker
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
Ivo Hinkelmann
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