summaryrefslogtreecommitdiffstats
path: root/bridges
Commit message (Collapse)AuthorAgeFilesLines
* Java cleanup, convert Hashtable to HashMapNoel Grandin2013-05-061-6/+7
| | | | Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
* Java cleanup, remove unused importsNoel Grandin2013-04-261-1/+0
| | | | Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
* Java cleanup, use generic containers where possibleNoel Grandin2013-04-241-2/+2
| | | | | | | Change-Id: Icd830004de3e121f5b96393e7d7b447775833419 Reviewed-on: https://gerrit.libreoffice.org/3569 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-222-47/+8
|
* Remove any remaining remnants of unused component_canUnload featureStephan Bergmann2013-04-191-8/+1
| | | | Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
* remove unused component_canUnload functionsMatúš Kukan2013-04-194-77/+0
| | | | Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
* Java cleanup, remove unnecessary castsNoel Grandin2013-04-192-7/+7
| | | | | | | Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2013-04-162-3/+3
| | | | Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
* bridge_lib_name is $(gb_CPPU_ENV)_unoMatúš Kukan2013-04-151-23/+13
| | | | | | | Also fix gb_CPPU_ENV := msc6 in WNT_X86_64_MSC.mk to be consistent with the name we register in Repository.mk. Change-Id: I1520d78c378f8c48d65defb22c4c77277bd061f7
* fdo#60724 convertable -> convertibleThomas Arnhold2013-04-151-11/+11
| | | | Change-Id: I6a742f41305c2b4bd9a60aa3a574f6c02fec4752
* bridges: remove unused .map fileMatúš Kukan2013-04-101-26/+0
| | | | Change-Id: Id6e11cef2bdffd6726ac00f9a30e84cf44efe71e
* The OS X x86_64 callvirtualmethod.cxx doesn't work if optimizedTor Lillqvist2013-04-091-1/+2
| | | | Change-Id: Ib7a5cfa3f547364ba04e09d4829b7f3a477c731f
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0728-135/+129
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Pre-cache type_info for com::sun::star::ucb::InteractiveAugmentedIOExceptionTor Lillqvist2013-04-072-15/+17
| | | | | | | | It seems to be the type_info most commonly looked up dynamically, even the only one in an initial test. I think it is a good idea to avoid dlsym() if possible. Change-Id: I0379c534e10efefafdd253ee651f6c74e4aa47d5
* Remove Mac OS X for PowerPC supportTor Lillqvist2013-04-035-1723/+0
| | | | Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
* Remove RTL_CONSTASCII_(U)STRINGPARAM in bridgesChr. Rossmanith2013-04-0237-161/+127
| | | | | | | Change-Id: Id8777ee7f587846399e95cf3b1b37d669a76bae5 Reviewed-on: https://gerrit.libreoffice.org/3139 Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de> Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
* -Wunused-macrosStephan Bergmann2013-03-271-1/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* make bridges work with clang on x64 linuxPeter Foley2013-03-241-1/+2
| | | | Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf
* introduce gb_Module_SKIPTARGETSBjoern Michaelsen2013-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | - this speeds up the old SKIP_TESTS targets build-nocheck and dev-install-nocheck - this allows e.g. tinderboxes, which know that they just completed a build, to only read the files for the tests (and exclude the build itself) - since the dep file can be quite large this might help performance in such scenarios quite a bit - also moving this to extensions as it is merely a performance optimization Conflicts: Makefile.in solenv/gbuild/Module.mk Change-Id: I1265dbacdd9f3731fe755a1b997c2fa5ac1f7421 Reviewed-on: https://gerrit.libreoffice.org/2742 Reviewed-by: Matúš Kukan <matus.kukan@gmail.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* Fix typo in previous commit.Tomas Chvatal2013-03-211-1/+1
| | | | Change-Id: I3b4a23dff3c2db14146351513e9fa1ea5ab3e256
* Fix -mno-avx calls by removing weird OS check.Tomas Chvatal2013-03-211-3/+1
| | | | Change-Id: Icecceda1b36110757754bcdbcecaae307d015fc9
* WaE: '__LP64__' is not defined, evaluates to 0Tor Lillqvist2013-03-201-0/+4
| | | | Change-Id: Ie3b740818b6f705b24e2c718dd47f43ebdb2a3e1
* Add the call.s source for the MinGW caseTor Lillqvist2013-03-191-0/+1
| | | | | | Another blind fix attempt. Change-Id: I5ec2ba5e595a382c53e6975b8dc65644fc8e7409
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-1928-28/+28
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* No -ldl for MinGW eitherTor Lillqvist2013-03-191-1/+1
| | | | Change-Id: I7e74559d2edd1adc9225a935735ba4f6fd7eea24
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1965-189/+187
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Move the WNTGCC case under the case for CPU=ITor Lillqvist2013-03-191-6/+4
| | | | | | Otherwise no case matched for the MinGW build. Change-Id: Ia57c7cf09dbd450c91c4e595c7070ce82b484797
* Insert empty lines for clarityTor Lillqvist2013-03-191-4/+40
| | | | | | Now the outermost if..else if..endif chain should stand out more clearly. Change-Id: I62573aea02d0d0f721e00129d0e40f1b11864527
* Cleanup bridges modulePeter Foley2013-03-1854-8369/+224
| | | | | | | | | | | | | Reduce excessive copy-pasting Remove bridges for C50 and C52 compilers which aren't in configure any more Prevent LTO from being used in the bridges module because it causes crashes Change-Id: I7ff85c2e8d6ff89c5acd48aea415e0960b3ef812 Reviewed-on: https://gerrit.libreoffice.org/2765 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-092-4/+4
| | | | Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
* sal_Bool to boolTakeshi Abe2013-03-043-3/+3
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* Replace rtl::O(U)String with O(U)StringÁdám Csaba Király2013-03-011-13/+13
| | | | | | | | | | | | Other changes include: in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed, 'using namespace ::rtl' replaced with 'using ::rtl::OUString' and 'using ::rtl::OUStringToOString' Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc Reviewed-on: https://gerrit.libreoffice.org/2475 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* RTL_CONSTASCII_USTRINGPARAM removalsKrisztian Pinter2013-02-194-8/+6
| | | | | | | Change-Id: Ib483f271d3c826a2b7192b22a174ff9f7b18c3f8 Reviewed-on: https://gerrit.libreoffice.org/2241 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-308-31/+25
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-2627-0/+54
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Another lacking parenthesisJulien Nabet2013-01-201-1/+1
| | | | Change-Id: If5944101688b0219d2476e5c3b29f704634c3bcc
* iOS C++/UNO bridge fixesTor Lillqvist2013-01-191-3/+3
| | | | | | | | | | | As the inline asm statement stores parameters into r0-r3 we need to include those registers in the clobber list. Clang happened to store pMethod in r2 as input to the asm snippet. iOS uses the basic calling convention, but __ARM_EABI__ is not defined so amend some ifdefs. Change-Id: If3d66c5f3baa4dfa13f82a2b5c2ef1ab559ce31b
* Use SAL logging instead of printfsTor Lillqvist2013-01-191-25/+14
| | | | Change-Id: I6221e686fa36cd9061a2a0342a48aaadef903acf
* More snippets, and cosmeticsTor Lillqvist2013-01-191-8/+8
| | | | Change-Id: I150981237dc642e46751f0824aeda53dbdb59e5c
* Work on the iOS C++/UNO bridgeTor Lillqvist2013-01-1913-1645/+3022
| | | | | | | | | | | | Split uno2cpp.cxx and cpp2uno.cxx into separate files for the emulator (i386) and device (ARM). Much cleaner like that. Try harder to get the ARM stuff to actually work. Add the rtti.h and unwind-cxx.h files from libcppabi as such instead of cherry-picking stuff from them. Change-Id: Ia238a9ce048116ad796dfb168fd4e5d3b9712ad5
* optimize for build targets in one placeMatúš Kukan2013-01-101-1/+1
| | | | Change-Id: Ib886a323c1ade6dcd455a44d3dfc6702086416e3
* add rule for generating fresh pot (po template) filesMatúš Kukan2013-01-101-1/+1
| | | | | | | | | Moved from translations' custom makefile. Change-Id: Ife58bfa3ee607b06617d7db80408afb453b9a10c Reviewed-on: https://gerrit.libreoffice.org/1622 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* Be truthful to the compiler about registers clobbered by asm snippetTor Lillqvist2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The asm code loads values into parameter-passing registers r0-r3. (That is one of the very purposes of the asm snippet.) We need to tell the compiler that. The compiler does not analyze the asm snippet and has no idea by itself what it does. Otherwise the compiler might well put one of the input values to the asm snippet, like the "pmethod" (the value of the pMethod variable) into one of those registers, so that when that value then is used in the asm snippet, *after* r0-r3 have already been modified, it obviously is totally unrelated to pMethod any more, and the result is that the code jumps into hyperspace. Apparently this has worked purely by luck, or thanks to GCC conservatively avoiding using the r0-r3 parameter-passing registers in this way. The problem was noticed when using the same code with Clang. The above analysis tentatively confirmed by Caolán and Jani Monoses, who wrote the code. Change-Id: I3018c2e2ccb83e7a71144425fa404ad28bb955d6
* Get rid of (most uses of) GUITor Lillqvist2012-12-255-6/+6
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-211-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-308-15/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* API CHANGE remove [oneway] method attributesThorsten Behrens2012-11-301-2/+2
| | | | | | | Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
* We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2012-11-282-41/+4
| | | | | | We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97