Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package evolution-ews for openSUSE:Factory 
checked in at 2022-04-30 00:44:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old)
 and      /work/SRC/openSUSE:Factory/.evolution-ews.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "evolution-ews"

Sat Apr 30 00:44:49 2022 rev:123 rq:973148 version:3.44.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes      
2022-03-23 20:16:38.966404072 +0100
+++ /work/SRC/openSUSE:Factory/.evolution-ews.new.1538/evolution-ews.changes    
2022-04-30 00:45:24.834944953 +0200
@@ -1,0 +2,8 @@
+Mon Apr 25 09:09:31 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 3.44.1:
+  + Bug Fix: Correct display of folder size.
+  + Miscellaneous: Address some of the static analyzers warnings.
+  + Updated translations.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ evolution-ews.spec ++++++
--- /var/tmp/diff_new_pack.BcGiI3/_old  2022-04-30 00:45:25.418945459 +0200
+++ /var/tmp/diff_new_pack.BcGiI3/_new  2022-04-30 00:45:25.422945462 +0200
@@ -20,7 +20,7 @@
 %define _version %(echo %{version} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
 
 Name:           evolution-ews
-Version:        3.44.0
+Version:        3.44.1
 Release:        0
 Summary:        Exchange Connector for Evolution, compatible with Exchange 
2007 and later
 License:        LGPL-2.1-only

++++++ evolution-ews-3.44.0.tar.xz -> evolution-ews-3.44.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.44.0/CMakeLists.txt 
new/evolution-ews-3.44.1/CMakeLists.txt
--- old/evolution-ews-3.44.0/CMakeLists.txt     2022-03-18 08:26:27.000000000 
+0100
+++ new/evolution-ews-3.44.1/CMakeLists.txt     2022-04-22 08:04:11.000000000 
+0200
@@ -4,7 +4,7 @@
 cmake_policy(VERSION 3.1)
 
 project(evolution-ews
-       VERSION 3.44.0
+       VERSION 3.44.1
        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.44.0/NEWS 
new/evolution-ews-3.44.1/NEWS
--- old/evolution-ews-3.44.0/NEWS       2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/NEWS       2022-04-22 08:04:11.000000000 +0200
@@ -1,3 +1,15 @@
+Evolution-EWS 3.44.1 2022-04-22
+-------------------------------
+
+Bug Fixes:
+       I#178 - Correct display of folder size
+
+Miscellaneous:
+       Address some of the static analyzers warnings
+
+Translations:
+       Nathan Follens (nl)
+
 Evolution-EWS 3.44.0 2022-03-18
 -------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.44.0/po/nl.po 
new/evolution-ews-3.44.1/po/nl.po
--- old/evolution-ews-3.44.0/po/nl.po   2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/po/nl.po   2022-04-22 08:04:11.000000000 +0200
@@ -1,14 +1,14 @@
 # Dutch translation for evolution-ews.
 # Copyright (C) 2019 evolution-ews's COPYRIGHT HOLDER
 # This file is distributed under the same license as the evolution-ews package.
-# Nathan Follens <nfoll...@gnome.org>, 2019-2021.
+# Nathan Follens <nfoll...@gnome.org>, 2019-2022.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: evolution-ews master\n"
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/evolution-ews/issues\n";
-"POT-Creation-Date: 2021-06-09 16:57+0000\n"
-"PO-Revision-Date: 2021-09-07 21:20+0200\n"
+"POT-Creation-Date: 2022-03-18 12:54+0000\n"
+"PO-Revision-Date: 2022-03-25 19:51+0100\n"
 "Last-Translator: Nathan Follens <nfoll...@gnome.org>\n"
 "Language-Team: Dutch <gnome-nl-l...@gnome.org>\n"
 "Language: nl\n"
@@ -16,11 +16,11 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 3.0\n"
+"X-Generator: Poedit 3.0.1\n"
 
 #: ../org.gnome.Evolution-ews.metainfo.xml.in.h:1
 #: ../src/EWS/camel/camel-ews-provider.c:68
-#: ../src/EWS/evolution/e-ews-config-lookup.c:240
+#: ../src/EWS/evolution/e-ews-config-lookup.c:222
 #: ../src/EWS/evolution/e-mail-config-ews-autodiscover.c:119
 msgid "Exchange Web Services"
 msgstr "Exchange-webdiensten"
@@ -30,18 +30,22 @@
 msgid "For accessing Exchange servers using Web Services"
 msgstr "Voor toegang tot Exchange-servers met webdiensten"
 
-#: ../src/EWS/addressbook/e-book-backend-ews.c:3564
+#: ../src/EWS/addressbook/e-book-backend-ews.c:2894
+msgid "Fetching contact photos???"
+msgstr "Contactfoto???s ophalen???"
+
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4087
 msgid "Failed to update GAL:"
 msgstr "Bijwerken van GAL mislukt:"
 
-#: ../src/EWS/addressbook/e-book-backend-ews.c:3729
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4252
 msgid ""
 "Cannot save contact list, it???s only supported on EWS Server 2010 or later"
 msgstr ""
 "Kan contactlijst niet opslaan, dit wordt enkel ondersteund door EWS Server "
 "2010 of recenter"
 
-#: ../src/EWS/addressbook/e-book-backend-ews.c:3822
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4350
 msgid "Failed to set contact photo:"
 msgstr "Instellen van contactfoto mislukt:"
 
@@ -496,25 +500,25 @@
 "dagelijks, wekelijks, maandelijks of jaarlijks voorkomen zonder "
 "uitzonderingen en met begindatum."
 
-#: ../src/EWS/common/e-ews-camel-common.c:392
+#: ../src/EWS/common/e-ews-camel-common.c:388
 #, c-format
 msgid "CreateItem call failed to return ID for new message"
 msgstr "CreateItem-oproep gaf geen ID voor nieuw bericht weer"
 
-#: ../src/EWS/common/e-ews-connection.c:811
+#: ../src/EWS/common/e-ews-connection.c:828
 msgid "Operation Cancelled"
 msgstr "Bewerking geannuleerd"
 
-#: ../src/EWS/common/e-ews-connection.c:981
+#: ../src/EWS/common/e-ews-connection.c:1001
 msgid "Authentication failed"
 msgstr "Authenticatie mislukt"
 
-#: ../src/EWS/common/e-ews-connection.c:1003
+#: ../src/EWS/common/e-ews-connection.c:1028
 #, c-format
 msgid "No response: %s"
 msgstr "Geen antwoord: %s"
 
-#: ../src/EWS/common/e-ews-connection.c:1066
+#: ../src/EWS/common/e-ews-connection.c:1096
 #, c-format
 msgid "Exchange server is busy, waiting to retry (%d:%02d minute)"
 msgid_plural "Exchange server is busy, waiting to retry (%d:%02d minutes)"
@@ -523,7 +527,7 @@
 msgstr[1] ""
 "Exchange-server is bezig, wachten om opnieuw te proberen (%d:%02d minuten)"
 
-#: ../src/EWS/common/e-ews-connection.c:1072
+#: ../src/EWS/common/e-ews-connection.c:1102
 #, c-format
 msgid "Exchange server is busy, waiting to retry (%d second)"
 msgid_plural "Exchange server is busy, waiting to retry (%d seconds)"
@@ -532,57 +536,57 @@
 msgstr[1] ""
 "Exchange-server is bezig, wachten om opnieuw te proberen (%d seconden)"
 
-#: ../src/EWS/common/e-ews-connection.c:3215
+#: ../src/EWS/common/e-ews-connection.c:3236
 #, c-format
 msgid "Failed to parse autodiscover response XML"
 msgstr "Ontleden van autodiscover-respons-XML is mislukt"
 
-#: ../src/EWS/common/e-ews-connection.c:3222
+#: ../src/EWS/common/e-ews-connection.c:3243
 #, c-format
 msgid "Failed to find <Autodiscover> element"
 msgstr "Kon <Autodiscover>-element niet vinden"
 
-#: ../src/EWS/common/e-ews-connection.c:3233
+#: ../src/EWS/common/e-ews-connection.c:3254
 #, c-format
 msgid "Failed to find <Response> element"
 msgstr "Kon <Response>-element niet vinden"
 
-#: ../src/EWS/common/e-ews-connection.c:3244
+#: ../src/EWS/common/e-ews-connection.c:3265
 #, c-format
 msgid "Failed to find <Account> element"
 msgstr "Kon <Account>-element niet vinden"
 
-#: ../src/EWS/common/e-ews-connection.c:3290
+#: ../src/EWS/common/e-ews-connection.c:3311
 #, c-format
 msgid "Failed to find <ASUrl> in autodiscover response"
 msgstr "Kon <ASUrl> niet vinden in autodiscover-respons"
 
-#: ../src/EWS/common/e-ews-connection.c:3476
+#: ../src/EWS/common/e-ews-connection.c:3497
 msgid "URL cannot be NULL"
 msgstr "URL kan niet NULL zijn"
 
-#: ../src/EWS/common/e-ews-connection.c:3484
+#: ../src/EWS/common/e-ews-connection.c:3505
 #, c-format
 msgid "URL ???%s??? is not valid"
 msgstr "URL ???%s??? is ongeldig"
 
-#: ../src/EWS/common/e-ews-connection.c:3781
+#: ../src/EWS/common/e-ews-connection.c:3802
 msgid "Email address is missing a domain part"
 msgstr "Domein ontbreekt in e-mailadres"
 
-#: ../src/EWS/common/e-ews-connection.c:4090
+#: ../src/EWS/common/e-ews-connection.c:4111
 msgid "Failed to parse oab XML"
 msgstr "Ontleden van oab-XLM mislukt"
 
-#: ../src/EWS/common/e-ews-connection.c:4098
+#: ../src/EWS/common/e-ews-connection.c:4119
 msgid "Failed to find <OAB> element\n"
 msgstr "Kan <OAB>-element niet vinden\n"
 
-#: ../src/EWS/common/e-ews-connection.c:5387
+#: ../src/EWS/common/e-ews-connection.c:5408
 msgid "No items found"
 msgstr "Geen items gevonden"
 
-#: ../src/EWS/common/e-ews-connection.c:11838
+#: ../src/EWS/common/e-ews-connection.c:11873
 msgid "Requires at least Microsoft Exchange 2007 SP1 server"
 msgstr "Vereist minstens Microsoft Exchange 2007 SP1-server"
 
@@ -596,7 +600,7 @@
 msgstr "Wachtwoord verlopen."
 
 #: ../src/EWS/common/e-ews-connection-utils.c:422
-#: ../src/Microsoft365/common/e-m365-connection.c:236
+#: ../src/Microsoft365/common/e-m365-connection.c:237
 msgid "Unknown error"
 msgstr "Onbekende fout"
 
@@ -640,26 +644,26 @@
 msgid "Tries to look up for user photo"
 msgstr "Probeert gebruikersfoto???s op te zoeken"
 
-#: ../src/EWS/evolution/e-ews-config-lookup.c:181
+#: ../src/EWS/evolution/e-ews-config-lookup.c:182
 msgid "Exchange Web Services autodiscovery"
 msgstr "Exchange-webdiensten automatisch ontdekken"
 
-#: ../src/EWS/evolution/e-ews-config-lookup.c:224
+#: ../src/EWS/evolution/e-ews-config-lookup.c:207
 #, c-format
 msgid "User: %s"
 msgstr "Gebruiker: %s"
 
-#: ../src/EWS/evolution/e-ews-config-lookup.c:229
+#: ../src/EWS/evolution/e-ews-config-lookup.c:212
 #, c-format
 msgid "Host URL: %s"
 msgstr "Host-URL: %s"
 
-#: ../src/EWS/evolution/e-ews-config-lookup.c:234
+#: ../src/EWS/evolution/e-ews-config-lookup.c:216
 #, c-format
 msgid "OAB URL: %s"
 msgstr "OAB-URL: %s"
 
-#: ../src/EWS/evolution/e-ews-config-lookup.c:311
+#: ../src/EWS/evolution/e-ews-config-lookup.c:313
 #, c-format
 msgid "Requires password to continue."
 msgstr "Vereist wachtwoord om verder te gaan."
@@ -678,61 +682,61 @@
 msgid "Unable to retrieve folder size information"
 msgstr "Kan informatie over mapgrootte niet verkrijgen"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:742
+#: ../src/EWS/evolution/e-ews-config-utils.c:744
 msgid "Folder Sizes"
 msgstr "Mapgroottes"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:745
+#: ../src/EWS/evolution/e-ews-config-utils.c:747
 msgid "_Close"
 msgstr "Sl_uiten"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:759
+#: ../src/EWS/evolution/e-ews-config-utils.c:761
 msgid "Fetching folder list???"
 msgstr "Maplijst ophalen???"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:822
+#: ../src/EWS/evolution/e-ews-config-utils.c:824
 #: ../src/EWS/evolution/e-ews-subscribe-foreign-folder.c:646
 msgid "Subscribe to folder of other EWS user???"
 msgstr "Abonneren op map van andere EWS-gebruiker???"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1009
+#: ../src/EWS/evolution/e-ews-config-utils.c:1011
 #, c-format
 msgid "Cannot edit permissions of folder ???%s???, choose other folder."
 msgstr "Kan rechten van map ???%s??? niet bewerken, kies een andere map."
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1088
+#: ../src/EWS/evolution/e-ews-config-utils.c:1090
 msgid "Folder Sizes???"
 msgstr "Mapgroottes???"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1095
+#: ../src/EWS/evolution/e-ews-config-utils.c:1097
 msgid "Subscribe to folder of other user???"
 msgstr "Abonneren op map van andere gebruiker???"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1104
-#: ../src/EWS/evolution/e-ews-config-utils.c:1440
-#: ../src/EWS/evolution/e-ews-config-utils.c:1478
-#: ../src/EWS/evolution/e-ews-config-utils.c:1516
-#: ../src/EWS/evolution/e-ews-config-utils.c:1554
+#: ../src/EWS/evolution/e-ews-config-utils.c:1106
+#: ../src/EWS/evolution/e-ews-config-utils.c:1442
+#: ../src/EWS/evolution/e-ews-config-utils.c:1480
+#: ../src/EWS/evolution/e-ews-config-utils.c:1518
+#: ../src/EWS/evolution/e-ews-config-utils.c:1556
 msgid "Permissions???"
 msgstr "Rechten???"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1106
+#: ../src/EWS/evolution/e-ews-config-utils.c:1108
 msgid "Edit EWS folder permissions"
 msgstr "EWS-maprechten bewerken"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1442
+#: ../src/EWS/evolution/e-ews-config-utils.c:1444
 msgid "Edit EWS calendar permissions"
 msgstr "EWS-agendarechten bewerken"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1480
+#: ../src/EWS/evolution/e-ews-config-utils.c:1482
 msgid "Edit EWS tasks permissions"
 msgstr "EWS-takenrechten bewerken"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1518
+#: ../src/EWS/evolution/e-ews-config-utils.c:1520
 msgid "Edit EWS memos permissions"
 msgstr "EWS-memorechten bewerken"
 
-#: ../src/EWS/evolution/e-ews-config-utils.c:1556
+#: ../src/EWS/evolution/e-ews-config-utils.c:1558
 msgid "Edit EWS contacts permissions"
 msgstr "EWS-contactrechten bewerken"
 
@@ -1573,12 +1577,12 @@
 msgid "Data source ???%s??? does not represent an Exchange Web Services folder"
 msgstr "Gegevensbron ???%s??? stelt geen Exchange-webdienstenmap voor"
 
-#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1426
+#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1427
 #: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2941
 msgid "Folder ID is not set"
 msgstr "Map-ID is niet ingesteld"
 
-#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1667
+#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1668
 msgid "Cannot save contact list into a Microsoft 365 address book"
 msgstr "Kan contactenlijst niet opslaan in een Microsoft 365-adresboek"
 
@@ -1681,7 +1685,7 @@
 msgstr "E-mails ontvangen via Microsoft 365"
 
 #: ../src/Microsoft365/camel/camel-m365-store.c:201
-#: ../src/Microsoft365/common/e-m365-connection.c:1521
+#: ../src/Microsoft365/common/e-m365-connection.c:1527
 #, c-format
 msgid "Malformed URI: ???%s???"
 msgstr "Misvormde URI: ???%s???"
@@ -1737,7 +1741,7 @@
 msgid "Microsoft365"
 msgstr "Microsoft365"
 
-#: ../src/Microsoft365/common/e-m365-connection.c:1179
+#: ../src/Microsoft365/common/e-m365-connection.c:1181
 #, c-format
 msgid "Microsoft 365 server is busy, waiting to retry (%d:%02d minute)"
 msgid_plural "Microsoft 365 server is busy, waiting to retry (%d:%02d minutes)"
@@ -1748,7 +1752,7 @@
 "Microsoft 365-server is bezig, wachten om opnieuw te proberen (%d:%02d "
 "minuten)"
 
-#: ../src/Microsoft365/common/e-m365-connection.c:1185
+#: ../src/Microsoft365/common/e-m365-connection.c:1187
 #, c-format
 msgid "Microsoft 365 server is busy, waiting to retry (%d second)"
 msgid_plural "Microsoft 365 server is busy, waiting to retry (%d seconds)"
@@ -1757,7 +1761,7 @@
 msgstr[1] ""
 "Microsoft 365-server is bezig, wachten om opnieuw te proberen (%d seconden)"
 
-#: ../src/Microsoft365/common/e-m365-connection.c:2037
+#: ../src/Microsoft365/common/e-m365-connection.c:2043
 msgid "Failed to parse own Json data"
 msgstr "Ontleden van eigen JSON-gegevens is mislukt"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/addressbook/e-book-backend-ews.c 
new/evolution-ews-3.44.1/src/EWS/addressbook/e-book-backend-ews.c
--- old/evolution-ews-3.44.0/src/EWS/addressbook/e-book-backend-ews.c   
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/addressbook/e-book-backend-ews.c   
2022-04-22 08:04:11.000000000 +0200
@@ -1635,6 +1635,8 @@
                e_soap_message_end_element (message);
        }
        e_ews_message_end_set_indexed_item_field (message, delete_field);
+
+       g_free (fielduri);
 }
 
 static void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/addressbook/ews-oab-decoder.c 
