Hello community,

here is the log from the commit of package kdepim-addons for openSUSE:Factory 
checked in at 2018-03-20 21:42:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepim-addons (Old)
 and      /work/SRC/openSUSE:Factory/.kdepim-addons.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdepim-addons"

Tue Mar 20 21:42:33 2018 rev:25 rq:585680 version:17.12.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepim-addons/kdepim-addons.changes      
2018-02-12 10:00:44.784792185 +0100
+++ /work/SRC/openSUSE:Factory/.kdepim-addons.new/kdepim-addons.changes 
2018-03-20 21:42:35.460067456 +0100
@@ -1,0 +2,18 @@
+Sun Mar 11 11:13:04 UTC 2018 - [email protected]
+
+- Add Place-events-without-start-date-at-end-date.patch to avoid
+  an infinite loop that would cause Plasma to freeze when there was
+  an agenda item with no start date in the calendar
+  (boo#1084802, kde#367541)
+
+-------------------------------------------------------------------
+Thu Mar 08 23:51:31 CET 2018 - [email protected]
+
+- Update to 17.12.3
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.12.3.php
+- Changes since 17.12.2:
+  * Fix Bug 389820 - spamassassin (kde#389820)
+
+-------------------------------------------------------------------

Old:
----
  kdepim-addons-17.12.2.tar.xz

New:
----
  Place-events-without-start-date-at-end-date.patch
  kdepim-addons-17.12.3.tar.xz

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

Other differences:
------------------
++++++ kdepim-addons.spec ++++++
--- /var/tmp/diff_new_pack.6wKfIH/_old  2018-03-20 21:42:36.052046149 +0100
+++ /var/tmp/diff_new_pack.6wKfIH/_new  2018-03-20 21:42:36.056046005 +0100
@@ -19,16 +19,18 @@
 %bcond_without lang
 
 Name:           kdepim-addons
-Version:        17.12.2
+Version:        17.12.3
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
 %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        Addons for KDEPIM applications
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Graphics/Other
 Url:            http://www.kde.org
 Source0:        %{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         Place-events-without-start-date-at-end-date.patch
 BuildRequires:  akonadi-calendar-devel
 BuildRequires:  akonadi-import-wizard-devel
 BuildRequires:  akonadi-notes-devel
@@ -93,6 +95,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake_kf5 -d build -- -DKDEPIMADDONS_BUILD_EXAMPLES=FALSE

++++++ Place-events-without-start-date-at-end-date.patch ++++++
>From af23ae70e47d9d7e93c013d107397999df0ecb56 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <[email protected]>
Date: Thu, 11 Jan 2018 13:00:58 +0100
Subject: [EventDataVisitor] Place events without start date at end date

This avoids an infinite loop.
Thanks Dmitry Nezhevenko for investigating.

CHANGELOG: Fixed an issue that would cause Plasma to freeze when there was an 
agenda item with no start date in the calendar

BUG: 367541

Differential Revision: https://phabricator.kde.org/D9811
---
 plugins/plasma/pimeventsplugin/eventdatavisitor.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp 
b/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
index 3d24d21..97568ce 100644
--- a/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
+++ b/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
@@ -170,6 +170,13 @@ void EventDataVisitor::insertResult(const 
CalendarEvents::EventData &result)
 {
     QDate d = result.startDateTime().date();
     const QDate end = result.endDateTime().date();
+
+    // Agenda without start date will be placed at the end (due) date
+    if (!d.isValid()) {
+        mResults.insert(end, result);
+        return;
+    }
+
     while (d <= end) {
         mResults.insert(d, result);
         d = d.addDays(1);
-- 
cgit v0.11.2

++++++ kdepim-addons-17.12.2.tar.xz -> kdepim-addons-17.12.3.tar.xz ++++++
++++ 1815 lines of diff (skipped)


Reply via email to