[PATCH] autotools: Add configure summary

2013-08-13 Thread Armin K
--- configure.ac | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e36b7f7..fab0b48 100644 --- a/configure.ac +++ b/configure.ac @@ -226,6 +226,7 @@ AC_ARG_WITH(cairo-glesv2,

Re: [PATCH v3] Fixes CJK wide character display

2013-08-13 Thread Kristian Høgsberg
On Thu, Aug 01, 2013 at 01:49:03PM +0800, Peng Wu wrote: > By jumping two columns when wide character prints, > and draw wide cursor under wide character. Hi Peng, I do want this feature in weston-terminal, but there's still a few issues to address - see below. > --- > clients/Makefile.am | 2

Re: [PATCH weston] compositor: ref-count weston_surface instances

2013-08-13 Thread Kristian Høgsberg
On Tue, Aug 13, 2013 at 11:10:14PM +0200, Giulio Camuffo wrote: > this allows a surface to live on after its resource has been > destroyed if the ref-count was increased by some code that needs > to use the surface after the end of its life, like a destroy > animation. That looks fine. If you're

[PATCH] add ENV[XSERVER_PATH] to change xserver runtime

2013-08-13 Thread Maksim Melnikau
Signed-off-by: Maksim Melnikau --- man/weston.man | 3 +++ src/weston-launch.c | 4 src/xwayland/launcher.c | 9 +++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/man/weston.man b/man/weston.man index 39d854b..a60d2bc 100644 --- a/man/weston.man +++ b/man

Re: [PATCH] add ENV[XSERVER_PATH] to change xserver runtime

2013-08-13 Thread Giulio Camuffo
Thanks, every time I tried XWayland I though a thing like this was needed. I have a few comments though: 2013/8/13 Maksim Melnikau > Signed-off-by: Maksim Melnikau > --- > man/weston.man | 3 +++ > src/weston-launch.c | 4 > src/xwayland/launcher.c | 9 +++-- > 3 files c

[PATCH weston] compositor: ref-count weston_surface instances

2013-08-13 Thread Giulio Camuffo
this allows a surface to live on after its resource has been destroyed if the ref-count was increased by some code that needs to use the surface after the end of its life, like a destroy animation. --- src/compositor.c | 8 ++-- src/compositor.h | 1 + 2 files changed, 7 insertions(+), 2 delet

Re: [PATCH] add ENV[XSERVER_PATH] to change xserver runtime

2013-08-13 Thread Maksim Melnikau
The motivation behind the patch is simple. Many distros how adding wayland/weston to their packages, but they don't add xorg-server with wayland support. As result weston installed with --with-xserver-path (XSERVER_PATH) points to useless Xorg for xwayland integration ( https://bugs.gentoo.org/show

Re: [PATCH] Override modules list and don't always load desktop-shell.so

2013-08-13 Thread Pier Luigi
2013/5/1 Kristian Høgsberg : > On Fri, Apr 19, 2013 at 04:11:01PM -0700, Bill Spitzak wrote: >> >2013/4/16 Kristian Høgsberg : >> >> >>I know the current behavior is a bit problematic for some use cases. >> >>However it works well for the case where you load a plugin in addition >> >>to the shell,

[PATCH] add ENV[XSERVER_PATH] to change xserver runtime

2013-08-13 Thread Maksim Melnikau
Signed-off-by: Maksim Melnikau --- man/weston.man | 3 +++ src/weston-launch.c | 4 src/xwayland/launcher.c | 9 +++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/man/weston.man b/man/weston.man index 39d854b..94c87d3 100644 --- a/man/weston.man +++ b/man

[PATCH weston 2/2] window: Use new wl_pointer/keyboard_release request

2013-08-13 Thread Rob Bradford
From: Rob Bradford Since we bump the version we ask for from the compositor it is also necessary to implement the new "name" event in the seat listener. --- clients/window.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/clients/window.c b/clients/win

[PATCH weston 1/2] compositor: Implement release request for input interfaces

2013-08-13 Thread Rob Bradford
From: Kristian Høgsberg v2 (Rob Bradford): Update the version numbering for this change --- src/input.c | 37 - 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/src/input.c b/src/input.c index daa6e4c..caa0fcb 100644 --- a/src/input.c +++ b/src/i

[PATCH wayland 2/2] scanner: Emit wl_*_destroy stub even if interface has a destructor

2013-08-13 Thread Rob Bradford
From: Kristian Høgsberg If an interface has a destructor but no 'destroy' method we used to not emit a destroy method. Now with the fix for missing destroy requests for wl_pointer etc we need to emit the local wl_*_destroy always. --- src/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH wayland 1/2] protocol: Add release requests for wl_pointer, wl_keyboard, and wl_touch

