Commit Graph

2802 Commits

Author SHA1 Message Date
a6e28fe9c6 Fix *_component_getFactory function type
Change-Id: I6b7a9e15da83f1d53a5e59d26b643c363e652619
2014-08-28 18:07:53 +02:00
57a4337e25 set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02:00
0764292c5d java: use 'Short.valueOf' instead of 'new Short'
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19 14:57:18 +02:00
ff0ad0493e java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
56ef5533fc java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19 14:57:16 +02:00
0d916bb240 java: remove unused imports
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14 10:59:49 +02:00
ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
4155c28ae1 java: remove unused interfaces
found by UCDetector

Change-Id: Ide8b3b5c9969048aff84eed16b9eea096abad349
2014-08-13 09:44:17 +02:00
8583da1e93 java: remove unused fields
found by UCDetector

Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13 08:49:24 +02:00
70f56bc22f java: reduce scope, make member classes private
found by UCDetector

Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
2014-08-13 08:49:23 +02:00
da677dfd59 java: reduce scope, make fields private
found by UCDetector

Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-13 08:49:22 +02:00
1c496506bc java: remove useless javadoc tags
that are not conveying any useful information

Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-12 09:41:31 +02:00
0477e6c39b java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-12 09:41:28 +02:00
e5bc8b60ec java: variable cannot be null
remove null check where null-analyis reveals the variable cannot be null

Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033
2014-08-08 09:48:19 +02:00
b58c053fed java: remove unnecessary semi-colons
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-08-08 09:48:18 +02:00
2d700944b5 java: remove unused imports
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08 09:48:17 +02:00
8d6cf7a147 java: remove dead methods
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-08 09:48:16 +02:00
0c5f51ebbc java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05 11:31:50 +02:00
d26540bb05 java: remove unused fields
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-08-05 11:31:50 +02:00
f493555623 java: remove some casting in lib.TestParameters#getMSF
where the return value is always cast to XMultiServiceFactory,
so just do the cast in the method and avoid noise at the call sites.

Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
2014-08-04 13:38:30 +02:00
0a7b80a02e fix spelling compilant -> compliant
Change-Id: I5a469226a576906f0dd860c008d2e3fab1659ff7
2014-08-04 13:38:29 +02:00
a227c575bb Linked the sax library to CMIS
This is needed for the use of DateTime converter. I forgot to add the makefile
when I commited this patch: https://gerrit.libreoffice.org/#/c/10586/

Change-Id: I7cb9ab40fab549a95beb6818ab4ad4befdd3dea1
2014-07-28 12:48:35 +03:00
fb6e0da4d8 UNO to CMIS properties conversion fix
The initial code always extracted Strings from the UNO instead of extracting
the same data type that was written into it. This patch extracts the
properties according to their data type and formats them to be reconstructed
into CMIS properties.

Change-Id: Ib160020e9d923a46e2c4f90924da847f2dac5e7a
Reviewed-on: https://gerrit.libreoffice.org/10586
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-28 09:03:17 +00:00
a8b395bff2 Avoid possible memory leaks in case of exceptions
Change-Id: I9983e858c4e634b4cac8ad42fa9b06b7ccc167d6
2014-07-25 10:09:15 +09:00
89361fa68a fdo#72277: don't build and use nsspem when building against system curl
System CURL will know how to get the CA bundle from the system openSSL.
There is no need to have internal NSS CA database support.

Change-Id: Ie5074c78f7d78b2c2f452d4d4e11c98222529883
2014-07-17 10:39:35 +02:00
165075e0d7 fdo#72277: Use NSS CACERT in cmis ucp with internal curl
This fix contains two parts:
  * initialize NSS in the CMIS UCP right before sending an HTTP request
    in case internal curl is used. This makes internal curl find the NSS
    CACERT database from the user mozilla profile.

  * add nsspem to allow curl to use CACERTs from libnssckbi. Without
    libnsspem curl is unable to read the certificates from the NSS
    database. The nss-pem code has been extracted from the fedora-hosted
    repository: https://git.fedorahosted.org/cgit/nss-pem.git

