Commit graph

1709 commits

Author SHA1 Message Date
Stephan Bergmann
e9a09f9e4a dummy_can_throw_anything reportedly needed at least with GCC 4.5.1, too
...see
<http://lists.freedesktop.org/archives/libreoffice/2012-October/039995.html>
"RuntimeException while building"

Change-Id: I038806d4ca1d7a2a2518106ba722509fbe3a7843
2012-10-22 13:42:54 +02:00
David Tardon
83b8685863 add dep on dir
Change-Id: Ic5de7cb3de3e7ef907a8e331a6db7ecccc690d8e
2012-10-16 13:24:32 +02:00
Michael Stahl
8a3014b8e5 bridges: msvc complains about silly options
Change-Id: I8f2124f13e0a77113dc6b99c2f236bd2077f41b2
2012-10-06 00:00:57 +02:00
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Tor Lillqvist
35130c7c4d Make this actually work
Change-Id: Icfe773e8f440372645b7a57dba1ab7f8fac3caaa
2012-10-01 15:42:59 +03:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
80374355ab gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Tor Lillqvist
9f5227d66b Make exceptions work better in the x86-64 MacOSX C++-UNO bridge
Putting the privateSnippetExecutor() assembly code as inline asm
inside an otherwise empty C++ function helps, for some reason.

Use the actual _Unwnd_Exception and __cxa_exception definitions as
used by Apple (from opensource.apple.com libunwind and libcppabi
sources) instead of guessing.

Change-Id: I1ef22a9c0c664d3a357b9a6474406141f53cc490
2012-09-27 23:52:22 +03:00
Tor Lillqvist
0e66cce3a1 WaE: format specifiers in debug output
Change-Id: Ifab851a1294f2e09f31bec9ca517ef6f62b73550
2012-09-27 22:52:56 +03:00
Matúš Kukan
0ed36db9f3 bridges: fix macosx build
Change-Id: If05c724cc0bdebea31c31ba9442710c9d951a0cf
2012-09-27 17:18:37 +02:00
Tor Lillqvist
d83de4b1a9 First attempt at C++/UNO bridge for 64-bit OS X
Basically, a 1:1 copy of the Linux x86-64 one. The Apple docs say that
"The OS X x86-64 function calling conventions are the same as the
function calling conventions described in System V Application Binary
Interface AMD64 Architecture Processor Supplement," which should mean
that it's the same as on Linux.

Once this works, the very minor differences to the Linux one will be
merged as ifdefs into the Linux one, and no separate source files will
be needed.

Change-Id: I1ff58f303a7ab7f59ec2ff7a9e24465e89151ec5
2012-09-27 08:20:44 +03:00
Luboš Luňák
dccddcc20b make gcc-uno bridge work with both gcc-4.7 and clang
It seems b0515ea5fa and e2b7e28c12
conflict, clang requires the extra call, gcc-4.7 crashes with it.
2012-09-26 16:55:37 +02:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
David Tardon
0df1e4a80e use correct directory dependency
Change-Id: If9c42a039700df521175962c5f199a36219eb907
2012-09-24 11:46:49 +02:00
Stephan Bergmann
12a8bc4f9c Remove java_uno.map unused after gbuildification
Change-Id: I05893a797e276fd7b4f5c05c09743def55cb4036
2012-09-24 11:17:14 +02:00
Stephan Bergmann
78b99d37b5 JNIEXPORT -> SAL_DLLPUBLIC_EXPORT after gbuildification
(no longer using map file).

