summaryrefslogtreecommitdiff
path: root/jvmfwk/source
AgeCommit message (Collapse)AuthorFilesLines
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák2-6/+6
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/+6
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-07-29Mark as constTakeshi Abe1-2/+2
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
2013-06-13Introduce O[U]String::toUInt32Stephan Bergmann1-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
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer1-13/+6
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-12/+12
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-17-Werror=unused-macros (MinGW, USE_ACCESSIBILITY_FILE)Stephan Bergmann1-7/+0
...dead at least since c58b07c958e7bc70a9d337852df477f33a453433 "#i20020#," if not even since the beginning, 49614181e5712933a3dce40c6afb344f02f8d287 "#i20052# plugin lib for java framework." Change-Id: Ic0b35341cb8038ccfe0a2f4f5b758341b9ab13b9
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-12do not set soversion for private ure librariesMatúš Kukan1-58/+0
Change-Id: I2b2099d8fc00062f67c42e73c4b8a17a689db89d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák10-281/+273
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-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist1-45/+0
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
2013-03-27WaE: "UNX" is not definedDavid Tardon1-1/+1
Change-Id: Ie1a98500fa4f3965872b3fc92a303df84556fd7a
2013-03-27-Wunused-macrosStephan Bergmann2-5/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-22warning: unknown log area 'jvmfwk' [loplugin]Tor Lillqvist1-1/+1
This is not a warning that would stop an --enable-werror build, but still worth fixing. Change-Id: I6c47fd636f57f55cbe406f51e2f24e015924ce14
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold1-4/+2
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 Arnhold1-5/+5
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-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-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>
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+4
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2012-12-18Let JavaVirtualMachine::getJavaVm start the VM it already foundStephan Bergmann1-68/+76
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
2012-11-15Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4Stephan Bergmann2-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
2012-10-09loplugin: unused OStringsCaolán McNamara2-4/+0
Change-Id: I22916424fb97ba27ea6f4e540841a6c851fb8c88
2012-10-08TypoTor Lillqvist1-1/+1
Change-Id: I6ec48d3156f11c4ecb5f24a70a5c83603a86f834
2012-10-08Fix for !SOLAR_JAVATor Lillqvist1-6/+44
Change-Id: I43d8680304ef11f2b5f5e3edafcc6af6eca8d601
2012-10-07Move the #ifndef DISABLE_DYNLOADING a bit earlierTor Lillqvist1-1/+1
Change-Id: I1777d6304b2ebb218c0f85c778f1a66d05c4f454
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist1-11/+77
There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-04sal_Bool->bool in jvmfwkNoel Grandin2-4/+4
Change-Id: I8821bc7e4615421a710e6fdf913e646059dd5665
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini1-1/+1
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-10Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann7-236/+23
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-07-20Globally unique symbols missing from some map filesStephan Bergmann1-0/+9
...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 Arnhold5-6/+9
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-13re-base on ALv2 code. Includes:Michael Meeks9-165/+135
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-07-05removed useless forward declarations of classTakeshi Abe1-5/+0
Change-Id: I13cf52cc4e1cf8d5e2453d7ac4b68cc8c64cd011
2012-06-26re-base on ALv2 code.Michael Meeks1-23/+14
2012-06-21re-base on ALv2 code.Michael Meeks2-46/+28
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks1-0/+18
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-19typo: paramters, paramaters -> parametersAndras Timar1-1/+1
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-05-30targeted string re-workNorbert Thiebaud1-5/+5
Change-Id: I31c752d044774cf4cec4aaab9bb2e43570d41953
2012-05-11upgrade to icu 49Caolán McNamara1-1/+1
Change-Id: I I I I I If403ee07ef8ea654369a8faac57fa8940f90e040
2012-04-28make java startup a visible event when debuggingCaolán McNamara1-0/+1
Change-Id: I97c5499b57edbaac6e356450bb9d89dc350260eb
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi1-2/+1
2012-04-05Fix Prefer prefix ++/-- operatorsJulien Nabet1-1/+1
Includes too replacement < by != for comparison between current and end iterators
2012-03-23replace OpenOffice.org to LibreOffice in registry keysAndras Timar1-1/+1
2012-02-17merge feature/gbuild_javaDavid Tardon1-91/+0
2012-01-05Fix for fdo43460 Part XXII getLength() to isEmpty()Gustavo Buzzatti Pacheco3-20/+20
Part XXII modules jvmfwk, l10ntools, lingucomponent
2011-12-24gbuildize jvmfwk, part 2: finish & clean upDavid Tardon1-91/+0
2011-12-15catch exception by constant referenceTakeshi Abe2-17/+17
2011-11-27remove include of pch header from jvmfwkNorbert Thiebaud5-10/+0
2011-10-03WaE: unreferenced formal parameters in the !SOLAR_JAVA caseTor Lillqvist1-0/+5
2011-09-12small bugfix : bNeedsSave instead of *bNeedsSaveJulien Nabet1-1/+1