Hello community,

here is the log from the commit of package evolution-ews for openSUSE:Factory 
checked in at 2015-12-18 21:50:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old)
 and      /work/SRC/openSUSE:Factory/.evolution-ews.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "evolution-ews"

Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes      
2015-11-12 19:38:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.evolution-ews.new/evolution-ews.changes 
2015-12-18 21:50:54.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Dec 15 13:43:32 UTC 2015 - [email protected]
+
+- Update to version 3.18.3:
+  + [Camel] Fill message From header if missing in received MIME
+    content.
+  + Add <kudos/> into a metainfo file.
+  + Bugs fixed: bgo#758375.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ evolution-ews.spec ++++++
--- /var/tmp/diff_new_pack.5ZDSLc/_old  2015-12-18 21:50:55.000000000 +0100
+++ /var/tmp/diff_new_pack.5ZDSLc/_new  2015-12-18 21:50:55.000000000 +0100
@@ -19,7 +19,7 @@
 Name:           evolution-ews
 # This should be updated upon major version changes; it should match 
BASE_VERSION as defined in configure.in.
 %define evolution_base_version 3.18
-Version:        3.18.2
+Version:        3.18.3
 Release:        0
 Summary:        Exchange Connector for Evolution, compatible with Exchange 
2007 and later
 License:        LGPL-2.1

++++++ evolution-ews-3.18.2.tar.xz -> evolution-ews-3.18.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/NEWS 
new/evolution-ews-3.18.3/NEWS
--- old/evolution-ews-3.18.2/NEWS       2015-11-09 09:19:07.000000000 +0100
+++ new/evolution-ews-3.18.3/NEWS       2015-12-14 12:15:32.000000000 +0100
@@ -1,3 +1,13 @@
+Evolution-EWS 3.18.3 2015-12-14
+-------------------------------
+
+Bug Fixes:
+       Bug 758375 - Avoid server side copy when Save replies to original 
folder is set (Milan Crha)
+
+Miscellaneous:
+       [Camel] Fill message From header if missing in received MIME content 
(Milan Crha)
+       Add <kudos/> into a metainfo file (Milan Crha)
+
 Evolution-EWS 3.18.2 2015-11-09
 -------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/configure 
new/evolution-ews-3.18.3/configure
--- old/evolution-ews-3.18.2/configure  2015-11-09 09:19:36.000000000 +0100
+++ new/evolution-ews-3.18.3/configure  2015-12-14 12:16:02.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-ews 3.18.2.
+# Generated by GNU Autoconf 2.69 for evolution-ews 3.18.3.
 #
 # Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=evolution-ews>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='evolution-ews'
 PACKAGE_TARNAME='evolution-ews'
-PACKAGE_VERSION='3.18.2'
-PACKAGE_STRING='evolution-ews 3.18.2'
+PACKAGE_VERSION='3.18.3'
+PACKAGE_STRING='evolution-ews 3.18.3'
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/browse.cgi?product=evolution-ews'
 PACKAGE_URL=''
 
