summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)Author
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14neon: stop using #pragma GCC system_headerMichael Stahl
... it breaks dependency generation. Change-Id: I524f1789c32a633e8930a4e36a893ce02de66390
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann
Change-Id: I648399356bed41f6aa9d6ec276ee975f5d3b1fa4
2013-11-14remove unnecessary sal_Unicode casts in UCB moduleNoel Grandin
Change-Id: Ib93120ec0cae76b5ea19f723054363771b27ab56
2013-11-14ucb: kill webdav-neon/warnings_guard_ne_locks.h tooMichael Stahl
Change-Id: I44919cf592eee026116fc5fbc12e0d5baa4bda2b
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-07OAuth2 application keys shouldn't be in the code.Cédric Bosdonnat
The GDrive OAuth2 key is now defined at configure time. If either the client secret or client id is missing, the Google Drive connectivity will be disabled at runtime. Tinderboxes can set up a GDrive key, but they need to make sure it's not persisting in the build log. Change-Id: I09bc748641ec14eae890f273f05bffe4ed421dbb
2013-11-07CMIS Versions dialog: fix version dateCédric Bosdonnat
The version creation date is more likely to be the cmis:lastModifiedDate. Change-Id: I15e81db6a4c5f638f3f472894608a8d6728dc2d2
2013-11-07remove unnecessary use of OUString constructor in UCB moduleNoel Grandin
Change-Id: Ic75e5aad03d66590e78275304c766c1c00179387
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-29UCB: RepoContent::RepoContent use OUString::startsWith instead copy.Arnaud Versini
Change-Id: Ib504585572ae9bada60076828ade8197331d5fda Reviewed-on: https://gerrit.libreoffice.org/6463 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza
to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-15CMIS: show commit comment in versions dialogCédric Bosdonnat
Change-Id: I0d3b3d8dfe160b00c70acb98bdf4e37d088dc4c6
2013-10-02WaE: unused variableTor Lillqvist
Change-Id: Ia592c20c410b26ba40c7a255588ce53652c85cb5
2013-09-30Indirect dependency on boost_headersStephan Bergmann
...since 2eb36dc4b846ab5886ae71fd2978b56b2a2d1d08 "Hack to not leave SolarMutex released after g_main_loop_run call." Change-Id: Ib4eb92002531af423b3ed4f24f6f4b71dc9cdc0d
2013-09-26Hack to not leave SolarMutex released after g_main_loop_run callStephan Bergmann
Change-Id: I26923469d08308233ce3fabe749806c16d75cecd
2013-09-26Fix fdo#68894 Cmis crashes on start up.Cao Cuong Ngo
The reason of the crash is that the recent file opening feature can't get the session automatically. Change-Id: I6890c04cfdafc81d19c6b2b2024896df040fe091
2013-09-26CMIS file picker: it really does not like ID MarkCao Cuong Ngo
The file picker can't go back folder if we use ID mark in the URL. Conflicts: ucb/source/ucp/cmis/cmis_content.cxx Change-Id: I6985feec71dc23848ee022e0bab9e8515a21ffd2
2013-09-26Improve debug outputStephan Bergmann
Change-Id: I10a9c3679ae2d6ca8183b68b60b52e91ecd8f91f
2013-09-23Cmis Versions dialogCao Cuong Ngo
Change-Id: Ie863282062a6932a55543143e841917c54223ac9 Reviewed-on: https://gerrit.libreoffice.org/5925 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-09-04Replace XROW_GETXXX macro with templateStephan Bergmann
Change-Id: Ibd476f9a60dcc15be3b330d738faf56781998dfc
2013-09-03warning C4702: unreachable codeStephan Bergmann
Change-Id: I1391780715e7b29a33c3ee647a62780b0b2174a4
2013-09-02WaE: unused variablesTor Lillqvist
Change-Id: I0c93ca3875d8cd6fe009018e79847142b4e64bfd
2013-09-02ucb: rename "cmisucp" log area for consistencyMichael Stahl
Change-Id: Ie9ef3324bb7a9e954db57548d7862a90b070ebd3
2013-09-02ucb: add missing ucb.core log area, and ftp/ext tooMichael Stahl
Change-Id: Ifa2df0e2dcc193ae02202687c0d6b7ab930db58f
2013-09-02ucb: fixed bad init of shared_ptrCédric Bosdonnat
Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
2013-09-02WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'Tor Lillqvist
Change-Id: I556d03a5bbd74faa26d73a8e84147c9743c20507
2013-09-02libcmis: add a mandatory patch for GDrive feature to properly workCédric Bosdonnat
Change-Id: I1bd183508b7f481feed641f8658c0baea6f743bd
2013-09-02CMIS properties dialog: get multiple valuesCao Cuong Ngo
Change-Id: Ife7562d52cc3070c8d409f2da68d4e2aa5faea69
2013-09-02CMIS: fix file saving issueCao Cuong Ngo
Change-Id: I60cccb841fea5ce493f004c73ecf50468019f860
2013-09-02CMIS: use FolderPtr instead of Folder pointerCao Cuong Ngo
Change-Id: Iac68f67e94ddcc6b0bb2877763176b2efcc9b7d8
2013-09-02CMIS: add BaseURI property to remove warningCao Cuong Ngo
Change-Id: I936e497d88781b9e8fd43532fda23379ff56e25f
2013-09-02CMIS: add document ID when saving.Cao Cuong Ngo
The document ID is needed in case the get object by path of the CMIS document doesn't work (like Google Drive) Change-Id: I151d5433a19caeaf4a542b69cd9e95dde58722e7
2013-09-02Store the decision about the certificate in a container to remember itCédric Bosdonnat
Change-Id: I19da6c1aeb7fada97166d37c68fa5ba242bbcaba
2013-09-02UCB Show more infos about errors loading UCPCédric Bosdonnat
Change-Id: Ibc67cde1766f1259f4e5099160d469412fb4e89e
2013-09-02fdo#61589: ask what to do with invalid SSL certificates in CMIS UCPCédric Bosdonnat
Change-Id: I3cf688f7070e3e8cb2db532d8e034961504a8160
2013-09-02Resolves CMIS file picker propertyset out of range warningCao Cuong Ngo
Add missing properties Change-Id: Id3475fe4d07b33c4c0b31f54075dc011122b15bd
2013-09-02CMIS properties: Add type to the UNO APICao Cuong Ngo
Change-Id: Ie4f32bc840cdfab1d5f600991cd6ac8aabcb1f87
2013-09-02CMIS Google Drive get repositoriesCao Cuong Ngo
We don't have to create a session just to get a dummy repository. Change-Id: I0193d499d5a45aaa6fa7d1d18301e70ab550518d
2013-09-02CMIS: make GDrive work with pathCao Cuong Ngo
Change-Id: Ib85be2887219e6067a1b6c227515504020f9a4e7
2013-09-02CMIS: getRepositories should call createSessionCao Cuong Ngo
Change-Id: Ia64e15ab53155118dcfdd007a5d76e649bdeded9
2013-09-02CMIS: the file picker prefer path to IDCao Cuong Ngo
Change-Id: I3a8d52411176d29f67340d8b668b8e9cc940d648