summaryrefslogtreecommitdiff
path: root/ucb/source
AgeCommit message (Collapse)Author
2014-10-11coverity#983990 Uncaught exceptionCaolán McNamara
Change-Id: I78c58822cc92c8964e0b69f44d841c5cdb84b1bb
2014-10-11coverity#1130163 Unchecked return valueCaolán McNamara
Change-Id: Iffc4ba146ac8f851239e93a1ace53c6b34234824
2014-10-10coverity#1241375 Uncaught exceptionCaolán McNamara
and coverity#1241356 Uncaught exception coverity#1241415 Uncaught exception coverity#1241449 Uncaught exception coverity#1241146 Uncaught exception coverity#1241169 Uncaught exception coverity#1241408 Uncaught exception coverity#1241452 Uncaught exception coverity#1241443 Uncaught exception coverity#1241236 Uncaught exception coverity#1241157 Uncaught exception coverity#1241283 Uncaught exception coverity#1241409 Uncaught exception coverity#1241229 Uncaught exception coverity#1241387 Uncaught exception coverity#1241050 Uncaught exception coverity#1241371 Uncaught exception coverity#1241048 Uncaught exception coverity#1241112 Uncaught exception coverity#1241351 Uncaught exception coverity#1241370 Uncaught exception coverity#1241329 Uncaught exception coverity#1241162 Uncaught exception coverity#1241103 Uncaught exception coverity#1241342 Uncaught exception coverity#1241271 Uncaught exception coverity#1241219 Uncaught exception coverity#1241245 Uncaught exception Change-Id: I3418bb54b5c385110201a99a339eba0d0d3048f5
2014-10-08spelling: instanciated -> instantiatedNoel Grandin
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl
This is supported in GCC 4.6.0 already: https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-10-01Remove leftover SAL_WNODEPRECATED_DECLARATIONS_PUSH/POPStephan Bergmann
...from times when code used std::auto_ptr. Change-Id: Ia4eca8b0b95a8846886884404009e895daba8a22
2014-10-01ucb: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I779b7a172cecd927f7d18fcbbc0f898f18089d0a
2014-10-01Fix warnings in ucb/source/ucp/webdav/ (--with-webdav=serf)Stephan Bergmann
Change-Id: I6e45a8b00952dc3ef54f29536cf333bfdcee787d
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-25coverity#1240266 Logically dead codeCaolán McNamara
Change-Id: I97256c687c6d56beef2c3664bbba8c43f685228b
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-12ucb: prevent out of bound access in OUStringNorbert Thiebaud
Change-Id: I451bf13cbf39ec13152d083a6a6728cd043f9fbd
2014-09-11ucb: sal_Bool -> boolStephan Bergmann
Change-Id: I333ffa13159eac5cc53c9f3985dde5a33daf8067
2014-09-10fdo#55380 replaced use of obsolete interfacesDaniel Sikeler
Change-Id: I94fed6a9361f21457b3e631efffc0db833068aef Reviewed-on: https://gerrit.libreoffice.org/11256 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-28Fix *_component_getFactory function typeStephan Bergmann
Change-Id: I6b7a9e15da83f1d53a5e59d26b643c363e652619
2014-08-25set names on a bunch more threads...Michael Stahl
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-07-28UNO to CMIS properties conversion fixMihai Varga
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-25Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I9983e858c4e634b4cac8ad42fa9b06b7ccc167d6
2014-07-17fdo#72277: don't build and use nsspem when building against system curlCédric Bosdonnat
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-15fdo#72277: Use NSS CACERT in cmis ucp with internal curlCédric Bosdonnat
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-11webdav: Do not return reference here.Matúš Kukan
This was missing in e07cefb4f7ba39d59d25815e208ed61269079142. Change-Id: I1c9a3f88981ee67d9d5748f9e43eed1237422fb1
2014-07-08webdav: fix locking in webdav_ucp::Content::getResourceType()Matúš Kukan
This commit cherry-picks 49a454225e35699d7351faaba3d296e1858c6107 for serf webdav version. Change-Id: Ic5aba4fba8f8a2a521224b08865500dd932e85bf
2014-07-02InteractionSupplyName is a detail of SimpleNameClashResolveRequestStephan Bergmann
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-06-29Typo: conteiner->containerJulien Nabet
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin
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-24webdav: Do not call into DAVResourceAccess with mutex locked.Matúš Kukan
This commit cherry-picks 0c3500115c4fd86284a027fc32be704afcf77061 for serf webdav version. Change-Id: I108b0068cad847bf4947ece5e690f789ef034ae9
2014-06-24fdo#72157: webdav: Release WebDAV file lock on document close.Matúš Kukan
Make it work with both serf and neon version. Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
2014-06-24new compilerplugin returnbyrefNoel Grandin
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-23webdav: Do not throw when saving new document.Matúš Kukan
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-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: Ida0a95c181a02b4fb0e0b40684a2279923338700
2014-06-10coverity#707429 Uncaught exceptionCaolán McNamara
Change-Id: I745028d5bfbb6b1152abf6e0fe4dbc9c697b5d4b
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05ucb: remove SAL_THROW macroNoel Grandin
Change-Id: I023c342b0f086e57c821136498851999fb0152ec
2014-06-04compareTo -> equalsNoel Grandin
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04compareToAscii -> equalsAsciiNoel Grandin
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-02coverity#707427 Uncaught exceptionCaolán McNamara
Change-Id: Ic381e74ffd862ab4d94f9d3ada02af05b30e6484
2014-06-02coverity#707428 Uncaught exceptionCaolán McNamara
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
2014-06-02coverity#707430 Uncaught exceptionCaolán McNamara
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
2014-06-02coverity#1219792 Uncaught exceptionCaolán McNamara
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
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-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-27remove external header guardsThomas Arnhold
Change-Id: I847e5e3652517d0c11eb2cf3e9625ed649595bc5
2014-05-26cid#707435 Uncaught exceptionNoel Grandin
Change-Id: I6c0195b3474e56191fc1ca8d7d251c8931815c11
2014-05-26cid#707434 Uncaught exceptionNoel Grandin
Change-Id: Ibe227c7675723b337652f79ccce03f028cfe546f
2014-05-26cid#707433 Uncaught exceptionNoel Grandin
Change-Id: I57581f61dcb83aac83673b8fe040981e28b320ba
2014-05-26cid#707431 Uncaught exceptionNoel Grandin
Change-Id: Icc5bea5e3e1d3782dfc6ca200ba24303945cb72c
2014-05-24coverity#983986 Uncaught exceptionCaolán McNamara
Change-Id: I2ed7ed82e1680435bc899d8113efc12874d206f6
2014-05-24coverity#983991 Uncaught exceptionCaolán McNamara
Change-Id: Ic3bfd8b137f750b84ee584b74ad4fba6fc6220e4