Hello community, here is the log from the commit of package kcompletion for openSUSE:Factory checked in at 2018-01-22 15:58:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcompletion (Old) and /work/SRC/openSUSE:Factory/.kcompletion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcompletion" Mon Jan 22 15:58:50 2018 rev:50 rq:566661 version:5.42.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcompletion/kcompletion.changes 2018-01-09 14:41:22.841035055 +0100 +++ /work/SRC/openSUSE:Factory/.kcompletion.new/kcompletion.changes 2018-01-22 15:59:14.836033140 +0100 @@ -1,0 +2,11 @@ +Tue Jan 16 22:50:14 CET 2018 - [email protected] + +- Update to 5.42.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.42.0.php +- Changes since 5.41.0: + * Remove obsolete reviewboardrc file + * Minor optimization. Initialize variables + +------------------------------------------------------------------- Old: ---- kcompletion-5.41.0.tar.xz New: ---- kcompletion-5.42.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcompletion.spec ++++++ --- /var/tmp/diff_new_pack.eYDFkx/_old 2018-01-22 15:59:15.492002440 +0100 +++ /var/tmp/diff_new_pack.eYDFkx/_new 2018-01-22 15:59:15.492002440 +0100 @@ -1,7 +1,7 @@ # # spec file for package kcompletion # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %bcond_without lang %define lname libKF5Completion5 -%define _tar_path 5.41 +%define _tar_path 5.42 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kcompletion -Version: 5.41.0 +Version: 5.42.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 ++++++ kcompletion-5.41.0.tar.xz -> kcompletion-5.42.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/.reviewboardrc new/kcompletion-5.42.0/.reviewboardrc --- old/kcompletion-5.41.0/.reviewboardrc 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/.reviewboardrc 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -REVIEWBOARD_URL = "https://git.reviewboard.kde.org" -REPOSITORY = 'git://anongit.kde.org/kcompletion' -BRANCH = 'master' -TARGET_GROUPS = 'kdeframeworks' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/CMakeLists.txt new/kcompletion-5.42.0/CMakeLists.txt --- old/kcompletion-5.41.0/CMakeLists.txt 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/CMakeLists.txt 2018-01-07 17:16:25.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.41.0") # handled by release scripts -set(KF5_DEP_VERSION "5.41.0") # handled by release scripts +set(KF5_VERSION "5.42.0") # handled by release scripts +set(KF5_DEP_VERSION "5.42.0") # handled by release scripts project(KCompletion VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.41.0 NO_MODULE) +find_package(ECM 5.42.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/kcompletion-5.41.0/po/id/kcompletion5_qt.po new/kcompletion-5.42.0/po/id/kcompletion5_qt.po --- old/kcompletion-5.41.0/po/id/kcompletion5_qt.po 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/po/id/kcompletion5_qt.po 2018-01-07 17:16:25.000000000 +0100 @@ -2,14 +2,15 @@ # Copyright (C) 2010 This_file_is_part_of_KDE # This file is distributed under the same license as the kdelibs4 package. # Andhika Padmawan <[email protected]>, 2010-2014. +# Wantoyo <[email protected]>, 2017. # msgid "" msgstr "" "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-03-23 01:50+0000\n" -"PO-Revision-Date: 2014-06-08 12:28+0700\n" -"Last-Translator: Andhika Padmawan <[email protected]>\n" +"PO-Revision-Date: 2017-12-11 20:48+0700\n" +"Last-Translator: Wantoyo <[email protected]>\n" "Language-Team: Indonesian <[email protected]>\n" "Language: id\n" "MIME-Version: 1.0\n" @@ -76,4 +77,4 @@ #: klineedit.cpp:1159 msgctxt "KLineEdit|@item:inmenu Text Completion" msgid "Default" -msgstr "Standar" +msgstr "Baku" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/po/zh_CN/kcompletion5_qt.po new/kcompletion-5.42.0/po/zh_CN/kcompletion5_qt.po --- old/kcompletion-5.41.0/po/zh_CN/kcompletion5_qt.po 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/po/zh_CN/kcompletion5_qt.po 2018-01-07 17:16:25.000000000 +0100 @@ -15,7 +15,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2016-11-19 20:11+0100\n" -"PO-Revision-Date: 2017-07-13 11:17-0400\n" +"PO-Revision-Date: 2018-01-05 06:38-0500\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -25,6 +25,12 @@ "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: crowdin.com\n" "X-Qt-Contexts: true\n" +"X-Qt-Contexts: true\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: crowdin.com\n" +"X-Crowdin-Project: kdeorg\n" +"X-Crowdin-Language: zh-CN\n" +"X-Crowdin-File: /kf5-trunk/messages/frameworks/kcompletion5_qt.pot\n" #: khistorycombobox.cpp:203 msgctxt "KHistoryComboBox|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/kcombobox.cpp new/kcompletion-5.42.0/src/kcombobox.cpp --- old/kcompletion-5.41.0/src/kcombobox.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/kcombobox.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -31,9 +31,7 @@ { public: KComboBoxPrivate(KComboBox *parent) - : klineEdit(nullptr), - trapReturnKey(false), - q_ptr(parent) + : q_ptr(parent) { } ~KComboBoxPrivate() @@ -47,8 +45,8 @@ void _k_lineEditDeleted(); - KLineEdit *klineEdit; - bool trapReturnKey; + KLineEdit *klineEdit = nullptr; + bool trapReturnKey = false; KComboBox * const q_ptr; Q_DECLARE_PUBLIC(KComboBox) }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/kcompletion.cpp new/kcompletion-5.42.0/src/kcompletion.cpp --- old/kcompletion-5.41.0/src/kcompletion.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/kcompletion.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -365,9 +365,7 @@ } QStringList matches; - QStringList::ConstIterator it = list.constBegin(); - - for (; it != list.constEnd(); ++it) { + for (QStringList::ConstIterator it = list.constBegin(), total = list.constEnd(); it != total; ++it) { QString item = *it; if (item.indexOf(string, 0, Qt::CaseInsensitive) != -1) { // always case insensitive postProcessMatch(&item); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/kcompletionbase.cpp new/kcompletion-5.42.0/src/kcompletionbase.cpp --- old/kcompletion-5.41.0/src/kcompletionbase.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/kcompletionbase.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -38,7 +38,7 @@ QPointer<KCompletion> completionObject; KCompletionBase::KeyBindingMap keyBindingMap; // we may act as a proxy to another KCompletionBase object - KCompletionBase *delegate; + KCompletionBase *delegate = nullptr; KCompletionBase * const q_ptr; Q_DECLARE_PUBLIC(KCompletionBase) }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/kcompletionbox.cpp new/kcompletion-5.42.0/src/kcompletionbox.cpp --- old/kcompletion-5.41.0/src/kcompletionbox.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/kcompletionbox.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -36,7 +36,7 @@ void cancelled(); void _k_itemClicked(QListWidgetItem *); - QWidget *m_parent; // necessary to set the focus back + QWidget *m_parent = nullptr; // necessary to set the focus back QString cancelText; bool tabHandling; bool upwardBox; @@ -89,7 +89,7 @@ QStringList KCompletionBox::items() const { QStringList list; - + list.reserve(count()); for (int i = 0; i < count(); i++) { const QListWidgetItem *currItem = item(i); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/khistorycombobox.cpp new/kcompletion-5.42.0/src/khistorycombobox.cpp --- old/kcompletion-5.41.0/src/khistorycombobox.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/khistorycombobox.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -62,7 +62,7 @@ */ QString typedText; - KPixmapProvider *pixmapProvider; + KPixmapProvider *pixmapProvider = nullptr; KHistoryComboBox * const q_ptr; /** @@ -74,7 +74,7 @@ * Indicates that the user at least once rotated Up through the entire list * Needed to allow going back after rotation. */ - bool rotated; + bool rotated = false; Q_DECLARE_PUBLIC(KHistoryComboBox) }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.41.0/src/klineedit.cpp new/kcompletion-5.42.0/src/klineedit.cpp --- old/kcompletion-5.41.0/src/klineedit.cpp 2017-12-06 11:15:37.000000000 +0100 +++ new/kcompletion-5.42.0/src/klineedit.cpp 2018-01-07 17:16:25.000000000 +0100 @@ -276,7 +276,7 @@ } // trigger animation - if (wideEnoughForClear && text.length() > 0) { + if (wideEnoughForClear && !text.isEmpty()) { clearButton->animateVisible(true); } else { clearButton->animateVisible(false);
