Hello community,

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

Package is "kparts"

Fri Apr 19 21:23:51 2019 rev:64 rq:695243 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kparts/kparts.changes    2019-03-21 
09:47:46.582877135 +0100
+++ /work/SRC/openSUSE:Factory/.kparts.new.5536/kparts.changes  2019-04-19 
21:23:52.503835323 +0200
@@ -1,0 +2,11 @@
+Sun Apr 14 20:21:44 UTC 2019 - [email protected]
+
+- 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:
+  * [kparts] compile without foreach
+  * [KParts] Fix compilation for Qt 5.13
+
+-------------------------------------------------------------------

Old:
----
  kparts-5.56.0.tar.xz

New:
----
  kparts-5.57.0.tar.xz

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

Other differences:
------------------
++++++ kparts.spec ++++++
--- /var/tmp/diff_new_pack.38Ql5y/_old  2019-04-19 21:23:53.695836842 +0200
+++ /var/tmp/diff_new_pack.38Ql5y/_new  2019-04-19 21:23:53.727836882 +0200
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5Parts5
-%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:           kparts
-Version:        5.56.0
+Version:        5.57.0
 Release:        0
 Summary:        Plugin framework for user interface components
 License:        LGPL-2.1-or-later

++++++ kparts-5.56.0.tar.xz -> kparts-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/.gitignore new/kparts-5.57.0/.gitignore
--- old/kparts-5.56.0/.gitignore        1970-01-01 01:00:00.000000000 +0100
+++ new/kparts-5.57.0/.gitignore        2019-04-07 09:31:12.000000000 +0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/CMakeLists.txt 
new/kparts-5.57.0/CMakeLists.txt
--- old/kparts-5.56.0/CMakeLists.txt    2019-03-02 14:46:15.000000000 +0100
+++ new/kparts-5.57.0/CMakeLists.txt    2019-04-07 09:31:12.000000000 +0200
@@ -1,11 +1,11 @@
 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(KParts VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.56.0  NO_MODULE)
+find_package(ECM 5.57.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -53,7 +53,7 @@
     ki18n_install(po)
 endif()
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
-
+add_definitions(-DQT_NO_FOREACH)
 add_subdirectory( src )
 add_subdirectory(templates)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/po/id/kparts5.po 
new/kparts-5.57.0/po/id/kparts5.po
--- old/kparts-5.56.0/po/id/kparts5.po  2019-03-02 14:46:15.000000000 +0100
+++ new/kparts-5.57.0/po/id/kparts5.po  2019-04-07 09:31:12.000000000 +0200
@@ -16,7 +16,7 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Lokalize 2.0\n"
 
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/po/te/kparts5.po 
new/kparts-5.57.0/po/te/kparts5.po
--- old/kparts-5.56.0/po/te/kparts5.po  2019-03-02 14:46:15.000000000 +0100
+++ new/kparts-5.57.0/po/te/kparts5.po  2019-04-07 09:31:12.000000000 +0200
@@ -22,8 +22,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Generator: Lokalize 1.5\n"
-"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : "
-"4;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/po/zh_CN/kparts5.po 
new/kparts-5.57.0/po/zh_CN/kparts5.po
--- old/kparts-5.56.0/po/zh_CN/kparts5.po       2019-03-02 14:46:15.000000000 
+0100
+++ new/kparts-5.57.0/po/zh_CN/kparts5.po       2019-04-07 09:31:12.000000000 
+0200
@@ -15,7 +15,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-08-16 09:05+0200\n"
-"PO-Revision-Date: 2019-02-20 23:16\n"
+"PO-Revision-Date: 2019-03-07 09:22\n"
 "Last-Translator: guoyunhe <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/src/browserrun.cpp 
new/kparts-5.57.0/src/browserrun.cpp
--- old/kparts-5.56.0/src/browserrun.cpp        2019-03-02 14:46:15.000000000 
+0100
+++ new/kparts-5.57.0/src/browserrun.cpp        2019-04-07 09:31:12.000000000 
+0200
@@ -430,7 +430,7 @@
     QFileDialog *dlg = new QFileDialog(window);
     dlg->setAcceptMode(QFileDialog::AcceptSave);
     dlg->setWindowTitle(i18n("Save As"));
-    dlg->setConfirmOverwrite(true);
+    dlg->setOption(QFileDialog::DontConfirmOverwrite, false);
 
     QString name;
     if (!suggestedFileName.isEmpty()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/src/partmanager.cpp 
new/kparts-5.57.0/src/partmanager.cpp
--- old/kparts-5.56.0/src/partmanager.cpp       2019-03-02 14:46:15.000000000 
+0100
+++ new/kparts-5.57.0/src/partmanager.cpp       2019-04-07 09:31:12.000000000 
+0200
@@ -131,12 +131,12 @@
 
 PartManager::~PartManager()
 {
-    foreach (const QWidget *w, d->m_managedTopLevelWidgets) {
+    for (const QWidget *w : qAsConst(d->m_managedTopLevelWidgets)) {
         disconnect(w, &QWidget::destroyed,
                    this, &PartManager::slotManagedTopLevelWidgetDestroyed);
     }
 
-    foreach (Part *it, d->m_parts) {
+    for (Part *it : qAsConst(d->m_parts)) {
         it->setManager(nullptr);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kparts-5.56.0/src/plugin.cpp 
new/kparts-5.57.0/src/plugin.cpp
--- old/kparts-5.56.0/src/plugin.cpp    2019-03-02 14:46:15.000000000 +0100
+++ new/kparts-5.57.0/src/plugin.cpp    2019-04-07 09:31:12.000000000 +0200
@@ -92,8 +92,9 @@
     QMap<QString, QStringList> sortedPlugins;
 
     const QStringList dirs = 
QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, componentName + 
QStringLiteral("/kpartplugins"), QStandardPaths::LocateDirectory);
-    Q_FOREACH (const QString &dir, dirs) {
-        Q_FOREACH (const QString &file, 
QDir(dir).entryList(QStringList(QStringLiteral("*.rc")))) {
+    for (const QString &dir : dirs) {
+        const auto rcfiles = 
QDir(dir).entryList(QStringList(QStringLiteral("*.rc")));
+        for (const QString &file : rcfiles) {
             const QFileInfo fInfo(dir + QLatin1Char('/') + file);
             QMap<QString, QStringList>::Iterator mapIt = 
sortedPlugins.find(fInfo.fileName());
             if (mapIt == sortedPlugins.end()) {


Reply via email to