summaryrefslogtreecommitdiff
path: root/ucb/source
AgeCommit message (Collapse)AuthorFilesLines
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl2-4/+4
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 Stahl2-3/+3
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 Bergmann1-2/+0
...from times when code used std::auto_ptr. Change-Id: Ia4eca8b0b95a8846886884404009e895daba8a22
2014-10-01ucb: std::auto_ptr -> std::unique_ptrStephan Bergmann13-85/+38
Change-Id: I779b7a172cecd927f7d18fcbbc0f898f18089d0a
2014-10-01Fix warnings in ucb/source/ucp/webdav/ (--with-webdav=serf)Stephan Bergmann10-80/+80
Change-Id: I6e45a8b00952dc3ef54f29536cf333bfdcee787d
2014-09-29loplugin: cstylecastNoel Grandin2-24/+24
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-25coverity#1240266 Logically dead codeCaolán McNamara1-4/+0
Change-Id: I97256c687c6d56beef2c3664bbba8c43f685228b
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler4-74/+4
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-12ucb: prevent out of bound access in OUStringNorbert Thiebaud1-1/+1
Change-Id: I451bf13cbf39ec13152d083a6a6728cd043f9fbd
2014-09-11ucb: sal_Bool -> boolStephan Bergmann6-9/+9
Change-Id: I333ffa13159eac5cc53c9f3985dde5a33daf8067
2014-09-10fdo#55380 replaced use of obsolete interfacesDaniel Sikeler2-18/+18
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 Bergmann1-2/+2
Change-Id: I6b7a9e15da83f1d53a5e59d26b643c363e652619
2014-08-25set names on a bunch more threads...Michael Stahl1-0/+2
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-07-28UNO to CMIS properties conversion fixMihai Varga1-13/+50
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 Abe6-28/+26
Change-Id: I9983e858c4e634b4cac8ad42fa9b06b7ccc167d6
2014-07-17fdo#72277: don't build and use nsspem when building against system curlCédric Bosdonnat2-0/+8
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 Bosdonnat2-0/+28
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úš Kukan2-4/+4
This was missing in e07cefb4f7ba39d59d25815e208ed61269079142. Change-Id: I1c9a3f88981ee67d9d5748f9e43eed1237422fb1
2014-07-08webdav: fix locking in webdav_ucp::Content::getResourceType()Matúš Kukan1-1/+11
This commit cherry-picks 49a454225e35699d7351faaba3d296e1858c6107 for serf webdav version. Change-Id: Ic5aba4fba8f8a2a521224b08865500dd932e85bf
2014-07-02InteractionSupplyName is a detail of SimpleNameClashResolveRequestStephan Bergmann1-0/+1
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-06-29Typo: conteiner->containerJulien Nabet1-1/+1
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin3-6/+6
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úš Kukan1-52/+64
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úš Kukan5-0/+15
Make it work with both serf and neon version. Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
2014-06-24new compilerplugin returnbyrefNoel Grandin2-8/+8
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úš Kukan2-7/+12
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 Grandin2-20/+4
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann1-2/+2
Change-Id: Ida0a95c181a02b4fb0e0b40684a2279923338700
2014-06-10coverity#707429 Uncaught exceptionCaolán McNamara2-3/+5
Change-Id: I745028d5bfbb6b1152abf6e0fe4dbc9c697b5d4b
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin8-41/+7
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05ucb: remove SAL_THROW macroNoel Grandin10-14/+13
Change-Id: I023c342b0f086e57c821136498851999fb0152ec
2014-06-04compareTo -> equalsNoel Grandin9-17/+13
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04compareToAscii -> equalsAsciiNoel Grandin1-2/+1
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-02coverity#707427 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: Ic381e74ffd862ab4d94f9d3ada02af05b30e6484
2014-06-02coverity#707428 Uncaught exceptionCaolán McNamara2-3/+5
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
2014-06-02coverity#707430 Uncaught exceptionCaolán McNamara2-3/+5
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
2014-06-02coverity#1219792 Uncaught exceptionCaolán McNamara2-3/+3
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
2014-06-01fdo#68849: Add header guards to all include filesJens Carl4-4/+18
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 Grandin1-4/+2
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-27remove external header guardsThomas Arnhold2-4/+0
Change-Id: I847e5e3652517d0c11eb2cf3e9625ed649595bc5
2014-05-26cid#707435 Uncaught exceptionNoel Grandin2-2/+4
Change-Id: I6c0195b3474e56191fc1ca8d7d251c8931815c11
2014-05-26cid#707434 Uncaught exceptionNoel Grandin2-2/+3
Change-Id: Ibe227c7675723b337652f79ccce03f028cfe546f
2014-05-26cid#707433 Uncaught exceptionNoel Grandin2-2/+3
Change-Id: I57581f61dcb83aac83673b8fe040981e28b320ba
2014-05-26cid#707431 Uncaught exceptionNoel Grandin2-2/+4
Change-Id: Icc5bea5e3e1d3782dfc6ca200ba24303945cb72c
2014-05-24coverity#983986 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I2ed7ed82e1680435bc899d8113efc12874d206f6
2014-05-24coverity#983991 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ic3bfd8b137f750b84ee584b74ad4fba6fc6220e4
2014-05-24coverity#983992 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I9a074690d1cc85ec48633e3fae46c4d15186108f
2014-05-24coverity#983993 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I3321f847e6aeb3435f8c2dc77c495d1d4c027007
2014-05-24coverity#983994 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ie74924e0222f9d3fbb3bcbae9242399f50b64a18
2014-05-24coverity#983995 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I2ba52bee850646a82153df898fb73e2b01720598