Hello community, here is the log from the commit of package sonnet for openSUSE:Factory checked in at 2018-11-14 14:39:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sonnet (Old) and /work/SRC/openSUSE:Factory/.sonnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sonnet" Wed Nov 14 14:39:44 2018 rev:61 rq:648559 version:5.52.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sonnet/sonnet.changes 2018-10-22 11:19:41.691379275 +0200 +++ /work/SRC/openSUSE:Factory/.sonnet.new/sonnet.changes 2018-11-14 14:40:50.902863164 +0100 @@ -1,0 +2,12 @@ +Sun Nov 11 19:48:09 UTC 2018 - lbeltr...@kde.org + +- Update to 5.52.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.52.0.php +- Changes since 5.51.0: + * Use reserve() on QStringList + * Fix breakage of language guessing + * Another 0 -> nullptr + +------------------------------------------------------------------- Old: ---- sonnet-5.51.0.tar.xz New: ---- sonnet-5.52.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sonnet.spec ++++++ --- /var/tmp/diff_new_pack.SX6VEp/_old 2018-11-14 14:40:51.366862615 +0100 +++ /var/tmp/diff_new_pack.SX6VEp/_new 2018-11-14 14:40:51.370862611 +0100 @@ -17,14 +17,14 @@ %define sonum 5 -%define _tar_path 5.51 +%define _tar_path 5.52 # 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: sonnet -Version: 5.51.0 +Version: 5.52.0 Release: 0 Summary: KDE spell checking library License: LGPL-2.1-or-later ++++++ sonnet-5.51.0.tar.xz -> sonnet-5.52.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.51.0/CMakeLists.txt new/sonnet-5.52.0/CMakeLists.txt --- old/sonnet-5.51.0/CMakeLists.txt 2018-10-10 23:06:16.000000000 +0200 +++ new/sonnet-5.52.0/CMakeLists.txt 2018-11-03 19:06:56.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.51.0") # handled by release scripts +set(KF5_VERSION "5.52.0") # handled by release scripts project(Sonnet VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.51.0 NO_MODULE) +find_package(ECM 5.52.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) @@ -45,13 +45,6 @@ ecm_install_po_files_as_qm(po) endif() -add_definitions(-DQT_NO_CAST_FROM_ASCII) -add_definitions(-DQT_NO_CAST_TO_ASCII) -add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) -add_definitions(-DQT_NO_URL_CAST_FROM_STRING) -add_definitions(-DQT_USE_QSTRINGBUILDER) - - add_subdirectory(src) if (BUILD_TESTING) add_subdirectory(autotests) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.51.0/po/ast/sonnet5_qt.po new/sonnet-5.52.0/po/ast/sonnet5_qt.po --- old/sonnet-5.51.0/po/ast/sonnet5_qt.po 2018-10-10 23:06:16.000000000 +0200 +++ new/sonnet-5.52.0/po/ast/sonnet5_qt.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,445 +0,0 @@ -# enolp <en...@softastur.org>, 2016, 2017. -msgid "" -msgstr "" -"Project-Id-Version: \n" -"PO-Revision-Date: 2017-01-21 03:34+0100\n" -"Last-Translator: enolp <en...@softastur.org>\n" -"Language-Team: Asturian <alministrado...@softastur.org>\n" -"Language: ast\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Qt-Contexts: true\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 2.0\n" - -#: core/loader.cpp:187 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "40" -msgstr "40" - -#: core/loader.cpp:188 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "60" -msgstr "60" - -#: core/loader.cpp:189 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "80" -msgstr "80" - -#: core/loader.cpp:190 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ise suffixes" -msgstr "" - -#: core/loader.cpp:191 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ize suffixes" -msgstr "" - -#: core/loader.cpp:192 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ise suffixes and with accents" -msgstr "" - -#: core/loader.cpp:194 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ise suffixes and without accents" -msgstr "" - -#: core/loader.cpp:197 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ize suffixes and with accents" -msgstr "" - -#: core/loader.cpp:199 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "-ize suffixes and without accents" -msgstr "" - -#: core/loader.cpp:202 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "large" -msgstr "" - -#: core/loader.cpp:203 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "medium" -msgstr "" - -#: core/loader.cpp:204 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "small" -msgstr "" - -#: core/loader.cpp:205 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "variant 0" -msgstr "" - -#: core/loader.cpp:206 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "variant 1" -msgstr "" - -#: core/loader.cpp:207 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "variant 2" -msgstr "" - -#: core/loader.cpp:209 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "without accents" -msgstr "ensin acentos" - -#: core/loader.cpp:210 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "with accents" -msgstr "con acentos" - -#: core/loader.cpp:212 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "with ye, modern russian" -msgstr "" - -#: core/loader.cpp:214 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "with yeyo, modern and old russian" -msgstr "" - -#: core/loader.cpp:217 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "with yo, old russian" -msgstr "" - -#: core/loader.cpp:218 -msgctxt "Sonnet::Loader|dictionary variant" -msgid "extended" -msgstr "" - -#: core/loader.cpp:253 -#, qt-format -msgctxt "" -"Sonnet::Loader|dictionary name; %1 = language name, %2 = country name and %3 " -"= language variant name" -msgid "%1 (%2) [%3]" -msgstr "%1 (%2) [%3]" - -#: core/loader.cpp:256 -#, qt-format -msgctxt "Sonnet::Loader|dictionary name; %1 = language name, %2 = country name" -msgid "%1 (%2)" -msgstr "%1 (%2)" - -#: ui/configdialog.cpp:53 -msgctxt "Sonnet::ConfigDialog|" -msgid "Spell Checking Configuration" -msgstr "Configuración de comprobación ortográfica" - -#: ui/configui.ui:41 -msgctxt "SonnetConfigUI|" -msgid "Options" -msgstr "Opciones" - -#: ui/configui.ui:47 -msgctxt "SonnetConfigUI|" -msgid "Enable autodetection of &language" -msgstr "" - -#: ui/configui.ui:54 -msgctxt "SonnetConfigUI|" -msgid "Enable &background spellchecking" -msgstr "" - -#: ui/configui.ui:61 -msgctxt "SonnetConfigUI|" -msgid "&Automatic spell checking enabled by default" -msgstr "" - -#: ui/configui.ui:68 -msgctxt "SonnetConfigUI|" -msgid "Skip all &uppercase words" -msgstr "" - -#: ui/configui.ui:75 -msgctxt "SonnetConfigUI|" -msgid "S&kip run-together words" -msgstr "" - -#: ui/configui.ui:85 -msgctxt "SonnetConfigUI|" -msgid "Default language:" -msgstr "" - -#: ui/configui.ui:95 -msgctxt "SonnetConfigUI|" -msgid "Ignored Words:" -msgstr "" - -#: ui/configui.ui:109 -msgctxt "SonnetConfigUI|" -msgid "&Add" -msgstr "&Amestar" - -#: ui/configui.ui:122 -msgctxt "SonnetConfigUI|" -msgid "&Remove" -msgstr "&Desaniciar" - -#: ui/configui.ui:160 -msgctxt "SonnetConfigUI|" -msgid "No backend found for spell checking" -msgstr "" - -#: ui/dialog.cpp:100 ui/dialog.cpp:222 ui/dialog.cpp:432 -msgctxt "Sonnet::Dialog|@title:window" -msgid "Check Spelling" -msgstr "" - -#: ui/dialog.cpp:221 -msgctxt "Sonnet::Dialog|progress label" -msgid "Spell checking in progress..." -msgstr "" - -#: ui/dialog.cpp:242 -msgctxt "Sonnet::Dialog|" -msgid "Spell check stopped." -msgstr "Paróse la comprobación ortográfica" - -#: ui/dialog.cpp:252 -msgctxt "Sonnet::Dialog|" -msgid "Spell check canceled." -msgstr "Encaboxóse la comprobación ortográfica." - -#: ui/dialog.cpp:428 ui/dialog.cpp:431 -msgctxt "Sonnet::Dialog|" -msgid "Spell check complete." -msgstr "Completóse la comprobación ortográfica." - -#: ui/highlighter.cpp:252 ui/highlighter.cpp:274 -msgctxt "Sonnet::Highlighter|" -msgid "As-you-type spell checking enabled." -msgstr "" - -#: ui/highlighter.cpp:255 -msgctxt "Sonnet::Highlighter|" -msgid "Too many misspelled words. As-you-type spell checking disabled." -msgstr "" - -#: ui/highlighter.cpp:276 -msgctxt "Sonnet::Highlighter|" -msgid "As-you-type spell checking disabled." -msgstr "" - -#: ui/sonnetui.ui:41 ui/sonnetui.ui:57 -msgctxt "SonnetUi|" -msgid "" -"<qt><p>This word was considered to be an \"unknown word\" because it does " -"not match any entry in the dictionary currently in use. It may also be a " -"word in a foreign language.</p>\n" -"<p>If the word is not misspelled, you may add it to the dictionary by " -"clicking <b>Add to Dictionary</b>. If you do not want to add the unknown " -"word to the dictionary, but you want to leave it unchanged, click <b>Ignore</" -"b> or <b>Ignore All</b>.</p>\n" -"<p>However, if the word is misspelled, you can try to find the correct " -"replacement in the list below. If you cannot find a replacement there, you " -"may type it in the text box below, and click <b>Replace</b> or <b>Replace " -"All</b>.</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:47 -msgctxt "SonnetUi|" -msgid "Unknown word:" -msgstr "Pallabra desconocida:" - -#: ui/sonnetui.ui:54 -msgctxt "SonnetUi|" -msgid "Unknown word" -msgstr "Pallabra desconocida" - -#: ui/sonnetui.ui:63 -msgctxt "SonnetUi|" -msgid "<b>misspelled</b>" -msgstr "" - -#: ui/sonnetui.ui:70 ui/sonnetui.ui:180 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Select the language of the document you are proofing here.</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:75 -msgctxt "SonnetUi|" -msgid "&Language:" -msgstr "&Llingua:" - -#: ui/sonnetui.ui:85 -msgctxt "SonnetUi|" -msgid "Text excerpt showing the unknown word in its context." -msgstr "" - -#: ui/sonnetui.ui:88 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Here you can see a text excerpt showing the unknown word in its context. " -"If this information is not sufficient to choose the best replacement for the " -"unknown word, you can click on the document you are proofing, read a larger " -"part of the text and then return here to continue proofing.</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:96 -msgctxt "SonnetUi|" -msgid "... the <b>misspelled</b> word shown in context ..." -msgstr "" - -#: ui/sonnetui.ui:106 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>The unknown word was detected and considered unknown because it is not " -"included in the dictionary.<br>\n" -"Click here if you consider the unknown word not to be misspelled, and you " -"want to avoid wrongly detecting it again in the future. If you want to let " -"it remain as is, but not add it to the dictionary, then click <b>Ignore</b> " -"or <b>Ignore All</b> instead.</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:112 -msgctxt "SonnetUi|" -msgid "<< Add to Dictionary" -msgstr "" - -#: ui/sonnetui.ui:135 -msgctxt "SonnetUi|" -msgid "Suggestion List" -msgstr "" - -#: ui/sonnetui.ui:138 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>If the unknown word is misspelled, you should check if the correction for " -"it is available and if it is, click on it. If none of the words in this list " -"is a good replacement you may type the correct word in the edit box above.</" -"p>\n" -"<p>To correct this word click <b>Replace</b> if you want to correct only " -"this occurrence or <b>Replace All</b> if you want to correct all occurrences." -"</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:151 ui/sonnetui.ui:167 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>If the unknown word is misspelled, you should type the correction for " -"your misspelled word here or select it from the list below.</p>\n" -"<p>You can then click <b>Replace</b> if you want to correct only this " -"occurrence of the word or <b>Replace All</b> if you want to correct all " -"occurrences.</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:157 -msgctxt "SonnetUi|" -msgid "Replace &with:" -msgstr "Trocar &con:" - -#: ui/sonnetui.ui:177 -msgctxt "SonnetUi|" -msgid "Language Selection" -msgstr "" - -#: ui/sonnetui.ui:206 -msgctxt "SonnetUi|" -msgid "S&uggest" -msgstr "" - -#: ui/sonnetui.ui:213 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Click here to replace this occurrence of the unknown text with the text " -"in the edit box above (to the left).</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:218 -msgctxt "SonnetUi|" -msgid "&Replace" -msgstr "" - -#: ui/sonnetui.ui:225 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Click here to replace all occurrences of the unknown text with the text " -"in the edit box above (to the left).</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:230 -msgctxt "SonnetUi|" -msgid "R&eplace All" -msgstr "&Trocar too" - -#: ui/sonnetui.ui:237 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Click here to let this occurrence of the unknown word remain as is.</p>\n" -"<p>This action is useful when the word is a name, an acronym, a foreign word " -"or any other unknown word that you want to use but not add to the dictionary." -"</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:243 -msgctxt "SonnetUi|" -msgid "&Ignore" -msgstr "&Inorar" - -#: ui/sonnetui.ui:250 ui/sonnetui.ui:263 -msgctxt "SonnetUi|" -msgid "" -"<qt>\n" -"<p>Click here to let all occurrences of the unknown word remain as they are." -"</p>\n" -"<p>This action is useful when the word is a name, an acronym, a foreign word " -"or any other unknown word that you want to use but not add to the dictionary." -"</p>\n" -"</qt>" -msgstr "" - -#: ui/sonnetui.ui:256 -msgctxt "SonnetUi|" -msgid "I&gnore All" -msgstr "&Inorar too" - -#: ui/sonnetui.ui:269 -msgctxt "SonnetUi|" -msgid "Autocorrect" -msgstr "" - -#: ui/spellcheckdecorator.cpp:172 -#, qt-format -msgctxt "Sonnet::SpellCheckDecorator|" -msgid "No suggestions for %1" -msgstr "Nun hai suxerencies pa %1" - -#: ui/spellcheckdecorator.cpp:183 -msgctxt "Sonnet::SpellCheckDecorator|" -msgid "Ignore" -msgstr "Inorar" - -#: ui/spellcheckdecorator.cpp:184 -msgctxt "Sonnet::SpellCheckDecorator|" -msgid "Add to Dictionary" -msgstr "Amestar al diccionariu" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.51.0/po/zh_CN/sonnet5_qt.po new/sonnet-5.52.0/po/zh_CN/sonnet5_qt.po --- old/sonnet-5.51.0/po/zh_CN/sonnet5_qt.po 2018-10-10 23:06:16.000000000 +0200 +++ new/sonnet-5.52.0/po/zh_CN/sonnet5_qt.po 2018-11-03 19:06:56.000000000 +0100 @@ -14,8 +14,8 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2018-09-28 19:47\n" -"Last-Translator: guoyunhe <yunhe....@protonmail.com>\n" +"PO-Revision-Date: 2018-10-09 18:38\n" +"Last-Translator: guoyunhe <i...@guoyunhe.me>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.51.0/src/core/guesslanguage.cpp new/sonnet-5.52.0/src/core/guesslanguage.cpp --- old/sonnet-5.51.0/src/core/guesslanguage.cpp 2018-10-10 23:06:16.000000000 +0200 +++ new/sonnet-5.52.0/src/core/guesslanguage.cpp 2018-11-03 19:06:56.000000000 +0100 @@ -91,6 +91,7 @@ { QStringList locales; const auto matchingLocales = QLocale::matchingLocales(QLocale::AnyLanguage, script, QLocale::AnyCountry); + locales.reserve(matchingLocales.size()); for (const QLocale &locale : matchingLocales) { locales << locale.name(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.51.0/src/plugins/voikko/voikkodict.cpp new/sonnet-5.52.0/src/plugins/voikko/voikkodict.cpp --- old/sonnet-5.51.0/src/plugins/voikko/voikkodict.cpp 2018-10-10 23:06:16.000000000 +0200 +++ new/sonnet-5.52.0/src/plugins/voikko/voikkodict.cpp 2018-11-03 19:06:56.000000000 +0100 @@ -146,7 +146,7 @@ , m_conversionBuffer(256) { const char *error; - m_handle = voikkoInit(&error, language.toUtf8().data(), 0); + m_handle = voikkoInit(&error, language.toUtf8().data(), nullptr); if (error != nullptr) { qCWarning(SONNET_VOIKKO) << "Failed to initialize Voikko spelling backend. Reason:"