Hello community, here is the log from the commit of package kitemmodels for openSUSE:Factory checked in at 2017-04-30 21:19:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kitemmodels (Old) and /work/SRC/openSUSE:Factory/.kitemmodels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitemmodels" Sun Apr 30 21:19:05 2017 rev:40 rq:492071 version:5.33.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes 2017-03-28 15:10:52.078062528 +0200 +++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes 2017-04-30 21:19:06.629200597 +0200 @@ -1,0 +2,15 @@ +Sat Apr 15 10:11:51 CEST 2017 - lbeltr...@kde.org + +- Update to 5.33.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.33.0.php +- Changes since 5.32.0: + * Upgrade ECM and KF5 version requirements for 5.33.0 release. + * Fix build with Qt branch 5.9 + * Include file to integrate with phabricator + * Mention the new QSFPM::setRecursiveFiltering(true) which makes KRecursiveFilterProxyModel obsolete. + * KDescendantsProxyModel: fix typo in apidox + * Upgrade KF5 version to 5.33.0. + +------------------------------------------------------------------- Old: ---- kitemmodels-5.32.0.tar.xz New: ---- kitemmodels-5.33.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kitemmodels.spec ++++++ --- /var/tmp/diff_new_pack.mhMWVZ/_old 2017-04-30 21:19:07.385094018 +0200 +++ /var/tmp/diff_new_pack.mhMWVZ/_new 2017-04-30 21:19:07.389093454 +0200 @@ -19,9 +19,9 @@ %bcond_with python %define clang_sonum 3.8 %define lname libKF5ItemModels5 -%define _tar_path 5.32 +%define _tar_path 5.33 Name: kitemmodels -Version: 5.32.0 +Version: 5.33.0 Release: 0 BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kitemmodels-5.32.0.tar.xz -> kitemmodels-5.33.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.32.0/.arcconfig new/kitemmodels-5.33.0/.arcconfig --- old/kitemmodels-5.32.0/.arcconfig 1970-01-01 01:00:00.000000000 +0100 +++ new/kitemmodels-5.33.0/.arcconfig 2017-04-01 19:35:01.000000000 +0200 @@ -0,0 +1,3 @@ +{ + "phabricator.uri" : "https://phabricator.kde.org/" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.32.0/CMakeLists.txt new/kitemmodels-5.33.0/CMakeLists.txt --- old/kitemmodels-5.32.0/CMakeLists.txt 2017-03-03 13:58:08.000000000 +0100 +++ new/kitemmodels-5.33.0/CMakeLists.txt 2017-04-01 19:35:01.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.32.0") # handled by release scripts +set(KF5_VERSION "5.33.0") # handled by release scripts project(KItemModels VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.32.0 NO_MODULE) +find_package(ECM 5.33.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/kitemmodels-5.32.0/autotests/proxymodeltestsuite/modeltest.cpp new/kitemmodels-5.33.0/autotests/proxymodeltestsuite/modeltest.cpp --- old/kitemmodels-5.32.0/autotests/proxymodeltestsuite/modeltest.cpp 2017-03-03 13:58:08.000000000 +0100 +++ new/kitemmodels-5.33.0/autotests/proxymodeltestsuite/modeltest.cpp 2017-04-01 19:35:01.000000000 +0200 @@ -460,7 +460,7 @@ // Check that the alignment is one we know about QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); if ( textAlignmentVariant.isValid() ) { - int alignment = textAlignmentVariant.toInt(); + const auto alignment = textAlignmentVariant.toUInt(); QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.32.0/src/kdescendantsproxymodel.h new/kitemmodels-5.33.0/src/kdescendantsproxymodel.h --- old/kitemmodels-5.32.0/src/kdescendantsproxymodel.h 2017-03-03 13:58:08.000000000 +0100 +++ new/kitemmodels-5.33.0/src/kdescendantsproxymodel.h 2017-04-01 19:35:01.000000000 +0200 @@ -55,7 +55,7 @@ // #### This is new descProxy->setDisplayAncestorData(true); -descProxy->setDisplayAncestorSeparator(QString(" / ")); +descProxy->setAncestorSeparator(QString(" / ")); view->setModel(descProxy); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.32.0/src/krecursivefilterproxymodel.h new/kitemmodels-5.33.0/src/krecursivefilterproxymodel.h --- old/kitemmodels-5.32.0/src/krecursivefilterproxymodel.h 2017-03-03 13:58:08.000000000 +0100 +++ new/kitemmodels-5.33.0/src/krecursivefilterproxymodel.h 2017-04-01 19:35:01.000000000 +0200 @@ -29,9 +29,12 @@ /** @brief Implements recursive filtering of models - QSortFilterProxyModel does not recurse when invoking a filtering stage, so that + Until Qt 5.10, QSortFilterProxyModel did not recurse when invoking a filtering stage, so that if a particular row is filtered out, its children are not even checked to see if they match the filter. + If you can depend on Qt >= 5.10, then just use QSortFilterProxyModel::setRecursiveFiltering(true), + and you don't need to use KRecursiveFilterProxyModel. + For example, given a source model: @verbatim