summaryrefslogtreecommitdiff
path: root/ucb/source
AgeCommit message (Collapse)AuthorFilesLines
2014-07-31OnDrive authfallback request is now issuedMihai Varga4-0/+67
2014-07-31OneDrive binding settingsMihai Varga2-0/+10
Change-Id: I72c97931098c1a029d39532e3433c0aeaba73e3f
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
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet3-4/+3
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23coverity#1213513 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I04a05773891d680100ee1551eac21e203477935b
2014-05-23coverity#1215314 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I1e3e7db0a9dc29c991f4f8ddbdcb4f3564410fba
2014-05-23coverity#1215315 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: I0313bfc4f2d8cb30d98c32c55fd25a98f2f84f77
2014-05-23coverity#1215316 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: Ifb688e60ef613a3735260f978dd3ae46a95430f5
2014-05-23inherit the other DAVException from std::exception tooCaolán McNamara1-1/+1
Change-Id: I692ad423b2fea0cc38b2859855f32f286423f02d
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin11-55/+47
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-22remove unnecessary use of OUString constructorNoel Grandin9-67/+67
Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
2014-05-20Fix wrong copy paste, should be <ucb::CheckinArgument>Julien Nabet1-1/+1
See http://nabble.documentfoundation.org/Wrong-copy-paste-in-ucbcmds-cxx-ucb-module-td4109103.html for more details Change-Id: I4f6754cf0350e969cece52008b310e1d8f182622
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold68-190/+187
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet7-29/+18
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7