2013-08-13 Thread Rob Bradford
From: Kristian Høgsberg We missed destroy requests in the 1.0 protocol and since the scanner generates local-only *_destroy requests in that case we can't add destroy requests without breaking protocol. A client needs to verify that the server provides a version 3 seat to use the protocol destru

Destructors for pointer/keyboard/touch

2013-08-13 Thread Rob Bradford
Hi folks, One of the prerequisites for pointer lock support is the client being able to request the destruction of the client. Kristian wrote the patches below some time ago and i've rebased and bumped the versions appropriately. Unfortunately in order to maintain API we must call our destructor _

[PATCH wayland] wayland-server: Add a numerical id per client

2013-08-13 Thread Rob Bradford
From: Rob Bradford Assign each client a numerical id when the client is created for the display. We do not want the client ids to be sparse so that they can be used for space efficient lookups in the compositor; so when the client is destroyed we release the id either into the next counter if it

[PATCH weston 6/6] input: Use new wl_resource_for_each for sending updated seat caps

2013-08-13 Thread Rob Bradford
From: Rob Bradford --- src/input.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/input.c b/src/input.c index 396e35e..daa6e4c 100644 --- a/src/input.c +++ b/src/input.c @@ -458,8 +458,8 @@ weston_touch_destroy(struct weston_touch *touch) static void seat_send_u

[PATCH weston 5/6] input: Free the memory allocated to store the device resource lists

2013-08-13 Thread Rob Bradford
From: Rob Bradford v2: Walk the array manually as wl_array_for_each is bytewise we're storing pointers that we need to free. --- src/input.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/input.c b/src/input.c index 1fa3f48..396e35e 100644 --

[PATCH weston 4/6] input: Emit events on all resources for a client

2013-08-13 Thread Rob Bradford
From: Rob Bradford The Wayland protocol permits a client to request the pointer, keyboard and touch multiple times from the seat global. This is very useful in a component like Clutter-GTK where we are combining two libraries that use Wayland together. This change migrates the weston input handl

[PATCH weston 3/6] data-device: Lookup drag resources using the focussed surface

2013-08-13 Thread Rob Bradford
From: Rob Bradford Rather than relying on focussed resource to get the client to lookup the drag resource with instead derive the client from the focussed surface. This is equivalent as the focussed resource is derived from the focussed surface in the weston_keyboard_set_focus function. --- src

[PATCH weston 2/6] input: Use a client id indexed array for input device resources

2013-08-13 Thread Rob Bradford
From: Rob Bradford Replace the list of resources per pointer/keyboard/touch with an array of pointers to lists of resources from that client. For compatability with the existing code find_resource_for_surface has been modified to return the resource associated with the first entry in the list an

[PATCH weston 1/6] input: Use a client destroy listener for resetting the focus resource

2013-08-13 Thread Rob Bradford
From: Rob Bradford This is currently equivalent as there is no way for the pointer, keyboard or touch resource to be destroyed without the client being destroyed. This removes another place where a single resource for the focus is assumed. --- src/input.c | 12 ++-- 1 file changed, 6 ins

Multiple input resource support (v2)

2013-08-13 Thread Rob Bradford
Hi folks, The wayland protocol lets you support multiple wl_pointer/wl_keyboard/wl_touch in a client - unfortunately Weston makes the assumption that there is only one input resource of a given class. These patches support the multiple resources and are a key step in the enabling of libraries like

Re: [RFC] weston: Sony clickpad support

2013-08-13 Thread Thomas Daede
On Tue, Aug 13, 2013 at 6:31 AM, David Herrmann wrote: > Hi > > On Tue, Aug 13, 2013 at 6:50 AM, Alexander E. Patrakov > wrote: >> 2013/8/12 David Herrmann : >> >>> The implementation looks quite nice. I will not comment on the code >>> individually, though. I'd really like to see a libtouchpad w

haskell libxkbcommon bindings (also: wayland bindings help request)

2013-08-13 Thread Auke Booij
I wrote haskell bindings for libxkbcommon. https://github.com/tulcod/haskell-xkbcommon I appreciate *any* feedback Announcement in haskell-cafe: http://www.haskell.org/pipermail/haskell-cafe/2013-August/108333.html Once I am happy with these bindings (I would currently call them "alpha") I woul

