Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit syndication for openSUSE:Factory
Hello community,

here is the log from the commit of package syndication for openSUSE:Factory
checked in at 2019-04-19 21:25:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/syndication (Old)
and /work/SRC/openSUSE:Factory/.syndication.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "syndication"

Fri Apr 19 21:25:36 2019 rev:46 rq:695269 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/syndication/syndication.changes 2019-03-21
09:50:20.974836732 +0100
+++ /work/SRC/openSUSE:Factory/.syndication.new.5536/syndication.changes
2019-04-19 21:25:37.579969145 +0200
@@ -1,0 +2,10 @@
+Sun Apr 14 20:21:45 UTC 2019 - lbeltrame@xxxxxxx
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * Make it compile without foreach
+
+-------------------------------------------------------------------

Old:
----
syndication-5.56.0.tar.xz

New:
----
syndication-5.57.0.tar.xz

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

Other differences:
------------------
++++++ syndication.spec ++++++
--- /var/tmp/diff_new_pack.r55xkR/_old 2019-04-19 21:25:38.103969813 +0200
+++ /var/tmp/diff_new_pack.r55xkR/_new 2019-04-19 21:25:38.107969818 +0200
@@ -17,14 +17,14 @@


%define lname libKF5Syndication5
-%define _tar_path 5.56
+%define _tar_path 5.57
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} |
awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: syndication
-Version: 5.56.0
+Version: 5.57.0
Release: 0
Summary: RSS/Atom parsing library
License: LGPL-2.1-or-later

++++++ syndication-5.56.0.tar.xz -> syndication-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/CMakeLists.txt
new/syndication-5.57.0/CMakeLists.txt
--- old/syndication-5.56.0/CMakeLists.txt 2019-03-02 14:31:54.000000000
+0100
+++ new/syndication-5.57.0/CMakeLists.txt 2019-04-07 09:22:02.000000000
+0200
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5)

-set(KF5_VERSION "5.56.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.57.0") # handled by release scripts

project(Syndication VERSION ${KF5_VERSION})

@@ -41,7 +41,7 @@
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g.
Qt Assistant, Qt Creator & KDevelop)")

########### Targets ###########
-
+add_definitions(-DQT_NO_FOREACH)
add_subdirectory(src)

