summaryrefslogtreecommitdiff
path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
2016-04-28tdf#97499 Fixed containers parameters clearing #7tymyjan1-1/+1
Change-Id: Ieb9ab0f9c011a24ba329cfb063e3d7733dd1afcb Reviewed-on: https://gerrit.libreoffice.org/24440 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-28tdf#97499 Fixed containers parameters clearing #6tymyjan1-1/+1
Change-Id: I89ad45eacfffd3783687b158a45f3eda0b95dece Reviewed-on: https://gerrit.libreoffice.org/24433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-25bridges/inc/bridges/cpp_uno/bridge.hxx appears unusedStephan Bergmann1-462/+0
Change-Id: I2b938739ebf4a5b13414bfa8ba27e83dd02b971d Reviewed-on: https://gerrit.libreoffice.org/24370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-22loplugin:salboolStephan Bergmann2-4/+4
Change-Id: I3a96fd12e6fa3a64bd1888373dfce0f8f621aad4
2016-04-21clang-tidy modernize-loop-convert in b*Noel Grandin1-2/+2
Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann5-10/+10
Change-Id: Ideaafe1920c9e27de7ed9e9f4fe9fc7cb8c3b6aa
2016-04-14loplugin:passstuffbyref in variousNoel Grandin1-1/+1
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
2016-04-04tdf#94306 replace boost::noncopyable in ..Jochen Nitschke5-15/+23
.. accessibility, avmedia, basctl, basic and bridges remove boost from module if not needed anymore Change-Id: I6177f8276766a0a7df1703e81bf1b448912df6e2 Reviewed-on: https://gerrit.libreoffice.org/23744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-10Avoid reserved identifiersStephan Bergmann4-14/+14
Change-Id: I0e353e3d892e1d01155dd7e48f8d24597604d3c4
2016-03-04-Werror,-WshadowStephan Bergmann1-2/+1
Change-Id: Ib20a02a846b745b65ffcf9ec1d45b39a6e0c50e4
2016-02-26Use config_cxxabi.h to check for __*class_type_infoStephan Bergmann1-14/+61
...as needed e.g. when building on Linux with clang -stdlib=libc++ against libc++abi Change-Id: I1f6f5ebcf5410c65453549ecea77581ccdaabc17
2016-02-26Adapt __cxxabiv1 for libc++abiStephan Bergmann1-1/+7
...where it has an additional nonstandard member, at least on Linux x86-64. Not sure whether #if defined _LIBCPPABI_VERSION is the best way to distinguish libc++abi from other C++ runtimes, but #define _LIBCPPABI_VERSION 1002 is what it has in its cxxabi.h. Change-Id: I9edbca27aa2bedbc5b2e996fd5ffcfc2e8eb42d9
2016-02-26Declarations based on config_cxxabi.h should be unrelated to _LIBCPP_VERSIONStephan Bergmann1-8/+1
Change-Id: I79049fefad8b626b5c58728b9c05c4952fb97f1a
2016-02-26Use config_cxxabi.h to check for __cxa_eh_globals, __cxa_exceptionStephan Bergmann3-52/+27
Change-Id: I467341da4bccb3afb82518b444cd101b3cdaacc9
2016-02-26cxxabi.h is not specific to GCCStephan Bergmann2-8/+8
Change-Id: Icaf4d4d41a36ae469f826ac08ab641a554dff3c9
2016-02-26Expect _Unwind_Exception to be defined in the compilers' unwind.hStephan Bergmann2-18/+4
Change-Id: Ie27018d21cf356ea5c6953958b466153f93f9a51
2016-02-26Add missing includeDavid Ostrovsky1-0/+1
Change-Id: I454b39a76595aedbbe1ca64f9b1982e5c27623cd Reviewed-on: https://gerrit.libreoffice.org/22708 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-22WaE: vs2015 shadow localNorbert Thiebaud1-7/+7
Change-Id: Ia1cb87653775bf9226bac46842b309d55fbaf084 Reviewed-on: https://gerrit.libreoffice.org/22598 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-09Remove excess newlinesChris Sherlock12-31/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09Formatting changes across all modulesChris Sherlock1-138/+136
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-01Fix loop to actually get executedStephan Bergmann1-4/+2
Change-Id: I736868fbaa0783a2ed8be04c99f440f1cb964048
2016-02-01boost::unordered_map->std::unordered_map in bridgesNoel Grandin1-2/+2
Change-Id: Idf77d0871f932cf94003013db81c1bb67edbef16
2016-01-27Quickfix for Win 64-bit C++ UNO bridge (more than 20 params)Stephan Bergmann1-3/+9
See <https://wiki.documentfoundation.org/Development/msvc-x86_64#Broken_C.2B.2B-UNO_Bridge>, increase the number of supported params to 32 to at least make the ooo.vba.excel.XApplication.Intersect case (and thus CppunitTest_sc_macros_test) work. The true fix will be to abandon this simplistic approach, as elegant as it may have appeared. Change-Id: Ieeb17f682bd5ea8cb7a6188b89978698949461aa
2016-01-09this dir has lain unused for years nowCaolán McNamara59-10973/+0
Change-Id: Ia6638f316b9d7c67e45a30b5808c68b54fdb1680
2016-01-07cppcheck: noExplicitConstructorCaolán McNamara4-11/+11
Change-Id: I94db78ca12e0f3389f00ea5c557f0b64d452f613 Reviewed-on: https://gerrit.libreoffice.org/21150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-05Fix typosAndrea Gelmini1-1/+1
Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727 Reviewed-on: https://gerrit.libreoffice.org/21103 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-19Kill check for ancient FreeBSD versionCaolán McNamara1-4/+0
along the lines of ... commit cee2655445319133095b0f6b19fc5b31d321099f Author: Baptiste Daroussin <bapt@FreeBSD.org> Date: Thu Dec 10 17:38:06 2015 +0100 Kill check for ancient FreeBSD version which removed the other uses of this Change-Id: I56a4448b27683ff8a86e4d760fec4f6bfc2d0bd6
2015-12-15tdf#95903: Fix return value handling in msvc_win32_x86-64 bridgeStephan Bergmann1-14/+30
...where a return value was double-deleted if it was "complex" (i.e., generated by callee into caller-provided memory) but not related to UNO interface types (so doesn't need any mapping, like sequence<css.beans.Property> returned by css.beans.XPropertySetInfo.getProperties). Change-Id: I4cfc16ba63022686afd016ef5b64419e8dee53a4
2015-12-11Kill check for ancient FreeBSD versionBaptiste Daroussin2-12/+0
Change-Id: Ia6f7d55d2d8d346695658549d2e86eef77215377 Reviewed-on: https://gerrit.libreoffice.org/20625 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-10More loplugin:nullptr automatic rewrite (within templates)Stephan Bergmann1-1/+1
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
2015-12-02Work around missing __CxxDetectRethrow in clang-clStephan Bergmann1-0/+6
Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee
2015-11-26default to trying the linux bridge for all linuxy like thingsCaolán McNamara1-24/+40
Change-Id: I1fcf3afadefcd5af472523fd8fca123fb3ab4095
2015-11-19missing namespaceStephan Bergmann1-2/+2
Change-Id: Ib291151508756035fbfde1805ba48e746d96dd59
2015-11-19...and make it clear that RegParamKind /is/ usedStephan Bergmann1-2/+2
...and will not erroneously be removed a third time Change-Id: I7007dbd1d3a1762523c0ce54a04c37a5d2203a48
2015-11-19REGPARAM_INT/FLT /are/ usedStephan Bergmann1-0/+1
...broken with 53f16c39f5c4c69ab603bf9098daec71f7a0acb8 "remove unused typedefs and inline use-once typedefs" Change-Id: I4b1343b98733ae998c7f9c594a86d65348402d28
2015-11-18-Werror,-Wunused-private-fieldStephan Bergmann1-0/+1
Change-Id: I590f8aa06b193e789de86435038d799cf219ffd6
2015-11-18-Werror,-Wdynamic-class-memaccessStephan Bergmann1-1/+1
destination for this 'memcpy' call is a pointer to dynamic class '__type_info'; vtable pointer will be overwritten source of this 'memcpy' call is a pointer to dynamic class 'type_info'; vtable pointer will be copied explicitly cast the pointer to silence this warning Change-Id: Ic9a55dfa11643ac2c7ebc02332325a2f58516d04
2015-11-18-Wmicrosoft-castStephan Bergmann1-2/+2
Change-Id: Idc7b1c8c953634c26aad0923344457eae6fb1583
2015-11-18-Werror,-Wmicrosoft-exception-specStephan Bergmann1-2/+2
Change-Id: Icd92fe15c3534f440017709bcdbe9aadf1c83c6d
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin1-1/+0
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-2/+2
Change-Id: Ic025383863651f1ab70c4a819737106279d9aa1c
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin2-4/+2
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann1-1/+1
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann6-40/+40
Change-Id: If07e4116c43cbddefbf443c4cbd754dde48c90a0
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann21-390/+390
Change-Id: Ib05cdd5a0f2a2e0f4c08504d89d0b6201cbcb429
2015-11-05java:no need to explicitly create these constructorsNoel Grandin1-6/+0
the compiler will do it for you Change-Id: I770670e70a43664a87ce28b48fc822d891d8fb41
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni1-3/+3
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02Pass emit-debuginfo flags to MSVC bridge_noopt_objects, if applicableDavid Ostrovsky1-1/+1
Since df62a2c81bef2bcd96a5f14802e41815f0bdc2da gb_DEBUG_CFLAGS was passed to bridge_noopt_objects target for MSVC to track down EH breakage on 64 bit architecture. It was erroneously done unconditionally. Fix it to only pass when one of: --enable-dbgutil --enable-debug --enable-symbols is present. Change-Id: I2728c30156541be418c88a0ea284c0c6a16abba5 Reviewed-on: https://gerrit.libreoffice.org/19744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-02Remove spurious vertical whitespaceStephan Bergmann1-1/+0
Change-Id: I077a17eada47b9c1509c21c18a6e4cd06172de3b
2015-11-02Don't rely on __builtin_alloca when creating a call stackStephan Bergmann1-19/+31
...at least recent Clang trunk ASan+UBSan build apparently adds instrumentation code that made that (arguably optimistic) setup fail Change-Id: I186a7abdfe5cc69e624583b1281d3989cefd7d53