summaryrefslogtreecommitdiff
path: root/xmlsecurity
AgeCommit message (Collapse)AuthorFilesLines
2013-07-02XmlReadOnlyImage is now unused post .ui conversionsCaolán McNamara5-85/+2
Change-Id: Ib90966ed6e791371dacd8d9cdf8234fa66b02858
2013-06-29remove OUString wrap for string literalsThomas Arnhold3-9/+9
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29reduce some spacingThomas Arnhold3-13/+7
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
2013-06-29remove some createFromAscii usageThomas Arnhold1-5/+5
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-20Resolves: #i122564# correct typo, save -> safeJürgen Schmidt1-1/+1
(cherry picked from commit 1aedcb86f08affb4265539418d4cde377c4de80c) Change-Id: I6af85ddfafa1fe1577fd43431a08d62e9c2a5a52
2013-06-19fdo#43460 unoxml,writerfilter,xmlsecurity: use isEmpty()Jelle van der Waa1-1/+1
Change-Id: Iba3b39086212803bc41384f5c8f51e42712a5249 Reviewed-on: https://gerrit.libreoffice.org/4349 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-10fdo#46808, Convert xml::crypto services to new styleNoel Grandin19-207/+65
Also remove the unnecessary XInitialization implementations. Change-Id: I81f32b2cdcf69b84fe4b15382f9294073a7f2f20
2013-06-06Some more modules at least building with mingw64Fridrich Štrba1-2/+3
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
2013-06-05Drop unused XInitialization from implementationStephan Bergmann2-15/+2
...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 Bergmann2-14/+2
...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 Grandin1-1/+1
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 Grandin1-8/+3
Change-Id: I45bcb3f0f4b9998105d361dbf6a98d8f5310da52
2013-06-05fdo#46808, Convert XMLSignatureTemplate service to new styleNoel Grandin1-7/+2
Change-Id: I80530f84ad5a86eccc794f9ddd14f939d093a20d
2013-06-05fdo#46808, Convert XMultiServiceFactory in xmlsecurity moduleNoel Grandin15-82/+96
Change-Id: Ia134170d07f33c2649b2a2620f40bc7b45ec7e16
2013-06-05remove unused componentcontext.hxx includesNoel Grandin2-2/+0
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-05-25translatable="yes" for some elements in .ui filesAndras Timar1-1/+1
Change-Id: I915cd6e73f907850f17b102c7860a827b91eef37
2013-05-21fdo#46808, GetStorageFromURL now takes an XComponentContextNoel Grandin1-1/+1
Change-Id: I300748914c913ecd9d433cb6f549a000717b538d
2013-05-16Resolves: #i120675# the certificate store handles need to be closedJian Fang Zhang2-19/+48
after closing the document Found by: zhangjf Patch by: zhangjf (cherry picked from commit 33d9584bb6d285de1d935bf23adbb2c7666656f4) Change-Id: I131a17276f33059eb944fc34272c50f838b6973f
2013-05-13Resolves: #i120635# Removed httpserv.jar and changed its dist directoryAndre Fischer5-36/+9
(cherry picked from commit efc6346ef6a3a9b618979230036d877149ce0d7d) Change-Id: I983b106ef46bd9b95f6ef12d3c2432d604dd08a8
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer4-10/+7
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák12-26/+26
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06Java cleanup, close file handles when done with themNoel Grandin1-0/+1
Change-Id: I79e6e0b8f53ae6f232c34aa8e833853d2ec24cf0
2013-05-06xmlsecurity: drop no longer needed RTL_ASCII_USTRINGPARAM macroMiklos Vajna3-62/+51
Change-Id: Ia08688ef3c262ba4379213231032c73404ae748b
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-138/+24
2013-04-26some more namespace cleanupThomas Arnhold3-30/+20
Change-Id: Ib1e80d717f199db8f8ac4181d4377a86d88e3244
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-1/+1
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane8-212/+17
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-17It is very wrong to #undef _DEBUG in some source files of a libraryTor Lillqvist2-15/+0
Nowadays in a dbgutil build with MSVC, the debugging runtime (C++ library) is used. Just like with the GNU libstdc++, it is not binary compatible with the non-debugging variant. All sources that go into one DLL or EXE must be compiled with the same _DEBUG settings (unless one is extremely careful and knows exactly what one is doing, which presumably is not the case with this code). With previous compilers this has gone undetected, but with MSVC2012 at least, you get link-time errors, which is a good thing: nssinitializer.o : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in biginteger.o nssinitializer.o : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in biginteger.o Whether this actually has caused run-time erroneous behaviour or not in a dbgutil build is another thing... Change-Id: I0c42161f00a0e37b438e3b911e3c0058edadd800
2013-04-11rename UI to UIConfigDavid Tardon2-3/+3
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák1-1/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák90-847/+825
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-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-30remove local css definitionsThomas Arnhold10-55/+43
follow-up of 66a175834c39ccde9475eac3adb72a843110d01f Change-Id: I1c495041ccc4db4dd9554d49b6324e989fa46c60
2013-03-29ResMgr with LanguageTagEike Rathke1-0/+1
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Wunused-macrosStephan Bergmann1-3/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25The [_]DEBUG_WAS_DEFINED macros are not used hereStephan Bergmann2-16/+4
...but only in connectivity/source/drivers/mozab/{pre,post}_include_mozilla.h, which is never included from here, so this smells like cargo-cult. Change-Id: Iac0d7d60caad7c090445d551b7adb50424130e2a
2013-03-25Consolidate XMLSEC_NO_SIZE_T setting in xmlsecurity/xmlsec-wrapper.hStephan Bergmann15-80/+61
...so all xmlsec/*.h includes are bundled there now (except, for pragmatic reasons, the xmlsec/mscrypto/*.h ones that unconditionally include windows.h and only work on Windows). Change-Id: I33e642f4f6a2e40edd6950af7f209c8b76c6e5fe
2013-03-25stricmp macro is unusedStephan Bergmann1-4/+0
...since f3eb77586e067a46211334a78987652815f47744 "further removing of dead code." Change-Id: I6805c5adafcf19782f352cdacd0d99a9e7681eb6
2013-03-24add cui to Library_mergedPeter Foley2-8/+8
Change-Id: I485426c0a0792e17bae5ef125d69f52827b469b2
2013-03-19fix the 'warning' icon in .ui filesAndras Timar1-2/+2
Images in .ui files can be loaded from resources (images.zip). However, only those images are packed into images.zip, which are used in traditional .src resources. We need to tweak packimages.pl one day. Change-Id: Ic954f2561e66880c7f7ff3ed941ccb28a86d83e1
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2-6/+6
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold9-50/+50
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-18fix other problems found by WundefLuboš Luňák1-0/+1
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim9-3/+25
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08make use of startsWith()Thomas Arnhold1-1/+1
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara1-3/+7
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94