Hello community, here is the log from the commit of package kmime for openSUSE:Factory checked in at 2015-10-14 16:46:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmime (Old) and /work/SRC/openSUSE:Factory/.kmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmime" Changes: -------- --- /work/SRC/openSUSE:Factory/kmime/kmime.changes 2015-10-03 20:14:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kmime.new/kmime.changes 2015-10-14 16:46:13.000000000 +0200 @@ -1,0 +2,16 @@ +Sun Oct 11 13:34:27 UTC 2015 - [email protected] + +- Update to KDE Applications 15.08.2 + * KDE Applications 15.08.2 + * https://www.kde.org/announcements/announce-applications-15.08.2.php + + +------------------------------------------------------------------- +Sun Sep 13 19:19:14 UTC 2015 - [email protected] + +- Update to KDE Applications 15.08.1 + * KDE Applications 15.08.1 + * https://www.kde.org/announcements/announce-applications-15.08.1.php + + +------------------------------------------------------------------- Old: ---- kmime-15.08.0.tar.xz New: ---- kmime-15.08.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmime.spec ++++++ --- /var/tmp/diff_new_pack.npEK04/_old 2015-10-14 16:46:14.000000000 +0200 +++ /var/tmp/diff_new_pack.npEK04/_new 2015-10-14 16:46:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: kmime -Version: 15.08.0 +Version: 15.08.2 Release: 0 %define kf5_version 5.1.0 Summary: KDE PIM Libraries: Mime support ++++++ kmime-15.08.0.tar.xz -> kmime-15.08.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-15.08.0/.arcconfig new/kmime-15.08.2/.arcconfig --- old/kmime-15.08.0/.arcconfig 1970-01-01 01:00:00.000000000 +0100 +++ new/kmime-15.08.2/.arcconfig 2015-09-23 18:20:19.000000000 +0200 @@ -0,0 +1,4 @@ +{ + "phabricator.uri" : "https://phabricator.kde.org/project/profile/34/", + "history.immutable" : true +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-15.08.0/autotests/parsedatetimetest.cpp new/kmime-15.08.2/autotests/parsedatetimetest.cpp --- old/kmime-15.08.0/autotests/parsedatetimetest.cpp 2015-08-12 07:46:21.000000000 +0200 +++ new/kmime-15.08.2/autotests/parsedatetimetest.cpp 2015-09-23 18:20:19.000000000 +0200 @@ -29,29 +29,29 @@ void ParseDateTimeTest::testParseDateTime_data() { - QTest::addColumn<QString>("input"); + QTest::addColumn<QByteArray>("input"); QTest::addColumn<QDateTime>("expResult"); - QTest::newRow("1") << QStringLiteral("Sat, 25 Apr 2015 12:10:48 +0000") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-25T12:10:48+00:00"), Qt::ISODate)); - QTest::newRow("2") << QStringLiteral("Fri, 24 Apr 2015 10:22:42 +0200") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:22:42+02:00"), Qt::ISODate)); - QTest::newRow("3") << QStringLiteral("Thu, 23 Apr 2015 21:43:32 -0300") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-23T21:43:32-03:00"), Qt::ISODate)); - QTest::newRow("4") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +0200") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:00"), Qt::ISODate)); - QTest::newRow("5") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +02:00") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:00"), Qt::ISODate)); - QTest::newRow("6") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +02:23") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:23"), Qt::ISODate)); - QTest::newRow("7") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +02a") << QDateTime(); - QTest::newRow("8") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +02:") << QDateTime(); - QTest::newRow("9") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +02:af") << QDateTime(); - QTest::newRow("10") << QStringLiteral("Fri 24 Apr 2015 10:39:15 +in:af") << QDateTime(); + QTest::newRow("1") << QByteArray("Sat, 25 Apr 2015 12:10:48 +0000") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-25T12:10:48+00:00"), Qt::ISODate)); + QTest::newRow("2") << QByteArray("Fri, 24 Apr 2015 10:22:42 +0200") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:22:42+02:00"), Qt::ISODate)); + QTest::newRow("3") << QByteArray("Thu, 23 Apr 2015 21:43:32 -0300") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-23T21:43:32-03:00"), Qt::ISODate)); + QTest::newRow("4") << QByteArray("Fri 24 Apr 2015 10:39:15 +0200") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:00"), Qt::ISODate)); + QTest::newRow("5") << QByteArray("Fri 24 Apr 2015 10:39:15 +02:00") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:00"), Qt::ISODate)); + QTest::newRow("6") << QByteArray("Fri 24 Apr 2015 10:39:15 +02:23") << QDateTime(QDateTime::fromString(QStringLiteral("2015-04-24T10:39:15+02:23"), Qt::ISODate)); + QTest::newRow("7") << QByteArray("Fri 24 Apr 2015 10:39:15 +02a") << QDateTime(); + QTest::newRow("8") << QByteArray("Fri 24 Apr 2015 10:39:15 +02:") << QDateTime(); + QTest::newRow("9") << QByteArray("Fri 24 Apr 2015 10:39:15 +02:af") << QDateTime(); + QTest::newRow("10") << QByteArray("Fri 24 Apr 2015 10:39:15 +in:af") << QDateTime(); } void ParseDateTimeTest::testParseDateTime() { - QFETCH(QString, input); + QFETCH(QByteArray, input); QFETCH(QDateTime, expResult); QDateTime result; - const char *scursor = input.toLatin1().constData(); - const char *send = input.toLatin1().constData() + input.length(); + const char *scursor = input.constData(); + const char *send = input.constData() + input.length(); KMime::HeaderParsing::parseDateTime(scursor, send, result, false); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmime-15.08.0/src/kmime_header_parsing.cpp new/kmime-15.08.2/src/kmime_header_parsing.cpp --- old/kmime-15.08.0/src/kmime_header_parsing.cpp 2015-08-12 07:46:21.000000000 +0200 +++ new/kmime-15.08.2/src/kmime_header_parsing.cpp 2015-09-23 18:20:19.000000000 +0200 @@ -1883,7 +1883,7 @@ bool &timeZoneKnown) { // allow the timezone to be wrapped in quotes; bug 260761 - if (*scursor == '"') { + if (scursor < send && *scursor == '"') { scursor++; if (scursor == send) { @@ -1902,7 +1902,7 @@ secsEastOfGMT = timeZones[i].secsEastOfGMT; timeZoneKnown = true; - if (*scursor == '"') { + if (scursor < send && *scursor == '"') { scursor++; }
