summaryrefslogtreecommitdiff
path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
2015-07-16loplugin:simplifyboolStephan Bergmann2-4/+4
Change-Id: I2a112a1e0b1761e1d05f789c6defb9d2bb6aa8de
2015-07-13bridges: mips64: Fix build failure in new codes.Heiher2-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>
2015-07-11bridges: mips64: Update call frame information.Heiher1-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>
2015-07-10ppc64: using a fp register also consumes a gp register slotCaolan McNamara2-6/+16
Change-Id: Idf6f40081f4598c0fa9d1e10bdc208eae49e4cd1 Reviewed-on: https://gerrit.libreoffice.org/16936 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-10ppc64: simplify this a littleCaolan McNamara1-37/+24
Change-Id: I8166f65625d389a604750852d6d5a4fee25a88fa Reviewed-on: https://gerrit.libreoffice.org/16935 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-10tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe6-11/+10
with the variadic variants, in binaryurp / bridges. Change-Id: I2d158c24e73681907cae5815d4b07b1c74f74335 Reviewed-on: https://gerrit.libreoffice.org/16792 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10bridges: Add support for linux mips64.Heiher7-0/+1853
Change-Id: I71fd2f7d8bfd1b1511dec91f23b61b9f55d21472 Reviewed-on: https://gerrit.libreoffice.org/16845 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-04Fix typosAndrea Gelmini5-6/+6
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-02loplugin:unusedmethods bridges,ucbhelper,io,pyunoNoel Grandin1-8/+0
Change-Id: I483deb33b9d861af679d4a36e13585345401e10d Reviewed-on: https://gerrit.libreoffice.org/16681 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-30Revert "Revert "Typo: repsent->represent""Stephan Bergmann1-1/+1
This reverts commit 09b4cbe977c755a447f97034189b85998f358d79, no good reason to revert the original commit in the first place. Conflicts: bridges/test/java_remote/Bug107753_Test.java Change-Id: I6d3d50887460fd15080c46782c29a653c3684bec
2015-06-26Use declarations from cxxabi.hStephan Bergmann2-7/+3
Change-Id: Ie9bf973e87bf571e19ba036dac3a41054eaed568 Reviewed-on: https://gerrit.libreoffice.org/16520 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-06-26Remove workarounds for no longer supported GCC 4.6Stephan Bergmann4-35/+1
In bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx, the #if also covered Clang, which actually needs these declarations (for now; the right fix will probably be to #include <cxxabi.h>). Change-Id: I1eebd59e2371f3498d740ab78244927358c4f23f
2015-06-23Revert "Typo: iff->if"Julien Nabet6-6/+6
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Revert "Typo: repsent->represent"Julien Nabet1-1/+1
This reverts commit 338161a41d6e01b8e8d8752d9a38cc5c7a63f288.
2015-06-23Typo: repsent->representJulien Nabet1-1/+1
Change-Id: I8affe5b6f388edf063460dabed743f16917d75e9
2015-06-23Typo: iff->ifJulien Nabet6-6/+6
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-22MSVC 64-bit: In queryInterface optimization, copy hidden ret val addrStephan Bergmann1-0/+1
...to location where privateSnippetExecutor will pick it up to return it from RAX. Change-Id: I59b8db1a12177a3c4da4c810770bee4ace295115
2015-06-16Fix typosAndrea Gelmini1-1/+1
Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15Work around change in JNI func sigs between Java 6 and 7Stephan Bergmann1-25/+32
Change-Id: I8f6a988ef8bd3642fe6997170dfb50935e6bf3b6
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2-3/+3
Change-Id: I73626dd83aed5a226b67b5b18049ca82c86f9b3b
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini1-1/+1
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-2/+2
Change-Id: Iec7b56a49924acfc6cb15c17ea6a4c9d3ee196b0
2015-05-08jboolean-related clean-upStephan Bergmann3-8/+7
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-04-28ppc64: do not use asm block to retrieve argsDavid Tardon1-36/+29
Some versions of gcc clobber one of the registries that are used to pass arguments in the function's prologue, like: Dump of assembler code for function (anonymous namespace)::privateSnippetExecutor(): 510 { 0x00003fffaffe8454 <+0>: mflr r0 0x00003fffaffe8458 <+4>: std r0,16(r1) 0x00003fffaffe845c <+8>: std r29,-24(r1) 0x00003fffaffe8460 <+12>: std r30,-16(r1) 0x00003fffaffe8464 <+16>: std r31,-8(r1) 0x00003fffaffe8468 <+20>: stdu r1,-352(r1) 0x00003fffaffe846c <+24>: mr r31,r1 => 0x00003fffaffe8470 <+28>: ld r8,-28688(r13) 0x00003fffaffe8474 <+32>: std r8,312(r31) 0x00003fffaffe8478 <+36>: li r8,0 Reading the registries through variables makes gcc aware that they are used, so it does not touch them. It has got no negative effect on performance, as it produces the same object code as the current asm block. Change-Id: I3b99b0aa9944f9f33de9a42508e9d4dd23cec5e0
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann28-0/+28
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin8-14/+14
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-07loplugin:cstylecast, loplugin:redundantcastStephan Bergmann3-16/+16
Change-Id: If5d839b05c1babecc84b76d2bcdf47009d0f713c
2015-04-02loplugin:redundantcastStephan Bergmann4-41/+55
Change-Id: I43264a975febf0d62271ab4e7d8cc96246956124
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann1-1/+1
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann44-85/+74
Change-Id: I37d1a939c1a98f77152ed90dfb201446101f3157
2015-03-31bridges: acquire is not a member of rtl::OUStringMichael Stahl2-2/+2
Change-Id: Ie95f74966ff951b2b3161efeb073f0648c09ff3b
2015-03-31Use OUString::unacquiredStephan Bergmann16-42/+42
found with git grep -E '\* *\<reinterpret_cast\>[^>]+\<OUString\>' Change-Id: I9306d4ad8e3b1664f54cb7df86f2d79bfd3c6cb9
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann9-23/+23
Change-Id: I19b86fba87df57c4c65c658d051b664c527214eb
2015-03-30Turn macros into functionsStephan Bergmann1-31/+45
Change-Id: I390fc815c32fa0eeeabf4d80a17bc4deedad2d2c
2015-03-29loplugin:cstylecastStephan Bergmann4-11/+11
Change-Id: I7fd4ec85eac0693ae6a61ba0b854dd6091bdc6ef
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann10-156/+156
Change-Id: I5c0372bce2564e58c78daf544cfcb106387c6894
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2-2/+2
Change-Id: Ic97da0ff2b0f62e0351271bf03329b1903b8d45c
2015-03-13loplugin:cstylecast (gcc3_linux_intel)Stephan Bergmann3-26/+26
Change-Id: I89c3c2c63c1c1b7478d94c713341db1cd24f0ab8
2015-02-24Fix MI RTTI (as needed by -fsanitize=vptr)Stephan Bergmann1-3/+26
Change-Id: Idbde54c641531b34f397d07c5f929870c3a82371
2015-02-19Adapt gcc3_solaris_intel bridge to GCC 4.7Gabriele Bulfon4-85/+171
...similarly to 0fdbb5b0eabbaa571f3747fda12a56c938cba474 "Make cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7" Change-Id: Idcafcb07678d02446172d7fde30631a342f6437e
2015-02-07loplugin:deletedspecialStephan Bergmann6-16/+16
Change-Id: Ifac86f4d7e637e9fdbce7e60f6d383e7dca69508
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara3-17/+14
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-02add back typedef (regression from fe480d8136b204c8dc6c68916cce7e816f8b9c48)Andras Timar1-1/+1
Change-Id: Ia367fcd3b204b9dd96f5fa6d3a52d0895bd9c0c9
2015-01-29Extract loplugin:redundantcast from loplugin:cstylecastStephan Bergmann1-3/+3
Change-Id: I08f17dd9cc092206083ff41bbbc178e0322e86d0
2015-01-29loplugin:cstylecast (Mac OS X)Stephan Bergmann1-2/+2
Change-Id: Ia8f2c9f1c1c284708a2cbde379197ec6ba58742f
2015-01-29rhbz#1186897: bridges: oops, fix s390 bridge buildMichael Stahl2-2/+2
Change-Id: I5f2393b13729ab43ad2cfd4a3f960a507e3e608b
2015-01-28fix enable-assert-always-abort buildCaolán McNamara1-5/+2
Change-Id: Icbab4d030877f978babfc51f984fb4793b60f681
2015-01-28Some more loplugin:cstylecast clean-upStephan Bergmann4-8/+8
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-28remove unused typedefsNoel Grandin1-1/+0
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann2-10/+10
Change-Id: Iaefde6a2fbe1b37f31435217c9f57d611d255b11