summaryrefslogtreecommitdiff
path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
2013-06-29remove OUString wrap for string literalsThomas Arnhold6-11/+11
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-22fix debug build on s390xDavid Tardon1-1/+0
Change-Id: Ic1d5e98f371727f0c452495d5f9cb40ec73ffe9d
2013-06-20...and similarly for __cxa_allocate_exception and __cxa_throwStephan Bergmann2-17/+20
Change-Id: I87ae299aac97180f0587c553d85b051decca155c
2013-06-20Clean up declaration of __cxa_get_globalsStephan Bergmann3-9/+25
At least Clang trunk towards 3.4 now rejects incompatible declarations of the same extern "C" function in different namespaces, so that trick of getting at the function that is exported by libstdc++ but only rudimentarily if at all exposed in cxxabi.h no longer worked. TODO: This change should be reflected in any other bridges where it is relevant, too. Change-Id: Ie3ccbdb7d75cc98636d02c0435958532620724f2
2013-06-16fix debug build on s390root1-1/+0
... by removing obsolete OSL_ENSURE. nVtableCall was renamed to nFunctionIndex and the same check is done a couple of lines above. Change-Id: Id52b69adceb337049c50a599aefc718498d688c0
2013-06-08the header file new.h is obsolete on our platformsHerbert Dürr1-1/+0
(cherry picked from commit 94e277e997d396ae44e4c13c806fa0f461dafd83) Conflicts: sw/source/core/text/portxt.hxx Change-Id: Ia785878f2b96704fcf858599afba2535b53d6b6f
2013-06-05fix gcc inline assembler operands usageLuboš Luňák7-81/+81
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-04Compiling but not working mingw_x86-64 bridgesFridrich Štrba11-879/+1059
Change-Id: I5ea6edf367dd18e60a86d12c523b7732a8ac44d4
2013-06-04Some configury and non-working stubs to start to compiler for Win64 with MinGWFridrich Štrba11-0/+1910
Change-Id: I907c3ea083e8d7f9e48fc62dd6d5b783639438cb
2013-05-29compile callvirtualmethod with -fnon-call-exceptionsCaolán McNamara1-4/+20
Change-Id: Ibcf70dd5626474bb2a023ce43d7ac661401fd1cb
2013-05-29optimization fix to UNO bridge's callVirtualMethod() for generic x86_64Herbert Dürr1-2/+4
if the pCallStack variable is optimized out then any assumptions of the method's inlined assembler about stack layout collapse. Adding a pseudo dependency to the pCallStack variable solves that problem (cherry picked from commit 254359b9ed96152091b8f7a74a3442cf6c553e04) Conflicts: bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx Change-Id: I5ba7713c2630bb3ecc4343632e796c38541bcd0e
2013-05-28Bypass the type_info generation when using libc++ for gcc3_macosx_intel, tooTor Lillqvist1-0/+9
(It causes linker errors, type_info destructor not found and a few others. Possibly this is a bug in Apple's libc++abi?) Change-Id: I50bc97c8e061ff47d4ff16f31d37cfe3b4f5a010
2013-05-28Bypass dynamic type_info generation for now when using libc++Tor Lillqvist1-0/+9
The type_info crack is even harder in the libc++ (with Clang, on OS X) case, sigh. Punt for now and let's see what happens... Change-Id: I17c3a4d9d933acfbf554649c9ec8b6fb5213f2f0
2013-05-15Don't export a variable called PATH_SEPARATORTor Lillqvist4-16/+16
It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling, it breaks the build of 3rd-party libraries using autoconfigury on Windows. The value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those libs run in Cygwin and assume that a PATH_SEPARATOR environment variable should be correct for Cygwin. Which ";" isn't. Rename the variable to LIBO_PATH_SEPARATOR. Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist5-17/+17
2013-05-09add some documentation links to the assembler needed for the UNO bridgesHerbert Dürr1-0/+3
ceterum censeo: good old C-linkage interoperability would be much more robust, reliable and easier to maintain compared to the current UNO-bridges approach of emulating the behaviour of the individual compiler, linker, dylib, unwind, etc. environments and thus being extremely platform specific. What an incredible waste of energy for little (if any) gain. SCNR. (cherry picked from commit c9fe5d026f2081d493a198a33cf3b1d558166965) Conflicts: bridges/source/cpp_uno/gcc3_freebsd_x86-64/call.s Change-Id: I728bce449e8e56572f31b50fb1452d1c2f9d7fea
2013-05-06Java cleanup, convert Hashtable to HashMapNoel Grandin1-6/+7
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-04-26Java cleanup, remove unused importsNoel Grandin1-1/+0
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-24Java cleanup, use generic containers where possibleNoel Grandin1-2/+2
Change-Id: Icd830004de3e121f5b96393e7d7b447775833419 Reviewed-on: https://gerrit.libreoffice.org/3569 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-47/+8
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann1-8/+1
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19remove unused component_canUnload functionsMatúš Kukan4-77/+0
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19Java cleanup, remove unnecessary castsNoel Grandin2-7/+7
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-16Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2-3/+3
Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
2013-04-15bridge_lib_name is $(gb_CPPU_ENV)_unoMatúš Kukan1-23/+13
Also fix gb_CPPU_ENV := msc6 in WNT_X86_64_MSC.mk to be consistent with the name we register in Repository.mk. Change-Id: I1520d78c378f8c48d65defb22c4c77277bd061f7
2013-04-15fdo#60724 convertable -> convertibleThomas Arnhold1-11/+11
Change-Id: I6a742f41305c2b4bd9a60aa3a574f6c02fec4752
2013-04-10bridges: remove unused .map fileMatúš Kukan1-26/+0
Change-Id: Id6e11cef2bdffd6726ac00f9a30e84cf44efe71e
2013-04-09The OS X x86_64 callvirtualmethod.cxx doesn't work if optimizedTor Lillqvist1-1/+2
Change-Id: Ib7a5cfa3f547364ba04e09d4829b7f3a477c731f
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák28-135/+129
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-07Pre-cache type_info for com::sun::star::ucb::InteractiveAugmentedIOExceptionTor Lillqvist2-15/+17
It seems to be the type_info most commonly looked up dynamically, even the only one in an initial test. I think it is a good idea to avoid dlsym() if possible. Change-Id: I0379c534e10efefafdd253ee651f6c74e4aa47d5
2013-04-03Remove Mac OS X for PowerPC supportTor Lillqvist5-1723/+0
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-04-02Remove RTL_CONSTASCII_(U)STRINGPARAM in bridgesChr. Rossmanith37-161/+127
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-03-27-Wunused-macrosStephan Bergmann1-1/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-24make bridges work with clang on x64 linuxPeter Foley1-1/+2
Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf
2013-03-21introduce gb_Module_SKIPTARGETSBjoern Michaelsen1-1/+1
- this speeds up the old SKIP_TESTS targets build-nocheck and dev-install-nocheck - this allows e.g. tinderboxes, which know that they just completed a build, to only read the files for the tests (and exclude the build itself) - since the dep file can be quite large this might help performance in such scenarios quite a bit - also moving this to extensions as it is merely a performance optimization Conflicts: Makefile.in solenv/gbuild/Module.mk Change-Id: I1265dbacdd9f3731fe755a1b997c2fa5ac1f7421 Reviewed-on: https://gerrit.libreoffice.org/2742 Reviewed-by: Matúš Kukan <matus.kukan@gmail.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-03-21Fix typo in previous commit.Tomas Chvatal1-1/+1
Change-Id: I3b4a23dff3c2db14146351513e9fa1ea5ab3e256
2013-03-21Fix -mno-avx calls by removing weird OS check.Tomas Chvatal1-3/+1
Change-Id: Icecceda1b36110757754bcdbcecaae307d015fc9
2013-03-20WaE: '__LP64__' is not defined, evaluates to 0Tor Lillqvist1-0/+4
Change-Id: Ie3b740818b6f705b24e2c718dd47f43ebdb2a3e1
2013-03-19Add the call.s source for the MinGW caseTor Lillqvist1-0/+1
Another blind fix attempt. Change-Id: I5ec2ba5e595a382c53e6975b8dc65644fc8e7409
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold28-28/+28
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-19No -ldl for MinGW eitherTor Lillqvist1-1/+1
Change-Id: I7e74559d2edd1adc9225a935735ba4f6fd7eea24
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold65-189/+187
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-19Move the WNTGCC case under the case for CPU=ITor Lillqvist1-6/+4
Otherwise no case matched for the MinGW build. Change-Id: Ia57c7cf09dbd450c91c4e595c7070ce82b484797
2013-03-19Insert empty lines for clarityTor Lillqvist1-4/+40
Now the outermost if..else if..endif chain should stand out more clearly. Change-Id: I62573aea02d0d0f721e00129d0e40f1b11864527
2013-03-18Cleanup bridges modulePeter Foley54-8369/+224
Reduce excessive copy-pasting Remove bridges for C50 and C52 compilers which aren't in configure any more Prevent LTO from being used in the bridges module because it causes crashes Change-Id: I7ff85c2e8d6ff89c5acd48aea415e0960b3ef812 Reviewed-on: https://gerrit.libreoffice.org/2765 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold2-4/+4
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-04sal_Bool to boolTakeshi Abe3-3/+3
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-01Replace rtl::O(U)String with O(U)StringÁdám Csaba Király1-13/+13
Other changes include: in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed, 'using namespace ::rtl' replaced with 'using ::rtl::OUString' and 'using ::rtl::OUStringToOString' Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc Reviewed-on: https://gerrit.libreoffice.org/2475 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885