[PATCH weston 2/2] shared/option-parser: Add string list options

2014-01-27 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/weston.man | 6 +++--- shared/config-parser.h | 1 + shared/option-parser.c | 15 +++ src/compositor.c | 27 --- tests/weston-tests-env | 6 -- 5 files changed, 47 insertions(+),

[PATCH weston 1/2] shared/option-parser: Rework option parsing

2014-01-27 Thread Quentin Glidic
From: Quentin Glidic Long options with argument support two formats: equal ("--long=arg") and space ("--long arg") Short options now support three formats: short ("-sarg"), equal ("-s=arg") and space ("-s value") Provide a test program Signed-off-by: Quentin Glidic --- man/weston.man

Re: [PATCH weston] weston-launch: Let the user use her real shell

2014-01-27 Thread Quentin Glidic
Hi, On 24/01/2014 08:33, David Herrmann wrote: weston-launch passes privileged FDs back to weston. I don't think we should allow a user to use their own shell to spawn weston. How can you guarantee the shell does not point to some random binary of the user? This way, they can get access to arbit

Re: [PATCH weston 2/2] input: Unlink saved kbd focus listener when releasing seat

2014-01-27 Thread Kristian Høgsberg
On Fri, Jan 03, 2014 at 07:46:51PM +0100, Jonas Ådahl wrote: > Not doing this would leave a invalid list item in the view's destroy > signal listener list if destroying a seat that had previously lost > keyboard focus. Thanks, applied. Kristian > Signed-off-by: Jonas Ådahl > --- > src/input.c

Re: [PATCH weston 1/2] simple-egl: Fix -Wsign-compare compiler warning

2014-01-27 Thread Kristian Høgsberg
On Fri, Jan 03, 2014 at 07:46:50PM +0100, Jonas Ådahl wrote: > Fixes the following compiler warning: > > simple-egl.c:434:36: warning: comparison between signed and unsigned > integer expressions [-Wsign-compare] > > Signed-off-by: Jonas Ådahl > --- > clients/simple-egl.c | 2 +- > 1 file chang

libinput repository created

2014-01-27 Thread Peter Hutterer
Hi guys after a bit of waiting time, we now have libinput in a fresh, still warm repository on freedesktop: http://cgit.freedesktop.org/wayland/libinput libinput is the weston input handling code forked off into a library. The goal of libinput is to provide a common code base for the various inpu

Re: weston-1.4.0: rpi-backend is broken

2014-01-27 Thread Yann E. MORIN
Pekka, All, On 2014-01-26 21:15 +0100, Yann E. MORIN spake thusly: > On 2014-01-26 21:51 +0200, Pekka Paalanen spake thusly: > > On Sun, 26 Jan 2014 19:08:47 +0100 > > "Yann E. MORIN" wrote: > > > I'm trying to run wayland+weston 1.4.0 on the raspberry pi with > > > the rpi-backend. > > > > > >

[PATCH 2/2] protocol: Reformat xdg-shell and desktop protocol text to 72 chars

2014-01-27 Thread Bryce W. Harrington
Signed-off-by: Bryce Harrington --- protocol/desktop-shell.xml | 36 +- protocol/xdg-shell.xml | 157 ++-- 2 files changed, 97 insertions(+), 96 deletions(-) diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml index 7b34213

[PATCH 1/2] protocol: Grammar copyedits of the xdg-shell and desktop protocol docs

2014-01-27 Thread Bryce W. Harrington
Signed-off-by: Bryce Harrington --- protocol/desktop-shell.xml | 10 ++--- protocol/xdg-shell.xml | 89 ++-- 2 files changed, 49 insertions(+), 50 deletions(-) diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml index 65e44a7..7b3

[PATCH 2/2] compositor: add a masking mechanism to weston_layer

2014-01-27 Thread Giulio Camuffo
this adds a mechanism to mask the views belonging to a layer to an arbitrary rect, in the global space. The parts that don't fit in that rect will be clipped away. Implemented in the gl and pixman renderers only for now. --- src/compositor.c | 26 +- src/compositor.h

[PATCH 1/2] compositor: keep track of the weston_layer a weston_view is in

2014-01-27 Thread Giulio Camuffo
This introduces a new struct, weston_layer_entry, which is now used in place of wl_list to keep the link for the layer list in weston_view and the head of the list in weston_layer. weston_layer_entry also has a weston_layer*, which points to the layer the view is in or, in the case the entry it's t

Re: Orbital 0.1

2014-01-27 Thread Kristian Høgsberg
On Sun, Jan 26, 2014 at 6:59 AM, Giulio Camuffo wrote: > Hi everyone, > > Given the low activity on the list these days I hope noone will be > angry if I send a mail not directly related to Wayland or Weston. :) No, that most welcome, I encourage everybody working on wayand related project to pos

Re: [Mesa-dev] What use do swap interval > 1 and OML_sync_control divisor and remainder have?

2014-01-27 Thread Ian Romanick
On 01/24/2014 04:32 AM, Pekka Paalanen wrote: > Hi, > > I am investigating what kind of Wayland protocol extensions would be > needed to support proper presentation timing. Looking at existing > works, I am wondering about two things whether they have any real use. > > Where is swap interval (e.g

Re: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro

2014-01-27 Thread Kristian Høgsberg
I think it's clear that the current macro name is confusing and that one might expect it to do something other than what it does. I also think the current usage and named makes sense. But the main point is that it's confusing, and we need to fix that. However, thinking about weston API promises,

[PATCH] FreeRds backend, weston 1.5 rebased

2014-01-27 Thread Hardening
FreeRDS is a FreeRDP based RDP server, the server handles incoming connections and talks RDP with the peers. FreeRds cooperates with an "out-service": the out-service creates the content to display, and FreeRds will take care of encoding the content in the appropriate codec (raw, planar, remoteF