Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit kwindowsystem for openSUSE:Factory
Hello community,

here is the log from the commit of package kwindowsystem for openSUSE:Factory
checked in at 2019-04-19 21:24:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwindowsystem (Old)
and /work/SRC/openSUSE:Factory/.kwindowsystem.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwindowsystem"

Fri Apr 19 21:24:43 2019 rev:69 rq:695256 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwindowsystem/kwindowsystem.changes
2019-03-21 09:48:55.322859892 +0100
+++ /work/SRC/openSUSE:Factory/.kwindowsystem.new.5536/kwindowsystem.changes
2019-04-19 21:24:43.987900892 +0200
@@ -1,0 +2,13 @@
+Sun Apr 14 20:21:44 UTC 2019 - lbeltrame@xxxxxxx
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * Use debug categories here
+ * port to std::sort
+ * Send blur/background contrast in device pixels (kde#404923)
+ * [autotests] Fix KWindowInfoX11Test::testState
+
+-------------------------------------------------------------------

Old:
----
kwindowsystem-5.56.0.tar.xz

New:
----
kwindowsystem-5.57.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kwindowsystem.spec ++++++
--- /var/tmp/diff_new_pack.95vUME/_old 2019-04-19 21:24:44.627901707 +0200
+++ /var/tmp/diff_new_pack.95vUME/_new 2019-04-19 21:24:44.631901713 +0200
@@ -17,14 +17,14 @@


%define lname libKF5WindowSystem5
-%define _tar_path 5.56
+%define _tar_path 5.57
# 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: kwindowsystem
-Version: 5.56.0
+Version: 5.57.0
Release: 0
Summary: KDE Access to window manager
License: LGPL-2.1-or-later

++++++ kwindowsystem-5.56.0.tar.xz -> kwindowsystem-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/.gitignore
new/kwindowsystem-5.57.0/.gitignore
--- old/kwindowsystem-5.56.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/kwindowsystem-5.57.0/.gitignore 2019-04-07 09:33:44.000000000 +0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/CMakeLists.txt
new/kwindowsystem-5.57.0/CMakeLists.txt
--- old/kwindowsystem-5.56.0/CMakeLists.txt 2019-03-02 14:50:07.000000000
+0100
+++ new/kwindowsystem-5.57.0/CMakeLists.txt 2019-04-07 09:33:44.000000000
+0200
@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.5)

-set(KF5_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
project(KWindowSystem VERSION ${KF5_VERSION})

# ECM setup
include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.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)

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kwindowsystem-5.56.0/autotests/kwindowinfox11test.cpp
new/kwindowsystem-5.57.0/autotests/kwindowinfox11test.cpp
--- old/kwindowsystem-5.56.0/autotests/kwindowinfox11test.cpp 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/autotests/kwindowinfox11test.cpp 2019-04-07
09:33:44.000000000 +0200
@@ -197,11 +197,15 @@
QTest::newRow("shaded") << NET::States(NET::Shaded);
QTest::newRow("skipTaskbar") << NET::States(NET::SkipTaskbar);
QTest::newRow("skipPager") << NET::States(NET::SkipPager);
- QTest::newRow("skipSwitcher") << NET::States(NET::SkipSwitcher);
QTest::newRow("keep above") << NET::States(NET::KeepAbove);
QTest::newRow("keep below") << NET::States(NET::KeepBelow);
QTest::newRow("fullscreen") << NET::States(NET::FullScreen);

+ NETRootInfo info(QX11Info::connection(), NET::Supported);
+ if (info.isSupported(NET::SkipSwitcher)) {
+ QTest::newRow("skipSwitcher") << NET::States(NET::SkipSwitcher);
+ }
+
// NOTE: modal, sticky and hidden cannot be tested with this variant
// demands attention is not tested as that's already part of the first run
adjustments
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/po/id/kwindowsystem5_qt.po
new/kwindowsystem-5.57.0/po/id/kwindowsystem5_qt.po
--- old/kwindowsystem-5.56.0/po/id/kwindowsystem5_qt.po 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/po/id/kwindowsystem5_qt.po 2019-04-07
09:33:44.000000000 +0200
@@ -15,7 +15,7 @@
"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"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Qt-Contexts: true\n"

#: platforms/osx/kwindowsystem.cpp:578 platforms/windows/kwindowsystem.cpp:630
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/po/te/kwindowsystem5_qt.po
new/kwindowsystem-5.57.0/po/te/kwindowsystem5_qt.po
--- old/kwindowsystem-5.56.0/po/te/kwindowsystem5_qt.po 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/po/te/kwindowsystem5_qt.po 2019-04-07
09:33:44.000000000 +0200
@@ -22,8 +22,7 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.5\n"
-"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : "
-"4;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Qt-Contexts: true\n"

