Commit graph

523 commits

Author SHA1 Message Date
Takeshi Abe
a138709519 Drop comparison with empty rtl::OUString 2012-02-29 01:23:09 +09:00
Stephan Bergmann
0a5dcfe4a1 Adapted AsynchReader to safer-to-use salhelper::Thread 2012-02-23 10:47:36 +01:00
David Tardon
b73e3c5075 libjvmfwk is needed even when building without java 2012-02-17 19:33:33 +01:00
Tor Lillqvist
33b6af0219 We want gb_STDLIBS here surely? 2012-02-17 18:09:55 +02:00
David Tardon
bf16a2e067 update makefiles 2012-02-17 08:34:26 +01:00
David Tardon
096f2b849c merge feature/gbuild_java 2012-02-17 08:34:22 +01:00
Matus Kukan
980e69cd61 add gb_Helper_abbreviate_dirs_native 2012-02-16 07:06:02 +01:00
Matus Kukan
2faa029ade jvmfwk: these are also linked_libs 2012-02-16 07:06:01 +01:00
Tor Lillqvist
c301199804 Merge branch 'feature/android' 2012-02-15 12:00:46 +02:00
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Michael Meeks
7c4c1832cc android: move lo-bootstrap to osl/detail, Attach threads as created 2012-01-26 10:29:38 +00:00
David Tardon
49d432658d WaE: ordered comparison of pointer with integer zero 2012-01-15 20:27:14 +01:00
Gustavo Buzzatti Pacheco
c47f352333 Fix for fdo43460 Part XXII getLength() to isEmpty()
Part XXII
modules
jvmfwk, l10ntools, lingucomponent
2012-01-05 15:07:34 +01:00
Caolán McNamara
697415eb4e WaE and build errors with OSL_DEBUG_LEVEL == 2 2012-01-05 09:18:15 +00:00
Caolán McNamara
6c546d4736 stray trailing ; 2012-01-05 09:18:15 +00:00
David Tardon
3c29bf2260 sunjavaplugin has been renamed 2011-12-26 10:47:24 +01:00
David Tardon
eff62d4138 export libsunjavaplugin's API functions 2011-12-26 10:46:37 +01:00
David Tardon
5ac75ce86a bah, i committed that by mistake 2011-12-25 14:00:39 +01:00
David Tardon
3cca9f6799 use gb_Helper_get_rcfile here 2011-12-25 08:08:08 +01:00
David Tardon
1efe709c95 gbuildize jvmfwk, part 2: finish & clean up 2011-12-24 22:21:14 +01:00
David Tardon
13acf1d965 fix linking issue on windows 2011-12-24 22:21:12 +01:00
David Tardon
8e3ad9e847 make exported symbols visible 2011-12-24 22:21:11 +01:00
David Tardon
e648ad6707 build JREProperties.class 2011-12-24 22:21:09 +01:00
David Tardon
061c9518cd we do not support OS/2 2011-12-23 12:26:15 +01:00
David Tardon
86f2160c6a add lib prefix to sunjavaplugin 2011-12-23 12:25:15 +01:00
David Tardon
3446cda18d gbuildize jvmfwk 2011-12-23 12:21:19 +01:00
Matúš Kukan
f958657cc5 gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO' 2011-12-16 21:20:08 +01:00
Takeshi Abe
0f44079ce2 catch exception by constant reference 2011-12-15 13:52:23 +09:00
Thorsten Behrens
5683109a49 Fix nasty ppc ld crash, correct default return param setting
* on OSX 10.5 PPC, ld crashes with a bus error, presumably because
   of the empty ar[] string array.
 * the "size = 0" default case looks wrong, replaced by *size=0
2011-12-07 18:23:00 +01:00
Tor Lillqvist
5510127e89 Android code refactorig and hacking
Sorry for the large unstructured commit. But hey, the Android code is
experimental so far.

Extract the native lo-bootstrap code into a fairly normal library
built in sal. (Previously it was the JNI part of the "Bootstrap" app.)
Just linkink normally to liblo-bootstrap from C++ code that uses it
works fine, no need to do a dlsym lookup.

Bootstrap is still a subclass of NativeActivity and can thus still be
used as an "app" (to start unit tests, or whatever), but can also be
used from some other app's Java code to just get access to the
lo-bootstrap native methods.

Introduce a new top-level "module", android, for Bootstrap and the
experiments with DocumentLoader.

Note that the experimental DocumentLoader app still crashes. It can't
create the com.sun.star.frame.Desktop instance.

I spent lots of time debugging in the painfully inadequate
ndk-gdb. (Even the newer gdb build from the "mingw-and-ndk" project is
quite crappy in many ways.) I should really experiment with
corresponding code on a normal platform first before even trying on
Android. Basically, I think that if I just can get the concept of Java
code that instantiates and uses LO components *in-process* working on
a normal desktop platform, it should work on Android, too.
2011-11-30 21:52:52 +02:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
bf1f1e9cba remove include of pch header from jvmfwk 2011-11-27 13:13:58 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Korrawit Pruegsanusak
c3dc018984 typos fixing 2011-11-27 15:12:07 +07:00
Tor Lillqvist
591191038e Use ENFORCEDSHLPREFIX for Android 2011-11-26 00:23:47 +02:00
Stephan Bergmann
f95052c29b duplicate "add Oracle Java 1.7.0 recognition" from javavendors_linux -> wnt 2011-11-25 11:01:34 +01:00
Tor Lillqvist
811de66d7f First attempt at getting access to the Java VM on Android 2011-11-25 01:40:23 +02:00
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Tor Lillqvist
f20ffbd845 WaE: unreferenced formal parameters in the !SOLAR_JAVA case 2011-10-03 15:12:58 +03:00
Stephan Bergmann
b03f220061 Force JVM into interpreted mode when running under Valgrind, to avoid false error reports. 2011-09-17 10:59:17 +02:00
Fridrich Štrba
bb5bdbbdca Revert "Trying to chop out the uwinapi library"
This reverts commit 2dea0dab4f.
2011-09-16 16:26:03 +02:00
Fridrich Štrba
2dea0dab4f Trying to chop out the uwinapi library 2011-09-16 15:52:40 +02:00
Hanno Meyer-Thurow
549e54fb2f add Oracle Java 1.7.0 recognition 2011-09-13 13:23:28 +01:00
Julien Nabet
3b56b6ff5f small bugfix : bNeedsSave instead of *bNeedsSave 2011-09-12 07:37:01 +02:00
Rene Engelhard
6683b842e1 fix JFW_PLUGIN_ARCH for OpenJDK/mipsel 2011-08-23 18:15:13 +02:00
Tor Lillqvist
58c9036836 No i prefix for import library with MinGW thanks 2011-06-21 00:02:11 +03:00
Tor Lillqvist
c4bfa78019 Be less picky with library names to match also the static library built for iOS 2011-06-16 10:58:07 +03:00
Tor Lillqvist
7862e397af Drop %_EXT% which was always empty 2011-06-03 13:28:35 +03:00
Caolán McNamara
ae59ac8646 add salhelper::LinkResolver 2011-05-25 08:57:24 +01:00