Hello community, here is the log from the commit of package syndication for openSUSE:Factory checked in at 2016-05-31 12:16:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syndication (Old) and /work/SRC/openSUSE:Factory/.syndication.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syndication" Changes: -------- --- /work/SRC/openSUSE:Factory/syndication/syndication.changes 2016-03-26 15:19:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.syndication.new/syndication.changes 2016-05-31 12:16:37.000000000 +0200 @@ -1,0 +2,24 @@ +Sat May 7 10:45:53 UTC 2016 - [email protected] + +- Update to KDE Applications 16.04.1 + * KDE Applications 16.04.1 + * https://www.kde.org/announcements/announce-applications-16.04.1.php + + +------------------------------------------------------------------- +Sun Apr 17 06:22:00 UTC 2016 - [email protected] + +- Update to KDE Applications 16.04.0 + * KDE Applications 16.04.0 + * https://www.kde.org/announcements/announce-applications-16.04.0.php + + +------------------------------------------------------------------- +Mon Apr 11 06:56:51 UTC 2016 - [email protected] + +- Update to KDE Applications 16.03.90 + * KDE Applications 16.04.0 RC + * https://www.kde.org/announcements/announce-applications-16.04-rc.php + + +------------------------------------------------------------------- Old: ---- syndication-15.12.3.tar.xz New: ---- syndication-16.04.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syndication.spec ++++++ --- /var/tmp/diff_new_pack.DPEsdc/_old 2016-05-31 12:16:38.000000000 +0200 +++ /var/tmp/diff_new_pack.DPEsdc/_new 2016-05-31 12:16:38.000000000 +0200 @@ -17,7 +17,7 @@ Name: syndication -Version: 15.12.3 +Version: 16.04.1 Release: 0 %define kf5_version 5.1.0 Summary: KDE PIM Libraries: Syndication ++++++ syndication-15.12.3.tar.xz -> syndication-16.04.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syndication-15.12.3/CMakeLists.txt new/syndication-16.04.1/CMakeLists.txt --- old/syndication-15.12.3/CMakeLists.txt 2015-11-07 18:14:05.000000000 +0100 +++ new/syndication-16.04.1/CMakeLists.txt 2016-04-26 22:22:02.000000000 +0200 @@ -3,7 +3,7 @@ project(Syndication) # ECM setup -find_package(ECM 5.12.0 CONFIG REQUIRED) +find_package(ECM 5.19.0 CONFIG REQUIRED) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) include(GenerateExportHeader) @@ -14,11 +14,11 @@ include(FeatureSummary) include(KDEInstallDirs) include(KDECMakeSettings) -include(KDEFrameworkCompilerSettings) +include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) -set(KF5_VERSION "5.12.0") -set(SYNDICATION_LIB_VERSION "4.79.0") +set(KF5_VERSION "5.19.0") +set(SYNDICATION_LIB_VERSION "5.2.1") ecm_setup_version(${SYNDICATION_LIB_VERSION} VARIABLE_PREFIX SYNDICATION VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/syndication_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syndication-15.12.3/src/syndication/atom/document.cpp new/syndication-16.04.1/src/syndication/atom/document.cpp --- old/syndication-15.12.3/src/syndication/atom/document.cpp 2015-11-07 18:14:05.000000000 +0100 +++ new/syndication-16.04.1/src/syndication/atom/document.cpp 2016-04-26 22:22:02.000000000 +0200 @@ -36,6 +36,8 @@ #include <QtCore/QList> #include <QtCore/QString> +#include <vector> + namespace Syndication { namespace Atom @@ -198,31 +200,32 @@ QList<QDomElement> FeedDocument::unhandledElements() const { // TODO: do not hardcode this list here - static QList<ElementType> handled; - if (handled.isEmpty()) { + static std::vector<ElementType> handled; // QVector would require a default ctor, and ElementType is too big for QList + if (handled.empty()) { handled.reserve(13); - handled.append(ElementType(QStringLiteral("author"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("contributor"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("category"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("generator"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("icon"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("logo"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("id"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("rights"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("title"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("subtitle"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("updated"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("link"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("entry"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("author"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("contributor"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("category"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("generator"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("icon"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("logo"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("id"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("rights"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("title"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("subtitle"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("updated"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("link"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("entry"), atom1Namespace())); } QList<QDomElement> notHandled; QDomNodeList children = element().childNodes(); - for (int i = 0; i < children.size(); ++i) { + const int numChildren = children.size(); + for (int i = 0; i < numChildren; ++i) { QDomElement el = children.at(i).toElement(); if (!el.isNull() - && !handled.contains(ElementType(el.localName(), el.namespaceURI()))) { + && std::find(handled.cbegin(), handled.cend(), ElementType(el.localName(), el.namespaceURI())) == handled.cend()) { notHandled.append(el); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syndication-15.12.3/src/syndication/atom/entry.cpp new/syndication-16.04.1/src/syndication/atom/entry.cpp --- old/syndication-15.12.3/src/syndication/atom/entry.cpp 2015-11-07 18:14:05.000000000 +0100 +++ new/syndication-16.04.1/src/syndication/atom/entry.cpp 2016-04-26 22:22:02.000000000 +0200 @@ -34,6 +34,8 @@ #include <QtXml/QDomElement> #include <QtCore/QString> +#include <vector> + namespace Syndication { namespace Atom @@ -183,30 +185,31 @@ QList<QDomElement> Entry::unhandledElements() const { // TODO: do not hardcode this list here - static QList<ElementType> handled; - if (handled.isEmpty()) { + static std::vector<ElementType> handled; // QVector would require a default ctor, and ElementType is too big for QList + if (handled.empty()) { handled.reserve(12); - handled.append(ElementType(QStringLiteral("author"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("contributor"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("category"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("id"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("link"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("rights"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("source"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("published"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("updated"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("summary"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("title"), atom1Namespace())); - handled.append(ElementType(QStringLiteral("content"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("author"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("contributor"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("category"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("id"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("link"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("rights"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("source"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("published"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("updated"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("summary"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("title"), atom1Namespace())); + handled.push_back(ElementType(QStringLiteral("content"), atom1Namespace())); } QList<QDomElement> notHandled; QDomNodeList children = element().childNodes(); - for (int i = 0; i < children.size(); ++i) { + const int numChildren = children.size(); + for (int i = 0; i < numChildren; ++i) { QDomElement el = children.at(i).toElement(); if (!el.isNull() - && !handled.contains(ElementType(el.localName(), el.namespaceURI()))) { + && std::find(handled.cbegin(), handled.cend(), ElementType(el.localName(), el.namespaceURI())) == handled.cend()) { notHandled.append(el); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syndication-15.12.3/src/syndication/rss2/document.cpp new/syndication-16.04.1/src/syndication/rss2/document.cpp --- old/syndication-15.12.3/src/syndication/rss2/document.cpp 2015-11-07 18:14:05.000000000 +0100 +++ new/syndication-16.04.1/src/syndication/rss2/document.cpp 2016-04-26 22:22:02.000000000 +0200 @@ -36,6 +36,8 @@ #include <QtCore/QSet> #include <QtCore/QString> +#include <vector> + namespace Syndication { namespace RSS2 @@ -294,40 +296,41 @@ QList<QDomElement> Document::unhandledElements() const { // TODO: do not hardcode this list here - static QList<ElementType> handled; - if (handled.isEmpty()) { + static std::vector<ElementType> handled; // QVector would require a default ctor, and ElementType is too big for QList + if (handled.empty()) { handled.reserve(22); - handled.append(ElementType(QStringLiteral("title"))); - handled.append(ElementType(QStringLiteral("link"))); - handled.append(ElementType(QStringLiteral("description"))); - handled.append(ElementType(QStringLiteral("language"))); - handled.append(ElementType(QStringLiteral("copyright"))); - handled.append(ElementType(QStringLiteral("managingEditor"))); - handled.append(ElementType(QStringLiteral("webMaster"))); - handled.append(ElementType(QStringLiteral("pubDate"))); - handled.append(ElementType(QStringLiteral("lastBuildDate"))); - handled.append(ElementType(QStringLiteral("skipDays"))); - handled.append(ElementType(QStringLiteral("skipHours"))); - handled.append(ElementType(QStringLiteral("item"))); - handled.append(ElementType(QStringLiteral("textinput"))); - handled.append(ElementType(QStringLiteral("textInput"))); - handled.append(ElementType(QStringLiteral("image"))); - handled.append(ElementType(QStringLiteral("ttl"))); - handled.append(ElementType(QStringLiteral("generator"))); - handled.append(ElementType(QStringLiteral("docs"))); - handled.append(ElementType(QStringLiteral("cloud"))); - handled.append(ElementType(QStringLiteral("language"), dublinCoreNamespace())); - handled.append(ElementType(QStringLiteral("rights"), dublinCoreNamespace())); - handled.append(ElementType(QStringLiteral("date"), dublinCoreNamespace())); + handled.push_back(ElementType(QStringLiteral("title"))); + handled.push_back(ElementType(QStringLiteral("link"))); + handled.push_back(ElementType(QStringLiteral("description"))); + handled.push_back(ElementType(QStringLiteral("language"))); + handled.push_back(ElementType(QStringLiteral("copyright"))); + handled.push_back(ElementType(QStringLiteral("managingEditor"))); + handled.push_back(ElementType(QStringLiteral("webMaster"))); + handled.push_back(ElementType(QStringLiteral("pubDate"))); + handled.push_back(ElementType(QStringLiteral("lastBuildDate"))); + handled.push_back(ElementType(QStringLiteral("skipDays"))); + handled.push_back(ElementType(QStringLiteral("skipHours"))); + handled.push_back(ElementType(QStringLiteral("item"))); + handled.push_back(ElementType(QStringLiteral("textinput"))); + handled.push_back(ElementType(QStringLiteral("textInput"))); + handled.push_back(ElementType(QStringLiteral("image"))); + handled.push_back(ElementType(QStringLiteral("ttl"))); + handled.push_back(ElementType(QStringLiteral("generator"))); + handled.push_back(ElementType(QStringLiteral("docs"))); + handled.push_back(ElementType(QStringLiteral("cloud"))); + handled.push_back(ElementType(QStringLiteral("language"), dublinCoreNamespace())); + handled.push_back(ElementType(QStringLiteral("rights"), dublinCoreNamespace())); + handled.push_back(ElementType(QStringLiteral("date"), dublinCoreNamespace())); } QList<QDomElement> notHandled; QDomNodeList children = element().childNodes(); - for (int i = 0; i < children.size(); ++i) { + const int numChildren = children.size(); + for (int i = 0; i < numChildren; ++i) { QDomElement el = children.at(i).toElement(); if (!el.isNull() - && !handled.contains(ElementType(el.localName(), el.namespaceURI()))) { + && std::find(handled.cbegin(), handled.cend(), ElementType(el.localName(), el.namespaceURI())) == handled.cend()) { notHandled.append(el); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syndication-15.12.3/src/syndication/rss2/item.cpp new/syndication-16.04.1/src/syndication/rss2/item.cpp --- old/syndication-15.12.3/src/syndication/rss2/item.cpp 2015-11-07 18:14:05.000000000 +0100 +++ new/syndication-16.04.1/src/syndication/rss2/item.cpp 2016-04-26 22:22:02.000000000 +0200 @@ -34,6 +34,8 @@ #include <QtCore/QString> #include <QtCore/QList> +#include <vector> + namespace Syndication { namespace RSS2 @@ -287,29 +289,30 @@ QList<QDomElement> Item::unhandledElements() const { // TODO: do not hardcode this list here - static QList<ElementType> handled; - if (handled.isEmpty()) { + static std::vector<ElementType> handled; // QVector would require a default ctor, and ElementType is too big for QList + if (handled.empty()) { handled.reserve(11); - handled.append(ElementType(QStringLiteral("title"))); - handled.append(ElementType(QStringLiteral("link"))); - handled.append(ElementType(QStringLiteral("description"))); - handled.append(ElementType(QStringLiteral("pubDate"))); - handled.append(ElementType(QStringLiteral("expirationDate"))); - handled.append(ElementType(QStringLiteral("rating"))); - handled.append(ElementType(QStringLiteral("source"))); - handled.append(ElementType(QStringLiteral("guid"))); - handled.append(ElementType(QStringLiteral("comments"))); - handled.append(ElementType(QStringLiteral("author"))); - handled.append(ElementType(QStringLiteral("date"), dublinCoreNamespace())); + handled.push_back(ElementType(QStringLiteral("title"))); + handled.push_back(ElementType(QStringLiteral("link"))); + handled.push_back(ElementType(QStringLiteral("description"))); + handled.push_back(ElementType(QStringLiteral("pubDate"))); + handled.push_back(ElementType(QStringLiteral("expirationDate"))); + handled.push_back(ElementType(QStringLiteral("rating"))); + handled.push_back(ElementType(QStringLiteral("source"))); + handled.push_back(ElementType(QStringLiteral("guid"))); + handled.push_back(ElementType(QStringLiteral("comments"))); + handled.push_back(ElementType(QStringLiteral("author"))); + handled.push_back(ElementType(QStringLiteral("date"), dublinCoreNamespace())); } QList<QDomElement> notHandled; QDomNodeList children = element().childNodes(); - for (int i = 0; i < children.size(); ++i) { + const int numChildren = children.size(); + for (int i = 0; i < numChildren; ++i) { QDomElement el = children.at(i).toElement(); if (!el.isNull() - && !handled.contains(ElementType(el.localName(), el.namespaceURI()))) { + && std::find(handled.cbegin(), handled.cend(), ElementType(el.localName(), el.namespaceURI())) == handled.cend()) { notHandled.append(el); } }
