[Differential] [Request, 214 lines] D1753: [client] Detect errors in ConnectionThread
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Fri Jun 3 09:27:11 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
So far ConnectionThread dispatched events without checking for (protocol)
errors. But Wayland errors are considered fatal. We do need to consider
them.
This change introduces a way to detect errors and expose them in
ConnectionThread. Errors are handled gracefully, they are exposed, but
not considered application fatal. E.g. a new ConnectionThread could be
created afterwards.
This allows to add tests to verify error conditions.
REPOSITORY
rKWAYLAND KWayland
BRANCH
connection-error-handling
REVISION DETAIL
https://phabricator.kde.org/D1753
AFFECTED FILES
autotests/client/CMakeLists.txt
autotests/client/test_error.cpp
src/client/connection_thread.cpp
src/client/connection_thread.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160603/7af0065b/attachment.html>
More information about the Plasma-devel
mailing list