summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)Author
2012-07-04CMIS UCP: fallback to URL with id as the mark if we can't get the pathCédric Bosdonnat
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 Bosdonnat
Change-Id: I256220ab48b13ac28ff14d3b24d7a67332f871dc
2012-07-04CMIS UCP: show some caught exceptions in ucpcmis.INFOCédric Bosdonnat
Change-Id: I2ebbed596cc9c21759633154a46c15e5f0f66e72
2012-06-29UCP CMIS: avoid breaking the media type when saving a documentCédric Bosdonnat
Change-Id: Iab7f932c25f66734994dfa44a09fc1d9f511ad11
2012-06-28CMIS UCP: fixed save as which was broken by bad exceptions catchingCédric Bosdonnat
Change-Id: I81bb45279b23d0c8d77f8e7aa366d038efa13d89
2012-06-28CMIS UCP: cached session id change was not impacted on all constructorsCédric Bosdonnat
Change-Id: I42cc76c08ce1a5e0942125d59bddf600c7ff9ee2
2012-06-28CMIS UCP: strings coming from libcmis are UTF-8, not asciiCédric Bosdonnat
Change-Id: Ieb906b8acb677bfc74abc35abb06312704887b66
2012-06-28CMIS UCP: oops, read-only check has been reversed somehowCédric Bosdonnat
Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704
2012-06-27CMIS UCP: session cache, better use the binding URL + repo Id as idCédric Bosdonnat
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 Bosdonnat
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 Bosdonnat
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 Bosdonnat
Change-Id: I8ab65f917e9442f8871a39d7d25a63336065bee6
2012-06-12rhbz#678440: Always include User-Agent to avoid 403 from picky serversStephan Bergmann
Change-Id: I4fa7b45062b0058427f77cf9dc0abebd6b26fb49 (cherry picked from commit 4d0e3127ed2def7212bc05aa860cd06704bb1efe)
2012-06-07Do not copy etc. singular iterator values.Stephan Bergmann
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 Stahl
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 Stahl
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 Bosdonnat
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 Bosdonnat
Change-Id: I2c49b95279d90ebb06f38ed83061a5f1a905a555
2012-06-04CMIS UCP: fixed a few bugs to show repo in fpickerCédric Bosdonnat
Change-Id: I21a38adda013b8e75bf3a6ba91d70014461ea596
2012-06-04CMIS UCP: if the URL has no object id, assume we want the root folderCédric Bosdonnat
Change-Id: I6cc330f20222d4448d2267151d49f354068f54f3
2012-06-04CMIS UCP: implemented delete command for foldersCédric Bosdonnat
Change-Id: Iba1c5bf10c235ebd26108be944b88096f0ee84bd
2012-06-04CMIS UCP: Implemented delete command for documentsCédric Bosdonnat
Change-Id: I34c90f4675e461f461bad7e81c23da56463f0a24
2012-06-04CMIS UCP: implemented folder case for open commandCédric Bosdonnat
Change-Id: Id0997cd99d7d80c975de3d46670a1fa8b3d602a3
2012-06-04CMIS ucp: write documents back to CMIS serverCédric Bosdonnat
This change needs a git repo build of libcmis. Change-Id: I I740d18dbf3c36d9387b867e750fcbe8e114e5362
2012-06-04libcmis: updated to 0.2.0Cédric Bosdonnat
Change-Id: I I I Ieb36a287824e347e3ccc57c2c0abc6defbae5f47
2012-06-01targeted string re-workNorbert Thiebaud
Change-Id: I1e47f90e387724e74312091e577f010fb16ca72f
2012-05-31targeted string re-workNorbert Thiebaud
Change-Id: Ic08995a67a407576da475a6716b1218e45b60dfd
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29removed dead codeTakeshi Abe
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
2012-05-14removed unused static rtl::OUStringTakeshi Abe
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02Handle cases where ExtensionDescription is called on nonexisting pathStephan Bergmann
...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 Bergmann
* 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 Michaelsen
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 Power
2012-04-16WaE: deprecated conversion from string constant to 'LPSTR'David Tardon
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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 Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
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 Dezsi
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 Dezsi
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 Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-29Follow-up to revert of "Initial experiments with static linking of (some) ..."Tor Lillqvist
Revert "this requires string literals now" and "fix after recent XSERVICEINFO_IMPL_1 change". This reverts commits f7d571d2eefea079be3d89f3253ed90cbd9fa07f and 186ab8e77bd7c7a42ffcca6fa7f8e1819ad04b7d.
2012-03-29Revert "Initial experiments with static linking of (some) ..."Tor Lillqvist
Thist idea caused too intrusive changes to the code of call sites, I think. Will do it another way that leaves call sites as is. This reverts commit 25d114eec4d451acdda1ddff4c8ed9d47ba6275f.
2012-03-21chmod -xTor Lillqvist
2012-03-21this requires string literals nowDavid Tardon
2012-03-21fix after recent XSERVICEINFO_IMPL_1 changeLuboš Luňák