summaryrefslogtreecommitdiff
path: root/javaunohelper/source/preload.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-01-20Some more loplugin:cstylecast: javaunohelperStephan Bergmann1-3/+3
Change-Id: If0728af19ba48896678cc3196c922185e403a885
2014-12-15silence coverity#705667 Resource leakCaolán McNamara1-9/+7
still leaks on usual success case of course Change-Id: Ia6e0f61b5a08271c03690bbb1c0af59081bea663
2014-02-26Remove visual noise from javaunohelperAlexander Wilms1-3/+3
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>
2014-02-23Remove unneccessary commentsAlexander Wilms1-1/+1
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>
2013-04-18Let juhx.dll export undecorated symbols on WindowsStephan Bergmann1-12/+9
...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-11Remove createRegistryServiceFactory preload left-overStephan Bergmann1-22/+0
...forgotten from f3051abde54e7a0bc3e2d184e31ac011e96d3e6b "API CHANGE: Remove deprecated cppuhelper/servicefactory.hxx and Java equiv." Change-Id: Iccdcb68c6051a64a09ae7918eecb8d3e2c53a085
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-1/+0
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 Rouvignac1-7/+5
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-08-08Export JNI functions from juh, juhx libsStephan Bergmann1-4/+4
...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-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2011-12-02Added comment.Stephan Bergmann1-0/+4
2011-11-27reove include of pch header from javaunohelperNorbert Thiebaud1-2/+0
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+3
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 Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-07-11INTEGRATION: CWS jsc21 (1.6.32); FILE MERGEDRüdiger Timm1-2/+4
2008/04/23 09:54:56 jsc 1.6.32.2: RESYNC: (1.6-1.7); FILE MERGED 2008/04/03 07:52:05 jsc 1.6.32.1: #i86121# use osl_loadModuleRelative instead of osl_loadModule
2008-04-11INTEGRATION: CWS changefileheader (1.6.30); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:24:07 rt 1.6.30.1: #i87441# Change license header to LPGL v3.
2006-09-17INTEGRATION: CWS pchfix02 (1.5.4); FILE MERGEDOliver Bolte1-2/+5
2006/09/01 17:31:31 kaib 1.5.4.1: #i68856# Added header markers and pch files
2006-06-19INTEGRATION: CWS warnings01 (1.3.8); FILE MERGEDJens-Heiner Rechtien1-6/+9
2005/09/23 02:50:54 sb 1.3.8.2: RESYNC: (1.3-1.4); FILE MERGED 2005/09/09 12:44:17 sb 1.3.8.1: #i53898# Made code warning-free.
2005-09-07INTEGRATION: CWS ooo19126 (1.3.6); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 15:19:31 rt 1.3.6.1: #i54170# Change license header: remove SISSL
2005-07-07INTEGRATION: CWS sb33 (1.2.108); FILE MERGEDOliver Bolte1-14/+18
2005/06/30 16:50:13 sb 1.2.108.1: #120220# Adapted to changed uno_getEnvironment(..., java, pContext).
2003-03-26MWS_SRX644: migrate branch mws_srx644 -> HEADJens-Heiner Rechtien1-0/+180