Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kcodecs for openSUSE:Factory checked in at 2024-11-09 20:53:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kcodecs (Old) and /work/SRC/openSUSE:Factory/.kf6-kcodecs.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kcodecs" Sat Nov 9 20:53:09 2024 rev:9 rq:1222768 version:6.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kcodecs/kf6-kcodecs.changes 2024-10-12 13:28:40.391607529 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-kcodecs.new.2017/kf6-kcodecs.changes 2024-11-09 20:56:18.869287733 +0100 @@ -1,0 +2,13 @@ +Mon Nov 4 11:17:59 UTC 2024 - Christophe Marin <christo...@krop.fr> + +- Update to 6.8.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.8.0 +- Changes since 6.7.0: + * Update dependency version to 6.8.0 + * Add test for passing unknown codec to codecForName + * Fix buffer overflow in Codec::codecForName + * Update version to 6.8.0 + +------------------------------------------------------------------- Old: ---- kcodecs-6.7.0.tar.xz kcodecs-6.7.0.tar.xz.sig New: ---- kcodecs-6.8.0.tar.xz kcodecs-6.8.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kcodecs.spec ++++++ --- /var/tmp/diff_new_pack.ItirVV/_old 2024-11-09 20:56:20.469354291 +0100 +++ /var/tmp/diff_new_pack.ItirVV/_new 2024-11-09 20:56:20.481354790 +0100 @@ -19,13 +19,13 @@ %define qt6_version 6.7.0 %define rname kcodecs -# Full KF6 version (e.g. 6.7.0) +# Full KF6 version (e.g. 6.8.0) %{!?_kf6_version: %global _kf6_version %{version}} # Last major and minor KF6 version (e.g. 6.0) %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kf6-kcodecs -Version: 6.7.0 +Version: 6.8.0 Release: 0 Summary: Method collection to manipulate strings using various encodings License: LGPL-2.1-or-later ++++++ kcodecs-6.7.0.tar.xz -> kcodecs-6.8.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-6.7.0/CMakeLists.txt new/kcodecs-6.8.0/CMakeLists.txt --- old/kcodecs-6.7.0/CMakeLists.txt 2024-10-04 17:05:46.000000000 +0200 +++ new/kcodecs-6.8.0/CMakeLists.txt 2024-11-02 16:45:27.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.7.0") # handled by release scripts +set(KF_VERSION "6.8.0") # handled by release scripts project(KCodecs VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 6.7.0 NO_MODULE) +find_package(ECM 6.8.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/kcodecs-6.7.0/autotests/codectest.cpp new/kcodecs-6.8.0/autotests/codectest.cpp --- old/kcodecs-6.7.0/autotests/codectest.cpp 2024-10-04 17:05:46.000000000 +0200 +++ new/kcodecs-6.8.0/autotests/codectest.cpp 2024-11-02 16:45:27.000000000 +0100 @@ -102,4 +102,10 @@ QCOMPARE(result, expResult); } +void CodecTest::testInvalidCodec() +{ + Codec *codec = Codec::codecForName("thiscodectotallydoesntexist"); + QCOMPARE(codec, nullptr); +} + #include "moc_codectest.cpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-6.7.0/autotests/codectest.h new/kcodecs-6.8.0/autotests/codectest.h --- old/kcodecs-6.7.0/autotests/codectest.h 2024-10-04 17:05:46.000000000 +0200 +++ new/kcodecs-6.8.0/autotests/codectest.h 2024-11-02 16:45:27.000000000 +0100 @@ -14,6 +14,7 @@ private Q_SLOTS: void testCodecs(); void testCodecs_data(); + void testInvalidCodec(); }; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-6.7.0/src/kcodecs.cpp new/kcodecs-6.8.0/src/kcodecs.cpp --- old/kcodecs-6.7.0/src/kcodecs.cpp 2024-10-04 17:05:46.000000000 +0200 +++ new/kcodecs-6.8.0/src/kcodecs.cpp 2024-11-02 16:45:27.000000000 +0100 @@ -537,6 +537,7 @@ }); if (it == s_codecs.end() || name.compare((*it).name, Qt::CaseInsensitive) != 0) { qWarning() << "Unknown codec \"" << name << "\" requested!"; + return nullptr; } return (*it).codec.get(); }