summaryrefslogtreecommitdiff
path: root/cli_ure
AgeCommit message (Collapse)AuthorFilesLines
2015-10-27cli_ure: climaker should open keyfile read-onlyMichael Stahl1-1/+2
This should fix build failures due to file locking preventing concurrent access to cli_ure/source/cliuno.snk. Change-Id: Iefd16ed83a01523b3612844c2f777516dc4e44c6 (cherry picked from commit 01518d3aa09ad8cb2cb82dcb329aeaab96c95bce) Reviewed-on: https://gerrit.libreoffice.org/19483 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini1-1/+1
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann1-1/+1
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2-4/+4
Change-Id: Iadbbc005ee8bdbf3f33fd291deef376c8adab806
2015-03-30Replace scary reinterpret_casts with OUString::unacquiredStephan Bergmann4-19/+18
...and actually fix some of them Change-Id: I3493ceb65f305466d167304bd77058adb042067c
2015-03-30fdo#57950 Replace chained append() with operator+Krisztian Pinter5-123/+35
Replaced all in cli_ure Change-Id: I144542f386fe26444c290edd9e23b26cb07941a6 Reviewed-on: https://gerrit.libreoffice.org/15040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-25TyposJulien Nabet1-1/+1
Change-Id: I665a56fcad10e136e949a10497f6ab8813af9968
2015-03-19We require MSVC2013 (_MSC_VER == 1800) nowTor Lillqvist2-13/+0
Change-Id: Ice8504041f22e00f2e5010813d9dff1d2987c8d6
2015-03-12cli_ure: PVS-Studio V618 non-const format stringMichael Stahl1-2/+2
Change-Id: I54834111ce8aac91f2a6605473bef5eeaa4fb171
2015-02-24Typo: increse->increaseJulien Nabet1-1/+1
Change-Id: I4942a9ef4d3805865896c83cd9efa66437857ba1
2015-02-03climaker: Fix handling incomplete typesDavid Ostrovsky1-8/+13
The order in which the hash table of incomplete structure types is iterated is non-deterministic. Make sure that the array fields are complete types before they are assigned. This fixed weird error on Windows 64 bit. The reason this bug wasn't hitting on 32 bit Windows build is because the generation order was different and by chance the referenced fields were already generated. Change-Id: Ifc8622b420fc25fea5a0ac8c09d08f7804c9b77c Reviewed-on: https://gerrit.libreoffice.org/13851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-12-12osl_getCommandArg always returns osl_Process_E_NoneStephan Bergmann1-5/+1
Change-Id: I0ff1e44f17976fd3a3060d8ee7fe15d77c918b79
2014-12-09fdo#39440 reduce scope of local variablesMichael Weghorn1-3/+1
This addresses some cppcheck warnings. Change-Id: Ib35eb591534c3f23adc3cb7b7fa9696dc5cbeabf Reviewed-on: https://gerrit.libreoffice.org/13383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-03Fold URE: WindowsStephan Bergmann2-424/+0
...assuming the delayLoadHook in cli_ure/source/native/native_bootstrap.cxx is no longer necessary and loading of cppuhelper from the program dir cannot fail regardless in whatever scenario the cli_cppuhelper library itself is loaded. Change-Id: I13f32b327bca4cce9780864f5e57cdad3860afe5
2014-11-18java: make fields final where possibleNoel Grandin1-1/+1
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini3-3/+3
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin3-3/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-02cli_ure (Windows): std::auto_ptr -> std::unique_ptrStephan Bergmann3-12/+12
Change-Id: Ibe794daffa347d194ff8c66a44c7eec4bcc9b83d
2014-08-27cli_ure: adapt destructors in cli_uno library to "C++/CLI"Michael Stahl4-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>
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold1-1/+1
Change-Id: Ic8a76a9ab73a3466fe155e2ca8eecedeb6e810c9
2014-08-13java: reduce scope, make fields privateNoel Grandin1-1/+1
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+2
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08Remove redundant inclusions of header "cppuhelper/shlib.h"Matthew Pottage1-1/+0
Change-Id: Iab402035613a6cc96b7b4ebd2981a1fd0f8bed23 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-08-08java: use an empty block rather than an empty statementNoel Grandin1-1/+1
Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b
2014-08-08java: remove unused variablesNoel Grandin1-2/+2
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
2014-08-01typo: more then -> more thanTakeshi Abe2-3/+3
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-06-29Typo: habe->haveJulien Nabet1-1/+1
Change-Id: Ic76a399fc4073fcb713bb566f3fbee2077e20e52
2014-06-29Typo: apend->appendJulien Nabet2-2/+2
Change-Id: I062c95ca8d478ba6c241723dda25c1dc4d7bb852
2014-06-09gbuild, cli_ure: Win32 make issues with back and forward slashesMichael Stahl1-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
2014-06-09cli_ure: Win32 make quoting problem, use sed to work aroundMichael Stahl4-6/+9
Change-Id: Ide8a3c574a1904e08921684453256d1d3c98fd78
2014-06-05various: remove SAL_THROW macroNoel Grandin3-7/+7
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin2-14/+7
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23Combine unoidl::loadProvider and unoidl::Manager::addProviderStephan Bergmann1-4/+2
Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold4-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>
2014-05-12use css prefix consistentlyThomas Arnhold4-16/+16
Change-Id: Ia2f827381ec768a7867918d61d7afb2f68457832
2014-05-12cli_ure: fix dbglevel=2 build on windowsThomas Arnhold3-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>
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin1-4/+4
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-29Fix memory leaksJulien Nabet1-0/+2
Change-Id: Id67d5375bedc6e6c10082d9c5ee69d6e932be158
2014-04-24add missing modelines to idl filesThomas Arnhold1-0/+3
Change-Id: If52651c70ee659c83ef127da4fe5e266cfe7eec2
2014-04-14typo: noone -> no oneThomas Arnhold1-2/+2
2014-03-10cli_ure: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann1-36/+2
Change-Id: If6f975bdc3d554828ff1ad3adc656579eda92a42
2014-02-27Remove visual noise from cli_ureAlexander Wilms8-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>
2014-02-23Remove unneccessary commentsAlexander Wilms5-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>
2014-02-14Drop unused #includeTakeshi Abe1-1/+0
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2013-12-17gbuild: Fix and check package dependencies.Matúš Kukan1-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>
2013-12-16Clean-up uno/lbnames.hStephan Bergmann1-0/+1
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin5-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
2013-10-30cli_ure: remove CLI version PackagesMichael Stahl2-20/+0
Tweak the installer so it reads the included files from SRCDIR. Change-Id: Ic4d3d2c003c2d0c5aebea6dd32f5989f3d4f04e4
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl2-2/+2
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186