Change-Id: Ie8dedf020480cca01bf9761382886566a1150778
2014-07-15 11:15:45 +02:00
89df4412dc webdav: Do not return reference here.
This was missing in e07cefb4f7ba39d59d25815e208ed61269079142.

Change-Id: I1c9a3f88981ee67d9d5748f9e43eed1237422fb1
2014-07-11 12:55:31 +02:00
9da4e46957 webdav: fix locking in webdav_ucp::Content::getResourceType()
This commit cherry-picks 49a454225e35699d7351faaba3d296e1858c6107
for serf webdav version.

Change-Id: Ic5aba4fba8f8a2a521224b08865500dd932e85bf
2014-07-08 09:14:57 +02:00
b807a02850 InteractionSupplyName is a detail of SimpleNameClashResolveRequest
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-07-02 14:56:53 +02:00
4ddf6c7a70 Typo: conteiner->container
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-29 00:12:55 +02:00
533c6cb6ba fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"

Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-25 17:10:43 +02:00
e07cefb4f7 webdav: Do not call into DAVResourceAccess with mutex locked.
This commit cherry-picks 0c3500115c4fd86284a027fc32be704afcf77061
for serf webdav version.

Change-Id: I108b0068cad847bf4947ece5e690f789ef034ae9
2014-06-24 17:27:30 +02:00
956d088db5 fdo#72157: webdav: Release WebDAV file lock on document close.
Make it work with both serf and neon version.

Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
2014-06-24 16:33:24 +02:00
e2080e70fe new compilerplugin returnbyref
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
   class A {
     struct X x;
     public X* getX() { return &x; }
   }
which can be:
     public X& getX() { return x; }

Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
96e23564e9 webdav: Do not throw when saving new document.
Propagate information about !shouldAccessNetworkAfterException
from getResourceType out to getPropertyValues, to avoid further calls
which would result in cancelCommandExecution, when trying get properties
of document which does not exist yet, but we want to create it.

This was done in webdav-neon for other reasons as part of
0c3500115c4fd86284a027fc32be704afcf77061.

Change-Id: Ia434a707d2946a6982075f9bf53904b78dc07a5e
2014-06-23 10:47:35 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
f42b2268c4 loplugin:staticcall
Change-Id: Ida0a95c181a02b4fb0e0b40684a2279923338700
2014-06-13 17:54:35 +02:00
d09279cd0a coverity#707429 Uncaught exception
Change-Id: I745028d5bfbb6b1152abf6e0fe4dbc9c697b5d4b
2014-06-10 10:48:40 +01:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
5cf2205387 ucb: move APR dependencies to gb_LinkTarget__use_apr
Change-Id: I6768e5f2400f3020d85c48b80d58e13a3f6f07e9
2014-06-05 13:35:14 +02:00
acaf8eb33b apr uses iconv
Change-Id: Ic92ab1c2b5298cd1611bc9786647fe30ad0847a9
2014-06-05 14:26:24 +03:00
4c563b3a1d ucb: remove SAL_THROW macro
Change-Id: I023c342b0f086e57c821136498851999fb0152ec
2014-06-05 08:17:50 +02:00
cc25f70ef1 compareTo -> equals
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate

Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
adc20c3937 compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii

Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-04 11:52:31 +02:00
12402d2503 coverity#707427 Uncaught exception
Change-Id: Ic381e74ffd862ab4d94f9d3ada02af05b30e6484
2014-06-02 16:59:59 +01:00
778b8ea885 coverity#707428 Uncaught exception
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
2014-06-02 16:59:59 +01:00
ade1049186 coverity#707430 Uncaught exception
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
2014-06-02 16:59:59 +01:00
a4e5020f89 coverity#1219792 Uncaught exception
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
2014-06-02 16:59:58 +01:00
158672fda5 fdo#68849: Add header guards to all include files
Added header guards to files in directories toolkit/, and ucb/

Change-Id: Ia7ea7d6fad685c7648db22455b5587cf6260318d
Reviewed-on: https://gerrit.libreoffice.org/9595
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01 16:14:18 +00:00
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00