Hello community,

here is the log from the commit of package kplotting for openSUSE:Factory 
checked in at 2015-11-24 22:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kplotting (Old)
 and      /work/SRC/openSUSE:Factory/.kplotting.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kplotting"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kplotting/kplotting.changes      2015-10-19 
22:26:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kplotting.new/kplotting.changes 2015-11-24 
22:24:48.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov  8 17:03:18 UTC 2015 - [email protected]
+
+- Update to 5.16.0 (boo#955067)
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.16.0.php
+
+-------------------------------------------------------------------

Old:
----
  kplotting-5.15.0.tar.xz

New:
----
  kplotting-5.16.0.tar.xz

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

Other differences:
------------------
++++++ kplotting.spec ++++++
--- /var/tmp/diff_new_pack.c6cu4L/_old  2015-11-24 22:24:48.000000000 +0100
+++ /var/tmp/diff_new_pack.c6cu4L/_new  2015-11-24 22:24:48.000000000 +0100
@@ -17,9 +17,9 @@
 
 
 %define lname   libKF5Plotting5
-%define _tar_path 5.15
+%define _tar_path 5.16
 Name:           kplotting
-Version:        5.15.0
+Version:        5.16.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  extra-cmake-modules >= %{_tar_path}

++++++ kplotting-5.15.0.tar.xz -> kplotting-5.16.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/CMakeLists.txt 
new/kplotting-5.16.0/CMakeLists.txt
--- old/kplotting-5.15.0/CMakeLists.txt 2015-10-03 12:29:58.000000000 +0200
+++ new/kplotting-5.16.0/CMakeLists.txt 2015-11-08 12:14:43.000000000 +0100
@@ -3,7 +3,7 @@
 project(KPlotting)
 
 include(FeatureSummary)
-find_package(ECM 5.15.0  NO_MODULE)
+find_package(ECM 5.16.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)
 
@@ -23,7 +23,7 @@
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
 
-set(KF5_VERSION "5.15.0") # handled by release scripts
+set(KF5_VERSION "5.16.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KPLOTTING
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kplotting_version.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/autotests/kplotaxistest.cpp 
new/kplotting-5.16.0/autotests/kplotaxistest.cpp
--- old/kplotting-5.15.0/autotests/kplotaxistest.cpp    2015-10-03 
12:29:58.000000000 +0200
+++ new/kplotting-5.16.0/autotests/kplotaxistest.cpp    2015-11-08 
12:14:43.000000000 +0100
@@ -28,7 +28,7 @@
 private Q_SLOTS:
     void initTestCase()
     {
-        m_kPlotAxis = new KPlotAxis(QString::fromLatin1("label"));
+        m_kPlotAxis = new KPlotAxis(QLatin1String("label"));
     }
 
     void cleanupTestCase()
@@ -58,7 +58,7 @@
     {
         QCOMPARE(m_kPlotAxis->label(), QString::fromLatin1("label"));
 
-        m_kPlotAxis->setLabel(QString::fromLatin1("newLabel"));
+        m_kPlotAxis->setLabel(QStringLiteral("newLabel"));
         QCOMPARE(m_kPlotAxis->label(), QString::fromLatin1("newLabel"));
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/autotests/kplotobjecttest.cpp 
new/kplotting-5.16.0/autotests/kplotobjecttest.cpp
--- old/kplotting-5.15.0/autotests/kplotobjecttest.cpp  2015-10-03 
12:29:58.000000000 +0200
+++ new/kplotting-5.16.0/autotests/kplotobjecttest.cpp  2015-11-08 
12:14:43.000000000 +0100
@@ -170,7 +170,7 @@
         QCOMPARE(m_kPlotObject->points().size(), 0);
 
         // test: void KPlotObject::addPoint( const QPointF &p, const QString 
&label, double barWidth )
-        m_kPlotObject->addPoint(QPointF(1, 0), QString::fromLatin1("label1"), 
1.0);
+        m_kPlotObject->addPoint(QPointF(1, 0), QStringLiteral("label1"), 1.0);
         QCOMPARE(m_kPlotObject->points().size(), 1);
         KPlotPoint *p1 = m_kPlotObject->points().at(0);
         QCOMPARE(p1->position(), QPointF(1, 0));
@@ -178,14 +178,14 @@
         QCOMPARE(p1->barWidth(), 1.0);
 
         // test void KPlotObject::addPoint( KPlotPoint *p )
-        KPlotPoint *p2 = new KPlotPoint(2, 2, QString::fromLatin1("label2"), 
2.0);
+        KPlotPoint *p2 = new KPlotPoint(2, 2, QLatin1String("label2"), 2.0);
         m_kPlotObject->addPoint(p2);
         QCOMPARE(m_kPlotObject->points().size(), 2);
         KPlotPoint *p2List = m_kPlotObject->points().at(1);
         QCOMPARE(p2, p2List);
 
         // test void KPlotObject::addPoint( double x, double y, const QString 
&label, double barWidth )
-        m_kPlotObject->addPoint(3, 3, QString::fromLatin1("label3"), 3.0);
+        m_kPlotObject->addPoint(3, 3, QStringLiteral("label3"), 3.0);
         QCOMPARE(m_kPlotObject->points().size(), 3);
         KPlotPoint *p3 = m_kPlotObject->points().at(2);
         QCOMPARE(p3->position(), QPointF(3, 3));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/autotests/kplotpointtest.cpp 
new/kplotting-5.16.0/autotests/kplotpointtest.cpp
--- old/kplotting-5.15.0/autotests/kplotpointtest.cpp   2015-10-03 
12:29:58.000000000 +0200
+++ new/kplotting-5.16.0/autotests/kplotpointtest.cpp   2015-11-08 
12:14:43.000000000 +0100
@@ -29,8 +29,8 @@
 
     void testConstructor()
     {
-        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, 
QString::fromLatin1("label"), 5.0);
-        KPlotPoint *p2 = new KPlotPoint(QPointF(2.0, 3.0), 
QString::fromLatin1("label"), 5.0);
+        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, QLatin1String("label"), 5.0);
+        KPlotPoint *p2 = new KPlotPoint(QPointF(2.0, 3.0), 
QLatin1String("label"), 5.0);
 
         QCOMPARE(p1->x(), 2.0);
         QCOMPARE(p2->x(), 2.0);
