Hello community, here is the log from the commit of package kparts for openSUSE:Factory checked in at 2018-11-14 14:36:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kparts (Old) and /work/SRC/openSUSE:Factory/.kparts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kparts" Wed Nov 14 14:36:45 2018 rev:58 rq:648535 version:5.52.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kparts/kparts.changes 2018-10-22 11:14:44.379694812 +0200 +++ /work/SRC/openSUSE:Factory/.kparts.new/kparts.changes 2018-11-14 14:36:47.979126333 +0100 @@ -1,0 +2,18 @@ +Sun Nov 11 19:48:06 UTC 2018 - [email protected] + +- 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: + * Unbreak build, remove accidentally added code + * Remove duplicated include + * Include own header first + * Use more explicit with internal classes + * Fix Cancel being not handled in deprecated BrowserRun::askEmbedOrSave + * Port to undeprecated variant of KRun::runUrl + * Port KIO::Job::ui() -> KJob::uiDelegate() + * Use normalized signature with Q_ARG + * Add missing "emit" + +------------------------------------------------------------------- Old: ---- kparts-5.51.0.tar.xz New: ---- kparts-5.52.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kparts.spec ++++++ --- /var/tmp/diff_new_pack.eZ2Qot/_old 2018-11-14 14:36:48.355125964 +0100 +++ /var/tmp/diff_new_pack.eZ2Qot/_new 2018-11-14 14:36:48.355125964 +0100 @@ -17,14 +17,14 @@ %define lname libKF5Parts5 -%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: kparts -Version: 5.51.0 +Version: 5.52.0 Release: 0 Summary: Plugin framework for user interface components License: LGPL-2.1-or-later ++++++ kparts-5.51.0.tar.xz -> kparts-5.52.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/CMakeLists.txt new/kparts-5.52.0/CMakeLists.txt --- old/kparts-5.51.0/CMakeLists.txt 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/CMakeLists.txt 2018-11-03 19:03:43.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.51.0") # handled by release scripts -set(KF5_DEP_VERSION "5.51.0") # handled by release scripts +set(KF5_VERSION "5.52.0") # handled by release scripts +set(KF5_DEP_VERSION "5.52.0") # handled by release scripts project(KParts 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) @@ -56,9 +56,7 @@ 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_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) add_subdirectory( src ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/po/ast/kparts5.po new/kparts-5.52.0/po/ast/kparts5.po --- old/kparts-5.51.0/po/ast/kparts5.po 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/po/ast/kparts5.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,168 +0,0 @@ -# Copyright (C) YEAR This_file_is_part_of_KDE -# This file is distributed under the same license as the PACKAGE package. -# -# enolp <[email protected]>, 2016. -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-08-16 09:05+0200\n" -"PO-Revision-Date: 2016-12-20 23:26+0100\n" -"Last-Translator: enolp <[email protected]>\n" -"Language-Team: Asturian <[email protected]>\n" -"Language: ast\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 2.0\n" - -#, kde-format -msgctxt "NAME OF TRANSLATORS" -msgid "Your names" -msgstr "Softastur" - -#, kde-format -msgctxt "EMAIL OF TRANSLATORS" -msgid "Your emails" -msgstr "[email protected]" - -#: browserextension.cpp:241 -#, kde-format -msgid "<qt>Do you want to search the Internet for <b>%1</b>?</qt>" -msgstr "<qt>¿Quies guetar n'internet <b>%1</b>?</qt>" - -#: browserextension.cpp:242 -#, kde-format -msgid "Internet Search" -msgstr "Gueta d'internet" - -#: browserextension.cpp:242 -#, kde-format -msgid "&Search" -msgstr "&Guetar" - -#: browseropenorsavequestion.cpp:104 -#, kde-format -msgctxt "@label Type of file" -msgid "Type: %1" -msgstr "Triba: %1" - -#: browseropenorsavequestion.cpp:112 -#, kde-format -msgctxt "@label:checkbox" -msgid "Remember action for files of this type" -msgstr "Recordar aición pa ficheros d'esta triba" - -#: browseropenorsavequestion.cpp:164 browseropenorsavequestion.cpp:257 -#, kde-format -msgctxt "@label:button" -msgid "&Open with %1" -msgstr "&Abrir con %1" - -#: browseropenorsavequestion.cpp:231 -#, kde-format -msgctxt "@action:inmenu" -msgid "Open &with %1" -msgstr "Abrir &con %1" - -#: browseropenorsavequestion.cpp:242 browseropenorsavequestion.cpp:337 -#, kde-format -msgctxt "@info" -msgid "Open '%1'?" -msgstr "¿Abrir «%1»?" - -#: browseropenorsavequestion.cpp:246 -#, kde-format -msgctxt "@label:button" -msgid "&Open with..." -msgstr "&Abrir con..." - -#: browseropenorsavequestion.cpp:266 -#, kde-format -msgctxt "@label:button" -msgid "&Open with" -msgstr "&Abrir con" - -#: browseropenorsavequestion.cpp:334 -#, kde-format -msgctxt "@label:button" -msgid "&Open" -msgstr "&Abrir" - -#: browseropenorsavequestion.cpp:359 -#, kde-format -msgctxt "@label File name" -msgid "Name: %1" -msgstr "Nome: %1" - -#: browseropenorsavequestion.cpp:361 -#, kde-format -msgctxt "@info:whatsthis" -msgid "This is the file name suggested by the server" -msgstr "Esto ye un nome de ficheru suxeríu pol sirvidor" - -#: browserrun.cpp:346 -#, kde-format -msgid "Do you really want to execute '%1'?" -msgstr "¿De xuru que quies executar «%1»?" - -#: browserrun.cpp:347 -#, kde-format -msgid "Execute File?" -msgstr "¿Executar ficheru?" - -#: browserrun.cpp:347 -#, kde-format -msgid "Execute" -msgstr "Executar" - -#: browserrun.cpp:405 -#, kde-format -msgid "The Download Manager (%1) could not be found in your $PATH " -msgstr "Nun pudo alcontrase'l xestor de descargues (%1) nel to $PATH" - -#: browserrun.cpp:406 -#, kde-format -msgid "" -"Try to reinstall it \n" -"\n" -"The integration with Konqueror will be disabled." -msgstr "" -"Prueba a reinstalalu \n" -"\n" -"Deshabilitaráse la integración con Konqueror." - -#: browserrun.cpp:432 -#, kde-format -msgid "Save As" -msgstr "Guardar como" - -#: htmlsettingsinterface.cpp:34 -#, kde-format -msgid "Accept" -msgstr "Aceutar" - -#: htmlsettingsinterface.cpp:36 -#, kde-format -msgid "Reject" -msgstr "Refugar" - -#: readwritepart.cpp:93 -#, kde-format -msgid "Untitled" -msgstr "Ensin títulu" - -#: readwritepart.cpp:102 -#, kde-format -msgid "" -"The document \"%1\" has been modified.\n" -"Do you want to save your changes or discard them?" -msgstr "" -"Modificóse'l documentu «%1».\n" -"¿Quies guardar o escartar les tos camudancies?" - -#: readwritepart.cpp:104 -#, kde-format -msgid "Close Document" -msgstr "Zarrar documentu" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/po/zh_CN/kparts5.po new/kparts-5.52.0/po/zh_CN/kparts5.po --- old/kparts-5.51.0/po/zh_CN/kparts5.po 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/po/zh_CN/kparts5.po 2018-11-03 19:03:43.000000000 +0100 @@ -15,8 +15,8 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2018-08-16 09:05+0200\n" -"PO-Revision-Date: 2018-09-28 19:47\n" -"Last-Translator: guoyunhe <[email protected]>\n" +"PO-Revision-Date: 2018-10-09 18:38\n" +"Last-Translator: guoyunhe <[email protected]>\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/kparts-5.51.0/src/browserinterface.cpp new/kparts-5.52.0/src/browserinterface.cpp --- old/kparts-5.51.0/src/browserinterface.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/browserinterface.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -45,7 +45,7 @@ case QVariant::StringList: { QStringList strLst = argument.toStringList(); QMetaObject::invokeMethod(this, name, - Q_ARG(QStringList *, &strLst)); + Q_ARG(QStringList*, &strLst)); break; } case QVariant::Int: @@ -55,7 +55,7 @@ case QVariant::UInt: { unsigned int i = argument.toUInt(); QMetaObject::invokeMethod(this, name, - Q_ARG(unsigned int *, &i)); + Q_ARG(uint*, &i)); break; } case QVariant::Bool: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/browserrun.cpp new/kparts-5.52.0/src/browserrun.cpp --- old/kparts-5.51.0/src/browserrun.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/browserrun.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -369,7 +369,7 @@ question.setSuggestedFileName(suggestedFileName); const BrowserOpenOrSaveQuestion::Result result = question.askEmbedOrSave(flags); return result == BrowserOpenOrSaveQuestion::Save ? Save - : BrowserOpenOrSaveQuestion::Embed ? Open + : result == BrowserOpenOrSaveQuestion::Embed ? Open : Cancel; } #endif @@ -462,7 +462,7 @@ job->addMetaData(QStringLiteral("MaxCacheSize"), QStringLiteral("0")); // Don't store in http cache. job->addMetaData(QStringLiteral("cache"), QStringLiteral("cache")); // Use entry from cache if available. KJobWidgets::setWindow(job, window); - job->ui()->setAutoErrorHandlingEnabled(true); + job->uiDelegate()->setAutoErrorHandlingEnabled(true); new DownloadJobWatcher(job, metaData); } @@ -536,7 +536,7 @@ job->uiDelegate()->showErrorMessage(); } else { // Same as KRun::foundMimeType but with a different URL - (void)(KRun::runUrl(static_cast<KIO::FileCopyJob *>(job)->destUrl(), d->m_mimeType, d->m_window)); + (void)(KRun::runUrl(static_cast<KIO::FileCopyJob *>(job)->destUrl(), d->m_mimeType, d->m_window, KRun::RunFlags(KRun::RunExecutables))); } setError(true); // see above setFinished(true); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/browserview.desktop new/kparts-5.52.0/src/browserview.desktop --- old/kparts-5.51.0/src/browserview.desktop 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/browserview.desktop 2018-11-03 19:03:43.000000000 +0100 @@ -6,7 +6,6 @@ Name[af]=Blaaier-aansig Name[ar]=منظور متصفّح Name[as]=চৰকৰ প্ৰদৰ্শন -Name[ast]=Vista de restolador Name[be]=Выгляд аглядальніка Name[be@latin]=Vyhlad hartača Name[bg]=Изглед браузър diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/kpart.desktop new/kparts-5.52.0/src/kpart.desktop --- old/kparts-5.51.0/src/kpart.desktop 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/kpart.desktop 2018-11-03 19:03:43.000000000 +0100 @@ -5,7 +5,6 @@ Comment[af]=KDE Komponent Comment[ar]=مكوّن «كدي» Comment[as]=KDE অংশ -Comment[ast]=Componente de KDE Comment[be]=Кампанент KDE Comment[be@latin]=Kampanent KDE Comment[bg]=Компонент на KDE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/krop.desktop new/kparts-5.52.0/src/krop.desktop --- old/kparts-5.51.0/src/krop.desktop 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/krop.desktop 2018-11-03 19:03:43.000000000 +0100 @@ -6,7 +6,6 @@ Comment[af]=KDE Komponent Comment[ar]=مكوّن «كدي» Comment[as]=KDE অংশ -Comment[ast]=Componente de KDE Comment[be]=Кампанент KDE Comment[be@latin]=Kampanent KDE Comment[bg]=Компонент на KDE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/krwp.desktop new/kparts-5.52.0/src/krwp.desktop --- old/kparts-5.51.0/src/krwp.desktop 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/krwp.desktop 2018-11-03 19:03:43.000000000 +0100 @@ -6,7 +6,6 @@ Comment[af]=KDE Komponent Comment[ar]=مكوّن «كدي» Comment[as]=KDE অংশ -Comment[ast]=Componente de KDE Comment[be]=Кампанент KDE Comment[be@latin]=Kampanent KDE Comment[bg]=Компонент на KDE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/part_p.h new/kparts-5.52.0/src/part_p.h --- old/kparts-5.51.0/src/part_p.h 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/part_p.h 2018-11-03 19:03:43.000000000 +0100 @@ -36,7 +36,7 @@ public: Q_DECLARE_PUBLIC(Part) - PartPrivate(Part *q) + explicit PartPrivate(Part *q) : PartBasePrivate(q), m_iconLoader(nullptr), m_bSelectable(true), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/readonlypart_p.h new/kparts-5.52.0/src/readonlypart_p.h --- old/kparts-5.51.0/src/readonlypart_p.h 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/readonlypart_p.h 2018-11-03 19:03:43.000000000 +0100 @@ -39,7 +39,7 @@ public: Q_DECLARE_PUBLIC(ReadOnlyPart) - ReadOnlyPartPrivate(ReadOnlyPart *q): PartPrivate(q) + explicit ReadOnlyPartPrivate(ReadOnlyPart *q): PartPrivate(q) { m_job = nullptr; m_statJob = nullptr; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/readwritepart.cpp new/kparts-5.52.0/src/readwritepart.cpp --- old/kparts-5.51.0/src/readwritepart.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/readwritepart.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -108,7 +108,7 @@ switch (res) { case KMessageBox::Yes : - sigQueryClose(&handled, &abortClose); + emit sigQueryClose(&handled, &abortClose); if (!handled) { if (d->m_url.isEmpty()) { QUrl url = QFileDialog::getSaveFileUrl(parentWidget); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/src/readwritepart_p.h new/kparts-5.52.0/src/readwritepart_p.h --- old/kparts-5.51.0/src/readwritepart_p.h 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/src/readwritepart_p.h 2018-11-03 19:03:43.000000000 +0100 @@ -35,7 +35,7 @@ public: Q_DECLARE_PUBLIC(ReadWritePart) - ReadWritePartPrivate(ReadWritePart *q): ReadOnlyPartPrivate(q) + explicit ReadWritePartPrivate(ReadWritePart *q): ReadOnlyPartPrivate(q) { m_bModified = false; m_bReadWrite = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/templates/kpartsapp/kpartsapp.kdevtemplate new/kparts-5.52.0/templates/kpartsapp/kpartsapp.kdevtemplate --- old/kparts-5.51.0/templates/kpartsapp/kpartsapp.kdevtemplate 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/templates/kpartsapp/kpartsapp.kdevtemplate 2018-11-03 19:03:43.000000000 +0100 @@ -49,6 +49,7 @@ Comment[fi]=Luo KParts-sovelluskehykseen pohjautuva sovellus käyttäen CMakea. Comment[fr]=Générer une application construite sur l'environnement KParts, utilisant CMake. Comment[gl]=Xerar un aplicativo construído coa infraestrutura KParts, usando CMake. +Comment[hu]=Generál egy, a KParts keretrendszerre épülő, CMake-et használó alkalmazást. Comment[ia]=Generar un application construite sur le skeleto KParts, usante CMake. Comment[id]=Menghasilkan sebuah pembikinan aplikasi pada kerangka kerja KParts, menggunakan CMake. Comment[is]=Útbúðu forrit byggt á KParts-stuðningskerfinu, með því að nota CMake. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/tests/parts.cpp new/kparts-5.52.0/tests/parts.cpp --- old/kparts-5.51.0/tests/parts.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/tests/parts.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -31,7 +31,6 @@ #include <QFile> #include <QDir> #include <QTextStream> -#include <QTest> #include <QTextEdit> #include <QLineEdit> #include <QTest> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/tests/partviewer.cpp new/kparts-5.52.0/tests/partviewer.cpp --- old/kparts-5.51.0/tests/partviewer.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/tests/partviewer.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -19,10 +19,13 @@ Boston, MA 02110-1301, USA. */ +#include "partviewer.h" + #include <kactioncollection.h> #include <klocalizedstring.h> -#include <qmimedatabase.h> +#include <kmimetypetrader.h> +#include <qmimedatabase.h> #include <QAction> #include <QApplication> #include <QFileDialog> @@ -31,8 +34,6 @@ #include <QFile> #include <QTest> -#include "partviewer.h" -#include <kmimetypetrader.h> PartViewer::PartViewer() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.51.0/tests/plugin_spellcheck.cpp new/kparts-5.52.0/tests/plugin_spellcheck.cpp --- old/kparts-5.51.0/tests/plugin_spellcheck.cpp 2018-10-08 10:19:29.000000000 +0200 +++ new/kparts-5.52.0/tests/plugin_spellcheck.cpp 2018-11-03 19:03:43.000000000 +0100 @@ -18,9 +18,10 @@ Boston, MA 02110-1301, USA. */ +#include "plugin_spellcheck.h" + #include "notepad.h" // this plugin applies to a notepad part #include <QTextEdit> -#include "plugin_spellcheck.h" #include <QAction> #include <kactioncollection.h> #include <kmessagebox.h>
