summaryrefslogtreecommitdiffstats
path: root/cli_ure
Commit message (Collapse)AuthorAgeFilesLines
* cli_ure: adapt destructors in cli_uno library to "C++/CLI"Michael Stahl2014-08-274-5/+23
| | | | | | | | | | | | | | | | | | | | | | | commit 4b56d82c7d20ba5897d87aaf7fc94da5356b8eec converted the cli_uno library from "Managed C++" to "C++/CLI", but forgot one detail: The destructors on "ref" classes were mapped to Finalize() methods in the old syntax, but the new one maps them to Dispose() methods, which are only invoked on stack-allocated objects. Presumably this omission results in leaking of native C++ UNO objects. Reading the C++/CLI documentation i get the impression that: 1) the destructor should explicitly call the finalizer 2) the CLR will not call the finalizer itself iff the destructor is invoked http://msdn.microsoft.com/en-us/library/ms235315.aspx http://msdn.microsoft.com/en-us/library/ke3a209d%28v=vs.110%29.aspx Change-Id: I509d9b69a399c3d7d6597060ab9b7c78c5916e11 Reviewed-on: https://gerrit.libreoffice.org/11132 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* warning C4189: local variable is initialized but not referencedThomas Arnhold2014-08-131-1/+1
| | | | Change-Id: Ic8a76a9ab73a3466fe155e2ca8eecedeb6e810c9
* java: reduce scope, make fields privateNoel Grandin2014-08-131-1/+1
| | | | | | found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-121-0/+2
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
* Remove redundant inclusions of header "cppuhelper/shlib.h"Matthew Pottage2014-08-081-1/+0
| | | | | Change-Id: Iab402035613a6cc96b7b4ebd2981a1fd0f8bed23 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* java: use an empty block rather than an empty statementNoel Grandin2014-08-081-1/+1
| | | | Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b
* java: remove unused variablesNoel Grandin2014-08-081-2/+2
| | | | Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
* typo: more then -> more thanTakeshi Abe2014-08-012-3/+3
| | | | Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
* Typo: habe->haveJulien Nabet2014-06-291-1/+1
| | | | Change-Id: Ic76a399fc4073fcb713bb566f3fbee2077e20e52
* Typo: apend->appendJulien Nabet2014-06-292-2/+2
| | | | Change-Id: I062c95ca8d478ba6c241723dda25c1dc4d7bb852
* gbuild, cli_ure: Win32 make issues with back and forward slashesMichael Stahl2014-06-091-1/+1
| | | | | | | It looks like what works is to give the source file names with backslashes but everything else with forward slashes? Change-Id: Iaf910ab5fc41984d1315a30b164a334d28344c16
* cli_ure: Win32 make quoting problem, use sed to work aroundMichael Stahl2014-06-094-6/+9
| | | | Change-Id: Ide8a3c574a1904e08921684453256d1d3c98fd78
* various: remove SAL_THROW macroNoel Grandin2014-06-053-7/+7
| | | | Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
* remove boilerplate in UNO Exception constructor callsNoel Grandin2014-05-232-14/+7
| | | | | | | Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
* Combine unoidl::loadProvider and unoidl::Manager::addProviderStephan Bergmann2014-05-231-4/+2
| | | | Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-154-8/+8
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* use css prefix consistentlyThomas Arnhold2014-05-124-16/+16
| | | | Change-Id: Ia2f827381ec768a7867918d61d7afb2f68457832
* cli_ure: fix dbglevel=2 build on windowsThomas Arnhold2014-05-123-62/+22
| | | | | | | | | | | | | | | | | Some blocks are completely unused. According to http://msdn.microsoft.com/de-de/library/ms235298.aspx rtl_uString * __pin * pp_sInterfaces = &_sInterfaces; should be pin_ptr<rtl_uString *> pp_sInterfaces = &_sInterfaces; Change-Id: I039e94649d542fb5b51231b2e0df0a4dc1170c19 Reviewed-on: https://gerrit.libreoffice.org/9318 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* simplify ternary conditions "xxx ? yyy : false"Noel Grandin2014-05-051-4/+4
| | | | | | | | | Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
* Fix memory leaksJulien Nabet2014-04-291-0/+2
| | | | Change-Id: Id67d5375bedc6e6c10082d9c5ee69d6e932be158
* add missing modelines to idl filesThomas Arnhold2014-04-241-0/+3
| | | | Change-Id: If52651c70ee659c83ef127da4fe5e266cfe7eec2
* typo: noone -> no oneThomas Arnhold2014-04-141-2/+2
|
* cli_ure: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-101-36/+2
| | | | Change-Id: If6f975bdc3d554828ff1ad3adc656579eda92a42
* Remove visual noise from cli_ureAlexander Wilms2014-02-278-22/+22
| | | | | | | Change-Id: I1ddada46767b2840c663a0a077e1b723f9645b56 Reviewed-on: https://gerrit.libreoffice.org/8240 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-235-38/+38
| | | | | | | 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>
* Drop unused #includeTakeshi Abe2014-02-141-1/+0
| | | | Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
* gbuild: Fix and check package dependencies.Matúš Kukan2013-12-171-4/+0
| | | | | | | Change-Id: Ia54def7a404e07974eb1e8a556f4659cd974e7f8 Reviewed-on: https://gerrit.libreoffice.org/7081 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
* Clean-up uno/lbnames.hStephan Bergmann2013-12-161-0/+1
| | | | Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin2013-11-205-57/+43
| | | | | | | | | | Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
* cli_ure: remove CLI version PackagesMichael Stahl2013-10-302-20/+0
| | | | | | Tweak the installer so it reads the included files from SRCDIR. Change-Id: Ic4d3d2c003c2d0c5aebea6dd32f5989f3d4f04e4
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-282-2/+2
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* cli_ure: remove Package_configMichael Stahl2013-10-283-28/+0
| | | | | | | - cliuno.snk is used from SRCDIR - climaker.exe.config is not packaged and appears unnecessary Change-Id: Ia0e364bd3b488841aeb8ae75c26aa0cd4ff86012
* gbuild: refactor CliLibraryMichael Stahl2013-10-284-5/+5
| | | | | | | | | | | - stop copying the DLL to OUTDIR - since that was the main reason for the separation between CliLibrary and CliLibraryTarget, merge the targets; the newly inherited variables are not expected to cause problems - hardcode target to URE bin dir for now, no immediate need for multiple layers Change-Id: If0fea1337349c41f231c8cde122852c71d5080a7
* fdo#69601: refactor CliNativeLibraryMichael Stahl2013-10-281-6/+6
| | | | | | | | | | | | | - stop copying the DLL to OUTDIR - since that was the main reason for the separation between CliNativeLibrary and CliNativeLibraryTarget, merge the targets; the newly inherited variables are not expected to cause problems - the Library remains in layer NONE; the derived CliNativeLibrary is in INSTDIR - hardcode target to URE bin dir for now, no immediate need for multiple layers Change-Id: I3bf4859e8c574f84d69eb43d12ddce0d34b5730c
* typo fixes in commentsAndras Timar2013-09-261-1/+1
| | | | Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
* Fixes for cross-compilation on OS X (to iOS)Tor Lillqvist2013-09-231-1/+1
| | | | | | | | | | | Introduce SDKDIRNAME as a configury variable and use it instead of the gbuild gb_Package_SDKDIRNAME. Then we can easily construct the SDKDIRNAME_FOR_BUILD variant that is needed to find the specially named SDK in instdir on OS X when cross-compiling. Move the version number section in configure.ac earlier. Change-Id: Iee3db1a50ad4c7a9f91bbc5e0d0b01d76a76f701
* cli_ure: copy cli_basetypes to INSTDIR/sdk/binMichael Stahl2013-09-223-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | The library is already in the URE/bin directory, but that is not sufficient to be able to run sdk/bin/climaker.exe. There are apparently 4 ways for a .net/CLR executable to locate shared libraries: 1) in the same directory as the executable 2) in some mysterious "GAC" thing in C:/Windows (which is presumably how it works if you actually install LO) 3) via an application configuration file entry "probing", which only works when it's in a sub-directory of the one the executable is in 4) via a DEVPATH variable, but that only works with a special configuration entry in a system "machine config" file of the .net framework Specifically PATH is apparently ignored. Since building on Windows is enough of a PITA already and we don't want developers to have to edit another config file, put another copy of the library into sdk/bin. http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94Resolving_Names_to_Locations http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94CLR_Loader Change-Id: I511957ad9a9a918ed0c316126304a1980fb2d289
* cli_ure: cleanup in Library_cli_cppuhelper_nativeMichael Stahl2013-09-221-4/+3
| | | | Change-Id: I76b4815208354e78eb3575982235b6f26f1e02fd
* fix existing commentsPhilipp Riemer2013-08-311-2/+2
| | | | Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
* fix indentationPhilipp Riemer2013-08-311-6/+6
| | | | | | | | This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476
* fdo#62475 - remove visual noisePhilipp Riemer2013-08-311-10/+2
| | | | | | | | This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
* Missing dependency (see "#using <cli_basetypes.dll>" in climaker_share.h)Stephan Bergmann2013-08-221-0/+3
| | | | Change-Id: I2575da1ccbe1c301dd826588aec2a787176d3cfd
* Re-work 8bit characters in source code, or remove them.Michael Meeks2013-08-201-2/+2
| | | | | | | | Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* gbuild: remove external_headers targetsMatúš Kukan2013-06-101-1/+1
| | | | | | | | gb_LinkTarget__add_internal_headers was used only for sdi headers now anyway, hopefully for no good reason. One headers target is enough for all. Change-Id: Ia01fb7a0aac7f72915448424b3393ecd9ba0f8f5
* re-base on ALv2 code. Includes:Michael Meeks2013-06-031-22/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
* Source files shouldn't have executable bit set.Mark Wielaard2013-05-282-0/+0
| | | | | | | Change-Id: Iafad6249a7998d7c749c1ca2979a606078cfcb5e Reviewed-on: https://gerrit.libreoffice.org/4070 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Remove dependency of climaker on registry formatStephan Bergmann2013-04-292-92/+64
| | | | | | See the comment in climaker_app.cxx main about room for improvement. Change-Id: I11cc2f62c9d42269d5c96253198ee4e730496e75
* Fix compilation error after fe4ffd81045144ffb8d69ae9e5df7ef191005128Tor Lillqvist2013-04-251-1/+1
| | | | | | | | Whether it works, no idea. But on the other hand, from the dicsussion in fdo#61503 it doesn't seem as if that commit was deeply insightful either. (And how it compiled on the commit author's machine, no idea.) Change-Id: If6355b33c406e8da5bdb2bf77aaf8b2ac0c39343
* fdo#61503 fix cli_cppuhelper bootstrap errorPeter Foley2013-04-241-1/+1
| | | | | | | Change-Id: I777d2d866cfc8b2363b418fd5cba6576e3a2b8ec Reviewed-on: https://gerrit.libreoffice.org/3600 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann2013-04-221-10/+8
| | | | | | | | | | | | | | | This reverts commit 67e69a55820f50973ca0de75ccab2bb07d0bada8, applying a band- aid fix to cli_ure/source/climaker for now. Conflicts: stoc/inc/bootstrapservices.hxx stoc/source/tdmanager/lrucache.hxx stoc/source/tdmanager/tdmgr.cxx stoc/source/tdmanager/tdmgr_common.hxx stoc/source/tdmanager/tdmgr_tdenumeration.cxx stoc/source/tdmanager/tdmgr_tdenumeration.hxx Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28