if(BUILD_TESTING)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/mapper/feedatomimpl.cpp
new/syndication-5.57.0/src/mapper/feedatomimpl.cpp
--- old/syndication-5.56.0/src/mapper/feedatomimpl.cpp 2019-03-02
14:31:54.000000000 +0100
+++ new/syndication-5.57.0/src/mapper/feedatomimpl.cpp 2019-04-07
09:22:02.000000000 +0200
@@ -150,8 +150,8 @@
QMultiMap<QString, QDomElement> FeedAtomImpl::additionalProperties() const
{
QMultiMap<QString, QDomElement> ret;
-
- foreach (const QDomElement &i, m_doc->unhandledElements()) {
+ const auto unhandledElements = m_doc->unhandledElements();
+ for (const QDomElement &i : unhandledElements) {
ret.insert(i.namespaceURI() + i.localName(), i);
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/mapper/feedrss2impl.cpp
new/syndication-5.57.0/src/mapper/feedrss2impl.cpp
--- old/syndication-5.56.0/src/mapper/feedrss2impl.cpp 2019-03-02
14:31:54.000000000 +0100
+++ new/syndication-5.57.0/src/mapper/feedrss2impl.cpp 2019-04-07
09:22:02.000000000 +0200
@@ -117,7 +117,8 @@
{
QMultiMap<QString, QDomElement> ret;

- foreach (const QDomElement &i, m_doc->unhandledElements()) {
+ const auto unhandledElements = m_doc->unhandledElements();
+ for (const QDomElement &i : unhandledElements) {
ret.insert(i.namespaceURI() + i.localName(), i);
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/mapper/itematomimpl.cpp
new/syndication-5.57.0/src/mapper/itematomimpl.cpp
--- old/syndication-5.56.0/src/mapper/itematomimpl.cpp 2019-03-02
14:31:54.000000000 +0100
+++ new/syndication-5.57.0/src/mapper/itematomimpl.cpp 2019-04-07
09:22:02.000000000 +0200
@@ -213,8 +213,8 @@
QMultiMap<QString, QDomElement> ItemAtomImpl::additionalProperties() const
{
QMultiMap<QString, QDomElement> ret;
-
- foreach (const QDomElement &i, m_entry.unhandledElements()) {
+ const auto unhandledElements = m_entry.unhandledElements();
+ for (const QDomElement &i : unhandledElements) {
ret.insert(i.namespaceURI() + i.localName(), i);
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/mapper/itemrss2impl.cpp
new/syndication-5.57.0/src/mapper/itemrss2impl.cpp
--- old/syndication-5.56.0/src/mapper/itemrss2impl.cpp 2019-03-02
14:31:54.000000000 +0100
+++ new/syndication-5.57.0/src/mapper/itemrss2impl.cpp 2019-04-07
09:22:02.000000000 +0200
@@ -184,7 +184,8 @@
{
QMultiMap<QString, QDomElement> ret;

- foreach (const QDomElement &i, m_item.unhandledElements()) {
+ const auto unhandledElements = m_item.unhandledElements();
+ for (const QDomElement &i : unhandledElements) {
ret.insert(i.namespaceURI() + i.localName(), i);
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/parsercollectionimpl.h
new/syndication-5.57.0/src/parsercollectionimpl.h
--- old/syndication-5.56.0/src/parsercollectionimpl.h 2019-03-02
14:31:54.000000000 +0100
+++ new/syndication-5.57.0/src/parsercollectionimpl.h 2019-04-07
09:22:02.000000000 +0200
@@ -127,7 +127,7 @@
}
}

- Q_FOREACH (AbstractParser *i, m_parserList) {
+ for (AbstractParser *i : qAsConst(m_parserList)) {
if (i->accept(source)) {
SpecificDocumentPtr doc = i->parse(source);
if (!doc->isValid()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/rdf/document.cpp
new/syndication-5.57.0/src/rdf/document.cpp
--- old/syndication-5.56.0/src/rdf/document.cpp 2019-03-02 14:31:54.000000000
+0100
+++ new/syndication-5.57.0/src/rdf/document.cpp 2019-04-07 09:22:02.000000000
+0200
@@ -155,7 +155,7 @@
{
QVector<SortItem> toSort;
toSort.reserve(items.size());
- Q_FOREACH (const Item &i, items) {
+ for (const Item &i : items) {
SortItem item;
item.item = i;
item.index = uriSequence.indexOf(i.resource()->uri());
@@ -164,7 +164,7 @@
std::sort(toSort.begin(), toSort.end(), LessThanByIndex());

int i = 0;
- Q_FOREACH (const SortItem &sortItem, toSort) {
+ for (const SortItem &sortItem : qAsConst(toSort)) {
items[i] = sortItem.item;
i++;
}
@@ -191,7 +191,7 @@
QList<Item> list;
list.reserve(items.count());

- Q_FOREACH (const ResourcePtr &i, items) {
+ for (const ResourcePtr &i : qAsConst(items)) {
list.append(Item(i, doccpy));
}

@@ -205,7 +205,7 @@
QStringList uriSequence;
uriSequence.reserve(seqItems.size());

- Q_FOREACH (const NodePtr &i, seqItems)
+ for (const NodePtr &i : seqItems)
if (i->isResource()) {
uriSequence.append(i.staticCast<Resource>()->uri());
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/rdf/model.cpp
new/syndication-5.57.0/src/rdf/model.cpp
--- old/syndication-5.56.0/src/rdf/model.cpp 2019-03-02 14:31:54.000000000
+0100
+++ new/syndication-5.57.0/src/rdf/model.cpp 2019-04-07 09:22:02.000000000
+0200
@@ -254,7 +254,7 @@
QString Model::debugInfo() const
{
QString info;
- foreach (const StatementPtr &stmtPtr, d->statements) {
+ for (const StatementPtr &stmtPtr : qAsConst(d->statements)) {
info += QStringLiteral("<%1> <%2> ").arg(stmtPtr->subject()->uri(),
stmtPtr->predicate()->uri());

if (stmtPtr->object()->isLiteral()) {
@@ -271,7 +271,7 @@
{
QList<ResourcePtr> list;

- foreach (const StatementPtr &stmtPtr, d->statements) {
+ for (const StatementPtr &stmtPtr : qAsConst(d->statements)) {
if (*(stmtPtr->predicate()) == *(RDFVocab::self()->type()) &&
*(stmtPtr->object()) == *type) {
list.append(stmtPtr->subject());
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syndication-5.56.0/src/rdf/parser.cpp
new/syndication-5.57.0/src/rdf/parser.cpp
--- old/syndication-5.56.0/src/rdf/parser.cpp 2019-03-02 14:31:54.000000000
+0100
+++ new/syndication-5.57.0/src/rdf/parser.cpp 2019-04-07 09:22:02.000000000
+0200
@@ -183,7 +183,7 @@
// use QMap here, not QHash. as we need the sorting functionality
QMap<uint, ResourcePtr> sorted;

- foreach (const ResourcePtr &i, items) {
+ for (const ResourcePtr &i : items) {
QString numstr = i->property(itemIndex)->asString();
bool ok = false;
uint num = numstr.toUInt(&ok);
@@ -195,7 +195,7 @@
SequencePtr seq = model.createSequence();
model.addStatement(channels.first(), RSSVocab::self()->items(), seq);

- foreach (const ResourcePtr &i, sorted) {
+ for (const ResourcePtr &i : qAsConst(sorted)) {
seq->append(i);
// add rdf:about (type)
model.addStatement(i, RDFVocab::self()->type(),
RSSVocab::self()->item());


< Previous Next >
This Thread
  • No further messages