summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins
AgeCommit message (Collapse)AuthorFilesLines
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-5/+5
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-3/+3
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-30Avoid using gconftool. Atk provides a11y not Java on Unix.Michael Meeks1-3/+13
cf. comment in framework header. Should have no impact on real run-time Java a11y, which would be enabled later as-needed; only on JRE selection. For extreme corner-cases, where your auto-selected JRE has no a11y support either select another JRE in the UI or: $ export JFW_PLUGIN_FORCE_ACCESSIBILITY=1 to override. Change-Id: I59a6428e5a11664b75c29580cad76eb9500db45a
2013-10-14Revert "Related: #i119525# List only JREs whose jvm library can be loaded"Markus Mohrhard1-22/+0
This reverts commit 37ca14359b8c4027f1d9f9569ddfa2740cd2731e. This breaks the loading of the jvm.dll on Windows if the msvcr*.dll is not in the system path.
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-4/+4
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-0/+5
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-06-29remove some createFromAscii usageThomas Arnhold1-1/+1
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-02jvmfwk: de-Pascalize do_msvcr71_magicMichael Stahl1-11/+7
The uninitialized Module variable causes the smoketest to fail when built with MSVC 2012 (assinging to it raises some weird exception). Change-Id: I77b3b591a94f4dfbb373938e3787f75e6a8e09c5
2013-05-29Related: #i119525# List only JREs whose jvm library can be loadedAriel Constenla-Haile1-0/+22
(cherry picked from commit 0b31fa19e50d8259d3cbe695723ea02e2c5ff711) Change-Id: I1f96c6239d7278c4eb0c17b69f9d35e08eb8260b
2013-05-28Related: #i121715# find official JRE>=7 on OSXHerbert Dürr1-0/+1
(cherry picked from commit a3eded9728647bde4af68b9f3c75a51dc0676fc7) Conflicts: jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx Change-Id: I5ec6aa62147f9b3fb3e5142fbc2658c0b54f21b8
2013-05-18Clearer javaldx messageAriel Constenla-Haile1-3/+3
(cherry picked from commit fdebe4193ae0f3f8a8281dfc0a2f053e578cf1b9) Conflicts: jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx Change-Id: I4c26c704ce85a273d7022260bb721e295041c260
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-05-02Resolves: #i66923# Add support for JRockit JVMAriel Constenla-Haile1-1/+3
(cherry picked from commit cb38ee0da6fa928118fbc1da118a707d7799cb40) Conflicts: jvmfwk/distributions/OpenOfficeorg/javavendors_linux.xml jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx Change-Id: Iffd413ba1d74ae3b7da58df7b092c43c4f64a7c9
2013-04-17-Werror=unused-macros (MinGW, jvmfwk)Stephan Bergmann1-3/+1
Change-Id: I860939930c43cac89c4ab745bf129922be1f1511
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-09Look for Oracle Java 7 in a 64-bit LibreOffice on OS XTor Lillqvist2-1/+20
Change-Id: Ife3fc97c11ab5216df62aba92dc11ed6cf07c154
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák16-115/+95
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
2013-03-27WaE: "UNX" is not definedDavid Tardon2-4/+4
Change-Id: I3b72efae6c3ae929eb4f26400a7c73406371c1a2
2013-03-27WaE: macro "RUNNING_ON_VALGRIND" is not usedTor Lillqvist1-2/+2
Change-Id: Ie60882c86008506a331087a241f15e931c5eacee
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold4-31/+20
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>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold3-6/+6
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>
2013-03-09-Werror=unused-local-typedefs (GCC 4.8)Stephan Bergmann1-1/+0
Change-Id: Ib1dedbe8e273463fa47573486d67dc9d509953db
2013-03-03coverity#705669: fix memory leakMarkus Mohrhard1-0/+3
Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac4-75/+73
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>
2012-11-27Make python3 work with custom VALGRIND_CFLAGSStephan Bergmann1-2/+2
Change-Id: Ia4b08a1b20bf46af4d06c0478ed8e795ee543703
2012-10-15fix typosJulien Nabet1-3/+3
Change-Id: I3bca3709ba759894ce77bab412f5082718ea25c5
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-2/+1
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-13misc. cleanup.Michael Meeks2-30/+16
2012-08-11Remove unused local varsJulien Nabet1-1/+0
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-07-20Globally unique symbols missing from some map filesStephan Bergmann1-31/+0
...after gbuild'ification (they used to be added via solenv/bin/addsym.awk). And sunjavaplugin.map is actually unused. Change-Id: If6804cff8d01e268b84512d6c4b1edebde018cc0
2012-07-14simplify include guardsThomas Arnhold7-10/+10
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-13re-base on ALv2 code. Includes:Michael Meeks12-280/+172
cws mba34issues01: #i117709#: make sure that parent of error message box is visible Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172346 i#119036 - improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-06-22re-base on ALv2 code.Michael Meeks1-26/+17
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks4-101/+65
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks2-0/+36
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-04nuke unused definesTakeshi Abe1-1/+0
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
2012-05-17removed unused const rtl::OUStringTakeshi Abe3-3/+0
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-04Remove unused method VendorBase::getJavaExePaths(int*)Marc Garcia2-20/+4
2012-04-18use SAL_N_ELEMENTSDavid Tardon1-3/+3
2012-04-18WaE: parameter 'size' set but not usedDavid Tardon1-1/+1
2012-04-18WaE: declaration of 'errcode' shadows a global declarationDavid Tardon1-8/+8
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi1-1/+1
2012-04-04jvmfwk: use CustomTarget makefileMatúš Kukan1-38/+0
2012-02-29Drop comparison with empty rtl::OUStringTakeshi Abe1-1/+1
2012-02-23Adapted AsynchReader to safer-to-use salhelper::ThreadStephan Bergmann1-11/+13
2012-02-17merge feature/gbuild_javaDavid Tardon3-176/+38
2012-02-16add gb_Helper_abbreviate_dirs_nativeMatus Kukan1-1/+2
2012-01-26android: move lo-bootstrap to osl/detail, Attach threads as createdMichael Meeks1-1/+1
2012-01-15WaE: ordered comparison of pointer with integer zeroDavid Tardon1-40/+35