Hello community,

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

Package is "kcoreaddons"

Tue May 12 11:38:07 2020 rev:63 rq:802157 version:5.70.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kcoreaddons/kcoreaddons.changes        
2020-04-21 19:04:42.395644767 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.kcoreaddons.new.2738/kcoreaddons.changes      
2020-05-12 11:38:54.564564761 +0200
@@ -1,0 +2,13 @@
+Sun May  3 09:39:48 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:
+  * API dox: use ulong typedef with Q_PROPERTY(percent) to avoid doxygen bug
+  * API dox: document Q_DECLARE_FLAGS-based flags
+  * Mark ancient KLibFactory typedef as deprecated
+  * [KJobUiDelegate] Add AutoHandlingEnabled flag
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ kcoreaddons.spec ++++++
--- /var/tmp/diff_new_pack.ypDL8I/_old  2020-05-12 11:38:54.924565517 +0200
+++ /var/tmp/diff_new_pack.ypDL8I/_new  2020-05-12 11:38:54.924565517 +0200
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5CoreAddons5
-%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:           kcoreaddons
-Version:        5.69.0
+Version:        5.70.0
 Release:        0
 Summary:        Utilities for core application functionality and accessing the 
OS
 License:        LGPL-2.1-or-later


++++++ kcoreaddons-5.69.0.tar.xz -> kcoreaddons-5.70.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/CMakeLists.txt 
new/kcoreaddons-5.70.0/CMakeLists.txt
--- old/kcoreaddons-5.69.0/CMakeLists.txt       2020-04-05 00:56:29.000000000 
+0200
+++ new/kcoreaddons-5.70.0/CMakeLists.txt       2020-05-03 00:16:16.000000000 
+0200
@@ -1,10 +1,10 @@
 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(KCoreAddons VERSION ${KF5_VERSION})
 
 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/kcoreaddons-5.69.0/po/en_GB/kcoreaddons5_qt.po 
new/kcoreaddons-5.70.0/po/en_GB/kcoreaddons5_qt.po
--- old/kcoreaddons-5.69.0/po/en_GB/kcoreaddons5_qt.po  2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/po/en_GB/kcoreaddons5_qt.po  2020-05-03 
00:16:16.000000000 +0200
@@ -10,7 +10,7 @@
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
 "PO-Revision-Date: 2019-12-29 13:33+0000\n"
 "Last-Translator: Steve Allewell <[email protected]>\n"
-"Language-Team: British English <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
 "Language: en_GB\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/po/ko/kcoreaddons5_qt.po 
new/kcoreaddons-5.70.0/po/ko/kcoreaddons5_qt.po
--- old/kcoreaddons-5.69.0/po/ko/kcoreaddons5_qt.po     2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/po/ko/kcoreaddons5_qt.po     2020-05-03 
00:16:16.000000000 +0200
@@ -173,7 +173,7 @@
 #: lib/kaboutdata.cpp:1189
 msgctxt "KAboutData CLI|"
 msgid "Please use https://bugs.kde.org to report bugs."
-msgstr "https://bugs.kde.org 에 버그를 보고해 주십시오."
+msgstr "https://bugs.kde.org 사이트에 버그를 보고해 주십시오."
 
 #: lib/kaboutdata.cpp:1191
 #, qt-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/CMakeLists.txt 
new/kcoreaddons-5.70.0/src/lib/CMakeLists.txt
--- old/kcoreaddons-5.69.0/src/lib/CMakeLists.txt       2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/CMakeLists.txt       2020-05-03 
00:16:16.000000000 +0200
@@ -171,7 +171,7 @@
     GROUP_BASE_NAME KF
     VERSION ${KF5_VERSION}
     DEPRECATED_BASE_VERSION 0
-    DEPRECATION_VERSIONS 4.0 5.0 5.2 5.65 5.67
+    DEPRECATION_VERSIONS 4.0 5.0 5.2 5.65 5.67 5.70
     EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/io/kdirwatch.h 
