summaryrefslogtreecommitdiff
path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
2014-03-12fdo#68849 Add header guards to bridges/* files.Jason Gerlowski22-0/+68
Change-Id: I8599908ccf1aba9a0843eb41dc16c21455acc5ba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-11"overflow" is one wordTor Lillqvist6-108/+108
Change-Id: Ib36c2c5d55f86aff27081a0da554f6e8a81474ee
2014-03-01Remove visual noise from bridgesAlexander Wilms102-388/+87
Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65 Reviewed-on: https://gerrit.libreoffice.org/8237 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-24fix "fix gcc inline assembler operands usage"Rene Engelhard1-1/+1
Change-Id: I192c30bed60a657e9360bbe1d6dd217c75ed8da6
2014-02-24Restore abandoned lines in bridges/Library_cpp_uno.mkDouglas Mencken1-0/+6
Fixes build error: bridges/Module_bridges.mk:29: *** no bridge selected for build: bailing out. Stop. Change-Id: I1d173e75ade45878e53ed07758783bdb5a7370c8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms31-150/+150
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21loplugin:implicitboolconversion, loplugin:literaltoboolconversionStephan Bergmann1-3/+3
Change-Id: I69bf7b3cace97dc7e1e5c362321b43d38dd36536
2014-02-14Resolves: #i124086# preserve 16byte stack alignment...Herbert Dürr1-1/+16
in gcc3-solaris-intel's uno2cpp bridge Patch-by: Apostolos Syropoulos <asyropoulos123@hotmail.com> Review-by: Herbert Dürr <hdu@apache.org> (cherry picked from commit 95eeed58af27c63977a43c4d688b1467ef3cf047) Conflicts: bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx Change-Id: I92a151c5d65f685a6249954b84da31471501ff9b
2014-02-14Adapt gcc3_linux_intel to Clang 3.4Stephan Bergmann3-24/+42
...same as 5ba3d1740b03efa394b2d2bf34fb8a8d3db2331d "Clean up declaration of __cxa_get_globals" plus c17f01753ce94e9f57d6e4a2763152240fbcd50a "...and similarly for __cxa_allocate_exception and __cxa_throw." Change-Id: I02361cfca260577ce13fb634b5637938daf0283d
2014-02-07auto_ptr -> heap_ptrStephan Bergmann4-39/+16
Change-Id: I2c6bb5c0ad9a844826498a1c8495249dd88a9942
2014-02-06fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi1-11/+3
Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-05static assert is enoughStephan Bergmann1-45/+34
Change-Id: I51be076119b23611f006fb4ebefd8f4bb727ded8
2014-02-02fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi1-39/+2
Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9 Reviewed-on: https://gerrit.libreoffice.org/7761 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann3-6/+0
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
2014-01-28bool improvementsStephan Bergmann2-4/+4
Change-Id: I215bb8c484785175c297953a2ef385b2caf87bee
2014-01-10Use proper bool operationsStephan Bergmann1-1/+1
Change-Id: Ibd904ce1061814e06cd64db607de6f5cfeed1c2a
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin25-30/+30
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-27cppcheck: fix consecutive breakJulien Nabet1-1/+0
Change-Id: I028543f751ed8759f694cc4901d8c89d76867596
2013-12-27Using pre-cached type_infos provided by the typeid operator seems to work nowTor Lillqvist1-3/+13
Apparently there was no problem in this after all. The reason it seemed not to work earlier was because of the unwinding failure due to the missing .cfi_startproc and .cfi_endproc thingies in helper.s The hack in ucbhelper is now not needed after all. Change-Id: If9fec5c502d4c9d0c44709ad9c2729f812e882e2
2013-12-27Add .cfi_startproc and endproc markersTor Lillqvist1-0/+2
Helps a bit... Now, if I revert the hackish arm64 change to ucbhelper, instead of "terminating with uncaught exception" I get "terminating with unexpected exception";) But, at least with the stack correctly unwound to BaseContent::execute(), I think. Actually of course I don't really understand much of this. Change-Id: Iacb4342414cb84f9db31f9a40c7a136cc5d191a6
2013-12-26Add static assertion that our Fake_type_info is the same size as the real oneTor Lillqvist1-0/+3
Change-Id: Id8490bb6373d85be2c529a005be55295c530febb
2013-12-26Need the _LIBCPP_NONUNIQUE_RTTI_BIT here, tooTor Lillqvist1-0/+3
Doesn't help though, throwing exceptions using __cxa_throw() and our hand-crafted type_infos still doesn't work on arm64. Change-Id: If6099e8696e6232c4b6d4bacd654d28419538e0f
2013-12-24Minor logging changeTor Lillqvist1-2/+4
Change-Id: I2d25c7c196d0386a1c38fa55746370a84c2a2398
2013-12-24More informative logging in codeSnippet()Tor Lillqvist1-5/+7
Change-Id: I51bceba0918928812daca3a2c92633b6998b380c
2013-12-24More informative logging in codeSnippet()Tor Lillqvist1-12/+18
Change-Id: I6909ed60b39a65e6a6464427b2f839aa2bff3863
2013-12-23More informative loggingTor Lillqvist2-15/+16
Change-Id: I71b04086ae0418f0a6c988fc71c1e5fee6eed690
2013-12-23Let's try to use basically the same except.cxx for iOS as for OS XTor Lillqvist1-31/+100
Change-Id: Ic4cdf6b91f2a71fc556c8d9c2ba3808f0d953754
2013-12-23Avoid Perl warningsTor Lillqvist1-2/+2
Change-Id: I62ade513bd98e5410c1df14e890e8cc964f1eb25
2013-12-22Fix build break for (32-bit) armTor Lillqvist1-3/+6
Change-Id: I21c81aa1791cab8ac510c87b4a78ad1367fe8b78
2013-12-22iOS arm64 C++/UNO bridge WIPTor Lillqvist4-94/+125
Change-Id: I786cc64fc814c755ba215898026365af26b56205
2013-12-22Log a bit more information in codeSnippet()Tor Lillqvist1-4/+1
Change-Id: Ifecfd55ed7f6a48f1cfea8182a40e8568dfc4780
2013-12-21iOS arm64 C++/UNO bridge WIPTor Lillqvist6-272/+193
Change-Id: I5eb994e4a48b043f463940d1c34ad7a9459b83cd
2013-12-17Add OSX@PowerPC support to UNO/C++ bridgeDouglas Mencken4-0/+1748
It is the same as Linux@PowerPC 32-bit (cp -r gcc3_linux_powerpc gcc3_macosx_powerpc), with differences applied: * Use 13 FP registers and correct 'codeSnippetSize' (8*4 + 13*8 = 136). * Use "frame pointer + 24", not "+8". * Don't USE_DOUBLE_MMAP and 'sal_PtrDiff writetoexecdiff'. * Don't use "__NO_FPRS__", OS X capable PowerPC machines all have FPRs. * Use "rN"/"fN" syntax to avoid "Parameter syntax error" errors. * Include sys/types.h, sys/malloc.h instead of malloc.h; don't include string.h. Change-Id: I5b251c65466af2a06bd309d3a7b1aaf26ac12656 Reviewed-on: https://gerrit.libreoffice.org/7072 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-16Clean-up uno/lbnames.hStephan Bergmann6-5/+2
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-13fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa3-23/+3
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6 Reviewed-on: https://gerrit.libreoffice.org/7066 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-08Intermediate work in progress commit on the arm64 C++/UNO bridgeTor Lillqvist5-20/+1209
Note that the arm64 code is not even close to "working" yet. Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
2013-12-03-Werror=unused-parameterStephan Bergmann1-1/+1
Change-Id: I4dfa96b8ea2684969d9eeecfd88136742ce2d4a1
2013-12-03Clean up string concatenationStephan Bergmann4-133/+77
Change-Id: I83515f8907b000eb0506410e9b04f28f4257a3b8
2013-12-03Clean up use of OSL debug functionalityStephan Bergmann6-279/+209
Change-Id: I1efcdb7359ac43ee50d2f526bc29a10b1bef35b4
2013-12-03Remove long dead workaroundStephan Bergmann1-9/+0
Change-Id: I0a388b0a4bd2dd651e4c65d96aec648115189224
2013-12-03BRIDGES_JNI_UNO_FORCE_BOXED_ANY is undefinedStephan Bergmann1-26/+0
...ever since its inception in 4afcc7135e0bef66e7a218141bc93a6aa6128fd8 "MWS_SRX644: migrate branch mws_srx644 -> HEAD." Change-Id: I82d3158b813fec89567fd94ed9ccc05944228161
2013-11-27Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann1-3/+3
Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-5/+5
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-12Add some more commentsTor Lillqvist3-1/+19
Change-Id: I267cb424deee4d329a0860cf9c87f295fb8fc5bf
2013-11-07fdo#42783: remove CPU variable from environmentMichael Stahl2-17/+17
Replace uses with CPUNAME instead, and get rid of the horrible postgresql patch that worked around environment leakage. Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin1-1/+1
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl1-2/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza2-14/+4
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-12Bin pointless commentTor Lillqvist1-1/+1
Change-Id: I7a873b1275ebc8279958fc14cccbfa99646e4744
2013-10-05WaE: -Wunused-variableThomas Arnhold1-2/+2
Change-Id: I31bdce7f31185faebaf8a8a2162669b185def0c9