summaryrefslogtreecommitdiffstats
path: root/jvmfwk
Commit message (Collapse)AuthorAgeFilesLines
* Introduce O[U]String::toUInt32Stephan Bergmann2013-06-131-0/+4
| | | | | | | | | | | | | | | ...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39 "Handle oveflow in O(U)String::toInt() functions" reduces values in the range (SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied on getting a correct (unsigned) value for the whole input range ["0" .. "FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3 "Revert overflow checks in O[U]String::toInt{32,64} again"). Audited all uses of toInt32/64 with non-decimal radix. (There is still a TODO comment in oox/source/helper/attributelist.cxx, and stoc/source/typeconv/convert.cxx will still need some love and test code.) Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
* gbuild: rework AutoInstallLibs and autoinstall ure executablesMatúš Kukan2013-06-101-1/+1
| | | | Change-Id: I7312d94f90758d450a69410819c5e8c142756a47
* jvmfwk: de-Pascalize do_msvcr71_magicMichael Stahl2013-06-021-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
* Related: #i119525# List only JREs whose jvm library can be loadedAriel Constenla-Haile2013-05-291-0/+22
| | | | | | (cherry picked from commit 0b31fa19e50d8259d3cbe695723ea02e2c5ff711) Change-Id: I1f96c6239d7278c4eb0c17b69f9d35e08eb8260b
* Related: #i121715# find official JRE>=7 on OSXHerbert Dürr2013-05-281-0/+1
| | | | | | | | | | (cherry picked from commit a3eded9728647bde4af68b9f3c75a51dc0676fc7) Conflicts: jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx Change-Id: I5ec6aa62147f9b3fb3e5142fbc2658c0b54f21b8
* Clearer javaldx messageAriel Constenla-Haile2013-05-181-3/+3
| | | | | | | | | (cherry picked from commit fdebe4193ae0f3f8a8281dfc0a2f053e578cf1b9) Conflicts: jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx Change-Id: I4c26c704ce85a273d7022260bb721e295041c260
* Add Oracle as a Java vendor for Solaris.Pedro Giffuni2013-05-181-1/+5
| | | | | | | Conflicts: jvmfwk/distributions/OpenOfficeorg/javavendors_unx.xml Change-Id: Ifaa60fafb0db62ed60ba4080b6bb3713d8d9e3be
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-151-1/+1
|
* cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer2013-05-061-13/+6
| | | | | In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-061-12/+12
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* copy more rc files to instdirDavid Tardon2013-05-053-0/+55
| | | | Change-Id: Ia4cc2b8e504f46734ea7bfaade60bf27509cce32
* Resolves: #i66923# Add support for JRockit JVMAriel Constenla-Haile2013-05-023-5/+7
| | | | | | | | | | | (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
* gbuild: drop empty use_packages callsDavid Tardon2013-04-242-6/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-242-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-236-1159/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-2210-224/+40
|
* -Werror=unused-macros (MinGW, jvmfwk)Stephan Bergmann2013-04-171-3/+1
| | | | Change-Id: I860939930c43cac89c4ab745bf129922be1f1511
* -Werror=unused-macros (MinGW, USE_ACCESSIBILITY_FILE)Stephan Bergmann2013-04-171-7/+0
| | | | | | | | ...dead at least since c58b07c958e7bc70a9d337852df477f33a453433 "#i20020#," if not even since the beginning, 49614181e5712933a3dce40c6afb344f02f8d287 "#i20052# plugin lib for java framework." Change-Id: Ic0b35341cb8038ccfe0a2f4f5b758341b9ab13b9
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
* fdo#60724 correct spellingThomas Arnhold2013-04-152-2/+2
| | | | Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
* do not set soversion for private ure librariesMatúš Kukan2013-04-122-60/+0
| | | | | Change-Id: I2b2099d8fc00062f67c42e73c4b8a17a689db89d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Look for Oracle Java 7 in a 64-bit LibreOffice on OS XTor Lillqvist2013-04-093-2/+25
| | | | Change-Id: Ife3fc97c11ab5216df62aba92dc11ed6cf07c154
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0727-397/+369
| | | | | | | | 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
* Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist2013-04-054-55/+2
| | | | | | | | | Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
* WaE: "UNX" is not definedDavid Tardon2013-03-272-4/+4
| | | | Change-Id: I3b72efae6c3ae929eb4f26400a7c73406371c1a2
* WaE: "UNX" is not definedDavid Tardon2013-03-271-1/+1
| | | | Change-Id: Ie1a98500fa4f3965872b3fc92a303df84556fd7a
* WaE: macro "RUNNING_ON_VALGRIND" is not usedTor Lillqvist2013-03-271-2/+2
| | | | Change-Id: Ie60882c86008506a331087a241f15e931c5eacee
* -Wunused-macrosStephan Bergmann2013-03-272-5/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* warning: unknown log area 'jvmfwk' [loplugin]Tor Lillqvist2013-03-221-1/+1
| | | | | | | This is not a warning that would stop an --enable-werror build, but still worth fixing. Change-Id: I6c47fd636f57f55cbe406f51e2f24e015924ce14
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-195-35/+22
| | | | | | | | | 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>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-194-11/+11
| | | | | | | | | | | 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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* -Werror=unused-local-typedefs (GCC 4.8)Stephan Bergmann2013-03-091-1/+0
| | | | Change-Id: Ib1dedbe8e273463fa47573486d67dc9d509953db
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-2/+2
| | | | | | | | Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* coverity#705669: fix memory leakMarkus Mohrhard2013-03-031-0/+3
| | | | Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* s/the the/the/Tor Lillqvist2013-02-223-3/+3
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* Some cppcheck cleaningJulien Nabet2013-02-121-2/+4
| | | | Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-304-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>
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-267-7/+7
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+2
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Get rid of (most uses of) GUITor Lillqvist2012-12-252-4/+4
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* Let JavaVirtualMachine::getJavaVm start the VM it already foundStephan Bergmann2012-12-182-71/+81
| | | | | | | | | | | | | | Since b69951996967a1c79e3a55dd13dd5609b19db6a1 "Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4" there is no place any more where a plain URE will store information about a selected JVM, so JavaVirtualMachine::getJavaVM will go into an endless loop of jfw_startVM -> JFW_E_NO_SELECT -> jfw_findAndSelectJRE -> jfw_startVM -> ... The solution is to pass the JavaInfo determined by jfw_findAndSelectJRE into the second invocation of jfw_startVM (for which the parameter list of the latter needed to be changed), instead of relying on jfw_findAndSelectJRE and jfw_startVM implicitly communicating that information via user configuration files. Change-Id: I5799f04c457e8a849c67ed827dc5e134c6563362
* Make python3 work with custom VALGRIND_CFLAGSStephan Bergmann2012-11-271-2/+2
| | | | Change-Id: Ia4b08a1b20bf46af4d06c0478ed8e795ee543703
* Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4Stephan Bergmann2012-11-152-13/+31
| | | | | | | | | | | | For one, /etc/opt/ure was probably never used by anyone anyway, so meant just needless file-stats during startup. For another, accidentally created ~/.ure/javasettings_*.xml that later became stale were noted to cause trouble, so that source is now closed. For this to work, jvmfwk needs to be silent now if it cannot read/write any shared/user javasettings_*.xml. Change-Id: I332b5ebb9549dc6ccf7c99c439d9a3b61aeb5829
* fix typosJulien Nabet2012-10-151-3/+3
| | | | Change-Id: I3bca3709ba759894ce77bab412f5082718ea25c5
* loplugin: unused OStringsCaolán McNamara2012-10-092-4/+0
| | | | Change-Id: I22916424fb97ba27ea6f4e540841a6c851fb8c88
* TypoTor Lillqvist2012-10-081-1/+1
| | | | Change-Id: I6ec48d3156f11c4ecb5f24a70a5c83603a86f834
* Fix for !SOLAR_JAVATor Lillqvist2012-10-081-6/+44
| | | | Change-Id: I43d8680304ef11f2b5f5e3edafcc6af6eca8d601
* Move the #ifndef DISABLE_DYNLOADING a bit earlierTor Lillqvist2012-10-071-1/+1
| | | | Change-Id: I1777d6304b2ebb218c0f85c778f1a66d05c4f454