Hello community, here is the log from the commit of package kmime for openSUSE:Factory checked in at 2018-02-12 10:02:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmime (Old) and /work/SRC/openSUSE:Factory/.kmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmime" Mon Feb 12 10:02:49 2018 rev:30 rq:575061 version:17.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kmime/kmime.changes 2018-01-17 21:51:03.559574572 +0100 +++ /work/SRC/openSUSE:Factory/.kmime.new/kmime.changes 2018-02-12 10:02:50.924245632 +0100 @@ -1,0 +2,10 @@ +Wed Feb 07 08:48:28 CET 2018 - [email protected] + +- Update to 17.12.2 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12.2.php +- Changes since 17.12.1: + * Fix bug in parsing dates that fall in the DST "non existant hour" + +------------------------------------------------------------------- Old: ---- kmime-17.12.1.tar.xz New: ---- kmime-17.12.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmime.spec ++++++ --- /var/tmp/diff_new_pack.ToW88d/_old 2018-02-12 10:02:51.768215212 +0100 +++ /var/tmp/diff_new_pack.ToW88d/_new 2018-02-12 10:02:51.772215068 +0100 @@ -20,7 +20,7 @@ %define kf5_version 5.19.0 Name: kmime -Version: 17.12.1 +Version: 17.12.2 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) ++++++ kmime-17.12.1.tar.xz -> kmime-17.12.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-17.12.1/CMakeLists.txt new/kmime-17.12.2/CMakeLists.txt --- old/kmime-17.12.1/CMakeLists.txt 2018-01-09 02:18:00.000000000 +0100 +++ new/kmime-17.12.2/CMakeLists.txt 2018-02-06 01:40:09.000000000 +0100 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.7.1") +set(PIM_VERSION "5.7.2") project(KMime VERSION ${PIM_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-17.12.1/autotests/headertest.cpp new/kmime-17.12.2/autotests/headertest.cpp --- old/kmime-17.12.1/autotests/headertest.cpp 2017-12-15 07:58:16.000000000 +0100 +++ new/kmime-17.12.2/autotests/headertest.cpp 2018-02-01 00:16:13.000000000 +0100 @@ -836,6 +836,16 @@ QCOMPARE(h->dateTime().time(), QTime(0, 1, 20)); QCOMPARE(h->dateTime().utcOffset(), 0); delete h; + + // date in a DST change to the future so in a time that doesn't exist + // unless you take the timezone into account + h = new Date; + h->from7BitString("Sun, 31 Mar 2013 02:29:44 -0500"); + QVERIFY(!h->isEmpty()); + QCOMPARE(h->dateTime().date(), QDate(2013, 3, 31)); + QCOMPARE(h->dateTime().time(), QTime(2, 29, 44)); + QCOMPARE(h->dateTime().utcOffset(), -18000); + delete h; } void HeaderTest::testLinesHeader() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-17.12.1/po/ar/libkmime5.po new/kmime-17.12.2/po/ar/libkmime5.po --- old/kmime-17.12.1/po/ar/libkmime5.po 2018-01-09 02:17:59.000000000 +0100 +++ new/kmime-17.12.2/po/ar/libkmime5.po 2018-02-06 01:40:08.000000000 +0100 @@ -1,24 +1,25 @@ # translation of libkmime.po to # محمد سعد Mohamed SAAD <[email protected]>, 2006. # Youssef Chahibi <[email protected]>, 2007. +# Safa Alfulaij <[email protected]>, 2018. msgid "" msgstr "" "Project-Id-Version: libkmime\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-05-25 03:04+0200\n" -"PO-Revision-Date: 2007-10-14 15:58+0000\n" -"Last-Translator: Youssef Chahibi <[email protected]>\n" -"Language-Team: <[email protected]>\n" +"PO-Revision-Date: 2018-02-01 00:08+0300\n" +"Last-Translator: Safa Alfulaij <[email protected]>\n" +"Language-Team: Arabic <[email protected]>\n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" -"X-Generator: KBabel 1.11.4\n" +"X-Generator: Lokalize 2.0\n" #: kmime_dateformatter.cpp:268 -#, fuzzy, kde-format +#, kde-format msgctxt "invalid time specified" msgid "unknown" msgstr "مجهول" @@ -31,13 +32,13 @@ #: kmime_dateformatter.cpp:288 #, kde-format msgid "Yesterday %1" -msgstr "البارحة %1" +msgstr "الأمس %1" #: kmime_dateformatter.cpp:293 #, kde-format msgctxt "1. weekday, 2. time" msgid "%1 %2" -msgstr "يوم %1 ، الوقت %2" +msgstr "%1 %2" #: kmime_mdn.cpp:63 #, kde-format @@ -45,8 +46,8 @@ "The message sent on ${date} to ${to} with subject \"${subject}\" has been " "displayed. This is no guarantee that the message has been read or understood." msgstr "" -"تمً عرض الرسالة اللتي ارسلت بتاريخ ${date} الى ${to} و ذات الموضوع " -"\"${subject}\". لكن هذا ليس دليل ان الرسالة قرءت فعلآ او انها ذات محتوى واضح." +"عُرضت الرّسالة المرسلة في ${date} إلى ${to} وموضوعها ”${subject}“. هذا ليس " +"ضمانًا بأنّ الرّسالة قد قُرأت أو فُهمت." #: kmime_mdn.cpp:69 #, kde-format @@ -55,9 +56,8 @@ "deleted unseen. This is no guarantee that the message will not be \"undeleted" "\" and nonetheless read later on." msgstr "" -"تمً حذف الرسالة اللتي ارسلت بتاريخ ${date} الى ${to} و ذات الموضوع " -"\"${subject}\" و ذالك بدون قراءة . من المستبعد ان يعاد استرجاعها او حتى " -"قراءتها لاحقآ ." +"حُذفت الرّسالة المرسلة في ${date} إلى ${to} وموضوعها ”${subject}“ دون قراءتها. " +"هذا ليس ضمانًا بأنّ لن ”يُلغى حذف“ الرّسالة وقراءتها لاحقًا رغم ذلك." #: kmime_mdn.cpp:76 #, kde-format @@ -65,8 +65,8 @@ "The message sent on ${date} to ${to} with subject \"${subject}\" has been " "dispatched. This is no guarantee that the message will not be read later on." msgstr "" -"تمً اعادة الارسال الى شخص آخر الرسالة اللتي ارسلت بتاريخ ${date} الى ${to} و " -"ذات الموضوع \"${subject}\" . و لكن من المحتمل ان تعاد قراءتها لاحقآ." +"أُرسلت الرّسالة المرسلة في ${date} إلى ${to} وموضوعها ”${subject}“. هذا ليس " +"ضمانًا بأنّ لن تُقرأ الرّسالة لاحقًا." #: kmime_mdn.cpp:82 #, kde-format @@ -74,8 +74,8 @@ "The message sent on ${date} to ${to} with subject \"${subject}\" has been " "processed by some automatic means." msgstr "" -"تمً معالجة الرسالة اللتي ارسلة بتاريخ ${date} الى ${to} و ذات الموضوع " -"\"${subject}\" بطريقة ما تلقائية ." +"جرت معالجة الرّسالة المرسلة في ${date} إلى ${to} وموضوعها ”${subject}“ بوسائل " +"آليّة." #: kmime_mdn.cpp:87 #, kde-format @@ -84,16 +84,15 @@ "acted upon. The sender does not wish to disclose more details to you than " "that." msgstr "" -"تمً معاملة الرسالة اللتي ارسلت بتاريخ ${date} الى ${to} و ذات الموضوع " -"\"${subject}\" .لا يبغي الفريق المرسل ابلاغك تفاصيل اخرا غير عن ذلك." +"اتُّخذ إجراء للرّسالة المرسلة في ${date} إلى ${to} وموضوعها ”${subject}“. لا " +"يريد المرسل عرض تفاصيل أكثر عن ذلك لك." #: kmime_mdn.cpp:93 -#, kde-format +#, fuzzy, kde-format msgid "" "Generation of a Message Disposition Notification for the message sent on " "${date} to ${to} with subject \"${subject}\" failed. Reason is given in the " "Failure: header field below." msgstr "" -"فشلت عند انشاء تقرير استلام الرسالة اللتي ارسلت بتاريخ ${date} الى ${to} و " -"ذات الموضوع \"${subject}\" .يمكنك معرفة السبب بعد قراءة حقل الترويسة في " -"التقرير الملحق ادناه ." +"فشل توليد إخطار ترتيب رسالة للرّسالة المرسلة في ${date} إلى ${to} وموضوعها " +"”${subject}“. السّبب موجود في حقل ترويسة ”فشل:“ أدناه." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-17.12.1/po/zh_CN/libkmime5.po new/kmime-17.12.2/po/zh_CN/libkmime5.po --- old/kmime-17.12.1/po/zh_CN/libkmime5.po 2018-01-09 02:18:00.000000000 +0100 +++ new/kmime-17.12.2/po/zh_CN/libkmime5.po 2018-02-06 01:40:09.000000000 +0100 @@ -7,7 +7,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-05-25 03:04+0200\n" -"PO-Revision-Date: 2018-01-08 18:07-0500\n" +"PO-Revision-Date: 2018-02-04 20:33-0500\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-17.12.1/src/kmime_header_parsing.cpp new/kmime-17.12.2/src/kmime_header_parsing.cpp --- old/kmime-17.12.1/src/kmime_header_parsing.cpp 2017-12-15 07:58:16.000000000 +0100 +++ new/kmime-17.12.2/src/kmime_header_parsing.cpp 2018-02-01 00:16:13.000000000 +0100 @@ -1886,7 +1886,6 @@ // "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec" result = QDateTime(); - QDateTime maybeDateTime; eatCFWS(scursor, send, isCRLF); if (scursor == send) { @@ -2008,14 +2007,14 @@ return false; // rfc2822, 3.3 } - maybeDateTime.setDate(QDate(maybeYear, maybeMonth, maybeDay)); - maybeDateTime.setTime(QTime(maybeHour, maybeMinute, maybeSecond)); + const QDate maybeDate = QDate(maybeYear, maybeMonth, maybeDay); + const QTime maybeTime = QTime(maybeHour, maybeMinute, maybeSecond); - if (!maybeDateTime.isValid()) { + if (!maybeDate.isValid() || !maybeTime.isValid()) { return false; } - result = QDateTime(maybeDateTime.date(), maybeDateTime.time(), Qt::OffsetFromUTC, secsEastOfGMT); + result = QDateTime(maybeDate, maybeTime, Qt::OffsetFromUTC, secsEastOfGMT); //result = QDateTime( maybeDateTime, QDateTime::Spec( QDateTime::OffsetFromUTC, secsEastOfGMT ) ); if (!result.isValid()) { return false;
