Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kcompletion for openSUSE:Factory 
checked in at 2021-06-16 20:33:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcompletion (Old)
 and      /work/SRC/openSUSE:Factory/.kcompletion.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcompletion"

Wed Jun 16 20:33:43 2021 rev:94 rq:899716 version:5.83.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcompletion/kcompletion.changes  2021-05-10 
15:36:49.262170027 +0200
+++ /work/SRC/openSUSE:Factory/.kcompletion.new.32437/kcompletion.changes       
2021-06-16 20:35:08.859151586 +0200
@@ -1,0 +2,11 @@
+Sat Jun  5 11:58:34 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.83.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.83.0
+- Changes since 5.82.0:
+  * Deprecate KLineEdit::passwordMode
+  * Bump required CMake version to 3.16
+
+-------------------------------------------------------------------

Old:
----
  kcompletion-5.82.0.tar.xz
  kcompletion-5.82.0.tar.xz.sig

New:
----
  kcompletion-5.83.0.tar.xz
  kcompletion-5.83.0.tar.xz.sig

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

Other differences:
------------------
++++++ kcompletion.spec ++++++
--- /var/tmp/diff_new_pack.so5sn9/_old  2021-06-16 20:35:09.315152364 +0200
+++ /var/tmp/diff_new_pack.so5sn9/_new  2021-06-16 20:35:09.319152371 +0200
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5Completion5
-%define _tar_path 5.82
+%define _tar_path 5.83
 # 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:           kcompletion
-Version:        5.82.0
+Version:        5.83.0
 Release:        0
 Summary:        Widgets with advanced completion support
 License:        LGPL-2.1-or-later


++++++ kcompletion-5.82.0.tar.xz -> kcompletion-5.83.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/.gitignore 
new/kcompletion-5.83.0/.gitignore
--- old/kcompletion-5.82.0/.gitignore   2021-05-01 14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/.gitignore   2021-06-05 11:13:58.000000000 +0200
@@ -25,3 +25,4 @@
 .clangd
 .idea
 /cmake-build*
+.cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/CMakeLists.txt 
new/kcompletion-5.83.0/CMakeLists.txt
--- old/kcompletion-5.82.0/CMakeLists.txt       2021-05-01 14:30:02.000000000 
+0200
+++ new/kcompletion-5.83.0/CMakeLists.txt       2021-06-05 11:13:58.000000000 
+0200
@@ -1,12 +1,12 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.82.0") # handled by release scripts
-set(KF_DEP_VERSION "5.82.0") # handled by release scripts
+set(KF_VERSION "5.83.0") # handled by release scripts
+set(KF_DEP_VERSION "5.83.0") # handled by release scripts
 project(KCompletion VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.82.0  NO_MODULE)
+find_package(ECM 5.83.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)
 
@@ -47,7 +47,6 @@
 option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
 add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt 
Designer")
 
-add_definitions(-DQT_NO_FOREACH)
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
 add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055100)
 ecm_install_po_files_as_qm(po)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/autotests/klineedit_unittest.cpp 
new/kcompletion-5.83.0/autotests/klineedit_unittest.cpp
--- old/kcompletion-5.82.0/autotests/klineedit_unittest.cpp     2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/autotests/klineedit_unittest.cpp     2021-06-05 
11:13:58.000000000 +0200
@@ -18,6 +18,7 @@
     Q_OBJECT
 
 private Q_SLOTS:
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 83)
     void testPassword()
     {
         KLineEdit w;
@@ -27,6 +28,7 @@
         QTest::keyClick(&w, Qt::Key_3);
         QCOMPARE(w.text(), QString("123"));
     }
+#endif
 
     void testReturnPressed()
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/po/nb/kcompletion5_qt.po 
new/kcompletion-5.83.0/po/nb/kcompletion5_qt.po
--- old/kcompletion-5.82.0/po/nb/kcompletion5_qt.po     2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/po/nb/kcompletion5_qt.po     2021-06-05 
11:13:58.000000000 +0200
@@ -26,7 +26,7 @@
 "X-Text-Markup: qtrich\n"
 "X-Qt-Contexts: true\n"
 
-#: khistorycombobox.cpp:211
+#: khistorycombobox.cpp:213
 msgctxt "KHistoryComboBox|@action:inmenu"
 msgid "Clear &History"
 msgstr ""
@@ -36,47 +36,47 @@
 msgid "1"
 msgstr "1"
 
