summaryrefslogtreecommitdiffstats
path: root/cli_ure
Commit message (Collapse)AuthorAgeFilesLines
* cleanup tailing backslashesJochen Nitschke2016-12-301-1/+1
| | | | | | | Change-Id: Idb4bfc97e7d758c58118742affd9a9345c7a99f2 Reviewed-on: https://gerrit.libreoffice.org/32491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* OSL_TRACE->SAL in chart2..ooxNoel Grandin2016-12-131-12/+0
| | | | | | | Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* "// not impl" -> "= delete"Stephan Bergmann2016-09-231-2/+2
| | | | | | | Change-Id: Ide848d53564a4c4f822ae3875102ee09f03e3ce5 Reviewed-on: https://gerrit.libreoffice.org/29232 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* switch to EHs on windowsMarkus Mohrhard2016-06-203-1/+3
| | | | | | | | | | | | | | | | This seems to be a good idea based on several discussions in the project. In the end catching SEH exceptions is just going to cause strange platform dependent bahavior. This patch is based on on http://thread.gmane.org/gmane.comp.documentfoundation.libreoffice.scm/39102/focus=55516 and includes some additional cleanup of the sal signal code. Change-Id: Iedc998e37e6495afec445eccb60fa1c2b1a7defd Reviewed-on: https://gerrit.libreoffice.org/26497 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2016-05-011-1/+1
| | | | | | | Change-Id: Ideafa411b53fe4a5f2e6559be10c4cb82b58a256 Reviewed-on: https://gerrit.libreoffice.org/24543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* use consistent #define checks for the Windows platformNoel Grandin2016-02-171-1/+1
| | | | | | | | | | | | stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Remove excess newlinesChris Sherlock2016-02-094-14/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Fix typosAndrea Gelmini2016-01-101-1/+1
| | | | | | | Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* Fix typosAndrea Gelmini2016-01-073-4/+4
| | | | | | | Change-Id: I90b04b8eda6fc3d530c9db72052720cbe9de0343 Reviewed-on: https://gerrit.libreoffice.org/21197 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* cli_ure: fix buildMichael Stahl2015-11-022-12/+12
| | | | Change-Id: Ib35a951ea813151ca330c3eb2286cbada91bd972
* tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni2015-11-021-8/+8
| | | | | Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* remove some useless commentsNoel Grandin2015-10-131-7/+0
| | | | | | found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
* cli_ure: climaker should open keyfile read-onlyMichael Stahl2015-10-061-1/+2
| | | | | | | This should fix build failures due to file locking preventing concurrent access to cli_ure/source/cliuno.snk. Change-Id: Iefd16ed83a01523b3612844c2f777516dc4e44c6
* Fix typosAndrea Gelmini2015-09-301-3/+3
| | | | | | | Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea Reviewed-on: https://gerrit.libreoffice.org/18941 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* uno bridge: Prevent collision between cli::array and std::arrayDavid Ostrovsky2015-09-131-37/+37
| | | | | | | Change-Id: I23b0c0c6ec58dc2ff9ca266dd7f5ba00d1f8efab Reviewed-on: https://gerrit.libreoffice.org/18519 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* climaker: Fix std::array and cli::array collisionDavid Ostrovsky2015-09-031-12/+12
| | | | | | | Change-Id: I7b4815b4b7e8f016ce7a9047c77a6dde46b1ee0a Reviewed-on: https://gerrit.libreoffice.org/18320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann2015-07-131-0/+2
| | | | | | | ...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
* Fix typosAndrea Gelmini2015-07-041-1/+1
| | | | | | | Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Fix typosAndrea Gelmini2015-06-152-3/+3
| | | | | | | Change-Id: Id05ea8cf8aed878bedfe73c274df3c67b64bad37 Reviewed-on: https://gerrit.libreoffice.org/16263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#62475: partial handmade fixesAndrea Gelmini2015-05-151-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>
* Add support for cppu::UnoType<void>Stephan Bergmann2015-04-011-1/+1
| | | | Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-012-4/+4
| | | | Change-Id: Iadbbc005ee8bdbf3f33fd291deef376c8adab806
* Replace scary reinterpret_casts with OUString::unacquiredStephan Bergmann2015-03-304-19/+18
| | | | | | ...and actually fix some of them Change-Id: I3493ceb65f305466d167304bd77058adb042067c
* fdo#57950 Replace chained append() with operator+Krisztian Pinter2015-03-305-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>
* TyposJulien Nabet2015-03-251-1/+1
| | | | Change-Id: I665a56fcad10e136e949a10497f6ab8813af9968
* We require MSVC2013 (_MSC_VER == 1800) nowTor Lillqvist2015-03-192-13/+0
| | | | Change-Id: Ice8504041f22e00f2e5010813d9dff1d2987c8d6
* cli_ure: PVS-Studio V618 non-const format stringMichael Stahl2015-03-121-2/+2
| | | | Change-Id: I54834111ce8aac91f2a6605473bef5eeaa4fb171
* Typo: increse->increaseJulien Nabet2015-02-241-1/+1
| | | | Change-Id: I4942a9ef4d3805865896c83cd9efa66437857ba1
* climaker: Fix handling incomplete typesDavid Ostrovsky2015-02-031-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>
* osl_getCommandArg always returns osl_Process_E_NoneStephan Bergmann2014-12-121-5/+1
| | | | Change-Id: I0ff1e44f17976fd3a3060d8ee7fe15d77c918b79
* fdo#39440 reduce scope of local variablesMichael Weghorn2014-12-091-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>
* Fold URE: WindowsStephan Bergmann2014-12-032-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
* java: make fields final where possibleNoel Grandin2014-11-181-1/+1
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-171-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
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-123-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>
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-293-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>
* cli_ure (Windows): std::auto_ptr -> std::unique_ptrStephan Bergmann2014-10-023-12/+12
| | | | Change-Id: Ibe794daffa347d194ff8c66a44c7eec4bcc9b83d
* 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