Hello community, here is the log from the commit of package plasma-browser-integration for openSUSE:Factory checked in at 2019-01-21 10:48:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-browser-integration (Old) and /work/SRC/openSUSE:Factory/.plasma-browser-integration.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-browser-integration" Mon Jan 21 10:48:14 2019 rev:13 rq:664011 version:5.14.5 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-browser-integration/plasma-browser-integration.changes 2018-11-29 22:59:50.355547917 +0100 +++ /work/SRC/openSUSE:Factory/.plasma-browser-integration.new.28833/plasma-browser-integration.changes 2019-01-21 10:48:50.844129639 +0100 @@ -1,0 +2,10 @@ +Tue Jan 8 13:37:33 UTC 2019 - fab...@ritter-vogt.de + +- Update to 5.14.5 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.14.5.php +- Changes since 5.14.4: + * Only cancel job when an "error" is set and ignore "interrupted" (kde#385530) + +------------------------------------------------------------------- Old: ---- plasma-browser-integration-5.14.4.tar.xz plasma-browser-integration-5.14.4.tar.xz.sig New: ---- plasma-browser-integration-5.14.5.tar.xz plasma-browser-integration-5.14.5.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-browser-integration.spec ++++++ --- /var/tmp/diff_new_pack.Vjvhfm/_old 2019-01-21 10:48:52.612127480 +0100 +++ /var/tmp/diff_new_pack.Vjvhfm/_new 2019-01-21 10:48:52.616127475 +0100 @@ -20,7 +20,7 @@ %bcond_with browser_extension %bcond_without lang Name: plasma-browser-integration -Version: 5.14.4 +Version: 5.14.5 Release: 0 Summary: Helper for the KDE Plasma Browser Integration License: GPL-3.0-or-later ++++++ plasma-browser-integration-5.14.4.tar.xz -> plasma-browser-integration-5.14.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/CMakeLists.txt new/plasma-browser-integration-5.14.5/CMakeLists.txt --- old/plasma-browser-integration-5.14.4/CMakeLists.txt 2018-11-27 17:12:05.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/CMakeLists.txt 2019-01-08 12:02:57.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.0) project(plasma-browser-integration) -set(PROJECT_VERSION "5.14.4") +set(PROJECT_VERSION "5.14.5") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.9.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/extension/_locales/fi/messages.json new/plasma-browser-integration-5.14.5/extension/_locales/fi/messages.json --- old/plasma-browser-integration-5.14.4/extension/_locales/fi/messages.json 2018-11-27 17:11:51.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/extension/_locales/fi/messages.json 2019-01-08 12:02:43.000000000 +0100 @@ -3,7 +3,7 @@ "message": "Plasma-silta katkaisi odottamatta yhteyden: $1" }, "general_error_port_startupfail": { - "message": "Yhteydenotto Plasmaan epäonnistui. Varmista, että plasma-browser-integration-paketti on asennettu." + "message": "Yhteydenotto Plasmaan epäonnistui. Varmista, että plasma-browser-integration-paketti on asennettu.Yhteydenotto Plasmaan epäonnistui. Varmista, että plasma-browser-integration-paketti on asennettu." }, "general_error_title": { "message": "Plasma-selainintegrointivirhe" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/extension/_locales/zh_CN/messages.json new/plasma-browser-integration-5.14.5/extension/_locales/zh_CN/messages.json --- old/plasma-browser-integration-5.14.4/extension/_locales/zh_CN/messages.json 2018-11-27 17:11:51.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/extension/_locales/zh_CN/messages.json 2019-01-08 12:02:43.000000000 +0100 @@ -54,7 +54,7 @@ "message": "在通知区域显示下载" }, "options_plugin_kdeconnect_description": { - "message": "添加上下文菜单项目来让您可以将它们通过<a href=\"$1\">KDE Connect</a>发送到您" + "message": "添加右键菜单项目来让您可以将它们通过<a href=\"$1\">KDE Connect</a>发送到您的" }, "options_plugin_kdeconnect_title": { "message": "通过 KDE Connect 发送" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/host/downloadjob.cpp new/plasma-browser-integration-5.14.5/host/downloadjob.cpp --- old/plasma-browser-integration-5.14.4/host/downloadjob.cpp 2018-11-27 17:11:51.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/host/downloadjob.cpp 2019-01-08 12:02:43.000000000 +0100 @@ -146,70 +146,68 @@ emitSpeed(speed); } - // TODO use the estimatedEndTime to calculate transfer speed - - it = payload.constFind(QStringLiteral("state")); - if (it != end) { - const QString status = it->toString(); - if (status == QLatin1String("in_progress")) { + const QString error = payload.value(QStringLiteral("error")).toString(); + if (!error.isEmpty()) { + if (error == QLatin1String("USER_CANCELED") + || error == QLatin1String("USER_SHUTDOWN")) { + setError(KIO::ERR_USER_CANCELED); // will keep Notification applet from showing a "finished"/error message + emitResult(); + return; + } - } else if (status == QLatin1String("interrupted")) { + // value is a QVariant so we can be lazy and support both KIO errors and custom test + // if QVariant is an int: use that as KIO error + // if QVariant is a QString: set UserError and message + static const QHash<QString, QString> errors { + // for a list of these error codes *and their meaning* instead of looking at browser + // extension docs, check out Chromium's source code: download_interrupt_reason_values.h + {QStringLiteral("FILE_ACCESS_DENIED"), i18n("Access denied.")}, // KIO::ERR_ACCESS_DENIED + {QStringLiteral("FILE_NO_SPACE"), i18n("Insufficient free space.")}, // KIO::ERR_DISK_FULL + {QStringLiteral("FILE_NAME_TOO_LONG"), i18n("The file name you have chosen is too long.")}, + {QStringLiteral("FILE_TOO_LARGE"), i18n("The file is too large to be downloaded.")}, + // haha + {QStringLiteral("FILE_VIRUS_INFECTED"), i18n("The file possibly contains malicious contents.")}, + {QStringLiteral("FILE_TRANSIENT_ERROR"), i18n("A temporary error has occurred. Please try again later.")}, + + {QStringLiteral("NETWORK_FAILED"), i18n("A network error has occurred.")}, + {QStringLiteral("NETWORK_TIMEOUT"), i18n("The network operation timed out.")}, // TODO something less geeky + {QStringLiteral("NETWORK_DISCONNECTED"), i18n("The network connection has been lost.")}, + {QStringLiteral("NETWORK_SERVER_DOWN"), i18n("The server is no longer reachable.")}, + + {QStringLiteral("SERVER_FAILED"), i18n("A server error has occurred.")}, + // chromium code says "internal use" and this is really not something the user should see + // SERVER_NO_RANGE" + // SERVER_PRECONDITION + {QStringLiteral("SERVER_BAD_CONTENT"), i18n("The server does not have the requested data.")}, + + {QStringLiteral("CRASH"), i18n("The browser application closed unexpectedly.")} + }; + + + const QString &errorValue = errors.value(error); + if (errorValue.isEmpty()) { // unknown error + setError(KIO::ERR_UNKNOWN); + setErrorText(i18n("An unknown error occurred while downloading.")); + emitResult(); + return; + } - const QString &error = payload.value(QStringLiteral("error")).toString(); + // KIO::Error doesn't have a UserDefined one, let's just use magic numbers then + // TODO at least set the KIO::Errors that we do have + setError(1000); + setErrorText(errorValue); - if (error == QLatin1String("USER_CANCELED") - || error == QLatin1String("USER_SHUTDOWN")) { - setError(KIO::ERR_USER_CANCELED); // will keep Notification applet from showing a "finished"/error message - emitResult(); - return; - } - - // value is a QVariant so we can be lazy and support both KIO errors and custom test - // if QVariant is an int: use that as KIO error - // if QVariant is a QString: set UserError and message - static const QHash<QString, QString> errors { - // for a list of these error codes *and their meaning* instead of looking at browser - // extension docs, check out Chromium's source code: download_interrupt_reason_values.h - {QStringLiteral("FILE_ACCESS_DENIED"), i18n("Access denied.")}, // KIO::ERR_ACCESS_DENIED - {QStringLiteral("FILE_NO_SPACE"), i18n("Insufficient free space.")}, // KIO::ERR_DISK_FULL - {QStringLiteral("FILE_NAME_TOO_LONG"), i18n("The file name you have chosen is too long.")}, - {QStringLiteral("FILE_TOO_LARGE"), i18n("The file is too large to be downloaded.")}, - // haha - {QStringLiteral("FILE_VIRUS_INFECTED"), i18n("The file possibly contains malicious contents.")}, - {QStringLiteral("FILE_TRANSIENT_ERROR"), i18n("A temporary error has occurred. Please try again later.")}, - - {QStringLiteral("NETWORK_FAILED"), i18n("A network error has occurred.")}, - {QStringLiteral("NETWORK_TIMEOUT"), i18n("The network operation timed out.")}, // TODO something less geeky - {QStringLiteral("NETWORK_DISCONNECTED"), i18n("The network connection has been lost.")}, - {QStringLiteral("NETWORK_SERVER_DOWN"), i18n("The server is no longer reachable.")}, - - {QStringLiteral("SERVER_FAILED"), i18n("A server error has occurred.")}, - // chromium code says "internal use" and this is really not something the user should see - // SERVER_NO_RANGE" - // SERVER_PRECONDITION - {QStringLiteral("SERVER_BAD_CONTENT"), i18n("The server does not have the requested data.")}, - - {QStringLiteral("CRASH"), i18n("The browser application closed unexpectedly.")} - }; - - - const QString &errorValue = errors.value(error); - if (errorValue.isEmpty()) { // unknown error - setError(KIO::ERR_UNKNOWN); - setErrorText(i18n("An unknown error occurred while downloading.")); - emitResult(); - return; - } - - // KIO::Error doesn't have a UserDefined one, let's just use magic numbers then - // TODO at least set the KIO::Errors that we do have - setError(1000); - setErrorText(errorValue); + emitResult(); + return; + } - emitResult(); + it = payload.constFind(QStringLiteral("state")); + if (it != end) { + const QString state = it->toString(); - return; - } else if (status == QLatin1String("complete")) { + // We ignore "interrupted" state and only cancel if we get supplied an "error" + if (state == QLatin1String("complete")) { + setError(KJob::NoError); emitResult(); return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/po/gl/plasma-browser-integration-reminder.po new/plasma-browser-integration-5.14.5/po/gl/plasma-browser-integration-reminder.po --- old/plasma-browser-integration-5.14.4/po/gl/plasma-browser-integration-reminder.po 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/po/gl/plasma-browser-integration-reminder.po 2019-01-08 12:02:49.000000000 +0100 @@ -0,0 +1,28 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Adrián Chaves (Gallaecio) <adr...@chaves.io>, 2018. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2018-09-15 06:50+0200\n" +"PO-Revision-Date: 2018-12-16 12:22+0100\n" +"Last-Translator: Adrián Chaves (Gallaecio) <adr...@chaves.io>\n" +"Language-Team: Galician <kde-i18n-...@kde.org>\n" +"Language: gl\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" + +#: browserintegrationreminder.cpp:145 +#, kde-format +msgid "Get Plasma Browser Integration" +msgstr "Obter a integración co navegador de Plasma" + +#: browserintegrationreminder.cpp:170 +#, kde-format +msgid "Do not show again" +msgstr "Non mostrar de novo" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/po/zh_CN/plasma-browser-integration-reminder.po new/plasma-browser-integration-5.14.5/po/zh_CN/plasma-browser-integration-reminder.po --- old/plasma-browser-integration-5.14.4/po/zh_CN/plasma-browser-integration-reminder.po 2018-11-27 17:12:05.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/po/zh_CN/plasma-browser-integration-reminder.po 2019-01-08 12:02:57.000000000 +0100 @@ -8,7 +8,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2018-09-15 06:50+0200\n" -"PO-Revision-Date: 2018-11-12 09:21\n" +"PO-Revision-Date: 2019-01-05 20:49\n" "Last-Translator: guoyunhe <i...@guoyunhe.me>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/po/zh_CN/plasma_runner_browsertabs.po new/plasma-browser-integration-5.14.5/po/zh_CN/plasma_runner_browsertabs.po --- old/plasma-browser-integration-5.14.4/po/zh_CN/plasma_runner_browsertabs.po 2018-11-27 17:12:05.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/po/zh_CN/plasma_runner_browsertabs.po 2019-01-08 12:02:57.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2018-09-14 06:48+0200\n" -"PO-Revision-Date: 2018-11-12 09:21\n" +"PO-Revision-Date: 2019-01-05 20:49\n" "Last-Translator: guoyunhe <i...@guoyunhe.me>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/po/zh_TW/plasma-browser-integration-reminder.po new/plasma-browser-integration-5.14.5/po/zh_TW/plasma-browser-integration-reminder.po --- old/plasma-browser-integration-5.14.4/po/zh_TW/plasma-browser-integration-reminder.po 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/po/zh_TW/plasma-browser-integration-reminder.po 2019-01-08 12:02:57.000000000 +0100 @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: plasma-browser-integration-reminder\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2018-09-15 06:50+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Chinese <kde-i18n-...@kde.org>\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: browserintegrationreminder.cpp:145 +#, kde-format +msgid "Get Plasma Browser Integration" +msgstr "" + +#: browserintegrationreminder.cpp:170 +#, kde-format +msgid "Do not show again" +msgstr "" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-browser-integration-5.14.4/po/zh_TW/plasma_runner_browsertabs.po new/plasma-browser-integration-5.14.5/po/zh_TW/plasma_runner_browsertabs.po --- old/plasma-browser-integration-5.14.4/po/zh_TW/plasma_runner_browsertabs.po 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-browser-integration-5.14.5/po/zh_TW/plasma_runner_browsertabs.po 2019-01-08 12:02:57.000000000 +0100 @@ -0,0 +1,33 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: plasma_runner_browsertabs\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2018-09-14 06:48+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Chinese <kde-i18n-...@kde.org>\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: tabsrunner.cpp:42 +#, kde-format +msgid "Finds browser tabs whose title match :q:" +msgstr "" + +#: tabsrunner.cpp:45 +#, kde-format +msgid "Mute Tab" +msgstr "" + +#: tabsrunner.cpp:46 +#, kde-format +msgid "Unmute Tab" +msgstr "" \ No newline at end of file