summaryrefslogtreecommitdiffstats
path: root/ucb
Commit message (Collapse)AuthorAgeFilesLines
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-07252-4384/+4357
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Add comment the RTL_CONSTASCII_STRINGPARAM should be kept in regexp.cxxChr. Rossmanith2013-04-061-0/+3
| | | | Change-Id: I3cd2129d98c3d936d8ec31f89554b37f12427c1c
* drop prefix from ::cssThomas Arnhold2013-04-021-2/+2
| | | | | | as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
* remove macros in ucbThomas Arnhold2013-04-014-215/+189
| | | | Change-Id: I9921d79df1eeeb06c0163c1e61e0c845308c6ff9
* remove boilerplate commentsThomas Arnhold2013-04-015-10/+2
| | | | Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
* Remove RTL_CONSTASCII_(U)STRINGPARAM in ucbChr. Rossmanith2013-03-284-36/+22
| | | | | | and use append() instead of appendAscii() Change-Id: I7c9dd0e03e24a39240a82fc245b4722d4c424842
* clear -Werror=write-strings in NeonUri.cxxChr. Rossmanith2013-03-271-3/+3
| | | | Change-Id: I7a67c1858b2954ca0522320b9008d70ed1afd64c
* Remove RTL_CONSTASCII_STRINGPARAM in ucbChr. Rossmanith2013-03-273-111/+58
| | | | Change-Id: Ib450c1463add267ad64707c7a2d71e7f6a9c0849
* -Wunused-macrosStephan Bergmann2013-03-272-5/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove external include guardsThomas Arnhold2013-03-251-8/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Bin ASCII art and pointless commentsTor Lillqvist2013-03-2610-226/+6
| | | | Change-Id: I9c510a0edb2a04d1378d488cc724e8f9982b5ba3
* WaE: unused function 'matchIgnoreAsciiCase'Tor Lillqvist2013-03-261-15/+0
| | | | Change-Id: I5a270b7375807d1eaad9e22acea4457a0ceb5c54
* Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxxChr. Rossmanith2013-03-251-4/+2
| | | | | | | Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17 Reviewed-on: https://gerrit.libreoffice.org/2975 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-251-7/+2
| | | | | | | | | | | | | ...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
* Does not compileStephan Bergmann2013-03-241-7/+7
| | | | Change-Id: If7d24a6378a6645baf9d0c40e3c3cf0ae7d4f317
* Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)Chr. Rossmanith2013-03-2412-80/+54
| | | | Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Thomas Arnhold2013-03-201-13/+7
| | | | | | Now all should be gone. Change-Id: Iaaaebfbb85535d95eab6a2043e7d5e2e845d9782
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-203-19/+9
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* simplify OUString assignmentsChr. Rossmanith2013-03-201-2/+2
| | | | | | | Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-191-1/+1
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* coverity#982271 Copy-paste errorJulien Nabet2013-03-191-1/+1
| | | | | | | Change-Id: I42800a846ba0cb935f97f8e99f774f58f3b525f8 Reviewed-on: https://gerrit.libreoffice.org/2802 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2013-03-191-3/+1
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1921-516/+407
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* trailing whitespacesThomas Arnhold2013-03-191-1/+1
| | | | Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
* incorrect NEON_VERSION usageLuboš Luňák2013-03-181-5/+1
| | | | | | | First of all, NEON_VERSION is undefined, and second, it's actually a text string, so this is all broken. Change-Id: Iba841c78e9034bf9ef74eb4f31c9893608180b77
* fprintf -> SAL_WARNStephan Bergmann2013-03-151-4/+3
| | | | Change-Id: Ifab1415fafa93551d8bed1e77c38f04bec8d2eba
* Revert "Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism"Tor Lillqvist2013-03-151-11/+11
| | | | | | It won't work, ne_debug_init() will be called always (in non-release builds). This reverts commit b6f6c3a2ed19cc34cce5d19c32c921227165bdd0.
* Conditionalize call of ne_debug_init() using the SAL_INFO() mechanismTor Lillqvist2013-03-151-11/+11
| | | | | | Instead of #if OSL_DEBUG_LEVEL>0. Change-Id: I2329de4deff4687fb1249c47f2e24eaf6ea6a248
* Lock document that is opened for potential modificationTor Lillqvist2013-03-151-0/+5
| | | | | | | | | | | Part of fix for bnc#805901. (No locking of documents edited through WebDAV.) Seems to work, can it really be this simple... I am a bit unsure if any explicit UNLOCK operation happens, but WebDAV locks typically time out relatively quickly, don't they? And WebDAV implementations (often/always?) have the possibility for a user to force open a lock. Change-Id: Ia32d8b1517361f702b4f469d9f1aa17de6d7ba54
* SAL_INFO instead of OSL_TRACETor Lillqvist2013-03-151-4/+3
| | | | Change-Id: I40a2e6ea708aa037172bc6e9f9882c88f1d486c3
* Use default set of root certificates, if available, when using SSLTor Lillqvist2013-03-151-0/+5
| | | | | | | Part of fix for the WebDAV https server authentication problem noticed when fixing bnc#805901. Change-Id: Ic54c59bdadaf34cdba32949400d5da69712017f3
* Turn on Neon lock and SSL debugging too (when OSL_DEBUG_LEVEL>0)Tor Lillqvist2013-03-151-1/+2
| | | | Change-Id: I4acb7ab1aeba31bfeedd4dfbcd76d6bf517b8944
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-5/+0
|
* fdo#54275: Fix GVFS UCP, so saving docs works againStephan Bergmann2013-03-141-9/+13
| | | | | | | | | | | | | | | Similar to 8722f0e7ef690205d042c8a6b1fdf342a34ecbe1 "rhbz#895690: Make GIO UCP less brittle, so saving docs works again" the alternative, older GVFS UCP (--enable-gnome-vfs --disable-gio, as used e.g. in distro-configs/LibreOfficeLinux.conf) no longer works well in LO 3.6 and later: * For one, "getPropertyValues" did not work for non-existing files, just like in the GIO UCP case. * For another, creating the .~XXX# lock file uses "insert" with !bReplaceExisting, which apparently never worked for the GVFS UCP. Change-Id: Ie4dc032225697ff7b866a75327891c796d559392
* rhbz#895690: Make GIO UCP less brittle, so saving docs works againStephan Bergmann2013-03-131-16/+15
| | | | | | | | | | | | | | | | | | 966d20e35d5a2be2fce6c204af5c156c3ead7063 "CMIS ucp: write documents back to CMIS server" had introduced changes to sfx2/source/doc/docfile.cxx in LO 3.6 that changed the exact commands that this code issued for UCP content nodes. The GIO UCP was not prepared to handle that, causing saving of documents via it to fail with rather obscure error messages: * For one, docfile.cxx started to call "getPropertyValues" to obtain the "Title" of a non-existent content. That lead to an InteractiveAugmentedIOException instead of silently returning a void value. * For another, docfile.cxx started to call "transfer" on a folder content whose URL did not have a trailing slash, so the code computed a wrong URL for the child element, resulting in various problems depending on context. Change-Id: I1a9c0c094f5320456940e3af4c802711828ab5ac
* Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelperChr. Rossmanith2013-03-126-83/+74
| | | | Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
* use startsWith() instead of compareToAscii()Thomas Arnhold2013-03-112-3/+3
| | | | | | brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-093-8/+8
| | | | Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
* some further OUString cleanupThomas Arnhold2013-03-081-20/+20
| | | | Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
* fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck2013-03-062-8/+8
| | | | | | | | | Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Call ne_debug_init() in a debug buildTor Lillqvist2013-03-051-1/+1
| | | | Change-Id: I08d540bdbe32ba9df994528bac97ac76e587795a
* doubled usingThomas Arnhold2013-03-051-1/+0
| | | | Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
* doubled includesThomas Arnhold2013-03-044-13/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* Fix "may be used uninitialized" warningStephan Bergmann2013-03-041-1/+1
| | | | Change-Id: I6d2ac90177bd3194e0e3c23ee7c8dd634bb64228
* fdo#46808, convert singleton util::theOfficeInstallationDirectoriesNoel Grandin2013-03-041-8/+2
| | | | | | | | .. to new-style UNO. And deprecate old service in favour of singleton. Change-Id: I67244097c22af02530214d7c529dd0d32f5964c1
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-038-8/+8
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* Related rhbz#915743: Do not call into DAVResourceAccess with mutex lockedStephan Bergmann2013-03-012-69/+80
| | | | | | | | | | | | | | ...from webdav Content::getResourceType, as otherwise Content::abort would be blocked waiting for the mutex (in code that would call abort, which will be required to fix rhbz#915743 "thread deadlock/slow join in insert->hyperlink in impress"). This required to get the odd reference to enum return type of getResourceType straight. Also, propagate information about !shouldAccessNetworkAfterException from getResourceType out to getPropertyValues, to avoid further calls that would again block/fail. Change-Id: I8b9d43a61eb4078acb90079c4eb7aa98a59a8983
* neon commands cannot be abortedStephan Bergmann2013-03-012-9/+3
| | | | | | | | | | | | | | | | | | See <http://lists.manyfish.co.uk/pipermail/neon/2013-February/001533.html> "Re: About ne_set_read_timeout" for why ne_close_connection is not a solution here (and currently would not work anyway, for the thread calling abort would block on the aGlobalNeonMutex introduced with 510da29131e56ba0e1783e505e7131e6f7e0d6b4 "forced to make certain neon api calls thread-safe due to cups" until the blocking thread was done with its neon call) and "a new, dedicated, thread-safe ne_session_* API call will be needed to allow aborting of a running request." So enable DAVResourceAccess::abort again and instead disable the underlying NeonSession::abort. i#106766 "Crash when cancelling extension update" does not give any good rationale why DAVResourceAccess::abort had to be disabled, so it might well have been because the underlying NeonSession::abort was bogus to begin with. Change-Id: If8293b93a960907726208bb2f93c375d83357ed3
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* remove useless comment linesMarkus Mohrhard2013-02-281-21/+0
| | | | Change-Id: I884a97d36ff2ed2f4526cf96af9cac214af4db31