Hello community, here is the log from the commit of package evolution-data-server for openSUSE:Factory checked in at 2017-01-23 11:21:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evolution-data-server (Old) and /work/SRC/openSUSE:Factory/.evolution-data-server.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution-data-server" Changes: -------- --- /work/SRC/openSUSE:Factory/evolution-data-server/evolution-data-server.changes 2016-12-15 10:42:04.929018945 +0100 +++ /work/SRC/openSUSE:Factory/.evolution-data-server.new/evolution-data-server.changes 2017-01-23 11:21:25.761678810 +0100 @@ -1,0 +2,14 @@ +Tue Jan 17 10:30:27 UTC 2017 - zai...@opensuse.org + +- Update to version 3.22.4: + + Correct new module detection when installed by file rename. + + camel-stream-process: Avoid call of g_debug() in the fork + process. + + Replace deprecated icalproperty_remove_parameter() with + icalproperty_remove_parameter_by_kind(). + + Replace deprecated icaltime_from_timet() with + icaltime_from_timet_with_zone(). + + [IMAPx] Fix a memory leak. + + Bugs fixed: bgo#776152, bgo#774304, bgo#777085. + +------------------------------------------------------------------- Old: ---- evolution-data-server-3.22.3.tar.xz New: ---- evolution-data-server-3.22.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evolution-data-server.spec ++++++ --- /var/tmp/diff_new_pack.RUNIzM/_old 2017-01-23 11:21:26.425584558 +0100 +++ /var/tmp/diff_new_pack.RUNIzM/_new 2017-01-23 11:21:26.425584558 +0100 @@ -1,7 +1,7 @@ # # spec file for package evolution-data-server # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ Name: evolution-data-server %define _evo_version 3.22 -Version: 3.22.3 +Version: 3.22.4 Release: 0 Summary: Evolution Data Server License: LGPL-2.1+ ++++++ evolution-data-server-3.22.3.tar.xz -> evolution-data-server-3.22.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/NEWS new/evolution-data-server-3.22.4/NEWS --- old/evolution-data-server-3.22.3/NEWS 2016-12-12 15:33:49.000000000 +0100 +++ new/evolution-data-server-3.22.4/NEWS 2017-01-16 12:38:20.000000000 +0100 @@ -1,3 +1,18 @@ +Evolution-Data-Server 3.22.4 2017-01-16 +--------------------------------------- + +Bug Fixes: + Bug 776152 - Cannot search for WebDAV/CalDAV sources (Milan Crha) + Bug 774304 - Cover relative path in /etc/localtime symlink (Milan Crha) + Bug 777085 - vCard empty value could break next parameter name parsing (Milan Crha) + +Miscellaneous: + Correct new module detection when installed by file rename (Milan Crha) + camel-stream-process: Avoid call of g_debug() in the fork process (Milan Crha) + Replace deprecated icalproperty_remove_parameter() with icalproperty_remove_parameter_by_kind() (Milan Crha) + Replace deprecated icaltime_from_timet() with icaltime_from_timet_with_zone() (Milan Crha) + [IMAPx] Fix a memory leak (Milan Crha) + Evolution-Data-Server 3.22.3 2016-12-12 --------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/addressbook/libebook-contacts/e-vcard.c new/evolution-data-server-3.22.4/addressbook/libebook-contacts/e-vcard.c --- old/evolution-data-server-3.22.3/addressbook/libebook-contacts/e-vcard.c 2015-09-21 11:19:51.000000000 +0200 +++ new/evolution-data-server-3.22.4/addressbook/libebook-contacts/e-vcard.c 2017-01-12 15:43:05.000000000 +0100 @@ -512,8 +512,7 @@ param = NULL; if (!colon) lp = g_utf8_next_char (lp); - } else { - g_string_append_unichar (str, g_utf8_get_char (lp)); + } else if (!colon) { lp = g_utf8_next_char (lp); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/backends/gtasks/e-cal-backend-gtasks.c new/evolution-data-server-3.22.4/calendar/backends/gtasks/e-cal-backend-gtasks.c --- old/evolution-data-server-3.22.3/calendar/backends/gtasks/e-cal-backend-gtasks.c 2016-12-08 15:36:11.000000000 +0100 +++ new/evolution-data-server-3.22.4/calendar/backends/gtasks/e-cal-backend-gtasks.c 2017-01-05 15:41:18.000000000 +0100 @@ -284,13 +284,13 @@ tt); if (gdata_tasks_task_get_due (task) > 0) { - tt = icaltime_from_timet (gdata_tasks_task_get_due (task), 1); + tt = icaltime_from_timet_with_zone (gdata_tasks_task_get_due (task), 1, NULL); if (icaltime_is_valid_time (tt) && !icaltime_is_null_time (tt)) icalcomponent_set_due (icomp, tt); } if (gdata_tasks_task_get_completed (task) > 0) { - tt = icaltime_from_timet (gdata_tasks_task_get_completed (task), 1); + tt = icaltime_from_timet_with_zone (gdata_tasks_task_get_completed (task), 1, NULL); if (icaltime_is_valid_time (tt) && !icaltime_is_null_time (tt)) ecb_gtasks_update_ical_time_property (icomp, ICAL_COMPLETED_PROPERTY, icalproperty_new_completed, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/libecal/e-cal-client.c new/evolution-data-server-3.22.4/calendar/libecal/e-cal-client.c --- old/evolution-data-server-3.22.3/calendar/libecal/e-cal-client.c 2016-03-21 08:34:20.000000000 +0100 +++ new/evolution-data-server-3.22.4/calendar/libecal/e-cal-client.c 2017-01-05 15:41:18.000000000 +0100 @@ -2381,8 +2381,7 @@ /* Floating date, set in the default zone */ itt = icaltime_from_timet_with_zone (start, TRUE, instances_hold->default_zone); } else { - itt = icaltime_from_timet ( - start, dtstart.value && dtstart.value->is_date); + itt = icaltime_from_timet_with_zone (start, dtstart.value && dtstart.value->is_date, NULL); if (dtstart.tzid) { g_free ((gchar *) dtstart.tzid); dtstart.tzid = NULL; @@ -2420,8 +2419,7 @@ /* Floating date, set in the default zone */ itt = icaltime_from_timet_with_zone (end, TRUE, instances_hold->default_zone); } else { - itt = icaltime_from_timet ( - end, dtend.value && dtend.value->is_date); + itt = icaltime_from_timet_with_zone (end, dtend.value && dtend.value->is_date, NULL); if (dtend.tzid) { g_free ((gchar *) dtend.tzid); dtend.tzid = NULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/libecal/e-cal-component.c new/evolution-data-server-3.22.4/calendar/libecal/e-cal-component.c --- old/evolution-data-server-3.22.3/calendar/libecal/e-cal-component.c 2016-03-21 08:34:20.000000000 +0100 +++ new/evolution-data-server-3.22.4/calendar/libecal/e-cal-component.c 2017-01-05 14:01:43.000000000 +0100 @@ -2564,7 +2564,7 @@ if (datetime->prop) { /* make sure no VALUE property is left if not needed */ - icalproperty_remove_parameter (datetime->prop, ICAL_VALUE_PARAMETER); + icalproperty_remove_parameter_by_kind (datetime->prop, ICAL_VALUE_PARAMETER); (* prop_set_func) (datetime->prop, *dt->value); } else { @@ -2583,7 +2583,7 @@ icalproperty_add_parameter (datetime->prop, datetime->tzid_param); } } else if (datetime->tzid_param) { - icalproperty_remove_parameter (datetime->prop, ICAL_TZID_PARAMETER); + icalproperty_remove_parameter_by_kind (datetime->prop, ICAL_TZID_PARAMETER); datetime->tzid_param = NULL; } } @@ -3554,7 +3554,7 @@ priv->organizer.sentby_param); } } else if (priv->organizer.sentby_param) { - icalproperty_remove_parameter (priv->organizer.prop, ICAL_SENTBY_PARAMETER); + icalproperty_remove_parameter_by_kind (priv->organizer.prop, ICAL_SENTBY_PARAMETER); priv->organizer.sentby_param = NULL; } @@ -3573,7 +3573,7 @@ priv->organizer.cn_param); } } else if (priv->organizer.cn_param) { - icalproperty_remove_parameter (priv->organizer.prop, ICAL_CN_PARAMETER); + icalproperty_remove_parameter_by_kind (priv->organizer.prop, ICAL_CN_PARAMETER); priv->organizer.cn_param = NULL; } @@ -3592,7 +3592,7 @@ priv->organizer.language_param); } } else if (priv->organizer.language_param) { - icalproperty_remove_parameter (priv->organizer.prop, ICAL_LANGUAGE_PARAMETER); + icalproperty_remove_parameter_by_kind (priv->organizer.prop, ICAL_LANGUAGE_PARAMETER); priv->organizer.language_param = NULL; } @@ -4582,7 +4582,7 @@ priv->summary.altrep_param); } } else if (priv->summary.altrep_param) { - icalproperty_remove_parameter (priv->summary.prop, ICAL_ALTREP_PARAMETER); + icalproperty_remove_parameter_by_kind (priv->summary.prop, ICAL_ALTREP_PARAMETER); priv->summary.altrep_param = NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/libecal/e-cal-recur.c new/evolution-data-server-3.22.4/calendar/libecal/e-cal-recur.c --- old/evolution-data-server-3.22.3/calendar/libecal/e-cal-recur.c 2016-09-19 10:00:48.000000000 +0200 +++ new/evolution-data-server-3.22.4/calendar/libecal/e-cal-recur.c 2017-01-05 15:41:18.000000000 +0100 @@ -4486,10 +4486,7 @@ { struct icaltimetype tt; - if (zone) - tt = icaltime_from_timet_with_zone (t, FALSE, zone); - else - tt = icaltime_from_timet (t, FALSE); + tt = icaltime_from_timet_with_zone (t, FALSE, zone); cotime->year = tt.year; cotime->month = tt.month - 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/libecal/e-cal-system-timezone.c new/evolution-data-server-3.22.4/calendar/libecal/e-cal-system-timezone.c --- old/evolution-data-server-3.22.3/calendar/libecal/e-cal-system-timezone.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/calendar/libecal/e-cal-system-timezone.c 2017-01-09 19:36:36.000000000 +0100 @@ -43,6 +43,10 @@ { gint skip; + /* In case it's a relative path the '../' references the root (from the /etc) */ + if (filename && g_str_has_prefix (filename, "../")) + filename += 2; + if (!filename || !g_str_has_prefix (filename, SYSTEM_ZONEINFODIR "/")) return NULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/calendar/libecal/e-cal-util.c new/evolution-data-server-3.22.4/calendar/libecal/e-cal-util.c --- old/evolution-data-server-3.22.3/calendar/libecal/e-cal-util.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/calendar/libecal/e-cal-util.c 2017-01-05 15:41:18.000000000 +0100 @@ -1390,11 +1390,7 @@ struct icaltimetype dtstart; dtstart = icalcomponent_get_dtstart (icalcomp); - if (dtstart.zone) { - rid = icaltime_from_timet_with_zone (instance_start, dtstart.is_date, dtstart.zone); - } else { - rid = icaltime_from_timet (instance_start, dtstart.is_date); - } + rid = icaltime_from_timet_with_zone (instance_start, dtstart.is_date, dtstart.zone); } ifs->matches = icaltime_compare (ifs->rid, rid) == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/camel/camel-stream-process.c new/evolution-data-server-3.22.4/camel/camel-stream-process.c --- old/evolution-data-server-3.22.3/camel/camel-stream-process.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/camel/camel-stream-process.c 2017-01-02 16:11:14.000000000 +0100 @@ -40,12 +40,6 @@ #include "camel-file-utils.h" #include "camel-stream-process.h" -#define CHECK_CALL(x) G_STMT_START { \ - if ((x) == -1) { \ - g_debug ("%s: Call of '" #x "' failed: %s", G_STRFUNC, g_strerror (errno)); \ - } \ - } G_STMT_END - extern gint camel_verbose_debug; G_DEFINE_TYPE (CamelStreamProcess, camel_stream_process, CAMEL_TYPE_STREAM) @@ -211,7 +205,13 @@ maxopen = sysconf (_SC_OPEN_MAX); for (i = 3; i < maxopen; i++) { - CHECK_CALL (fcntl (i, F_SETFD, FD_CLOEXEC)); + if (fcntl (i, F_SETFD, FD_CLOEXEC) == -1 && errno != EBADF) { + /* Would g_debug() this, but it can cause deadlock on mutexes + in GLib in certain situations, thus rather ignore it at all. + It's also quite likely, definitely in the early stage, that + most of the file descriptors are not valid anyway. */ + /* g_debug ("%s: Call of 'fcntl (%d, F_SETFD, FD_CLOEXEC)' failed: %s", G_STRFUNC, i, g_strerror (errno)); */ + } } setsid (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/camel/providers/imapx/camel-imapx-server.c new/evolution-data-server-3.22.4/camel/providers/imapx/camel-imapx-server.c --- old/evolution-data-server-3.22.3/camel/providers/imapx/camel-imapx-server.c 2016-12-01 11:53:18.000000000 +0100 +++ new/evolution-data-server-3.22.4/camel/providers/imapx/camel-imapx-server.c 2017-01-09 14:51:05.000000000 +0100 @@ -1260,7 +1260,6 @@ * happen during a SELECT (QRESYNC). We should use it. */ c (is->priv->tagprefix, "flags changed for unknown uid %s\n.", uid); } - finfo->user_flags = NULL; } if (changed) { @@ -4609,7 +4608,7 @@ } if (date_time > 0) { - icaltime = icaltime_from_timet (date_time, FALSE); + icaltime = icaltime_from_timet_with_zone (date_time, FALSE, NULL); if (!icaltime_is_valid_time (icaltime)) date_time = -1; } @@ -4618,7 +4617,7 @@ date_time = camel_message_info_get_date_received (mi); if (date_time > 0) { - icaltime = icaltime_from_timet (date_time, FALSE); + icaltime = icaltime_from_timet_with_zone (date_time, FALSE, NULL); if (!icaltime_is_valid_time (icaltime)) date_time = -1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/configure new/evolution-data-server-3.22.4/configure --- old/evolution-data-server-3.22.3/configure 2016-12-12 15:34:31.000000000 +0100 +++ new/evolution-data-server-3.22.4/configure 2017-01-16 12:39:11.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for evolution-data-server 3.22.3. +# Generated by GNU Autoconf 2.69 for evolution-data-server 3.22.4. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server>. # @@ -651,8 +651,8 @@ # Identity of this package. PACKAGE_NAME='evolution-data-server' PACKAGE_TARNAME='evolution-data-server' -PACKAGE_VERSION='3.22.3' -PACKAGE_STRING='evolution-data-server 3.22.3' +PACKAGE_VERSION='3.22.4' +PACKAGE_STRING='evolution-data-server 3.22.4' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server' PACKAGE_URL='' @@ -1788,7 +1788,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures evolution-data-server 3.22.3 to adapt to many kinds of systems. +\`configure' configures evolution-data-server 3.22.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1859,7 +1859,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of evolution-data-server 3.22.3:";; + short | recursive ) echo "Configuration of evolution-data-server 3.22.4:";; esac cat <<\_ACEOF @@ -2138,7 +2138,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -evolution-data-server configure 3.22.3 +evolution-data-server configure 3.22.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2724,7 +2724,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by evolution-data-server $as_me 3.22.3, which was +It was created by evolution-data-server $as_me 3.22.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3587,7 +3587,7 @@ # Define the identity of the package. PACKAGE='evolution-data-server' - VERSION='3.22.3' + VERSION='3.22.4' cat >>confdefs.h <<_ACEOF @@ -3888,7 +3888,7 @@ EDS_MAJOR_VERSION=3 EDS_MINOR_VERSION=22 -EDS_MICRO_VERSION=3 +EDS_MICRO_VERSION=4 @@ -27987,7 +27987,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by evolution-data-server $as_me 3.22.3, which was +This file was extended by evolution-data-server $as_me 3.22.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -28053,7 +28053,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -evolution-data-server config.status 3.22.3 +evolution-data-server config.status 3.22.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/configure.ac new/evolution-data-server-3.22.4/configure.ac --- old/evolution-data-server-3.22.3/configure.ac 2016-12-08 15:29:55.000000000 +0100 +++ new/evolution-data-server-3.22.4/configure.ac 2016-12-12 15:51:20.000000000 +0100 @@ -2,7 +2,7 @@ dnl Evolution-Data-Server version m4_define([eds_major_version], [3]) m4_define([eds_minor_version], [22]) -m4_define([eds_micro_version], [3]) +m4_define([eds_micro_version], [4]) m4_define([eds_version], [eds_major_version.eds_minor_version.eds_micro_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/docs/reference/eds/html/eds-eds-version.html new/evolution-data-server-3.22.4/docs/reference/eds/html/eds-eds-version.html --- old/evolution-data-server-3.22.3/docs/reference/eds/html/eds-eds-version.html 2016-12-12 15:40:16.000000000 +0100 +++ new/evolution-data-server-3.22.4/docs/reference/eds/html/eds-eds-version.html 2017-01-16 12:44:22.000000000 +0100 @@ -204,7 +204,7 @@ <hr> <div class="refsect2"> <a name="EDS-MICRO-VERSION:CAPS"></a><h3>EDS_MICRO_VERSION</h3> -<pre class="programlisting">#define EDS_MICRO_VERSION 3 +<pre class="programlisting">#define EDS_MICRO_VERSION 4 </pre> <p>The micro version number of the Evolution-Data-Server library. Like <a class="link" href="eds-eds-version.html#eds-micro-version" title="eds_micro_version"><code class="function">eds_micro_version()</code></a>, but from the headers used at application compile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/docs/reference/eds/html/index.html new/evolution-data-server-3.22.4/docs/reference/eds/html/index.html --- old/evolution-data-server-3.22.3/docs/reference/eds/html/index.html 2016-12-12 15:40:17.000000000 +0100 +++ new/evolution-data-server-3.22.4/docs/reference/eds/html/index.html 2017-01-16 12:44:22.000000000 +0100 @@ -15,7 +15,7 @@ <div class="titlepage"> <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Evolution-Data-Server Reference Manual</p></th></tr></table></div> -<div><p class="releaseinfo">Reference Manual for evolution-data-server 3.22.3 +<div><p class="releaseinfo">Reference Manual for evolution-data-server 3.22.4 </p></div> <div><div class="abstract"> <p class="title"><b>Abstract</b></p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/docs/reference/eds/version.xml new/evolution-data-server-3.22.4/docs/reference/eds/version.xml --- old/evolution-data-server-3.22.3/docs/reference/eds/version.xml 2016-12-12 15:34:47.000000000 +0100 +++ new/evolution-data-server-3.22.4/docs/reference/eds/version.xml 2017-01-16 12:39:25.000000000 +0100 @@ -1 +1 @@ -evolution-data-server 3.22.3 +evolution-data-server 3.22.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/libebackend/e-dbus-server.c new/evolution-data-server-3.22.4/libebackend/e-dbus-server.c --- old/evolution-data-server-3.22.3/libebackend/e-dbus-server.c 2016-03-21 08:34:20.000000000 +0100 +++ new/evolution-data-server-3.22.4/libebackend/e-dbus-server.c 2016-12-20 18:51:37.000000000 +0100 @@ -540,11 +540,22 @@ if (event_type == G_FILE_MONITOR_EVENT_CREATED || event_type == G_FILE_MONITOR_EVENT_DELETED || event_type == G_FILE_MONITOR_EVENT_MOVED_IN || - event_type == G_FILE_MONITOR_EVENT_MOVED_OUT) { + event_type == G_FILE_MONITOR_EVENT_MOVED_OUT || + event_type == G_FILE_MONITOR_EVENT_RENAMED) { gchar *filename; filename = g_file_get_path (file); + if (event_type == G_FILE_MONITOR_EVENT_RENAMED && other_file) { + G_LOCK (loaded_modules); + if (!g_hash_table_contains (loaded_modules, filename)) { + g_free (filename); + filename = g_file_get_path (other_file); + event_type = G_FILE_MONITOR_EVENT_CREATED; + } + G_UNLOCK (loaded_modules); + } + if (filename && g_str_has_suffix (filename, "." G_MODULE_SUFFIX)) { gboolean any_loaded = FALSE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/libedataserver/eds-version.h new/evolution-data-server-3.22.4/libedataserver/eds-version.h --- old/evolution-data-server-3.22.3/libedataserver/eds-version.h 2016-12-12 15:34:46.000000000 +0100 +++ new/evolution-data-server-3.22.4/libedataserver/eds-version.h 2017-01-16 12:39:24.000000000 +0100 @@ -49,7 +49,7 @@ * time, rather than from the library linked against at application run * time. **/ -#define EDS_MICRO_VERSION 3 +#define EDS_MICRO_VERSION 4 /** * EDS_CHECK_VERSION: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/libedataserverui/e-webdav-discover-widget.c new/evolution-data-server-3.22.4/libedataserverui/e-webdav-discover-widget.c --- old/evolution-data-server-3.22.3/libedataserverui/e-webdav-discover-widget.c 2016-05-24 16:06:24.000000000 +0200 +++ new/evolution-data-server-3.22.4/libedataserverui/e-webdav-discover-widget.c 2016-12-16 09:52:26.000000000 +0100 @@ -722,7 +722,9 @@ NULL, FALSE, rd->cancellable, e_webdav_discover_content_trust_prompt_done_cb, rd); rd = NULL; } else if (g_cancellable_is_cancelled (rd->cancellable) || - !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) { + (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED) && + !g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_UNAUTHORIZED) && + !g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_FORBIDDEN))) { g_simple_async_result_take_error (rd->simple, local_error); local_error = NULL; g_simple_async_result_complete (rd->simple); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/modules/ubuntu-online-accounts/evolution-data-server-uoa.desktop new/evolution-data-server-3.22.4/modules/ubuntu-online-accounts/evolution-data-server-uoa.desktop --- old/evolution-data-server-3.22.3/modules/ubuntu-online-accounts/evolution-data-server-uoa.desktop 2016-12-12 15:40:15.000000000 +0100 +++ new/evolution-data-server-3.22.4/modules/ubuntu-online-accounts/evolution-data-server-uoa.desktop 2017-01-16 12:44:21.000000000 +0100 @@ -94,4 +94,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=evolution-data-server X-GNOME-Bugzilla-Component=General -X-GNOME-Bugzilla-Version=3.22.3 +X-GNOME-Bugzilla-Version=3.22.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libebook-contacts/test-vcard-parsing.c new/evolution-data-server-3.22.4/tests/libebook-contacts/test-vcard-parsing.c --- old/evolution-data-server-3.22.3/tests/libebook-contacts/test-vcard-parsing.c 2015-11-19 09:07:22.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libebook-contacts/test-vcard-parsing.c 2017-01-12 15:43:05.000000000 +0100 @@ -434,6 +434,140 @@ } static void +test_phone_params_and_value (EContact *contact, + EContactField field_id, + const gchar *expected_value, + const gchar *expected_value_type) +{ + GList *attributes, *params, *link; + EVCardAttribute *attr = NULL; + + g_assert (E_IS_CONTACT (contact)); + g_assert (expected_value != NULL); + g_assert (expected_value_type != NULL); + + g_assert_nonnull (e_contact_get_const (contact, field_id)); + g_assert_cmpstr (e_contact_get_const (contact, field_id), ==, expected_value); + + attributes = e_contact_get_attributes (contact, field_id); + + g_assert (attributes != NULL); + g_assert (attributes->next != NULL); + g_assert (attributes->next->next != NULL); + g_assert (attributes->next->next->next == NULL); + + for (link = attributes; link; link = g_list_next (link)) { + gchar *value; + + attr = link->data; + + g_assert (attr != NULL); + + value = e_vcard_attribute_get_value (attr); + + g_assert (value != NULL); + + if (g_strcmp0 (value, expected_value) == 0) { + g_free (value); + break; + } + + g_free (value); + attr = NULL; + } + + g_assert (attr != NULL); + + g_assert (e_vcard_attribute_get_name (attr) != NULL); + + params = e_vcard_attribute_get_params (attr); + g_assert (params != NULL); + g_assert (params->next != NULL); + g_assert (params->next->next == NULL); + + for (link = params; link; link = g_list_next (link)) { + EVCardAttributeParam *param = link->data; + const gchar *name; + + g_assert (param != NULL); + + name = e_vcard_attribute_param_get_name (param); + + g_assert (name != NULL); + g_assert (g_ascii_strcasecmp (name, EVC_TYPE) == 0 || + g_ascii_strcasecmp (name, EVC_X_E164) == 0); + + if (g_ascii_strcasecmp (name, EVC_X_E164) == 0) { + GList *values; + const gchar *value; + + values = e_vcard_attribute_param_get_values (param); + + g_assert (values != NULL); + g_assert (values->next == NULL || values->next->next == NULL); + + value = values->data; + + g_assert (value != NULL); + g_assert_cmpstr (value, ==, expected_value); + + if (values->next) { + value = values->next->data; + + if (value != NULL) + g_assert_cmpstr (value, ==, ""); + } + } else { + GList *values; + const gchar *value1, *value2; + + values = e_vcard_attribute_param_get_values (param); + + g_assert (values != NULL); + g_assert (values->next != NULL); + g_assert (values->next->next == NULL); + + value1 = values->data; + value2 = values->next->data; + + g_assert (value1 != NULL); + g_assert (value2 != NULL); + g_assert_cmpstr (value1, ==, expected_value_type); + g_assert_cmpstr (value2, ==, "VOICE"); + } + } + + g_list_free_full (attributes, (GDestroyNotify) e_vcard_attribute_free); +} + +static void +test_contact_empty_value (void) +{ + EContact *contact; + + contact = e_contact_new_from_vcard ( + "BEGIN:VCARD\r\n" + "VERSION:3.0\r\n" + "UID:some-uid\r\n" + "REV:2017-01-12T11:34:36Z(0)\r\n" + "FN:zyx\r\n" + "N:zyx;;;;\r\n" + "EMAIL;TYPE=WORK:work@no.where\r\n" + "TEL;X-EVOLUTION-E164=00123456789,;TYPE=WORK,VOICE:00123456789\r\n" + "TEL;TYPE=WORK;TYPE=VOICE;X-EVOLUTION-E164=11123456789,:11123456789\r\n" + "TEL;X-EVOLUTION-E164=002233445566;TYPE=HOME,VOICE:002233445566\r\n" + "END:VCARD\r\n"); + + g_assert (E_IS_CONTACT (contact)); + + test_phone_params_and_value (contact, E_CONTACT_PHONE_BUSINESS, "00123456789", "WORK"); + test_phone_params_and_value (contact, E_CONTACT_PHONE_BUSINESS_2, "11123456789", "WORK"); + test_phone_params_and_value (contact, E_CONTACT_PHONE_HOME, "002233445566", "HOME"); + + g_clear_object (&contact); +} + +static void test_construction_vcard_attribute_with_group (void) { EVCardAttribute *attr1, *attr2, *attr3; @@ -460,9 +594,10 @@ g_test_add_func ("/Parsing/VCard/WithUID", test_vcard_with_uid); g_test_add_func ("/Parsing/VCard/WithoutUID", test_vcard_without_uid); + g_test_add_func ("/Parsing/VCard/QuotedPrintable", test_vcard_quoted_printable); g_test_add_func ("/Parsing/Contact/WithUID", test_contact_with_uid); g_test_add_func ("/Parsing/Contact/WithoutUID", test_contact_without_uid); - g_test_add_func ("/Parsing/VCard/QuotedPrintable", test_vcard_quoted_printable); + g_test_add_func ("/Parsing/Contact/EmptyValue", test_contact_empty_value); g_test_add_func ("/Construction/VCardAttribute/WithGroup", test_construction_vcard_attribute_with_group); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-bulk-methods.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-bulk-methods.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-bulk-methods.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-bulk-methods.c 2017-01-05 15:41:18.000000000 +0100 @@ -197,7 +197,7 @@ summary = g_strdup_printf ("Test summary %d", i); icalcomponent_set_summary (icalcomp, summary); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); icalcomps = g_slist_append (icalcomps, icalcomp); g_free (summary); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-create-object.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-create-object.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-create-object.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-create-object.c 2017-01-05 15:41:18.000000000 +0100 @@ -73,7 +73,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Test event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); @@ -208,7 +208,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Test event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); data.icalcomp = icalcomp; data.loop = fixture->loop; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-attachment-uris.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-attachment-uris.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-attachment-uris.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-attachment-uris.c 2017-01-05 15:41:18.000000000 +0100 @@ -64,7 +64,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Test event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); add_attach (icalcomp, ATTACH1); add_attach (icalcomp, ATTACH2); add_attach (icalcomp, ATTACH3); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-object-list.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-object-list.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-object-list.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-object-list.c 2017-01-05 15:41:18.000000000 +0100 @@ -40,7 +40,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, EVENT_SUMMARY); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-revision.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-revision.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-revision.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-revision.c 2017-01-05 15:41:18.000000000 +0100 @@ -38,7 +38,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Test event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_client_get_backend_property_sync (E_CLIENT (client), CLIENT_BACKEND_PROPERTY_REVISION, &revision_before, NULL, &error)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-view.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-view.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-get-view.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-get-view.c 2017-01-05 15:41:18.000000000 +0100 @@ -123,7 +123,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Initial event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-modify-object.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-modify-object.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-modify-object.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-modify-object.c 2017-01-05 15:41:18.000000000 +0100 @@ -39,7 +39,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Initial" EVENT_SUMMARY); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-receive-objects.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-receive-objects.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-receive-objects.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-receive-objects.c 2017-01-05 15:41:18.000000000 +0100 @@ -35,7 +35,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "To-be-received event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); return icalcomp; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-refresh.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-refresh.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-refresh.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-refresh.c 2017-01-05 15:41:18.000000000 +0100 @@ -38,7 +38,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Test event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-remove-object.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-remove-object.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-remove-object.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-remove-object.c 2017-01-05 15:41:18.000000000 +0100 @@ -39,7 +39,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "To-be-removed event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-revision-view.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-revision-view.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-revision-view.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-revision-view.c 2017-01-05 15:41:18.000000000 +0100 @@ -160,7 +160,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "Initial event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); if (!e_cal_client_create_object_sync (cal_client, icalcomp, &uid, NULL, &error)) g_error ("create object sync: %s", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-send-objects.c new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-send-objects.c --- old/evolution-data-server-3.22.3/tests/libecal/client/test-cal-client-send-objects.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libecal/client/test-cal-client-send-objects.c 2017-01-05 15:41:18.000000000 +0100 @@ -74,7 +74,7 @@ icalcomp = icalcomponent_new (ICAL_VEVENT_COMPONENT); icalcomponent_set_summary (icalcomp, "To-be-sent event summary"); icalcomponent_set_dtstart (icalcomp, now); - icalcomponent_set_dtend (icalcomp, icaltime_from_timet (icaltime_as_timet (now) + 60 * 60 * 60, 0)); + icalcomponent_set_dtend (icalcomp, icaltime_from_timet_with_zone (icaltime_as_timet (now) + 60 * 60 * 60, 0, NULL)); return icalcomp; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-data-server-3.22.3/tests/libedata-cal/test-intervaltree.c new/evolution-data-server-3.22.4/tests/libedata-cal/test-intervaltree.c --- old/evolution-data-server-3.22.3/tests/libedata-cal/test-intervaltree.c 2015-03-23 07:41:04.000000000 +0100 +++ new/evolution-data-server-3.22.4/tests/libedata-cal/test-intervaltree.c 2017-01-05 15:41:18.000000000 +0100 @@ -153,11 +153,11 @@ ECalComponentDateTime dtstart, dtend; struct icaltimetype time_start, time_end; * - time_start = icaltime_from_timet (start, 0); - dtstart.value = icaltime_from_timet (start, 0); + time_start = icaltime_from_timet_with_zone (start, 0, NULL); + dtstart.value = icaltime_from_timet_with_zone (start, 0, NULL); dtstart.zone = icaltimezone_get_utc_timezone (); * - dtend.value = icaltime_from_timet (end, 0); + dtend.value = icaltime_from_timet_with_zone (end, 0, NULL); dtend.value = icaltimezone_get_utc_timezone (); e_cal_component_set_dtstart (comp, &dtstart); e_cal_component_set_dtend (comp, &dtend); @@ -170,7 +170,7 @@ g_free ((gchar *) summary.value); - current = icaltime_from_timet (time (NULL), 0); + current = icaltime_from_timet_with_zone (time (NULL), 0, NULL); e_cal_component_set_created (comp, ¤t); e_cal_component_set_last_modified (comp, ¤t);