summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework
AgeCommit message (Collapse)Author
2016-02-09Remove excess newlinesChris Sherlock
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>
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-12-21loplugin:unusedfields in xmlscript,xmlsecurityNoel Grandin
Change-Id: I5239766f2105fb1a7823215a4ffe48891e000c3d
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I2093e93e07ff19a1a1d2c8b6f221dac2bf2a2613
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218
2015-10-26remove extra spaces around ::Noel Grandin
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-09-29Fix typosAndrea Gelmini
Change-Id: I2cdfc4e9d8ba1acb7c2548f9394d320c6504207e Reviewed-on: https://gerrit.libreoffice.org/18997 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-14xmlsecurity: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: Ie8f972330f6bc88e205290dcbe666895b7bad43f Reviewed-on: https://gerrit.libreoffice.org/18557 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-21Miscellaneous typosAdolfo Jayme Barrientos
Change-Id: I5187364d420ab78c36a91632efab9c32951d867a
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-30Fix typosAndrea Gelmini
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: I8e819192d4464c3d03feb908b9acae5f91161fe9
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Idcaafa47f1891858d2ac4cdc536065cbc127b7c4
2015-06-07Remove include stdio (part7)Julien Nabet
Change-Id: I7058ac53f4bbf96eff9a36a03279ab0753cc42ba Reviewed-on: https://gerrit.libreoffice.org/16135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: I7128d99926bddf5ffd0a87099c7fa3ce3a1e08e0
2015-05-20cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Idcf5460ec59cfb6f13055652c094d460c15da5ed
2015-05-04cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I2177e424d54dc2b5e26b7bbfe073b524e9cc5bab Reviewed-on: https://gerrit.libreoffice.org/15187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I374bfba6ee7470044a677b7351cd59aac2e1b042
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I42fdc042ed7317b5b6c337e7b38966e616f8e24b
2014-12-18xmlsecurity: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I18370f6203455cf7568e48e49b7093d114656619
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
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 Gelmini
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 Grandin
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-15loplugin: cstylecastNoel Grandin
Change-Id: I96a0d5d7ec3363076b0165f3c540c51ef01b58f3
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-19fix-includes.pl: xmlsecurityThomas Arnhold
Change-Id: Ie3dd8674e1fa927d15eeb6a64a0cad24b8825262
2014-04-24xmlsecurity: sal_Bool->boolNoel Grandin
Change-Id: I4f32fe3b5133e13dab88ca1c9acd021d84dc59a9
2014-04-19fixincludeguards.sh: xmlsecurityThomas Arnhold
2014-04-11Use valid UNOIDL identifiers in XCompressedDocumentHandlerStephan Bergmann
...which is new in LO 4.3 and still unpublished. Change-Id: I2d6b553c27906d7855c62f33fdf0060b58d3ec62
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-01-17Convert xmlsecurity to cppu::supportsServiceAlexandre Vicenzi
Change-Id: Ifcec9e067e54cc8a3d1254d41d09ea251820849d
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-11-07remove unnecessary use of OUString constructor in XMLSECURITY moduleNoel Grandin
Change-Id: I95b0eda83c60456f3db267183030fe5f6cd70bc4
2013-09-04WaE: 'BufferNode::notifyAncestor': recursive call has no side effectsTor Lillqvist
Interesting function that just traverses a chain of objects using recursion, but does nothing at all otherwise. Kill it. But at least it had an Enterprise Ready block comment in front. Change-Id: If2296d2534cb9451d4ceadaf966b8c70f0a17557
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-11fdo#62475 removed pointless commentsJelle van der Waa
Change-Id: I02b264a9661bcefaea96d6c5743352914154427d Reviewed-on: https://gerrit.libreoffice.org/5345 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-05Drop unused XInitialization from implementationStephan Bergmann
...now that it has been dropped from the service declaration with 75a87d9bc25c9c74810591bbfa560b0f7184e940 "fdo#46808, Convert xml::crypto::XMLEncryptionTemplate to new style"---appears to be nonsense that had been in there "since the beginning." Change-Id: I75826b7eb0a4d5538204394a8f0e9c9e9f1393da
2013-06-05Drop unused XInitialization from implementationStephan Bergmann
...now that it has been dropped from the service declaration with 6a12e13870f15df93d2627f1538f7c64ca46e9e5 "fdo#46808, Convert XMLSignatureTemplate service to new style"---appears to be nonsense that had been in there "since the beginning." Change-Id: I4e4d3649f1aa0dacebdc8bdcee0348cee294ab89
2013-06-05fix superclass-constructor call.Noel Grandin
Was introduced in commit a4196fc3cf1e20e32cda9477a33ff56515f0c24e "fdo#46808, Convert XMultiServiceFactory in xmlsecurity module" Change-Id: Ie06a3c89e3a8b4cf43e68afd575a0e86b48d6bc2
2013-06-05fdo#46808, Convert xml::crypto::XMLEncryptionTemplate to new styleNoel Grandin
Change-Id: I45bcb3f0f4b9998105d361dbf6a98d8f5310da52
2013-06-05fdo#46808, Convert XMLSignatureTemplate service to new styleNoel Grandin
Change-Id: I80530f84ad5a86eccc794f9ddd14f939d093a20d
2013-06-05fdo#46808, Convert XMultiServiceFactory in xmlsecurity moduleNoel Grandin
Change-Id: Ia134170d07f33c2649b2a2620f40bc7b45ec7e16
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.