Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2019-03-21 09:49:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Thu Mar 21 09:49:38 2019 rev:73 rq:686779 version:5.56.1 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2019-02-28 21:33:14.765737512 +0100 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new.28833/plasma-framework.changes 2019-03-21 09:49:41.882847302 +0100 @@ -1,0 +2,36 @@ +Tue Mar 19 16:29:51 UTC 2019 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to make certain .svgz work with Qt 5.12.2 (kde#405548): + * 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch + +------------------------------------------------------------------- +Fri Mar 15 23:54:14 UTC 2019 - lbeltr...@kde.org + +- Update to 5.56.1 + * New bugfix release +- Changes since 5.56.0: + * Remove crash in plasmashell + +------------------------------------------------------------------- +Sun Mar 10 20:15:38 UTC 2019 - lbeltr...@kde.org + +- Update to 5.56.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.56.0.php +- Changes since 5.55.0: + * Make it compiles without deprecated method + * [Icon Item] Block next animation also based on window visibility + * it's already defined in KDEFrameworkCompilerSettings + * Show a warning if a plugin requires a newer version + * Bump the theme versions because icons changed, to invalidate old caches + * [breeze-icons] Revamp system.svgz + * Make Breeze theme tooltip texts consistent + * Change glowbar.svgz to smoother style (kde#391343) + * Do background contrast fallback at runtime (kde#401142) + * [breeze desktop theme/dialogs] Add rounded corners to dialogs + * Fix warning +- Refreshed patches: + * 0001-Revert-Remove-Qt-version-check.patch + +------------------------------------------------------------------- Old: ---- plasma-framework-5.55.0.tar.xz New: ---- 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch plasma-framework-5.56.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.YthwvA/_old 2019-03-21 09:49:42.874847034 +0100 +++ /var/tmp/diff_new_pack.YthwvA/_new 2019-03-21 09:49:42.878847033 +0100 @@ -17,14 +17,14 @@ %define lname libKF5Plasma5 -%define _tar_path 5.55 +%define _tar_path 5.56 # 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: plasma-framework -Version: 5.55.0 +Version: 5.56.1 Release: 0 Summary: Plasma library and runtime components based upon KF5 and Qt5 License: GPL-2.0-or-later AND LGPL-2.0-or-later @@ -34,8 +34,12 @@ Source1: baselibs.conf # PATCH-FIX-OPENSUSE Patch0: 0001-Revert-Remove-Qt-version-check.patch +# PATCH-FIX-UPSTREAM (warning: binary) +Patch1: 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes +# Just for Patch1 +BuildRequires: git-core BuildRequires: kactivities5-devel >= 5.19.0 BuildRequires: karchive-devel >= %{_kf5_bugfix_version} BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} @@ -130,8 +134,9 @@ %lang_package %prep -%setup -q -%autopatch -p1 +# Use git, Patch1 is binary +%autosetup -p1 -S git + %if 0%{?suse_version} == 1500 sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt %endif ++++++ 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch ++++++ ++++ 905 lines (skipped) ++++++ 0001-Revert-Remove-Qt-version-check.patch ++++++ --- /var/tmp/diff_new_pack.YthwvA/_old 2019-03-21 09:49:42.894847028 +0100 +++ /var/tmp/diff_new_pack.YthwvA/_new 2019-03-21 09:49:42.894847028 +0100 @@ -12,11 +12,11 @@ Reverted and rebased by Antonio Larrosa <alarr...@suse.com> so Qt 5.9 is still supported -diff --git a/src/declarativeimports/core/iconitem.cpp b/src/declarativeimports/core/iconitem.cpp -index 70baa88..fd46f6d 100644 ---- a/src/declarativeimports/core/iconitem.cpp -+++ b/src/declarativeimports/core/iconitem.cpp -@@ -67,6 +67,11 @@ IconItem::IconItem(QQuickItem *parent) +Index: plasma-framework-5.56.0git.20190301T055628~21e671bee/src/declarativeimports/core/iconitem.cpp +=================================================================== +--- plasma-framework-5.56.0git.20190301T055628~21e671bee.orig/src/declarativeimports/core/iconitem.cpp 2019-03-01 05:56:28.000000000 +0100 ++++ plasma-framework-5.56.0git.20190301T055628~21e671bee/src/declarativeimports/core/iconitem.cpp 2019-03-01 07:46:14.400456528 +0100 +@@ -67,6 +67,11 @@ connect(KIconLoader::global(), &KIconLoader::iconLoaderSettingsChanged, this, &IconItem::updateImplicitSize); @@ -28,7 +28,7 @@ connect(this, &IconItem::implicitWidthChanged, this, &IconItem::implicitWidthChanged2); connect(this, &IconItem::implicitHeightChanged, this, &IconItem::implicitHeightChanged2); -@@ -667,8 +672,10 @@ void IconItem::itemChange(ItemChange change, const ItemChangeData &value) +@@ -674,8 +679,10 @@ { if (change == ItemVisibleHasChanged && value.boolValue) { m_blockNextAnimation = true; @@ -37,13 +37,13 @@ onEnabledChanged(); +#endif } else if (change == ItemSceneChange && value.window) { - schedulePixmapUpdate(); - } -diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp -index 46f4cec..4b7d770 100644 ---- a/src/plasmaquick/dialog.cpp -+++ b/src/plasmaquick/dialog.cpp -@@ -1365,8 +1365,10 @@ void Dialog::setVisible(bool visible) + if (m_window) { + disconnect(m_window.data(), &QWindow::visibleChanged, this, &IconItem::windowVisibleChanged); +Index: plasma-framework-5.56.0git.20190301T055628~21e671bee/src/plasmaquick/dialog.cpp +=================================================================== +--- plasma-framework-5.56.0git.20190301T055628~21e671bee.orig/src/plasmaquick/dialog.cpp 2019-03-01 05:56:28.000000000 +0100 ++++ plasma-framework-5.56.0git.20190301T055628~21e671bee/src/plasmaquick/dialog.cpp 2019-03-01 07:46:14.400456528 +0100 +@@ -1356,8 +1356,10 @@ setPosition(popupPosition(d->visualParent, size())); } @@ -54,6 +54,3 @@ QQuickWindow::setVisible(visible); //signal will be emitted and proxied from the QQuickWindow code } else { --- -cgit v1.1 - ++++++ plasma-framework-5.55.0.tar.xz -> plasma-framework-5.56.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/CMakeLists.txt new/plasma-framework-5.56.1/CMakeLists.txt --- old/plasma-framework-5.55.0/CMakeLists.txt 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/CMakeLists.txt 2019-03-13 11:47:12.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.55.0") # handled by release scripts -set(KF5_DEP_VERSION "5.55.0") # handled by release scripts +set(KF5_VERSION "5.56.0") # handled by release scripts +set(KF5_DEP_VERSION "5.56.0") # handled by release scripts project(Plasma VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.55.0 NO_MODULE) +find_package(ECM 5.56.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) @@ -140,12 +140,9 @@ CONFIG_CODE_VARIABLE PACKAGE_SETUP_AUTOMOC_VARIABLES ) - -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050c00) #add_definitions(-Wno-deprecated) -add_definitions(-DQT_USE_QSTRINGBUILDER) -add_definitions(-DQT_NO_URL_CAST_FROM_STRING) include(KF5PlasmaMacros.cmake) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/autotests/dialognativetest.cpp new/plasma-framework-5.56.1/autotests/dialognativetest.cpp --- old/plasma-framework-5.55.0/autotests/dialognativetest.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/autotests/dialognativetest.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -23,7 +23,7 @@ void DialogNativeTest::initTestCase() { - QStandardPaths::enableTestMode(true); + QStandardPaths::setTestModeEnabled(true); m_cacheDir = QDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)); m_cacheDir.removeRecursively(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/autotests/framesvgtest.cpp new/plasma-framework-5.56.1/autotests/framesvgtest.cpp --- old/plasma-framework-5.55.0/autotests/framesvgtest.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/autotests/framesvgtest.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -24,7 +24,7 @@ void FrameSvgTest::initTestCase() { - QStandardPaths::enableTestMode(true); + QStandardPaths::setTestModeEnabled(true); m_cacheDir = QDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)); m_cacheDir.removeRecursively(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/autotests/modeltest.cpp new/plasma-framework-5.56.1/autotests/modeltest.cpp --- old/plasma-framework-5.55.0/autotests/modeltest.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/autotests/modeltest.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -457,12 +457,12 @@ } // General Purpose roles that should return a QColor - QVariant colorVariant = model->data(model->index(0, 0), Qt::BackgroundColorRole); + QVariant colorVariant = model->data(model->index(0, 0), Qt::BackgroundRole); if (colorVariant.isValid()) { Q_ASSERT(qVariantCanConvert<QColor> (colorVariant)); } - colorVariant = model->data(model->index(0, 0), Qt::TextColorRole); + colorVariant = model->data(model->index(0, 0), Qt::ForegroundRole); if (colorVariant.isValid()) { Q_ASSERT(qVariantCanConvert<QColor> (colorVariant)); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/autotests/plasmoidpackagetest.cpp new/plasma-framework-5.56.1/autotests/plasmoidpackagetest.cpp --- old/plasma-framework-5.55.0/autotests/plasmoidpackagetest.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/autotests/plasmoidpackagetest.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -33,7 +33,7 @@ void PlasmoidPackageTest::initTestCase() { - QStandardPaths::enableTestMode(true); + QStandardPaths::setTestModeEnabled(true); } void PlasmoidPackageTest::init() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/autotests/storagetest.cpp new/plasma-framework-5.56.1/autotests/storagetest.cpp --- old/plasma-framework-5.55.0/autotests/storagetest.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/autotests/storagetest.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -24,7 +24,7 @@ void StorageTest::initTestCase() { - QStandardPaths::enableTestMode(true); + QStandardPaths::setTestModeEnabled(true); m_data.insert(QStringLiteral("String 1"), "Fork"); m_data.insert(QStringLiteral("String 2"), "Spoon"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/examples/applets/dataenginemodel/metadata.desktop new/plasma-framework-5.56.1/examples/applets/dataenginemodel/metadata.desktop --- old/plasma-framework-5.55.0/examples/applets/dataenginemodel/metadata.desktop 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/examples/applets/dataenginemodel/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 @@ -14,7 +14,7 @@ Comment[gl]=Un miniaplicativo de exemplo que mostra como usar os modelos incorporados nos DataEngines Comment[hu]=Példa kisalkalmazás a DataEngine-be ágyazott modellek használatának bemutatására Comment[ia]=Applet de exemplo que monstra como usar Models (modellos) insertate in DataEngines (Motores de datos) -Comment[id]=Contoh applet yang menampilkan bagaimana untuk menggunakan Model terbenam dalam DataEngine +Comment[id]=Contoh applet yang menampilkan bagaimana untuk menggunakan Model tertanam dalam DataEngine Comment[it]=Applet di esempio che mostra come utilizzare i modelli integrati nei motori di dati Comment[ko]=데이터 엔진에 임베드된 모델 사용법 시연 애플릿 Comment[nb]=Eksempel-applet som viser bruk av Modeller innebygget i DataEngines diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/po/ca/libplasma5.po new/plasma-framework-5.56.1/po/ca/libplasma5.po --- old/plasma-framework-5.55.0/po/ca/libplasma5.po 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/po/ca/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 @@ -1,17 +1,17 @@ # Translation of libplasma5.po to Catalan -# Copyright (C) 2014-2018 This_file_is_part_of_KDE +# Copyright (C) 2014-2019 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. # # Josep Ma. Ferrer <txe...@gmail.com>, 2014, 2015, 2016, 2018. -# Antoni Bella Pérez <antonibel...@yahoo.com>, 2014, 2018. +# Antoni Bella Pérez <antonibel...@yahoo.com>, 2014, 2018, 2019. msgid "" msgstr "" "Project-Id-Version: libplasma5\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2019-01-04 03:05+0100\n" -"PO-Revision-Date: 2018-09-19 19:19+0100\n" -"Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n" +"PO-Revision-Date: 2019-02-04 19:52+0100\n" +"Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" "Language: ca\n" "MIME-Version: 1.0\n" @@ -19,7 +19,7 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" -"X-Generator: Lokalize 2.0\n" +"X-Generator: Lokalize 18.12.1\n" #: declarativeimports/calendar/eventdatadecorator.cpp:64 #, kde-format @@ -110,13 +110,13 @@ #, kde-format msgctxt "%1 is the name of the applet" msgid "Remove %1" -msgstr "Elimina %1" +msgstr "Elimina el %1" #: plasma/containment.cpp:125 plasma/private/applet_p.cpp:129 #, kde-format msgctxt "%1 is the name of the applet" msgid "Configure %1..." -msgstr "Configura %1..." +msgstr "Configura el %1..." #: plasma/corona.cpp:368 plasma/corona.cpp:440 #, kde-format @@ -439,7 +439,7 @@ #: plasma/private/applet_p.cpp:144 #, kde-format msgid "The %1 widget did not define which ScriptEngine to use." -msgstr "L'estri %1 no ha definit quin «ScriptEngine» utilitzar." +msgstr "L'estri %1 no ha definit quin «ScriptEngine» usar." #: plasma/private/applet_p.cpp:161 #, kde-format @@ -555,8 +555,8 @@ "Sharing a widget on the network allows you to access this widget from " "another computer as a remote control." msgstr "" -"La compartició d'un estri en la xarxa us permet accedir a aquest estri des " -"de qualsevol altre ordinador, com si es tractés d'un control remot." +"La compartició d'un estri en la xarxa permet accedir-hi des de qualsevol " +"altre ordinador, com si es tractés d'un control remot." #. i18n: ectx: property (text), widget (QCheckBox, publishCheckbox) #: plasma/private/publish.ui:27 @@ -594,7 +594,7 @@ #: plasmaquick/private/packages.cpp:37 #, kde-format msgid "Default settings for theme, etc." -msgstr "Arranjament per defecte del tema, etc." +msgstr "Arranjament predeterminat del tema, etc." #: plasmaquick/private/packages.cpp:39 #, kde-format @@ -609,7 +609,7 @@ #: plasmaquick/private/packages.cpp:43 #, kde-format msgid "Preview for the Login Manager" -msgstr "Vista prèvia pel gestor d'accés" +msgstr "Vista prèvia per al gestor d'accés" #: plasmaquick/private/packages.cpp:44 #, kde-format @@ -619,12 +619,12 @@ #: plasmaquick/private/packages.cpp:45 #, kde-format msgid "Preview for the Userswitcher" -msgstr "Vista prèvia pel commutador d'usuari" +msgstr "Vista prèvia per al commutador d'usuari" #: plasmaquick/private/packages.cpp:46 #, kde-format msgid "Preview for the Virtual Desktop Switcher" -msgstr "Vista prèvia pel commutador d'escriptoris virtuals" +msgstr "Vista prèvia per al commutador d'escriptoris virtuals" #: plasmaquick/private/packages.cpp:47 #, kde-format @@ -634,7 +634,7 @@ #: plasmaquick/private/packages.cpp:48 #, kde-format msgid "Preview for KRunner" -msgstr "Vista prèvia pel KRunner" +msgstr "Vista prèvia per al KRunner" #: plasmaquick/private/packages.cpp:49 #, kde-format @@ -654,7 +654,7 @@ #: plasmaquick/private/packages.cpp:53 #, kde-format msgid "Main Script for Login Manager" -msgstr "Script principal pel gestor d'accés" +msgstr "Script principal per al gestor d'accés" #: plasmaquick/private/packages.cpp:55 #, kde-format @@ -664,12 +664,12 @@ #: plasmaquick/private/packages.cpp:56 #, kde-format msgid "Main Script for Logout Dialog" -msgstr "Script principal pel diàleg de desconnexió" +msgstr "Script principal per al diàleg de desconnexió" #: plasmaquick/private/packages.cpp:58 #, kde-format msgid "Screenlocker" -msgstr "Bloqueig de pantalla" +msgstr "Bloqueig de la pantalla" #: plasmaquick/private/packages.cpp:59 #, kde-format @@ -679,12 +679,12 @@ #: plasmaquick/private/packages.cpp:61 #, kde-format msgid "UI for fast user switching" -msgstr "IU pel commutador ràpid d'usuari" +msgstr "IU per al commutador ràpid d'usuari" #: plasmaquick/private/packages.cpp:62 #, kde-format msgid "Main Script for User Switcher" -msgstr "Script principal pel commutador d'usuaris" +msgstr "Script principal per al commutador d'usuaris" #: plasmaquick/private/packages.cpp:64 #, kde-format @@ -694,7 +694,7 @@ #: plasmaquick/private/packages.cpp:65 #, kde-format msgid "Main Script for Virtual Desktop Switcher" -msgstr "Script principal pel commutador d'escriptoris virtuals" +msgstr "Script principal per al commutador d'escriptoris virtuals" #: plasmaquick/private/packages.cpp:67 #, kde-format @@ -744,7 +744,7 @@ #: plasmaquick/private/packages.cpp:80 #, kde-format msgid "Main Script for Window Switcher" -msgstr "Script principal pel commutador de finestres" +msgstr "Script principal per al commutador de finestres" #: scriptengines/qml/plasmoid/containmentinterface.cpp:488 #, kde-format @@ -776,7 +776,7 @@ #: scriptengines/qml/plasmoid/containmentinterface.cpp:687 #, kde-format msgid "The package you just dropped is invalid." -msgstr "El paquet que s'ha deixat anar no és vàlid." +msgstr "El paquet que acabeu de deixar no és vàlid." #: scriptengines/qml/plasmoid/containmentinterface.cpp:697 #: scriptengines/qml/plasmoid/containmentinterface.cpp:699 @@ -790,7 +790,7 @@ #, kde-format msgctxt "Add widget" msgid "Add %1" -msgstr "Afegeix %1" +msgstr "Afegeix el %1" #: scriptengines/qml/plasmoid/containmentinterface.cpp:721 #: scriptengines/qml/plasmoid/containmentinterface.cpp:780 @@ -810,7 +810,7 @@ #, kde-format msgctxt "Set wallpaper" msgid "Set %1" -msgstr "Estableix %1" +msgstr "Estableix el %1" #: scriptengines/qml/plasmoid/containmentinterface.cpp:1138 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/po/ca@valencia/libplasma5.po new/plasma-framework-5.56.1/po/ca@valencia/libplasma5.po --- old/plasma-framework-5.55.0/po/ca@valencia/libplasma5.po 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/po/ca@valencia/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 @@ -1,17 +1,17 @@ # Translation of libplasma5.po to Catalan (Valencian) -# Copyright (C) 2014-2018 This_file_is_part_of_KDE +# Copyright (C) 2014-2019 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. # # Josep Ma. Ferrer <txe...@gmail.com>, 2014, 2015, 2016, 2018. -# Antoni Bella Pérez <antonibel...@yahoo.com>, 2014, 2018. +# Antoni Bella Pérez <antonibel...@yahoo.com>, 2014, 2018, 2019. msgid "" msgstr "" "Project-Id-Version: libplasma5\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2019-01-04 03:05+0100\n" -"PO-Revision-Date: 2018-09-19 19:19+0100\n" -"Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n" +"PO-Revision-Date: 2019-02-04 19:52+0100\n" +"Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" "Language: ca@valencia\n" "MIME-Version: 1.0\n" @@ -19,7 +19,7 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" -"X-Generator: Lokalize 2.0\n" +"X-Generator: Lokalize 18.12.1\n" #: declarativeimports/calendar/eventdatadecorator.cpp:64 #, kde-format @@ -110,13 +110,13 @@ #, kde-format msgctxt "%1 is the name of the applet" msgid "Remove %1" -msgstr "Elimina %1" +msgstr "Elimina el %1" #: plasma/containment.cpp:125 plasma/private/applet_p.cpp:129 #, kde-format msgctxt "%1 is the name of the applet" msgid "Configure %1..." -msgstr "Configura %1..." +msgstr "Configura el %1..." #: plasma/corona.cpp:368 plasma/corona.cpp:440 #, kde-format @@ -439,7 +439,7 @@ #: plasma/private/applet_p.cpp:144 #, kde-format msgid "The %1 widget did not define which ScriptEngine to use." -msgstr "L'estri %1 no ha definit quin «ScriptEngine» utilitzar." +msgstr "L'estri %1 no ha definit quin «ScriptEngine» usar." #: plasma/private/applet_p.cpp:161 #, kde-format @@ -555,8 +555,8 @@ "Sharing a widget on the network allows you to access this widget from " "another computer as a remote control." msgstr "" -"La compartició d'un estri en la xarxa vos permet accedir a aquest estri des " -"de qualsevol altre ordinador, com si es tractés d'un control remot." +"La compartició d'un estri en la xarxa permet accedir-hi des de qualsevol " +"altre ordinador, com si es tractés d'un control remot." #. i18n: ectx: property (text), widget (QCheckBox, publishCheckbox) #: plasma/private/publish.ui:27 @@ -594,7 +594,7 @@ #: plasmaquick/private/packages.cpp:37 #, kde-format msgid "Default settings for theme, etc." -msgstr "Arranjament per defecte del tema, etc." +msgstr "Arranjament predeterminat del tema, etc." #: plasmaquick/private/packages.cpp:39 #, kde-format @@ -609,7 +609,7 @@ #: plasmaquick/private/packages.cpp:43 #, kde-format msgid "Preview for the Login Manager" -msgstr "Vista prèvia pel gestor d'accés" +msgstr "Vista prèvia per al gestor d'accés" #: plasmaquick/private/packages.cpp:44 #, kde-format @@ -619,12 +619,12 @@ #: plasmaquick/private/packages.cpp:45 #, kde-format msgid "Preview for the Userswitcher" -msgstr "Vista prèvia pel commutador d'usuari" +msgstr "Vista prèvia per al commutador d'usuari" #: plasmaquick/private/packages.cpp:46 #, kde-format msgid "Preview for the Virtual Desktop Switcher" -msgstr "Vista prèvia pel commutador d'escriptoris virtuals" +msgstr "Vista prèvia per al commutador d'escriptoris virtuals" #: plasmaquick/private/packages.cpp:47 #, kde-format @@ -634,7 +634,7 @@ #: plasmaquick/private/packages.cpp:48 #, kde-format msgid "Preview for KRunner" -msgstr "Vista prèvia pel KRunner" +msgstr "Vista prèvia per al KRunner" #: plasmaquick/private/packages.cpp:49 #, kde-format @@ -654,7 +654,7 @@ #: plasmaquick/private/packages.cpp:53 #, kde-format msgid "Main Script for Login Manager" -msgstr "Script principal pel gestor d'accés" +msgstr "Script principal per al gestor d'accés" #: plasmaquick/private/packages.cpp:55 #, kde-format @@ -664,12 +664,12 @@ #: plasmaquick/private/packages.cpp:56 #, kde-format msgid "Main Script for Logout Dialog" -msgstr "Script principal pel diàleg de desconnexió" +msgstr "Script principal per al diàleg de desconnexió" #: plasmaquick/private/packages.cpp:58 #, kde-format msgid "Screenlocker" -msgstr "Bloqueig de pantalla" +msgstr "Bloqueig de la pantalla" #: plasmaquick/private/packages.cpp:59 #, kde-format @@ -679,12 +679,12 @@ #: plasmaquick/private/packages.cpp:61 #, kde-format msgid "UI for fast user switching" -msgstr "IU pel commutador ràpid d'usuari" +msgstr "IU per al commutador ràpid d'usuari" #: plasmaquick/private/packages.cpp:62 #, kde-format msgid "Main Script for User Switcher" -msgstr "Script principal pel commutador d'usuaris" +msgstr "Script principal per al commutador d'usuaris" #: plasmaquick/private/packages.cpp:64 #, kde-format @@ -694,7 +694,7 @@ #: plasmaquick/private/packages.cpp:65 #, kde-format msgid "Main Script for Virtual Desktop Switcher" -msgstr "Script principal pel commutador d'escriptoris virtuals" +msgstr "Script principal per al commutador d'escriptoris virtuals" #: plasmaquick/private/packages.cpp:67 #, kde-format @@ -744,7 +744,7 @@ #: plasmaquick/private/packages.cpp:80 #, kde-format msgid "Main Script for Window Switcher" -msgstr "Script principal pel commutador de finestres" +msgstr "Script principal per al commutador de finestres" #: scriptengines/qml/plasmoid/containmentinterface.cpp:488 #, kde-format @@ -776,7 +776,7 @@ #: scriptengines/qml/plasmoid/containmentinterface.cpp:687 #, kde-format msgid "The package you just dropped is invalid." -msgstr "El paquet que s'ha deixat anar no és vàlid." +msgstr "El paquet que acabeu de deixar no és vàlid." #: scriptengines/qml/plasmoid/containmentinterface.cpp:697 #: scriptengines/qml/plasmoid/containmentinterface.cpp:699 @@ -790,7 +790,7 @@ #, kde-format msgctxt "Add widget" msgid "Add %1" -msgstr "Afig %1" +msgstr "Afig el %1" #: scriptengines/qml/plasmoid/containmentinterface.cpp:721 #: scriptengines/qml/plasmoid/containmentinterface.cpp:780 @@ -810,7 +810,7 @@ #, kde-format msgctxt "Set wallpaper" msgid "Set %1" -msgstr "Estableix %1" +msgstr "Estableix el %1" #: scriptengines/qml/plasmoid/containmentinterface.cpp:1138 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/po/id/libplasma5.po new/plasma-framework-5.56.1/po/id/libplasma5.po --- old/plasma-framework-5.55.0/po/id/libplasma5.po 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/po/id/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 @@ -9,15 +9,15 @@ "Project-Id-Version: plasmapkg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2019-01-04 03:05+0100\n" -"PO-Revision-Date: 2019-01-19 08:55+0700\n" -"Last-Translator: Wantoyo <wanto...@gmail.com>\n" +"PO-Revision-Date: 2019-02-21 16:41+0700\n" +"Last-Translator: wantoyo <wanto...@gmail.com>\n" "Language-Team: Indonesian <kde-i18n-...@kde.org>\n" "Language: id\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" -"X-Generator: Lokalize 18.12.0\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 18.12.1\n" #: declarativeimports/calendar/eventdatadecorator.cpp:64 #, kde-format @@ -114,7 +114,7 @@ #, kde-format msgctxt "%1 is the name of the applet" msgid "Configure %1..." -msgstr "Konfigurasi %1..." +msgstr "Konfigurasikan %1..." #: plasma/corona.cpp:368 plasma/corona.cpp:440 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/po/zh_CN/libplasma5.po new/plasma-framework-5.56.1/po/zh_CN/libplasma5.po --- old/plasma-framework-5.55.0/po/zh_CN/libplasma5.po 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/po/zh_CN/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 @@ -9,7 +9,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2019-01-04 03:05+0100\n" -"PO-Revision-Date: 2019-01-27 22:57\n" +"PO-Revision-Date: 2019-02-20 23:15\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-framework-5.55.0/src/declarativeimports/calendar/calendar.cpp new/plasma-framework-5.56.1/src/declarativeimports/calendar/calendar.cpp --- old/plasma-framework-5.55.0/src/declarativeimports/calendar/calendar.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/calendar/calendar.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -186,7 +186,7 @@ QString Calendar::dayName(int weekday) const { - return QDate::shortDayName(weekday); + return QLocale::system().dayName(weekday, QLocale::ShortFormat); } QString Calendar::monthName() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/declarativeimports/core/datamodel.cpp new/plasma-framework-5.56.1/src/declarativeimports/core/datamodel.cpp --- old/plasma-framework-5.55.0/src/declarativeimports/core/datamodel.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/core/datamodel.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -58,11 +58,18 @@ m_roleIds[QString::fromUtf8(i.value())] = i.key(); } - setRoleNames(sourceModel()->roleNames()); setFilterRole(m_filterRole); setSortRole(m_sortRole); } +QHash<int,QByteArray> SortFilterModel::roleNames() const +{ + if (sourceModel()) { + return sourceModel()->roleNames(); + } + return {}; +} + int SortFilterModel::roleNameToId(const QString &name) const { return m_roleIds.value(name, Qt::DisplayRole); @@ -419,8 +426,6 @@ } } - setRoleNames(m_roleNames); - if (firstRun) { endResetModel(); } else if (delta > 0) { @@ -432,6 +437,11 @@ createIndex(sourceIndex + qMin(list.length(), oldLength), 0)); } +QHash<int, QByteArray> DataModel::roleNames() const +{ + return m_roleNames; +} + void DataModel::removeSource(const QString &sourceName) { //FIXME: find a way to remove only the proper things also in the case where sources are items diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/declarativeimports/core/datamodel.h new/plasma-framework-5.56.1/src/declarativeimports/core/datamodel.h --- old/plasma-framework-5.55.0/src/declarativeimports/core/datamodel.h 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/core/datamodel.h 2019-03-13 11:47:12.000000000 +0100 @@ -139,7 +139,8 @@ protected: int roleNameToId(const QString &name) const; - bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override; + bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override; + QHash<int, QByteArray> roleNames() const override; protected Q_SLOTS: void syncRoleNames(); @@ -227,7 +228,7 @@ protected: void setItems(const QString &sourceName, const QVariantList &list); inline int countItems() const; - + QHash<int, QByteArray> roleNames() const override; Q_SIGNALS: void countChanged(); void sourceModelChanged(QObject *); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/declarativeimports/core/iconitem.cpp new/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp --- old/plasma-framework-5.55.0/src/declarativeimports/core/iconitem.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -556,6 +556,13 @@ schedulePixmapUpdate(); } +void IconItem::windowVisibleChanged(bool visible) +{ + if (visible) { + m_blockNextAnimation = true; + } +} + void IconItem::schedulePixmapUpdate() { polish(); @@ -670,7 +677,15 @@ } else if (change == ItemEnabledHasChanged) { onEnabledChanged(); } else if (change == ItemSceneChange && value.window) { + if (m_window) { + disconnect(m_window.data(), &QWindow::visibleChanged, this, &IconItem::windowVisibleChanged); + } + m_window = value.window; + if (m_window) { + connect(m_window.data(), &QWindow::visibleChanged, this, &IconItem::windowVisibleChanged); + } schedulePixmapUpdate(); + } QQuickItem::itemChange(change, value); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/declarativeimports/core/iconitem.h new/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.h --- old/plasma-framework-5.55.0/src/declarativeimports/core/iconitem.h 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.h 2019-03-13 11:47:12.000000000 +0100 @@ -24,6 +24,7 @@ #include <QIcon> #include <QQuickItem> #include <QPixmap> +#include <QPointer> #include <QVariant> #include <QTimer> @@ -193,6 +194,7 @@ void valueChanged(const QVariant &value); void onEnabledChanged(); void iconLoaderIconChanged(int group); + void windowVisibleChanged(bool visible); private: void loadPixmap(); @@ -231,6 +233,8 @@ //animation on pixmap change QPropertyAnimation *m_animation; qreal m_animValue; + + QPointer<QWindow> m_window; }; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/declarativeimports/plasmacomponents3/TextArea.qml new/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/TextArea.qml --- old/plasma-framework-5.55.0/src/declarativeimports/plasmacomponents3/TextArea.qml 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/TextArea.qml 2019-03-13 11:47:12.000000000 +0100 @@ -51,7 +51,7 @@ selectByMouse: !Kirigami.Settings.tabletMode - cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : undefined + cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null Component { id: mobileCursor Private.MobileCursor { Binary files old/plasma-framework-5.55.0/src/desktoptheme/breeze/dialogs/background.svgz and new/plasma-framework-5.56.1/src/desktoptheme/breeze/dialogs/background.svgz differ Binary files old/plasma-framework-5.55.0/src/desktoptheme/breeze/icons/system.svgz and new/plasma-framework-5.56.1/src/desktoptheme/breeze/icons/system.svgz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/desktoptheme/breeze/metadata.desktop new/plasma-framework-5.56.1/src/desktoptheme/breeze/metadata.desktop --- old/plasma-framework-5.55.0/src/desktoptheme/breeze/metadata.desktop 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/desktoptheme/breeze/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 @@ -40,12 +40,30 @@ Name[x-test]=xxBreezexx Name[zh_CN]=微风 Name[zh_TW]=Breeze +Comment=Breeze by the KDE VDG +Comment[ca]=Brisa pel VDG del KDE +Comment[ca@valencia]=Brisa pel VDG del KDE +Comment[de]=Breeze von der KDE VDG +Comment[es]=Brisa por KDE VDG +Comment[fi]=Breeze KDE VDG:ltä +Comment[gl]=Breeze de KDE VDG +Comment[id]=Breeze oleh KDE VDG +Comment[it]=Brezza del KDE VDG +Comment[nl]=Breeze door de KDE VDG +Comment[pt]=Brisa da VDG do KDE +Comment[pt_BR]=Breeze pelo KDE VDG +Comment[ru]=Breeze от KDE VDG +Comment[sv]=Breeze av KDE:s visuella designgrupp +Comment[uk]=Breeze, автори — KDE VDG +Comment[x-test]=xxBreeze by the KDE VDGxx +Comment[zh_CN]=微风,由 KDE VDG 创作 +Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze X-KDE-PluginInfo-Author=KDE Visual Design Group X-KDE-PluginInfo-Email=kde-arti...@kde.org X-KDE-PluginInfo-Name=default -X-KDE-PluginInfo-Version=5.51 +X-KDE-PluginInfo-Version=5.56 X-KDE-PluginInfo-Website=https://plasma.kde.org X-KDE-PluginInfo-Category= X-KDE-PluginInfo-Depends= Binary files old/plasma-framework-5.55.0/src/desktoptheme/breeze/translucent/dialogs/background.svgz and new/plasma-framework-5.56.1/src/desktoptheme/breeze/translucent/dialogs/background.svgz differ Binary files old/plasma-framework-5.55.0/src/desktoptheme/breeze/widgets/glowbar.svgz and new/plasma-framework-5.56.1/src/desktoptheme/breeze/widgets/glowbar.svgz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/desktoptheme/breeze-dark/metadata.desktop new/plasma-framework-5.56.1/src/desktoptheme/breeze-dark/metadata.desktop --- old/plasma-framework-5.55.0/src/desktoptheme/breeze-dark/metadata.desktop 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/desktoptheme/breeze-dark/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 @@ -40,12 +40,30 @@ Name[x-test]=xxBreeze Darkxx Name[zh_CN]=暗色微风 Name[zh_TW]=Breeze Dark +Comment=Breeze Dark by the KDE VDG +Comment[ca]=Brisa fosca pel VDG del KDE +Comment[ca@valencia]=Brisa fosca pel VDG del KDE +Comment[de]=Breeze-Dunkel von der KDE VDG +Comment[es]=Brisa oscuro por KDE VDG +Comment[fi]=Breeze Dark KDE VDG:ltä +Comment[gl]=Breeze escuro de KDE VDG +Comment[id]=Breeze Dark oleh KDE VDG +Comment[it]=Brezza scuro del KDE VDG +Comment[nl]=Breeze Dark door de KDE VDG +Comment[pt]=Brisa Escuro da VDG do KDE +Comment[pt_BR]=Breeze Dark pelo KDE VDG +Comment[ru]=Тёмный вариант Breeze от KDE VDG +Comment[sv]=Breeze mörk av KDE:s visuella designgrupp +Comment[uk]=Темна Breeze, автори — KDE VDG +Comment[x-test]=xxBreeze Dark by the KDE VDGxx +Comment[zh_CN]=暗色微风,由 KDE VDG 创作 +Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze Dark X-KDE-PluginInfo-Author=KDE Visual Design Group X-KDE-PluginInfo-Email=kde-arti...@kde.org X-KDE-PluginInfo-Name=breeze-dark -X-KDE-PluginInfo-Version=5.51 +X-KDE-PluginInfo-Version=5.56 X-KDE-PluginInfo-Website=https://plasma.kde.org X-KDE-PluginInfo-Category= X-KDE-PluginInfo-Depends= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/desktoptheme/breeze-light/metadata.desktop new/plasma-framework-5.56.1/src/desktoptheme/breeze-light/metadata.desktop --- old/plasma-framework-5.55.0/src/desktoptheme/breeze-light/metadata.desktop 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/desktoptheme/breeze-light/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 @@ -5,7 +5,7 @@ Name[ca@valencia]=Brisa clara Name[cs]=Breeze Světlé Name[da]=Breeze Light -Name[de]=Breeze Light +Name[de]=Breeze-Hell Name[en_GB]=Breeze Light Name[es]=Brisa claro Name[et]=Breeze Light @@ -37,12 +37,30 @@ Name[x-test]=xxBreeze Lightxx Name[zh_CN]=亮色微风 Name[zh_TW]=Breeze Light +Comment=Breeze Light by the KDE VDG +Comment[ca]=Brisa clara pel VDG del KDE +Comment[ca@valencia]=Brisa clara pel VDG del KDE +Comment[de]=Breeze-Hell von der KDE VDG +Comment[es]=Brisa claro por KDE VDG +Comment[fi]=Breeze Light KDE VDG:ltä +Comment[gl]=Breeze claro de KDE VDG +Comment[id]=Breeze Light oleh KDE VDG +Comment[it]=Brezza chiaro del KDE VDG +Comment[nl]=Breeze Light door de KDE VDG +Comment[pt]=Brisa Claro da VDG do KDE +Comment[pt_BR]=Breeze Light pelo KDE VDG +Comment[ru]=Светлый вариант Breeze от KDE VDG +Comment[sv]=Breeze ljus av KDE:s visuella designgrupp +Comment[uk]=Світла Breeze, автори — KDE VDG +Comment[x-test]=xxBreeze Light by the KDE VDGxx +Comment[zh_CN]=亮色微风,由 KDE VDG 创作 +Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze Light X-KDE-PluginInfo-Author=KDE Visual Design Group X-KDE-PluginInfo-Email=kde-arti...@kde.org X-KDE-PluginInfo-Name=default -X-KDE-PluginInfo-Version=5.51 +X-KDE-PluginInfo-Version=5.56 X-KDE-PluginInfo-Website=https://plasma.kde.org X-KDE-PluginInfo-Category= X-KDE-PluginInfo-Depends= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/containment.cpp new/plasma-framework-5.56.1/src/plasma/containment.cpp --- old/plasma-framework-5.55.0/src/plasma/containment.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/containment.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -265,7 +265,7 @@ //restore the applets ordered by id QStringList groups = applets.groupList(); - qSort(groups.begin(), groups.end()); + std::sort(groups.begin(), groups.end()); // Sort the applet configs in order of geometry to ensure that applets // are added from left to right or top to bottom for a panel containment @@ -275,7 +275,7 @@ KConfigGroup appletConfig(&applets, appletGroup); appletConfigs.append(appletConfig); } - qStableSort(appletConfigs.begin(), appletConfigs.end(), appletConfigLessThan); + std::stable_sort(appletConfigs.begin(), appletConfigs.end(), appletConfigLessThan); QMutableListIterator<KConfigGroup> it(appletConfigs); while (it.hasNext()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/corona.cpp new/plasma-framework-5.56.1/src/plasma/corona.cpp --- old/plasma-framework-5.55.0/src/plasma/corona.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/corona.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -599,7 +599,7 @@ KConfigGroup containmentsGroup(&conf, "Containments"); QStringList groups = containmentsGroup.groupList(); - qSort(groups.begin(), groups.end()); + std::sort(groups.begin(), groups.end()); foreach (const QString &group, groups) { KConfigGroup containmentConfig(&containmentsGroup, group); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/pluginloader.cpp new/plasma-framework-5.56.1/src/plasma/pluginloader.cpp --- old/plasma-framework-5.55.0/src/plasma/pluginloader.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/pluginloader.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -904,11 +904,9 @@ const quint32 maxVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, PLASMA_VERSION_MINOR, 60); if (version < minVersion || version > maxVersion) { -#ifndef NDEBUG - qCDebug(LOG_PLASMA) << loader.fileName() << ": this plugin is compiled against incompatible Plasma version" << version + qCWarning(LOG_PLASMA) << loader.fileName() << ": this plugin is compiled against incompatible Plasma version" << version << "This build is compatible with" << PLASMA_VERSION_MAJOR << ".0.0 (" << minVersion << ") to" << PLASMA_VERSION_STRING << "(" << maxVersion << ")"; -#endif return false; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/private/storagethread.cpp new/plasma-framework-5.56.1/src/plasma/private/storagethread.cpp --- old/plasma-framework-5.55.0/src/plasma/private/storagethread.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/private/storagethread.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -320,12 +320,12 @@ if (valueGroup.isEmpty()) { query.prepare(QStringLiteral("delete from ") + caller->clientName() + QStringLiteral(" where accessTime < :date")); QDateTime time(QDateTime::currentDateTime().addSecs(-params[QStringLiteral("age")].toUInt())); - query.bindValue(QStringLiteral(":date"), time.toTime_t()); + query.bindValue(QStringLiteral(":date"), time.toSecsSinceEpoch()); } else { query.prepare(QStringLiteral("delete from ") + caller->clientName() + QStringLiteral(" where valueGroup=:valueGroup and accessTime < :date")); query.bindValue(QStringLiteral(":valueGroup"), valueGroup); QDateTime time(QDateTime::currentDateTime().addSecs(-params[QStringLiteral("age")].toUInt())); - query.bindValue(QStringLiteral(":date"), time.toTime_t()); + query.bindValue(QStringLiteral(":date"), time.toSecsSinceEpoch()); } const bool success = query.exec(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/private/theme_p.cpp new/plasma-framework-5.56.1/src/plasma/private/theme_p.cpp --- old/plasma-framework-5.55.0/src/plasma/private/theme_p.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/private/theme_p.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -71,9 +71,9 @@ useGlobal(true), hasWallpapers(false), fixedName(false), - backgroundContrast(0), - backgroundIntensity(0), - backgroundSaturation(0), + backgroundContrast(qQNaN()), + backgroundIntensity(qQNaN()), + backgroundSaturation(qQNaN()), backgroundContrastEnabled(true), apiMajor(1), apiMinor(0), @@ -244,8 +244,8 @@ const QFileInfo metadataFileInfo(themeMetadataPath); const QFileInfo iconThemeMetadataFileInfo(iconThemeMetadataPath); - cachesTooOld = (cacheFileInfo.lastModified().toTime_t() < metadataFileInfo.lastModified().toTime_t()) || - (cacheFileInfo.lastModified().toTime_t() < iconThemeMetadataFileInfo.lastModified().toTime_t()); + cachesTooOld = (cacheFileInfo.lastModified().toSecsSinceEpoch() < metadataFileInfo.lastModified().toSecsSinceEpoch()) || + (cacheFileInfo.lastModified().toSecsSinceEpoch() < iconThemeMetadataFileInfo.lastModified().toSecsSinceEpoch()); } } @@ -728,23 +728,9 @@ cg = KConfigGroup(metadata, "ContrastEffect"); backgroundContrastEnabled = cg.readEntry("enabled", false); - //if (backgroundContrastEnabled) { - // Make up sensible default values, based on the background color - // This works for a light theme -- lighting up the background - qreal _contrast = 0.3; - qreal _intensity = 1.9; - qreal _saturation = 1.7; - - // If we're using a dark background color, darken the background - if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) { - _contrast = 0.45; - _intensity = 0.45; - _saturation = 1.7; - } - backgroundContrast = cg.readEntry("contrast", _contrast); - backgroundIntensity = cg.readEntry("intensity", _intensity); - backgroundSaturation = cg.readEntry("saturation", _saturation); - //} + backgroundContrast = cg.readEntry("contrast", qQNaN()); + backgroundIntensity = cg.readEntry("intensity", qQNaN()); + backgroundSaturation = cg.readEntry("saturation", qQNaN()); } else { backgroundContrastEnabled = false; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/svg.cpp new/plasma-framework-5.56.1/src/plasma/svg.cpp --- old/plasma-framework-5.55.0/src/plasma/svg.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/svg.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -268,7 +268,7 @@ if (!themed) { QFile f(actualPath); QFileInfo info(f); - lastModified = info.lastModified().toTime_t(); + lastModified = info.lastModified().toSecsSinceEpoch(); } q->resize(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasma/theme.cpp new/plasma-framework-5.56.1/src/plasma/theme.cpp --- old/plasma-framework-5.55.0/src/plasma/theme.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasma/theme.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -294,7 +294,7 @@ bool Theme::findInCache(const QString &key, QPixmap &pix, unsigned int lastModified) { - if (lastModified != 0 && d->useCache() && lastModified > uint(d->pixmapCache->lastModifiedTime().toTime_t())) { + if (lastModified != 0 && d->useCache() && lastModified > uint(d->pixmapCache->lastModifiedTime().toSecsSinceEpoch())) { return false; } @@ -477,16 +477,36 @@ qreal Theme::backgroundContrast() const { + if (qIsNaN(d->backgroundContrast)) { + // Make up sensible default values, based on the background color + // If we're using a dark background color, darken the background + if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) { + return 0.45; + // for a light theme lighten up the background + } else { + return 0.3; + } + } return d->backgroundContrast; } qreal Theme::backgroundIntensity() const { + if (qIsNaN(d->backgroundIntensity)) { + if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) { + return 0.45; + } else { + return 1.9; + } + } return d->backgroundIntensity; } qreal Theme::backgroundSaturation() const { + if (qIsNaN(d->backgroundSaturation)) { + return 1.7; + } return d->backgroundSaturation; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/plasmaquick/dialogshadows.cpp new/plasma-framework-5.56.1/src/plasmaquick/dialogshadows.cpp --- old/plasma-framework-5.55.0/src/plasmaquick/dialogshadows.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/plasmaquick/dialogshadows.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -255,7 +255,7 @@ _connection, XCB_IMAGE_FORMAT_Z_PIXMAP, pixmap, _gc, image.width(), image.height(), 0, 0, 0, 32, - image.byteCount(), image.constBits()); + image.sizeInBytes(), image.constBits()); return (Qt::HANDLE)pixmap; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/scriptengines/qml/plasmoid/appletinterface.cpp new/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/appletinterface.cpp --- old/plasma-framework-5.55.0/src/scriptengines/qml/plasmoid/appletinterface.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/appletinterface.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -688,7 +688,10 @@ reg = applet()->containment()->corona()->availableScreenRegion(screenId); } - foreach (QRect rect, reg.rects()) { + auto it = reg.begin(); + const auto itEnd = reg.end(); + for (; it != itEnd; ++it) { + QRect rect = *it; //make it relative QRect geometry = applet()->containment()->corona()->screenGeometry(screenId); rect.moveTo(rect.topLeft() - geometry.topLeft()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.55.0/src/scriptengines/qml/plasmoid/containmentinterface.cpp new/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/containmentinterface.cpp --- old/plasma-framework-5.55.0/src/scriptengines/qml/plasmoid/containmentinterface.cpp 2019-02-03 01:05:33.000000000 +0100 +++ new/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/containmentinterface.cpp 2019-03-13 11:47:12.000000000 +0100 @@ -987,7 +987,7 @@ Plasma::Applet *applet = nullptr; foreach (QObject *appletObject, m_appletInterfaces) { if (AppletInterface *ai = qobject_cast<AppletInterface *>(appletObject)) { - if (ai->isVisible() && ai->contains(ai->mapFromItem(this, event->posF()))) { + if (ai->isVisible() && ai->contains(ai->mapFromItem(this, event->localPos()))) { applet = ai->applet(); break; } else {