[PATCH] Add weston profile plugin.

2012-12-03 Thread ning . tang
From: Ning Tang This plugin is used to record some key time points. You can use option --enable-weston-profile to enable it. The recorded time point information would be printed to stdout and FPS information would be shown in stderr. The output format would be: Time point name time(millis

headless wayland sessions, wayland apps displayed to apps

2012-12-03 Thread David Jackson
With Wayland will we be able to: Have multiple seperate wayland sessions on the same computer, as many as one wishes, with many of them being headless, accessible if the user wishes through a remote desktop solution such as VNC? Will be able to use a command line switch or environment variable to

FW: seat_get_touch not being called

2012-12-03 Thread Keller Alexander-B42067
From: Keller Alexander-B42067 Sent: Monday, December 03, 2012 4:03 PM To: 'Scott Moreau' Subject: RE: seat_get_touch not being called I do not think the issue is with the client, but with the server. I noticed that when I start the server, the server calls both seat_get_pointer and seat_get_ke

[PATCH 3/3] keyboard: add support for invoke_action

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Set the pre-edit cursor on the clicked index on invoke_action. Signed-off-by: Jan Arne Petersen --- clients/keyboard.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/clients/keyboard.c b/clients/keyboard.c index 1c7

[PATCH 2/3] editor: add support for invoke_action

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Call invoke_action request when a currently composed word is clicked. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 52 +--- 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/clients/editor.c b/clie

[PATCH 1/3] text: add support for invoke_action request

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Add a request to be called by the client when the word currently being composed is tapped by the user. Input methods often use this information to offer more word suggestions to the user. Signed-off-by: Jan Arne Petersen --- protocol/input-method.xml | 4 protocol

[PATCH 0/3] Add support for invoke_action request to text protocol

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Add invoke_action request to text protocol. Called by the client when the word currently being composed is tapped by the user. Input methods often use this information to offer more word suggestions to the user. Also add support to the example editor client and keyboard (

Re: seat_get_touch not being called

2012-12-03 Thread Scott Moreau
On Mon, Dec 3, 2012 at 1:45 PM, Keller Alexander-B42067 < b42...@freescale.com> wrote: > I have been trying to get my touchscreen inputs to work on Wayland, and > everytime the screen is touched I get an error saying “couldn’t find > resource.” I get that error because my seat->touch->resource_li

seat_get_touch not being called

2012-12-03 Thread Keller Alexander-B42067
I have been trying to get my touchscreen inputs to work on Wayland, and everytime the screen is touched I get an error saying "couldn't find resource." I get that error because my seat->touch->resource_list is empty, and the function that writes to that list is seat_get_touch is not being called

Re: [PATCH 1/3] text: Add content type support to text protocol

2012-12-03 Thread Pekka Vuorela
On ma, 2012-12-03 at 15:15 +0100, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Support content types in text protocol. Content is defined by a hint > bitmask and a purpose field. > +++ b/protocol/text.xml > @@ -83,8 +83,42 @@ > > > > - > - > + > + > +

[PATCH 2/5] Move matrix.[ch] to shared

2012-12-03 Thread Rob Bradford
From: Rob Bradford This means it can be used for the calibration tool. --- shared/Makefile.am | 4 +- shared/matrix.c | 249 shared/matrix.h | 64 ++ src/Makefile.am | 2 - src/compositor.h| 2 +- src/matrix

[PATCH 4/5] evdev: Apply calibration values to absolute events

2012-12-03 Thread Rob Bradford
From: Rob Bradford Store a set of calibration values per device - these calibration values are just applied to the absolute motion events. --- src/evdev.c | 16 src/evdev.h | 3 +++ 2 files changed, 19 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index fa2c740..0b99c43

[PATCH 5/5] compositor-drm: Load calibration values from udev

2012-12-03 Thread Rob Bradford
From: Rob Bradford This allows the values to be associated with an specific input device using udev rules. --- src/compositor-drm.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 24a71f1..27f2c7d 100644 --- a/src/com

[PATCH 3/5] clients: Add a touchscreen calibration tool

2012-12-03 Thread Rob Bradford
From: Rob Bradford This a basic calibration tool designed for "in factory" calibration of a touch screen. The constants for the calibration functions: x' = Ax + By + C and y' = Dx + Ey + F Are printed on stdout when the calibration is completed. --- clients/Makefile.am | 4 + clients/calibr

[PATCH 1/5] evdev: Include the device capabilities in the debugging

2012-12-03 Thread Rob Bradford
From: Rob Bradford --- src/evdev.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 1c65b7b..fa2c740 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -473,8 +473,11 @@ evdev_configure_device(struct evdev_device *device) if ((device->

Re: [PATCH weston 17/17] xwayland: Fix window positioning

2012-12-03 Thread Bill Spitzak
On Dec 3, 2012, at 9:19 AM, Tiago Vignatti wrote: > as I said, the X server has two protocol streams in which messages cannot be > ordered. Say that ConfigureNotify (via X11) arrives in xwm, the compositor > might already have tried to map the X client content surface on screen > because it go

Re: [PATCH weston] gl-renderer: Force call to glUseProgram() when activating debug binding

2012-12-03 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 05:08:11PM +0200, Ander Conselvan de Oliveira wrote: > When redrawing surfaces, use_shader() checks if the desired shader is > already in use to avoid a call to glUseProgram(). However, once the > debug binding is activated, that same check would prevent the usage of > the r

Re: [PATCH weston] gl-renderer: Force call to glUseProgram() when activating debug binding

2012-12-03 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 05:08:11PM +0200, Ander Conselvan de Oliveira wrote: > When redrawing surfaces, use_shader() checks if the desired shader is > already in use to avoid a call to glUseProgram(). However, once the > debug binding is activated, that same check would prevent the usage of > the r

Re: [PATCH weston 17/17] xwayland: Fix window positioning

2012-12-03 Thread Tiago Vignatti
On 11/30/2012 10:01 PM, Bill Spitzak wrote: Tiago Vignatti wrote: The approach used here shows a weakness of the Weston WM-as-client architecture: one cannot guarantee that the X11 stream needed to create windows with its right position will happen before Weston maps the surface, via Wayland. I

Re: [PATCH wayland] tests: rename temporary files

2012-12-03 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 04:58:25PM +0200, Pekka Paalanen wrote: > This is libwayland, not weston, so call the temporary files > wayland-tests-*, not weston-tests-*. > > This is a candidate for the stable branch. Yeah, thanks, would've made it easier to track this leak down. Kristian > Signed-of

Re: [PATCH wayland 1/5] doc: Only generate Wayland documentation if xsltproc was found

2012-12-03 Thread Kristian Høgsberg
On Sat, Dec 01, 2012 at 05:33:22PM +0100, Jonas Ådahl wrote: > Instead of failing to generate documentation because xsltproc doesn't > exist, don't try to generate at all. I've picked this one and the next patch, but before going further we should figure out what to do for man pages. If we can ge

[PATCH weston] gl-renderer: Force call to glUseProgram() when activating debug binding

2012-12-03 Thread Ander Conselvan de Oliveira
When redrawing surfaces, use_shader() checks if the desired shader is already in use to avoid a call to glUseProgram(). However, once the debug binding is activated, that same check would prevent the usage of the recompiled shaders until something cause a different shader to be passed to use_shader

[PATCH wayland] tests: rename temporary files

2012-12-03 Thread Pekka Paalanen
This is libwayland, not weston, so call the temporary files wayland-tests-*, not weston-tests-*. This is a candidate for the stable branch. Signed-off-by: Pekka Paalanen --- tests/connection-test.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/connection-test

Re: [PATCH] tests: Don't leave temporary files behind

2012-12-03 Thread Kristian Høgsberg
On Sun, Dec 02, 2012 at 10:42:11PM +0100, Sven Joachim wrote: > Signed-off-by: Sven Joachim > --- Thanks, that's a good fix, applied. Kristian > tests/connection-test.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/connection-test.c b/tests/connection-test.c > index d011

Re: [PATCH weston 6/6] window: honour wl_buffer.release

2012-12-03 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 01:55:26PM +0200, Pekka Paalanen wrote: > On Tue, 27 Nov 2012 15:57:30 -0500 > Kristian Høgsberg wrote: > > > On Mon, Nov 19, 2012 at 05:16:02PM +0200, Pekka Paalanen wrote: > > > Listen for wl_buffer.release events in the shm path, and if a previously > > > posted buffer

Re: [PATCH] tests: Don't leave temporary files behind

2012-12-03 Thread Pekka Paalanen
On Sun, 2 Dec 2012 22:42:11 +0100 Sven Joachim wrote: > Signed-off-by: Sven Joachim > --- > tests/connection-test.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/connection-test.c b/tests/connection-test.c > index d0113f1..45744a0 100644 > --- a/tests/connection-test.c >

[PATCH] tests: Don't leave temporary files behind

2012-12-03 Thread Sven Joachim
Signed-off-by: Sven Joachim --- tests/connection-test.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/connection-test.c b/tests/connection-test.c index d0113f1..45744a0 100644 --- a/tests/connection-test.c +++ b/tests/connection-test.c @@ -447,6 +447,7 @@ TEST(connection_marshal_

[PATCH] shell: Do not remove input panel layer when locked

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Do not remove the input panel layer from the layer list when the shell is locked in hide_input_panels(). https://bugs.freedesktop.org/show_bug.cgi?id=56543 Signed-off-by: Jan Arne Petersen --- src/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[PATCH 3/3] editor: Add content type example

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Set the content type purpose to numeric of the second entry. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 37 - 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index d49ed

[PATCH 2/3] keyboard: Add support for a numeric layout

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Add support for a numeric key layout, which is used for some numeric content purpose types. Signed-off-by: Jan Arne Petersen --- clients/keyboard.c | 130 ++--- 1 file changed, 114 insertions(+), 16 deletions(-) diff --gi

[PATCH 1/3] text: Add content type support to text protocol

2012-12-03 Thread Jan Arne Petersen
From: Jan Arne Petersen Support content types in text protocol. Content is defined by a hint bitmask and a purpose field. Signed-off-by: Jan Arne Petersen --- protocol/input-method.xml | 4 protocol/text.xml | 38 -- src/text-backend.c|

Re: [PATCH wayland 4/5] man: Add man pages for event dispatch client functions

2012-12-03 Thread Tiago Vignatti
On 12/03/2012 11:23 AM, Jonas Ådahl wrote: On Mon, Dec 3, 2012 at 2:06 PM, Tiago Vignatti wrote: We have every entry-point documented on the code now, using doxygen style, with all classes referenced and so on. So, something we discussed before was to automate most of the man-page contents base

Re: [PATCH wayland 4/5] man: Add man pages for event dispatch client functions

2012-12-03 Thread Jonas Ådahl
On Mon, Dec 3, 2012 at 2:06 PM, Tiago Vignatti wrote: > We have every entry-point documented on the code now, using doxygen style, > with all classes referenced and so on. So, something we discussed before was > to automate most of the man-page contents based on the doxygen output. I > mean, this

Re: [PATCH wayland 4/5] man: Add man pages for event dispatch client functions

2012-12-03 Thread Tiago Vignatti
We have every entry-point documented on the code now, using doxygen style, with all classes referenced and so on. So, something we discussed before was to automate most of the man-page contents based on the doxygen output. I mean, this patch is nice, but have you thought about automating the ma

Re: [PATCH weston 6/6] window: honour wl_buffer.release

2012-12-03 Thread Pekka Paalanen
On Tue, 27 Nov 2012 15:57:30 -0500 Kristian Høgsberg wrote: > On Mon, Nov 19, 2012 at 05:16:02PM +0200, Pekka Paalanen wrote: > > Listen for wl_buffer.release events in the shm path, and if a previously > > posted buffer is still held by the server, allocate another one. The > > maximum of two sh

Versioning (Re: [PATCH mesa] egl/wayland: Dispatch the event queue before get_buffers)

2012-12-03 Thread Pekka Paalanen
On Fri, 30 Nov 2012 17:15:44 -0500 Kristian Høgsberg wrote: ... > On Fri, Nov 23, 2012 at 09:49:58PM -0500, Kristian Høgsberg wrote: > > We need to either require wayland 1.0.2 in configure.ac or make this > > call conditionaly on wayland version > 1.0.2. We have > > wayland-version.h, so I'd pre