Hello community, here is the log from the commit of package kconfig for openSUSE:Factory checked in at 2019-01-21 10:18:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kconfig (Old) and /work/SRC/openSUSE:Factory/.kconfig.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kconfig" Mon Jan 21 10:18:41 2019 rev:64 rq:665784 version:5.54.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kconfig/kconfig.changes 2018-12-28 12:31:41.372114950 +0100 +++ /work/SRC/openSUSE:Factory/.kconfig.new.28833/kconfig.changes 2019-01-21 10:19:06.122150541 +0100 @@ -1,0 +2,16 @@ +Mon Jan 14 06:08:44 UTC 2019 - [email protected] + +- Update to 5.54.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.54.0.php +- Changes since 5.53.0: + * Fix doxygen markup in KConfigWatcher + * Fix a regression introduced in 6a1852 + * Fix build without D-Bus + * Deduplicate reference value + * Remove unneeded qWarning + * Escape bytes that are larger than or equal to 127 in config files + * Fix documentation, QValueList isn't a thing anymore + +------------------------------------------------------------------- Old: ---- kconfig-5.53.0.tar.xz New: ---- kconfig-5.54.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kconfig.spec ++++++ --- /var/tmp/diff_new_pack.knUjOP/_old 2019-01-21 10:19:06.514150147 +0100 +++ /var/tmp/diff_new_pack.knUjOP/_new 2019-01-21 10:19:06.514150147 +0100 @@ -1,7 +1,7 @@ # # spec file for package kconfig # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,14 +17,14 @@ %define sonum 5 -%define _tar_path 5.53 +%define _tar_path 5.54 # 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: kconfig -Version: 5.53.0 +Version: 5.54.0 Release: 0 Summary: Advanced configuration system License: LGPL-2.1-or-later AND GPL-2.0-or-later ++++++ kconfig-5.53.0.tar.xz -> kconfig-5.54.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/CMakeLists.txt new/kconfig-5.54.0/CMakeLists.txt --- old/kconfig-5.53.0/CMakeLists.txt 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/CMakeLists.txt 2019-01-06 21:19:29.000000000 +0100 @@ -1,10 +1,10 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.53.0") # handled by release scripts +set(KF5_VERSION "5.54.0") # handled by release scripts project(KConfig VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.53.0 NO_MODULE) +find_package(ECM 5.54.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/kconfig-5.53.0/autotests/kconfigtest.cpp new/kconfig-5.54.0/autotests/kconfigtest.cpp --- old/kconfig-5.53.0/autotests/kconfigtest.cpp 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/autotests/kconfigtest.cpp 2019-01-06 21:19:29.000000000 +0100 @@ -1719,12 +1719,41 @@ QCOMPARE(general.readEntry("Foo"), QString("Bar")); } +void KConfigTest::testQByteArrayUtf8() +{ + QTemporaryFile file; + QVERIFY(file.open()); + KConfig config(file.fileName(), KConfig::SimpleConfig); + KConfigGroup general(&config, "General"); + QByteArray bytes(256, '\0'); + for (int i = 0; i < 256; i++) { + bytes[i] = i; + } + general.writeEntry("Utf8", bytes); + config.sync(); + file.flush(); + file.close(); + QFile readFile(file.fileName()); + QVERIFY(readFile.open(QFile::ReadOnly)); +#define VALUE "Utf8=\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\x7f\\x80\\x81\\x82\\x83\\x84\\x85\\x86\\x87\\x88\\x89\\x8a\\x8b\\x8c\\x8d\\x8e\\x8f\\x90\\x91\\x92\\x93\\x94\\x95\\x96\\x97\\x98\\x99\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\\xa0\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6\\xa7\\xa8\\xa9\\xaa\\xab\\xac\\xad\\xae\\xaf\\xb0\\xb1\\xb2\\xb3\\xb4\\xb5\\xb6\\xb7\\xb8\\xb9\\xba\\xbb\\xbc\\xbd\\xbe\\xbf\\xc0\\xc1\\xc2\\xc3\\xc4\\xc5\\xc6\\xc7\\xc8\\xc9\\xca\\xcb\\xcc\\xcd\\xce\\xcf\\xd0\\xd1\\xd2\\xd3\\xd4\\xd5\\xd6\\xd7\\xd8\\xd9\\xda\\xdb\\xdc\\xdd\\xde\\xdf\\xe0\\xe1\\xe2\\xe3\\xe4\\xe5\\xe6\\xe7\\xe8\\xe9\\xea\\xeb\\xec\\xed\\xee\\xef\\xf0\\xf1\\xf2\\xf3\\xf4\\xf5\\xf6\\xf7\\xf8\\xf9\\xfa\\xfb\\xfc\\xfd\\xfe\\xff" +#ifndef Q_OS_WIN + QCOMPARE(readFile.readAll(), QByteArrayLiteral("[General]\n" VALUE "\n")); +#else + QCOMPARE(readFile.readAll(), QByteArrayLiteral("[General]\r\n" VALUE "\r\n")); +#endif +#undef VALUE + + // check that reading works + KConfig config2(file.fileName(), KConfig::SimpleConfig); + KConfigGroup general2(&config2, "General"); + QCOMPARE(bytes, general2.readEntry("Utf8", QByteArray())); +} + void KConfigTest::testNewlines() { // test that kconfig always uses the native line endings QTemporaryFile file; QVERIFY(file.open()); - qWarning() << file.fileName(); KConfig anonConfig(file.fileName(), KConfig::SimpleConfig); KConfigGroup general(&anonConfig, "General"); general.writeEntry("Foo", "Bar"); @@ -1795,7 +1824,7 @@ void KConfigTest::testNotify() { #if !KCONFIG_USE_DBUS - QSKIP("KConfig notification requires DBus") + QSKIP("KConfig notification requires DBus"); #endif KConfig config(TEST_SUBDIR "kconfigtest"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/autotests/kconfigtest.h new/kconfig-5.54.0/autotests/kconfigtest.h --- old/kconfig-5.53.0/autotests/kconfigtest.h 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/autotests/kconfigtest.h 2019-01-06 21:19:29.000000000 +0100 @@ -63,6 +63,7 @@ void testConfigCopyToSync(); void testReparent(); void testAnonymousConfig(); + void testQByteArrayUtf8(); void testSubGroup(); void testAddConfigSources(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/po/ca/kconfig5_qt.po new/kconfig-5.54.0/po/ca/kconfig5_qt.po --- old/kconfig-5.53.0/po/ca/kconfig5_qt.po 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/po/ca/kconfig5_qt.po 2019-01-06 21:19:29.000000000 +0100 @@ -1,5 +1,5 @@ # Translation of kconfig5_qt.po to Catalan -# Copyright (C) 2014-2018 This_file_is_part_of_KDE +# Copyright (C) 2004-2018 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/po/ca@valencia/kconfig5_qt.po new/kconfig-5.54.0/po/ca@valencia/kconfig5_qt.po --- old/kconfig-5.53.0/po/ca@valencia/kconfig5_qt.po 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/po/ca@valencia/kconfig5_qt.po 2019-01-06 21:19:29.000000000 +0100 @@ -1,5 +1,5 @@ # Translation of kconfig5_qt.po to Catalan (Valencian) -# Copyright (C) 2014-2018 This_file_is_part_of_KDE +# Copyright (C) 2004-2018 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/po/id/kconfig5_qt.po new/kconfig-5.54.0/po/id/kconfig5_qt.po --- old/kconfig-5.53.0/po/id/kconfig5_qt.po 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/po/id/kconfig5_qt.po 2019-01-06 21:19:29.000000000 +0100 @@ -10,7 +10,7 @@ "Project-Id-Version: kwriteconfig\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-11 02:17+0000\n" -"PO-Revision-Date: 2018-11-18 17:12+0700\n" +"PO-Revision-Date: 2018-12-21 22:20+0700\n" "Last-Translator: Wantoyo <[email protected]>\n" "Language-Team: Indonesian <[email protected]>\n" "Language: id\n" @@ -36,7 +36,7 @@ #: core/kemailsettings.cpp:249 msgctxt "KEMailSettings|" msgid "Default" -msgstr "Baku" +msgstr "Default" #: gui/kstandardshortcut.cpp:73 msgctxt "KStandardShortcut|@action" @@ -196,7 +196,7 @@ #: gui/kstandardshortcut.cpp:112 msgctxt "KStandardShortcut|@action" msgid "Go to Line" -msgstr "Ke Baris" +msgstr "Menuju ke Baris" #: gui/kstandardshortcut.cpp:113 msgctxt "KStandardShortcut|@action" @@ -216,12 +216,12 @@ #: gui/kstandardshortcut.cpp:117 msgctxt "KStandardShortcut|@action" msgid "Zoom In" -msgstr "Zum Perbesar" +msgstr "Zoom Perbesar" #: gui/kstandardshortcut.cpp:118 msgctxt "KStandardShortcut|@action" msgid "Zoom Out" -msgstr "Zum Perkecil" +msgstr "Zoom Perkecil" #: gui/kstandardshortcut.cpp:119 msgctxt "KStandardShortcut|@action" @@ -231,7 +231,7 @@ #: gui/kstandardshortcut.cpp:121 msgctxt "KStandardShortcut|@action" msgid "Show Menu Bar" -msgstr "Tampilkan Bilah Menu" +msgstr "Tampilkan Menubar" #: gui/kstandardshortcut.cpp:122 msgctxt "KStandardShortcut|@action" @@ -336,7 +336,7 @@ #: gui/kstandardshortcut.cpp:148 msgctxt "KStandardShortcut|@action" msgid "Zoom" -msgstr "Zum " +msgstr "Zoom " #: gui/kstandardshortcut.cpp:149 msgctxt "KStandardShortcut|@action" @@ -416,7 +416,7 @@ #: gui/kstandardshortcut.cpp:164 msgctxt "KStandardShortcut|@action" msgid "Switch Application Language" -msgstr "Alih Bahasa Aplikasi" +msgstr "Alihkan Bahasa Aplikasi" #: gui/kstandardshortcut.cpp:165 msgctxt "KStandardShortcut|@action" @@ -510,7 +510,7 @@ #: kreadconfig/kreadconfig.cpp:59 msgctxt "main|" msgid "Default value" -msgstr "Nilai baku" +msgstr "Nilai default" #: kreadconfig/kreadconfig.cpp:60 msgctxt "main|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/po/zh_CN/kconfig5_qt.po new/kconfig-5.54.0/po/zh_CN/kconfig5_qt.po --- old/kconfig-5.53.0/po/zh_CN/kconfig5_qt.po 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/po/zh_CN/kconfig5_qt.po 2019-01-06 21:19:29.000000000 +0100 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2018-11-12 09:13\n" +"PO-Revision-Date: 2019-01-05 20:42\n" "Last-Translator: guoyunhe <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/src/core/kconfigini.cpp new/kconfig-5.54.0/src/core/kconfigini.cpp --- old/kconfig-5.53.0/src/core/kconfigini.cpp 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/src/core/kconfigini.cpp 2019-01-06 21:19:29.000000000 +0100 @@ -676,6 +676,11 @@ if (((unsigned char)s[i]) < 32) { goto doEscape; } + // GroupString and KeyString should be valid UTF-8, but ValueString + // can be a bytearray with non-UTF-8 bytes that should be escaped. + if (type == ValueString && ((unsigned char)s[i]) >= 127) { + goto doEscape; + } *data++ = s[i]; break; case '\n': diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/src/core/kconfigwatcher.h new/kconfig-5.54.0/src/core/kconfigwatcher.h --- old/kconfig-5.53.0/src/core/kconfigwatcher.h 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/src/core/kconfigwatcher.h 2019-01-06 21:19:29.000000000 +0100 @@ -29,7 +29,9 @@ class KConfigWatcherPrivate; -/* +/** + * \class KConfigWatcher kconfigwatcher.h <KConfigWatcher> + * * Notifies when another client has updated this config file with the Notify flag set. * @since 5.51 */ @@ -39,7 +41,7 @@ public: typedef QSharedPointer<KConfigWatcher> Ptr; - /* + /** * Instantiate a ConfigWatcher for a given config * * @note any additional config sources should be set before this point. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.53.0/src/kconfig_compiler/README.dox new/kconfig-5.54.0/src/kconfig_compiler/README.dox --- old/kconfig-5.53.0/src/kconfig_compiler/README.dox 2018-12-01 15:53:16.000000000 +0100 +++ new/kconfig-5.54.0/src/kconfig_compiler/README.dox 2019-01-06 21:19:29.000000000 +0100 @@ -52,7 +52,7 @@ date without breaking compatibility. - IntList This indicates a list of integers. This information is provided - to the application as QValueList<int>. Useful for storing QSplitter + to the application as QList<int>. Useful for storing QSplitter geometries. - Color isn't a special type but has special input. It is generated as QColor.