new/kcoreaddons-5.70.0/src/lib/io/kdirwatch.h
--- old/kcoreaddons-5.69.0/src/lib/io/kdirwatch.h       2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/io/kdirwatch.h       2020-05-03 
00:16:16.000000000 +0200
@@ -61,12 +61,16 @@
 
     /**
     * Available watch modes for directory monitoring
+    * @see WatchModes
     **/
     enum WatchMode {
         WatchDirOnly = 0,  ///< Watch just the specified directory
         WatchFiles = 0x01, ///< Watch also all files contained by the directory
         WatchSubDirs = 0x02 ///< Watch also all the subdirs contained by the 
directory
     };
+    /**
+     * Stores a combination of #WatchMode values.
+     */
     Q_DECLARE_FLAGS(WatchModes, WatchMode)
 
     /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/jobs/kjob.h 
new/kcoreaddons-5.70.0/src/lib/jobs/kjob.h
--- old/kcoreaddons-5.69.0/src/lib/jobs/kjob.h  2020-04-05 00:56:29.000000000 
+0200
+++ new/kcoreaddons-5.70.0/src/lib/jobs/kjob.h  2020-05-03 00:16:16.000000000 
+0200
@@ -78,19 +78,26 @@
     Q_PROPERTY(int error READ error NOTIFY result)
     Q_PROPERTY(QString errorText READ errorText NOTIFY result)
     Q_PROPERTY(QString errorString READ errorString NOTIFY result)
-    Q_PROPERTY(unsigned long percent READ percent NOTIFY percent)
+    Q_PROPERTY(ulong percent READ percent NOTIFY percent) // KF6 TODO: make 
"int", is enough
     Q_PROPERTY(Capabilities capabilities READ capabilities CONSTANT)
 
 public:
     enum Unit { Bytes, Files, Directories };
     Q_ENUM(Unit)
 
-    enum Capability { NoCapabilities = 0x0000,
-                      Killable       = 0x0001,
-                      Suspendable    = 0x0002
-                    };
+    /**
+     * @see Capabilities
+     */
+    enum Capability {
+        NoCapabilities = 0x0000, ///< None of the capabilities exist
+        Killable       = 0x0001, ///< The job can be killed
+        Suspendable    = 0x0002, ///< The job can be suspended
+    };
     Q_ENUM(Capability)
 
+    /**
+     * Stores a combination of #Capability values.
+     */
     Q_DECLARE_FLAGS(Capabilities, Capability)
     Q_FLAG(Capabilities)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/jobs/kjobuidelegate.cpp 
new/kcoreaddons-5.70.0/src/lib/jobs/kjobuidelegate.cpp
--- old/kcoreaddons-5.69.0/src/lib/jobs/kjobuidelegate.cpp      2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/jobs/kjobuidelegate.cpp      2020-05-03 
00:16:16.000000000 +0200
@@ -32,7 +32,17 @@
 KJobUiDelegate::KJobUiDelegate()
     : QObject(), d(new Private(this))
 {
+}
 
+KJobUiDelegate::KJobUiDelegate(Flags flags)
+    : QObject(), d(new Private(this))
+{
+    if (flags & AutoErrorHandlingEnabled) {
+        d->autoErrorHandling = true;
+    }
+    if (flags & AutoWarningHandlingEnabled) {
+        d->autoWarningHandling = true;
+    }
 }
 
 KJobUiDelegate::~KJobUiDelegate()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/jobs/kjobuidelegate.h 
new/kcoreaddons-5.70.0/src/lib/jobs/kjobuidelegate.h
--- old/kcoreaddons-5.69.0/src/lib/jobs/kjobuidelegate.h        2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/jobs/kjobuidelegate.h        2020-05-03 
00:16:16.000000000 +0200
@@ -32,12 +32,36 @@
     Q_OBJECT
 
 public:
+
+    /**
+     * Flags for the constructor, to enable automatic handling of errors 
and/or warnings
+     * @see Flags
+     * @since 5.70
+     */
+    enum Flag {
+        AutoHandlingDisabled = 0, ///< No automatic handling (default)
+        AutoErrorHandlingEnabled = 1, ///< Equivalent to 
setAutoErrorHandlingEnabled(true)
+        AutoWarningHandlingEnabled = 2, ///< Equivalent to 
setAutoWarningHandlingEnabled(true)
+        AutoHandlingEnabled = AutoErrorHandlingEnabled | 
AutoWarningHandlingEnabled ///< Enables both error and warning handling
+    };
+    /**
+     * Stores a combination of #Flag values.
+     */
+    Q_DECLARE_FLAGS(Flags, Flag)
+
     /**
      * Constructs a new KJobUiDelegate.
      */
     KJobUiDelegate();
 
     /**
+     * Constructs a new KJobUiDelegate with a flags argument.
+     * @param flags allows to enable automatic error/warning handling
+     * @since 5.70
+     */
+    explicit KJobUiDelegate(Flags flags); // KF6 TODO merge with default 
constructor, using AutoHandlingDisabled as default value
+
+    /**
      * Destroys a KJobUiDelegate.
      */
     ~KJobUiDelegate() override;
