RE: [PATCH wfits] test_dayselector: Add user test

2013-05-31 Thread Eoff, Ullysses A
> -Original Message- > From: wayland-devel-bounces+ullysses.a.eoff=intel@lists.freedesktop.org > [mailto:wayland-devel- > bounces+ullysses.a.eoff=intel@lists.freedesktop.org] On Behalf Of Brian > Lovin > Sent: Friday, May 31, 2013 1:02 PM > To: wayland-devel@lists.freedesktop.org

RE: [PATCH] wfits: run without superuser

2013-05-31 Thread Eoff, Ullysses A
Martin, Thanks for your contribution! This patch is still very much in proof of concept since it still contains some of the hacks we did together to get it working. There are several places where we disabled some code to get it to work... and this disabled code breaks the other existing input

[PATCH wfits] test_dayselector: Add user test

2013-05-31 Thread Brian Lovin
Signed-off-by: Brian Lovin --- src/test/efl/test_dayselector.cpp | 114 +- 1 file changed, 113 insertions(+), 1 deletion(-) diff --git a/src/test/efl/test_dayselector.cpp b/src/test/efl/test_dayselector.cpp index 254991f..c8f4e35 100644 --- a/src/test/efl/tes

Re: [PATCH wayland] protocol: Add a name event to give seat name

2013-05-31 Thread Daniel Stone
Hi, On 31 May 2013 13:08, Rob Bradford wrote: > + This needs since="2". Cheers, Daniel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH] wfits: run without superuser

2013-05-31 Thread Othman, Ossama
Hi, On Fri, May 31, 2013 at 8:14 AM, Martin Minarik < minari...@student.fiit.stuba.sk> wrote: > > diff --git a/src/extensions/weston/weston-wfits.cpp > b/src/extensions/weston/weston-wfits.cpp > index a54e0fe..96cf617 100644 > --- a/src/extensions/weston/weston-wfits.cpp > +++ b/src/extensions/wes

[PATCH weston 10/10] udev-seat: Use udev rules to support multiple seats

2013-05-31 Thread Rob Bradford
From: Rob Bradford By labelling devices with ENV{WL_SEAT} in udev rules the devices will be pulled into multiple weston seats. As a result you can get multiple independent seats under the DRM and fbdev backends. --- src/udev-seat.c | 66 +++--

[PATCH weston 08/10] compositor-fbdev: Rename seat variable to seat_id to clarify purpose

2013-05-31 Thread Rob Bradford
From: Rob Bradford --- src/compositor-fbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index ce3dbe1..352969f 100644 --- a/src/compositor-fbdev.c +++ b/src/compositor-fbdev.c @@ -820,7 +820,7 @@ fbdev_compositor_creat

[PATCH weston 09/10] udev-seat: Separate the seat out to its own structure

2013-05-31 Thread Rob Bradford
From: Rob Bradford Thie will allow us to instantiate multiple seats. --- src/udev-seat.c | 86 - src/udev-seat.h | 8 +- 2 files changed, 68 insertions(+), 26 deletions(-) diff --git a/src/udev-seat.c b/src/udev-seat.c index 4091088..

[PATCH weston 06/10] udev-seat: Make the udev_input structure an embedded structure

2013-05-31 Thread Rob Bradford
From: Rob Bradford And as a result of this stop iterating through the compositor seat list (of one item) and instead access the udev_input structure directly. This enables a refactoring to pull out the weston_seat into a separate structure permitting multiple seats. --- src/compositor-drm.c |

[PATCH weston 07/10] compositor-fbdev: Remove unused fbdev_seat code

2013-05-31 Thread Rob Bradford
From: Rob Bradford The fbdev compositor uses the commons seat handling code with the drm compositor. --- src/compositor-fbdev.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index 605dcd8..ce3dbe1 100644 --- a/src/compositor-f

[PATCH weston 05/10] udev-seat: Rename udev_seat to udev_input

2013-05-31 Thread Rob Bradford
From: Rob Bradford This is a pure rename of the structure, functions and local variables in preparation of the separation of the seat from the other udev input handling. --- src/compositor-drm.c | 22 +- src/compositor-fbdev.c | 18 src/udev-seat.c| 114 +

[PATCH weston 04/10] compositor-drm: Rename seat variable to seat_id to clarify it's purpose

2013-05-31 Thread Rob Bradford
From: Rob Bradford This change is a straight refactor that has no functional change. --- src/compositor-drm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 4222e57..a6d8348 100644 --- a/src/compositor-drm.c +++

[PATCH weston 03/10] weston-info: Report the seat name provided by the compositor

2013-05-31 Thread Rob Bradford
From: Rob Bradford --- clients/weston-info.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/clients/weston-info.c b/clients/weston-info.c index a5db02a..03b4c40 100644 --- a/clients/weston-info.c +++ b/clients/weston-info.c @@ -84,6 +84,7 @@ struct seat_info {

[PATCH weston 02/10] input: Send the seat name if the client advertises verson 2 of wl_seat

2013-05-31 Thread Rob Bradford
From: Rob Bradford --- src/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input.c b/src/input.c index ae75054..d299d98 100644 --- a/src/input.c +++ b/src/input.c @@ -1252,6 +1252,8 @@ bind_seat(struct wl_client *client, void *data, uint32_t version, uint32_t id)

[PATCH weston 01/10] input: Add a seat name parameter to weston_seat_init

2013-05-31 Thread Rob Bradford
From: Rob Bradford --- src/compositor-headless.c | 2 +- src/compositor-rdp.c | 7 ++- src/compositor-rpi.c | 2 +- src/compositor-wayland.c | 2 +- src/compositor-x11.c | 2 +- src/compositor.h | 4 +++- src/input.c | 6 +- src/udev-seat.c

[PATCH wayland] protocol: Add a name event to give seat name

2013-05-31 Thread Rob Bradford
From: Rob Bradford This provides the ability for a client to differentiate events from different seats in a multiple seat environment. --- protocol/wayland.xml | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index f3ba29

RE: [PATCH] Weston: SDK: export evdev.h

2013-05-31 Thread Eoff, Ullysses A
> -Original Message- > From: wayland-devel-bounces+ullysses.a.eoff=intel@lists.freedesktop.org > [mailto:wayland-devel- > bounces+ullysses.a.eoff=intel@lists.freedesktop.org] On Behalf Of Martin > Minarik > Sent: Friday, May 31, 2013 8:36 AM > To: wayland-devel@lists.freedesktop.o

[PATCH] wfits: run without superuser

2013-05-31 Thread Martin Minarik
This patch makes it possible to run wayland-fits without root. This approach also stresses the evdev.c stack. (calling the notify_* api approach would bypass the evdev.c stack) Testing also the evdev.c can help code test coverage. Probably can catch more bugs this way. How it works. Basically, w

[PATCH] Weston: SDK: export evdev.h

2013-05-31 Thread Martin Minarik
This allows plugins to emulate a weston evdev device To run wl-fits without superuser, apply this patch. --- src/Makefile.am |9 ++--- src/evdev.c |4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 106ccba..6146aff 10064

[PATCH] Update EFL build page

2013-05-31 Thread Christopher Michael
Hi All, I have attached a patch to update the EFL build instructions for Wayland. Would someone be kind enough to push this upstream please ? Kind Regards, devilhorns From 65a6e89042e682409568115743e2d3178e17df03 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 31 May 2013 11:02:03 +0