summaryrefslogtreecommitdiff
path: root/javaunohelper/source/bootstrap.cxx
AgeCommit message (Collapse)Author
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I083a33e71d1bb9fcef3b287e1db15910779312ab
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I89aa17e66c502e81089f42578b45097f44de4ea9
2015-05-08jboolean-related clean-upStephan Bergmann
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: Ib1b59e56a32c5675fc728624584fb16b79f03469
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Ieb830d8216badd75899666f4db565a83e37d11fc
2015-01-20Some more loplugin:cstylecast: javaunohelperStephan Bergmann
Change-Id: If0728af19ba48896678cc3196c922185e403a885
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-02-26Remove visual noise from javaunohelperAlexander Wilms
Change-Id: Ib359d536070456c1ef403642eba7913a834d365d Reviewed-on: https://gerrit.libreoffice.org/8275 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-16Clean-up uno/lbnames.hStephan Bergmann
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-04-18Let juhx.dll export undecorated symbols on WindowsStephan Bergmann
...otherwise preload.cxx in juh.dll will not be able to find them via osl_getFunctionSymbol. What apparently happens is that JNICALL expanding to __stdcall decorates symbol names with _...@NN. This likely was hidden in pre-gbuild times thanks to the use of def files. (On a side note, the JVM appears to contain special code to find syms for native methods in both decorated and undecorated form; that explains why it picks up the decorated symbols from juh.dll just fine.) There is no need for the functions in juhx.dll (called from the juh.dll wrapper) to adhere to JNICALL (in fact, things would likely be easier to maintain if the juhx.dll functions also used different names than their juh.dll wrappers). However, what complicates this patch is that for DISABLE_DYNLOADING, the juh wrapper and its preload.cxx is elided, and the code that would normally go into the juhx library goes into the juh library (and thus needs to stick to JNICALL, and also needs to use the right function names). Change-Id: I66611648f1f79f57f0c1b23fb7a801da2d7b86c5
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
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>
2012-11-09Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORTTor Lillqvist
Use it in the cases where I yesterday changed SAL_DLLPUBLIC_EXPORT to JNIEXPORT. It turns out that on Linux JNIEXPORT does not enforce "default" visibility, but expands to empty. Change-Id: I033b3cf538715fb596e965e17f3da12fb987df63
2012-11-09Use JNIEXPORT to really export these for AndroidTor Lillqvist
Now with DISABLE_DYNLOADING, SAL_DLLPUBLIC_EXPORT actually means hidden visibilty. Which is OK in general as with a single DSO (or a single executable, for iOS), none of our "normal" entry points need to be visible froom the outside. So for the JNI entry points use JNIEXPORT. On "normal" platforms it should be equivalent to SAL_DLLPUBLIC_EXPORT. Change-Id: Iad634950e635ac03a0e90cae6d00afd9fb4eeb64
2012-08-08Export JNI functions from juh, juhx libsStephan Bergmann
...this had been broken with gbuild'ification of javaunohelper and caused java.lang.UnsatisfiedLinkError from com.sun.star.comp.helper.Bootstrap.cppuhelper_bootstrap, as could be witnessed by test-javanative in ure/source/uretest/Makefile failing. Change-Id: I8a76e1195c713895bfb8eae5070b0f73beb2b897
2012-06-27re-base on ALv2 code.Michael Meeks
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2011-12-15catch exception by constant referenceTakeshi Abe
2011-11-27reove include of pch header from javaunohelperNorbert Thiebaud
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
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 Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.12.30); FILE MERGEDRüdiger Timm
2008/03/31 07:24:07 rt 1.12.30.1: #i87441# Change license header to LPGL v3.
2006-09-17INTEGRATION: CWS pchfix02 (1.11.4); FILE MERGEDOliver Bolte
2006/09/01 17:31:31 kaib 1.11.4.1: #i68856# Added header markers and pch files
2006-06-19INTEGRATION: CWS warnings01 (1.8.8); FILE MERGEDJens-Heiner Rechtien
2006/01/25 19:57:46 sb 1.8.8.3: RESYNC: (1.9-1.10); FILE MERGED 2005/09/23 02:50:24 sb 1.8.8.2: RESYNC: (1.8-1.9); FILE MERGED 2005/09/09 12:44:16 sb 1.8.8.1: #i53898# Made code warning-free.
2006-01-03INTEGRATION: CWS sb44 (1.9.14); FILE MERGEDKurt Zenker
2005/12/12 16:00:04 sb 1.9.14.1: #i51419# Transport complete jvmaccess::UnoVirtualMachine instance including UNO class loader from juh to javavm service.
2005-09-07INTEGRATION: CWS ooo19126 (1.8.6); FILE MERGEDRüdiger Timm
2005/09/05 15:19:30 rt 1.8.6.1: #i54170# Change license header: remove SISSL
2005-07-07INTEGRATION: CWS sb33 (1.7.58); FILE MERGEDOliver Bolte
2005/06/30 16:50:13 sb 1.7.58.1: #120220# Adapted to changed uno_getEnvironment(..., java, pContext).
2003-08-07INTEGRATION: CWS sb5 (1.6.16); FILE MERGEDJens-Heiner Rechtien
2003/06/19 10:13:28 sb 1.6.16.1: #109236# Use RTL_TEXTENCODING_JAVA_UTF8 for strings passed to JNI functions.
2003-03-26MWS_SRX644: migrate branch mws_srx644 -> HEADJens-Heiner Rechtien
2002-12-06#105077# switching to jvmaccess lib; removing JavaVMContext occurencesDaniel Boelzle
2002-11-14#103453# typoDaniel Boelzle
2002-11-14#103453# fixed bootstrapping from javaDaniel Boelzle
2002-11-05#100000# jni.h moved to other lineOliver Bolte
2002-10-21#104367# added Bootstrap.defaultBootstrap_InitialComponentContext() and ↵Daniel Boelzle
native code for bootstrapping out of cppuhelper