Catastrophic blocking

2012-02-29 Thread Pekka Paalanen
On Tue, 28 Feb 2012 14:32:21 -0500 Kristian Hoegsberg hoegsb...@gmail.com 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:

[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 rod...@rodney.id.au --- clients/Makefile.am |1 + clients/desktop-shell.c |2 +- 2 files changed, 2

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 absent

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 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 have

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 r...@robster.org.uk wrote: From: Rob Bradford r...@linux.intel.com --- protocol/wayland.xml | 53 - 1 files changed,

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

[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 tiago.vigna...@intel.com --- Thanks

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

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 pretty at

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

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

2012-02-29 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com 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

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

2012-02-29 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com --- 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

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

2012-02-29 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com --- 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 +++

[PATCH 0/3] Unit test framework for Wayland

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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

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

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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 ullysses.a.e...@intel.com --- configure.ac |4 1 files changed, 4 insertions(+), 0

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

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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 ullysses.a.e...@intel.com --- Makefile.am

[PATCH 3/3] Add copyright to test files

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

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

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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

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

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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 ullysses.a.e...@intel.com --- configure.ac |4 1 files changed, 4 insertions(+), 0

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

2012-02-29 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com 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 ullysses.a.e...@intel.com --- Makefile.am

[PATCH 3/3] Add copyright to test files

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

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 on

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

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 Bradfordr...@robster.org.uk wrote: From: Rob Bradfordr...@linux.intel.com --- protocol/wayland.xml | 53

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

2012-02-29 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com 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 zhiwen...@linux.intel.com Signed-off-by: Juan Zhao

[fullscreen v9] add fullscreen implementation and a test client

2012-02-29 Thread wuzhiwen
From: Alex Wu zhiwen...@linux.intel.com 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