@@ -50,7 +50,7 @@
 
     void testPosition()
     {
-        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, 
QString::fromLatin1("label"), 5.0);
+        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, QLatin1String("label"), 5.0);
 
         p1->setX(4.0);
         QCOMPARE(p1->x(), 4.0);
@@ -70,9 +70,9 @@
 
     void testLabel()
     {
-        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, 
QString::fromLatin1("label"), 5.0);
+        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, QLatin1String("label"), 5.0);
 
-        p1->setLabel(QString::fromLatin1("newLabel"));
+        p1->setLabel(QStringLiteral("newLabel"));
         QCOMPARE(p1->label(), QString::fromLatin1("newLabel"));
 
         delete p1;
@@ -80,7 +80,7 @@
 
     void testBarWidth()
     {
-        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, 
QString::fromLatin1("label"), 5.0);
+        KPlotPoint *p1 = new KPlotPoint(2.0, 3.0, QLatin1String("label"), 5.0);
 
         p1->setBarWidth(5.0);
         QCOMPARE(p1->barWidth(), 5.0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/examples/testplot_widget.cpp 
new/kplotting-5.16.0/examples/testplot_widget.cpp
--- old/kplotting-5.15.0/examples/testplot_widget.cpp   2015-10-03 
12:29:58.000000000 +0200
+++ new/kplotting-5.16.0/examples/testplot_widget.cpp   2015-11-08 
12:14:43.000000000 +0100
@@ -32,12 +32,12 @@
     vlay = new QVBoxLayout(w);
 
     PlotSelector = new QComboBox(w);
-    PlotSelector->addItem("Points plot");
-    PlotSelector->addItem("Lines plot");
-    PlotSelector->addItem("Bars plot");
-    PlotSelector->addItem("Points plot with labels");
-    PlotSelector->addItem("Points, lines and bars");
-    PlotSelector->addItem("Points, lines and bars with labels");
+    PlotSelector->addItem(QStringLiteral("Points plot"));
+    PlotSelector->addItem(QStringLiteral("Lines plot"));
+    PlotSelector->addItem(QStringLiteral("Bars plot"));
+    PlotSelector->addItem(QStringLiteral("Points plot with labels"));
+    PlotSelector->addItem(QStringLiteral("Points, lines and bars"));
+    PlotSelector->addItem(QStringLiteral("Points, lines and bars with 
labels"));
 
     plot = new KPlotWidget(w);
     plot->setMinimumSize(400, 400);
@@ -79,8 +79,8 @@
         plot->setLimits(-0.1, 6.38, -1.1, 1.1);
         plot->setSecondaryLimits(-5.73, 365.55, -1.1, 1.1);
         plot->axis(KPlotWidget::TopAxis)->setTickLabelsShown(true);
-        plot->axis(KPlotWidget::BottomAxis)->setLabel("Angle [radians]");
-        plot->axis(KPlotWidget::TopAxis)->setLabel("Angle [degrees]");
+        plot->axis(KPlotWidget::BottomAxis)->setLabel(QStringLiteral("Angle 
[radians]"));
+        plot->axis(KPlotWidget::TopAxis)->setLabel(QStringLiteral("Angle 
[degrees]"));
 
         po1 = new KPlotObject(Qt::red,  KPlotObject::Lines, 2);
         po2 = new KPlotObject(Qt::cyan, KPlotObject::Lines, 2);
@@ -104,7 +104,7 @@
         po1->setBarBrush(QBrush(Qt::green, Qt::Dense4Pattern));
 
         for (float x = -6.5; x <= 6.5; x += 0.5) {
-            po1->addPoint(x, 100 * exp(-0.5 * x * x), "", 0.5);
+            po1->addPoint(x, 100 * exp(-0.5 * x * x), QLatin1String(""), 0.5);
         }
 
         plot->addPlotObject(po1);
@@ -119,14 +119,14 @@
         po1 = new KPlotObject(Qt::yellow, KPlotObject::Points, 10, 
KPlotObject::Star);
         po1->setLabelPen(QPen(Qt::green));
 
-        po1->addPoint(0.0,  0.8, "North");
-        po1->addPoint(0.57,  0.57, "Northeast");
-        po1->addPoint(0.8,  0.0, "East");
-        po1->addPoint(0.57, -0.57, "Southeast");
-        po1->addPoint(0.0, -0.8, "South");
-        po1->addPoint(-0.57, -0.57, "Southwest");
-        po1->addPoint(-0.8,  0.0, "West");
-        po1->addPoint(-0.57,  0.57, "Northwest");
+        po1->addPoint(0.0,  0.8, QStringLiteral("North"));
+        po1->addPoint(0.57,  0.57, QStringLiteral("Northeast"));
+        po1->addPoint(0.8,  0.0, QStringLiteral("East"));
+        po1->addPoint(0.57, -0.57, QStringLiteral("Southeast"));
+        po1->addPoint(0.0, -0.8, QStringLiteral("South"));
+        po1->addPoint(-0.57, -0.57, QStringLiteral("Southwest"));
+        po1->addPoint(-0.8,  0.0, QStringLiteral("West"));
+        po1->addPoint(-0.57,  0.57, QStringLiteral("Northwest"));
 
         plot->addPlotObject(po1);
 
@@ -171,14 +171,14 @@
         po1->setLinePen(QPen(Qt::red, 3.0, Qt::DashDotLine));
         po1->setBarBrush(QBrush(Qt::blue, Qt::BDiagPattern));
 
-        po1->addPoint(-1.75, 0.5, "A");
-        po1->addPoint(-1.25, 1.0, "B");
-        po1->addPoint(-0.75, 1.25, "C");
-        po1->addPoint(-0.25, 1.5, "D");
-        po1->addPoint(0.25, 2.5, "E");
-        po1->addPoint(0.75, 3.0, "F");
-        po1->addPoint(1.25, 1.5, "G");
-        po1->addPoint(1.75, 1.75, "H");
+        po1->addPoint(-1.75, 0.5, QStringLiteral("A"));
+        po1->addPoint(-1.25, 1.0, QStringLiteral("B"));
+        po1->addPoint(-0.75, 1.25, QStringLiteral("C"));
+        po1->addPoint(-0.25, 1.5, QStringLiteral("D"));
+        po1->addPoint(0.25, 2.5, QStringLiteral("E"));
+        po1->addPoint(0.75, 3.0, QStringLiteral("F"));
+        po1->addPoint(1.25, 1.5, QStringLiteral("G"));
+        po1->addPoint(1.75, 1.75, QStringLiteral("H"));
 
         plot->addPlotObject(po1);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kplotting-5.15.0/src/kplotaxis.cpp 
new/kplotting-5.16.0/src/kplotaxis.cpp
--- old/kplotting-5.15.0/src/kplotaxis.cpp      2015-10-03 12:29:58.000000000 
+0200
+++ new/kplotting-5.16.0/src/kplotaxis.cpp      2015-11-08 12:14:43.000000000 
+0100
@@ -188,10 +188,10 @@
 
         int h = int(val);
         int m = int(60.*(val - h));
-        return QString::fromLatin1("%1:%2").arg(h, 2, 10, 
QLatin1Char('0')).arg(m, 2, 10, QLatin1Char('0'));
+        return QStringLiteral("%1:%2").arg(h, 2, 10, QLatin1Char('0')).arg(m, 
2, 10, QLatin1Char('0'));
     }
 
-    return QString::fromLatin1("%1").arg(val, d->m_labelFieldWidth, 
d->m_labelFmt, d->m_labelPrec);
+    return QStringLiteral("%1").arg(val, d->m_labelFieldWidth, d->m_labelFmt, 
d->m_labelPrec);
 }
 
 QList< double > KPlotAxis::majorTickMarks() const


Reply via email to