Hello community,
here is the log from the commit of package kdeclarative for openSUSE:Factory checked in at 2018-10-22 11:10:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old)
and /work/SRC/openSUSE:Factory/.kdeclarative.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdeclarative"
Mon Oct 22 11:10:24 2018 rev:60 rq:642307 version:5.51.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes 2018-10-01 08:05:15.550389930 +0200
+++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes 2018-10-22 11:10:26.403918735 +0200
@@ -1,0 +2,16 @@
+Tue Oct 16 08:02:00 UTC 2018 - Luca Beltrame
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Mon Oct 15 11:51:48 UTC 2018 - lbeltrame@kde.org
+
+- Update to 5.51.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.51.0.php
+- Changes since 5.50.0:
+ * Avoid potential detach on range-loops with non-const Qt containers
+ * Fix minor EBN issues
+
+-------------------------------------------------------------------
Old:
----
kdeclarative-5.50.0.tar.xz
New:
----
kdeclarative-5.51.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdeclarative.spec ++++++
--- /var/tmp/diff_new_pack.Z7hdso/_old 2018-10-22 11:10:26.943918296 +0200
+++ /var/tmp/diff_new_pack.Z7hdso/_new 2018-10-22 11:10:26.943918296 +0200
@@ -12,24 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libKF5Declarative5
-%define _tar_path 5.50
+%define _tar_path 5.51
# 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: kdeclarative
-Version: 5.50.0
+Version: 5.51.0
Release: 0
Summary: Integration of QML and KDE workspaces
License: LGPL-2.1-or-later
Group: System/GUI/KDE
-URL: http://www.kde.org
+URL: https://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: cmake >= 3.0
++++++ kdeclarative-5.50.0.tar.xz -> kdeclarative-5.51.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/CMakeLists.txt new/kdeclarative-5.51.0/CMakeLists.txt
--- old/kdeclarative-5.50.0/CMakeLists.txt 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/CMakeLists.txt 2018-10-08 10:12:05.000000000 +0200
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.50.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.50.0") # handled by release scripts
+set(KF5_VERSION "5.51.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.51.0") # handled by release scripts
project(KDeclarative VERSION ${KF5_VERSION})
# Dependencies
include(FeatureSummary)
-find_package(ECM 5.50.0 NO_MODULE)
+find_package(ECM 5.51.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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/autotests/modeltest.cpp new/kdeclarative-5.51.0/autotests/modeltest.cpp
--- old/kdeclarative-5.50.0/autotests/modeltest.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/autotests/modeltest.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -40,10 +40,10 @@
****************************************************************************/
-#include <QtGui>
-
#include "modeltest.h"
+#include <QtGui>
+
#include <QtTest>
//#undef Q_ASSERT
//#define Q_ASSERT QVERIFY
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/autotests/quickviewsharedengine.cpp new/kdeclarative-5.51.0/autotests/quickviewsharedengine.cpp
--- old/kdeclarative-5.50.0/autotests/quickviewsharedengine.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/autotests/quickviewsharedengine.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -30,6 +30,7 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+#include
#include
#include <QSignalSpy>
#include
@@ -40,7 +41,6 @@
#include <QWindow>
#include <QDebug>
#include
-#include
class QuickViewSharedEngineTest : public QQmlDataTest
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/po/hu/kdeclarative5.po new/kdeclarative-5.51.0/po/hu/kdeclarative5.po
--- old/kdeclarative-5.50.0/po/hu/kdeclarative5.po 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/po/hu/kdeclarative5.po 2018-10-08 10:12:05.000000000 +0200
@@ -1,20 +1,21 @@
# Kiszel Kristóf , 2010.
# Kristóf Kiszel , 2010, 2011, 2012, 2014.
# Balázs Úr , 2012, 2013.
+# Kristof Kiszel , 2018.
msgid ""
msgstr ""
"Project-Id-Version: KDE 4.4\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-08-16 09:05+0200\n"
-"PO-Revision-Date: 2014-04-22 14:52+0200\n"
-"Last-Translator: Kristóf Kiszel \n"
+"PO-Revision-Date: 2018-10-06 10:56+0200\n"
+"Last-Translator: Kristof Kiszel \n"
"Language-Team: Hungarian \n"
"Language: hu\n"
"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"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -29,13 +30,12 @@
#: kpackagelauncherqml/main.cpp:43
#, kde-format
msgid "KPackage QML application shell"
-msgstr ""
+msgstr "KPackage QML alkalmazáshéj"
#: kpackagelauncherqml/main.cpp:50
-#, fuzzy, kde-format
-#| msgid "defines the application font"
+#, kde-format
msgid "The unique name of the application (mandatory)"
-msgstr "beállítja az alkalmazás betűtípusát"
+msgstr "Az alkalmazás egyedi neve (kötelező)"
#: qmlcontrols/kquickcontrols/KeySequenceItem.qml:38
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/po/zh_CN/kdeclarative5.po new/kdeclarative-5.51.0/po/zh_CN/kdeclarative5.po
--- old/kdeclarative-5.50.0/po/zh_CN/kdeclarative5.po 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/po/zh_CN/kdeclarative5.po 2018-10-08 10:12:05.000000000 +0200
@@ -15,8 +15,8 @@
"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: 2018-08-30 13:09\n"
-"Last-Translator: guoyunhebrave \n"
+"PO-Revision-Date: 2018-09-28 19:47\n"
+"Last-Translator: guoyunhe \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/kdeclarative/qmlobject.h new/kdeclarative-5.51.0/src/kdeclarative/qmlobject.h
--- old/kdeclarative-5.50.0/src/kdeclarative/qmlobject.h 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/kdeclarative/qmlobject.h 2018-10-08 10:12:05.000000000 +0200
@@ -152,7 +152,7 @@
* In this case it will be possible to assign new objects in the main engine context
* before the main component gets initialized.
* In that case it will be possible to access it immediately from the QML code.
- * The initialization will either be completed automatically asyncronously
+ * The initialization will either be completed automatically asynchronously
* or explicitly by calling completeInitialization()
*
* @param delay if true the initialization of the QML file will be delayed
@@ -208,7 +208,7 @@
/**
* Creates and returns an object based on the provided QQmlComponent
- * with the same QQmlEngine and the same root context as the amin object,
+ * with the same QQmlEngine and the same root context as the admin object,
* that will be the parent of the newly created object
* @param component the component we want to instantiate
* @param context The QQmlContext in which we will create the object,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/kpackagelauncherqml/main.cpp new/kdeclarative-5.51.0/src/kpackagelauncherqml/main.cpp
--- old/kdeclarative-5.50.0/src/kpackagelauncherqml/main.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/kpackagelauncherqml/main.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -88,10 +88,11 @@
// About data
KAboutData aboutData(data.pluginId(), data.name(), data.version(), data.description(), KAboutLicense::byKeyword(data.license()).key());
- for (auto author : data.authors()) {
+ const auto authors = data.authors();
+ for (auto& author : authors) {
aboutData.addAuthor(author.name(), author.task(), author.emailAddress(), author.webAddress(), author.ocsUsername());
}
- // We assume that desktop file in applicaitons dir is named similar as
+ // We assume that desktop file in applications dir is named similar as
// the pluginId, this is required to get icons working on wayland for example
aboutData.setDesktopFileName(data.pluginId());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kcmcontrols/qml/GridView.qml new/kdeclarative-5.51.0/src/qmlcontrols/kcmcontrols/qml/GridView.qml
--- old/kdeclarative-5.50.0/src/qmlcontrols/kcmcontrols/qml/GridView.qml 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kcmcontrols/qml/GridView.qml 2018-10-08 10:12:05.000000000 +0200
@@ -23,8 +23,8 @@
/**
* A ScrollView containing a GridView, with the default behavior about
- * sizing and background as recomended by the user interface guidelines
- * For most KControl modules, it's recomended to use instead the GridViewKCM
+ * sizing and background as recommended by the user interface guidelines
+ * For most KControl modules, it's recommended to use instead the GridViewKCM
* component as the root element of your module.
* @see GridViewKCM
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kcmcontrols/qml/ScrollView.qml new/kdeclarative-5.51.0/src/qmlcontrols/kcmcontrols/qml/ScrollView.qml
--- old/kdeclarative-5.50.0/src/qmlcontrols/kcmcontrols/qml/ScrollView.qml 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kcmcontrols/qml/ScrollView.qml 2018-10-08 10:12:05.000000000 +0200
@@ -23,8 +23,8 @@
/**
* A ScrollView containing a GridView, with the default behavior about
- * sizing and background as recomended by the user interface guidelines
- * For most KControl modules, it's recomended to use instead the GridViewKCM
+ * sizing and background as recommended by the user interface guidelines
+ * For most KControl modules, it's recommended to use instead the GridViewKCM
* component as the root element of your module.
* @code
* import org.kde.kcm 1.2 as KCM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.h new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.h
--- old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.h 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.h 2018-10-08 10:12:05.000000000 +0200
@@ -19,8 +19,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef QTEXTRACOMPONENTSPLUGIN_H
-#define QTEXTRACOMPONENTSPLUGIN_H
+#ifndef KQUICKCONTROLSADDONSPLUGIN_H
+#define KQUICKCONTROLSADDONSPLUGIN_H
#include <QQmlExtensionPlugin>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/mouseeventlistener.h new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/mouseeventlistener.h
--- old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/mouseeventlistener.h 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/mouseeventlistener.h 2018-10-08 10:12:05.000000000 +0200
@@ -25,10 +25,10 @@
/**
* This item spies on mouse events from all child objects including child MouseAreas regardless
- * of whether the child MouseArea propegates events. It does not accept the event.
+ * of whether the child MouseArea propagates events. It does not accept the event.
*
* In addition unlike MouseArea events include the mouse position in global co-ordinates and provides
- * the sceen the mouse is in.
+ * the screen the mouse is in.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp
--- old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -138,7 +138,7 @@
m_max = std::numeric_limits<qreal>::min();
m_min = std::numeric_limits<qreal>::max();
- for (auto v : m_values) {
+ for (auto v : qAsConst(m_values)) {
if (v > m_max) {
m_max = v;
} else if (v < m_min) {
@@ -323,7 +323,7 @@
m_sampleSize = size;
m_mutex.lock();
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
data->setSampleSize(size);
}
m_mutex.unlock();
@@ -462,7 +462,7 @@
int i = 0;
m_mutex.lock();
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
data->addSample(value.value(i));
++i;
}
@@ -600,7 +600,7 @@
int roundedHeight = qRound(height());
int roundedWidth = qRound(width());
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
// Interpolate the data set
const QPainterPath path = interpolate(data->m_normalizedValues, 0, roundedWidth);
@@ -673,7 +673,7 @@
QPair oldCount;
m_mutex.lock();
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
color2 = data->color();
color2.setAlphaF(0.60);
// Draw the graph
@@ -869,7 +869,7 @@
} while (i != m_plotData.constBegin());
} else {
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
data->m_normalizedValues.clear();
data->m_normalizedValues = data->values().toVector();
//global max and global min
@@ -900,7 +900,7 @@
//normalizebased on global max and min
m_mutex.lock();
- for (auto data : m_plotData) {
+ for (auto data : qAsConst(m_plotData)) {
for (int i = 0; i < data->values().count(); ++i) {
data->m_normalizedValues[i] = (data->m_normalizedValues.value(i) - adjustedMin) * adjust;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/plotter.h new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/plotter.h
--- old/kdeclarative-5.50.0/src/qmlcontrols/kquickcontrolsaddons/plotter.h 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kquickcontrolsaddons/plotter.h 2018-10-08 10:12:05.000000000 +0200
@@ -51,7 +51,7 @@
/**
* a Plotter can draw a graph of values arriving from an arbitrary number of data sources
- * to show their evoluton in time.
+ * to show their evolution in time.
* an example can be a plot of the network transfer speed or CPU temperature over time.
* Multiple plots can be fitted in the same graph, either stacked or intersected.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/qmlcontrols/kwindowsystemplugin/kwindowsystemproxy.cpp new/kdeclarative-5.51.0/src/qmlcontrols/kwindowsystemplugin/kwindowsystemproxy.cpp
--- old/kdeclarative-5.50.0/src/qmlcontrols/kwindowsystemplugin/kwindowsystemproxy.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/qmlcontrols/kwindowsystemplugin/kwindowsystemproxy.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -16,13 +16,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "kwindowsystemproxy.h"
+
#include <QMetaMethod>
#include <QWindow>
#include
-#include "kwindowsystemproxy.h"
-
KWindowSystemProxy::KWindowSystemProxy(QObject *parent)
: QObject(parent)
, m_initialized(false)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/quickaddons/configmodule.cpp new/kdeclarative-5.51.0/src/quickaddons/configmodule.cpp
--- old/kdeclarative-5.50.0/src/quickaddons/configmodule.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/quickaddons/configmodule.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -89,7 +89,8 @@
{
KAboutData *aboutData = new KAboutData(metaData.pluginId(), metaData.name(), metaData.version(), metaData.description(), KAboutLicense::byKeyword(metaData.license()).key());
- for (auto author : metaData.authors()) {
+ const auto authors = metaData.authors();
+ for (auto& author : authors) {
aboutData->addAuthor(author.name(), author.task(), author.emailAddress(), author.webAddress(), author.ocsUsername());
}
setAboutData(aboutData);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/quickaddons/configmodule.h new/kdeclarative-5.51.0/src/quickaddons/configmodule.h
--- old/kdeclarative-5.50.0/src/quickaddons/configmodule.h 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/quickaddons/configmodule.h 2018-10-08 10:12:05.000000000 +0200
@@ -60,7 +60,7 @@
* the module author.
*
* To write a config module, you have to create a C++ library
- * and an accompaining QML user interface.
+ * and an accompaning QML user interface.
* The library must contain a factory function like the following:
*
* \code
@@ -475,7 +475,7 @@
void rootOnlyMessageChanged();
/**
- * Emits this signal whenever the the root only message gets used or discarded.
+ * Emits this signal whenever the root only message gets used or discarded.
*/
void useRootOnlyMessageChanged();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.50.0/src/quickaddons/quickviewsharedengine.cpp new/kdeclarative-5.51.0/src/quickaddons/quickviewsharedengine.cpp
--- old/kdeclarative-5.50.0/src/quickaddons/quickviewsharedengine.cpp 2018-09-02 21:16:38.000000000 +0200
+++ new/kdeclarative-5.51.0/src/quickaddons/quickviewsharedengine.cpp 2018-10-08 10:12:05.000000000 +0200
@@ -28,7 +28,6 @@
#include <QQmlEngine>
#include <QQmlContext>
#include <QQuickItem>
-#include <QQmlEngine>
#include <QQmlExpression>
#include <QQmlProperty>