Hello community,

here is the log from the commit of package kjs for openSUSE:Leap:15.2 checked 
in at 2020-05-12 11:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/kjs (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.kjs.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kjs"

Tue May 12 11:38:50 2020 rev:63 rq:802185 version:5.70.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kjs/kjs.changes        2020-04-21 
19:05:24.143729827 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.kjs.new.2738/kjs.changes      2020-05-12 
11:39:21.336621014 +0200
@@ -1,0 +2,12 @@
+Sun May  3 09:40:05 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.70.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.70.0
+- Changes since 5.69.0:
+  * Implement UString operator= to make gcc happy
+  * Silence compiler warning about copy of non-trivial data.
+  * [KJS] Port QRegExp to QRegularExpression
+
+-------------------------------------------------------------------

Old:
----
  kjs-5.69.0.tar.xz
  kjs-5.69.0.tar.xz.sig

New:
----
  kjs-5.70.0.tar.xz
  kjs-5.70.0.tar.xz.sig

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

Other differences:
------------------
++++++ kjs.spec ++++++
--- /var/tmp/diff_new_pack.s8cL9k/_old  2020-05-12 11:39:21.668621712 +0200
+++ /var/tmp/diff_new_pack.s8cL9k/_new  2020-05-12 11:39:21.668621712 +0200
@@ -17,14 +17,14 @@
 
 
 %define sonum   5
-%define _tar_path 5.69
+%define _tar_path 5.70
 # 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:           kjs
-Version:        5.69.0
+Version:        5.70.0
 Release:        0
 Summary:        KDE Javascript engine
 License:        LGPL-2.1-or-later


++++++ kjs-5.69.0.tar.xz -> kjs-5.70.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.69.0/CMakeLists.txt 
new/kjs-5.70.0/CMakeLists.txt
--- old/kjs-5.69.0/CMakeLists.txt       2020-04-05 01:01:51.000000000 +0200
+++ new/kjs-5.70.0/CMakeLists.txt       2020-05-03 00:20:43.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.69.0") # handled by release scripts
+set(KF5_VERSION "5.70.0") # handled by release scripts
 project(KJS VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.69.0  NO_MODULE)
+find_package(ECM 5.70.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/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/kjs-5.69.0/autotests/ecmatest.cpp 
new/kjs-5.70.0/autotests/ecmatest.cpp
--- old/kjs-5.69.0/autotests/ecmatest.cpp       2020-04-05 01:01:51.000000000 
+0200
+++ new/kjs-5.70.0/autotests/ecmatest.cpp       2020-05-03 00:20:43.000000000 
+0200
@@ -29,7 +29,7 @@
 {
     unsigned int len = d.length();
     KJS::UChar *dat = static_cast<KJS::UChar *>(fastMalloc(sizeof(KJS::UChar) 
* len));
-    memcpy(dat, d.unicode(), len * sizeof(KJS::UChar));
+    memcpy(dat, reinterpret_cast<const void*>(d.unicode()), len * 
sizeof(KJS::UChar));
     m_rep = KJS::UString::Rep::create(dat, len);
 }
 
@@ -190,7 +190,7 @@
             QWARN(errmsg.constData());
         } else {
             expectedBroken = 
QString::fromLatin1(brokenF.readAll().constData()).split(QLatin1Char('\n'))
-                             .filter(QRegExp("^[^#].*"));
+                             
.filter(QRegularExpression(QStringLiteral("^[^#].*")));
         }
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.69.0/autotests/kjsapitest.cpp 
new/kjs-5.70.0/autotests/kjsapitest.cpp
--- old/kjs-5.69.0/autotests/kjsapitest.cpp     2020-04-05 01:01:51.000000000 
+0200
+++ new/kjs-5.70.0/autotests/kjsapitest.cpp     2020-05-03 00:20:43.000000000 
+0200
@@ -26,6 +26,8 @@
 
 #include "qtest.h"
 
+#include <QRegularExpression>
+
 class KJSApiTest : public QObject
 {
     Q_OBJECT
@@ -123,8 +125,8 @@
     QVERIFY(!norm.isEmpty());
     QStringList lines = norm.split('\n');
     QVERIFY(lines.size() >= 2); // ### imprecise
-    int fooLine = lines.indexOf(QRegExp(" *foo\\(\\);"));
-    int barLine = lines.indexOf(QRegExp(" *bar\\(\\);"));
+    int fooLine = lines.indexOf(QRegularExpression(QStringLiteral(" 
*foo\\(\\);")));
+    int barLine = lines.indexOf(QRegularExpression(QStringLiteral(" 
*bar\\(\\);")));
     QVERIFY(fooLine >= 0);
     QVERIFY(barLine > fooLine);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.69.0/src/kjs/ustring.h 
new/kjs-5.70.0/src/kjs/ustring.h
--- old/kjs-5.69.0/src/kjs/ustring.h    2020-04-05 01:01:51.000000000 +0200
+++ new/kjs-5.70.0/src/kjs/ustring.h    2020-05-03 00:20:43.000000000 +0200
@@ -261,6 +261,7 @@
      * Copy constructor. Makes a shallow copy only.
      */
     UString(const UString &s) : m_rep(s.m_rep) {}
+    UString &operator=(const UString &s) { m_rep = s.m_rep; return *this; }
 
     UString(const Vector<UChar> &buffer);
 


Reply via email to