[PATCH weston] tests: Add .weston extension to clients tests

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net We can then add tests which do not use Weston in the test suite. Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- Further patches are coming to move tests around and add one (for option parsing changes) tests/.gitignore | 7

[PATCH weston] shell: Free temporary strings

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index ceb963c..4447995 100644 --- a/src/shell.c +++ b/src/shell.c @@ -402,8 +402,10 @@

[PATCH weston 1/7] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Weston headers include pixman and libxkbcommon headers Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- src/weston.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/weston.pc.in b/src/weston.pc.in index 828cb1f..7a09938

[PATCH weston 2/7] autotools: Define paths in configure.ac

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- configure.ac | 26 ++ man/Makefile.am | 2 +- src/Makefile.am | 2 -- src/weston.pc.in | 4 ++--

[PATCH weston 3/7] autotools: Use pkg*dir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- data/Makefile.am | 4 +--- src/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index a7cc944..f6f05f9 100644 ---

[PATCH weston 4/7] clients: Install to pkglibexecdir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- clients/Makefile.am | 2 +- src/Makefile.am | 2 +- src/screenshooter.c | 2 +- src/shell.c | 2 +- src/tablet-shell.c | 2 +- src/text-backend.c

[PATCH weston 5/7] weston.pc: Provide moduledir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net This allows modules to use the correct directory for the targeted Weston to install themselves. Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- src/weston.pc.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/weston.pc.in

[PATCH weston 7/7] weston.ini: Allow a relative path for screensaver

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- man/weston.ini.man | 3 ++- src/shell.c| 8 +++- weston.ini | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/man/weston.ini.man

[PATCH weston 6/7] weston.ini: Allow a relative path for input-method

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 8 weston.ini | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git

Re: [PATCH weston 6/7] weston.ini: Allow a relative path for input-method

2013-06-18 Thread sardemff7+wayland
On 18/06/2013 09:11, Quentin Glidic wrote: From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 8 weston.ini | 2 +- 4 files changed, 12

[PATCH v2 7/7] weston.ini: Allow a relative path for screensaver

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic sardemff7+...@sardemff7.net Signed-off-by: Quentin Glidic sardemff7+...@sardemff7.net --- Fixed path to be [PATH_MAX] and fixed the case where the path is NULL man/weston.ini.man | 3 ++- src/shell.c| 9 - weston.ini | 2 +- 3 files changed, 11

Re: weston and hardware keyboard

2013-06-18 Thread Marc Chalain
Hello, linux/input.h gives numbers of key definitions. The keymap is only useful for PC keyboard when only the layout change from one country to an other. On device we have : on/off, softkey1, softkey2, 12 keys for the keypad in some cases, home, back... The key codes are hard coded inside the

Re: weston and hardware keyboard

2013-06-18 Thread Kristian Høgsberg
On Tue, Jun 18, 2013 at 4:15 AM, Marc Chalain marc.chal...@gmail.com wrote: Hello, linux/input.h gives numbers of key definitions. The keymap is only useful for PC keyboard when only the layout change from one country to an other. On device we have : on/off, softkey1, softkey2, 12 keys for the

[PATCH wayland] Free non-legacy resources inside wl_resource_destroy

2013-06-18 Thread Jason Ekstrand
This commit makes wl_resource_destroy automatically free all non-legacy resource structures. Since wl_resource is now an opaque structure it doesn't make sense for the clients to be freeing it. This checks to make sure that it was added through wl_client_add_object or wl_client_new_object and

Who is having problems with hangs from the screensaver?

2013-06-18 Thread darxus
When I recently started trying to use weston (on DRM) again, I discovered any time I walked away from my computer, I came back to find it hung, with the light on the monitor saying it was getting no video input: https://bugs.freedesktop.org/show_bug.cgi?id=65802 A workaround is to run weston with

Re: Proposal to change subsurface extension

2013-06-18 Thread John Kåre Alsaker
I don't see a way to have a group of surfaces in sync with a video surface operating independently on top work in the current implementation without locking. It seems that only work for a single surface and not a group of surfaces. The current implementation then also requires the ability to map a

Wayland color management protocol proposal

2013-06-18 Thread John Kåre Alsaker
Here is my current color management protocol for Wayland clients. The basic idea is that the compositor sends two color spaces to the clients. A compositing color space which the compositor prefers since it would require no conversions. A full-screen color space which the compositor can be able to