[fullscreen v9] add fullscreen implementation and a test client

2012-02-29 Thread wuzhiwen
From: Alex Wu V7: Fullscreen surface will be atop panels and with a black surface underlying it. Only the WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE method implemented in this version. We will implement other methods in another patch. V8: Move all the fullscreen things to map() or confi

[PATCH 1/2] shell: Add implementation of fullscreen.

2012-02-29 Thread zhiwen . wu
From: Alex Wu Undo fullscreen in shell_unset_fullscreen(), do all the stacking order in shell_stack_fullscreen(), and configure black surface, method in shell_configure_fullscreen(). Signed-off-by: Alex Wu Signed-off-by: Juan Zhao --- src/shell.c | 218 +++

Re: [PATCH 6/6] Hack up distcheck for publican

2012-02-29 Thread Peter Hutterer
On Wed, Feb 29, 2012 at 05:15:44PM -0500, Gaetan Nadon wrote: > On 12-02-28 09:57 PM, Peter Hutterer wrote: > > Publican requires a read-write source tree, see > > http://bugzilla.redhat.com/show_bug.cgi?id=798484 > > > > And it currently cannot build out-of-tree, so we need to copy the sources > >

Re: [PATCH] protocol: Clarify the documentation for the fullscreen protocol

2012-02-29 Thread Juan Zhao
On 03/01/2012 01:20 AM, Kristian Hoegsberg wrote: On Wed, Feb 29, 2012 at 09:59:43AM +0200, Pekka Paalanen wrote: On Tue, 28 Feb 2012 16:48:26 + Rob Bradford wrote: From: Rob Bradford --- protocol/wayland.xml | 53 - 1 files changed,

Re: [PATCH 6/6] Hack up distcheck for publican

2012-02-29 Thread Gaetan Nadon
On 12-02-28 09:57 PM, Peter Hutterer wrote: > Publican requires a read-write source tree, see > http://bugzilla.redhat.com/show_bug.cgi?id=798484 > > And it currently cannot build out-of-tree, so we need to copy the sources > into the _build tree and generate Protocol.xml into that tree too (we'd h

Re: Thinking about popup windows

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 07:14:11PM +, Rob Bradford wrote: > > This and the patches for weston are an attempt at how a client could > communicate with the compositor about positioning surfaces. The > slightly weird thing is that you make this request not against the > surface you are going to p

Re: [PATCH] compositor: add dpms and backlight support

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 10:45:35AM -0800, Jesse Barnes wrote: > Looks pretty good, thanks. For future patches can you include a > version and short changelog of what's changed from the last patch? > Just makes things easier to track (even for the patch author, in my > experience). > > Few notes o

[PATCH 3/3] Add copyright to test files

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Signed-off-by: U. Artie Eoff --- tests/check-wayland-util.c | 24 +++- tests/wayland-check.h | 22 ++ 2 files changed, 45 insertions(+), 1 deletions(-) diff --git a/tests/check-wayland-util.c b/tests/check-wayland-util.c in

[PATCH 2/3] Add initial unit tests and unit test framework.

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Add tests directory and makefiles to the toolchain configuration. Created first unit tests for wayland-util. Unit tests can be executed with the command 'make check'. Signed-off-by: U. Artie Eoff --- Makefile.am|2 +- configure.ac |1