@@ -124,4 +148,6 @@
     Private *const d;
 };
 
+Q_DECLARE_OPERATORS_FOR_FLAGS(KJobUiDelegate::Flags)
+
 #endif // KJOBUIDELEGATE_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/plugin/kpluginfactory.h 
new/kcoreaddons-5.70.0/src/lib/plugin/kpluginfactory.h
--- old/kcoreaddons-5.69.0/src/lib/plugin/kpluginfactory.h      2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/plugin/kpluginfactory.h      2020-05-03 
00:16:16.000000000 +0200
@@ -530,7 +530,14 @@
     void registerPlugin(const QString &keyword, const QMetaObject *metaObject, 
CreateInstanceFunction instanceFunction);
 };
 
+// Deprecation wrapper macro added only for 5.70, while backward typedef added 
in 4.0
+#if KCOREADDONS_ENABLE_DEPRECATED_SINCE(5, 70)
+/**
+ * Backward compatibility typedef for KPluginFactory
+ * @deprecated since 4.0, use KPluginFactory
+ */
 typedef KPluginFactory KLibFactory;
+#endif
 
 template<typename T>
 inline T *KPluginFactory::create(QObject *parent, const QVariantList &args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/text/ktexttohtml.h 
new/kcoreaddons-5.70.0/src/lib/text/ktexttohtml.h
--- old/kcoreaddons-5.69.0/src/lib/text/ktexttohtml.h   2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/text/ktexttohtml.h   2020-05-03 
00:16:16.000000000 +0200
@@ -19,6 +19,7 @@
 {
 
 /**
+ * @see Options
  * @since 5.5.0
  */
 enum Option
@@ -54,6 +55,9 @@
      */
     ConvertPhoneNumbers = 1 << 5
 };
+/**
+ * Stores a combination of #Option values.
+ */
 Q_DECLARE_FLAGS(Options, Option)
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/util/kformat.h 
new/kcoreaddons-5.70.0/src/lib/util/kformat.h
--- old/kcoreaddons-5.69.0/src/lib/util/kformat.h       2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/util/kformat.h       2020-05-03 
00:16:16.000000000 +0200
@@ -178,6 +178,7 @@
 
     /**
      * Format flags for formatDuration()
+     * @see DurationFormatOptions
      */
     enum DurationFormatOption {
         DefaultDuration     = 0x0,   ///< Default formatting in localized 
1:23:45 format
@@ -186,6 +187,9 @@
         HideSeconds         = 0x4,   ///< Hide the seconds, e.g. 1:23 or 
1h23m, overrides ShowMilliseconds
         FoldHours           = 0x8    ///< Fold the hours into the minutes, 
e.g. 83:45 or 83m45s, overrides HideSeconds
     };
+    /**
+     * Stores a combination of #DurationFormatOption values.
+     */
     Q_DECLARE_FLAGS(DurationFormatOptions, DurationFormatOption)
     Q_FLAG(DurationFormatOption)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcoreaddons-5.69.0/src/lib/util/kshell.h 
new/kcoreaddons-5.70.0/src/lib/util/kshell.h
--- old/kcoreaddons-5.69.0/src/lib/util/kshell.h        2020-04-05 
00:56:29.000000000 +0200
+++ new/kcoreaddons-5.70.0/src/lib/util/kshell.h        2020-05-03 
00:16:16.000000000 +0200
@@ -24,6 +24,7 @@
 
 /**
  * Flags for splitArgs().
+ * @see Options
  */
 enum Option {
     NoOptions = 0,
@@ -66,6 +67,9 @@
      */
     AbortOnMeta = 2
 };
+/**
+ * Stores a combination of #Option values.
+ */
 Q_DECLARE_FLAGS(Options, Option)
 
 /**


Reply via email to