Hello community,

here is the log from the commit of package evolution-ews for openSUSE:Factory 
checked in at 2019-02-11 21:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old)
 and      /work/SRC/openSUSE:Factory/.evolution-ews.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "evolution-ews"

Mon Feb 11 21:15:32 2019 rev:94 rq:672895 version:3.30.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes      
2018-12-19 13:46:14.007550854 +0100
+++ /work/SRC/openSUSE:Factory/.evolution-ews.new.28833/evolution-ews.changes   
2019-02-11 21:15:33.531395387 +0100
@@ -1,0 +2,10 @@
+Fri Feb  8 07:22:02 UTC 2019 - [email protected]
+
+- Update to version 3.30.5:
+  + Bugs fixed: glgo#GNOME/evolution-ews#25,
+    glgo#GNOME/evolution-ews#30, glgo#GNOME/evolution-ews#31,
+    glgo#GNOME/evolution-ews#32.
+- Changes from version 3.30.4:
+  + Updated translations.
+
+-------------------------------------------------------------------

Old:
----
  evolution-ews-3.30.3.tar.xz

New:
----
  evolution-ews-3.30.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ evolution-ews.spec ++++++
--- /var/tmp/diff_new_pack.93BAs8/_old  2019-02-11 21:15:34.139395065 +0100
+++ /var/tmp/diff_new_pack.93BAs8/_new  2019-02-11 21:15:34.147395061 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package evolution-ews
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,7 +19,7 @@
 # _version needs to be %{version} stripped to major.minor.micro only...
 %define _version %(echo %{version} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
 Name:           evolution-ews
-Version:        3.30.3
+Version:        3.30.5
 Release:        0
 Summary:        Exchange Connector for Evolution, compatible with Exchange 
2007 and later
 License:        LGPL-2.1-only

++++++ evolution-ews-3.30.3.tar.xz -> evolution-ews-3.30.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.30.3/CMakeLists.txt 
new/evolution-ews-3.30.5/CMakeLists.txt
--- old/evolution-ews-3.30.3/CMakeLists.txt     2018-12-10 10:09:28.000000000 
+0100
+++ new/evolution-ews-3.30.5/CMakeLists.txt     2019-02-04 12:41:34.000000000 
+0100
@@ -4,7 +4,7 @@
 cmake_policy(VERSION 3.1)
 
 project(evolution-ews
-       VERSION 3.30.3
+       VERSION 3.30.5
        LANGUAGES C)
 set(PROJECT_BUGREPORT "https://gitlab.gnome.org/GNOME/evolution-ews/issues/";)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.30.3/NEWS 
new/evolution-ews-3.30.5/NEWS
--- old/evolution-ews-3.30.3/NEWS       2018-12-10 10:09:28.000000000 +0100
+++ new/evolution-ews-3.30.5/NEWS       2019-02-04 12:41:34.000000000 +0100
@@ -1,3 +1,12 @@
+Evolution-EWS 3.30.5 2019-02-04
+-------------------------------
+
+Bug Fixes:
+       I#25 - Canceled meetings remain in the calendar with Canceled: title 
(Milan Crha)
+       I#30 - Double values should use dot as decimal separator in XML (Milan 
Crha)
+       I#31 - Duplicate attendees in meetings from Office365.com (Milan Crha)
+       I#32 - Run ResolveNames for "Any field contains" searches (Milan Crha)
+
 Evolution-EWS 3.30.3 2018-12-10
 -------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.30.3/src/addressbook/e-book-backend-ews.c 
