Commit graph

814 commits

Author SHA1 Message Date
Stephan Bergmann
9a4fe0bdd8 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I012b13ee3e73a7fa3c9fd6a4519d414315a6543d
2012-08-31 09:04:15 +02:00
Noel Grandin
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
Caolán McNamara
350b031df0 callcatcher: remove some of the slightly trickier unused methods
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
2012-08-20 12:12:21 +01:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Arnaud Versini
9b2e6d4536 Replace usage of rtl/memory.h in xmlsecurity their equivalent from string.h
Change-Id: Id4a088864ee28163160d6ac408592952fe6c797d
2012-08-04 17:46:59 +02:00
Michael Meeks
6eeb0942c3 re-base on ALv2 code. Includes:
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-17 11:51:17 +01:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Gökçen Eraslan
9c8dc01d3a Merge branch 'feature/pdf-signing' 2012-07-09 10:16:17 +03:00
Gökçen Eraslan
786f730ea2 Add new chooseCertificate method to XDocumentDigitalSignatures UNO interface.
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::security::XDocumentDigitalSignatures is
extended.

Change-Id: I09f7d0ee180b16b588798820206780df359d133e
2012-07-07 19:08:48 +03:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Thomas Arnhold
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
Thomas Arnhold
4c4d748767 Remove some more include guards
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29 09:25:10 +02:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
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-21 11:54:18 +02:00
Takeshi Abe
eeb5bea1d4 removed unused forward declarations of class
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-20 00:50:59 +09:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Julien Nabet
0d53cde185 Some cppcheck cleaning
Change-Id: I9463f36bd61ee2d74be3d435adae9912cf411c97
2012-06-09 01:27:43 +02:00
Takeshi Abe
44e3dcf03b removed unused defines
Change-Id: I95eb6a46e6d2a2763313e90e5b15582c83f66b81
2012-06-03 20:46:50 +09:00
Michael Meeks
d369d4fac7 targetted revert of small stl empty optimisation
Change-Id: I5e845235f946f33f2a38839c8bd7bb6efda64147
2012-06-01 14:47:00 +01:00
Takeshi Abe
d95d58af08 nuke unused namespace
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-06-01 01:04:50 +09:00
Norbert Thiebaud
a9406f54e2 targeted string re-work
Change-Id: Ib4a0e8fcd128c949034d2d183ff045bb433fce8b
2012-05-29 19:30:23 -05:00
Norbert Thiebaud
601500f8a8 targeted string re-work
Change-Id: I6ce76c22118586b213161a0e307a53b22b318004
2012-05-29 19:30:23 -05:00
Markus Mohrhard
7ead068be9 more robust nss initialization, related fdo#45171
fall back to without profile if path is invalid or profile does not
exist

Change-Id: Ic9a73fbaaa288f8bc99dab2b1d679c2cbe6baa89
2012-05-04 15:13:53 +02:00
Caolán McNamara
2073131576 Resolves: fdo#39825 Make detection of certificate folder ui-configurable
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-27 11:12:41 +01:00
Jesús Corrius
33f5acad37 Remove blank space introduced in previous patch 2012-04-25 17:46:26 +02:00
José Santiago Jiménez Sarmiento
f33ed937b6 Remove unused methods 2012-04-25 17:14:15 +02:00
Julien Nabet
a160601163 Fix Prefer prefix ++/-- operators 2012-04-08 01:01:31 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Takeshi Abe
643a582793 removed duplicate #includes
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-04 01:39:08 +09:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Julien Nabet
140c90f430 Fix "pEncryptedData" not initialized 2012-02-18 08:04:53 +01:00
Michael Stahl
67c396fb66 fdo#39657: fix crash when parsing XML signatures 2012-02-18 00:07:30 +01:00
Catalin Iacob
08ae56de57 Remove unused code in XSecController 2012-02-13 15:56:31 +00:00
Catalin Iacob
b05ace90d3 Remove unused code in XMLSignatureHelper 2012-02-13 15:56:30 +00:00
Takeshi Abe
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Caolán McNamara
5833c182ed callcatcher: update list 2012-02-01 11:13:44 +00:00
Caolán McNamara
4995bccb95 callcatcher: update list 2012-01-31 11:37:25 +00:00
Olivier Hallot
7c4807bfc0 Fix for fdo43460 Part LV getLength() to isEmpty()
Part LV
Modules
xmlsecurity
2012-01-28 09:56:30 -02:00
Marcel Metz
d2c8003ecb Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Thomas Arnhold
804e86170f remove unused methods 2012-01-17 17:01:26 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
David Tardon
785bf20ab3 WaE: narrowing conversion from sal_Int32 to unsigned int 2012-01-15 20:27:25 +01:00