summaryrefslogtreecommitdiff
path: root/xmlsecurity
AgeCommit message (Collapse)AuthorFilesLines
2012-09-17fdo#54858: DocumentDigitalSignatures::initialize can be called with 0 args nowStephan Bergmann1-18/+21
...as the new createDefault service ctor internally calls createInstanceWithArgumentsAndContext, not plain createInstance[WithContext]. Change-Id: Ia3bf8167154a4ae9d64dae271cc23d513e9e77fb
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann5-62/+0
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-04Some clean up of previous commitStephan Bergmann1-2/+2
Change-Id: I0ea6d6439f97fcf74162c19671483aaa17b5a6cb
2012-09-04fdo#46808, Adapt DocumentDigitalSignatures UNO service to new styleNoel Grandin1-21/+15
Rename service from "Decryptor" to "DocumentDigitalSignatures" to be consistent with the other UNO services, and with it's own header file name. Add service constructor for passing in arguments. Change-Id: Iaca0c40bb2f1a1af2ef9ca29361bfd023ade2678
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann4-46/+0
Change-Id: I012b13ee3e73a7fa3c9fd6a4519d414315a6543d
2012-08-29Fix MinGW build - libxmlsec builds now.Jan Holesovsky1-2/+8
This also removes patching of the generated 'configure' in libxmlsec; instead, autoreconf is called. Change-Id: I28c1cc38432d195dd0219fb5a0ab0ea1a35f7a32
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin1-4/+2
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-20callcatcher: remove some of the slightly trickier unused methodsCaolán McNamara8-47/+9
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
2012-08-14Fix conditionStephan Bergmann1-1/+1
Change-Id: I746778a0d0f229c65dca37bcf3fdae9dcebd4340
2012-08-14drop disable-xmlsec, it's core functionality, have to live with itCaolán McNamara2-2/+4
we basically need this functionality, the idea of it being optional isn't really logical anymore with nss split out from mozilla. for iOS and Android where they doesn't build yet spit out lame fixme nag warnings Change-Id: I4b16c62553b12d3dcd340a0b5c5a4cbd807c2f02
2012-08-08remove include comments and boxesThomas Arnhold1-2/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-04Replace usage of rtl/memory.h in xmlsecurity their equivalent from string.hArnaud Versini6-15/+17
Change-Id: Id4a088864ee28163160d6ac408592952fe6c797d
2012-07-17re-base on ALv2 code. Includes:Michael Meeks113-2172/+1680
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-14simplify include guardsThomas Arnhold1-1/+1
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-09Merge branch 'feature/pdf-signing'Gökçen Eraslan2-0/+24
2012-07-07Add new chooseCertificate method to XDocumentDigitalSignatures UNO interface.Gökçen Eraslan2-0/+24
This method shows the certificate choosing dialog previously used in ODF signing and returns the selected certificate. For PDF signing support, we need to reuse existing CertifacateChooser class of xmlsecurity module. So the UNO api of ::com::sun::star::security::XDocumentDigitalSignatures is extended. Change-Id: I09f7d0ee180b16b588798820206780df359d133e
2012-07-03ditch String::CreateFromAsciiCaolán McNamara1-5/+5
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02hrc cleanup: Remove unused definesThomas Arnhold1-24/+0
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks3-12/+3
2012-06-29Remove include guardsThomas Arnhold2-6/+0
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29Remove some more include guardsThomas Arnhold7-22/+0
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-3/+0
2012-06-27Remove commented out code (includes)Thomas Arnhold2-5/+0
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27Remove commented out codeThomas Arnhold1-11/+0
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
2012-06-27Reduce newline bloat at eofThomas Arnhold1-2/+0
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-22.crt files don't need executable bitsMichael Stahl77-0/+0
Change-Id: Ic2ee1091bec03033973201e69322082517eaab3c
2012-06-22.crl files don't need executable bitsMichael Stahl18-0/+0
Change-Id: I3a4f6a716a4d371c1e291af90f8aa1bdcd2cf614
2012-06-22.pem files don't need executable bitsMichael Stahl115-0/+0
Change-Id: I4fe7ba1b8ad1b94a8c8f093c9b56c2dd04226c6c
2012-06-22.xml files don't need executable bitsMichael Stahl3-0/+0
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22.cfg files don't need executable bitsMichael Stahl24-0/+0
Change-Id: If17439ae83eb063a7ab054c3701e23dd48f1edd1
2012-06-22manifest.mf files don't need executable bitsMichael Stahl1-0/+0
Change-Id: I18868b542524f0e94ec7b06e753ee2385ede9a95
2012-06-22re-base on ALv2 code.Michael Meeks3-69/+42
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21replace all but one .hdl include with equivalent .hpp includes.Michael Meeks2-2/+2
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21re-base on ALv2 code.Michael Meeks46-1062/+675
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks22-509/+311
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold1-9/+0
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-20removed unused forward declarations of classTakeshi Abe1-2/+0
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-09Remove superfluous empty lines on topThomas Arnhold2-5/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09Some cppcheck cleaningJulien Nabet2-8/+7
Change-Id: I9463f36bd61ee2d74be3d435adae9912cf411c97
2012-06-03removed unused definesTakeshi Abe7-21/+0
Change-Id: I95eb6a46e6d2a2763313e90e5b15582c83f66b81
2012-06-01targetted revert of small stl empty optimisationMichael Meeks2-7/+7
Change-Id: I5e845235f946f33f2a38839c8bd7bb6efda64147
2012-06-01nuke unused namespaceTakeshi Abe6-7/+0
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-29targeted string re-workNorbert Thiebaud6-84/+83
Change-Id: Ib4a0e8fcd128c949034d2d183ff045bb433fce8b
2012-05-29targeted string re-workNorbert Thiebaud25-116/+114
Change-Id: I6ce76c22118586b213161a0e307a53b22b318004
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-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
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-25Remove blank space introduced in previous patchJesús Corrius1-1/+0
2012-04-25Remove unused methodsJosé Santiago Jiménez Sarmiento2-10/+1