summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-3/+3
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-17It is very wrong to #undef _DEBUG in some source files of a libraryTor Lillqvist1-7/+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-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-30/+28
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-03-25The [_]DEBUG_WAS_DEFINED macros are not used hereStephan Bergmann1-8/+2
...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-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-6/+6
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-02-19nsscrypto_initializer: MSVC does not support C99 dynamic arraysMichael Stahl1-6/+8
Change-Id: I407b2308756b46fbf0920881fc20972b486819b7
2013-02-18coverity#982590 Explicit null dereferencedNorbert Thiebaud1-7/+12
Change-Id: Ie898603f64a4568a8502caf3db154ae5ce008af9 Reviewed-on: https://gerrit.libreoffice.org/2227 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-1/+0
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-11-19Clean-up "SYSTEM_MOZILLA" -> "SYSTEM_NSS"Stephan Bergmann1-8/+6
Change-Id: I47ec3aeb14445b697bf8f5af34c5d16a14069735
2012-11-07Improve loggingStephan Bergmann1-4/+19
Change-Id: I5ff457c76970356a5748f6f319f32a1f49b86ca1
2012-11-06'xMSF' : undeclared identifierTor Lillqvist1-1/+1
Change-Id: Iba7a18b0c28da6a3955e62fe54ba96842e571064
2012-11-05fdo#46808, Adapt xml::crypto::SEInitializer UNO service to new styleNoel Grandin1-17/+16
Also create an NSSInitializer service IDL and split it's interfaces out from SEInitializer. It looks like this was the intention all along, but someone took a shortcut. Change-Id: I53ac1cb5d38b78b6718fe22c9666eae1f194a3b7
2012-07-17re-base on ALv2 code. Includes:Michael Meeks1-23/+14
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-06-01nuke unused namespaceTakeshi Abe1-1/+0
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-04more robust nss initialization, related fdo#45171Markus Mohrhard1-2/+4
fall back to without profile if path is invalid or profile does not exist Change-Id: Ic9a73fbaaa288f8bc99dab2b1d679c2cbe6baa89
2012-04-27Resolves: fdo#39825 Make detection of certificate folder ui-configurableCaolán McNamara1-37/+46
Display in the (unix) options gui the NSS cert dir that has been auto-detected for use with digital signatures. Show the other detected possibilities and allow it to be overridden. The autodetection should basically work out of the box, but if there's some bustage at least the UI can be used to sort it out and/or let developers debug it. This removes the need for the horrible MOZILLA_CERTIFICATE_FOLDER hack, though that's still supported.
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-01-28Fix for fdo43460 Part LV getLength() to isEmpty()Olivier Hallot1-2/+2
Part LV Modules xmlsecurity
2012-01-11fix for gcc 4.7/C++11: this is not string literal operatorDavid Tardon1-1/+1
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz1-1/+0
2011-12-16gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'Matúš Kukan1-7/+7
2011-11-27remove include of pch header from xmlsecurityNorbert Thiebaud1-2/+0
2011-11-18xmlsecurity: fix typoMichael Stahl1-1/+1
2011-11-11use the newly introduced LO_LIB_DIRS variableMarkus Mohrhard1-2/+1
the password unit test needs this code path and will fail otherwise
2011-10-24Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and ↵Stephan Bergmann1-1/+1
BaseInstallation.
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara1-0/+2
2011-03-27mav60: #164341# use simple nss initialization in case mscrypto is usedMikhail Voytenko1-1/+6
2011-03-27mav60: #164341# introduce nss initialization for the case when mscrypto is usedMikhail Voytenko1-0/+516