summaryrefslogtreecommitdiffstats
path: root/bridges
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant 'inline' keywordStephan Bergmann2017-03-032-15/+15
| | | | | | | | | | ...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* UNO bridges: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-03-033-32/+2
| | | | | | | Change-Id: Ia6f59f825ead50f92ed7a343df0c01f34ce5c6f8 Reviewed-on: https://gerrit.libreoffice.org/23199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2017-03-037-7/+7
| | | | | | | Change-Id: Iaefa094c82006346897f5563ac3ddcdc60ab68a3 Reviewed-on: https://gerrit.libreoffice.org/34809 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Kill bitrot Emscripten experimentKhaled Hosny2017-02-211-2/+0
| | | | | | | Change-Id: I1cd5331157e684afb01e6555168ce646194c6ff2 Reviewed-on: https://gerrit.libreoffice.org/34493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
* ios update to make TiledLibreOffice compile/linkjan Iversen2017-02-162-0/+6
| | | | | | | | | | | | | changes needed to make TiledLibreOffice compile/link for ios-simulator. Remark: autogen.input need to have --disable-pdfium due to a missing <Carbon/Carbon.h> Change-Id: I3e1af26d99c35c3c552510f28e13a7e530fca09f Reviewed-on: https://gerrit.libreoffice.org/34145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@libreoffice.org>
* Drop :: prefix from std in [a-b]*/Tor Lillqvist2017-02-1520-55/+55
| | | | | | | Change-Id: I0422aaf39bbce889c95ed9a81a0784cb03a1badd Reviewed-on: https://gerrit.libreoffice.org/34320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Support MSVC 15.0David Ostrovsky2017-02-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | New compiler changes quite some stuff: * Compiler detection done based on different registry key * .NET SDK detection done based on different registry key * Msbuild installation directory changed * Merge modules installation directory changed * SDK number in registry doesn't match the directory name: (registry key: 10.0.14393, directory name: 10.0.14393.0) * Compiler, include and library location directories changed * Architecture specific directory changed: x64 instead of amd64 * Compiler own include directory must be added with -I option * To force usage of SDK 10 (8.1 is selected per default) new switch WindowsTargetPlatformVersion is passed to msbuild, to avoid patching VC project files with this line: <WindowsTargetPlatformVersion><SDK>/WindowsTargetPlatformVersion> Known issues: * Firebird is broken: http://paste.openstack.org/show/594333 Change-Id: I148d7932aff43bbbd07bd493504df974726234c2 Reviewed-on: https://gerrit.libreoffice.org/31279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* LEAK_STATIC_DATA is always defined for WNTStephan Bergmann2017-02-123-89/+0
| | | | | | | | | cppu_no_leak and bndchk were remnants from pre-gbuild times Change-Id: Ie9f325c20e39c100b4a7180a9925559f58bcca6b Reviewed-on: https://gerrit.libreoffice.org/34153 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* LEAK_STATIC_DATA is only ever defined for WNTStephan Bergmann2017-02-1119-76/+0
| | | | Change-Id: I1aa7b56b44e5efc8ad407c8d0fe09927f622b5e7
* Remove MinGW supportStephan Bergmann2017-02-1025-4003/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:useuniqueptrStephan Bergmann2017-02-021-4/+4
| | | | Change-Id: I3a246a22baaac8195dc1b94c42994de7d80e8336
* loplugin:stringconstantStephan Bergmann2017-02-011-1/+1
| | | | Change-Id: Ic22b9c0c245cca23770a05518534a666e00f9f3e
* loplugin:stringconstant check for unnecessary OUString constructor..Noel Grandin2017-01-281-1/+1
| | | | | | | | | ..calls when creating exceptions Change-Id: I3bc58a5aa4dc6f0508ecb88b3a843b96b8c7ebfe Reviewed-on: https://gerrit.libreoffice.org/33617 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* iOS bridge: Log function names, not string pointersSamuel Mehrbrodt2017-01-131-2/+2
| | | | | | | Change-Id: I5db7a014e671bbf4b4eca9fcbaba4fdc2363e0f5 Reviewed-on: https://gerrit.libreoffice.org/33053 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix undefined misaligned writesStephan Bergmann2016-12-161-2/+7
| | | | | | same as 26cf118247855bb5caeac3d8e68906fbcfcdc837 for gcc_linux_x86-64 Change-Id: Ieb7a4c0497ea485e832da937786226f09feeff31
* fix sparc64 bridges buildRene Engelhard2016-11-272-8/+8
| | | | Change-Id: Ic8483547966a319d3ecc1ae2fd5dfb785132f687
* New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUStringStephan Bergmann2016-11-232-30/+7
| | | | Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
* Don't rely on __builtin_alloca when creating a call stackStephan Bergmann2016-11-071-16/+29
| | | | | | | | | | | | | | | | | | same as 3f7c8ce1dca7eacb511def7799691be2e3d9a4a6 for gcc_linux_x86-64 (see there for a more detailed commit message; plus trivial follow-up 5e04886917abad0541eb3ef6d51cd5dc0395af21 "Remove spurious vertical whitespace"). Except use labels 'Lpush', 'Lpushed' not starting with a dot ('.Lpush', '.Lpushed'), as otherwise at least macOS 10.12.1 linker (ld64-274.1), when building libgcc3_uno.dylib's __TEXT,__unwind_info section, would use callvirtualmethod.o's __LD,__compact_unwind entry---covering the complete callVirtualMethod function---only for the first part of the function up to the .Lpush label, and would mark the remainder as having no unwind information (a compact_unwind_encoding_t value of 0; see the inline comments in the libunwind-35.3 source code, <http://opensource.apple.com/source/libunwind/libunwind-35.3/>). So if an exception shall pass through that latter part it would lead to std::terminate. Change-Id: Ib1e8a5e4534b11ebe96c3ce774f8e5e8d45476cf
* Drop unnecessary nFPR parameterStephan Bergmann2016-11-073-17/+7
| | | | | | | same as 8a85f9f29f13805af449943990af8af8399ab7b5 for gcc_linux_x86-64 (see there for a more detailed commit message) Change-Id: Ic2765c21834aabf8f7690c0bdab4d6efe6d34585
* Drop unused nGPR parameterStephan Bergmann2016-11-073-7/+5
| | | | | | same as aa04177e7c43d75bc87875a9d8ce2393d7263822 for gcc_linux_x86-64 Change-Id: I2c1e203271aa0038b83c3c55a37eab59411a6857
* clang-cl loplugin: bridgesStephan Bergmann2016-10-167-134/+143
| | | | | | | Change-Id: I46bcc6eb1f34184626d2f584d7164d84f54c2cf8 Reviewed-on: https://gerrit.libreoffice.org/29879 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* replace sal_Size with std::size_t (or sal_uInt64 for SvStream pos)Michael Stahl2016-09-1529-32/+32
| | | | | | | | ... except in include/rtl, include/sal, include/uno, where sal_Size is retained for compatibility, and where callers of rtl functions pass in pointers that are incompatible on MSVC. Change-Id: I8344453780689f5120ba0870e44965b6d292450c
* loplugin:overrideStephan Bergmann2016-09-131-2/+2
| | | | Change-Id: I25cbca130c3e075d614d9bbb63b6264e8e73c165
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-131-2/+2
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* SAL_FALLTHROUGHTor Lillqvist2016-08-202-1/+3
| | | | Change-Id: I9b13e20b873e919aef93e5c7548112c47f57612e
* SAL_FALLTHROUGHTor Lillqvist2016-08-102-0/+3
| | | | Change-Id: I347c13b282ccbd40a5e2e4a504f0c8ee1882d602
* (initial) sparc64 portJames Clarke2016-08-056-0/+2067
| | | | Change-Id: I8ec9bb5415a9e6b9083ba89a7790872d67625de1
* Revert "hack for now"Caolán McNamara2016-07-195-99/+107
| | | | | | | | | This reverts commit f5792667cafef77cc4c142f4261f8b64280bc0fe. it turns out it was the use of an intermediate GtkGrid which made a11y work a little differently under gtk3. Clearly not intended to be pushed. Change-Id: I6931163e07ea413acdd45ba1353f357d317fdfbd
* hack for nowCaolán McNamara2016-07-195-107/+99
| | | | Change-Id: I62673e60ac8785c74fc4f97ad76bcb02c7e28941
* loplugin:nullptr: Better heuristic to determine code shared between C and C++Stephan Bergmann2016-07-112-18/+18
| | | | Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
* Make --enable-symbols orthogonal to --enable-debug/-dbgutilStephan Bergmann2016-07-111-1/+1
| | | | | | | Change-Id: I523bc1d848e40489370eefe00046e0a257ed2505 Reviewed-on: https://gerrit.libreoffice.org/27058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Clarify calculation precedence tdf#39440Muhammet Kara2016-07-051-1/+1
| | | | | | | | | | | Use parentheses to clarify the code. Change-Id: I864dc6dacadb5b9ba9dca8e0abd9fa4e6db1eddc Reviewed-on: https://gerrit.libreoffice.org/25677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* bridges: [loplugin:staticanonymous]Michael Stahl2016-06-211-1/+1
| | | | Change-Id: I9d2c233c7060ea5c7a6bc028a8146ee8b2fd555b
* bridges: [loplugin:nullptr]Michael Stahl2016-06-213-37/+37
| | | | Change-Id: I7386569030fc95553bfb423d23d291430388992b
* bridges: [loplugin:salbool]Michael Stahl2016-06-212-4/+4
| | | | Change-Id: I1924f2b18763e42013c2b5ce80b664674e460fc7
* bridges: -Werror,-Wimplicit-fallthroughMichael Stahl2016-06-213-2/+5
| | | | Change-Id: I1ad51d4dc7e6bddfc5fa8d6252a7d6349bd5dfb7
* tdf#39440 Reduced the scope of the variable cGökhan Gurbetoğlu2016-06-081-2/+1
| | | | | | | Change-Id: I14cf653a661664eeb31015bf8aa94f7c140dd87f Reviewed-on: https://gerrit.libreoffice.org/26002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* Get rid of unnecessary directory levels $D/inc/$DTor Lillqvist2016-05-2775-255/+255
| | | | | | | | 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>
* SAL_FALLTRHOUGH in Windows-only codeStephan Bergmann2016-05-252-2/+4
| | | | Change-Id: If35da46c209746a86687e1c3f60f72f2f08aa681
* Replace comment with SAL_FALLTHROUGHStephan Bergmann2016-05-122-2/+4
| | | | Change-Id: I9ccba0369453af3b4b3328b9fca94429369c6524
* Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann2016-05-103-3/+5
| | | | | | | | | | | | | | | | ...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
* tdf#97499 Fixed containers parameters clearing #7tymyjan2016-04-281-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>
* tdf#97499 Fixed containers parameters clearing #6tymyjan2016-04-281-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>
* bridges/inc/bridges/cpp_uno/bridge.hxx appears unusedStephan Bergmann2016-04-251-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>
* loplugin:salboolStephan Bergmann2016-04-222-4/+4
| | | | Change-Id: I3a96fd12e6fa3a64bd1888373dfce0f8f621aad4
* clang-tidy modernize-loop-convert in b*Noel Grandin2016-04-211-2/+2
| | | | Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-205-10/+10
| | | | Change-Id: Ideaafe1920c9e27de7ed9e9f4fe9fc7cb8c3b6aa
* loplugin:passstuffbyref in variousNoel Grandin2016-04-141-1/+1
| | | | Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
* tdf#94306 replace boost::noncopyable in ..Jochen Nitschke2016-04-045-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>
* Avoid reserved identifiersStephan Bergmann2016-03-104-14/+14
| | | | Change-Id: I0e353e3d892e1d01155dd7e48f8d24597604d3c4