summaryrefslogtreecommitdiff
path: root/jvmfwk
AgeCommit message (Collapse)AuthorFilesLines
2017-05-07revert OSL_ASSERT changesChris Sherlock7-23/+23
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07tdf#43157: convert jvmfwk from OSL_ASSERT to assertChris Sherlock7-23/+23
Change-Id: Ie06633dd6a49ed9fc51dfb5e6066529020dcf268
2017-04-24clang-tidy readability-simplify-boolean-expr in hwpfilter..lotuswordproNoel Grandin3-14/+4
Change-Id: I945d3fe6af5f88937b341dfc3696bf1d36344862 Reviewed-on: https://gerrit.libreoffice.org/36874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21Clean up do_msvcr_magicStephan Bergmann1-33/+38
Change-Id: I932d903d04b03d3a437db3d3c549c21a1a330965
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2-2/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin1-1/+1
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-13Use std::unique_ptr<JavaInfo> in createJavaInfoStephan Bergmann1-18/+14
Change-Id: Ie39c40e0fd05f75e734d8cd2d33a7fb13c746f77
2017-04-13Use std::unique_ptr<JavaInfo> in jfw_plugin_getAllJavaInfosStephan Bergmann4-62/+13
Change-Id: I2beb95c42c666a788a87a45f59bc15ccfcf25aa6
2017-04-13Use std::unique_ptr<JavaInfo> in jfw_plugin_getJavaInfoByPathStephan Bergmann3-12/+8
Change-Id: I3511eaa12bb689a374a775204a3480d7c667a915
2017-04-13Use std::unique_ptr<JavaInfo> in jfw_plugin_getJavaInfoFromJavaHomeStephan Bergmann3-9/+7
Change-Id: I8be48d1eec799f347a5edaa67837cf1bbf4d2cc3
2017-04-13Use std::unique_ptr<JavaInfo> in jfw_plugin_getJavaInfosFromPathStephan Bergmann3-31/+24
...thereby fixing a memory leak Change-Id: I1aa91eeb407987abcdaa5221f4abd447f881c5d2
2017-04-13Simplify jfw_findAllJREsStephan Bergmann2-154/+32
...dropping remaining uses of CJavaInfo Change-Id: I76afd5af927233712181f58b14fe6f4c1a9c15c2
2017-04-13Replace a use of CJavaInfo with std::unique_ptr<JavaInfo>Stephan Bergmann2-30/+23
Change-Id: Ib659d6edf362901a95cfb50ac008520805ad0fb0
2017-04-13Replace a use of CJavaInfo with std::unique_ptr<JavaInfo>Stephan Bergmann2-16/+11
Change-Id: I89cb19969285200a61c47d29e819a50845fa692b
2017-04-13More std::unique_ptr<JavaInfo> lifecycle managementStephan Bergmann3-16/+15
Change-Id: If53347633ec4b2f8c2b221ba2057e0c38fa97b67
2017-04-13Simplify passing options to jfw_startVMStephan Bergmann1-6/+8
Change-Id: Idac31e282fe4df69449298a03d491473e460c742 Reviewed-on: https://gerrit.libreoffice.org/36495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-13Removed duplicated includesAndrea Gelmini1-1/+0
No automatic tools. Manual checked and tested. Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754 Reviewed-on: https://gerrit.libreoffice.org/36371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-12Remove unused jfw::VendorSettings instantiationsStephan Bergmann1-5/+0
Change-Id: I0af90fbb9eb77e5e65b29a79cc3b37af8cfc75e6
2017-04-12Remove unnecessary copyStephan Bergmann1-2/+0
Change-Id: Ib350999ddf3ed2753b9e615a07b963c459dc714b
2017-04-12Remove unused function pointer typedefsStephan Bergmann1-38/+0
Change-Id: I51ee45dba007e5709b1516c36b029f940ea7153e
2017-04-12Convert rtl_uString -> OUString in jfw_get/setVMParametersStephan Bergmann3-42/+12
Change-Id: I55f96873661f686cd9625d69523718ccb54659dc
2017-04-12Simplify jfw::VersionInfoStephan Bergmann6-102/+23
Change-Id: I2cc1071bbaf9c68fbd621d6c0c6953b7646b1a62
2017-04-12Convert some rtl_uString -> OUString in jvmfwkStephan Bergmann3-20/+12
Change-Id: I08de5cab29dabc6fd824d5df8bac12c8520a05ae
2017-04-12Silence -Werror=unused-parameter on AndroidStephan Bergmann1-0/+1
Change-Id: I69cd0724c2c4a6f82f89080b0622e734617c5704
2017-04-11Assert obvious preconditions instead of returning javaPluginError:InvalidArgStephan Bergmann2-25/+8
Change-Id: I93bb3aaa0106bce98995f843ee036c9570f6aaf0
2017-04-11Calls to jvmfwk/framework.hxx must not pass in null, drop JFW_E_INVALID_ARGStephan Bergmann3-28/+22
Change-Id: Iff4b8ccc79e194f645791ac73818e3b677ae32a6
2017-04-11Fix missing derefStephan Bergmann1-1/+1
...lacking since recent f0454e72c1d1b11c3bcbacb23048a62fdecd037c "Use std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxx" Change-Id: Ied39be52ccc8cbef48cdfb4933e4ac1914fd0fd3
2017-04-11sal_Bool -> boolStephan Bergmann2-2/+2
Change-Id: If632eb547aa5082ad13eac8c2ad39a1742309fc7
2017-04-11Let jfw_isVMRunning return the result; there are no error conditionsStephan Bergmann1-8/+2
Change-Id: I004b3d6f6b7b32d1bb41072d7fdd4a66f944d992
2017-04-11sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: Iec70d6726e36af607a0a5b5a0f6dc86d05322435
2017-04-11jfw_existJRE requires non-null args, never returns JFW_E_INVALID_ARGStephan Bergmann2-5/+4
Change-Id: I2067b77393427a5a6a4273c2f609ff8d335f436a
2017-04-11sal_Bool -> boolStephan Bergmann4-4/+4
Change-Id: I8df49f349308cc17d684d5c0e8215aa628dfaeda
2017-04-11Use std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxxStephan Bergmann2-46/+38
Change-Id: Ie604c75e92c407ff3118aaa58155648d956c91fb
2017-04-11Remove unnecessary jfw::CJavaInfo::cloneJavaInfoStephan Bergmann2-12/+3
Change-Id: Ia9e807c0d1e5b0664d711c551a5e70afccbcc564
2017-03-23Remove unused #include <ctype.h>Stephan Bergmann1-1/+0
Change-Id: I8bf3e30687e20151a9e1936e69362abfe9b3a99d
2017-03-22Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char)Stephan Bergmann1-5/+10
Change-Id: I18f9a2ad4506edc76b74dde229f2fd296bffed88
2017-03-22jvmfwk: fix JVM detection on 64-bit WindowsMichael Stahl1-3/+3
_WIN32 is also defined on 64-bit Windows so reorder these ifdefs. Should i be surprised that this breaks several dbaccess tests for me but all tinderboxes are green? (regression from 9143dd4ebe37b608e43d04434cf831624bf55b65) Change-Id: Id917952d3135768355af711688ff70bf6c019a6e
2017-03-19Fix typo for "expression"Julien Nabet1-6/+6
Change-Id: Iad0728fe53912d85ee40ef1b39d476a47aaad2d2 Reviewed-on: https://gerrit.libreoffice.org/35433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-13Unnecessary OUString instancesStephan Bergmann1-10/+6
Change-Id: I81a59c7847e2109198a35cbdb49f5bcf3505c4ba
2017-03-13Related tdf#54443 List only matching JREsSamuel Mehrbrodt4-2/+33
I.e. show only 64bit JRE for 64bit LO and 32bit JRE for 32bit LO Change-Id: Id5e890637c7e1014bcb4e6fdd9ed9a33765112d5 Reviewed-on: https://gerrit.libreoffice.org/35026 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-09jvmfwk: Improve logging outputSamuel Mehrbrodt1-1/+2
Change-Id: I476fc3190902e44bedfd2e713bd1a7cfb0733688 Reviewed-on: https://gerrit.libreoffice.org/35024 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-03Remove redundant 'inline' keywordStephan Bergmann1-1/+1
...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-03Typo: requirments -> requirementsSamuel Mehrbrodt1-1/+1
Change-Id: I02c5846eb51071e1a958c3d65e150fb7cbc7d58a Reviewed-on: https://gerrit.libreoffice.org/34873 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-02Fix typosAndrea Gelmini1-1/+1
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b Reviewed-on: https://gerrit.libreoffice.org/34803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-24Make JVM -Xrunjdwp option work on macOSStephan Bergmann1-0/+10
I hope loading the jvm library as SAL_LOADMODULE_GLOBAL has no negative consequences (at least, there is prior art in the LINUX case already). Change-Id: If18b65bd96f7205fdf9fd41389e64e786c15af16
2017-01-24loplugin: unnecessary destructor jvmfwk..lotuswordproNoel Grandin1-1/+0
Change-Id: Iaa4f9b178ab265342255066af7fff09f5b33ab37 Reviewed-on: https://gerrit.libreoffice.org/33496 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-17replace #ifdef SOLARIS with #ifdef __sunMichael Stahl1-2/+2
Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2017-01-17new loplugin: useuniqueptr: jvmfwk..saxNoel Grandin1-1/+0
Change-Id: I732e2e22c6f953f0982fbc8833453e7c23cf9d49 Reviewed-on: https://gerrit.libreoffice.org/33166 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-09New loplugin:externvar: jvmfwkStephan Bergmann3-3/+3
Change-Id: I0fee834ba07ecdc713e0e066935773f49a109665
2016-12-25tdf#95416 Fix include filetamsil1amani33-1/+1
Moved elements.hxx and fwkutil.hxx to jvmfwk/inc and changed the #include line in vendorplugin.hxx Change-Id: Ida7395e952c482af92c0561a7756be7cd0578b9f Reviewed-on: https://gerrit.libreoffice.org/32415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>