Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package plasma-browser-integration for
openSUSE:Factory checked in at 2022-02-07 23:37:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma-browser-integration (Old)
and /work/SRC/openSUSE:Factory/.plasma-browser-integration.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-browser-integration"
Mon Feb 7 23:37:07 2022 rev:70 rq:951891 version:5.24.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/plasma-browser-integration/plasma-browser-integration.changes
2022-01-11 21:14:34.904760988 +0100
+++
/work/SRC/openSUSE:Factory/.plasma-browser-integration.new.1898/plasma-browser-integration.changes
2022-02-07 23:37:31.982670742 +0100
@@ -1,0 +2,29 @@
+Sat Feb 5 19:51:03 UTC 2022 - Fabian Vogt <[email protected]>
+
+- Update to 5.24.0
+ * New bugfix release
+ * For more details please see:
+ * https://kde.org/announcements/plasma/5/5.24.0
+- No code changes since 5.23.90
+
+-------------------------------------------------------------------
+Thu Jan 13 20:30:42 UTC 2022 - Fabian Vogt <[email protected]>
+
+- Update to 5.23.90
+ * New feature release
+ * For more details please see:
+ * https://kde.org/announcements/plasma/5/5.23.90
+- Changes since 5.23.5:
+ * Add missing Q_EMIT + const'ify pointer
+ * [Tabs Runner] Restore setting URL on result
+ * Check port before sending message (kde#442674)
+ * [History Runner] Skip blob URLs
+ * Check chrome.runtime.lastError first
+ * Bump manifest version
+ * Avoid eval by doing the reverse of "stringified function" + eval
+ * Prettify debug output
+ * Check whether tab is still alive before trying to clear badge
+ * [Tabs Runner] Port to fetch API
+ * Port from deprecated chrome.extension API
+
+-------------------------------------------------------------------
Old:
----
plasma-browser-integration-5.23.5.tar.xz
plasma-browser-integration-5.23.5.tar.xz.sig
New:
----
plasma-browser-integration-5.24.0.tar.xz
plasma-browser-integration-5.24.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasma-browser-integration.spec ++++++
--- /var/tmp/diff_new_pack.ZFwLuP/_old 2022-02-07 23:37:32.542666973 +0100
+++ /var/tmp/diff_new_pack.ZFwLuP/_new 2022-02-07 23:37:32.550666919 +0100
@@ -19,17 +19,17 @@
%define kf5_version 5.42.0
%define qt5_version 5.9.0
%bcond_with browser_extension
-%bcond_without lang
+%bcond_without released
Name: plasma-browser-integration
-Version: 5.23.5
+Version: 5.24.0
Release: 0
Summary: Helper for the KDE Plasma Browser Integration
License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Utilities
Url: https://cgit.kde.org/plasma-browser-integration.git
-Source:
https://download.kde.org/stable/plasma/%{version}/plasma-browser-integration-%{version}.tar.xz
-%if %{with lang}
-Source1:
https://download.kde.org/stable/plasma/%{version}/plasma-browser-integration-%{version}.tar.xz.sig
+Source: plasma-browser-integration-%{version}.tar.xz
+%if %{with released}
+Source1: plasma-browser-integration-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: extra-cmake-modules >= %{kf5_version}
@@ -98,7 +98,7 @@
# Move mozilla native messaging file to correct location
mv %{buildroot}%{_prefix}/lib/mozilla %{buildroot}%{_libdir}
fi
- %if %{with lang}
+ %if %{with released}
%find_lang %{name} --all-name
%endif
@@ -131,7 +131,7 @@
%{_datadir}/google-chrome/extensions/cimiefiiaegbelhefglklhhakcgmhkai.json
%endif
-%if %{with lang}
+%if %{with released}
%files lang -f %{name}.lang
%license COPYING*
%endif
++++++ plasma-browser-integration-5.23.5.tar.xz ->
plasma-browser-integration-5.24.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/plasma-browser-integration-5.23.5/CMakeLists.txt
new/plasma-browser-integration-5.24.0/CMakeLists.txt
--- old/plasma-browser-integration-5.23.5/CMakeLists.txt 2022-01-04
10:02:33.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/CMakeLists.txt 2022-02-03
15:38:10.000000000 +0100
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)
project(plasma-browser-integration)
-set(PROJECT_VERSION "5.23.5")
+set(PROJECT_VERSION "5.24.0")
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.23.5/extension/_locales/zh_CN/messages.json
new/plasma-browser-integration-5.24.0/extension/_locales/zh_CN/messages.json
---
old/plasma-browser-integration-5.23.5/extension/_locales/zh_CN/messages.json
2022-01-04 10:02:13.000000000 +0100
+++
new/plasma-browser-integration-5.24.0/extension/_locales/zh_CN/messages.json
2022-02-03 15:37:50.000000000 +0100
@@ -45,7 +45,7 @@
"message": "??????????????????"
},
"options_about_copyright": {
- "message": "?? 2017-2020 Kai Uwe Broulik ??? David Edmundson"
+ "message": "?? 2017-2020 Kai Uwe Broulik and David Edmundson"
},
"options_about_created_by_kde": {
"message": "??????????????????????????? <a href=\"$1\">KDE
??????</a>????????????????????? <a href=\"$2\">KDE ?????? Wiki</a>
??????????????????????????????????????????"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/content-script.js
new/plasma-browser-integration-5.24.0/extension/content-script.js
--- old/plasma-browser-integration-5.23.5/extension/content-script.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/content-script.js
2022-02-03 15:37:50.000000000 +0100
@@ -856,7 +856,7 @@
// there's nothing loaded to pause) to the DOM and before we remove
it, we note down that
// we will now get a paused event because of that. When we get it, we
just play() the player
// so it continues playing :-)
- const addPlayerToDomEvadingAutoPlayBlocking = `
+ function addPlayerToDomEvadingAutoPlayBlocking(player) {
player.registerInDom = () => {
// Needs to be dataset so it's accessible from mutation
observer on webpage
player.dataset.pbiPausedForDomRemoval = "true";
@@ -885,33 +885,32 @@
player.addEventListener("play", player.registerInDom);
player.addEventListener("pause", player.replayAfterRemoval);
- `;
-
- const handleCreateElement = `
- const tagName = arguments[0];
+ }
+ function handleCreateElement(tagName, createdTag) {
if (typeof tagName === "string") {
if (tagName.toLowerCase() === "audio" || tagName.toLowerCase()
=== "video") {
- const player = createdTag;
- ${addPlayerToDomEvadingAutoPlayBlocking}
+ addPlayerToDomEvadingAutoPlayBlocking(createdTag);
}
}
- `;
+ }
if (IS_FIREFOX) {
const oldCreateElement = Document.prototype.createElement;
exportFunction(function() {
const createdTag = oldCreateElement.apply(this, arguments);
- eval(handleCreateElement);
+ handleCreateElement(arguments[0], createdTag);
return createdTag;
}, Document.prototype, {defineAs: "createElement"});
} else {
executeScript(`
function() {
+ ` + addPlayerToDomEvadingAutoPlayBlocking.toString() + `
+ ` + handleCreateElement.toString() +`
const oldCreateElement = Document.prototype.createElement;
Document.prototype.createElement = function() {
const createdTag = oldCreateElement.apply(this,
arguments);
- ${handleCreateElement}
+ handleCreateElement(arguments[0], createdTag);
return createdTag;
};
}
@@ -938,7 +937,7 @@
const audioConstructor = function(...args) {
const player = new oldAudio(...args);
- eval(addPlayerToDomEvadingAutoPlayBlocking);
+ addPlayerToDomEvadingAutoPlayBlocking(player);
return player;
};
exportFunction(audioConstructor, window.wrappedJSObject,
{defineAs: "Audio"});
@@ -948,8 +947,9 @@
executeScript(`function() {
var oldAudio = window.Audio;
window.Audio = function (...args) {
+ ` + addPlayerToDomEvadingAutoPlayBlocking.toString() + `
const player = new oldAudio(...args);
- ${addPlayerToDomEvadingAutoPlayBlocking}
+ addPlayerToDomEvadingAutoPlayBlocking(player);
return player;
};
}`);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/content-utils.js
new/plasma-browser-integration-5.24.0/extension/content-utils.js
--- old/plasma-browser-integration-5.23.5/extension/content-utils.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/content-utils.js
2022-02-03 15:37:50.000000000 +0100
@@ -23,9 +23,9 @@
payload: payload
};
- if (chrome.extension && chrome.extension.sendMessage) {
+ if (chrome.runtime && chrome.runtime.sendMessage) {
return new Promise((resolve, reject) => {
- chrome.extension.sendMessage(data, (reply) => {
+ chrome.runtime.sendMessage(data, (reply) => {
if (chrome.runtime.lastError) {
if (chrome.runtime.lastError.message === "The message port
closed before a response was received.") {
resolve();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/extension-historyrunner.js
new/plasma-browser-integration-5.24.0/extension/extension-historyrunner.js
--- old/plasma-browser-integration-5.23.5/extension/extension-historyrunner.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/extension-historyrunner.js
2022-02-03 15:37:50.000000000 +0100
@@ -70,7 +70,7 @@
chrome.tabs.query({
url: result.url
}, (tabs) => {
- if (!tabs || chrome.runtime.lastError) {
+ if (chrome.runtime.lastError || !tabs) {
return resolve([]);
}
@@ -146,6 +146,6 @@
addCallback("historyrunner", "requestPermission", () => {
chrome.tabs.create({
- url: chrome.extension.getURL("permission_request.html") +
"?permission=history"
+ url: chrome.runtime.getURL("permission_request.html") +
"?permission=history"
});
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/extension-mpris.js
new/plasma-browser-integration-5.24.0/extension/extension-mpris.js
--- old/plasma-browser-integration-5.23.5/extension/extension-mpris.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/extension-mpris.js
2022-02-03 15:37:50.000000000 +0100
@@ -88,14 +88,21 @@
// If there is no more player on this tab, remove badge
const gonePlayerTabId = Number(playerId.split("-")[0]);
if (playersOnTab(gonePlayerTabId).length === 0) {
- chrome.browserAction.setBadgeText({
- text: null, // null resets tab-specific badge
- tabId: gonePlayerTabId // important to pass it as number!
- });
- // Important to clear the color, too, so it reverts back to global
badge setting
- chrome.browserAction.setBadgeBackgroundColor({
- color: null,
- tabId: gonePlayerTabId
+ // Check whether that tab still exists before trying to clear the badge
+ chrome.tabs.get(gonePlayerTabId, (tab) => {
+ if (chrome.runtime.lastError /*silence error*/ || !tab) {
+ return;
+ }
+
+ chrome.browserAction.setBadgeText({
+ text: null, // null resets tab-specific badge
+ tabId: gonePlayerTabId // important to pass it as number!
+ });
+ // Important to clear the color, too, so it reverts back to global
badge setting
+ chrome.browserAction.setBadgeBackgroundColor({
+ color: null,
+ tabId: gonePlayerTabId
+ });
});
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/extension-tabsrunner.js
new/plasma-browser-integration-5.24.0/extension/extension-tabsrunner.js
--- old/plasma-browser-integration-5.23.5/extension/extension-tabsrunner.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/extension-tabsrunner.js
2022-02-03 15:37:50.000000000 +0100
@@ -98,33 +98,28 @@
let requests = [];
favIconUrlsToFetch.forEach((url) => {
requests.push(new Promise((resolve) => {
- // Send a request to fill the cache (=no timeout)
- let xhrForCache = new XMLHttpRequest();
- xhrForCache.open("GET", url);
- xhrForCache.send();
-
- // Try to fetch from (hopefully) the cache (100ms timeout)
- let xhr = new XMLHttpRequest();
- xhr.onreadystatechange = function() {
- if (xhr.readyState !== XMLHttpRequest.DONE) {
- return;
- }
-
- if (!xhr.response) {
+ fetch(url, {
+ cache: "force-cache"
+ }).then((response) => {
+ if (!response.ok) {
return resolve();
}
- var reader = new FileReader();
- reader.onloadend = function() {
- favIconDataForUrl[url] = reader.result;
- return resolve();
- }
- reader.readAsDataURL(xhr.response);
- };
- xhr.open('GET', url);
- xhr.responseType = 'blob';
- xhr.timeout = 100;
- xhr.send();
+ response.blob().then((blob) => {
+ let reader = new FileReader();
+ reader.onloadend = function() {
+ favIconDataForUrl[url] = reader.result;
+ return resolve();
+ }
+ reader.readAsDataURL(blob);
+ }, (err) => {
+ console.warn("Failed to read response of", url, "as
blob", err);
+ resolve();
+ });
+ }, (err) => {
+ console.warn("Failed to get favicon from", url, err);
+ resolve();
+ });
}));
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/extension-utils.js
new/plasma-browser-integration-5.24.0/extension/extension-utils.js
--- old/plasma-browser-integration-5.23.5/extension/extension-utils.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/extension-utils.js
2022-02-03 15:37:50.000000000 +0100
@@ -48,12 +48,18 @@
message.subsystem = subsystem;
message.event = event;
- port.postMessage(message);
+ if (port) {
+ port.postMessage(message);
+ }
}
function sendPortMessageWithReply(subsystem, event, payload)
{
return new Promise((resolve, reject) => {
+ if (!port) {
+ return reject("UNSUPPORTED_OS");
+ }
+
let message = payload || {};
message.subsystem = subsystem;
message.event = event;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/extension.js
new/plasma-browser-integration-5.24.0/extension/extension.js
--- old/plasma-browser-integration-5.23.5/extension/extension.js
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/extension.js
2022-02-03 15:37:50.000000000 +0100
@@ -64,13 +64,49 @@
// Debug
// ------------------------------------------------------------------------
//
+
+function printDebug(payload, fn) {
+ let hostLabel = "Host";
+ if (payload.category && payload.category !== "default") {
+ hostLabel += " [" + payload.category + "]";
+ }
+
+ const hostLabelColor = "#3daee9"; // Breeze highlight color
+
+ if (payload.line && payload.file) {
+ const fileName = payload.file.split("/").pop();
+ fn("%c%s: %c%s %c[%s:%i]",
+ "color: " + hostLabelColor,
+ hostLabel,
+ "", // reset CSS
+ payload.message,
+ "color: #999",
+ fileName,
+ payload.line);
+ } else {
+ fn("%c%s: %c%s",
+ "color: " + hostLabelColor,
+ hostLabel,
+ "", // reset CSS
+ payload.message);
+ }
+}
+
addCallback("debug", "debug", function(payload) {
- console.log("From host:", payload.message);
+ if (payload.severity === "info") {
+ printDebug(payload, console.info);
+ } else {
+ printDebug(payload, console.log);
+ }
}
)
addCallback("debug", "warning", function(payload) {
- console.warn("From host:", payload.message);
+ if (payload.severity === "critical" || payload.severity === "fatal") {
+ printDebug(payload, console.error);
+ } else {
+ printDebug(payload, console.warn);
+ }
}
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/extension/manifest.json
new/plasma-browser-integration-5.24.0/extension/manifest.json
--- old/plasma-browser-integration-5.23.5/extension/manifest.json
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/extension/manifest.json
2022-02-03 15:37:50.000000000 +0100
@@ -4,7 +4,7 @@
"name": "Plasma Integration",
"short_name": "Plasma",
"description": "Provides better integration with the KDE Plasma 5 desktop.",
- "version": "1.8.0.1",
+ "version": "1.8.1",
"default_locale": "en",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/host/abstractbrowserplugin.h
new/plasma-browser-integration-5.24.0/host/abstractbrowserplugin.h
--- old/plasma-browser-integration-5.23.5/host/abstractbrowserplugin.h
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/abstractbrowserplugin.h
2022-02-03 15:37:50.000000000 +0100
@@ -15,7 +15,7 @@
{
Q_OBJECT
public:
- ~AbstractBrowserPlugin() = default;
+ ~AbstractBrowserPlugin() override = default;
QString subsystem() const;
int protocolVersion() const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/plasma-browser-integration-5.23.5/host/connection.h
new/plasma-browser-integration-5.24.0/host/connection.h
--- old/plasma-browser-integration-5.23.5/host/connection.h 2022-01-04
10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/connection.h 2022-02-03
15:37:50.000000000 +0100
@@ -26,7 +26,7 @@
private:
Connection();
- ~Connection() = default;
+ ~Connection() override = default;
void readData();
QFile m_stdOut;
QFile m_stdIn;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/host/downloadjob.cpp
new/plasma-browser-integration-5.24.0/host/downloadjob.cpp
--- old/plasma-browser-integration-5.23.5/host/downloadjob.cpp 2022-01-04
10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/downloadjob.cpp 2022-02-03
15:37:50.000000000 +0100
@@ -129,9 +129,9 @@
const QString danger = it->toString();
if (danger == QLatin1String("accepted")) {
// Clears previous danger message
- infoMessage(this, QString());
+ Q_EMIT infoMessage(this, QString());
} else if (danger != QLatin1String("safe")) {
- infoMessage(this, i18n("This type of file can harm your computer.
If you want to keep it, accept this download from the browser window."));
+ Q_EMIT infoMessage(this, i18n("This type of file can harm your
computer. If you want to keep it, accept this download from the browser
window."));
}
}
@@ -290,10 +290,10 @@
void DownloadJob::updateDescription()
{
- description(this,
- i18nc("Job heading, like 'Copying'", "Downloading"),
- qMakePair<QString, QString>(i18nc("The URL being downloaded",
"Source"), originUrl().toDisplayString()),
- qMakePair<QString, QString>(i18nc("The location being
downloaded to", "Destination"), m_destination.toLocalFile()));
+ Q_EMIT description(this,
+ i18nc("Job heading, like 'Copying'", "Downloading"),
+ qMakePair<QString, QString>(i18nc("The URL being
downloaded", "Source"), originUrl().toDisplayString()),
+ qMakePair<QString, QString>(i18nc("The location being
downloaded to", "Destination"), m_destination.toLocalFile()));
}
void DownloadJob::addToRecentDocuments()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/host/downloadplugin.h
new/plasma-browser-integration-5.24.0/host/downloadplugin.h
--- old/plasma-browser-integration-5.23.5/host/downloadplugin.h 2022-01-04
10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/downloadplugin.h 2022-02-03
15:37:50.000000000 +0100
@@ -25,6 +25,6 @@
void handleData(const QString &event, const QJsonObject &data) override;
private:
- KUiServerV2JobTracker *m_tracker;
+ KUiServerV2JobTracker *const m_tracker;
QHash<int, DownloadJob *> m_jobs;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/plasma-browser-integration-5.23.5/host/main.cpp
new/plasma-browser-integration-5.24.0/host/main.cpp
--- old/plasma-browser-integration-5.23.5/host/main.cpp 2022-01-04
10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/main.cpp 2022-02-03
15:37:50.000000000 +0100
@@ -25,9 +25,6 @@
void msgHandler(QtMsgType type, const QMessageLogContext &context, const
QString &msg)
{
- Q_UNUSED(type);
- Q_UNUSED(context);
-
QJsonObject data;
data[QStringLiteral("subsystem")] = QStringLiteral("debug");
switch (type) {
@@ -38,7 +35,38 @@
default:
data[QStringLiteral("action")] = QStringLiteral("warning");
}
- data[QStringLiteral("payload")] = QJsonObject({{QStringLiteral("message"),
msg}});
+
+ QJsonObject payload{{QStringLiteral("message"), msg}};
+
+ // NOTE For compatibility they are still action debug/warning
+ switch (type) {
+ case QtInfoMsg:
+ payload.insert(QStringLiteral("severity"), QStringLiteral("info"));
+ break;
+ case QtCriticalMsg:
+ payload.insert(QStringLiteral("severity"), QStringLiteral("critical"));
+ break;
+ case QtFatalMsg:
+ payload.insert(QStringLiteral("severity"), QStringLiteral("fatal"));
+ break;
+ default:
+ break;
+ }
+
+ if (context.file) {
+ payload.insert(QStringLiteral("file"),
QString::fromUtf8(context.file));
+ }
+ if (context.line) {
+ payload.insert(QStringLiteral("line"), context.line);
+ }
+ if (context.function) {
+ payload.insert(QStringLiteral("function"),
QString::fromUtf8(context.function));
+ }
+ if (context.category) {
+ payload.insert(QStringLiteral("category"),
QString::fromUtf8(context.category));
+ }
+
+ data[QStringLiteral("payload")] = payload;
Connection::self()->sendData(data);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/host/org.kde.plasma.browser_integration.host.desktop.in
new/plasma-browser-integration-5.24.0/host/org.kde.plasma.browser_integration.host.desktop.in
---
old/plasma-browser-integration-5.23.5/host/org.kde.plasma.browser_integration.host.desktop.in
2022-01-04 10:02:13.000000000 +0100
+++
new/plasma-browser-integration-5.24.0/host/org.kde.plasma.browser_integration.host.desktop.in
2022-02-03 15:37:50.000000000 +0100
@@ -23,7 +23,7 @@
Name[pt_BR]=Host de integra????o de navegadores no Plasma
Name[ro]=Gazd?? a integr??rii Plasma cu navigatorul
Name[ru]=???????????? ???????????? ?? ?????????????????????? ????????????????
?????? ???????????????????? ?? Plasma
-Name[sk]=Hostite?? integr??cie Plasma prehliada??a
+Name[sk]=Plasma Browser Integration Host
Name[sl]=Gostitelj integracije brskalnika s Plasmo
Name[sv]=V??rddator f??r Plasma webbl??sarintegrering
Name[ta]=???????????????????????? ???????????????
??????????????????????????????????????? ??????????????????
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/host/tabsrunnerplugin.cpp
new/plasma-browser-integration-5.24.0/host/tabsrunnerplugin.cpp
--- old/plasma-browser-integration-5.23.5/host/tabsrunnerplugin.cpp
2022-01-04 10:02:13.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/host/tabsrunnerplugin.cpp
2022-02-03 15:37:50.000000000 +0100
@@ -156,6 +156,10 @@
match.properties.insert(QStringLiteral("subtext"),
url.toDisplayString());
match.relevance = relevance;
+ QUrl urlWithoutPassword = url;
+ urlWithoutPassword.setPassword({});
+ match.properties.insert(QStringLiteral("urls"),
QUrl::toStringList(QList<QUrl>{urlWithoutPassword}));
+
const bool audible =
tab.value(QStringLiteral("audible")).toBool();
const QJsonObject mutedInfo =
tab.value(QStringLiteral("mutedInfo")).toObject();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-extension.po
new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-extension.po
--- old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-extension.po
2022-01-04 10:02:32.000000000 +0100
+++ new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-extension.po
2022-02-03 15:38:09.000000000 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-01-02 02:39:09.793433\n"
-"PO-Revision-Date: 2021-12-22 14:09\n"
+"PO-Revision-Date: 2022-01-08 15:23\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -14,9 +14,9 @@
"X-Crowdin-Project: kdeorg\n"
"X-Crowdin-Project-ID: 269464\n"
"X-Crowdin-Language: zh-CN\n"
-"X-Crowdin-File: /kf5-stable/messages/plasma-browser-integration/plasma-"
+"X-Crowdin-File: /kf5-trunk/messages/plasma-browser-integration/plasma-"
"browser-extension.pot\n"
-"X-Crowdin-File-ID: 7132\n"
+"X-Crowdin-File-ID: 6243\n"
#: browseraction_mpris_enable_on:0
msgctxt "Heading for list of domains to enable media controls on"
@@ -104,7 +104,7 @@
#: options_about_copyright:0
msgid "?? 2017-2020 Kai Uwe Broulik and David Edmundson"
-msgstr "?? 2017-2020 Kai Uwe Broulik ??? David Edmundson"
+msgstr "?? 2017-2020 Kai Uwe Broulik and David Edmundson"
#: options_about_created_by_kde:0
msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-integration-host.po
new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-integration-host.po
---
old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-integration-host.po
2022-01-04 10:02:32.000000000 +0100
+++
new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-integration-host.po
2022-02-03 15:38:09.000000000 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-08-29 00:19+0000\n"
-"PO-Revision-Date: 2021-12-22 14:09\n"
+"PO-Revision-Date: 2022-01-08 15:23\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -14,9 +14,9 @@
"X-Crowdin-Project: kdeorg\n"
"X-Crowdin-Project-ID: 269464\n"
"X-Crowdin-Language: zh-CN\n"
-"X-Crowdin-File: /kf5-stable/messages/plasma-browser-integration/plasma-"
+"X-Crowdin-File: /kf5-trunk/messages/plasma-browser-integration/plasma-"
"browser-integration-host.pot\n"
-"X-Crowdin-File-ID: 10248\n"
+"X-Crowdin-File-ID: 10246\n"
#: downloadjob.cpp:134
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-integration-reminder.po
new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-integration-reminder.po
---
old/plasma-browser-integration-5.23.5/po/zh_CN/plasma-browser-integration-reminder.po
2022-01-04 10:02:32.000000000 +0100
+++
new/plasma-browser-integration-5.24.0/po/zh_CN/plasma-browser-integration-reminder.po
2022-02-03 15:38:09.000000000 +0100
@@ -8,7 +8,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-08-29 00:19+0000\n"
-"PO-Revision-Date: 2021-12-22 14:09\n"
+"PO-Revision-Date: 2022-01-08 15:23\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -19,9 +19,9 @@
"X-Crowdin-Project: kdeorg\n"
"X-Crowdin-Project-ID: 269464\n"
"X-Crowdin-Language: zh-CN\n"
-"X-Crowdin-File: /kf5-stable/messages/plasma-browser-integration/plasma-"
+"X-Crowdin-File: /kf5-trunk/messages/plasma-browser-integration/plasma-"
"browser-integration-reminder.pot\n"
-"X-Crowdin-File-ID: 7995\n"
+"X-Crowdin-File-ID: 7994\n"
#: browserintegrationreminder.cpp:140
#, kde-format