summaryrefslogtreecommitdiff
path: root/bridges
AgeCommit message (Collapse)AuthorFilesLines
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
2013-10-02Spell "indices" correctlyTor Lillqvist46-644/+644
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02No use using auto_ptr here (spares us a -Werror,-Wdeprecated-declarations)Stephan Bergmann1-4/+3
Change-Id: I5aa9d90d5871e33bf8c76c1ebcaa39c18614294d
2013-10-02Add dummy arm64 code to just get it to compile for nowTor Lillqvist2-2/+19
Change-Id: I9898c0757a2dd495c73bd4b485dd8489f4a2b08e
2013-10-01Untabify and add mode linesTor Lillqvist1-18/+20
Change-Id: I185befe8aebdc13df601b1151b45c62e7291b5c0
2013-10-01Add dummy code for the ARM64 caseTor Lillqvist2-5/+21
Change-Id: I88a871374ecc8d9d59f9b33b5198c0e6c9a2458d
2013-10-01Don't use tabs here eitherTor Lillqvist2-29/+33
Change-Id: I633d73ac04ad97bb71e62a93e7d804cd253b2a31
2013-10-01Use // consistently for comments in the iOS assembly sourcesTor Lillqvist2-156/+155
Change-Id: I60bbf6c309130bbf868745b3ba6fc1c0729d850a
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-23Try to fix cross-compilationTor Lillqvist1-1/+1
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara7-0/+21
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22gbuild: refactor LinkTarget representationMichael Stahl1-2/+2
If the link targets are not in workdir then 2 different aspects are needed: the previously used location relative to workdir's LinkTarget dir (for all the misc. related targets), and the full target file. Adding an additional parameter to all LinkTarget functions would be quite annoying, especially since it would need passing through all the gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode both into the linktarget itself, and modify the functions gb_LinkTarget_get_target to return the target and all others to return the workdir linktargetname. - replace gb_Library_get_linktargetname with either: * gb_Library__get_workdir_linktargetname * gb_Library__get_linktarget_target * gb_Library_get_linktarget - similar for gb_Executable_get_linktargetname - similar for gb_StaticLibrary_get_linktargetname - similar for gb_CppunitTest__get_linktargetname - add calls to gb_LinkTarget__get_workdir_linktargetname where needed Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-09-12CID#705982 ensure umask for mkstempCaolán McNamara1-0/+4
Change-Id: I5c67346d09d04a2d1a781f8fee07c84004aac960
2013-09-11Get Mac OS X libjava_uno.jnilib -> libjava_uno.dylib symlink into instdirStephan Bergmann2-0/+17
...not exactly a nice way to do it, though. Plus, further missing instdir .jnilibs are LibreOffice.app/Contents/MacOS/libhsqldb.jnilib -> libhsqldb.dylib and LibreOffice.app/Contents/ure-link/lib/libjpipe.jnilib (which should not be a symlink but should replace the corresponding libjpipe.dylib completely). Change-Id: I5505704fc52da42e40c8b27185450d3fec8a864d
2013-09-11Improve debug outputStephan Bergmann1-1/+4
Change-Id: Ic7fee2d0ca95279d9809161a7f39480727b070e3
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar1-1/+1
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1