summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)AuthorFilesLines
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks11-33/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48 (cherry picked from commit 03993b47c522dcc71f7cd73ee21df3de9650080d)
2013-07-15ucb: fix DateTime in gvfsMichael Stahl1-1/+1
(cherry picked from commit 5ff4ccc6c49b0d69a3a9f80f9abdc65fe60f8aec) Change-Id: I5733e1490f3f162045fa5040efaabb6550d235a7 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-07-15API change: oslDateTime signed yearLionel Elie Mamane2-4/+4
to match the rest of our date-related data structures, which were recently switched to signed year. Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41 Reviewed-on: https://gerrit.libreoffice.org/4735 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl2-2/+3
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 652ccbdf3111766fadc379a8cf4650b744e1e19c) i#108348: fix TimeZone -> Timezone in struct names (cherry picked from commit 604aae1fd240254fe851d93dc35b5408bd13296c) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Conflicts: forms/source/xforms/convert.cxx offapi/type_reference/offapi.rdb reportdesign/source/core/sdr/RptObject.cxx sc/source/filter/oox/unitconverter.cxx
2013-07-02fdo#66324 fix locking in webdav_ucp::Content::getResourceType()Michael Stahl1-1/+13
Crash in there while accessing an evidently deleted DAVResourceAccess instance with about 4 other threads also in various webdav_ucp::Content methods. The problem is apparently that the "outer" getResourceType() passes the m_xResAccess to the "inner" getResourceType(), which accesses it without locking the mutex, while another thread resets m_xResAccess and thereby deletes the current instance. (regression from 0c3500115c4fd86284a027fc32be704afcf77061) Change-Id: I1c67021c536e303d766c7ff93fb71e40f991f3af (cherry picked from commit 49a454225e35699d7351faaba3d296e1858c6107) Reviewed-on: https://gerrit.libreoffice.org/4650 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-23Related rhbz#961460: Fix regression around OUString::compareTo usageStephan Bergmann1-1/+1
...originally introduced with 8da928423add3fdb94baee2a3f3fa053390f828e "Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)," leading to "IsFolder" not being properly set in the WebDAV UCP, leading to failure when saving documents. Change-Id: Id2cc98582c9feffaa501a68069cd606fb420fd29 (cherry picked from commit aac817bca6951a42bfe6c8fbfd86163190f96997)
2013-05-21fix for linkingNoel Grandin1-0/+1
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec (cherry picked from commit 6bf00f0f94394c62bddcd77b776e4e3592160201) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks18-298/+60
2013-04-26Java cleanup, access static methods using correct syntaxNoel Grandin1-3/+3
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-24extend license filtering, and add fallback-checks.Michael Meeks29-4/+29
Change-Id: Ia1ec3564326cf898d756c231a64a54db8698bf20
2013-04-24gbuild: drop empty use_packages callsDavid Tardon2-6/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon2-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks16-349/+77
2013-04-22fdo#62096 - Changed a few compareTo's to '=='Sameer Deshmukh1-1/+1
Change-Id: I0a0ba87ec517e5dd776ab45b232dd7f227451466 Reviewed-on: https://gerrit.libreoffice.org/3523 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19use GLIB_CHECK_VERSION instead of GLIB_VERSION_X_XXIvan Timofeev1-1/+1
Michael Meeks pointed out that the latter can cause problems. Change-Id: I68e7f8c6dcfae52305738b2a8cdee72e9c2c7f93
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin3-9/+8
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane5-16/+18
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18WaE: g_type_init has been deprecated since GLib 2.36Ivan Timofeev1-2/+2
Change-Id: Ied9b2c2424d780d589cb1b07df0ec38107d49829 Reviewed-on: https://gerrit.libreoffice.org/3434 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák1-3/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák252-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
2013-04-06Add comment the RTL_CONSTASCII_STRINGPARAM should be kept in regexp.cxxChr. Rossmanith1-0/+3
Change-Id: I3cd2129d98c3d936d8ec31f89554b37f12427c1c
2013-04-02drop prefix from ::cssThomas Arnhold1-2/+2
as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-01remove macros in ucbThomas Arnhold4-215/+189
Change-Id: I9921d79df1eeeb06c0163c1e61e0c845308c6ff9
2013-04-01remove boilerplate commentsThomas Arnhold5-10/+2
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-03-28Remove RTL_CONSTASCII_(U)STRINGPARAM in ucbChr. Rossmanith4-36/+22
and use append() instead of appendAscii() Change-Id: I7c9dd0e03e24a39240a82fc245b4722d4c424842
2013-03-27clear -Werror=write-strings in NeonUri.cxxChr. Rossmanith1-3/+3
Change-Id: I7a67c1858b2954ca0522320b9008d70ed1afd64c
2013-03-27Remove RTL_CONSTASCII_STRINGPARAM in ucbChr. Rossmanith3-111/+58
Change-Id: Ib450c1463add267ad64707c7a2d71e7f6a9c0849
2013-03-27-Wunused-macrosStephan Bergmann2-5/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold1-8/+0
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26Bin ASCII art and pointless commentsTor Lillqvist10-226/+6
Change-Id: I9c510a0edb2a04d1378d488cc724e8f9982b5ba3
2013-03-26WaE: unused function 'matchIgnoreAsciiCase'Tor Lillqvist1-15/+0
Change-Id: I5a270b7375807d1eaad9e22acea4457a0ceb5c54
2013-03-25Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxxChr. Rossmanith1-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>
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann1-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
2013-03-24Does not compileStephan Bergmann1-7/+7
Change-Id: If7d24a6378a6645baf9d0c40e3c3cf0ae7d4f317
2013-03-24Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)Chr. Rossmanith12-80/+54
Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Thomas Arnhold1-13/+7
Now all should be gone. Change-Id: Iaaaebfbb85535d95eab6a2043e7d5e2e845d9782
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann3-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
2013-03-20simplify OUString assignmentsChr. Rossmanith1-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>
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold1-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>
2013-03-19coverity#982271 Copy-paste errorJulien Nabet1-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>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-3/+1
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold21-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>
2013-03-19trailing whitespacesThomas Arnhold1-1/+1
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-18incorrect NEON_VERSION usageLuboš Luňák1-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
2013-03-15fprintf -> SAL_WARNStephan Bergmann1-4/+3
Change-Id: Ifab1415fafa93551d8bed1e77c38f04bec8d2eba
2013-03-15Revert "Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism"Tor Lillqvist1-11/+11
It won't work, ne_debug_init() will be called always (in non-release builds). This reverts commit b6f6c3a2ed19cc34cce5d19c32c921227165bdd0.
2013-03-15Conditionalize call of ne_debug_init() using the SAL_INFO() mechanismTor Lillqvist1-11/+11
Instead of #if OSL_DEBUG_LEVEL>0. Change-Id: I2329de4deff4687fb1249c47f2e24eaf6ea6a248
2013-03-15Lock document that is opened for potential modificationTor Lillqvist1-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
2013-03-15SAL_INFO instead of OSL_TRACETor Lillqvist1-4/+3
Change-Id: I40a2e6ea708aa037172bc6e9f9882c88f1d486c3
2013-03-15Use default set of root certificates, if available, when using SSLTor Lillqvist1-0/+5
Part of fix for the WebDAV https server authentication problem noticed when fixing bnc#805901. Change-Id: Ic54c59bdadaf34cdba32949400d5da69712017f3