-#: klineedit.cpp:933
+#: klineedit.cpp:937
 msgctxt "KLineEdit|@action:inmenu"
 msgid "C&lear"
 msgstr ""
 
-#: klineedit.cpp:947
+#: klineedit.cpp:951
 msgctxt "KLineEdit|@title:menu"
 msgid "Text Completion"
 msgstr "Tekstfullf??ring"
 
-#: klineedit.cpp:953
+#: klineedit.cpp:959
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "None"
 msgstr "Ingen"
 
-#: klineedit.cpp:954
+#: klineedit.cpp:960
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Manual"
 msgstr "Manuell"
 
-#: klineedit.cpp:955
+#: klineedit.cpp:961
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Automatic"
 msgstr "Automatisk"
 
-#: klineedit.cpp:956
+#: klineedit.cpp:962
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Dropdown List"
 msgstr "Nedtrekksliste"
 
-#: klineedit.cpp:957
+#: klineedit.cpp:963
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Short Automatic"
 msgstr "Kort automatisk"
 
-#: klineedit.cpp:958
+#: klineedit.cpp:964
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Dropdown List && Automatic"
 msgstr "Nedtrekksliste og automatisk"
 
-#: klineedit.cpp:988
+#: klineedit.cpp:994
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Default"
 msgstr "Standard"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/po/nn/kcompletion5_qt.po 
new/kcompletion-5.83.0/po/nn/kcompletion5_qt.po
--- old/kcompletion-5.82.0/po/nn/kcompletion5_qt.po     2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/po/nn/kcompletion5_qt.po     2021-06-05 
11:13:58.000000000 +0200
@@ -23,7 +23,7 @@
 "X-Text-Markup: qtrich\n"
 "X-Qt-Contexts: true\n"
 
-#: khistorycombobox.cpp:211
+#: khistorycombobox.cpp:213
 msgctxt "KHistoryComboBox|@action:inmenu"
 msgid "Clear &History"
 msgstr "T??m &loggen"
@@ -33,47 +33,47 @@
 msgid "1"
 msgstr "1"
 
-#: klineedit.cpp:933
+#: klineedit.cpp:937
 msgctxt "KLineEdit|@action:inmenu"
 msgid "C&lear"
 msgstr "&T??m"
 
-#: klineedit.cpp:947
+#: klineedit.cpp:951
 msgctxt "KLineEdit|@title:menu"
 msgid "Text Completion"
 msgstr "Tekstfullf??ring"
 
-#: klineedit.cpp:953
+#: klineedit.cpp:959
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "None"
 msgstr "Ingen"
 
-#: klineedit.cpp:954
+#: klineedit.cpp:960
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Manual"
 msgstr "Manuell"
 
-#: klineedit.cpp:955
+#: klineedit.cpp:961
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Automatic"
 msgstr "Automatisk"
 
-#: klineedit.cpp:956
+#: klineedit.cpp:962
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Dropdown List"
 msgstr "Nedtrekksliste"
 
-#: klineedit.cpp:957
+#: klineedit.cpp:963
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Short Automatic"
 msgstr "Kort automatisk"
 
-#: klineedit.cpp:958
+#: klineedit.cpp:964
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Dropdown List && Automatic"
 msgstr "Nedtrekksliste og automatisk"
 
-#: klineedit.cpp:988
+#: klineedit.cpp:994
 msgctxt "KLineEdit|@item:inmenu Text Completion"
 msgid "Default"
 msgstr "Standard"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/po/zh_CN/kcompletion5_qt.po 
new/kcompletion-5.83.0/po/zh_CN/kcompletion5_qt.po
--- old/kcompletion-5.82.0/po/zh_CN/kcompletion5_qt.po  2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/po/zh_CN/kcompletion5_qt.po  2021-06-05 
11:13:58.000000000 +0200
@@ -13,7 +13,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2021-04-24 15:42\n"
+"PO-Revision-Date: 2021-06-03 16:05\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/kcompletion-5.82.0/src/CMakeLists.txt 
new/kcompletion-5.83.0/src/CMakeLists.txt
--- old/kcompletion-5.82.0/src/CMakeLists.txt   2021-05-01 14:30:02.000000000 
+0200
+++ new/kcompletion-5.83.0/src/CMakeLists.txt   2021-06-05 11:13:58.000000000 
+0200
@@ -1,6 +1,9 @@
-ecm_create_qm_loader(kcompletion_QM_LOADER kcompletion5_qt)
+add_library(KF5Completion)
+add_library(KF5::Completion ALIAS KF5Completion)
+
+ecm_create_qm_loader(KF5Completion kcompletion5_qt)
 