Re: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 Thread Kristian Høgsberg
On Tue, Aug 13, 2013 at 06:10:56PM +0200, Armin K. wrote: > On 13.8.2013 17:59, Eoff, Ullysses A wrote: > > > >>-Original Message- > >>From: wayland-devel-bounces+ullysses.a.eoff=intel@lists.freedesktop.org > >>[mailto:wayland-devel- > >>bounces+ullysses.a.eoff=intel@lists.freedesk

Re: [PATCH weston v2] xwm: do not crash when activating a NULL surface

2013-08-13 Thread Kristian Høgsberg
On Tue, Aug 13, 2013 at 11:42:02AM +0200, Giulio Camuffo wrote: > --- > src/xwayland/window-manager.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Committed. Kristian > diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c > index d565888..4c9d477 100644 > -

Re: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 Thread Armin K.
On 13.8.2013 17:59, Eoff, Ullysses A wrote: -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 Armin K. Sent: Tuesday, August 13, 2013 8:31 AM To: wa

RE: [PATCH weston] build: Allow more control over cairo use in the clients

2013-08-13 Thread Eoff, Ullysses A
Hey Rob, thanks for this patch... this'll make it much easier now :-) I tried with "image" and with "gl" and it worked like a charm! U. Artie > -Original Message- > From: wayland-devel-bounces+ullysses.a.eoff=intel@lists.freedesktop.org > [mailto:wayland-devel- > bounces+ullysses.a.

RE: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 Thread Eoff, Ullysses A
> -Original Message- > From: Rob Bradford [mailto:robert.bradf...@intel.com] > Sent: Tuesday, August 13, 2013 8:38 AM > To: Eoff, Ullysses A > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: [PATCH web] building: add --with-cairo=gl to weston autogen step > > On 13 August 2013 16:0

RE: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 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 Armin K. > Sent: Tuesday, August 13, 2013 8:31 AM > To: wayland-devel@lists.freedesktop.org >

Re: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 Thread Rob Bradford
On 13 August 2013 16:00, U. Artie Eoff wrote: > From: "U. Artie Eoff" > > The option --with-cairo=[image|gl|glesv2] was added to Weston's > configure and it defaults to --with-cairo=image. Since the > preceding instructions elude to compiling and using cairo-gl, > Weston needs to be configured t

Re: [PATCH web] building: add --with-cairo=gl to weston autogen step

2013-08-13 Thread Armin K.
On 13.8.2013 17:00, U. Artie Eoff wrote: From: "U. Artie Eoff" The option --with-cairo=[image|gl|glesv2] was added to Weston's configure and it defaults to --with-cairo=image. Since the preceding instructions elude to compiling and using cairo-gl, Weston needs to be configured to use it. No

RE: [PATCH weston] build: Allow more control over cairo use in the clients

2013-08-13 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 > Kristian Høgsberg > Sent: Monday, August 12, 2013 10:20 PM > To: Bradford, Robert > Cc: Ro

RE: [PATCH web] building: update xkbcommon requirements

2013-08-13 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 Eoff, > Ullysses A > Sent: Tuesday, August 13, 2013 7:02 AM > To: Kristian Høgsberg > Cc: way

RE: [PATCH web] building: update xkbcommon requirements

2013-08-13 Thread Eoff, Ullysses A
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Monday, August 12, 2013 10:33 PM > To: Eoff, Ullysses A > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: [PATCH web] building: update xkbcommon requirements > > On Mon, Aug 12, 2013 at 07:35:08AM

Re: [RFC] weston: Sony clickpad support

2013-08-13 Thread David Herrmann
Hi On Tue, Aug 13, 2013 at 6:50 AM, Alexander E. Patrakov wrote: > 2013/8/12 David Herrmann : > >> The implementation looks quite nice. I will not comment on the code >> individually, though. I'd really like to see a libtouchpad which >> implements all that logic. Once we start adding device driv

[PATCH weston v2] xwm: do not crash when activating a NULL surface

2013-08-13 Thread Giulio Camuffo
--- src/xwayland/window-manager.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index d565888..4c9d477 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -610,11 +610,15 @@ stati

Re: [PATCH weston] xwm: do not crash when activating a NULL surface

2013-08-13 Thread Giulio Camuffo
2013/8/13 Kristian Høgsberg > On Sat, Aug 10, 2013 at 05:23:33PM +0200, Giulio Camuffo wrote: > > --- > > src/xwayland/window-manager.c | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/src/xwayland/window-manager.c > b/src/xwayland/window-manager.c > > index d5

[PATCH] Use relative include for weston-egl-ext.h from clients/

2013-08-13 Thread Tomeu Vizoso
This unbreaks building in a separate directory --- clients/simple-egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 4eeba02..2548a30 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -38,7 +38,7 @@ #include