Re: [RFC libinput] Import buttonset interface

2016-04-25 Thread Peter Hutterer
On Fri, Apr 22, 2016 at 10:51:40PM +0530, PrasannaKumar Muralidharan wrote: > > fwiw, it's very frowned upon to take someone else's patch, rebase it and > > then send it on as your own when it has very little changes. Please keep > > original authorship while it makes sense and add the author as co

Re: [PATCH v2 wayland-protocols] Add pad support to the tablet protocol

2016-04-25 Thread Peter Hutterer
On Fri, Apr 22, 2016 at 12:30:11PM +0200, Carlos Garnacho wrote: [...] > >> > + > >> > + > >> > + Sent on wp_tablet_pad initialization to announce the available > >> > buttons. > >> > + Compositors may consume some buttons for global actions, those > >> > + will not be

Re: [PATCH libinput] Check realloc() return value before assigning.

2016-04-25 Thread Peter Hutterer
On Mon, Apr 25, 2016 at 05:57:51PM +0200, Carlos Olmedo Escobar wrote: > Signed-off-by: Carlos Olmedo Escobar > --- > src/libinput.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/src/libinput.c b/src/libinput.c > index bcd0dcd..e5a1ae4 100644 > --- a/src/libinput

[PATCH libinput] tablet: fix distance normalization range after 25a9f39

2016-04-25 Thread Peter Hutterer
25a9f39 changed the range to [-1, 1] but that's incorrect for the distance values. Split the normalization up into two functions and make sure our distance range is correct. https://bugs.freedesktop.org/show_bug.cgi?id=95074 And while we're at it, sneak in a test for pressure ranges too. Signed-

[PATCH libinput] Check realloc() return value before assigning.