#: platforms/osx/kwindowsystem.cpp:578 platforms/windows/kwindowsystem.cpp:630
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/po/zh_CN/kwindowsystem5_qt.po
new/kwindowsystem-5.57.0/po/zh_CN/kwindowsystem5_qt.po
--- old/kwindowsystem-5.56.0/po/zh_CN/kwindowsystem5_qt.po 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/po/zh_CN/kwindowsystem5_qt.po 2019-04-07
09:33:44.000000000 +0200
@@ -13,7 +13,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2019-02-20 23:16\n"
+"PO-Revision-Date: 2019-03-07 09:22\n"
"Last-Translator: guoyunhe <i@xxxxxxxxxxx>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/src/kwindoweffects.h
new/kwindowsystem-5.57.0/src/kwindoweffects.h
--- old/kwindowsystem-5.56.0/src/kwindoweffects.h 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/src/kwindoweffects.h 2019-04-07
09:33:44.000000000 +0200
@@ -127,7 +127,7 @@
*
* @param window The window for which to enable the blur effect
* @param enable Enable the effect if @c true, disable it if @c false
- * @param region The region within the window where the background will be
blurred
+ * @param region The region within the window where the background will be
blurred, specified in logical pixels
*/
KWINDOWSYSTEM_EXPORT void enableBlurBehind(WId window, bool enable = true,
const QRegion &region = QRegion());

@@ -149,7 +149,7 @@
* @param window The window for which to enable the background contrast effect
* @param enable Enable the effect if @c true, disable it if @c false
* @param brightness How to modify the area brightness: from 0 (make it black)
to 2 (make it white), 1 leaves it unchanged
- * @param region The region within the window where the background will be
modified
+ * @param region The region within the window where the background will be
modified, specified in logical pixels
*/
KWINDOWSYSTEM_EXPORT void enableBackgroundContrast(WId window, bool enable =
true, qreal contrast = 1, qreal intensity = 1, qreal saturation = 1, const
QRegion &region = QRegion());

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kwindowsystem-5.56.0/src/platforms/xcb/kwindoweffects.cpp
new/kwindowsystem-5.57.0/src/platforms/xcb/kwindoweffects.cpp
--- old/kwindowsystem-5.56.0/src/platforms/xcb/kwindoweffects.cpp
2019-03-02 14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/src/platforms/xcb/kwindoweffects.cpp
2019-04-07 09:33:44.000000000 +0200
@@ -19,6 +19,7 @@
#include "kwindoweffects_x11.h"

#include <QVarLengthArray>
+#include <QGuiApplication>

#include "kwindowsystem.h"
#include <config-kwindowsystem.h>
@@ -260,7 +261,9 @@
QVector<uint32_t> data;
data.reserve(rects.count() * 4);
Q_FOREACH (const QRect &r, rects) {
- data << r.x() << r.y() << r.width() << r.height();
+ // kwin on X uses device pixels, convert from logical
+ auto dpr = qApp->devicePixelRatio();
+ data << r.x() * dpr << r.y() * dpr << r.width() * dpr <<
r.height() * dpr;
}

xcb_change_property(c, XCB_PROP_MODE_REPLACE, window, atom->atom,
XCB_ATOM_CARDINAL,
@@ -285,7 +288,8 @@
QVector<uint32_t> data;
data.reserve(rects.count() * 4 + 16);
Q_FOREACH (const QRect &r, rects) {
- data << r.x() << r.y() << r.width() << r.height();
+ auto dpr = qApp->devicePixelRatio();
+ data << r.x() * dpr << r.y() * dpr << r.width() * dpr <<
r.height() * dpr;
}

QMatrix4x4 satMatrix; //saturation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/src/platforms/xcb/kxutils.cpp
new/kwindowsystem-5.57.0/src/platforms/xcb/kxutils.cpp
--- old/kwindowsystem-5.56.0/src/platforms/xcb/kxutils.cpp 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/src/platforms/xcb/kxutils.cpp 2019-04-07
09:33:44.000000000 +0200
@@ -18,10 +18,9 @@
*/

#include "kxutils_p.h"
-
+#include "kwindowsystem_xcb_debug.h"
#include <qbitmap.h>
#include <QX11Info>
-#include <QDebug>

#include <xcb/xcb.h>

@@ -98,12 +97,12 @@
QPixmap createPixmapFromHandle(xcb_connection_t *c, WId pixmap, WId
pixmap_mask)
{
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
- qDebug() << "Byte order not supported";
+ qCDebug(LOG_KKEYSERVER_X11) << "Byte order not supported";
return QPixmap();
#endif
const xcb_setup_t *setup = xcb_get_setup(c);
if (setup->image_byte_order != XCB_IMAGE_ORDER_LSB_FIRST) {
- qDebug() << "Byte order not supported";
+ qCDebug(LOG_KKEYSERVER_X11) << "Byte order not supported";
return QPixmap();
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwindowsystem-5.56.0/src/platforms/xcb/netwm.cpp
new/kwindowsystem-5.57.0/src/platforms/xcb/netwm.cpp
--- old/kwindowsystem-5.56.0/src/platforms/xcb/netwm.cpp 2019-03-02
14:50:07.000000000 +0100
+++ new/kwindowsystem-5.57.0/src/platforms/xcb/netwm.cpp 2019-04-07
09:33:44.000000000 +0200
@@ -1994,7 +1994,7 @@
QList<xcb_window_t> clientsToAdd;

QVector<xcb_window_t> clients = get_array_reply<xcb_window_t>(p->conn,
cookies[c++], XCB_ATOM_WINDOW);
- qSort(clients);
+ std::sort(clients.begin(), clients.end());

if (p->clients) {
if (p->role == Client) {


< Previous Next >
This Thread
  • No further messages