Hello community, here is the log from the commit of package kcompletion for openSUSE:Factory checked in at 2015-09-02 07:44:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcompletion (Old) and /work/SRC/openSUSE:Factory/.kcompletion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcompletion" Changes: -------- --- /work/SRC/openSUSE:Factory/kcompletion/kcompletion.changes 2015-07-14 17:22:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kcompletion.new/kcompletion.changes 2015-09-02 07:44:12.000000000 +0200 @@ -1,0 +2,14 @@ +Tue Aug 4 19:20:15 UTC 2015 - [email protected] + +- Update to 5.13.0 + * The Qt version requirement has been bumped from 5.2 to 5.3 + * Debug output has been ported to categorized output, for less + noise by default + * Docbook documentation has been reviewed and updated + * HiDPI fixes for KLineEdit/KComboBox + * KLineEdit: Don't let the user delete text when the lineedit + is readonly + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.13.0.php + +------------------------------------------------------------------- Old: ---- kcompletion-5.12.0.tar.xz New: ---- kcompletion-5.13.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcompletion.spec ++++++ --- /var/tmp/diff_new_pack.hRVKZc/_old 2015-09-02 07:44:13.000000000 +0200 +++ /var/tmp/diff_new_pack.hRVKZc/_new 2015-09-02 07:44:13.000000000 +0200 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5Completion5 -%define _tar_path 5.12 +%define _tar_path 5.13 Name: kcompletion -Version: 5.12.0 +Version: 5.13.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 @@ -30,9 +30,9 @@ BuildRequires: kf5-filesystem BuildRequires: kwidgetsaddons-devel >= %{_tar_path} %if %{with lang} -BuildRequires: libqt5-linguist-devel >= 5.2.0 +BuildRequires: cmake(Qt5LinguistTools) >= 5.3.0 %endif -BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +BuildRequires: cmake(Qt5Widgets) >= 5.3.0 Summary: Provides widgets with advanced completion support License: LGPL-2.1+ Group: System/GUI/KDE @@ -61,7 +61,7 @@ Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: pkgconfig(Qt5Widgets) >= 5.2.0 +Requires: cmake(Qt5Widgets) >= 5.3.0 %description devel KCompletion provides widgets with advanced completion support as well as a ++++++ kcompletion-5.12.0.tar.xz -> kcompletion-5.13.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/CMakeLists.txt new/kcompletion-5.13.0/CMakeLists.txt --- old/kcompletion-5.12.0/CMakeLists.txt 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/CMakeLists.txt 2015-08-04 12:47:24.000000000 +0200 @@ -4,7 +4,7 @@ # ECM setup include(FeatureSummary) -find_package(ECM 5.12.0 NO_MODULE) +find_package(ECM 5.13.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) @@ -21,8 +21,8 @@ include(ECMPoQmTools) -set(KF5_VERSION "5.12.0") # handled by release scripts -set(KF5_DEP_VERSION "5.12.0") # handled by release scripts +set(KF5_VERSION "5.13.0") # handled by release scripts +set(KF5_DEP_VERSION "5.13.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCOMPLETION VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kcompletion_version.h" @@ -30,7 +30,7 @@ SOVERSION 5) # Dependencies -set(REQUIRED_QT_VERSION "5.2.0") +set(REQUIRED_QT_VERSION "5.3.0") find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/README.md new/kcompletion-5.13.0/README.md --- old/kcompletion-5.12.0/README.md 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/README.md 2015-08-04 12:47:24.000000000 +0200 @@ -1,5 +1,7 @@ # KCompletion +Powerful completion framework, including completion-enabled lineedit and combobox. + ## Introduction When typing filenames, email addresses and other text where the user often wants diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/po/fr/kcompletion5_qt.po new/kcompletion-5.13.0/po/fr/kcompletion5_qt.po --- old/kcompletion-5.12.0/po/fr/kcompletion5_qt.po 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/po/fr/kcompletion5_qt.po 2015-08-04 12:47:24.000000000 +0200 @@ -24,10 +24,10 @@ "PO-Revision-Date: 2014-03-16 18:32+0100\n" "Last-Translator: Sebastien Renard <[email protected]>\n" "Language-Team: French <[email protected]>\n" -"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 1.5\n" "X-Environment: kde\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/src/klineedit.cpp new/kcompletion-5.13.0/src/klineedit.cpp --- old/kcompletion-5.12.0/src/klineedit.cpp 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/src/klineedit.cpp 2015-08-04 12:47:24.000000000 +0200 @@ -674,7 +674,7 @@ return; } else if (KStandardShortcut::deleteWordBack().contains(key)) { cursorWordBackward(true); - if (hasSelectedText()) { + if (hasSelectedText() && !isReadOnly()) { del(); } @@ -683,7 +683,7 @@ } else if (KStandardShortcut::deleteWordForward().contains(key)) { // Workaround for QT bug where cursorWordForward(true); - if (hasSelectedText()) { + if (hasSelectedText() && !isReadOnly()) { del(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/src/klineedit_p.h new/kcompletion-5.13.0/src/klineedit_p.h --- old/kcompletion-5.12.0/src/klineedit_p.h 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/src/klineedit_p.h 2015-08-04 12:47:24.000000000 +0200 @@ -169,7 +169,8 @@ virtual bool event(QEvent *event) { if (event->type() == QEvent::EnabledChange) { - m_pixmap = m_icon.pixmap(m_pixmap.size(), isEnabled() ? QIcon::Normal : QIcon::Disabled); + // QIcon::pixmap will return HiDPI pixmaps that are larger than the requested size => scale pixmap size back + m_pixmap = m_icon.pixmap(m_pixmap.size() / m_pixmap.devicePixelRatio(), isEnabled() ? QIcon::Normal : QIcon::Disabled); } return QWidget::event(event); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/tests/klineedittest.cpp new/kcompletion-5.13.0/tests/klineedittest.cpp --- old/kcompletion-5.12.0/tests/klineedittest.cpp 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/tests/klineedittest.cpp 2015-08-04 12:47:24.000000000 +0200 @@ -33,11 +33,11 @@ SLOT(slotReturnPressed(QString))); QHBoxLayout *restrictedHBox = new QHBoxLayout; - m_restrictedLine = new QLineEdit(this); + m_restrictedLine = new KLineEdit(this); QRegExp regex(QString::fromUtf8("[aeiouyé]*")); QRegExpValidator *validator = new QRegExpValidator(regex, m_restrictedLine); m_restrictedLine->setValidator(validator); - connect(m_restrictedLine, SIGNAL(invalidChar(int)), this, SLOT(slotInvalidChar(int))); + //connect(m_restrictedLine, SIGNAL(invalidChar(int)), this, SLOT(slotInvalidChar(int))); connect(m_restrictedLine, SIGNAL(returnPressed()), SLOT(slotReturnPressed())); connect(m_restrictedLine, SIGNAL(returnPressed(QString)), SLOT(slotReturnPressed(QString))); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcompletion-5.12.0/tests/klineedittest.h new/kcompletion-5.13.0/tests/klineedittest.h --- old/kcompletion-5.12.0/tests/klineedittest.h 2015-07-05 10:54:15.000000000 +0200 +++ new/kcompletion-5.13.0/tests/klineedittest.h 2015-08-04 12:47:24.000000000 +0200 @@ -41,7 +41,7 @@ protected: KLineEdit *m_lineedit; - QLineEdit *m_restrictedLine; + KLineEdit *m_restrictedLine; QLabel *m_invalidCharLabel; QPushButton *m_btnExit; QPushButton *m_btnReadOnly;
