Commit Graph

1165 Commits

Author SHA1 Message Date
d540c322cc Remove more useless code inside "#if 0" blocks
Change-Id: Ifb9f9d2211608b848a5de66e1d19c4815a755907
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/840
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-10-08 21:27:01 +00:00
14916972c5 sal_Bool->bool in xmlsecurity
Change-Id: I80b20f5df179f994e5004c1ef390457c252478ef
2012-10-04 21:29:35 +02:00
a20f9a410f fdo#46808, Adapt xml::sax::XParser UNO service to new style
The xml.sax.Parser service already existed, it just did not have
a new-style service to create it.

Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04 16:29:53 +02:00
dd11a1e57a Fixes/improvements on previous commit
* UUIInteractionHandler still needs to implement XInitialization.

* Moved ambiguating InteractionHandler typedef out of the way.

* Removed InteractionHandler.createDefault, as it was originally stated that "it
  is strongly recommended that [the "Parent"] property is supplied."

* Added back documentation about Parent and Context.

* Simplified some call-sites to directly use XInteractionHandler2.

Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04 14:42:52 +02:00
c25cb8a641 fdo#46808, Adapt task::InteractionHandler UNO service to new style
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.

Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04 14:42:52 +02:00
6fe5360e0b fix String->OUString conversion
Change-Id: I65d9cda603aa95f36df57494195b159f9d2619ac
2012-10-01 20:59:50 +04:00
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
dc397aae70 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28 16:49:08 +02:00
80374355ab gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28 16:49:08 +02:00
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
3e46a434eb String -> OUString
Change-Id: I4fc17b5fff7a00edc96bd4f75565b5f041c1dcb0
2012-09-25 20:45:19 +04:00
4f850e0656 String -> OUString
Change-Id: I252675bf223b8a14dff2b4bcdbfd926979e56dc3
2012-09-25 20:45:19 +04:00
57bd5cf70a remove unused files
Change-Id: I0b656cd8ac242913fba142554ecbc58440d14e41
2012-09-25 20:45:19 +04:00
62a7d56345 String -> OUString
Change-Id: Ia4d1fd7ef627459666ed204601313a96507b9104
2012-09-25 20:45:19 +04:00
b4c8346a1e String -> OUString
Change-Id: I896ce861e55d98a45bd4e6b4a65607f25489557e
2012-09-25 20:45:18 +04:00
003bb87fc0 String -> OUString
Change-Id: I4f5b9dff78913e14414eeb8f9457c2b91836edb6
2012-09-25 20:45:18 +04:00
e8b79f29a6 fdo#54858: DocumentDigitalSignatures::initialize can be called with 0 args now
...as the new createDefault service ctor internally calls
createInstanceWithArgumentsAndContext, not plain createInstance[WithContext].

Change-Id: Ia3bf8167154a4ae9d64dae271cc23d513e9e77fb
2012-09-17 12:03:03 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* 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-14 18:24:49 +02:00
af5059d19a Some clean up of previous commit
Change-Id: I0ea6d6439f97fcf74162c19671483aaa17b5a6cb
2012-09-04 17:23:18 +02:00
197a79e571 fdo#46808, Adapt DocumentDigitalSignatures UNO service to new style
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-09-04 16:41:37 +02:00
9a4fe0bdd8 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I012b13ee3e73a7fa3c9fd6a4519d414315a6543d
2012-08-31 09:04:15 +02:00
02f6e55231 Fix MinGW build - libxmlsec builds now.
This also removes patching of the generated 'configure' in libxmlsec; instead,
autoreconf is called.

Change-Id: I28c1cc38432d195dd0219fb5a0ab0ea1a35f7a32
2012-08-29 09:50:34 +02:00
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
350b031df0 callcatcher: remove some of the slightly trickier unused methods
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
2012-08-20 12:12:21 +01:00
d72568fc7d Fix condition
Change-Id: I746778a0d0f229c65dca37bcf3fdae9dcebd4340
2012-08-14 14:47:20 +02:00
ee93dfafdd drop disable-xmlsec, it's core functionality, have to live with it
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-14 12:47:27 +01:00
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
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
6eeb0942c3 re-base on ALv2 code. Includes:
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-17 11:51:17 +01:00
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
9c8dc01d3a Merge branch 'feature/pdf-signing' 2012-07-09 10:16:17 +03:00
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
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
4c4d748767 Remove some more include guards
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29 09:25:10 +02:00
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
e5c28b86be Remove commented out code (includes)
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27 13:32:44 +02:00
b22adb4940 Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
2012-06-27 13:32:40 +02:00
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
9979327f0c .crt files don't need executable bits
Change-Id: Ic2ee1091bec03033973201e69322082517eaab3c
2012-06-22 22:39:33 +02:00
41a0e13f4d .crl files don't need executable bits
Change-Id: I3a4f6a716a4d371c1e291af90f8aa1bdcd2cf614
2012-06-22 22:39:33 +02:00
4b2d228957 .pem files don't need executable bits
Change-Id: I4fe7ba1b8ad1b94a8c8f093c9b56c2dd04226c6c
2012-06-22 22:39:32 +02:00
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00
11ad68dcb6 .cfg files don't need executable bits
Change-Id: If17439ae83eb063a7ab054c3701e23dd48f1edd1
2012-06-22 22:39:30 +02:00
927287214a manifest.mf files don't need executable bits
Change-Id: I18868b542524f0e94ec7b06e753ee2385ede9a95
2012-06-22 22:39:29 +02:00
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00