[PATCH 1/3] Add dependency checking for the check module.

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Check is a unit testing framework for C (http://check.sourceforge.net/) and will be used for writing wayland unit tests. Signed-off-by: U. Artie Eoff --- configure.ac |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac i

[PATCH 0/3] Resubmit - Unit test framework for Wayland

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Resubmitting since some recent tip commits cause previous patches to not apply properly. The following patches should apply to today's tip. I've included the contents of my original cover-letter for convenience... Unit testing is a very powerful method to find problems ea

[PATCH 3/3] Add copyright to test files

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Signed-off-by: U. Artie Eoff --- tests/check-wayland-util.c | 24 +++- tests/wayland-check.h | 22 ++ 2 files changed, 45 insertions(+), 1 deletions(-) diff --git a/tests/check-wayland-util.c b/tests/check-wayland-util.c in

[PATCH 2/3] Add initial unit tests and unit test framework.

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Add tests directory and makefiles to the toolchain configuration. Created first unit tests for wayland-util. Unit tests can be executed with the command 'make check'. Signed-off-by: U. Artie Eoff --- Makefile.am|2 +- configure.ac |3

[PATCH 1/3] Add dependency checking for the check module.

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Check is a unit testing framework for C (http://check.sourceforge.net/) and will be used for writing wayland unit tests. Signed-off-by: U. Artie Eoff --- configure.ac |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac i

[PATCH 0/3] Unit test framework for Wayland

2012-02-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Unit testing is a very powerful method to find problems early on in the development cycle. It allows us to test individual parts for correctness and logic. It also serves as a form of regression testing. Ideally, we would like to write test cases for all functions and meth

[PATCH 2/2] window: Use probing mechanism to position popup so it is always visible

2012-02-29 Thread Rob Bradford
From: Rob Bradford --- clients/window.c | 65 +++-- 1 files changed, 57 insertions(+), 8 deletions(-) diff --git a/clients/window.c b/clients/window.c index 04692c0..5fda221 100644 --- a/clients/window.c +++ b/clients/window.c @@ -141,6 +141,11

[PATCH 1/2] shell: Implement the probe_area request on wl_shell_surface

2012-02-29 Thread Rob Bradford
From: Rob Bradford --- src/shell.c | 68 ++- 1 files changed, 67 insertions(+), 1 deletions(-) diff --git a/src/shell.c b/src/shell.c index a28302b..c6108c3 100644 --- a/src/shell.c +++ b/src/shell.c @@ -631,6 +631,71 @@ shell_surface_se

[PATCH] protocol: Add a request and event to identify the visible area for a surface

2012-02-29 Thread Rob Bradford
From: Rob Bradford Add a probe_area request to the wl_shell_surface interface along with a visible_area event to communicate the result of the probe. The intention of this request and event is to allow the client to try and refine the placement of popup windows that would otherwise be unusable.

Thinking about popup windows

2012-02-29 Thread Rob Bradford
This and the patches for weston are an attempt at how a client could communicate with the compositor about positioning surfaces. The slightly weird thing is that you make this request not against the surface you are going to position but against its parent. This makes the implementation in the cl

Re: [PATCH 0/6] Publican documentation integration

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 12:57:28PM +1000, Peter Hutterer wrote: > > Branch available from > git://people.freedesktop.org/~whot/wayland.git :publican > > This adds a docbook tree hooked up to build with publican. Default make will > build both html and pdf. > > The make distchecks hooks aren't pr

Re: [PATCH] compositor: add dpms and backlight support

2012-02-29 Thread Jesse Barnes
Looks pretty good, thanks. For future patches can you include a version and short changelog of what's changed from the last patch? Just makes things easier to track (even for the patch author, in my experience). Few notes on this: - do we need all the dpms values? on and off seem to be all tha

[PATCH] compositor: add dpms and backlight support

2012-02-29 Thread Tiago Vignatti
DPMS kicks in only when wscreensaver is launched, in the moment that shell call lock() for the second time. Backlight control internals are managed by libbacklight: http://cgit.freedesktop.org/~vignatti/libbacklight/ Signed-off-by: Tiago Vignatti --- Thanks Jesse and Kristian for the co

Re: Catastrophic blocking

2012-02-29 Thread Thiago Macieira
On quarta-feira, 29 de fevereiro de 2012 11.50.10, Kristian Hoegsberg wrote: > which handles the problem you hit. The connection code polls for > writable just fine and only writes when the fd returns EPOLLOUT. > Except in the above case, which is where it typically happens. When > the protocol b

Re: [PATCH] protocol: Clarify the documentation for the fullscreen protocol

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 09:59:43AM +0200, Pekka Paalanen wrote: > On Tue, 28 Feb 2012 16:48:26 + > Rob Bradford wrote: > > > From: Rob Bradford > > > > --- > > protocol/wayland.xml | 53 > > - > > 1 files changed, 34 insertions(+), 19 dele

Re: [PATCH 6/6] Hack up distcheck for publican

2012-02-29 Thread Gaetan Nadon
On 12-02-28 09:57 PM, Peter Hutterer wrote: > Publican requires a read-write source tree, see > http://bugzilla.redhat.com/show_bug.cgi?id=798484 > > And it currently cannot build out-of-tree, so we need to copy the sources > into the _build tree and generate Protocol.xml into that tree too (we'd h

Re: [PATCH] weston: Change path for default terminal launcher to ${prefix}/bin

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 05:31:03PM +0100, Rodney Lorrimar wrote: > If you don't have anything at ~/.config/weston-desktop-shell.ini and > have weston installed somewhere other than /usr, then this patch will > help. Thanks, that's better. Kristian > Cheers, > > Signed-off-by: Rodney Lorrimar >

Re: [PATCH] Reverses the order of a socket creation in weston/compositor.c

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 10:22:23AM +0100, Igor Makarov wrote: > Hello all, > So, when I trying to start weston with 'wayland-backend.so' on ARM > device I got errors related to socket connection. > This error appear because 'backed_init' start client-socket connection > to server-socket that is ab

Re: Catastrophic blocking

2012-02-29 Thread Kristian Hoegsberg
On Wed, Feb 29, 2012 at 10:58:56AM +0200, Pekka Paalanen wrote: > On Tue, 28 Feb 2012 14:32:21 -0500 > Kristian Hoegsberg wrote: > > > On Mon, Feb 27, 2012 at 04:57:42PM +0100, Samuel Rødal wrote: > > > Ignore previous patch, here's the correct version. > > > > > From 4e1bedaaf05b576f5191f8fe3a3

[PATCH] weston: Change path for default terminal launcher to ${prefix}/bin

2012-02-29 Thread Rodney Lorrimar
If you don't have anything at ~/.config/weston-desktop-shell.ini and have weston installed somewhere other than /usr, then this patch will help. Cheers, Signed-off-by: Rodney Lorrimar --- clients/Makefile.am |1 + clients/desktop-shell.c |2 +- 2 files changed, 2 insertions(+), 1 de

Re: Catastrophic blocking

2012-02-29 Thread Andreas Ericsson
On 02/29/2012 09:58 AM, Pekka Paalanen wrote: > On Tue, 28 Feb 2012 14:32:21 -0500 > Kristian Hoegsberg wrote: > >> On Mon, Feb 27, 2012 at 04:57:42PM +0100, Samuel Rødal wrote: >>> Ignore previous patch, here's the correct version. >> >>> From 4e1bedaaf05b576f5191f8fe3a34904ab9707414 Mon Sep 17

[PATCH] Reverses the order of a socket creation in weston/compositor.c

2012-02-29 Thread Igor Makarov
Hello all, So, when I trying to start weston with 'wayland-backend.so' on ARM device I got errors related to socket connection. This error appear because 'backed_init' start client-socket connection to server-socket that is absent at that moment. This patch reverses the order of a socket creation.

Catastrophic blocking

2012-02-29 Thread Pekka Paalanen
On Tue, 28 Feb 2012 14:32:21 -0500 Kristian Hoegsberg wrote: > On Mon, Feb 27, 2012 at 04:57:42PM +0100, Samuel Rødal wrote: > > Ignore previous patch, here's the correct version. > > > From 4e1bedaaf05b576f5191f8fe3a34904ab9707414 Mon Sep 17 00:00:00 2001 > > From: =?UTF-8?q?Samuel=20R=C3=B8dal