summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)AuthorFilesLines
2013-03-14Lock document that is opened for potential modificationTor Lillqvist1-0/+6
Part of fix for bnc#805901. Seems to work, can it really be this simple... Change-Id: Ib00c9a973556724f033f843961425dd611797eed
2013-03-14Call ne_ssl_trust_default_ca()Tor Lillqvist1-0/+2
Part of fix for bnc#805901. Change-Id: I5d330a808ce9a4285d1d7c92bc3df91b993a3c7e
2013-03-14Turn on Neon debug output (if enabled in Neon) when building for debuggingTor Lillqvist1-2/+3
Also add NE_DBG_LOCKS and NE_DBG_SSL to the debugging mask. Change-Id: I6757954ea3ad53df855935930de176c222bff0ed
2013-01-14Add missing parenthesisJulien Nabet1-1/+1
Like this since 29/06/2001 (5ef2de612d973bc747ff4a107e4e4c4ecb273429) Change-Id: Ic86d6ca473a8bdf8f4c6f216fb6dd20af4694911 (cherry picked from commit a2dd3feaea16a765956aecacdd6cc21ab5404a5b) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-09-19warning C4101: unreferenced local variableMichael Stahl1-1/+1
(cherry picked from commit 48ab773e681b1f129e9196c11f5d44b0caf3dbe9) Conflicts: ucb/source/ucp/cmis/cmis_repo_content.cxx Change-Id: I627c2641dcebea1daa5a9264d8b4a5771bf8155f
2012-07-04CMIS UCP: fallback to URL with id as the mark if we can't get the pathCédric Bosdonnat5-4/+39
This situation will happen in several cases: * We don't have the permission to retrieve the object parents * For unfiled objects... though I'm still wondering how those could sneak into the UI. Change-Id: I2095334fa1c9152389c5c824e34375bf48bfbedf
2012-07-04UCP CMIS + fpicker: SharePoint binding URLs contain ?, encoded themCédric Bosdonnat1-1/+1
Change-Id: I256220ab48b13ac28ff14d3b24d7a67332f871dc
2012-07-04CMIS UCP: show some caught exceptions in ucpcmis.INFOCédric Bosdonnat1-0/+5
Change-Id: I2ebbed596cc9c21759633154a46c15e5f0f66e72
2012-06-29UCP CMIS: avoid breaking the media type when saving a documentCédric Bosdonnat1-1/+20
Change-Id: Iab7f932c25f66734994dfa44a09fc1d9f511ad11
2012-06-28CMIS UCP: fixed save as which was broken by bad exceptions catchingCédric Bosdonnat1-30/+50
Change-Id: I81bb45279b23d0c8d77f8e7aa366d038efa13d89
2012-06-28CMIS UCP: cached session id change was not impacted on all constructorsCédric Bosdonnat1-3/+4
Change-Id: I42cc76c08ce1a5e0942125d59bddf600c7ff9ee2
2012-06-28CMIS UCP: strings coming from libcmis are UTF-8, not asciiCédric Bosdonnat2-10/+13
Change-Id: Ieb906b8acb677bfc74abc35abb06312704887b66
2012-06-28CMIS UCP: oops, read-only check has been reversed somehowCédric Bosdonnat1-1/+1
Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704
2012-06-27CMIS UCP: session cache, better use the binding URL + repo Id as idCédric Bosdonnat3-7/+13
There may be cases where we have the host part of the URL encoded differently... and thus trigerring the creation of another session when it's not needed. Change-Id: Id8da4a7be31c98bb6b01df44da0d3963803b445b
2012-06-27CMIS UCP: Use the URL host as ID for cached sessionsCédric Bosdonnat2-9/+4
Using the binding URL as ID for the cached sessions is bad as there may be several repositories on the same binding URL... which means different libcmis::Session objects. Change-Id: Id3605ee4fdfbfc32b72615fb573220e94c8748af
2012-06-27cmisucp: catch the exception when getting CMIS objectCédric Bosdonnat2-206/+258
Fixes crashers like the one when cancelling authentication request. The error message are still not meaningful for the user, but this would require libcmis API changes. Change-Id: I22afbf4d39522a2b0dbd043a68dfef2b9308dcec
2012-06-27CMIS UCP: fixed Save As into a CMIS repoCédric Bosdonnat1-12/+23
Change-Id: I8ab65f917e9442f8871a39d7d25a63336065bee6
2012-06-12rhbz#678440: Always include User-Agent to avoid 403 from picky serversStephan Bergmann1-0/+15
Change-Id: I4fa7b45062b0058427f77cf9dc0abebd6b26fb49 (cherry picked from commit 4d0e3127ed2def7212bc05aa860cd06704bb1efe)
2012-06-07Do not copy etc. singular iterator values.Stephan Bergmann3-10/+55
This also reverts previous attempts at fixing this, commits 33839f90e6f8275a584b483827585a6da05aab75 "ucb: try to fix weird STL assertion on tinderbox" and 6506af86b5e20a860c8d2d1dd578a22914df5f53 "ucb: second try to fix weird STL assertion on tinderbox." Change-Id: I89d0eb87fbd164c0a4cf24d60f225767cb2bfc1a (cherry picked from commit 9631f96acae6bd179d40ee343ce986296f490741)
2012-06-07ucb: second try to fix weird STL assertion on tinderboxMichael Stahl1-5/+5
It's possible that the constructor of RegexpMapIterImpl does not initialize m_aIndex, so try to park m_aIndex on some end() iterator; it looks like m_aIndex will not actually be used in this case, because m_nList = -1. Change-Id: I74cd0d1d87f3e90217c39bcd3168f157066ff3cb (cherry picked from commit 6506af86b5e20a860c8d2d1dd578a22914df5f53)
2012-06-07ucb: try to fix weird STL assertion on tinderboxMichael Stahl3-16/+4
Seems there's uninitialized iterators somewhere, let's try if removing the silly default constructor here improves anything. Change-Id: I2ba239df9b532805e177378f9fa35023d087716a (cherry picked from commit 33839f90e6f8275a584b483827585a6da05aab75)
2012-06-04CMIS UCP: changed URLs to have hierarchical pathCédric Bosdonnat5-103/+106
Hierarchical path is assumed in loads of places, changed the URLs to the following: * Binding URL is encoded in the authority part, the repository ID is set as a fragment of the binding URL. * The hierarchical path reflects one of the path to the document on the server :x Change-Id: I8214daeb1d9c9b0f6ab86bdf60875e7e4e5369f4
2012-06-04CMIS UCP: Fixed folder creation and nodes renamingCédric Bosdonnat1-16/+72
Change-Id: I2c49b95279d90ebb06f38ed83061a5f1a905a555
2012-06-04CMIS UCP: fixed a few bugs to show repo in fpickerCédric Bosdonnat1-21/+49
Change-Id: I21a38adda013b8e75bf3a6ba91d70014461ea596
2012-06-04CMIS UCP: if the URL has no object id, assume we want the root folderCédric Bosdonnat2-2/+11
Change-Id: I6cc330f20222d4448d2267151d49f354068f54f3
2012-06-04CMIS UCP: implemented delete command for foldersCédric Bosdonnat1-2/+2
Change-Id: Iba1c5bf10c235ebd26108be944b88096f0ee84bd
2012-06-04CMIS UCP: Implemented delete command for documentsCédric Bosdonnat2-10/+20
Change-Id: I34c90f4675e461f461bad7e81c23da56463f0a24
2012-06-04CMIS UCP: implemented folder case for open commandCédric Bosdonnat7-4/+451
Change-Id: Id0997cd99d7d80c975de3d46670a1fa8b3d602a3
2012-06-04CMIS ucp: write documents back to CMIS serverCédric Bosdonnat6-138/+497
This change needs a git repo build of libcmis. Change-Id: I I740d18dbf3c36d9387b867e750fcbe8e114e5362
2012-06-04libcmis: updated to 0.2.0Cédric Bosdonnat1-0/+1
Change-Id: I I I Ieb36a287824e347e3ccc57c2c0abc6defbae5f47
2012-06-01targeted string re-workNorbert Thiebaud1-1/+1
Change-Id: I1e47f90e387724e74312091e577f010fb16ca72f
2012-05-31targeted string re-workNorbert Thiebaud63-1494/+1069
Change-Id: Ic08995a67a407576da475a6716b1218e45b60dfd
2012-06-01nuke unused namespaceTakeshi Abe1-3/+0
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks6-11/+12
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29removed dead codeTakeshi Abe1-34/+0
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
2012-05-14removed unused static rtl::OUStringTakeshi Abe1-5/+0
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold18-83/+81
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02Handle cases where ExtensionDescription is called on nonexisting pathStephan Bergmann1-0/+3
...which happens when installing non-bundle extensions (like a plain .xcu file), where the path computed for the description.xml contains the path to the non-bundle extension file itself as a prefix, so access results in E_NOTDIR. Change-Id: Ic0f4a34b46d99d1817ceea599bb8b53dbd65bc49
2012-05-02Cleaned up CommandLineArgsStephan Bergmann1-6/+1
* Support for dead arguments has been removed. ** Especially, dead UCB_CONFIGURATION_KEY1/2_xxx values have also been removed, and code initializing UCB has been simplified accordingly. * For the sake of simplicity, behaviour has been changed slightly. For example, passing both --calc --writer now always lets --writer win (whereas in the past the one mentioned first, i.e., --calc in this example, would win). Change-Id: Id40a19b9ef96db0d439cadd96ba491bf640d28fb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-17prevent getFileURL() & getLinkTargetURL() asserting for broken linksNoel Power1-37/+40
2012-04-16WaE: deprecated conversion from string constant to 'LPSTR'David Tardon1-1/+1
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks1-4/+0
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl18-36/+36
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi21-475/+201
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-9/+9
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi5-18/+18
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi7-63/+63
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;