Hello community,

here is the log from the commit of package kwayland for openSUSE:Factory 
checked in at 2017-06-01 16:21:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwayland (Old)
 and      /work/SRC/openSUSE:Factory/.kwayland.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwayland"

Thu Jun  1 16:21:41 2017 rev:36 rq:495071 version:5.34.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes        2017-04-30 
21:21:30.704886169 +0200
+++ /work/SRC/openSUSE:Factory/.kwayland.new/kwayland.changes   2017-06-01 
16:21:42.580396914 +0200
@@ -1,0 +2,11 @@
+Mon May 15 13:53:17 CEST 2017 - [email protected]
+
+- Update to 5.34.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.34.0.php
+- Changes since 5.33.0:
+  * Validate surface is valid when sending TextInput leave event
+  * Fix autotests on the FreeBSD CI.
+
+-------------------------------------------------------------------

Old:
----
  kwayland-5.33.0.tar.xz

New:
----
  kwayland-5.34.0.tar.xz

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

Other differences:
------------------
++++++ kwayland.spec ++++++
--- /var/tmp/diff_new_pack.t4KguR/_old  2017-06-01 16:21:43.160315140 +0200
+++ /var/tmp/diff_new_pack.t4KguR/_new  2017-06-01 16:21:43.164314576 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define _tar_path 5.33
+%define _tar_path 5.34
 Name:           kwayland
-Version:        5.33.0
+Version:        5.34.0
 Release:        0
 Summary:        KDE Wayland library
 License:        LGPL-2.1+

++++++ kwayland-5.33.0.tar.xz -> kwayland-5.34.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kwayland-5.33.0/CMakeLists.txt 
new/kwayland-5.34.0/CMakeLists.txt
--- old/kwayland-5.33.0/CMakeLists.txt  2017-04-01 20:44:12.000000000 +0200
+++ new/kwayland-5.34.0/CMakeLists.txt  2017-05-06 10:51:20.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.33.0") # handled by release scripts
+set(KF5_VERSION "5.34.0") # handled by release scripts
 project(KWayland VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.33.0  NO_MODULE)
+find_package(ECM 5.34.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)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kwayland-5.33.0/autotests/client/test_error.cpp 
new/kwayland-5.34.0/autotests/client/test_error.cpp
--- old/kwayland-5.33.0/autotests/client/test_error.cpp 2017-04-01 
20:44:12.000000000 +0200
+++ new/kwayland-5.34.0/autotests/client/test_error.cpp 2017-05-06 
10:51:20.000000000 +0200
@@ -35,6 +35,8 @@
 
 #include <wayland-client-protocol.h>
 
+#include <errno.h>  // For EPROTO
+
 using namespace KWayland::Client;
 using namespace KWayland::Server;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kwayland-5.33.0/autotests/client/test_text_input.cpp 
new/kwayland-5.34.0/autotests/client/test_text_input.cpp
--- old/kwayland-5.33.0/autotests/client/test_text_input.cpp    2017-04-01 
20:44:12.000000000 +0200
+++ new/kwayland-5.34.0/autotests/client/test_text_input.cpp    2017-05-06 
10:51:20.000000000 +0200
@@ -306,6 +306,21 @@
     QCOMPARE(textInputChangedSpy.count(), 3);
     // should still be the same text input
     QCOMPARE(m_seatInterface->focusedTextInput(), serverTextInput);
+    //reset
+    textInput->enable(surface.data());
+    QVERIFY(enabledChangedSpy.wait());
+
+    //trigger an enter again and leave, but this
+    //time we try sending an event after the surface is unbound
+    //but not yet destroyed. It should work without errors
+    QCOMPARE(textInput->enteredSurface(), surface.data());
+    connect(serverSurface, &Resource::unbound, [=]() {
+        m_seatInterface->setFocusedKeyboardSurface(nullptr);
+    });
+    //delete the client and wait for the server to catch up
+    QSignalSpy unboundSpy(serverSurface, &QObject::destroyed);
+    surface.reset();
+    QVERIFY(unboundSpy.wait());
 }
 
 void TextInputTest::testShowHidePanel_data()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kwayland-5.33.0/src/server/textinput_interface_v2.cpp 
new/kwayland-5.34.0/src/server/textinput_interface_v2.cpp
--- old/kwayland-5.33.0/src/server/textinput_interface_v2.cpp   2017-04-01 
20:44:12.000000000 +0200
+++ new/kwayland-5.34.0/src/server/textinput_interface_v2.cpp   2017-05-06 
10:51:20.000000000 +0200
@@ -96,7 +96,7 @@
 
 void TextInputUnstableV2Interface::Private::sendEnter(SurfaceInterface 
*surface, quint32 serial)
 {
-    if (!resource) {
+    if (!resource || !surface || !surface->resource()) {
         return;
     }
     zwp_text_input_v2_send_enter(resource, serial, surface->resource());
@@ -104,7 +104,7 @@
 
 void TextInputUnstableV2Interface::Private::sendLeave(quint32 serial, 
SurfaceInterface *surface)
 {
-    if (!resource || !surface) {
+    if (!resource || !surface || !surface->resource()) {
         return;
     }
     zwp_text_input_v2_send_leave(resource, serial, surface->resource());


Reply via email to