summaryrefslogtreecommitdiff
path: root/cli_ure/source/uno_bridge/cli_proxy.cxx
AgeCommit message (Collapse)Author
2014-08-27cli_ure: adapt destructors in cli_uno library to "C++/CLI"Michael Stahl
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>
2014-05-12use css prefix consistentlyThomas Arnhold
Change-Id: Ia2f827381ec768a7867918d61d7afb2f68457832
2014-05-12cli_ure: fix dbglevel=2 build on windowsThomas Arnhold
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>
2014-02-27Remove visual noise from cli_ureAlexander Wilms
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>
2014-02-23Remove unneccessary commentsAlexander Wilms
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-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin
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
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-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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-10-24cli_ure: warning C4965: implicit box of integer 0Michael Stahl
Change-Id: I0ccc91ea686e599171845ff2cff5e536bbdb7b77
2012-10-08Managed C++ to C++/CLI conversion also for the debug codeTor Lillqvist
Change-Id: Ibb4f5e386644a67905421d2f9c33336a119fca88
2012-10-07convert uno_bridge to new syntaxPeter Foley
Change-Id: Iac5e9a860f7ef68104c4cfc19abe686b754190af
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-06-27re-base on ALv2 code.Michael Meeks
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-02-06Fixed some cppcheck messagesPKEuS
2011-11-02precompiled_cli_ure.hxx is empty, so just remove itJoseph Powers
2011-03-16WaE: return after throwCaolán McNamara
2011-03-12Move OSL_ENSURE(0,...) to OSL_FAIL(...)Thomas Arnhold
2011-03-02Remove "using namespace ::rtl"Julien Nabet
2010-12-06Replace all occured, occurance etc.Takeshi Abe
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-06-25INTEGRATION: CWS jl104 (1.3.4); FILE MERGEDKurt Zenker
2008/06/18 14:25:01 jl 1.3.4.1: #i88078# cli_ure moved to URE, therefore it can only build ure types, tests moved to testtools
2008-04-11INTEGRATION: CWS changefileheader (1.2.34); FILE MERGEDRüdiger Timm
2008/03/31 07:22:36 rt 1.2.34.1: #i87441# Change license header to LPGL v3.
2007-05-09INTEGRATION: CWS bunoexttm (1.1.2); FILE ADDEDKurt Zenker
2006/12/19 12:05:23 kr 1.1.2.1: added: moved cli_uno bridge from bridges to here