How to create a Wayland Compositor?

2015-06-16 Thread larivact
Hey Wayland people, I am unhappy with all Desktop Environments / Window Managers out there. Because of that I want to develop my own. I searched a bit and found X. Then I watched some online records of some talks about X / Wayland. I am now totally convinced that X is horrible. Therefore I want

Re: [PATCH v4 4/6] Enables output in the JUnit XML format.

2015-06-16 Thread Peter Hutterer
On Thu, Jun 11, 2015 at 10:01:30PM -0700, Jon A. Cruz wrote: > Adds basic support fo optionally outputting in the XML format > commonly used by JUnit compatible tools. > > This format is supported by default by many tools, including > the Jenkins build system. It also is more detailed and > captur

[PATCH v2 wayland 2/2] doc: drop the default doxygen tags

2015-06-16 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v1: - rebased on top of v2 1/2 doc/doxygen/wayland.doxygen.in | 1743 1 file changed, 1743 deletions(-) diff --git a/doc/doxygen/wayland.doxygen.in b/doc/doxygen/wayland.doxygen.in index bab0744..fb76b12 1006

[PATCH v2 wayland 1/2] doc: move project-specific doxygen settings to the end of the doxygen file

2015-06-16 Thread Peter Hutterer
Rather than having the settings hidden in the file somewhere move them to the end so it's clear which settings we intentionally override. Signed-off-by: Peter Hutterer --- Changes to v1: - add ALIASES to our custom section - reset GENERATE_HTML, HTML_TIMESTAMP, OUTPUT_DIRECTORY, and PROJECT_NUMBE

Re: [PATCH weston v3 1/5] Expanded unit test framework to cover base requirements.

2015-06-16 Thread Peter Hutterer
On Tue, Jun 16, 2015 at 09:22:21AM -0700, Jon A. Cruz wrote: > On 06/16/2015 06:21 AM, Pekka Paalanen wrote: > > On Tue, 9 Jun 2015 15:15:52 +1000 > > Peter Hutterer wrote: > > > >> On Thu, Jun 04, 2015 at 12:50:47AM -0700, Jon A. Cruz wrote: > >>> On 06/03/2015 10:15 PM, Peter Hutterer wrote: >

[PATCH weston] text: Use a client destroy notifier for input method client

2015-06-16 Thread Derek Foreman
When the input method fails to launch (file not found) a wl_client is still created, and is destroyed shortly after. If the compositor is destroyed before the SIGHUP handler sets the client pointer to NULL, the code that's intended to kill the input method client on compositor shutdown can run aft

Re: [PATCH weston 1/2] Added new include file to all SOURCES variables with files that use it.

2015-06-16 Thread Peter Hutterer
On Tue, Jun 16, 2015 at 01:15:13PM -0700, Jon A. Cruz wrote: > Signed-off-by: Jon A. Cruz > --- > Makefile.am | 129 > > 1 file changed, 95 insertions(+), 34 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index 261798c..1cf

[PATCH weston 1/2] Added new include file to all SOURCES variables with files that use it.

2015-06-16 Thread Jon A. Cruz
Signed-off-by: Jon A. Cruz --- Makefile.am | 129 1 file changed, 95 insertions(+), 34 deletions(-) diff --git a/Makefile.am b/Makefile.am index 261798c..1cfc982 100644 --- a/Makefile.am +++ b/Makefile.am @@ -86,6 +86,7 @@ weston_SOURC

[PATCH weston 0/2] Cleanup addition of helpers.h to build.

2015-06-16 Thread Jon A. Cruz
This covers a couple of follow-up items Pekka spotted in the patchset moving a few common macros into the new helpers.h header. Jon A. Cruz (2): Added new include file to all SOURCES variables with files that use it. Do not install the new helpers macro header file. Makefile.am | 13

[PATCH weston 2/2] Do not install the new helpers macro header file.

2015-06-16 Thread Jon A. Cruz
Signed-off-by: Jon A. Cruz --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1cfc982..125d8c3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -190,7 +190,6 @@ westoninclude_HEADERS = \ src/timeline-object.h

DRM backend

