Mesa changes landed upstream Re: Wayland and Weston 0.99.0 snapshots released

2012-10-17 Thread darxus
On 10/15, Kristian Høgsberg wrote: > I have a wayland-0.99 branch here in my mesa repo: > > http://cgit.freedesktop.org/~krh/mesa/log/?h=wayland-0.99 > > that works with the recent API changes and expect to push that > upstream tomorrow to master and hope to ship it in mesa 9.0.1. This is

Re: [PATCH 2/2] doc: Update wl_display_get_error() documentation

2012-10-17 Thread Kristian Høgsberg
On Wed, Oct 17, 2012 at 09:26:09PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira Yup, that's better, applied. Kristian > --- > src/wayland-client.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/src/wayland-client.c b/src/

Re: [PATCH 1/2] doc: Clarify the interaction of dispatch{, _queue, _pending}()

2012-10-17 Thread Kristian Høgsberg
On Wed, Oct 17, 2012 at 09:26:08PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > Clarify on what cases each of the dispatching functions may block and > also clarify what is the main thread. > --- > src/wayland-client.c | 40 +

Re: Removal of unprefixed container_of()

2012-10-17 Thread Kristian Høgsberg
Hi Chad, Yeah, we need to kill that. Thanks for reminding me, looking forward to the patch :) Kristian On Wed, Oct 17, 2012 at 4:50 PM, Chad Versace wrote: > wayland-util.h defines __wl_container_of() as well as an unprefixed version, > container_of(). The unprefixed version, of course, pollut

Re: [PATCH weston] simple-shm: Don't use ret variable in main() uninitialized

2012-10-17 Thread Kristian Høgsberg
On Wed, Oct 17, 2012 at 01:49:08PM +0300, Ander Conselvan de Oliveira wrote: Argh, thanks. I don't get a warning about ret being unused, and I did check the -Wall was in the compiler flags... Kristian > --- > clients/simple-shm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Removal of unprefixed container_of()

2012-10-17 Thread Chad Versace
wayland-util.h defines __wl_container_of() as well as an unprefixed version, container_of(). The unprefixed version, of course, pollutes the global namespace and causes symbol collisions in projects that define container_of() slightly differently. Is there any chance that the unprefixed container_

Re: [PATCH] wayland-server: Fix up error handling with client creation.

2012-10-17 Thread Kristian Høgsberg
On Tue, Oct 16, 2012 at 08:32:19PM +0200, John Kåre Alsaker wrote: > --- > src/wayland-server.c | 41 ++--- > 1 file changed, 26 insertions(+), 15 deletions(-) That looks great, thanks. Kristian > diff --git a/src/wayland-server.c b/src/wayland-server.c > ind

[PATCH 2/2] doc: Update wl_display_get_error() documentation

2012-10-17 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira --- src/wayland-client.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 89df3ba..5d2dced 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -896,10 +896,16 @@ wl_dis

[PATCH 1/2] doc: Clarify the interaction of dispatch{, _queue, _pending}()

2012-10-17 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira Clarify on what cases each of the dispatching functions may block and also clarify what is the main thread. --- src/wayland-client.c | 40 ++-- src/wayland-client.h | 30 +++--- 2 files changed, 57

Re: [PATCH libxkbcommon 1/2] makekeys: replace helper with python script and binary search

2012-10-17 Thread Ran Benita
On Tue, Oct 16, 2012 at 10:08:30PM +0200, David Herrmann wrote: > Hi Ran > > On Tue, Oct 16, 2012 at 9:58 PM, Ran Benita wrote: > > On Tue, Oct 16, 2012 at 04:05:33PM +0200, David Herrmann wrote: > >> From: Ran Benita > >> > >> This removes the complicated and undocumented hash-table creation-he

Re: Wayland client API reference document

2012-10-17 Thread Tiago Vignatti
Hi, On 10/17/2012 02:47 PM, Venkataramana Kotakonda wrote: Am new to linux graphics and wayland . I’m trying to write a small wayland client application which can display some photo(PNG images). I’m able to use the sample client programs in weston source. I couldn’t find proper wayland clien

Wayland client API reference document

2012-10-17 Thread Venkataramana Kotakonda
Hi, Am new to linux graphics and wayland . I’m trying to write a small wayland client application which can display some photo(PNG images). I’m able to use the sample client programs in weston source. I couldn’t find proper wayland client API document for reference so that I can understand the

[PATCH weston] simple-shm: Don't use ret variable in main() uninitialized

2012-10-17 Thread Ander Conselvan de Oliveira
--- clients/simple-shm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/simple-shm.c b/clients/simple-shm.c index d03bed6..a09ec91 100644 --- a/clients/simple-shm.c +++ b/clients/simple-shm.c @@ -328,7 +328,7 @@ main(int argc, char **argv) struct sigaction s

Re: Comments on Weston's text interface

2012-10-17 Thread Jan Arne Petersen
On 10/15/2012 09:35 PM, Pekka Vuorela wrote: > On ma, 2012-10-15 at 15:30 +0200, Jan Arne Petersen wrote: >> Hi, >> >> On 10/02/2012 10:29 PM, Pekka Vuorela wrote: >>> Text_model::reset could have a text_model::commit request in addition. >>> Reset is nice on editor::set_text() cases while commit w

Re: [PATCH weston 7/7] configure: build tablet-shell client conditionally

2012-10-17 Thread Tiago Vignatti
On 10/16/2012 07:52 PM, Pekka Paalanen wrote: On Tue, 16 Oct 2012 11:11:51 -0400 Kristian Høgsberg wrote: On Tue, Oct 16, 2012 at 05:49:20PM +0300, Tiago Vignatti wrote: On 10/16/2012 05:27 PM, Pekka Paalanen wrote: Do not build the tablet-shell client if --disable-tablet-shell is given. h

[PATCH weston] Install stubs for minimize request and maximize events.

2012-10-17 Thread Scott Moreau
--- clients/simple-egl.c | 14 +- clients/simple-shm.c | 14 +- clients/simple-touch.c | 14 +- clients/window.c | 20 +++- src/compositor-wayland.c | 14 +- src/shell.c | 8 6 files changed, 7

[PATCH wayland] protocol: Add minimize request and (un)maximize events.

2012-10-17 Thread Scott Moreau
In order for clients to notify the compositor that they wish to be minimized, a minimize request is needed. This can be used to minimize the surface when a user clicks the clients minimize button. The compositor needs a way to tell clients to maximize and unmaximize their surfaces. The desktop she