Merge lp:~dandrader/unity-api/mirSurfaceInputBounds into lp:unity-api

Proposed by Daniel d'Andrada
Status: Merged
Approved by: Gerry Boland
Approved revision: 239
Merged at revision: 239
Proposed branch: lp:~dandrader/unity-api/mirSurfaceInputBounds
Merge into: lp:unity-api
Diff against target: 69 lines (+18/-1)
3 files modified
debian/changelog (+6/-0)
include/unity/shell/application/CMakeLists.txt (+1/-1)
include/unity/shell/application/MirSurfaceInterface.h (+11/-0)
To merge this branch: bzr merge lp:~dandrader/unity-api/mirSurfaceInputBounds
Reviewer Review Type Date Requested Status
Unity8 CI Bot continuous-integration Approve
Gerry Boland (community) Approve
Michał Sawicz Needs Fixing
Review via email: mp+296985@code.launchpad.net

Commit message

MirSurfaceInterface: add inputBounds property

To post a comment you must log in.
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:236
https://unity8-jenkins.ubuntu.com/job/lp-unity-api-ci/87/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/1938
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/1964
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/1899
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/1899
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=yakkety/1899
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/1890/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/1890
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/1890/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity-api-ci/87/rebuild

review: Approve (continuous-integration)
236. By CI Train Bot Account

Add ApplicationInfoInterface::surfaceCount property

237. By CI Train Bot Account

Drop Launchermodel::setAlerting, it's not needed

238. By CI Train Bot Account

Releasing 7.115+16.10.20160614-0ubuntu1

Revision history for this message
Michał Sawicz (saviq) wrote :

Text conflict in debian/changelog
1 conflicts encountered.

review: Needs Fixing
239. By Daniel d'Andrada

MirSurfaceInterface: add inputBounds property

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

On 18/06/2016 19:45, Michał Sawicz wrote:
> Review: Needs Fixing
>
> Text conflict in debian/changelog
> 1 conflicts encountered.

Fixed.

Revision history for this message
Gerry Boland (gerboland) :
review: Approve
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:239
https://unity8-jenkins.ubuntu.com/job/lp-unity-api-ci/90/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/2079
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/2107
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/2018
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/2018
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=yakkety/2018
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2009/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2009
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2009/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity-api-ci/90/rebuild

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2016-06-14 08:34:16 +0000
+++ debian/changelog 2016-06-20 14:06:35 +0000
@@ -1,3 +1,9 @@
1unity-api (7.116) UNRELEASED; urgency=medium
2
3 * MirSurfaceInterface: add inputBounds property
4
5 -- Daniel d'Andrada <daniel.dandrada@canonical.com> Mon, 20 Jun 2016 11:04:39 -0300
6
1unity-api (7.115+16.10.20160614-0ubuntu1) yakkety; urgency=medium7unity-api (7.115+16.10.20160614-0ubuntu1) yakkety; urgency=medium
28
3 [ Michael Zanetti ]9 [ Michael Zanetti ]
410
=== modified file 'include/unity/shell/application/CMakeLists.txt'
--- include/unity/shell/application/CMakeLists.txt 2016-06-03 11:20:04 +0000
+++ include/unity/shell/application/CMakeLists.txt 2016-06-20 14:06:35 +0000
@@ -7,7 +7,7 @@
77
8set(UNITY_API_LIB_HDRS ${UNITY_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)8set(UNITY_API_LIB_HDRS ${UNITY_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
99
10set(VERSION 18)10set(VERSION 19)
11set(PKGCONFIG_NAME "unity-shell-application")11set(PKGCONFIG_NAME "unity-shell-application")
12set(PKGCONFIG_DESCRIPTION "Unity shell Application APIs")12set(PKGCONFIG_DESCRIPTION "Unity shell Application APIs")
13set(PKGCONFIG_REQUIRES "Qt5Core")13set(PKGCONFIG_REQUIRES "Qt5Core")
1414
=== modified file 'include/unity/shell/application/MirSurfaceInterface.h'
--- include/unity/shell/application/MirSurfaceInterface.h 2016-05-17 12:55:00 +0000
+++ include/unity/shell/application/MirSurfaceInterface.h 2016-06-20 14:06:35 +0000
@@ -18,6 +18,7 @@
18#define UNITY_SHELL_APPLICATION_MIRSURFACE_H18#define UNITY_SHELL_APPLICATION_MIRSURFACE_H
1919
20#include <QObject>20#include <QObject>
21#include <QRect>
21#include <QSize>22#include <QSize>
2223
23#include "Mir.h"24#include "Mir.h"
@@ -134,6 +135,13 @@
134 */135 */
135 Q_PROPERTY(bool focused READ focused NOTIFY focusedChanged)136 Q_PROPERTY(bool focused READ focused NOTIFY focusedChanged)
136137
138 /**
139 * @brief Input bounds
140 *
141 * Bounding rectangle of the surface region that accepts input.
142 */
143 Q_PROPERTY(QRect inputBounds READ inputBounds NOTIFY inputBoundsChanged)
144
137public:145public:
138 /// @cond146 /// @cond
139 MirSurfaceInterface(QObject *parent = nullptr) : QObject(parent) {}147 MirSurfaceInterface(QObject *parent = nullptr) : QObject(parent) {}
@@ -170,6 +178,8 @@
170 virtual Mir::ShellChrome shellChrome() const = 0;178 virtual Mir::ShellChrome shellChrome() const = 0;
171179
172 virtual bool focused() const = 0;180 virtual bool focused() const = 0;
181
182 virtual QRect inputBounds() const = 0;
173 /// @endcond183 /// @endcond
174184
175 /**185 /**
@@ -208,6 +218,7 @@
208 void shellChromeChanged(Mir::ShellChrome value);218 void shellChromeChanged(Mir::ShellChrome value);
209 void keymapChanged(const QString &value);219 void keymapChanged(const QString &value);
210 void focusedChanged(bool value);220 void focusedChanged(bool value);
221 void inputBoundsChanged(QRect value);
211 /// @endcond222 /// @endcond
212223
213 /**224 /**

Subscribers

People subscribed via source and target branches

to all changes: