summaryrefslogtreecommitdiffstats
path: root/bridges
Commit message (Collapse)AuthorAgeFilesLines
* fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa2013-12-133-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>
* Intermediate work in progress commit on the arm64 C++/UNO bridgeTor Lillqvist2013-12-085-20/+1209
| | | | | | Note that the arm64 code is not even close to "working" yet. Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
* -Werror=unused-parameterStephan Bergmann2013-12-031-1/+1
| | | | Change-Id: I4dfa96b8ea2684969d9eeecfd88136742ce2d4a1
* Clean up string concatenationStephan Bergmann2013-12-034-133/+77
| | | | Change-Id: I83515f8907b000eb0506410e9b04f28f4257a3b8
* Clean up use of OSL debug functionalityStephan Bergmann2013-12-036-279/+209
| | | | Change-Id: I1efcdb7359ac43ee50d2f526bc29a10b1bef35b4
* Remove long dead workaroundStephan Bergmann2013-12-031-9/+0
| | | | Change-Id: I0a388b0a4bd2dd651e4c65d96aec648115189224
* BRIDGES_JNI_UNO_FORCE_BOXED_ANY is undefinedStephan Bergmann2013-12-031-26/+0
| | | | | | | ...ever since its inception in 4afcc7135e0bef66e7a218141bc93a6aa6128fd8 "MWS_SRX644: migrate branch mws_srx644 -> HEAD." Change-Id: I82d3158b813fec89567fd94ed9ccc05944228161
* Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann2013-11-271-3/+3
| | | | Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-193-5/+5
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* Add some more commentsTor Lillqvist2013-11-123-1/+19
| | | | Change-Id: I267cb424deee4d329a0860cf9c87f295fb8fc5bf
* fdo#42783: remove CPU variable from environmentMichael Stahl2013-11-072-17/+17
| | | | | | | Replace uses with CPUNAME instead, and get rid of the horrible postgresql patch that worked around environment leakage. Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
* remove redundant calls to OUString constructor in if expressionNoel Grandin2013-11-041-1/+1
| | | | | | | | | Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza2013-10-252-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>
* Bin pointless commentTor Lillqvist2013-10-121-1/+1
| | | | Change-Id: I7a873b1275ebc8279958fc14cccbfa99646e4744
* WaE: -Wunused-variableThomas Arnhold2013-10-051-2/+2
| | | | Change-Id: I31bdce7f31185faebaf8a8a2162669b185def0c9
* Spell "indices" correctlyTor Lillqvist2013-10-0246-644/+644
| | | | Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
* No use using auto_ptr here (spares us a -Werror,-Wdeprecated-declarations)Stephan Bergmann2013-10-021-4/+3
| | | | Change-Id: I5aa9d90d5871e33bf8c76c1ebcaa39c18614294d
* Add dummy arm64 code to just get it to compile for nowTor Lillqvist2013-10-022-2/+19
| | | | Change-Id: I9898c0757a2dd495c73bd4b485dd8489f4a2b08e
* Untabify and add mode linesTor Lillqvist2013-10-011-18/+20
| | | | Change-Id: I185befe8aebdc13df601b1151b45c62e7291b5c0
* Add dummy code for the ARM64 caseTor Lillqvist2013-10-012-5/+21
| | | | Change-Id: I88a871374ecc8d9d59f9b33b5198c0e6c9a2458d
* Don't use tabs here eitherTor Lillqvist2013-10-012-29/+33
| | | | Change-Id: I633d73ac04ad97bb71e62a93e7d804cd253b2a31
* Use // consistently for comments in the iOS assembly sourcesTor Lillqvist2013-10-012-156/+155
| | | | Change-Id: I60bbf6c309130bbf868745b3ba6fc1c0729d850a
* typo fixes in commentsAndras Timar2013-09-261-1/+1
| | | | Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
* Try to fix cross-compilationTor Lillqvist2013-09-231-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
* add mode lines to new files (and idls) since last runCaolán McNamara2013-09-227-0/+21
| | | | Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
* gbuild: refactor LinkTarget representationMichael Stahl2013-09-221-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
* CID#705982 ensure umask for mkstempCaolán McNamara2013-09-121-0/+4
| | | | Change-Id: I5c67346d09d04a2d1a781f8fee07c84004aac960
* Get Mac OS X libjava_uno.jnilib -> libjava_uno.dylib symlink into instdirStephan Bergmann2013-09-112-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
* Improve debug outputStephan Bergmann2013-09-111-1/+4
| | | | Change-Id: Ic7fee2d0ca95279d9809161a7f39480727b070e3
* s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar2013-09-071-1/+1
| | | | Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
* The except.cxx for gcc3_macosx_x86-64 can be the same as for gcc3_macosx_intelTor Lillqvist2013-08-301-103/+91
| | | | Change-Id: I567a20dc70b2b9e13965550333f4ed89205c4333
* Make RTTI creation work for libc++Stephan Bergmann2013-08-301-83/+83
| | | | | | | | | Unlike libstdc++.dylib, libc++abi.dylib no longer exports the type info for std::type_info, but the layout of the __cxxabiv1::__*_type_info classes is controlled by the Generic C++ ABI anyway, so consolidate to a single approach that works across all versions. Change-Id: Ic68f2386261bae4a4349ad646590cc15c768f04e
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* remove OUString wrap for string literalsThomas Arnhold2013-06-296-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fix debug build on s390xDavid Tardon2013-06-221-1/+0
| | | | Change-Id: Ic1d5e98f371727f0c452495d5f9cb40ec73ffe9d
* ...and similarly for __cxa_allocate_exception and __cxa_throwStephan Bergmann2013-06-202-17/+20
| | | | Change-Id: I87ae299aac97180f0587c553d85b051decca155c
* Clean up declaration of __cxa_get_globalsStephan Bergmann2013-06-203-9/+25
| | | | | | | | | | | | At least Clang trunk towards 3.4 now rejects incompatible declarations of the same extern "C" function in different namespaces, so that trick of getting at the function that is exported by libstdc++ but only rudimentarily if at all exposed in cxxabi.h no longer worked. TODO: This change should be reflected in any other bridges where it is relevant, too. Change-Id: Ie3ccbdb7d75cc98636d02c0435958532620724f2
* fix debug build on s390root2013-06-161-1/+0
| | | | | | | ... by removing obsolete OSL_ENSURE. nVtableCall was renamed to nFunctionIndex and the same check is done a couple of lines above. Change-Id: Id52b69adceb337049c50a599aefc718498d688c0
* the header file new.h is obsolete on our platformsHerbert Dürr2013-06-081-1/+0
| | | | | | | | | (cherry picked from commit 94e277e997d396ae44e4c13c806fa0f461dafd83) Conflicts: sw/source/core/text/portxt.hxx Change-Id: Ia785878f2b96704fcf858599afba2535b53d6b6f
* fix gcc inline assembler operands usageLuboš Luňák2013-06-057-81/+81
| | | | | | | | | | | | Apparently whoever did these didn't get the gcc docs and specified every operand only as input, and then added volatile, explicit initialization and what not until it worked. Specify output operands correctly instead. I couldn't verify all assembler variants, as I don't know them, but the ones I don't know had at least some proper usage of output operands, so I'll assume those are all correct. Change-Id: I2910308b5e00cce8db756496df50ed26cfe35bb6
* Compiling but not working mingw_x86-64 bridgesFridrich Štrba2013-06-0411-879/+1059
| | | | Change-Id: I5ea6edf367dd18e60a86d12c523b7732a8ac44d4
* Some configury and non-working stubs to start to compiler for Win64 with MinGWFridrich Štrba2013-06-0411-0/+1910
| | | | Change-Id: I907c3ea083e8d7f9e48fc62dd6d5b783639438cb
* compile callvirtualmethod with -fnon-call-exceptionsCaolán McNamara2013-05-291-4/+20
| | | | Change-Id: Ibcf70dd5626474bb2a023ce43d7ac661401fd1cb
* optimization fix to UNO bridge's callVirtualMethod() for generic x86_64Herbert Dürr2013-05-291-2/+4
| | | | | | | | | | | | | | if the pCallStack variable is optimized out then any assumptions of the method's inlined assembler about stack layout collapse. Adding a pseudo dependency to the pCallStack variable solves that problem (cherry picked from commit 254359b9ed96152091b8f7a74a3442cf6c553e04) Conflicts: bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx Change-Id: I5ba7713c2630bb3ecc4343632e796c38541bcd0e
* Bypass the type_info generation when using libc++ for gcc3_macosx_intel, tooTor Lillqvist2013-05-281-0/+9
| | | | | | | (It causes linker errors, type_info destructor not found and a few others. Possibly this is a bug in Apple's libc++abi?) Change-Id: I50bc97c8e061ff47d4ff16f31d37cfe3b4f5a010
* Bypass dynamic type_info generation for now when using libc++Tor Lillqvist2013-05-281-0/+9
| | | | | | | The type_info crack is even harder in the libc++ (with Clang, on OS X) case, sigh. Punt for now and let's see what happens... Change-Id: I17c3a4d9d933acfbf554649c9ec8b6fb5213f2f0
* Don't export a variable called PATH_SEPARATORTor Lillqvist2013-05-154-16/+16
| | | | | | | | | | | | It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling, it breaks the build of 3rd-party libraries using autoconfigury on Windows. The value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those libs run in Cygwin and assume that a PATH_SEPARATOR environment variable should be correct for Cygwin. Which ";" isn't. Rename the variable to LIBO_PATH_SEPARATOR. Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-155-17/+17
|
* add some documentation links to the assembler needed for the UNO bridgesHerbert Dürr2013-05-091-0/+3
| | | | | | | | | | | | | | ceterum censeo: good old C-linkage interoperability would be much more robust, reliable and easier to maintain compared to the current UNO-bridges approach of emulating the behaviour of the individual compiler, linker, dylib, unwind, etc. environments and thus being extremely platform specific. What an incredible waste of energy for little (if any) gain. SCNR. (cherry picked from commit c9fe5d026f2081d493a198a33cf3b1d558166965) Conflicts: bridges/source/cpp_uno/gcc3_freebsd_x86-64/call.s Change-Id: I728bce449e8e56572f31b50fb1452d1c2f9d7fea