summaryrefslogtreecommitdiffstats
path: root/jvmaccess
Commit message (Collapse)AuthorAgeFilesLines
* tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/Gabor Kelemen2019-04-262-2/+8
| | | | | | | | | | 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>
* Improve re-throwing of UNO exceptionsNoel Grandin2018-05-252-2/+7
| | | | | | | | | | | | | | | | | (*) 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>
* Use for-range loops in some modulesJulien Nabet2018-03-251-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>
* loplugin:includeform: jvmaccessStephan Bergmann2017-10-232-18/+18
| | | | Change-Id: Iae16eaada04d35a655f7f9d8b5e8156f5c7cd171
* loplugin:constparams in variousNoel Grandin2017-08-011-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>
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-211-1/+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>
* loplugin:passstuffbyref in jvmaccessNoel Grandin2016-04-131-1/+1
| | | | Change-Id: I0c5daabe31393db08654dd9f22abc757f6c67d4c
* cleanup: remove unused com/sun/star/uno includesJochen Nitschke2016-04-121-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>
* Don't assume sal_Unicode is unsigned shortStephan Bergmann2015-11-171-1/+1
| | | | Change-Id: I870f7c5c68ee9c9668e82833ea6277adfd49a686
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-103-20/+20
| | | | Change-Id: I226aeb4787a4c30e17fb54dc7775a288aa09b760
* Move member definition back into .cxxStephan Bergmann2015-10-271-1/+4
| | | | Change-Id: Ie0698792c8785e0caee0e78222051451e5ebc65c
* loplugin:unusedmethodsNoel Grandin2015-10-271-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>
* Remove uses of osl/diagnose.h from jvmaccessStephan Bergmann2015-02-123-20/+24
| | | | Change-Id: Ic9cda5259db81dd921dd3fa891b1289b8283bf27
* jvmaccess doesn't have a stable interface anywayStephan Bergmann2015-02-121-20/+18
| | | | Change-Id: I681443981a2da8bd3ca0c40965cfee300845c0e9
* jvmaccess: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-161-1/+1
| | | | Change-Id: I57b6de337eae1dcd8bc08f51ba9be36b61d5c470
* DBG_ASSERT->assert when followed by dereferenceCaolán McNamara2014-07-071-1/+1
| | | | Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-171-4/+0
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-3/+0
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* remove boilerplate in UNO Exception constructor callsNoel Grandin2014-05-231-4/+2
| | | | | | | Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
* jvmaccess: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-101-7/+1
| | | | Change-Id: I2198f013ce94dc65a7c540a599ee7160ba8d9295
* Remove unneccessary commentsAlexander Wilms2014-02-231-2/+2
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-3/+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-241-1/+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-436/+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-224-90/+16
|
* do not set soversion for private ure librariesMatúš Kukan2013-04-122-102/+0
| | | | | Change-Id: I2b2099d8fc00062f67c42e73c4b8a17a689db89d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-071-1/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-073-15/+12
| | | | | | | | 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-056-50/+3
| | | | | | | | | 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
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin2013-02-111-9/+4
| | | | | | And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-301-49/+47
| | | | | | | 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-263-3/+3
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-301-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
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* Globally unique symbols missing from some map filesStephan Bergmann2012-07-201-0/+9
| | | | | | | ...after gbuild'ification (they used to be added via solenv/bin/addsym.awk). And sunjavaplugin.map is actually unused. Change-Id: If6804cff8d01e268b84512d6c4b1edebde018cc0
* simplify include guardsThomas Arnhold2012-07-141-1/+1
| | | | Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
* re-base on ALv2 code.Michael Meeks2012-06-278-182/+110
|
* re-base on ALv2 code.Michael Meeks2012-06-212-52/+34
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-214-86/+50
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-1/+0
| | | | | | | | this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
* LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2012-04-081-1/+1
|
* gbuild: "use" vs. "add":Michael Stahl2012-04-081-2/+2
| | | | | | | | | Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
* We want gb_STDLIBS here surely?Tor Lillqvist2012-02-171-6/+1
|
* update makefilesDavid Tardon2012-02-171-35/+2
|