2015-06-16 Thread vishnu
Hi, Trying to launch Weston with drm backend and weston-launch fails, below is the error message [18:00:38.278] input device 'AT Raw Set 2 keyboard', /dev/input/event0 is a keyboard [18:00:38.278] libwayland: wl_global_create: implemented version higher than interface versionInvalid argument [18:

[PATCH weston] ivi: Use build dir instead of libexec dir in generated test ini file

2015-06-16 Thread Derek Foreman
We don't want to use installed binaries when running tests. Signed-off-by: Derek Foreman --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 261798c..a75f6c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,7 @@ tests/weston-

Re: [PATCH weston v3 1/5] Expanded unit test framework to cover base requirements.

2015-06-16 Thread Jon A. Cruz
On 06/16/2015 06:21 AM, Pekka Paalanen wrote: > On Tue, 9 Jun 2015 15:15:52 +1000 > Peter Hutterer wrote: > >> On Thu, Jun 04, 2015 at 12:50:47AM -0700, Jon A. Cruz wrote: >>> On 06/03/2015 10:15 PM, Peter Hutterer wrote: On Tue, May 26, 2015 at 04:06:37PM -0700, Jon A. Cruz wrote: > >

Re: [PATCH weston v2 2/4] Moved helper macro to a discrete include file.

2015-06-16 Thread Jon A. Cruz
On 06/16/2015 02:48 AM, Pekka Paalanen wrote: > On Mon, 15 Jun 2015 15:37:08 -0700 > "Jon A. Cruz" wrote: > >> To help reduce code duplication and also 'kitchen-sink' includes >> the ARRAY_LENGTH macro was moved to a stand-alone file and >> referenced from the sources consuming it. Other macros w

Re: Stacking subsurface siblings

2015-06-16 Thread Arnaud Vrac
On Tue, Jun 16, 2015 at 5:47 PM, Jonas Ådahl wrote: > On Tue, Jun 16, 2015 at 04:46:55PM +0200, Arnaud Vrac wrote: > > Hi, > > > > I'm wondering if a behaviour of weston related to subsurfaces is either a > > bug or intended. The protocol description is not clear on what happens in > > the follow

Re: Stacking subsurface siblings

2015-06-16 Thread Jonas Ådahl
On Tue, Jun 16, 2015 at 04:46:55PM +0200, Arnaud Vrac wrote: > Hi, > > I'm wondering if a behaviour of weston related to subsurfaces is either a > bug or intended. The protocol description is not clear on what happens in > the following cases: > > Suppose I have a shell surface (BLUE) and two sub

Re: Stacking subsurface siblings

2015-06-16 Thread Jonas Ådahl
On Tue, Jun 16, 2015 at 08:02:52AM -0700, Jasper St. Pierre wrote: > I was not aware you could stack subsurfaces under a parent surface at > all. Is this intended protocol behavior? The fact that you might be > able to do that at all in Weston might be a bug. From wl_subsurface.place_above: "... T

Re: Stacking subsurface siblings

2015-06-16 Thread Jasper St. Pierre
I was imagining that this was a fullscreen mode, given that you had no UI stacked under the video. The thing about surfaces is that you can configure them as you like every frame. If you have a browser playing multiple videos, each video can be a subsurface, and then when you transition to a fulls

Re: Stacking subsurface siblings

2015-06-16 Thread Arnaud Vrac
It's possible, but the OSD is usually longer lived than the video surfaces, which might be transient. For example in an HTML browser, a declarative UI, etc, multiple video surfaces could be created for some pages and then destroyed when the page is closed. On Tue, Jun 16, 2015 at 5:11 PM, Jasper S

Re: Stacking subsurface siblings

2015-06-16 Thread Jasper St. Pierre
Why can't you use the video as the main surface and an OSD as a subsurface? On Tue, Jun 16, 2015 at 11:09 AM, Arnaud Vrac wrote: > I'm not sure, but I find it very useful for a video player. The video is > stacked under the OSD and to be able to use hardware planes, the only viable > option with

Re: Stacking subsurface siblings

2015-06-16 Thread Arnaud Vrac
I'm not sure, but I find it very useful for a video player. The video is stacked under the OSD and to be able to use hardware planes, the only viable option with wayland is to have a surface for the OSD and a subsurface for the video which is stacked under. On Tue, Jun 16, 2015 at 5:02 PM, Jasper

Re: Stacking subsurface siblings

2015-06-16 Thread Jasper St. Pierre
I was not aware you could stack subsurfaces under a parent surface at all. Is this intended protocol behavior? The fact that you might be able to do that at all in Weston might be a bug. On Tue, Jun 16, 2015 at 7:46 AM, Arnaud Vrac wrote: > Hi, > > I'm wondering if a behaviour of weston related t

Stacking subsurface siblings

2015-06-16 Thread Arnaud Vrac
Hi, I'm wondering if a behaviour of weston related to subsurfaces is either a bug or intended. The protocol description is not clear on what happens in the following cases: Suppose I have a shell surface (BLUE) and two subsurfaces (RED, GREEN). I want to stack them to I get RED, GREEN, BLUE from

Re: [PATCH weston v3 1/5] Expanded unit test framework to cover base requirements.

2015-06-16 Thread Pekka Paalanen
On Tue, 9 Jun 2015 15:15:52 +1000 Peter Hutterer wrote: > On Thu, Jun 04, 2015 at 12:50:47AM -0700, Jon A. Cruz wrote: > > On 06/03/2015 10:15 PM, Peter Hutterer wrote: > > > On Tue, May 26, 2015 at 04:06:37PM -0700, Jon A. Cruz wrote: > > >> + > > >> +/** > > >> +@page zunitc zunitc > > >> + >

Re: [PATCH wayland 1/2] doc: move project-specific doxygen settings to the end of the doxygen file

2015-06-16 Thread Pekka Paalanen
On Fri, 5 Jun 2015 15:30:22 +1000 Peter Hutterer wrote: > Rather than having the settings hidden in the file somewhere move them to the > end so it's clear which settings we intentionally override. > > Signed-off-by: Peter Hutterer > --- > doc/doxygen/wayland.doxygen.in | 41 +

Re: [PATCH] compositor-x11: More verbose logging

2015-06-16 Thread Pekka Paalanen
On Fri, 29 May 2015 11:40:52 +0300 Pekka Paalanen wrote: > On Tue, 26 May 2015 18:14:21 -0700 > Bryce Harrington wrote: > > > Signed-off-by: Bryce Harrington > > --- > > > > Added some debugging statements in my (ultimately fruitless) effort to > > debug a black screenshot problem. Might be

Re: [PATCH 2/2] xdg-shell: Further clarify xdg_surface.resize semantics

2015-06-16 Thread Pekka Paalanen
On Tue, 5 May 2015 15:35:19 +0800 Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > protocol/xdg-shell.xml | 29 + > 1 file changed, 25 insertions(+), 4 deletions(-) > > diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml > index fbd0093..9318bea 100

Re: [PATCH 1/2] xdg-shell: Further clarify xdg_surface.move semantics

2015-06-16 Thread Pekka Paalanen
On Tue, 5 May 2015 15:35:18 +0800 Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > > Except for typos etc, this (and the following) patch, compared to the > previous versions, changes the wording regarding the visual indications > when moving and resizing. > > > Jonas > > protocol/x

[PATCH weston 2/2] desktop-shell: remove screensaver support

2015-06-16 Thread Pekka Paalanen
From: Pekka Paalanen This is a follow-up for the patch that removed weston-screensaver. The aim is to clean up shell.c a little by removing non-essential components. Vanilla Weston desktop is only a demo, external projects are encouraged to create user-friendly desktop environments. The support

Re: [PATCH weston] cleanup text backend style

2015-06-16 Thread Pekka Paalanen
On Tue, 9 Jun 2015 20:29:28 + Murray Calavera wrote: > Signed-off-by: Murray Calavera > --- > src/text-backend.c | 157 > + > 1 file changed, 98 insertions(+), 59 deletions(-) Looks fine to me, pushed: 066ca0c..972d1af master -> ma

Re: [PATCH v2 1/2] publican: Update docs license from MIT "X11" to MIT "Expat" style

2015-06-16 Thread Bryce Harrington
On Mon, Jun 15, 2015 at 12:18:44PM +0300, Pekka Paalanen wrote: > On Fri, 12 Jun 2015 16:44:15 -0700 > Bryce Harrington wrote: > > > Signed-off-by: Bryce Harrington > > --- > > doc/publican/sources/Book_Info.xml | 46 > > +++--- > > 1 file changed, 23 insertions

Re: [PATCH weston] gl-renderer: Don't print GL error for EGLGetDisplay()

2015-06-16 Thread Pekka Paalanen
On Fri, 12 Jun 2015 11:19:01 +0300 Pekka Paalanen wrote: > On Thu, 11 Jun 2015 12:14:45 -0500 > Derek Foreman wrote: > > > EGLGetDisplay() doesn't generate a GL error, so we shouldn't print one. > > That's generally true, with one little exception: > > https://www.khronos.org/registry/egl/ext

Re: [PATCH libinput] touchpad: disable right-edge palm detection for edge scrolling

2015-06-16 Thread Hans de Goede
Hi, On 16-06-15 08:17, Peter Hutterer wrote: Most scroll motions would be labelled a palm. https://bugs.freedesktop.org/show_bug.cgi?id=90980 Signed-off-by: Peter Hutterer Looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- src/evdev-mt-touchpad-edge-scroll.c | 2 +- s

Re: [PATCH libinput] touchpad: mark ALPS touchpads for middle button emulation

2015-06-16 Thread Hans de Goede
Hi, On 16-06-15 05:19, Peter Hutterer wrote: Alps devices don't know if there is a physical middle button on the touchpad, so they always report one. Since a large number of touchpads only have two buttons, enable middle button emulation by default. Those that really don't want it can play with

Re: [PATCH weston v2 2/4] Moved helper macro to a discrete include file.

2015-06-16 Thread Pekka Paalanen
On Mon, 15 Jun 2015 15:37:08 -0700 "Jon A. Cruz" wrote: > To help reduce code duplication and also 'kitchen-sink' includes > the ARRAY_LENGTH macro was moved to a stand-alone file and > referenced from the sources consuming it. Other macros will be > added in subsequent passes. > > Signed-off-by

Re: [PATCH weston 00/17] Update weston from MIT/X11 to MIT/Expat license

2015-06-16 Thread Pekka Paalanen
On Mon, 15 Jun 2015 10:30:00 -0700 Bryce Harrington wrote: > On Mon, Jun 15, 2015 at 02:21:09PM +0300, Pekka Paalanen wrote: > > Hi Bryce, > > > > well handled. > > > > On Fri, 12 Jun 2015 15:04:37 -0700 > > Bryce Harrington wrote: > > > > > Following on from the wayland license switch, do th