[PATCH v3 2/3] Weston: compositor.c: introduce logging

2012-05-29 Thread Martin Minarik
--- src/compositor.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index d21459b..4bfbf6a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -48,6 +48,7 @@ #include #include "compositor.h" +#include "log.h" static str

[PATCH v3 1/3] Weston: log.c, log.h

2012-05-29 Thread Martin Minarik
Changes from last time, we have function weston_log_file_create_in_home() for opening log file in home directory, it can handle long file names. We have function weston_log_handle_server() to redirect messages from libwayland-server into log.c:weston_logfile_handler, from there everything can be

[PATCH v3 2/2] Wayland: logging: replace printf by wl_log

2012-05-29 Thread Martin Minarik
--- src/wayland-server.c | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 9f07b88..256c553 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -437,7 +437,7 @@ wl_client_destroy(struct wl_client

[PATCH v3 1/2] Wayland: logging

2012-05-29 Thread Martin Minarik
The core libwayland libraries should not handle logging, only passing the error messages to subscribed functions. An application linked to libwayland-server or libwayland-client will be able to set own functions (one per library) to handle error messages. Change in this series: make the wl_log ret

Mesa just added a dependency on the "indent" program

2012-05-29 Thread darxus
It's pretty obvious and easy to resolve. I just got a build test failure, which turned out to be due to mesa adding a dependency on the "indent" program in the last couple hours. Easily resolved by installing the "indent" package on ubuntu, and probably the same on other distros. -- "Begin at t

[PATCH weston v5] Implement text cursor position protocol.

2012-05-29 Thread Scott Moreau
Here we create a new client/compositor interface in weston to allow clients to report their x/y cursor position to the compositor. These values are then used to center the zoom area on this point. This is useful for everyone, especially people who are visually impaired. --- This variant moves the

Re: [PATCH] compositor: Fix buggy snprintf that sets module path

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 12:29 PM, Chad Versace wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/25/2012 08:04 PM, Kristian Høgsberg wrote: >> On Wed, May 23, 2012 at 11:32:24PM -0700, Chad Versace wrote: >>> If the MODULEDIR string contains '%', then >>>     snprintf(path, sizeof

Re: [PATCH wayland] data-device: implement drags with no data source for self-dnd

2012-05-29 Thread Bill Spitzak
Thank you for realizing that drag w/o data is useful! This is certainly increasing my confidence that the Wayland developers know what they are doing, rather than copying decades of mistakes by X11 and Windows. Ander Conselvan de Oliveira wrote: Properly handle a drag with no data source, i.

Re: [PATCH] compositor: Fix buggy snprintf that sets module path

2012-05-29 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/25/2012 08:04 PM, Kristian Høgsberg wrote: > On Wed, May 23, 2012 at 11:32:24PM -0700, Chad Versace wrote: >> If the MODULEDIR string contains '%', then >> snprintf(path, sizeof(path), MODULEDIR "/%s", name); >> does not do what you want. >

Weston Video Capture Tool

2012-05-29 Thread Kristian Høgsberg
Hi, Most people following the project closely probably saw this go by, but I thought this was worthy of a little wider exposure. Weston now has a built-in video capture tool, which works with all the backends (kms, x11, wayland). It only captures what changes, when something changes and efficien

Re: [PATCH wayland 1/2] build: add uninstalled pkg-config files

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 04:53:20PM +0300, Pekka Paalanen wrote: > Required for building apps against wayland libraries that have not been > installed. Both committed. Kristian > Signed-off-by: Pekka Paalanen > --- > configure.ac|3 +++ > cursor/wayland-cursor-uni

Re: [PATCH] cursor: Link libwayland-cursor to libwayland-client

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 02:10:30PM +0100, Rob Bradford wrote: > From: Rob Bradford > > LDADD is only used when linking programs not libraries. Ah, yup, thanks. Kristian > Spotted-by: Pekka Paalanen > --- > cursor/Makefile.am |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > d

Re: [PATCH] wcap: Imported vpxenc.c uses maths symbols so add -lm to LDFLAGS

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 11:31:56AM +0100, Rob Bradford wrote: > From: Rob Bradford Ah, oops, I actually snug in the -lm fix with the commit that added --disable-wcap-tools. Which I fixed Saturday but didn't push until Monday. Oh well, hopefully the wcap build trouble is fixed now. Kristian >

Re: [PATCH wayland] build: add uninstalled pkg-config files

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 12:05:58PM +0300, Pekka Paalanen wrote: > Required for building apps against wayland libraries that have not been > installed. I've seen this before, but how do you actually use uninstalled .pc files? Kristian > Signed-off-by: Pekka Paalanen > --- > configure.ac

Re: [PATCH wayland] data-device: implement drags with no data source for self-dnd

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 10:58:26AM +0300, Ander Conselvan de Oliveira wrote: > Properly handle a drag with no data source, i.e., don't crash and send > events only to the client that initiated the drag. This way a client can > do self drag and drop without offering anything to other clients. Oh, v

Re: [PATCH 2/2] terminal: add glyphs to character list

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 09:37:02AM +0200, David Herrmann wrote: > This adds the actual glyphs/utf-8 characters to the comments of CS_SPECIAL > (DEC special graphics set). They all work on my system with "Monospace" or > "Bitstream" font. But keep the mnemonics so if the UTF8 characters are not > di

Re: [PATCH] Weston: Free allocated cursors array when destroying

2012-05-29 Thread Kristian Høgsberg
On Mon, May 28, 2012 at 02:07:25PM +0800, yan.w...@linux.intel.com wrote: > From: Yan Wang > > This array is allocated in create_cursors(). It should be freed in > destroy_cursors(). Thanks, committed. Kristian > --- > clients/window.c |1 + > 1 files changed, 1 insertions(+), 0 deletions

Re: [PATCH 1/2] terminal: fix up horizontal scan-line characters

2012-05-29 Thread Kristian Høgsberg
On Tue, May 29, 2012 at 09:37:01AM +0200, David Herrmann wrote: > The DEC special graphics set defines entries 0x6f to 0x73 to be: > Horizontal Scan Line 1 > Horizontal Scan Line 3 > Horizontal Scan Line 5 > Horizontal Scan Line 7 > Horizontal Scan Line 9 > However, the first Unicode draf

[PATCH wayland 2/2] tests: update gitignore

2012-05-29 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- tests/.gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tests/.gitignore b/tests/.gitignore index c7469bc..e97e294 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -3,6 +3,8 @@ client-test connection-test event-loop-tes

[PATCH wayland 1/2] build: add uninstalled pkg-config files

2012-05-29 Thread Pekka Paalanen
Required for building apps against wayland libraries that have not been installed. Signed-off-by: Pekka Paalanen --- configure.ac|3 +++ cursor/wayland-cursor-uninstalled.pc.in |8 src/wayland-client-uninstalled.pc.in|8 src/wayland-s

[PATCH] cursor: Link libwayland-cursor to libwayland-client

2012-05-29 Thread Rob Bradford
From: Rob Bradford LDADD is only used when linking programs not libraries. Spotted-by: Pekka Paalanen --- cursor/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cursor/Makefile.am b/cursor/Makefile.am index edfa3e3..503559a 100644 --- a/cursor/Makefile.am

Re: [PATCH wayland] build: add uninstalled pkg-config files

2012-05-29 Thread Pekka Paalanen
On Tue, 29 May 2012 12:05:58 +0300 Pekka Paalanen wrote: > Required for building apps against wayland libraries that have not been > installed. > > Signed-off-by: Pekka Paalanen > --- > configure.ac |2 ++ > src/wayland-client-uninstalled.pc.in |8 > sr

RE: gtk3-demo-application not running in gtk with Wayland back end

2012-05-29 Thread suranjana.bhattacharya
Hello, I have built wayland 0.85 with the wayland script as attached with this email. I need to build webkit 1.8.0 on Wayland and for this I have built Wayland with glib-2.33.1 i.e, replaced the default glib mentioned in the attached script with glib-2.33.1. I have also built atk-2.3.3 by re

RE: gtk3-demo-application not running in gtk with Wayland back end

2012-05-29 Thread suranjana.bhattacharya
Hello, I have built wayland 0.85 with the wayland script as attached with this email. I need to build webkit 1.8.0 on Wayland and for this I have built Wayland with glib-2.33.1 i.e, replaced the default glib mentioned in the attached script with glib-2.33.1. I have also built atk-2.3.3 by rep

Re: Weston is not linking libm

2012-05-29 Thread Rob Bradford
On 26 May 2012 14:11, Thiago Macieira wrote: > On sábado, 26 de maio de 2012 08.45.04, dar...@chaosreigns.com wrote: >> When I run that: >> $ pkg-config --libs "cairo vpx" >> -L/home/darxus/install.test.master/lib -lcairo -lvpx > > Looks like it's vpx.pc that is bad. Unfortunately this is a red h

[PATCH] wcap: Imported vpxenc.c uses maths symbols so add -lm to LDFLAGS

2012-05-29 Thread Rob Bradford
From: Rob Bradford --- wcap/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/wcap/Makefile.am b/wcap/Makefile.am index 7dca7e9..df46735 100644 --- a/wcap/Makefile.am +++ b/wcap/Makefile.am @@ -19,7 +19,7 @@ wcap_decode_SOURCES = \ w

[PATCH wayland] build: add uninstalled pkg-config files

2012-05-29 Thread Pekka Paalanen
Required for building apps against wayland libraries that have not been installed. Signed-off-by: Pekka Paalanen --- configure.ac |2 ++ src/wayland-client-uninstalled.pc.in |8 src/wayland-server-uninstalled.pc.in |8 3 files changed, 18 ins

[PATCH weston] dnd: implement option for not offering data to other clients

2012-05-29 Thread Ander Conselvan de Oliveira
Add option --self-only to dnd client. If this options is passed, the drag will be started with no data source so that no drag and drop events are sent to other clients. --- clients/dnd.c| 76 +- clients/window.c | 33 +

[PATCH wayland] data-device: implement drags with no data source for self-dnd

2012-05-29 Thread Ander Conselvan de Oliveira
Properly handle a drag with no data source, i.e., don't crash and send events only to the client that initiated the drag. This way a client can do self drag and drop without offering anything to other clients. --- TODO |4 --- protocol/wayland.xml | 26 ++---

[PATCH 2/2] terminal: add glyphs to character list

2012-05-29 Thread David Herrmann
This adds the actual glyphs/utf-8 characters to the comments of CS_SPECIAL (DEC special graphics set). They all work on my system with "Monospace" or "Bitstream" font. But keep the mnemonics so if the UTF8 characters are not displayed correctly, the comments are still readable. I don't know if gcc

[PATCH 1/2] terminal: fix up horizontal scan-line characters

2012-05-29 Thread David Herrmann
The DEC special graphics set defines entries 0x6f to 0x73 to be: Horizontal Scan Line 1 Horizontal Scan Line 3 Horizontal Scan Line 5 Horizontal Scan Line 7 Horizontal Scan Line 9 However, the first Unicode drafts included only Scan-Line 5. Since Unicode-3.2 the other Scan-Lines were adde