summaryrefslogtreecommitdiffstats
path: root/bridges
Commit message (Collapse)AuthorAgeFilesLines
* Fix loop to actually get executedStephan Bergmann2016-02-011-4/+2
| | | | Change-Id: I736868fbaa0783a2ed8be04c99f440f1cb964048
* boost::unordered_map->std::unordered_map in bridgesNoel Grandin2016-02-011-2/+2
| | | | Change-Id: Idf77d0871f932cf94003013db81c1bb67edbef16
* Quickfix for Win 64-bit C++ UNO bridge (more than 20 params)Stephan Bergmann2016-01-271-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
* this dir has lain unused for years nowCaolán McNamara2016-01-0959-10973/+0
| | | | Change-Id: Ia6638f316b9d7c67e45a30b5808c68b54fdb1680
* cppcheck: noExplicitConstructorCaolán McNamara2016-01-074-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>
* Fix typosAndrea Gelmini2016-01-051-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>
* Kill check for ancient FreeBSD versionCaolán McNamara2015-12-191-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
* tdf#95903: Fix return value handling in msvc_win32_x86-64 bridgeStephan Bergmann2015-12-151-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
* Kill check for ancient FreeBSD versionBaptiste Daroussin2015-12-112-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>
* More loplugin:nullptr automatic rewrite (within templates)Stephan Bergmann2015-12-101-1/+1
| | | | Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
* Work around missing __CxxDetectRethrow in clang-clStephan Bergmann2015-12-021-0/+6
| | | | Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee
* default to trying the linux bridge for all linuxy like thingsCaolán McNamara2015-11-261-24/+40
| | | | Change-Id: I1fcf3afadefcd5af472523fd8fca123fb3ab4095
* missing namespaceStephan Bergmann2015-11-191-2/+2
| | | | Change-Id: Ib291151508756035fbfde1805ba48e746d96dd59
* ...and make it clear that RegParamKind /is/ usedStephan Bergmann2015-11-191-2/+2
| | | | | | ...and will not erroneously be removed a third time Change-Id: I7007dbd1d3a1762523c0ce54a04c37a5d2203a48
* REGPARAM_INT/FLT /are/ usedStephan Bergmann2015-11-191-0/+1
| | | | | | | ...broken with 53f16c39f5c4c69ab603bf9098daec71f7a0acb8 "remove unused typedefs and inline use-once typedefs" Change-Id: I4b1343b98733ae998c7f9c594a86d65348402d28
* -Werror,-Wunused-private-fieldStephan Bergmann2015-11-181-0/+1
| | | | Change-Id: I590f8aa06b193e789de86435038d799cf219ffd6
* -Werror,-Wdynamic-class-memaccessStephan Bergmann2015-11-181-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
* -Wmicrosoft-castStephan Bergmann2015-11-181-2/+2
| | | | Change-Id: Idc7b1c8c953634c26aad0923344457eae6fb1583
* -Werror,-Wmicrosoft-exception-specStephan Bergmann2015-11-181-2/+2
| | | | Change-Id: Icd92fe15c3534f440017709bcdbe9aadf1c83c6d
* remove unused typedefs and inline use-once typedefsNoel Grandin2015-11-181-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>
* Don't assume sal_Unicode is unsigned shortStephan Bergmann2015-11-171-2/+2
| | | | Change-Id: Ic025383863651f1ab70c4a819737106279d9aa1c
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-152-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>
* Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann2015-11-121-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>
* loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann2015-11-106-40/+40
| | | | Change-Id: If07e4116c43cbddefbf443c4cbd754dde48c90a0
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-1021-390/+390
| | | | Change-Id: Ib05cdd5a0f2a2e0f4c08504d89d0b6201cbcb429
* java:no need to explicitly create these constructorsNoel Grandin2015-11-051-6/+0
| | | | | | the compiler will do it for you Change-Id: I770670e70a43664a87ce28b48fc822d891d8fb41
* tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni2015-11-021-3/+3
| | | | | Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* Pass emit-debuginfo flags to MSVC bridge_noopt_objects, if applicableDavid Ostrovsky2015-11-021-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>
* Remove spurious vertical whitespaceStephan Bergmann2015-11-021-1/+0
| | | | Change-Id: I077a17eada47b9c1509c21c18a6e4cd06172de3b
* Don't rely on __builtin_alloca when creating a call stackStephan Bergmann2015-11-021-19/+31
| | | | | | | ...at least recent Clang trunk ASan+UBSan build apparently adds instrumentation code that made that (arguably optimistic) setup fail Change-Id: I186a7abdfe5cc69e624583b1281d3989cefd7d53
* Pass emit-debuginfo flags into special bridge compilations, if applicableStephan Bergmann2015-11-021-3/+5
| | | | | | | (i.e., if any of --enable-dbgutil, --enable-debug, or --enable-symbols); introduce gb_DEBUGINFO_FLAGS for the platform-specific flags Change-Id: I4306fa30ced57d40d5b1206a0b26a886411118ef
* bridges: loplugin:cstylecastMichael Stahl2015-10-302-8/+8
| | | | Change-Id: I8613f1f7f2155aa972fa4f841ebfcf6e07e45821
* UNO: no need to use OUString constructor when calling createInstanceNoel Grandin2015-10-303-6/+4
| | | | | | | Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* use uno::Reference::set method instead of assignmentNoel Grandin2015-10-305-8/+6
| | | | Change-Id: I58410209f32f988f258a588364e0b037c2790211
* tdf#39440: fix several warnings reported by cppcheckSerge Krot2015-10-253-3/+3
| | | | | | | Change-Id: I560d28b7cc67740c6479494d0e5aa62d2ac6ffae Reviewed-on: https://gerrit.libreoffice.org/19587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-2/+2
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-128-21/+21
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt2015-10-051-0/+2
| | | | | | | | | See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosAndrea Gelmini2015-10-022-2/+2
| | | | | | | Change-Id: I776c517ba87838c0c3391f79010a30fa7fe2abd3 Reviewed-on: https://gerrit.libreoffice.org/18939 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* bridges: fix build with --enable-assert-always-abortMichael Stahl2015-09-302-5/+3
| | | | Change-Id: I6079481046ca3f7d66975d41fccc15b862a3223b
* Return the std::unique_ptr itself here, not a raw pointerStephan Bergmann2015-09-281-11/+12
| | | | Change-Id: I786e05bebd243d661ced147ad51e4a843916a3b0
* Fix typoMatteo Casalin2015-09-131-1/+1
| | | | Change-Id: I81e897153281a70756ffd442f9384751c025c016
* cppcheck: Mismatching allocation and deallocationJulien Nabet2015-09-131-5/+5
| | | | | | + Typo: excecptionTypeSizeArray->exceptionTypeSizeArray Change-Id: I6fac3bea1eba094e87717d20a08ec7cf6151e2df
* Actually fix uno bridge on MSVC 14.0David Ostrovsky2015-09-123-8/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VC runtime was substantially refactored on MSVC 14.0. Among other, _tiddata structure defined in crt/src/mtdll.h was replaced with __vcrt_getptd defined in crt/src/vcruntime/vcruntime_internal.h. All members before unsigned long _NLG_dwCode were removed, so that the approach to access the member void * _tpxcptinfoptrs; /* ptr to exception info pointers */ with __pxcptinfoptrs() and compute the offset to the _curexception member of _tiddata doesn't work on MSVC 14.0. As of MSVC 14.0 __vcrt_getptd symbol isn't exported but Microsoft have introduced methods to access current exception, current exception context and processing throw (the later can be accessed through C++17 std::unhandled_exceptions() that was made available in MSVC 14.0): * __current_exception() * __current_exception_context() * __processing_throw() aka std::unhandled_exceptions() Make use of __current_exception() which we can hope will be maintained going forward. Change-Id: Ibfffa5fba62d6928328ac976cb1b24937277363e Reviewed-on: https://gerrit.libreoffice.org/18475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* Fix x86-64 bridge on MSVC 14.0David Ostrovsky2015-09-021-1/+2
| | | | | | | Change-Id: I6729a5028351a8a1c3d2b2d2f4bc7ab73e0730f2 Reviewed-on: https://gerrit.libreoffice.org/18213 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* cppcheck: noExplicitConstructorCaolán McNamara2015-08-172-7/+7
| | | | | | | | Change-Id: I4bdbcd9debdf6a385d3b6f199b71b09d7e27b0fa Reviewed-on: https://gerrit.libreoffice.org/17810 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* cppcheck: various msvc_win32_intel fixesCaolán McNamara2015-08-171-9/+18
| | | | | | | | Change-Id: Iaa9e6e255596bbc47224688a465c31de3c88f78f Reviewed-on: https://gerrit.libreoffice.org/17808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:simplifyboolStephan Bergmann2015-07-162-4/+4
| | | | Change-Id: I2a112a1e0b1761e1d05f789c6defb9d2bb6aa8de
* bridges: mips64: Fix build failure in new codes.Heiher2015-07-132-3/+3
| | | | | | | Change-Id: I17fe0fb0ce9341a638b2687e7690777a8de7fa01 Reviewed-on: https://gerrit.libreoffice.org/16980 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* bridges: mips64: Update call frame information.Heiher2015-07-111-0/+2
| | | | | | | | Change-Id: I00bf0eaa69b3276b1baf18f4fa191ceaf1bc2f18 Reviewed-on: https://gerrit.libreoffice.org/16944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>