new/evolution-ews-3.44.1/src/EWS/addressbook/ews-oab-decoder.c
--- old/evolution-ews-3.44.0/src/EWS/addressbook/ews-oab-decoder.c      
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/addressbook/ews-oab-decoder.c      
2022-04-22 08:04:11.000000000 +0200
@@ -1071,7 +1071,7 @@
 ews_oab_decoder_get_oab_prop_string (EwsOabDecoder *eod,
                                      GError **error)
 {
-       GString *str = g_string_new (NULL);
+       GString *str;
        GSList *l;
 
        if (!eod->priv->oab_props) {
@@ -1081,6 +1081,8 @@
                return NULL;
        }
 
+       str = g_string_new (NULL);
+
        /* Ideally i would liked to store int as int instead of converting to
         * string, but sqlite db doesn't yet support storing keys as blob. */
        for (l = eod->priv->oab_props; l != NULL; l = g_slist_next (l)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/calendar/e-cal-backend-ews-utils.c 
new/evolution-ews-3.44.1/src/EWS/calendar/e-cal-backend-ews-utils.c
--- old/evolution-ews-3.44.0/src/EWS/calendar/e-cal-backend-ews-utils.c 
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/calendar/e-cal-backend-ews-utils.c 
2022-04-22 08:04:11.000000000 +0200
@@ -1004,6 +1004,7 @@
        attachment_id = g_strdup (dirs[n - 1]);
 
        g_strfreev (dirs);
+       g_free (filepath);
 
        return attachment_id;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/camel/camel-ews-folder.c 
new/evolution-ews-3.44.1/src/EWS/camel/camel-ews-folder.c
--- old/evolution-ews-3.44.0/src/EWS/camel/camel-ews-folder.c   2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/camel/camel-ews-folder.c   2022-04-22 
08:04:11.000000000 +0200
@@ -183,10 +183,10 @@
                cdc, path, g_checksum_get_string (sha), error);
        g_checksum_free (sha);
 
-       if (base_stream != NULL)
+       if (base_stream != NULL) {
                stream = camel_stream_new (base_stream);
-
-       g_object_unref (base_stream);
+               g_object_unref (base_stream);
+       }
 
        return stream;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/common/e-ews-calendar-utils.c 
new/evolution-ews-3.44.1/src/EWS/common/e-ews-calendar-utils.c
--- old/evolution-ews-3.44.0/src/EWS/common/e-ews-calendar-utils.c      
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-ews-calendar-utils.c      
2022-04-22 08:04:11.000000000 +0200
@@ -1778,7 +1778,7 @@
        }
 
        if (usable) {
-               if (recur_start && !i_cal_time_is_null_time (recur_start) && 
i_cal_time_is_valid_time (recur_start)) {
+               if (!i_cal_time_is_null_time (recur_start) && 
i_cal_time_is_valid_time (recur_start)) {
                        ICalProperty *prop;
 
                        i_cal_component_set_dtstart (comp, recur_start);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/common/e-ews-connection.c 
new/evolution-ews-3.44.1/src/EWS/common/e-ews-connection.c
--- old/evolution-ews-3.44.0/src/EWS/common/e-ews-connection.c  2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-ews-connection.c  2022-04-22 
08:04:11.000000000 +0200
@@ -2098,11 +2098,13 @@
 
        e_ews_connection_set_password (cnc, NULL);
 
+       QUEUE_LOCK (cnc);
        g_slist_free (cnc->priv->jobs);
        cnc->priv->jobs = NULL;
 
        g_slist_free (cnc->priv->active_job_queue);
        cnc->priv->active_job_queue = NULL;
+       QUEUE_UNLOCK (cnc);
 
        g_slist_free_full (cnc->priv->subscribed_folders, g_free);
        cnc->priv->subscribed_folders = NULL;
@@ -3594,6 +3596,8 @@
                /* The callback also frees the 'simple' */
                autodiscover_response_cb (NULL, ad->msgs[5], simple);
        }
+
+       g_free (new_uri);
 }
 
 gboolean
@@ -3724,7 +3728,7 @@
        ad->msgs[3] = e_ews_get_msg_for_url (ad->cnc, url4, ad->buf, 
local_error ? NULL : &local_error);
        ad->msgs[4] = e_ews_get_msg_for_url (ad->cnc, url5, ad->buf, 
local_error ? NULL : &local_error);
 
-       if (!is_outlook && *domain && (ad->msgs[0] || ad->msgs[1] || 
ad->msgs[2] || ad->msgs[3] || ad->msgs[4])) {
+       if (!is_outlook && domain && (ad->msgs[0] || ad->msgs[1] || ad->msgs[2] 
|| ad->msgs[3] || ad->msgs[4])) {
                gchar *tmp;
 
                tmp = g_strdup_printf ("http%s://%s/", use_secure ? "s" : "", 
domain);
@@ -8538,16 +8542,22 @@
                                ESoapParameter *dparam;
 
                                dparam = 
e_soap_parameter_get_first_child_by_name (subparam, "ID");
-                               if (dparam)
+                               if (dparam) {
+                                       g_clear_pointer (&id, g_free);
                                        id = e_soap_parameter_get_string_value 
(dparam);
+                               }
 
                                dparam = 
e_soap_parameter_get_first_child_by_name (subparam, "Subject");
-                               if (dparam)
+                               if (dparam) {
+                                       g_clear_pointer (&summary, g_free);
                                        summary = 
e_soap_parameter_get_string_value (dparam);
+                               }
 
                                dparam = 
e_soap_parameter_get_first_child_by_name (subparam, "Location");
-                               if (dparam)
+                               if (dparam) {
+                                       g_clear_pointer (&location, g_free);
                                        location = 
e_soap_parameter_get_string_value (dparam);
+                               }
                        }
                }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.44.0/src/EWS/common/e-ews-folder.c 
new/evolution-ews-3.44.1/src/EWS/common/e-ews-folder.c
--- old/evolution-ews-3.44.0/src/EWS/common/e-ews-folder.c      2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-ews-folder.c      2022-04-22 
08:04:11.000000000 +0200
@@ -202,7 +202,7 @@
                        if (prop_tag && g_ascii_strcasecmp (prop_tag, "0xe08") 
== 0) {
                                subparam1 = 
e_soap_parameter_get_first_child_by_name (subparam, "Value");
                                if (subparam1)
-                                       priv->size = 
e_soap_parameter_get_int_value (subparam1);
+                                       priv->size = 
e_soap_parameter_get_uint64_value (subparam1);
                        } else if (prop_tag && g_ascii_strcasecmp (prop_tag, 
"0x10f4") == 0) { /* PidTagAttributeHidden */
                                subparam1 = 
e_soap_parameter_get_first_child_by_name (subparam, "Value");
                                if (subparam1) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.44.0/src/EWS/common/e-ews-item.c 
new/evolution-ews-3.44.1/src/EWS/common/e-ews-item.c
--- old/evolution-ews-3.44.0/src/EWS/common/e-ews-item.c        2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-ews-item.c        2022-04-22 
08:04:11.000000000 +0200
@@ -2313,8 +2313,10 @@
                param_name = e_soap_parameter_get_name (subparam);
 
                if (g_ascii_strcasecmp (param_name, "Name") == 0) {
+                       g_free (name);
                        name = e_soap_parameter_get_string_value (subparam);
                } else if (g_ascii_strcasecmp (param_name, "Content") == 0) {
+                       g_free (content);
                        value = e_soap_parameter_get_string_value (subparam);
                        content = g_base64_decode (value, &data_len);
                        g_free (value);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/common/e-soap-response.c 
new/evolution-ews-3.44.1/src/EWS/common/e-soap-response.c
--- old/evolution-ews-3.44.0/src/EWS/common/e-soap-response.c   2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-soap-response.c   2022-04-22 
08:04:11.000000000 +0200
@@ -323,6 +323,32 @@
 }
 
 /**
+ * e_soap_parameter_get_uint64_value:
+ * @param: the parameter
+ *
+ * Returns: the parameter value as a 64-bit unsigned integer
+ */
+guint64
+e_soap_parameter_get_uint64_value (ESoapParameter *param)
+{
+       xmlChar *str;
+
+       g_return_val_if_fail (param != NULL, G_MAXUINT64);
+
+       str = xmlNodeGetContent (param);
+       if (str) {
+               guint64 val;
+
+               val = g_ascii_strtoull ((gchar *) str, NULL, 10);
+               xmlFree (str);
+
+               return val;
+       }
+
+       return G_MAXUINT64;
+}
+
+/**
  * e_soap_parameter_get_string_value:
  * @param: the parameter
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/common/e-soap-response.h 
new/evolution-ews-3.44.1/src/EWS/common/e-soap-response.h
--- old/evolution-ews-3.44.0/src/EWS/common/e-soap-response.h   2022-03-18 
08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/common/e-soap-response.h   2022-04-22 
08:04:11.000000000 +0200
@@ -62,6 +62,8 @@
 
 const gchar *  e_soap_parameter_get_name       (ESoapParameter *param);
 gint           e_soap_parameter_get_int_value  (ESoapParameter *param);
+guint64                e_soap_parameter_get_uint64_value
+                                               (ESoapParameter *param);
 gchar *                e_soap_parameter_get_string_value
                                                (ESoapParameter *param);
 ESoapParameter *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/evolution/e-ews-config-utils.c 
new/evolution-ews-3.44.1/src/EWS/evolution/e-ews-config-utils.c
--- old/evolution-ews-3.44.0/src/EWS/evolution/e-ews-config-utils.c     
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/evolution/e-ews-config-utils.c     
2022-04-22 08:04:11.000000000 +0200
@@ -658,9 +658,11 @@
 
                /* Use MAPI property to retrieve folder size */
                add_props = e_ews_additional_props_new ();
+
+               /* PidTagMessageSizeExtended */
                ext_uri = e_ews_extended_field_uri_new ();
-               ext_uri->prop_tag = g_strdup_printf ("%d", 0x0e08); /* Folder 
size property tag */
-               ext_uri->prop_type = g_strdup ("Integer");
+               ext_uri->prop_tag = g_strdup_printf ("%d", 0x0e08);
+               ext_uri->prop_type = g_strdup ("Long");
                add_props->extended_furis = g_slist_prepend 
(add_props->extended_furis, ext_uri);
 
                ids = camel_ews_store_summary_get_folders 
(fsd->ews_store->summary, NULL, FALSE);
@@ -691,7 +693,7 @@
 
                        folder_full_name = 
camel_ews_store_summary_get_folder_full_name (
                                fsd->ews_store->summary, folder_id->id, NULL);
-                       folder_size = g_format_size (e_ews_folder_get_size 
(folder));
+                       folder_size = g_format_size_full (e_ews_folder_get_size 
(folder), G_FORMAT_SIZE_IEC_UNITS);
 
                        g_hash_table_insert (fsd->folder_sizes, 
folder_full_name, folder_size);
                }
@@ -1034,22 +1036,24 @@
                service = CAMEL_SERVICE (store);
                uid = camel_service_get_uid (service);
                source = e_source_registry_ref_source (registry, uid);
-               g_return_if_fail (source != NULL);
-
-               settings = camel_service_ref_settings (service);
+               if (source) {
+                       settings = camel_service_ref_settings (service);
 
-               e_ews_edit_folder_permissions (
-                       parent,
-                       registry,
-                       source,
-                       CAMEL_EWS_SETTINGS (settings),
-                       camel_service_get_display_name (service),
-                       folder_path ? folder_path : 
camel_service_get_display_name (service),
-                       folder_id,
-                       E_EWS_FOLDER_TYPE_MAILBOX);
+                       e_ews_edit_folder_permissions (
+                               parent,
+                               registry,
+                               source,
+                               CAMEL_EWS_SETTINGS (settings),
+                               camel_service_get_display_name (service),
+                               folder_path ? folder_path : 
camel_service_get_display_name (service),
+                               folder_id,
+                               E_EWS_FOLDER_TYPE_MAILBOX);
 
-               g_object_unref (settings);
-               g_object_unref (source);
+                       g_object_unref (settings);
+                       g_object_unref (source);
+               } else {
+                       g_warn_if_reached ();
+               }
        }
 
        g_object_unref (store);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/EWS/evolution/e-ews-subscribe-foreign-folder.c 
