summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)AuthorFilesLines
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL callsNoel Grandin1-2/+2
Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin3-25/+25
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin1-11/+10
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19Add data for Alfresco Cloud CMIS connectionCédric Bosdonnat2-0/+16
Change-Id: Ie5374f2e81e1429294805f05ae432fba86cc50df
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin11-33/+32
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin3-26/+18
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann1-1/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14neon: stop using #pragma GCC system_headerMichael Stahl2-1/+8
... it breaks dependency generation. Change-Id: I524f1789c32a633e8930a4e36a893ce02de66390
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann1-1/+1
Change-Id: I648399356bed41f6aa9d6ec276ee975f5d3b1fa4
2013-11-14remove unnecessary sal_Unicode casts in UCB moduleNoel Grandin19-63/+63
Change-Id: Ib93120ec0cae76b5ea19f723054363771b27ab56
2013-11-14ucb: kill webdav-neon/warnings_guard_ne_locks.h tooMichael Stahl4-38/+5
Change-Id: I44919cf592eee026116fc5fbc12e0d5baa4bda2b
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin17-94/+94
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 Grandin3-3/+3
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 Bosdonnat3-34/+2
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 Bosdonnat1-1/+1
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 Grandin23-153/+129
Change-Id: Ic75e5aad03d66590e78275304c766c1c00179387
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin3-17/+17
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin20-90/+79
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 Grandin17-50/+30
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin5-29/+21
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 Versini1-3/+1
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 Grandin3-6/+6
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 Lillqvist2-3/+3
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza3-31/+7
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 McNamara2-2/+0
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza5-6/+838
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 Bosdonnat1-0/+1
Change-Id: I0d3b3d8dfe160b00c70acb98bdf4e37d088dc4c6
2013-10-02WaE: unused variableTor Lillqvist1-1/+0
Change-Id: Ia592c20c410b26ba40c7a255588ce53652c85cb5
2013-09-30Indirect dependency on boost_headersStephan Bergmann1-0/+2
...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 Bergmann2-1/+11
Change-Id: I26923469d08308233ce3fabe749806c16d75cecd
2013-09-26Fix fdo#68894 Cmis crashes on start up.Cao Cuong Ngo1-0/+11
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 Ngo2-7/+10
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 Bergmann1-1/+4
Change-Id: I10a9c3679ae2d6ca8183b68b60b52e91ecd8f91f
2013-09-23Cmis Versions dialogCao Cuong Ngo2-0/+52
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 Bergmann2-87/+96
Change-Id: Ibd476f9a60dcc15be3b330d738faf56781998dfc
2013-09-03warning C4702: unreachable codeStephan Bergmann1-2/+0
Change-Id: I1391780715e7b29a33c3ee647a62780b0b2174a4
2013-09-02WaE: unused variablesTor Lillqvist1-4/+0
Change-Id: I0c93ca3875d8cd6fe009018e79847142b4e64bfd
2013-09-02ucb: rename "cmisucp" log area for consistencyMichael Stahl2-30/+30
Change-Id: Ie9ef3324bb7a9e954db57548d7862a90b070ebd3
2013-09-02ucb: add missing ucb.core log area, and ftp/ext tooMichael Stahl3-5/+6
Change-Id: Ifa2df0e2dcc193ae02202687c0d6b7ab930db58f
2013-09-02ucb: fixed bad init of shared_ptrCédric Bosdonnat2-2/+2
Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
2013-09-02WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'Tor Lillqvist2-4/+4
Change-Id: I556d03a5bbd74faa26d73a8e84147c9743c20507
2013-09-02libcmis: add a mandatory patch for GDrive feature to properly workCédric Bosdonnat1-1/+1
Change-Id: I1bd183508b7f481feed641f8658c0baea6f743bd
2013-09-02CMIS properties dialog: get multiple valuesCao Cuong Ngo1-91/+45
Change-Id: Ife7562d52cc3070c8d409f2da68d4e2aa5faea69
2013-09-02CMIS: fix file saving issueCao Cuong Ngo2-98/+56
Change-Id: I60cccb841fea5ce493f004c73ecf50468019f860
2013-09-02CMIS: use FolderPtr instead of Folder pointerCao Cuong Ngo1-4/+5
Change-Id: Iac68f67e94ddcc6b0bb2877763176b2efcc9b7d8
2013-09-02CMIS: add BaseURI property to remove warningCao Cuong Ngo1-1/+4
Change-Id: I936e497d88781b9e8fd43532fda23379ff56e25f
2013-09-02CMIS: add document ID when saving.Cao Cuong Ngo2-18/+64
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 Bosdonnat1-0/+26
Change-Id: I19da6c1aeb7fada97166d37c68fa5ba242bbcaba
2013-09-02UCB Show more infos about errors loading UCPCédric Bosdonnat1-1/+2
Change-Id: Ibc67cde1766f1259f4e5099160d469412fb4e89e
2013-09-02fdo#61589: ask what to do with invalid SSL certificates in CMIS UCPCédric Bosdonnat5-14/+177
Change-Id: I3cf688f7070e3e8cb2db532d8e034961504a8160