summaryrefslogtreecommitdiff
path: root/javaunohelper/source
AgeCommit message (Collapse)AuthorFilesLines
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer1-9/+4
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2-7/+6
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-18Let juhx.dll export undecorated symbols on WindowsStephan Bergmann5-19/+112
...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ňák4-16/+11
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-02drop prefix from ::cssThomas Arnhold1-1/+1
as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-8/+4
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-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac3-18/+12
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-12-21API CHANGE: Remove deprecated cppuhelper/servicefactory.hxx and Java equiv.Stephan Bergmann1-91/+0
... com.sun.star.comp.helper.RegistryServiceFactory (juh.jar). Superseded by default bootstrap mechanisms. An aborting stub for non-inline cppu::createRegistryServiceFactory is left in cppuhelper/srouce/compat.cxx to avoid having to incompatibly change cppuhelper/soruce/gcc3.map. Change-Id: I590e50b8f57e86d4bb3e00d157c9e5907c02f267
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-2/+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-11-09Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORTTor Lillqvist2-4/+4
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 Lillqvist2-4/+4
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-10-07DISABLE_DYNLOADING tentative fixTor Lillqvist1-2/+20
Change-Id: Ic23dcc0b45a90e845fc4fba1861bcee03354da01
2012-08-08Export JNI functions from juh, juhx libsStephan Bergmann4-34/+8
...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 Meeks2-46/+28
2012-06-21re-base on ALv2 code.Michael Meeks3-72/+45
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks1-0/+17
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-02-17merge feature/gbuild_javaDavid Tardon1-134/+0
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2-4/+4
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-30Fix for fdo43460 Part XXI getLength() to isEmpty()Olivier Hallot1-1/+1
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-25remove stray makefilesDavid Tardon1-134/+0
2011-12-15catch exception by constant referenceTakeshi Abe1-2/+2
2011-12-02Added comment.Stephan Bergmann1-0/+4
2011-11-27reove include of pch header from javaunohelperNorbert Thiebaud4-8/+0
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth5-0/+14
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-25sb118: merged in DEV300_m72sb6-25/+6
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien6-25/+6
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-01-29sb118: #i108776# changed addsym.awk to also export STLport num_put symbols, ↵sb1-1/+1
and simplified it by requiring that first section is labeled UDK_3_0_0; adapted map files accordingly, replacing many individual ones with solenv/src templates
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.4.46); FILE MERGEDRüdiger Timm1-30/+18
2008/04/01 15:20:48 thb 1.4.46.2: #i85898# Stripping all external header guards 2008/03/31 07:24:07 rt 1.4.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.5.30); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 07:24:07 rt 1.5.30.1: #i87441# Change license header to LPGL v3.
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.
2008-04-11INTEGRATION: CWS changefileheader (1.17.8); FILE MERGEDRüdiger Timm1-23/+19
2008/03/31 07:24:07 rt 1.17.8.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.12.30); FILE MERGEDRüdiger Timm2-46/+36
2008/03/31 07:24:07 rt 1.12.30.1: #i87441# Change license header to LPGL v3.
2007-10-15INTEGRATION: CWS sb71 (1.16.24); FILE MERGEDVladimir Glazounov1-2/+4
2007/06/14 15:05:56 sb 1.16.24.1: #i75466# Adapted to new APP|SHLnRPATH.
2006-09-17INTEGRATION: CWS pchfix02 (1.4.16); FILE MERGEDOliver Bolte1-2/+5
2006/09/01 17:31:32 kaib 1.4.16.1: #i68856# Added header markers and pch files
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-09-17INTEGRATION: CWS pchfix02 (1.11.4); FILE MERGEDOliver Bolte2-4/+10
2006/09/01 17:31:31 kaib 1.11.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.
2006-06-19INTEGRATION: CWS warnings01 (1.8.8); FILE MERGEDJens-Heiner Rechtien1-13/+15
2006/02/28 15:13:22 sb 1.8.8.4: #i53898# Made code waring-free. 2006/01/25 19:57:56 sb 1.8.8.3: RESYNC: (1.9-1.10); FILE MERGED 2005/09/23 02:50:34 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-06-19INTEGRATION: CWS warnings01 (1.8.8); FILE MERGEDJens-Heiner Rechtien1-3/+3
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-05-24INTEGRATION: CWS ause043 (1.15.12); FILE MERGEDVladimir Glazounov1-5/+5
2006/03/10 10:55:45 hjs 1.15.12.2: #i56702# added missing type 2005/11/16 15:21:41 hjs 1.15.12.1: #i56702# added missing types
2006-01-03INTEGRATION: CWS sb44 (1.3.16); FILE MERGEDKurt Zenker1-7/+4
2005/12/12 16:00:07 sb 1.3.16.1: #i51419# Transport complete jvmaccess::UnoVirtualMachine instance including UNO class loader from juh to javavm service.
2006-01-03INTEGRATION: CWS sb44 (1.3.16); FILE MERGEDKurt Zenker1-6/+12
2005/12/12 16:00:06 sb 1.3.16.1: #i51419# Transport complete jvmaccess::UnoVirtualMachine instance including UNO class loader from juh to javavm service.
2006-01-03INTEGRATION: CWS sb44 (1.9.14); FILE MERGEDKurt Zenker1-4/+3
2005/12/12 16:00:05 sb 1.9.14.1: #i51419# Transport complete jvmaccess::UnoVirtualMachine instance including UNO class loader from juh to javavm service.
2006-01-03INTEGRATION: CWS sb44 (1.9.14); FILE MERGEDKurt Zenker1-4/+3
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.2.6); FILE MERGEDRüdiger Timm2-94/+42
2005/09/05 15:19:31 rt 1.2.6.1: #i54170# Change license header: remove SISSL
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-09-07INTEGRATION: CWS ooo19126 (1.14.6); FILE MERGEDRüdiger Timm1-48/+21
2005/09/05 15:19:30 rt 1.14.6.1: #i54170# Change license header: remove SISSL
2005-09-07INTEGRATION: CWS ooo19126 (1.8.6); FILE MERGEDRüdiger Timm2-94/+42
2005/09/05 15:19:30 rt 1.8.6.1: #i54170# Change license header: remove SISSL