Hello community, here is the log from the commit of package kquickcharts for openSUSE:Factory checked in at 2020-10-12 13:56:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kquickcharts (Old) and /work/SRC/openSUSE:Factory/.kquickcharts.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kquickcharts" Mon Oct 12 13:56:02 2020 rev:11 rq:840844 version:5.75.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kquickcharts/kquickcharts.changes 2020-09-18 14:42:57.128085435 +0200 +++ /work/SRC/openSUSE:Factory/.kquickcharts.new.3486/kquickcharts.changes 2020-10-12 13:57:48.550178435 +0200 @@ -1,0 +2,13 @@ +Mon Oct 5 08:33:31 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.75.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.75.0 +- Changes since 5.74.0: + * Avoid binding loop inside Legend + * Remove check for GLES3 in SDFShader (kde#426458) + * Delete all child nodes when resetting the segments in line chart node + * Manually delete chart nodes that are being removed + +------------------------------------------------------------------- Old: ---- kquickcharts-5.74.0.tar.xz kquickcharts-5.74.0.tar.xz.sig New: ---- kquickcharts-5.75.0.tar.xz kquickcharts-5.75.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kquickcharts.spec ++++++ --- /var/tmp/diff_new_pack.Ue6FAw/_old 2020-10-12 13:57:49.946179016 +0200 +++ /var/tmp/diff_new_pack.Ue6FAw/_new 2020-10-12 13:57:49.950179019 +0200 @@ -16,14 +16,14 @@ # -%define _tar_path 5.74 +%define _tar_path 5.75 # 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: kquickcharts -Version: 5.74.0 +Version: 5.75.0 Release: 0 Summary: Set of charts for QtQuick applications License: LGPL-2.1-or-later ++++++ kquickcharts-5.74.0.tar.xz -> kquickcharts-5.75.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.74.0/CMakeLists.txt new/kquickcharts-5.75.0/CMakeLists.txt --- old/kquickcharts-5.74.0/CMakeLists.txt 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/CMakeLists.txt 2020-10-06 11:58:33.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.74.0") # handled by release scripts -set(KF5_DEP_VERSION "5.74.0") # handled by release scripts +set(KF5_VERSION "5.75.0") # handled by release scripts +set(KF5_DEP_VERSION "5.75.0") # handled by release scripts project(KQuickCharts VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.74.0 NO_MODULE) +find_package(ECM 5.75.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/kquickcharts-5.74.0/controls/LegendDelegate.qml new/kquickcharts-5.75.0/controls/LegendDelegate.qml --- old/kquickcharts-5.74.0/controls/LegendDelegate.qml 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/controls/LegendDelegate.qml 2020-10-06 11:58:33.000000000 +0200 @@ -63,18 +63,25 @@ ToolTip.text: "%1: %2".arg(delegate.name).arg(delegate.value) } } - - Label { - id: name - visible: delegate.width - delegate.colorWidth - delegate.spacing - value.implicitWidth > 0 - Layout.fillWidth: true + Item { + implicitWidth: metrics.advanceWidth Layout.fillHeight: true - Layout.minimumWidth: 0 + Layout.fillWidth: true + Label { + anchors.fill: parent + id: name + visible: delegate.width - delegate.colorWidth - delegate.spacing - value.implicitWidth > 0 + Layout.minimumWidth: 0 - text: delegate.name + (delegate.shortName.length > 0 ? "\x9C" + delegate.shortName : "") - elide: Text.ElideRight + text: delegate.name + (delegate.shortName.length > 0 ? "\x9C" + delegate.shortName : "") + elide: Text.ElideRight - verticalAlignment: Qt.AlignVCenter + verticalAlignment: Qt.AlignVCenter + } + TextMetrics { + id: metrics + text: delegate.name + } } Label { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.74.0/src/LineChart.cpp new/kquickcharts-5.75.0/src/LineChart.cpp --- old/kquickcharts-5.74.0/src/LineChart.cpp 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/src/LineChart.cpp 2020-10-06 11:58:33.000000000 +0200 @@ -128,7 +128,11 @@ } while (node->childCount() > sources.size()) { - node->removeChildNode(node->childAtIndex(node->childCount() - 1)); + // removeChildNode unfortunately does not take care of deletion so we + // need to handle this manually. + auto lastNode = node->childAtIndex(node->childCount() - 1); + node->removeChildNode(lastNode); + delete lastNode; } return node; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.74.0/src/PieChart.cpp new/kquickcharts-5.75.0/src/PieChart.cpp --- old/kquickcharts-5.74.0/src/PieChart.cpp 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/src/PieChart.cpp 2020-10-06 11:58:33.000000000 +0200 @@ -176,7 +176,9 @@ } while (node->childCount() > sourceCount) { - node->removeChildNode(node->childAtIndex(node->childCount() - 1)); + auto lastNode = node->childAtIndex(node->childCount() - 1); + node->removeChildNode(lastNode); + delete lastNode; } return node; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.74.0/src/scenegraph/LineChartNode.cpp new/kquickcharts-5.75.0/src/scenegraph/LineChartNode.cpp --- old/kquickcharts-5.74.0/src/scenegraph/LineChartNode.cpp 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/src/scenegraph/LineChartNode.cpp 2020-10-06 11:58:33.000000000 +0200 @@ -91,6 +91,7 @@ auto segmentCount = qCeil(qreal(m_values.count()) / MaxPointsInSegment); if (segmentCount != m_segments.count()) { removeAllChildNodes(); + qDeleteAll(m_segments); m_segments.clear(); for (int i = 0; i < segmentCount; ++i) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.74.0/src/scenegraph/SDFShader.cpp new/kquickcharts-5.75.0/src/scenegraph/SDFShader.cpp --- old/kquickcharts-5.74.0/src/scenegraph/SDFShader.cpp 2020-09-06 11:29:29.000000000 +0200 +++ new/kquickcharts-5.75.0/src/scenegraph/SDFShader.cpp 2020-10-06 11:58:33.000000000 +0200 @@ -25,11 +25,7 @@ auto header = QStringLiteral("header_desktop.glsl"); auto format = QOpenGLContext::currentContext()->format(); if (format.renderableType() == QSurfaceFormat::OpenGLES) { - if (format.majorVersion() >= 3) { - header = QStringLiteral("header_es3.glsl"); - } else { - header = QStringLiteral("header_es2.glsl"); - } + header = QStringLiteral("header_es2.glsl"); } setShaderSourceFiles(QOpenGLShader::Vertex, {QString::fromLatin1(shaderRoot) + header, QString::fromLatin1(shaderRoot) + vertex});