-set(kcompletion_SRCS
+target_sources(KF5Completion PRIVATE
   kcombobox.cpp
   kcompletion.cpp
   kcompletionbase.cpp
@@ -11,10 +14,9 @@
   kzoneallocator.cpp
   kcompletionbase.cpp
   kcompletionmatches.cpp
-  ${kcompletion_QM_LOADER}
 )
 
-ecm_qt_declare_logging_category(kcompletion_SRCS
+ecm_qt_declare_logging_category(KF5Completion
     HEADER kcompletion_debug.h
     IDENTIFIER KCOMPLETION_LOG
     CATEGORY_NAME kf.completion
@@ -22,14 +24,12 @@
     EXPORT KCOMPLETION
 )
 
-add_library(KF5Completion ${kcompletion_SRCS})
-add_library(KF5::Completion ALIAS KF5Completion)
 ecm_generate_export_header(KF5Completion
     BASE_NAME KCompletion
     GROUP_BASE_NAME KF
     VERSION ${KF_VERSION}
     DEPRECATED_BASE_VERSION 0
-    DEPRECATION_VERSIONS 4.0 4.5 5.0 5.46 5.66 5.81
+    DEPRECATION_VERSIONS 4.0 4.5 5.0 5.46 5.66 5.81 5.83
     EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
 )
 
@@ -41,7 +41,7 @@
                                             KF5::WidgetsAddons   # KCursor
 )
 
-set_target_properties(KF5Completion PROPERTIES VERSION   
${KCOMPLETION_VERSION_STRING}
+set_target_properties(KF5Completion PROPERTIES VERSION   ${KCOMPLETION_VERSION}
                                                SOVERSION 
${KCOMPLETION_SOVERSION}
                                                EXPORT_NAME Completion
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/src/kcombobox.cpp 
new/kcompletion-5.83.0/src/kcombobox.cpp
--- old/kcompletion-5.82.0/src/kcombobox.cpp    2021-05-01 14:30:02.000000000 
+0200
+++ new/kcompletion-5.83.0/src/kcombobox.cpp    2021-06-05 11:13:58.000000000 
+0200
@@ -284,10 +284,12 @@
         d->klineEdit->setCompletionObject(completion);
     }
 
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 81)
     // Connect the returnPressed signal for both Q[K]LineEdits'
     if (edit) {
         connect(edit, QOverload<>::of(&QLineEdit::returnPressed), this, 
QOverload<>::of(&KComboBox::returnPressed));
     }
+#endif
 
     if (d->klineEdit) {
         // someone calling KComboBox::setEditable(false) destroys our
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/src/klineedit.cpp 
new/kcompletion-5.83.0/src/klineedit.cpp
--- old/kcompletion-5.82.0/src/klineedit.cpp    2021-05-01 14:30:02.000000000 
+0200
+++ new/kcompletion-5.83.0/src/klineedit.cpp    2021-06-05 11:13:58.000000000 
+0200
@@ -1454,6 +1454,7 @@
 }
 #endif
 
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 83)
 void KLineEdit::setPasswordMode(bool passwordMode)
 {
     Q_D(KLineEdit);
@@ -1470,11 +1471,14 @@
         setEchoMode(Normal);
     }
 }
+#endif
 
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 83)
 bool KLineEdit::passwordMode() const
 {
     return echoMode() == NoEcho || echoMode() == Password;
 }
+#endif
 
 void KLineEdit::doCompletion(const QString &text)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/src/klineedit.h 
new/kcompletion-5.83.0/src/klineedit.h
--- old/kcompletion-5.82.0/src/klineedit.h      2021-05-01 14:30:02.000000000 
+0200
+++ new/kcompletion-5.83.0/src/klineedit.h      2021-06-05 11:13:58.000000000 
+0200
@@ -86,10 +86,6 @@
  * mode. This differs from QLineEdit's implementation and is done to give 
visual
  * distinction between the three different modes: disabled, read-only, and 
read-write.
  *
- * KLineEdit also has a password mode which depends on global KDE settings.
- * Use @c KLineEdit::setPasswordMode() instead of @c QLineEdit::echoMode 
property
- * to have a password field.
- *
  * @b Usage
  *
  * To enable the basic completion feature:
