[PATCH libinput 1/4] test: fix litest_log() when libunwind is missing

2015-06-04 Thread Peter Hutterer
Previous expansion had side-effects when litest_log was called in an if condition without {} Signed-off-by: Peter Hutterer --- test/litest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/litest.c b/test/litest.c index c9c17d0..0e2cb96 100644 --- a/test/litest.c +++

[PATCH libinput 2/4] test: always install our own udev rule/hwdb files for tests

2015-06-04 Thread Peter Hutterer
We can't rely on the system having these files installed, at least not in the latest version that we'd like. Copy them over from the source directory into the /run/udev/ directories for each test and update udev and the hwdb. This ensures the tags we set in the hwdb file are always set, regardless

[PATCH libinput 4/4] Move Wacom touchpad tagging to the udev rules

2015-06-04 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c| 5 + src/evdev.c| 1 + src/evdev.h| 1 + udev/90-libinput-model-quirks.hwdb | 6 ++ 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/evdev-mt-touchpad.c

[PATCH libinput 3/4] Move apple touchpad tagging to the udev rules

2015-06-04 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 4 ++-- src/evdev.c | 1 + src/evdev.h | 1 + udev/90-libinput-model-quirks.hwdb | 7 +++ udev/90-libinput-model-quirks.rules | 6 -- 5 files changed, 15 insertions(+),

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

2015-06-04 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- 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 38c38f8..5c34be6 100644 --- a/doc/doxygen/wayland.doxygen.in +++

[PATCH wayland 0/2] remove doxygen default config

2015-06-04 Thread Peter Hutterer
Sparked by Jon's patchset, this tidies up the doxygen bits a little bit. Turns out doxygen will simply take the last option, so rather than hiding the few manual configurations in the massive file we can accumulate them in one spot at the end of the file. Which makes it a lot clearer what we want

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

2015-06-04 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 --- doc/doxygen/wayland.doxygen.in | 41 +++-- 1 file changed, 31 insertions(+), 10 deletion

Re: [PATCH weston v2 04/21] desktop-shell: Make activate_binding take a view instead of surface

2015-06-04 Thread Jonas Ådahl
On Thu, Jun 04, 2015 at 04:00:27PM -0500, Derek Foreman wrote: > On 13/05/15 05:26 AM, Jonas Ådahl wrote: > > In preparation for further refactoring. > > The intended change seems harmless enough, however see below... > > > > > Signed-off-by: Jonas Ådahl > > --- > > desktop-shell/shell.c | 13

[PATCH wayland-web] Fix a broken link

2015-06-04 Thread Dima Ryazanov
Signed-off-by: Dima Ryazanov --- releases.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases.html b/releases.html index 2454a55..f19f725 100644 --- a/releases.html +++ b/releases.html @@ -22,7 +22,7 @@ wayland-1.8.0.tar.xz - - http://lists.freedesktop.org/archiv

Re: [PATCH weston v2 04/21] desktop-shell: Make activate_binding take a view instead of surface

2015-06-04 Thread Derek Foreman
On 13/05/15 05:26 AM, Jonas Ådahl wrote: > In preparation for further refactoring. The intended change seems harmless enough, however see below... > > Signed-off-by: Jonas Ådahl > --- > desktop-shell/shell.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git

Re: [PATCH weston v2 03/21] desktop-shell: Add surface_keyboard_focus_lost helper

2015-06-04 Thread Derek Foreman
This seems like a simple refactor has merit independently, and could probably land any time... Reviewed-By: Derek Foreman On 13/05/15 05:26 AM, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > desktop-shell/shell.c | 37 ++--- > 1 file changed, 18 inserti

Re: Wayland not MIT-licensed / FAQ wrong

2015-06-04 Thread Markus Slopianka
Good news: I asked by FSFE lawyer buddy. He said that since basically all simply assumed that it's the MIT license, the wrongly pasted license header would constitute a wrongly attached label and be "Falsa demonstratio non nocet" (that legal term has a German and a Finnish Wikipedia article), t

Re: [PATCH weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Khem Raj
> On Jun 4, 2015, at 9:13 AM, Derek Foreman wrote: > > On 04/06/15 11:03 AM, Khem Raj wrote: >> >> On Jun 4, 2015 8:54 AM, "Derek Foreman" > > wrote: >>> >>> Uses a glibc extension to fopen(), but we seem ok with glibc >>> extensions elsewhere (such as printf %m)

[PATCH v2 weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Derek Foreman
Signed-off-by: Derek Foreman --- Refactor and re-use the code from set_cloexec_or_close() instead of using fopen "e" shared/os-compatibility.c | 22 ++ shared/os-compatibility.h | 3 +++ src/log.c | 5 + 3 files changed, 22 insertions(+), 8 deletions(-)

Re: [PATCH weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Alan Hourihane
On 04/06/15 17:03, Khem Raj wrote: > > > On Jun 4, 2015 8:54 AM, "Derek Foreman" > wrote: > > > > Uses a glibc extension to fopen(), but we seem ok with glibc > > extensions elsewhere (such as printf %m)... > > I have been using wayland/weston with musl. So this fix

Re: [PATCH weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Derek Foreman
On 04/06/15 11:03 AM, Khem Raj wrote: > > On Jun 4, 2015 8:54 AM, "Derek Foreman" > wrote: >> >> Uses a glibc extension to fopen(), but we seem ok with glibc >> extensions elsewhere (such as printf %m)... > > I have been using wayland/weston with musl. So this fix

Re: [PATCH weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Khem Raj
On Jun 4, 2015 8:54 AM, "Derek Foreman" wrote: > > Uses a glibc extension to fopen(), but we seem ok with glibc > extensions elsewhere (such as printf %m)... I have been using wayland/weston with musl. So this fix is not good from portability aspect. There might be glibc ' isms there but it's be

[PATCH weston] log: Open log file CLOEXEC so child processes don't get the fd

2015-06-04 Thread Derek Foreman
Uses a glibc extension to fopen(), but we seem ok with glibc extensions elsewhere (such as printf %m)... Signed-off-by: Derek Foreman --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 99bbe18..ef9b54d 100644 --- a/src/log.c +++ b/src/lo

Re: [PATCH weston v2 14/21] Introduce pointer locking and confinement protocol

2015-06-04 Thread Jonas Ådahl
On Fri, May 29, 2015 at 09:23:29AM +1000, Peter Hutterer wrote: > On Wed, May 13, 2015 at 06:26:35PM +0800, Jonas Ådahl wrote: > > This patch introduces a new protocol for locking and confining a > > pointer. It consists of a new global object with two requests; one for > > locking the surface to a

Re: [PATCH weston v2 01/21] input: Pass axis events through pointer grab interfaces

2015-06-04 Thread Jonas Ådahl
On Wed, Jun 03, 2015 at 04:57:54PM -0500, Derek Foreman wrote: > On 13/05/15 05:26 AM, Jonas Ådahl wrote: > > Don't only send motions and buttons but also axis events through the > > pointer grab interface. > > > > Signed-off-by: Jonas Ådahl > > This looks good to me. The zoom binding still wor