summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)Author
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-13Search for char instead of 1 char long string, when possible.Christophe JAILLET
It is faster and even avoid memory allocation somtimes. Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13warning C4101: unreferenced local variableMichael Stahl
Change-Id: I627c2641dcebea1daa5a9264d8b4a5771bf8155f
2012-07-11CMIS UCP: getChildren created wrong path if there is no trailing /Cédric Bosdonnat
Change-Id: I4cb4e691046c92303cab9f0b97fa19d9ad68d34f
2012-07-11CMIS UCP: guess the parent URL using the current path if neededCédric Bosdonnat
Change-Id: I5bc6e557dcdfd3a396b363325971344ad90fdd85
2012-07-09CMIS UCP: forgot to git add new filesCédric Bosdonnat
Change-Id: I15d99e532f55722e15ca732012eb4dbf5a2fce82
2012-07-09CMIS UCP: Added support for Binding URL and Repository as foldersCédric Bosdonnat
This feature needed to change quite some code in the way children are fetched in CMIS UCP to avoid running several times the same HTTP requests. The new URLs will find the following scheme: + Children of vnd.libreoffice.cmis+atom://admin@http-encoded-binding-url-no-repoid/ are the repositories listed by the binding URL + Children of vnd.libreoffice.cmis+atom://admin@http-encoded-binding-url-no-repoid/repoid are the root folder of the repository Change-Id: I405d88c82e6fc9f1110a84165a151257c4ce60db
2012-07-03CMIS 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-02targetted improvement of UNO API includes / usageMichael Meeks
2012-07-02UCP CMIS + fpicker: SharePoint binding URLs contain ?, encoded themCédric Bosdonnat
Change-Id: I256220ab48b13ac28ff14d3b24d7a67332f871dc
2012-07-02CMIS UCP: show some caught exceptions in ucpcmis.INFOCédric Bosdonnat
Change-Id: I2ebbed596cc9c21759633154a46c15e5f0f66e72
2012-07-01Remove unused definesThomas Arnhold
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-30Some cppcheck cleaningJulien Nabet
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-29Fix java "unchecked conversion" warning in UCB moduleNoel Grandin
Change-Id: I8a9bcd81385c17b74b0ee7fc859e324421d141c6
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-29UCP CMIS: avoid breaking the media type when saving a documentCédric Bosdonnat
Change-Id: Iab7f932c25f66734994dfa44a09fc1d9f511ad11
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
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-27Remove unused include filesThomas Arnhold
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
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-26cmisucp: 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-26removed unused forward declarations of classTakeshi Abe
except moving CGMBitmapDescriptor into filter/source/graphicfilter/icgm/outact.hxx Change-Id: Ib11d1c907b4c52c6e0f261b20992659b52f4c136
2012-06-25Remove various commented out definesThomas Arnhold
Most of them in hrc files. Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-14CMIS 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
2012-06-12nuke dead codeTakeshi Abe
Change-Id: If8b6b4a3d9222726ae562e5b685710d86b5fe332
2012-06-06Do 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
2012-06-06ucb: 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
2012-06-05ucb: 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
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