@@ -160,7 +156,9 @@
 #if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 46)
     Q_PROPERTY(bool showClearButton READ isClearButtonShown WRITE 
setClearButtonShown)
 #endif
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 83)
     Q_PROPERTY(bool passwordMode READ passwordMode WRITE setPasswordMode)
+#endif
 
 public:
     /**
@@ -536,17 +534,27 @@
      */
     virtual void setText(const QString &);
 
+#if KCOMPLETION_ENABLE_DEPRECATED_SINCE(5, 83)
     /**
      * @brief set the line edit in password mode.
      * this change the EchoMode according to KDE preferences.
      * @param passwordMode true to set in password mode
+     *
+     * @deprecated Since 5.83, use KPasswordLineEdit or 
QLineEdit::setEchoMode(QLineEdit::EchoMode).
      */
+    KCOMPLETION_DEPRECATED_VERSION(5, 83, "Use KPasswordLineEdit or 
QLineEdit::setEchoMode(QLineEdit::EchoMode)")
     void setPasswordMode(bool passwordMode = true);
+#endif
 
+#if KCOMPLETION_ENABLE_DEPRECATED_SINCE(5, 83)
     /**
      * @return returns true if the lineedit is set to password mode echoing
+     *
+     * @deprecated Since 5.83, see setPasswordMode(bool)
      */
+    KCOMPLETION_DEPRECATED_VERSION(5, 83, "See API docs")
     bool passwordMode() const;
+#endif
 
 protected Q_SLOTS:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/tests/kcomboboxtest.cpp 
new/kcompletion-5.83.0/tests/kcomboboxtest.cpp
--- old/kcompletion-5.82.0/tests/kcomboboxtest.cpp      2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/tests/kcomboboxtest.cpp      2021-06-05 
11:13:58.000000000 +0200
@@ -160,7 +160,9 @@
     QObject::connect(combo, SIGNAL(activated(QString)), 
SLOT(slotActivated(QString)));
     QObject::connect(combo, SIGNAL(currentIndexChanged(int)), 
SLOT(slotCurrentIndexChanged(int)));
     QObject::connect(combo, SIGNAL(currentIndexChanged(QString)), 
SLOT(slotCurrentIndexChanged(QString)));
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 81)
     QObject::connect(combo, SIGNAL(returnPressed()), 
SLOT(slotReturnPressed()));
+#endif
     QObject::connect(combo, SIGNAL(returnPressed(QString)), 
SLOT(slotReturnPressed(QString)));
 }
 
@@ -215,10 +217,12 @@
     qDebug() << "Activated Combo:" << qPrintable(sender()->objectName()) << ", 
item:" << item;
 }
 
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 81)
 void KComboBoxTest::slotReturnPressed()
 {
     qDebug() << "Return Pressed:" << qPrintable(sender()->objectName());
 }
+#endif
 
 void KComboBoxTest::slotReturnPressed(const QString &item)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/tests/kcomboboxtest.h 
new/kcompletion-5.83.0/tests/kcomboboxtest.h
--- old/kcompletion-5.82.0/tests/kcomboboxtest.h        2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/tests/kcomboboxtest.h        2021-06-05 
11:13:58.000000000 +0200
@@ -1,6 +1,8 @@
 #ifndef _KCOMBOBOXTEST_H
 #define _KCOMBOBOXTEST_H
 
+#include <kcompletion_export.h>
+
 #include <QWidget>
 
 class QTimer;
@@ -21,7 +23,9 @@
     void quitApp();
     void slotTimeout();
     void slotDisable();
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 81)
     void slotReturnPressed();
+#endif
     void slotReturnPressed(const QString &);
     void slotActivated(int);
     void slotActivated(const QString &);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.82.0/tests/klineedittest.cpp 
new/kcompletion-5.83.0/tests/klineedittest.cpp
--- old/kcompletion-5.82.0/tests/klineedittest.cpp      2021-05-01 
14:30:02.000000000 +0200
+++ new/kcompletion-5.83.0/tests/klineedittest.cpp      2021-06-05 
11:13:58.000000000 +0200
@@ -133,7 +133,11 @@
 
 void KLineEditTest::slotPassword(bool pw)
 {
+#if KCOMPLETION_BUILD_DEPRECATED_SINCE(5, 83)
     m_lineedit->setPasswordMode(pw);
+#else
+    m_lineedit->setEchoMode(pw ? QLineEdit::Password : QLineEdit::Normal);
+#endif
     QString text = (pw) ? "&Normal Text" : "&Password";
     m_btnPassword->setText(text);
 }

Reply via email to