2016-04-25 Thread Carlos Olmedo Escobar
Signed-off-by: Carlos Olmedo Escobar --- src/libinput.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libinput.c b/src/libinput.c index bcd0dcd..e5a1ae4 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -2578,6 +2578,7 @@ libinput_post_event(struct libinput *libi

Re: [PATCH weston] linux-dmabuf: Keep checking planes even if the first doesn't support lseek

2016-04-25 Thread Daniel Stone
On 25 April 2016 at 15:23, Derek Foreman wrote: > If we break; when lseek fails we can fail to do some legitimate tests > on remaining planes in a multi-plane buffer. > > Signed-off-by: Derek Foreman Reviewed-by: Daniel Stone Cheers, Daniel ___ wayla

[PATCH weston] linux-dmabuf: Keep checking planes even if the first doesn't support lseek

2016-04-25 Thread Derek Foreman
If we break; when lseek fails we can fail to do some legitimate tests on remaining planes in a multi-plane buffer. Signed-off-by: Derek Foreman --- src/linux-dmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux-dmabuf.c b/src/linux-dmabuf.c index 8c6337c..78e77a

Re: [PATCH weston v2] man: Clarify weston.ini scale option

2016-04-25 Thread Pekka Paalanen
On Mon, 25 Apr 2016 07:04:32 -0500 Yong Bakos wrote: > From: Yong Bakos > > Add explanations of scaling that are a bit more approachable for users. > > Signed-off-by: Yong Bakos > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=94824 > --- > man/weston.ini.man | 17 +++-- > 1

Re: [PATCH v1] refactor configuration API of rdp-backend

2016-04-25 Thread Pekka Paalanen
On Fri, 22 Apr 2016 17:05:26 +0200 Benoit Gschwind wrote: > Implement a "well" defined API to configure the rdp backend. > Following according to discution about libweston API. > --- > v1: > - Fix the patch log > v0: > - Nothing particular. > > Signed-off-by: Benoit Gschwind Hi Benoit, ple

Re: [PATCH xwayland] xwayland-shm: fortify fallocate against EINTR

2016-04-25 Thread Pekka Paalanen
On Mon, 25 Apr 2016 21:07:17 +0800 Jonas Ådahl wrote: > On Mon, Apr 25, 2016 at 02:38:21PM +0200, Marek Chalupa wrote: > > > > On 04/25/16 12:20, Pekka Paalanen wrote: > > >On Mon, 25 Apr 2016 11:33:00 +0200 > > >Marek Chalupa wrote: > > > > > >>If posix_fallocate or ftruncate is interrupte

Re: [PATCH v1] refactor configuration API of rdp-backend

2016-04-25 Thread Pekka Paalanen
On Sat, 23 Apr 2016 11:18:57 +0200 Benoit Gschwind wrote: > Hello, > > Le 22/04/2016 23:57, Hardening a écrit : > > Le 22/04/2016 17:05, Benoit Gschwind a écrit : > >> Implement a "well" defined API to configure the rdp backend. > >> Following according to discution about libweston API. > >> -

yocto bb file for wayland-protocol package

2016-04-25 Thread 이양우
Im trying to build wayland 1.9.91 for TI ARM target board.. But it looks require wayland-protocols??.bb I already have wayland.bb Weston.bb. Anyone give me example for wayland-protocols.bb Thank you. ___ wayland-devel mailing list wayland-deve

Re: Fwd: Re: [PATCH xwayland] xwayland-shm: fortify fallocate against EINTR

2016-04-25 Thread Jonas Ådahl
On Mon, Apr 25, 2016 at 02:38:21PM +0200, Marek Chalupa wrote: > > On 04/25/16 12:20, Pekka Paalanen wrote: > >On Mon, 25 Apr 2016 11:33:00 +0200 > >Marek Chalupa wrote: > > > >>If posix_fallocate or ftruncate is interrupted by signal > >>while working, we return -1 as fd and the allocation proce

Fwd: Re: [PATCH xwayland] xwayland-shm: fortify fallocate against EINTR

2016-04-25 Thread Marek Chalupa
On 04/25/16 12:20, Pekka Paalanen wrote: On Mon, 25 Apr 2016 11:33:00 +0200 Marek Chalupa wrote: If posix_fallocate or ftruncate is interrupted by signal while working, we return -1 as fd and the allocation process returns BadAlloc error. That causes xwayland clients to abort with 'BadAlloc (

Re: [PATCH v1] refactor configuration API of wayland-backend

2016-04-25 Thread Pekka Paalanen
On Fri, 22 Apr 2016 15:30:02 +0200 Benoit Gschwind wrote: > Implement a "well" defined API to configure the wayland backend. Following > according to discution about libweston API. > --- > v1: > - Take care of weston coding style > - Mimic the old configuration behaviour > - Front declarati

[PATCH weston v2] man: Clarify weston.ini scale option

2016-04-25 Thread Yong Bakos
From: Yong Bakos Add explanations of scaling that are a bit more approachable for users. Signed-off-by: Yong Bakos Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=94824 --- man/weston.ini.man | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/man/weston.

Re: [PATCH] clients/nested: fix undefined reference to xzalloc

2016-04-25 Thread Pekka Paalanen
On Fri, 22 Apr 2016 13:11:12 -0700 "U. Artie Eoff" wrote: > Include shared/xalloc.h in clients/nested.c to fix > compilation error: undefined reference to `xzalloc' > > Signed-off-by: U. Artie Eoff > --- > clients/nested.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/clients/neste

Re: [PATCH weston v2] build: Add (and use) an AC_SEARCH_LIBS wrapper

2016-04-25 Thread Pekka Paalanen
On Sat, 23 Apr 2016 12:02:58 +0200 Quentin Glidic wrote: > From: Quentin Glidic > > AC_SEARCH_LIBS is the recommended macro for these checks, unfortunately, > we use AC_CHECK_LIB instead, and even AC_CHECK_FUNC, when only one > AC_SEARCH_LIBS would be enough. > > This wrapper macro is used muc

Welcome the first Wayland GSoC student!

2016-04-25 Thread Pekka Paalanen
Hi Armin, hello community! Congratulations to Armin for getting accepted to Google Summer of Code 2016! I am Armin's primary mentor, and Quentin is the backup mentor. Let us all welcome Armin and give him lots of constructive feedback. :-) Armin's project is Weston output management enhancements