Change-Id: Ib19995e11bd5e8bd5c26d29e2bf298e734a06f1f
2012-09-24 11:15:10 +02:00
David Tardon
1c2285bb36 another attempt to fix android ARM build
Change-Id: I36488341d84cb2db05ba564dafa65add79eff9da
2012-09-24 07:52:15 +02:00
David Tardon
31018fa81f really fix make syntax. i mean it! honestly!
Change-Id: Ic56f7d2db6dcf5ec485ae39891f55ccc5d8b2892
2012-09-23 19:53:22 +02:00
David Tardon
a552748316 fix make syntax
Change-Id: I6414a49f867c71c7a9a17bbcc9acd5da35e3a292
2012-09-23 17:27:19 +02:00
David Tardon
a1bd566a68 fix make module.all
Change-Id: I468c9b6e3381383665ee9c86a485831a176982eb
2012-09-23 15:05:56 +02:00
David Tardon
5858276fae we don't need explicit rule for this target...
Change-Id: Id6d47437dc00045936b1cf4f5df868f2d3a2fc3d
2012-09-23 12:26:06 +02:00
David Tardon
8f6b43052d (hopefully) fix build of bridges on linux ARM
Change-Id: I8d7a10e26858dbbcce9c7c47a1dd9668a35736bd
2012-09-23 12:03:10 +02:00
David Tardon
99cfb6724b Revert "add forgotten asm file to build"
This reverts commit 492f9139c1.
2012-09-23 11:14:52 +02:00
David Tardon
4c56be0e06 gb_AsmObject expects .s extension
Change-Id: I958ad58081821ff31c02df0a1a5efb8406d7a6ee
2012-09-23 08:41:54 +02:00
David Tardon
492f9139c1 add forgotten asm file to build
Change-Id: I5c86e369649e71d785af06437b2af633d6805b8d
2012-09-23 08:40:15 +02:00
David Tardon
d0670bd779 $(gb_STDLIBS) is needed for android
Change-Id: Icc384b5c7e54d997dda45b1397f3a77894cc145c
2012-09-23 07:46:43 +02:00
David Tardon
c994ab6d92 there must always be a bridge built
Change-Id: Ie5bc8a27feed65126bd8bfceff2903029cd20059
2012-09-23 07:20:58 +02:00
David Tardon
b944750a23 fix more copy&pasted conditions selecting bridge to build
Change-Id: Icffcd0733e030b565e3f78f6fff7467a10347f52
2012-09-23 07:17:29 +02:00
Norbert Thiebaud
44f1f1f556 dl is not a usable library on Mac
Change-Id: I4e34538b1da77c36a41b74484afe050ccedf41e3
2012-09-22 23:15:13 -05:00
Norbert Thiebaud
e98ec6f38a brides was not invoking the build of libggc2_uno on Macs
Change-Id: I3f3fe5904ce7cc257fb475b5a91227af7e540293
2012-09-22 23:09:44 -05:00
Matúš Kukan
ce7d6d74d5 bridges: do not use dl for Android
Change-Id: I1ea75cc785645305223294f1a75b142de9d916d7
2012-09-22 13:24:17 +02:00
David Tardon
61c0a3a63d switch bridges to gbuild
Change-Id: Ia19ff61f1f7fb446298472acd6722b57ddaeddec
2012-09-22 08:15:30 +02:00
David Tardon
f2668d319c gbuildize bridges
Change-Id: I66e76da71dd5d6ed1b899aba8d41dfb5bc36da1c
2012-09-22 08:15:30 +02:00
David Tardon
f2ec771cd9 add missing exports
Change-Id: I4cfbcedde049ae205997815786c46941937e2cf7
2012-09-22 08:15:28 +02:00
Tor Lillqvist
79f94fee9e There is no java_uno library to load in the disable-dynloading case on Android
Change-Id: I350aeeb7fb1e00b201077883dd5fd601b42a626b
2012-09-21 14:46:44 +03:00
Tor Lillqvist
f09f52e4ad Need also uno_ext_getMapping for Java when DISABLE_DYNLOADING
Change-Id: I65f09e54c80df4e96e24548692eeb3a57e1de517
2012-09-21 14:46:24 +03:00
Tor Lillqvist
7b72d933f9 WaE: format '%lx' expects 'long unsigned int', argument is 'void*'
Change-Id: Id14a7be627502cb8aa2173f0206c84cd27fab2e6
2012-09-21 10:55:37 +03:00
Tor Lillqvist
69765868e3 DISABLE_DYNLOADING magic also for the jni_uno environment
Change-Id: I5e966a5734308381ad305b891ecfc830dc1419f6
2012-09-20 12:52:15 +03:00
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
Tor Lillqvist
bb4d6a0d89 Make it compile for iOS device, no idea whether it works
Change-Id: I56fdc4894347d9cce4d3b932d3b8740fcb4ef8b7
2012-09-12 19:26:52 +03:00
Tor Lillqvist
21774213d4 WaE: -Wuninitialized
Change-Id: Iba1849abfc9c12c38466fc4294d319a06f413b55
2012-09-12 19:26:51 +03:00
Noel Grandin
6bf09ecf1d Java cleanup, remove unnecessary imports
I guess I missed some last time :-)

Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
2012-09-10 23:43:38 +02:00
Noel Grandin
553a17f665 Java cleanup, rename folders and packages to make them match
Also fix some compile errors. I suspect this is dead code, but on the chance
that it might be useful.....

Change-Id: I0d56df88420ce484b72df626db4fadcebe04d777
2012-09-05 21:01:45 +02:00
Noel Grandin
45999276fa Java cleanup, make the package name match the folder name
Less disruptive than moving the files in this case.

Change-Id: I31f7891ca9c333e1d8c6e1b2c0bba5324f56dbd5
2012-09-05 21:01:44 +02:00
Stephan Bergmann
d110a01252 Some clean up of previous commit
Change-Id: I6507b731665eb3d98a8fbf3d445f6c85e6d49258
2012-09-03 15:55:05 +02:00
Noel Grandin
278379697d fdo#46808, Adapt io::Pipe UNO service to new style
Create a merged XPipe interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-09-03 15:55:04 +02:00
Tor Lillqvist
8b5cf7fb57 For kicks, enable cross-building for Android on MIPS
Change-Id: I6fa2b9a50c525fb2d8666a144409eb9a3ad2698a
2012-08-16 21:05:14 +03:00
Julien Nabet
b80b7ba179 Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
2012-08-06 00:13:27 +02:00