Commit graph

534 commits

Author SHA1 Message Date
David Tardon
2ff039195f use SAL_N_ELEMENTS 2012-04-18 21:01:17 +02:00
David Tardon
ea68b1a897 WaE: parameter 'size' set but not used 2012-04-18 21:01:17 +02:00
David Tardon
ec4f5494da WaE: declaration of 'errcode' shadows a global declaration 2012-04-18 21:01:17 +02:00
Matúš Kukan
0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Julien Nabet
7d2508572a Fix Prefer prefix ++/-- operators
Includes too replacement < by != for comparison between current and end iterators
2012-04-05 21:17:09 +02:00
Matúš Kukan
d26e13bd7a jvmfwk: use CustomTarget makefile 2012-04-04 11:31:56 +02:00
Stephan Bergmann
094cf7caf9 Fix delivery of jvmfwk ini/data files
...that are (also) used during the build (e.g., cd testtools/*/lib &&
./bridgetest_inprocess_java).  Broken by gbuild'ification of jvmfwk.
2012-03-26 17:47:19 +02:00
Andras Timar
fb067f9bb2 replace OpenOffice.org to LibreOffice in registry keys 2012-03-23 11:45:18 +01:00
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