@@ -1518,7 +1518,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-ews 3.18.2 to adapt to many kinds of systems.
+\`configure' configures evolution-ews 3.18.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1588,7 +1588,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of evolution-ews 3.18.2:";;
+     short | recursive ) echo "Configuration of evolution-ews 3.18.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1794,7 +1794,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-evolution-ews configure 3.18.2
+evolution-ews configure 3.18.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2163,7 +2163,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-ews $as_me 3.18.2, which was
+It was created by evolution-ews $as_me 3.18.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3026,7 +3026,7 @@
 
 # Define the identity of the package.
  PACKAGE='evolution-ews'
- VERSION='3.18.2'
+ VERSION='3.18.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3265,11 +3265,11 @@
 # precisely one minor behind [ews_version], then allow building against *that*
 # version of EDS and Evo.
 read x NEWSVER y < NEWS
-PREVVER=3.18.$(expr 2 - 1)
+PREVVER=3.18.$(expr 3 - 1)
 if test "$PREVVER" = "$NEWSVER"; then
    EVOREQVER=$PREVVER
 else
-   EVOREQVER=3.18.2
+   EVOREQVER=3.18.3
 fi
 
 
@@ -17911,7 +17911,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by evolution-ews $as_me 3.18.2, which was
+This file was extended by evolution-ews $as_me 3.18.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17977,7 +17977,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-ews config.status 3.18.2
+evolution-ews config.status 3.18.3
 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-ews-3.18.2/configure.ac 
new/evolution-ews-3.18.3/configure.ac
--- old/evolution-ews-3.18.2/configure.ac       2015-10-12 09:08:59.000000000 
+0200
+++ new/evolution-ews-3.18.3/configure.ac       2015-11-09 09:21:43.000000000 
+0100
@@ -1,7 +1,7 @@
 dnl Evolution-EWS version
 m4_define([ews_major_version], [3])
 m4_define([ews_minor_version], [18])
-m4_define([ews_micro_version], [2])
+m4_define([ews_micro_version], [3])
 
 m4_define([ews_version],
        [ews_major_version.ews_minor_version.ews_micro_version])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/evolution-ews.metainfo.xml 
new/evolution-ews-3.18.3/evolution-ews.metainfo.xml
--- old/evolution-ews-3.18.2/evolution-ews.metainfo.xml 2015-11-05 
15:47:25.000000000 +0100
+++ new/evolution-ews-3.18.3/evolution-ews.metainfo.xml 2015-11-30 
13:59:32.000000000 +0100
@@ -72,4 +72,7 @@
        <metadata_license>CC0-1.0</metadata_license>
        <project_license>LGPL</project_license>
        <updatecontact>evolution-hackers_at_gnome.org</updatecontact>
+       <kudos>
+               <kudo>ModernToolkit</kudo>
+       </kudos>
 </component>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/evolution-ews.metainfo.xml.in 
new/evolution-ews-3.18.3/evolution-ews.metainfo.xml.in
--- old/evolution-ews-3.18.2/evolution-ews.metainfo.xml.in      2014-10-08 
11:48:04.000000000 +0200
+++ new/evolution-ews-3.18.3/evolution-ews.metainfo.xml.in      2015-11-30 
13:59:06.000000000 +0100
@@ -9,4 +9,7 @@
        <metadata_license>CC0-1.0</metadata_license>
        <project_license>LGPL</project_license>
        <updatecontact>evolution-hackers_at_gnome.org</updatecontact>
+       <kudos>
+               <kudo>ModernToolkit</kudo>
+       </kudos>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/src/camel/camel-ews-folder.c 
new/evolution-ews-3.18.3/src/camel/camel-ews-folder.c
--- old/evolution-ews-3.18.2/src/camel/camel-ews-folder.c       2015-11-03 
14:55:34.000000000 +0100
+++ new/evolution-ews-3.18.3/src/camel/camel-ews-folder.c       2015-11-23 
18:48:49.000000000 +0100
@@ -560,7 +560,7 @@
        }
 
        add_props = e_ews_additional_props_new ();
-       add_props->field_uri = g_strdup ("item:MimeContent");
+       add_props->field_uri = g_strdup ("item:MimeContent message:From 
message:Sender");
 
        res = e_ews_connection_get_items_sync (
                cnc, pri, ids, "IdOnly", add_props,
@@ -662,6 +662,42 @@
        g_free (cache_file);
 
        message = camel_ews_folder_get_message_from_cache (ews_folder, uid, 
cancellable, error);
+       if (message) {
+               CamelInternetAddress *from;
+               const gchar *email = NULL;
+
+               from = camel_mime_message_get_from (message);
+
+               if (!from || !camel_internet_address_get (from, 0, NULL, 
&email) || !email || !*email) {
+                       const EwsMailbox *mailbox;
+
+                       mailbox = e_ews_item_get_from (items->data);
+                       if (!mailbox)
+                               mailbox = e_ews_item_get_sender (items->data);
+                       if (mailbox) {
+                               CamelStream *cache_stream;
+
+                               email = NULL;
+
+                               if (g_strcmp0 (mailbox->routing_type, "EX") == 
0)
+                                       email = 
e_ews_item_util_strip_ex_address (mailbox->email);
+
+                               from = camel_internet_address_new ();
+                               camel_internet_address_add (from, 
mailbox->name, email ? email : mailbox->email);
+                               camel_mime_message_set_from (message, from);
+                               g_object_unref (from);
+
+                               g_rec_mutex_lock (&priv->cache_lock);
+                               /* Ignore errors here, it's nothing fatal in 
this case */
+                               cache_stream = ews_data_cache_get 
(ews_folder->cache, "cur", uid, NULL);
+                               if (cache_stream) {
+                                       camel_data_wrapper_write_to_stream_sync 
(CAMEL_DATA_WRAPPER (message), cache_stream, cancellable, NULL);
+                                       g_object_unref (cache_stream);
+                               }
+                               g_rec_mutex_unlock (&priv->cache_lock);
+                       }
+               }
+       }
 
 exit:
        g_mutex_lock (&priv->state_lock);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.2/src/camel/camel-ews-transport.c 
new/evolution-ews-3.18.3/src/camel/camel-ews-transport.c
--- old/evolution-ews-3.18.2/src/camel/camel-ews-transport.c    2015-09-21 
11:59:31.000000000 +0200
+++ new/evolution-ews-3.18.3/src/camel/camel-ews-transport.c    2015-11-23 
19:49:31.000000000 +0100
@@ -45,9 +45,9 @@
 G_DEFINE_TYPE (CamelEwsTransport, camel_ews_transport, CAMEL_TYPE_TRANSPORT)
 
 static gboolean
-ews_transport_sent_folder_is_server_side (CamelService *service,
-                                         EwsFolderId **folder_id,
-                                         GCancellable *cancellable)
+ews_transport_can_server_side_sent_folder (CamelService *service,
+                                          EwsFolderId **folder_id,
+                                          GCancellable *cancellable)
 {
        CamelSession *session;
        ESourceRegistry *registry;
@@ -93,7 +93,11 @@
 
                        subm_extension = e_source_get_extension (source, 
E_SOURCE_EXTENSION_MAIL_SUBMISSION);
 
-                       if (e_source_mail_submission_get_sent_folder 
(subm_extension) &&
+                       /* Copy messages on the server side only if the replies
+                          might not be saved to the original folder, which is 
handled
+                          by the evolution itself. */
+                       if 
(!e_source_mail_submission_get_replies_to_origin_folder (subm_extension) &&
+                           e_source_mail_submission_get_sent_folder 
(subm_extension) &&
                            e_mail_folder_uri_parse (session,
                                e_source_mail_submission_get_sent_folder 
(subm_extension),
                                &store, &folder_name, NULL) & 
CAMEL_IS_EWS_STORE (store)) {
@@ -256,7 +260,7 @@
                goto exit;
        }
 
-       if (ews_transport_sent_folder_is_server_side (service, &folder_id, 
cancellable)) {
+       if (ews_transport_can_server_side_sent_folder (service, &folder_id, 
cancellable)) {
                if (out_sent_message_saved)
                        *out_sent_message_saved = TRUE;
        }


Reply via email to