Re: [PATCH v2 weston 0/7] Server side wl_buffer.release

2012-12-06 Thread Pekka Paalanen
On Thu, 6 Dec 2012 16:59:06 -0500 Kristian Høgsberg wrote: > On Tue, Dec 04, 2012 at 03:58:09PM +0200, Pekka Paalanen wrote: > > Hi Kristian, > > > > this is the rebased and modifed version of the server side > > wl_buffer.release series. > > > > Changes since v1: > > - rebased > > - added stru

get started

2012-12-06 Thread Selva kumar
how to get started with learning wayland and weston. what is the significance of protocol xml file? can anyone provide an idea of how wayland is organized. like little deep arhcitecture diagram? ___ wayland-devel mailing list wayland-devel@lists.freedeskt

Re: [PATCH] shell: Remove confusing case fall-through

2012-12-06 Thread Kristian Høgsberg
On Thu, Dec 06, 2012 at 12:07:48PM +, Rob Bradford wrote: > From: Rob Bradford > > This avoids calling weston_surface_set_position twice on the same surface. The > second call has no effect in many cases because sx and sy > are usually zero on this path. > > This change now means that any sx

Re: [weston] Some static analysis fixes

2012-12-06 Thread Kristian Høgsberg
On Wed, Dec 05, 2012 at 06:47:02PM +, Rob Bradford wrote: > Here are some patches for some issues found with a static analysis tool. These > issues are all pretty minor (the more serious issues were dealt with under my > previous patch set and also a set from John Kåre Alsaker.) > > For some o

Re: [PATCH weston] rpi: Don't assign planes for surfaces with transformed buffers

2012-12-06 Thread Kristian Høgsberg
On Wed, Dec 05, 2012 at 03:24:04PM +0200, Ander Conselvan de Oliveira wrote: > Hi Kristian, > > Seems like you skipped this one. Oh yea, thanks, I thought I picked that up. Committed. Kristian > Thanks, > Ander > > On 11/27/2012 05:34 PM, Ander Conselvan de Oliveira wrote: > >Reported-by: Pek

Re: [PATCH weston 1/3] compositor-drm: Support overlays with transformed buffers

2012-12-06 Thread Kristian Høgsberg
On Wed, Dec 05, 2012 at 03:14:04PM +0200, Ander Conselvan de Oliveira wrote: > Make overlays work when the client uses a buffer with the same > transformation as the output. > > In order to calculate the destination rectangle, the same logic in > weston_surface_to_buffer_float() is needed, but wit

Re: [PATCH weston 2/3] window: Bring back support for rgb windows

2012-12-06 Thread Kristian Høgsberg
On Wed, Dec 05, 2012 at 03:14:05PM +0200, Ander Conselvan de Oliveira wrote: > This let us test overlays with toytoolkit applications. We can't just > rely on the opaque region, because a drmModeSetPlane() call will fail > if we use an ARGB bo because of the format check. Aren't we better of allow

Re: [PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

2012-12-06 Thread Kristian Høgsberg
On Tue, Dec 04, 2012 at 02:22:12PM -0800, U. Artie Eoff wrote: > From: "U. Artie Eoff" > > The weston-tests-env script needs to be able to handle weston > test extension style tests as well as module style tests. This series look good, but I don't like the python dependency or the "give weston a

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

2012-12-06 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 10:26:20PM +0200, Pekka Vuorela wrote: > 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 > >

Re: [PATCH v2 weston 0/7] Server side wl_buffer.release

2012-12-06 Thread Kristian Høgsberg
On Tue, Dec 04, 2012 at 03:58:09PM +0200, Pekka Paalanen wrote: > Hi Kristian, > > this is the rebased and modifed version of the server side > wl_buffer.release series. > > Changes since v1: > - rebased > - added struct weston_buffer_reference to consolidate > the destroy handler functions > - s

Re: [PATCH v2 weston 2/7] compositor: do not flush shm buffer on destroy

2012-12-06 Thread Kristian Høgsberg
On Tue, Dec 04, 2012 at 03:58:11PM +0200, Pekka Paalanen wrote: > The protocol does not require us to flush_damage() on wl_buffer > destruction. In fact, by the time the server receives this request, the > client may have already clobbered the buffer's storage, so we could be > reading undefined da

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

2012-12-06 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 03:36:02PM +0100, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Do not remove the input panel layer from the layer list when the > shell is locked in hide_input_panels(). Committed, thanks. > https://bugs.freedesktop.org/show_bug.cgi?id=56543 > > Signed-off-by:

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

2012-12-06 Thread Kristian Høgsberg
On Mon, Dec 03, 2012 at 07:44:13PM +, Rob Bradford wrote: > From: Rob Bradford Those look good, thanks Rob. I commited all and squashed the build fix. Kristian > --- > src/evdev.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/src/evdev.c b/src/evdev.c >

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

2012-12-06 Thread Pekka Vuorela
On 04.12.2012 23:24, Jan Arne Petersen wrote: On 12/03/2012 09:26 PM, Pekka Vuorela wrote: 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/tex

[PATCH 3/3] doc: add some more text protocol documentation

2012-12-06 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- protocol/text.xml | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/protocol/text.xml b/protocol/text.xml index f366d37..6a658e0 100644 --- a/protocol/text.xml +++ b/protocol/text.xml @@ -

[PATCH 2/3] text: fix weston key bindings with input methods

2012-12-06 Thread Jan Arne Petersen
From: Jan Arne Petersen Add a struct weston_keyboard, to handle the input method grab. Signed-off-by: Jan Arne Petersen --- src/compositor.c | 29 +++-- src/compositor.h | 9 - src/shell.c| 10 -- src/text-backend.c | 48

[PATCH 1/3] simple-im: fix for protocol changes

2012-12-06 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/weston-simple-im.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c index bb01332..cb91aeb 100644 --- a/clients/weston-simple-im.c

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

2012-12-06 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 v2 2/3] editor: add support for invoke_action

2012-12-06 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 v2 1/3] text: add support for invoke_action request

2012-12-06 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 v2 0/3] Add support for invoke_action request to text protocol

2012-12-06 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

[PATCH] shell: Remove confusing case fall-through

2012-12-06 Thread Rob Bradford
From: Rob Bradford This avoids calling weston_surface_set_position twice on the same surface. The second call has no effect in many cases because sx and sy are usually zero on this path. This change now means that any sx/sy values passed into ::attach will be ignored on the first attach for popu

Re: Sub-surface protocol

2012-12-06 Thread Bill Spitzak
Pekka Paalanen wrote: I am currently looking into sub-surfaces, first to sketch the protocol extension, and I have some open questions. I decided to write an exhaustive document, so we would all be on the same page, and also to clarify my own thoughts. Glad to see this is being worked on. I ha

Re: [PATCH wayland 3/5 v2] man: Properly handle multiple man page aliases

2012-12-06 Thread Jonas Ådahl
On Wed, Dec 5, 2012 at 7:04 PM, David Herrmann wrote: > Hi Jonas > > On Sat, Dec 1, 2012 at 6:12 PM, Jonas Ådahl wrote: >> Signed-off-by: Jonas Ådahl >> --- >> >> v2: Properly specify dependencies. Without this make -j8 fails. >> >> doc/man/Makefile.am |9 ++--- >> 1 file changed, 6 ins