new/evolution-ews-3.30.5/src/addressbook/e-book-backend-ews.c
--- old/evolution-ews-3.30.3/src/addressbook/e-book-backend-ews.c       
2018-12-10 10:09:28.000000000 +0100
+++ new/evolution-ews-3.30.5/src/addressbook/e-book-backend-ews.c       
2019-02-04 12:41:34.000000000 +0100
@@ -941,7 +941,7 @@
 {
        gboolean delete_field = FALSE;
 
-       if (!value || g_strcmp0 (value, "") == 0)
+       if (!value || !*value)
                delete_field = TRUE;
        e_ews_message_start_set_indexed_item_field (message, name , prefix, 
"Contact", key, delete_field);
 
@@ -1295,7 +1295,7 @@
        gchar * fielduri = NULL;
        gboolean delete_field = FALSE;
 
-       if (!value || g_strcmp0 (value, "") == 0)
+       if (!value || !*value)
                delete_field = TRUE;
 
        fielduri = g_strconcat (name, ":", uri_element, NULL);
@@ -2718,7 +2718,8 @@
        propname = argv[0]->value.string;
        str = argv[1]->value.string;
 
-       if (!strcmp (propname, "full_name") || !strcmp (propname, "email")) {
+       if (!g_ascii_strcasecmp (propname, "full_name") || !g_ascii_strcasecmp 
(propname, "email") ||
+           (str && *str && !g_ascii_strcasecmp (propname, 
"x-evolution-any-field"))) {
                if (!sdata->auto_comp_str) {
                        sdata->auto_comp_str = g_strdup (str);
                        sdata->is_autocompletion = TRUE;
@@ -2754,7 +2755,8 @@
        propname = argv[0]->value.string;
        str = argv[1]->value.string;
 
-       if (!strcmp (propname, "full_name") || !strcmp (propname, "email")) {
+       if (!g_ascii_strcasecmp (propname, "full_name") || !g_ascii_strcasecmp 
(propname, "email") ||
+           (str && *str && !g_ascii_strcasecmp (propname, 
"x-evolution-any-field"))) {
                if (!sdata->auto_comp_str) {
                        sdata->auto_comp_str = g_strdup (str);
                        sdata->is_autocompletion = TRUE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.30.3/src/calendar/e-cal-backend-ews.c 
new/evolution-ews-3.30.5/src/calendar/e-cal-backend-ews.c
--- old/evolution-ews-3.30.3/src/calendar/e-cal-backend-ews.c   2018-12-10 
10:09:28.000000000 +0100
+++ new/evolution-ews-3.30.5/src/calendar/e-cal-backend-ews.c   2019-02-04 
12:41:34.000000000 +0100
@@ -742,6 +742,14 @@
                        gboolean is_response_requested = 
e_ews_item_get_is_response_requested (item);
                        gchar *user_email;
 
+                       /* Remove any existing attendees first (as 
Office365.com (and possibly Exchange 2016) includes them) */
+                       for (icalprop = icalcomponent_get_first_property 
(icalcomp, ICAL_ATTENDEE_PROPERTY);
+                            icalprop;
+                            icalprop = icalcomponent_get_first_property 
(icalcomp, ICAL_ATTENDEE_PROPERTY)) {
+                               icalcomponent_remove_property (icalcomp, 
icalprop);
+                               icalproperty_free (icalprop);
+                       }
+
                        user_email = camel_ews_settings_dup_email 
(ews_settings);
 
                        /* Attendees */
@@ -3605,6 +3613,47 @@
                        }
                }
                break;
+       case ICAL_METHOD_CANCEL: {
+               ECalObjModType mod_type = E_CAL_OBJ_MOD_ALL;
+               GSList *ids = NULL;
+
+               for (subcomp = icalcomponent_get_first_component (icalcomp, 
kind);
+                    subcomp && success;
+                    subcomp = icalcomponent_get_next_component (icalcomp, 
kind)) {
+                       const gchar *uid = icalcomponent_get_uid (subcomp);
+                       gchar *rid_str = NULL;
+
+                       if (icalcomponent_get_first_property (subcomp, 
ICAL_RECURRENCEID_PROPERTY)) {
+                               struct icaltimetype rid = icaltime_null_time ();
+
+                               rid = icalcomponent_get_recurrenceid (subcomp);
+
+                               rid_str = (icaltime_is_valid_time (rid) && 
!icaltime_is_null_time (rid)) ?
+                                       icaltime_as_ical_string_r (rid) : 
g_strdup ("0");
+
+                               mod_type = E_CAL_OBJ_MOD_THIS;
+                       }
+
+                       ids = g_slist_prepend (ids, e_cal_component_id_new 
(uid, rid_str));
+
+                       g_free (rid_str);
+               }
+
+               if (ids) {
+                       GSList *old_comps = NULL, *new_comps = NULL;
+                       GError *local_error = NULL;
+
+                       e_cal_backend_sync_remove_objects (sync_backend, cal, 
cancellable, ids, mod_type, &old_comps, &new_comps, &local_error);
+
+                       do_refresh = !local_error;
+
+                       e_util_free_nullable_object_slist (old_comps);
+                       e_util_free_nullable_object_slist (new_comps);
+                       g_clear_error (&local_error);
+               }
+
+               g_slist_free_full (ids, (GDestroyNotify) 
e_cal_component_free_id);
+               } break;
        default:
                break;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.30.3/src/server/e-soap-message.c 
new/evolution-ews-3.30.5/src/server/e-soap-message.c
--- old/evolution-ews-3.30.3/src/server/e-soap-message.c        2018-12-10 
10:09:28.000000000 +0100
+++ new/evolution-ews-3.30.5/src/server/e-soap-message.c        2019-02-04 
12:41:34.000000000 +0100
@@ -828,13 +828,12 @@
 e_soap_message_write_double (ESoapMessage *msg,
                              gdouble d)
 {
-       gchar *string;
+       gchar buffer[G_ASCII_DTOSTR_BUF_SIZE + 1];
 
        g_return_if_fail (E_IS_SOAP_MESSAGE (msg));
 
-       string = g_strdup_printf ("%f", d);
-       e_soap_message_write_string (msg, string);
-       g_free (string);
+       g_ascii_dtostr (buffer, sizeof (buffer), d);
+       e_soap_message_write_string (msg, buffer);
 }
 
 /**


Reply via email to