Commit graph

264 commits

Author SHA1 Message Date
Norbert Thiebaud
bf1f1e9cba remove include of pch header from jvmfwk 2011-11-27 13:13:58 -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
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
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
Rene Engelhard
6683b842e1 fix JFW_PLUGIN_ARCH for OpenJDK/mipsel 2011-08-23 18:15:13 +02:00
Caolán McNamara
ae59ac8646 add salhelper::LinkResolver 2011-05-25 08:57:24 +01:00
Caolán McNamara
693d7797ac use comphelper::resolveLink 2011-05-25 08:57:24 +01:00
Caolán McNamara
71d97cfc1e resolve symbolic links to jvm dirs for especially smoketest inside ooenv 2011-05-24 15:49:45 +01:00
Julien Nabet
474d8ffd63 Some cppcheck cleaning 2011-05-17 12:44:26 +02:00
Christina Rossmanith
c776e24f16 remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (ure) 2011-04-19 20:40:32 +02:00
Francois Tigeot
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00
Rene Engelhard
8890bf7cd2 jvmfwk-gij-paths.diff: more gij/libgcj paths 2011-04-01 14:19:44 +02:00
Petr Mladek
904afe741b tiny clean up; removed unwanted comma in array intialization 2011-03-30 20:07:46 +02:00
Petr Mladek
92a2b2fbb0 jvmfwk-modified-javavendors-xml.diff: autodetect java (i#99619)
select the java automatically when the system javavendors.xml is modified
do not force to do it the user manually
2011-03-30 14:49:41 +02:00
Takeshi Abe
e571d06fa3 Fixed typo 2011-03-24 23:38:25 +09:00
Hanno Meyer-Thurow
6cd98b3d9d Merge Gentoo patches from old build and downstream repositories.
1. Do not add compiler default include and library path: potentially build
   against different version of system library than requested by the user.
2. Add a configure option to disable Python2 (PyUNO) bindings. Python3 is
   available for more than two years. Noone cares, therefore rest in peace.
   Python2 is going to be ditched at some point. Simply do not fail then.
   Windows builds need to be updated for BUILD_TYPE: "PYUNO". Or how is it
   handled nowadays?
3. Fix sandbox violation in officecfg module: rm /bin/<language>.zip
4. Add a configure option to search only in one place for JVMs, which is quite
   interesting for Linux Distributions. Enforce the user to place JVMs in one
   base directory.
5. Fix build for libxml-2.7.8 with ICU support.

* config_office-XINC-XLIB-defaults.diff: (1)
* disable-python.diff: (2)
* gentoo-sandbox.diff: (3)
* jvm-search-path.diff: (4)
* libxmlsec_fix_extern_c.diff: (5)
2011-03-14 18:51:13 +01:00
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Thomas Arnhold
6488e5f120 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Takeshi Abe
b406c51330 removed dead code; fix a comment 2011-03-04 01:41:18 +09:00
Julien Nabet
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
Hanno Meyer-Thurow
9f5042e4a5 search for server jvm if client jvm not found 2011-02-15 21:22:50 +00:00
Thomas Arnhold
1a6617cf05 Clean up makefiles 2011-02-01 18:22:56 +01:00
Tor Lillqvist
d2d18606f8 Add the location of the 64-bit jvm.dll 2011-01-26 23:08:51 +02:00
Caolán McNamara
3bf43b8d8e cppunit: prefer prefix variant 2011-01-06 14:01:56 +00:00
Caolán McNamara
5bbb8daba0 cppcheck: prefer prefix variant 2011-01-01 21:02:08 +00:00
Caolán McNamara
8d5581f95d cppcheck: prefer prefix variant 2010-12-23 21:02:38 +00:00
Caolán McNamara
06e78a1e27 cppcheck: prefer prefix variant 2010-12-23 16:30:14 +00:00
Tor Lillqvist
bcc6d1863f Drop inclusion of tools/prewin.h and postwin.h from sunjavaplugin.cxx
That file compiles fine without them. These headers are in tools,
which hasn't been built and delivered yet when sunjvmfwk is built. We
can't add tools to the dependencies of jvmfwk as that would introduce
circularity.

As such, I see no reason why prewin.h and postwin.h are in tools. I
think they should be in solenv, like premac.h and postmac.h. It would
perhaps be an Easy Hack to move them, and drop the "tools/" from all
lines including them?
2010-12-23 16:18:23 +02:00
Tor Lillqvist
debf1d0568 Load msvcr71.dll needed by JVM using explicit path, see fdo#32426 2010-12-22 15:55:22 +02:00
Robert Nagy
e4e55e1bf9 JFW_PLUGIN_ARCH/server is needed on OpenBSD 2010-11-08 19:51:12 +01:00
Jan Holesovsky
752d233ca1 Merge commit 'ooo/OOO330_m13' 2010-11-01 13:54:58 +01:00
Caolán McNamara
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
Joachim Lingner
f1b79dae76 jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6 2010-10-26 12:28:33 +02:00
Joachim Lingner
95b9ae9cd7 jl162 #i115180# OOo does not find VM runtime library of Java 1.6.0_22 on Mac 2010-10-21 16:14:09 +02:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Petr Mladek
334bef4563 remove include guards using fixguard.py 2010-10-05 18:12:51 +02:00
Caolán McNamara
d941d8c336 linuxaxp01: #i110145# first cut 2010-03-15 16:02:56 +00:00
Ivo Hinkelmann
9a832a9bdb CWS-TOOLING: integrate CWS sb119 2010-03-03 13:14:00 +01:00
Ivo Hinkelmann
8d3a433eff CWS-TOOLING: integrate CWS jl145 2010-03-02 19:50:45 +01:00
sb
e3e1a6da80 sb119: merged in DEV300_m72 2010-02-26 09:55:56 +01:00
sb
4a57e561bf sb111: merged in DEV300_m72 2010-02-25 13:53:42 +01:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
sb
83a44a2e1c sb119: #i108476# removed obsolete code that deactivates osl signal handler; fixed signature of JNI abort_handler 2010-01-20 10:57:46 +01:00
Joachim Lingner
3644d82a15 #jl145: #i106849# resolving link to a directory not working by applying the first fix. Redone and added a relative base URL file:/// in the call to osl_getAbsolutFileURL 2010-01-18 12:24:16 +01:00