Commit Graph

33 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
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02: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
e036d4b706 Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02 21:57:42 +03:00
ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +00: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
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
4dc45a2854 remove include of pch header in bridge 2011-11-27 12:56:37 -06:00
02c70c3b93 WaE: tweak for simple-minder compilers 2011-04-07 10:01:38 +01:00
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +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
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
bea06df5b7 INTEGRATION: CWS changefileheader (1.19.12); FILE MERGED
2008/03/28 16:30:38 rt 1.19.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:57:50 +00:00
1f54716c34 #i10000# bracket missing 2008-02-28 07:24:06 +00:00
dec9aeb53f INTEGRATION: CWS ia64port01_DEV300 (1.17.82); FILE MERGED
2008/02/18 11:20:25 cmc 1.17.82.1: #i84999# follow sb's suggested pattern
2008-02-27 09:02:44 +00:00
67f119fdd9 INTEGRATION: CWS pchfix02 (1.16.22); FILE MERGED
2006/09/01 17:17:37 kaib 1.16.22.1: #i68856# Added header markers and pch files
2006-09-16 14:54:51 +00:00
367e9d5289 INTEGRATION: CWS warnings01 (1.14.4); FILE MERGED
2006/05/26 13:42:18 sb 1.14.4.3: #i53898# Made code warning-free and/or compile at all after resync to SRC680m170.
2006/05/23 23:05:49 sb 1.14.4.2: RESYNC: (1.14-1.15); FILE MERGED
2006/02/28 15:00:33 sb 1.14.4.1: #i53898# Made code waring-free.
2006-06-19 22:44:53 +00:00
98cd209529 INTEGRATION: CWS mhu12 (1.14.38); FILE MERGED
2006/04/19 12:55:33 sb 1.14.38.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:06:41 +00:00
20a7c21ab8 INTEGRATION: CWS ooo19126 (1.13.90); FILE MERGED
2005/09/05 17:07:33 rt 1.13.90.1: #i54170# Change license header: remove SISSL
2005-09-07 21:32:24 +00:00
71fed56e7d INTEGRATION: CWS sb15 (1.12.4); FILE MERGED
2004/03/12 14:16:08 dbo 1.12.4.2: #i25318# making bridge code snippets executable
2004/02/11 16:08:37 sb 1.12.4.1: #i24561# Added VtableFactory::flushCode.
2004-03-19 12:26:03 +00:00
9345a3bed3 INTEGRATION: CWS sb10 (1.11.52); FILE MERGED
2004/01/08 15:42:09 sb 1.11.52.3: #114000# Cleaned up.
2004/01/08 13:47:40 sb 1.11.52.2: #114000# Complete adaption of cpp_uno/msvc_win32_intel to cpp_uno/shared.
2003/12/19 16:11:36 sb 1.11.52.1: #114000# Initial adaption of cpp_uno/msvc_win32_intel to cpp_uno/shared.
2004-02-03 11:46:18 +00:00
534fa0eeaa INTEGRATION: CWS dbgmacros1 (1.10.52); FILE MERGED
2003/04/09 10:15:37 kso 1.10.52.1: #108413# - debug macro unification.
2003-04-15 15:26:37 +00:00
17791de63f #93739##88337# removed UNO_LB_JAVA_NAMESPACE, inserted map-files for prot/c_uno bridges 2001-10-26 06:22:57 +00:00
d1476850b3 #91945# limiting exports 2001-09-06 10:59:04 +00:00
5c1713ba14 #90175##90246# msvcrt RaiseException() calls dtors of same function twice 2001-08-01 09:09:58 +00:00
e322c589fd #88717# fixed quering for unknown type 2001-07-03 15:11:14 +00:00
f293b9d625 #67468# added unloading for bridges/ environments 2001-07-02 10:55:32 +00:00
1f265fc1ce added cppu_no_leak for building non-leaking vtables/ generated rtti symbols 2001-03-30 11:06:53 +00:00
8c43ce3310 OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 13:43:35 +00:00
9c4a04b53d changed stl include 2001-03-07 16:09:25 +00:00
494b1e32ad throw () 2000-12-21 13:46:05 +00:00
b525a3115f initial import 2000-09-18 14:29:57 +00:00