summaryrefslogtreecommitdiff
path: root/jvmaccess/source
AgeCommit message (Collapse)AuthorFilesLines
2019-04-26tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/Gabor Kelemen1-2/+2
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I6c1041f261ba5a6f81efd3dcbc12baf2746e1839 Reviewed-on: https://gerrit.libreoffice.org/71217 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-05-25Improve re-throwing of UNO exceptionsNoel Grandin1-2/+6
(*) if we are already throwing a Wrapped*Exception, get the exception using cppu::getCaughtexception. (*) when catching and then immediately throwing UNO exceptions, use cppu::getCaughtException to prevent exception slicing (*) if we are going to catch an exception and then immediately throw a RuntimeException, rather throw a WrappedTargetRuntimeException and preserve the original exception information. Change-Id: Ia7a501a50ae0e6f4d05186333c8517fdcb17d558 Reviewed-on: https://gerrit.libreoffice.org/54692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-25Use for-range loops in some modulesJulien Nabet1-2/+2
jvmaccess, jvmfwk, l10ntools, libreofficekit and linguistic Change-Id: I9d290d1098b25ccb3aee19d2df18c18f4aa65105 Reviewed-on: https://gerrit.libreoffice.org/51495 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-23loplugin:includeform: jvmaccessStephan Bergmann2-18/+18
Change-Id: Iae16eaada04d35a655f7f9d8b5e8156f5c7cd171
2017-08-01loplugin:constparams in variousNoel Grandin1-1/+1
Change-Id: Id15f3562f42afa6c679cea3c839172557ead0395 Reviewed-on: https://gerrit.libreoffice.org/40624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-13loplugin:passstuffbyref in jvmaccessNoel Grandin1-1/+1
Change-Id: I0c5daabe31393db08654dd9f22abc757f6c67d4c
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke1-1/+0
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-1/+1
Change-Id: I870f7c5c68ee9c9668e82833ea6277adfd49a686
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann3-20/+20
Change-Id: I226aeb4787a4c30e17fb54dc7775a288aa09b760
2015-10-27Move member definition back into .cxxStephan Bergmann1-1/+4
Change-Id: Ie0698792c8785e0caee0e78222051451e5ebc65c
2015-10-27loplugin:unusedmethodsNoel Grandin1-40/+0
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-12Remove uses of osl/diagnose.h from jvmaccessStephan Bergmann3-20/+24
Change-Id: Ic9cda5259db81dd921dd3fa891b1289b8283bf27
2015-02-12jvmaccess doesn't have a stable interface anywayStephan Bergmann1-20/+18
Change-Id: I681443981a2da8bd3ca0c40965cfee300845c0e9
2014-12-16jvmaccess: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I57b6de337eae1dcd8bc08f51ba9be36b61d5c470
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara1-1/+1
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-4/+0
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-3/+0
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin1-4/+2
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-6/+6
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 Lillqvist3-34/+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-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-2/+1
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-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin1-9/+4
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-6/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-06-27re-base on ALv2 code.Michael Meeks3-69/+42
2012-02-17merge feature/gbuild_javaDavid Tardon1-48/+0
2012-02-16Reduce verbiage slightlyTor Lillqvist1-1/+3
2011-12-30Fix for fdo43460 Part XXI getLength() to isEmpty()Olivier Hallot1-1/+1
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-24gbuildize jvmaccessDavid Tardon1-46/+0
2011-12-15catch exception by constant referenceTakeshi Abe1-1/+1
2011-11-26Don't bother building anything here for iOSTor Lillqvist1-0/+5
2011-11-25Android compilation fixTor Lillqvist1-1/+10
2011-10-03WaE: unreferenced formal parameters in the !SOLAR_JAVA caseTor Lillqvist3-0/+10
2011-03-12Move OSL_ENSURE(false,...) to OSL_FAIL(...)Thomas Arnhold1-2/+2
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth3-0/+9
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-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien4-17/+4
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-04-23CWS-TOOLING: integrate CWS dbaperf1Ivo Hinkelmann1-58/+1
2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-02-12CWS-TOOLING: integrate CWS sb103Oliver Bolte1-14/+0
2009-01-15 15:28:08 +0100 sb r266375 : #i97629# set UNO_PATH in python start program and use it in bootstrap function in officehelper.py (and do not erroneously encode a vnd.sun.star.pathname URE_BOOTSTRAP value in tools::extendApplicationEnvironment) 2009-01-15 10:40:17 +0100 sb r266338 : #i97424# explicit shut down of ImplImageTree singleton in DeInitVCL still required 2009-01-14 12:07:15 +0100 sb r266276 : CWS-TOOLING: rebase CWS sb103 to trunk@265758 (milestone: DEV300:m38) 2009-01-14 08:53:02 +0100 sb r266266 : #i96284# remove implementation of unused (but expensive) link feature; plus some general cleanup 2009-01-08 14:42:59 +0100 sb r266010 : #i96683# enable dlclose for GCC 3 (based on a patch by cmc) 2009-01-06 14:18:23 +0100 sb r265920 : #i97424# spurious unreferenced local variables 2008-12-19 15:33:39 +0100 sb r265727 : #i57359# no need for a special glibc 2.2.4 based libgcc_s.so.1 for URE any more as the general one used for OOo is guaranteed to be based on at least glibc 2.2.4, anyway 2008-12-19 13:54:37 +0100 sb r265724 : #i97424# clean up and speed up vcl ImplImageTree 2008-12-18 14:28:10 +0100 sb r265690 : #i97132# spread usage of the rtl::Static pattern (patch by cmc) 2008-12-15 14:33:00 +0100 sb r265499 : #i90492# generate UTF-8 encoded output (patch by tora) 2008-12-15 11:45:05 +0100 sb r265469 : #i95593# -Djava.library.path to find libtest_javauno_any.so 2008-12-15 11:23:14 +0100 sb r265468 : #i93769# it appears that Java nowadays expects file URIs in UTF-8, so ExternalUriReferenceTranslator.toExternal must not be called 2008-12-10 12:02:50 +0100 sb r265164 : #i93219# use (corrected) signal handling instead of forking again (to avoid unintended generation of core files)
2008-04-11INTEGRATION: CWS changefileheader (1.7.40); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:24:39 rt 1.7.40.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.56); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:24:39 rt 1.4.56.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.11.22); FILE MERGEDRüdiger Timm1-23/+19
2008/03/31 07:24:39 rt 1.11.22.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.3.18); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:24:39 rt 1.3.18.1: #i87441# Change license header to LPGL v3.
2007-07-03INTEGRATION: CWS sb74 (1.2.6); FILE MERGEDRüdiger Timm1-18/+19
2007/06/29 07:07:20 sb 1.2.6.1: #i78899# Completely removed JDK dependency from doTranslatToUrls/doLoadClass mangled names.
2007-03-12INTEGRATION: CWS sb36 (1.8.4); FILE MERGEDOliver Bolte1-3/+3
2006/11/08 13:13:16 sb 1.8.4.3: RESYNC: (1.9-1.10); FILE MERGED 2005/09/21 12:15:40 sb 1.8.4.2: RESYNC: (1.8-1.9); FILE MERGED 2005/07/14 12:43:14 sb 1.8.4.1: #i51803# New jvmaccess::ClassPath: helper functions for class path handling.
2007-03-12INTEGRATION: CWS sb36 (1.1.2); FILE ADDEDOliver Bolte1-0/+195
2007/01/22 13:56:47 sb 1.1.2.2: Dropped obsolete SISSL header. 2005/07/14 12:43:34 sb 1.1.2.1: #i51803# New jvmaccess::ClassPath: helper functions for class path handling.
2006-06-19INTEGRATION: CWS warnings01 (1.5.10); FILE MERGEDJens-Heiner Rechtien1-5/+8
2005/09/23 02:04:49 sb 1.5.10.2: RESYNC: (1.5-1.6); FILE MERGED 2005/09/01 08:24:51 sb 1.5.10.1: #i53898# Made code warning-free.
2006-05-24INTEGRATION: CWS ause043 (1.9.6); FILE MERGEDVladimir Glazounov1-8/+2
2005/11/04 12:04:33 hjs 1.9.6.1: #i56702# remove local uno header generation
2005-09-07INTEGRATION: CWS ooo19126 (1.5.8); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 14:40:57 rt 1.5.8.1: #i54170# Change license header: remove SISSL
2005-09-07INTEGRATION: CWS ooo19126 (1.3.4); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 14:40:57 rt 1.3.4.1: #i54170# Change license header: remove SISSL
2005-09-07INTEGRATION: CWS ooo19126 (1.8.8); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 14:40:56 rt 1.8.8.1: #i54170# Change license header: remove SISSL
2005-07-07INTEGRATION: CWS sb33 (1.2.2); FILE MERGEDOliver Bolte1-6/+7
2005/06/29 13:54:08 sb 1.2.2.1: #i51091# Changed occurences of jobject in the jvmaccess API to void* to avoid different mangled C++ names for different JDKs.