new/evolution-ews-3.44.1/src/EWS/evolution/e-ews-subscribe-foreign-folder.c
--- old/evolution-ews-3.44.0/src/EWS/evolution/e-ews-subscribe-foreign-folder.c 
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/EWS/evolution/e-ews-subscribe-foreign-folder.c 
2022-04-22 08:04:11.000000000 +0200
@@ -277,6 +277,18 @@
                        g_object_unref (conn);
                        return;
                }
+
+               if (!cffd->user_displayname)
+                       cffd->user_displayname = display_name;
+               else
+                       g_free (display_name);
+
+               if (email_address && *email_address) {
+                       g_free (cffd->email);
+                       cffd->email = email_address;
+               } else {
+                       g_free (email_address);
+               }
        }
 
        if (g_cancellable_set_error_if_cancelled (cancellable, perror)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/evolution-ews-3.44.0/src/Microsoft365/addressbook/e-book-backend-m365.c 
new/evolution-ews-3.44.1/src/Microsoft365/addressbook/e-book-backend-m365.c
--- old/evolution-ews-3.44.0/src/Microsoft365/addressbook/e-book-backend-m365.c 
2022-03-18 08:26:27.000000000 +0100
+++ new/evolution-ews-3.44.1/src/Microsoft365/addressbook/e-book-backend-m365.c 
2022-04-22 08:04:11.000000000 +0200
@@ -1077,7 +1077,7 @@
        if (!data1 && !data2)
                return TRUE;
 
-       return len1 == len2 &&
+       return len1 == len2 && data1 && data2 &&
                memcmp (data1, data2, len1) == 0;
 }
 

Reply via email to