Hello community, here is the log from the commit of package kcontacts for openSUSE:Factory checked in at 2017-12-18 08:49:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcontacts (Old) and /work/SRC/openSUSE:Factory/.kcontacts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcontacts" Mon Dec 18 08:49:03 2017 rev:27 rq:556163 version:17.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcontacts/kcontacts.changes 2017-11-16 14:21:22.229382033 +0100 +++ /work/SRC/openSUSE:Factory/.kcontacts.new/kcontacts.changes 2017-12-18 08:49:05.576965409 +0100 @@ -1,0 +2,36 @@ +Sat Dec 09 14:59:03 CET 2017 - lbeltr...@kde.org + +- Update to 17.12.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12.0.php +- Changes since 17.11.90: + * None + +------------------------------------------------------------------- +Sat Dec 02 10:12:36 CET 2017 - lbeltr...@kde.org + +- Update to 17.11.90 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12-rc.php +- Changes since 17.11.80: + * None + +------------------------------------------------------------------- +Mon Nov 20 06:59:04 CET 2017 - lbeltr...@kde.org + +- Update to 17.11.80 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12-beta.php +- Changes since 17.08.3: + * Fix warning found by cppcheck + * Remove kaboutdata in test apps + * Make sure to initialize pointer + * Minor optimization + * Allow to run test without install it + * Remove qt check + * Minor optimization + +------------------------------------------------------------------- Old: ---- kcontacts-17.08.3.tar.xz New: ---- kcontacts-17.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcontacts.spec ++++++ --- /var/tmp/diff_new_pack.XTYDHb/_old 2017-12-18 08:49:06.524919647 +0100 +++ /var/tmp/diff_new_pack.XTYDHb/_new 2017-12-18 08:49:06.528919454 +0100 @@ -20,7 +20,7 @@ %define kf5_version 5.5.0 Name: kcontacts -Version: 17.08.3 +Version: 17.12.0 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) ++++++ kcontacts-17.08.3.tar.xz -> kcontacts-17.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/.reviewboardrc new/kcontacts-17.12.0/.reviewboardrc --- old/kcontacts-17.08.3/.reviewboardrc 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/.reviewboardrc 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -REVIEWBOARD_URL = "https://git.reviewboard.kde.org" -#REPOSITORY = "git://anongit.kde.org/kcontacts" -BRANCH = "master" -TARGET_GROUPS = "kdepimlibs" -TARGET_PEOPLE = "mlaurent" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/CMakeLists.txt new/kcontacts-17.12.0/CMakeLists.txt --- old/kcontacts-17.08.3/CMakeLists.txt 2017-11-07 02:25:32.000000000 +0100 +++ new/kcontacts-17.12.0/CMakeLists.txt 2017-12-08 02:01:29.000000000 +0100 @@ -1,11 +1,12 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.6.3") +set(PIM_VERSION "5.7.0") project(KContacts VERSION ${PIM_VERSION}) # ECM setup -set(QT_REQUIRED_VERSION "5.7.0") -set(KF5_VERSION "5.35.0") +set(QT_REQUIRED_VERSION "5.8.0") +set(KF5_VERSION "5.39.0") + find_package(ECM ${KF5_VERSION} CONFIG REQUIRED) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${KContacts_SOURCE_DIR}/cmake) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/autotests/CMakeLists.txt new/kcontacts-17.12.0/autotests/CMakeLists.txt --- old/kcontacts-17.08.3/autotests/CMakeLists.txt 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/autotests/CMakeLists.txt 2017-12-02 08:20:32.000000000 +0100 @@ -1,6 +1,6 @@ include(ECMAddTests) -set(QT_REQUIRED_VERSION "5.7.0") +set(QT_REQUIRED_VERSION "5.8.0") find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG REQUIRED) ########### next target ############### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/autotests/testlock.h new/kcontacts-17.12.0/autotests/testlock.h --- old/kcontacts-17.08.3/autotests/testlock.h 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/autotests/testlock.h 2017-12-02 08:20:32.000000000 +0100 @@ -43,10 +43,10 @@ void updateLockView(); private: - KContacts::Lock *mLock; + KContacts::Lock *mLock = nullptr; - QLabel *mStatus; - QTreeWidget *mLockView; + QLabel *mStatus = nullptr; + QTreeWidget *mLockView = nullptr; }; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/po/gl/kcontacts5.po new/kcontacts-17.12.0/po/gl/kcontacts5.po --- old/kcontacts-17.08.3/po/gl/kcontacts5.po 2017-11-07 02:25:31.000000000 +0100 +++ new/kcontacts-17.12.0/po/gl/kcontacts5.po 2017-12-08 02:01:29.000000000 +0100 @@ -8,14 +8,14 @@ # Xosé <xoseca...@gmail.com>, 2009. # Marce Villarino <mvillar...@kde-espana.es>, 2012, 2013. # Adrián Chaves Fernández (Gallaecio) <adriyeticha...@gmail.com>, 2015. +# Adrián Chaves (Gallaecio) <adr...@chaves.io>, 2017. msgid "" msgstr "" "Project-Id-Version: kabc\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-02-17 04:01+0100\n" -"PO-Revision-Date: 2015-12-30 19:58+0100\n" -"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail." -"com>\n" +"PO-Revision-Date: 2017-07-29 09:52+0100\n" +"Last-Translator: Adrián Chaves (Gallaecio) <adr...@chaves.io>\n" "Language-Team: Galician <kde-i18n-...@kde.org>\n" "Language: gl\n" "MIME-Version: 1.0\n" @@ -51,7 +51,7 @@ #: address.cpp:466 #, kde-format msgid "Region" -msgstr "Provincia" +msgstr "Rexión" #: address.cpp:482 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/po/zh_CN/kcontacts5.po new/kcontacts-17.12.0/po/zh_CN/kcontacts5.po --- old/kcontacts-17.08.3/po/zh_CN/kcontacts5.po 2017-11-07 02:25:32.000000000 +0100 +++ new/kcontacts-17.12.0/po/zh_CN/kcontacts5.po 2017-12-08 02:01:29.000000000 +0100 @@ -8,7 +8,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-02-17 04:01+0100\n" -"PO-Revision-Date: 2017-10-19 10:50-0400\n" +"PO-Revision-Date: 2017-11-09 08:21-0500\n" "Last-Translator: guoyunhebrave <guoyunhebr...@gmail.com>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -19,7 +19,7 @@ "X-Generator: crowdin.com\n" "X-Crowdin-Project: kdeorg\n" "X-Crowdin-Language: zh-CN\n" -"X-Crowdin-File: /kf5-stable/messages/pim/kcontacts5.pot\n" +"X-Crowdin-File: /kf5-trunk/messages/pim/kcontacts5.pot\n" #: address.cpp:402 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/src/converter/ldifconverter.cpp new/kcontacts-17.12.0/src/converter/ldifconverter.cpp --- old/kcontacts-17.08.3/src/converter/ldifconverter.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/src/converter/ldifconverter.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -210,10 +210,11 @@ ldif_out(t, QStringLiteral("streetaddress"), workAddr.street()); // Netscape 4.x streets = workAddr.street().split(QLatin1Char('\n')); - if (streets.count() > 0) { + const int streetsCount = streets.count(); + if (streetsCount > 0) { ldif_out(t, QStringLiteral("street"), streets.at(0)); } - if (streets.count() > 1) { + if (streetsCount > 1) { ldif_out(t, QStringLiteral("mozillaworkstreet2"), streets.at(1)); } ldif_out(t, QStringLiteral("countryname"), Address::ISOtoCountry(workAddr.country())); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/src/ldapdn.cpp new/kcontacts-17.12.0/src/ldapdn.cpp --- old/kcontacts-17.08.3/src/ldapdn.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/src/ldapdn.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -55,7 +55,7 @@ } // Split the rdn into the attribute name and value parts - const QStringList components = rdn.split(QLatin1Char('=')); + const QVector<QStringRef> components = rdn.splitRef(QLatin1Char('=')); // We should have exactly two parts if (components.size() != 2) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/src/ldif.cpp new/kcontacts-17.12.0/src/ldif.cpp --- old/kcontacts-17.08.3/src/ldif.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/src/ldif.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -72,14 +72,13 @@ const QByteArray &value, uint linelen, bool url) { - bool safe = false; - bool isDn; QByteArray result; if (url) { result = fieldname.toUtf8() + ":< " + value; } else { - isDn = fieldname.toLower() == QLatin1String("dn"); + bool safe = false; + bool isDn = fieldname.toLower() == QLatin1String("dn"); //SAFE-INIT-CHAR if (value.size() > 0 && value[0] > 0 && value[0] != '\n' && value[0] != '\r' && value[0] != ':' && value[0] != '<') { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/src/vcardparser/vcardparser.cpp new/kcontacts-17.12.0/src/vcardparser/vcardparser.cpp --- old/kcontacts-17.08.3/src/vcardparser/vcardparser.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/src/vcardparser/vcardparser.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -90,7 +90,7 @@ StringCache &m_cache; std::function<QByteArray()> m_fetchAnotherLine; - VCardLine *m_vCardLine; + VCardLine *m_vCardLine = nullptr; QByteArray m_encoding; QByteArray m_charset; }; @@ -183,9 +183,7 @@ start = pos + 1; } // fall-through intended -#if QT_VERSION >= QT_VERSION_CHECK(5,8,0) - Q_FALLTHROUGH(); -#endif + Q_FALLTHROUGH(); case StateAfterParamValue: if (ch == ';') { state = StateParamKey; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/tests/testread.cpp new/kcontacts-17.12.0/tests/testread.cpp --- old/kcontacts-17.08.3/tests/testread.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/tests/testread.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -24,9 +24,7 @@ #include <QFile> #include <qdebug.h> -#include <KAboutData> #include <QCoreApplication> -#include <klocalizedstring.h> #include <QCommandLineParser> #include <QCommandLineOption> @@ -35,20 +33,14 @@ int main(int argc, char **argv) { - KAboutData aboutData(QStringLiteral("testread"), i18n("vCard test reader"), QStringLiteral("0.1")); - aboutData.addAuthor(i18n("Cornelius Schumacher"), QString(), QStringLiteral("schumac...@kde.org")); - QCoreApplication app(argc, argv); QCommandLineParser parser; - parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("vcard21"), i18n("vCard 2.1"))); - parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("+inputfile"), i18n("Input file"))); + parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("vcard21"), QStringLiteral("vCard 2.1"))); + parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("+inputfile"), QStringLiteral("Input file"))); - KAboutData::setApplicationData(aboutData); parser.addVersionOption(); parser.addHelpOption(); - aboutData.setupCommandLine(&parser); parser.process(app); - aboutData.processCommandLine(&parser); if (parser.positionalArguments().count() != 1) { std::cerr << "Missing argument" << std::endl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcontacts-17.08.3/tests/testwrite.cpp new/kcontacts-17.12.0/tests/testwrite.cpp --- old/kcontacts-17.08.3/tests/testwrite.cpp 2017-10-13 07:10:42.000000000 +0200 +++ new/kcontacts-17.12.0/tests/testwrite.cpp 2017-12-02 08:20:32.000000000 +0100 @@ -20,11 +20,9 @@ #include <QFile> -#include <kaboutdata.h> #include <klocalizedstring.h> #include <QCoreApplication> -#include <KAboutData> #include <QCommandLineParser> #include "kcontacts/addressee.h" @@ -38,16 +36,11 @@ int main(int argc, char **argv) { - KAboutData aboutData(QLatin1String("testwrite"), i18n("vCard test writer"), QLatin1String("0.1")); - QCoreApplication app(argc, argv); QCommandLineParser parser; - KAboutData::setApplicationData(aboutData); parser.addVersionOption(); parser.addHelpOption(); - aboutData.setupCommandLine(&parser); parser.process(app); - aboutData.processCommandLine(&parser); KContacts::Addressee addressee;