Re: [PATCH weston 0/8] wl_viewport enhancements

2014-04-01 Thread Pekka Paalanen
On Tue, 1 Apr 2014 16:11:20 -0700 Kristian Høgsberg wrote: > On Fri, Mar 14, 2014 at 02:38:10PM +0200, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > Hi, > > > > this series replaces the first 5 patches from > > http://lists.freedesktop.org/archives/wayland-devel/2014-March/013580.html

Re: Not able to build Weston.

2014-04-01 Thread Pekka Paalanen
On Wed, 2 Apr 2014 10:36:56 +0530 Srivardhan M S wrote: > Hi, > > I repeated the steps, but am getting the same issue. :( Below is the log: > sri.hebbar@sri-hebbar:~/Wayland/weston$ git clean -xfd > Removing Makefile > Removing Makefile.in > Removing aclocal.m4 > Removing autom4te.cache/ > Remov

[RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-01 Thread Jason Ekstrand
This provides a standardized mechanism for tracking protocol object versions in client code. The wl_display object is created with version 1. Every time an object is created from within wl_registry_bind, it gets the bound version. Every other time an object is created, it simply inherits it's ver

Re: Not able to build Weston.

2014-04-01 Thread Srivardhan M S
Hi, I repeated the steps, but am getting the same issue. :( Below is the log: sri.hebbar@sri-hebbar:~/Wayland/weston$ git clean -xfd Removing Makefile Removing Makefile.in Removing aclocal.m4 Removing autom4te.cache/ Removing build-aux/ Removing clients/.deps/ Removing config.h Removing config.h.i

Re: [PATCH V2 0/8] Add weston randr protocol

2014-04-01 Thread Fu Michael
On 4/2/2014 10:52 AM, Bryce W. Harrington wrote: On Mon, Mar 24, 2014 at 07:39:12PM +0800, Quanxian Wang wrote: By the way, currently we are focus on the protocol design. The implemented code is just a reference. However it will be helpful for reviewer to have a test and get the clear idea of

Re: [PATCH V2 0/8] Add weston randr protocol

2014-04-01 Thread Bryce W. Harrington
On Mon, Mar 24, 2014 at 07:39:12PM +0800, Quanxian Wang wrote: > By the way, currently we are focus on the protocol design. The implemented > code is just > a reference. However it will be helpful for reviewer to have a test and get > the clear > idea of protocol. I like your comment to make thi

Re: [PATCH libinput 5/5] test: switch the remaining devices to a description-based device

2014-04-01 Thread Peter Hutterer
On Tue, Apr 01, 2014 at 11:50:04AM +0200, Hans de Goede wrote: > Hi, > > On 04/01/2014 05:47 AM, Peter Hutterer wrote: > > Signed-off-by: Peter Hutterer > > --- > > test/litest-bcm5974.c | 147 ++- > > test/litest-generic-highres-touch.c | 128 --

make check hangs on xwayland when xwayland not present

2014-04-01 Thread Bryce W. Harrington
I've built weston via the standard directions (http://wayland.freedesktop.org/building.html), with a few modifications (see my prior email today for details). But I haven't done the XWayland setup steps (http://wayland.freedesktop.org/xserver.html) so don't have functional XWayland support. Runni

Re: [PATCH] protocol: Document how clients are supposed to get the xkb keycode

2014-04-01 Thread Kristian Høgsberg
On Tue, Mar 25, 2014 at 04:35:39PM +0100, Rui Matos wrote: > This encodes what everyone is doing and avoids other implementers > having to guess. > --- > > Jasper suggested that it would be nice if the compositor sent keycodes > that clients could use directly as an index in the keymap. I suppose

Re: [PATCH] xdg-shell: rename the xdg_surface.delete event to close.

2014-04-01 Thread Kristian Høgsberg
On Mon, Mar 24, 2014 at 02:13:22PM +0200, Giulio Camuffo wrote: > 'close' is more consistent with the purpose of the event than > 'delete', and it is also c++ friendly, since 'delete' is a keyword. > --- > protocol/xdg-shell.xml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks

Re: [PATCH] compositor: Use weston_log rather than perror for error messages

2014-04-01 Thread Kristian Høgsberg
On Fri, Mar 21, 2014 at 05:54:02AM +, Bryce W. Harrington wrote: > weston_log() seems to be the standard elsewhere in the codebase for > errors. These are the only two instances where perror() is used > instead, and their error messages aren't that informative anyway. > > Signed-off-by: Bryce

Re: [PATCH] Make RDP backend supports arbitrary modes v2

2014-04-01 Thread Kristian Høgsberg
On Thu, Mar 20, 2014 at 10:34:30PM +0100, Hardening wrote: > This patch removes the extra modes parameter for the RDP compositor. And > make it support any mode that is requested (be aware that RDP client may not > support all possible modes, especially odd resolution). > > This new version fixes

Re: [PATCH] compositor: Use weston_log rather than perror for error messages

2014-04-01 Thread Kristian Høgsberg
On Tue, Mar 18, 2014 at 07:34:56PM +, Bryce W. Harrington wrote: > weston_log() seems to be the standard elsewhere in the codebase for > errors. These are the only two instances where perror() is used > instead, and their error messages aren't that informative anyway. > > Signed-off-by: Bryce

Re: [PATCH] Add error handling for wl_cursors

2014-04-01 Thread Kristian Høgsberg
On Tue, Mar 18, 2014 at 11:29:00AM +0100, Hardening wrote: > This patch adds some error management in wayland cursors > --- > cursor/wayland-cursor.c | 20 +--- > 1 file changed, 13 insertions(+), 7 deletions(-) Committed this one and the weston cursor error fix. Kristian > diff

Re: [PATCH] Make RDP backend supports arbitrary modes

2014-04-01 Thread Kristian Høgsberg
On Tue, Mar 18, 2014 at 06:15:54PM +0100, Hardening wrote: > This patch removes the extra modes parameter for the RDP compositor. And > make it support any mode that is requested (be aware that RDP client may not > support all possible modes, especially odd resolution). > This is definitely useful

Re: Not able to build Weston.

2014-04-01 Thread Bryce W. Harrington
On Tue, Apr 01, 2014 at 12:14:17PM +0530, Srivardhan M S wrote: > Hi, > > I followed the instruction from > http://wayland.freedesktop.org/building.html and was able to build > Wayland, Mesa, libxkbcommon, cairo-gl, libunwind. But got struck while > building Weston. When I do a make, I get the fol

Re: [PATCH weston 0/8] wl_viewport enhancements

2014-04-01 Thread Kristian Høgsberg
On Fri, Mar 14, 2014 at 02:38:10PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Hi, > > this series replaces the first 5 patches from > http://lists.freedesktop.org/archives/wayland-devel/2014-March/013580.html > > Compared to the old series, this series carries the same 5 patches >

Re: [PATCH] weston: Send done event with version 2 of wl_output

2014-04-01 Thread Kristian Høgsberg
On Fri, Mar 14, 2014 at 09:16:25AM +0800, Quanxian Wang wrote: > With protocol of wl_output version 2, after the output change, > it should send done event to all clients bount with it. That was missing, thanks, patch applied. Kristian > Signed-off-by: Quanxian Wang > --- > src/compositor.c |

Re: Wayland Live CD now switching to Mir

2014-04-01 Thread Gustavo Noronha Silva
On Tue, 2014-04-01 at 14:58 +0200, Kai-Uwe Behrmann wrote: > Am 01.04.2014 14:40, schrieb nerdopolis: > > As you all know, I have been the developer of the Wayland live CD for some > > time, which is named after my favorite celebrity, and has been providing a > > easy to obtain Wayland environmen

Re: Wayland Live CD now switching to Mir

2014-04-01 Thread Wander Lairson Costa
2014-04-01 9:58 GMT-03:00 Kai-Uwe Behrmann : > Am 01.04.2014 14:40, schrieb nerdopolis: >> As you all know, I have been the developer of the Wayland live CD for some >> time, which is named after my favorite celebrity, and has been providing a >> easy to obtain Wayland environment for users since

Re: Wayland Live CD now switching to Mir

2014-04-01 Thread Kai-Uwe Behrmann
Am 01.04.2014 14:40, schrieb nerdopolis: > As you all know, I have been the developer of the Wayland live CD for some > time, which is named after my favorite celebrity, and has been providing a > easy to obtain Wayland environment for users since 2012. > > However I have been recently looking

Wayland Live CD now switching to Mir

2014-04-01 Thread nerdopolis
Hi. As you all know, I have been the developer of the Wayland live CD for some time, which is named after my favorite celebrity, and has been providing a easy to obtain Wayland environment for users since 2012. However I have been recently looking at the Wiki pages for Mir, and I am realizin

Re: [PATCH libinput 5/5] test: switch the remaining devices to a description-based device

2014-04-01 Thread Hans de Goede
Hi, On 04/01/2014 05:47 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > test/litest-bcm5974.c | 147 ++- > test/litest-generic-highres-touch.c | 128 > test/litest-keyboard.c | 231 > +-

Re: [PATCH libinput 4/5] test: allow partial overriding the test devices

2014-04-01 Thread Hans de Goede
Hi, On 04/01/2014 05:47 AM, Peter Hutterer wrote: > For specific tests we need something that e.g. looks like a touchpad, but has > a different name, a different number of slots, etc. In this case, the > following code will do exactly that: > > struct input_absinfo overrides[] = { > { .value = A

Re: [PATCH libinput 3/5] test: allow for description-based test devices

2014-04-01 Thread Hans de Goede
Hi, On 04/01/2014 05:47 AM, Peter Hutterer wrote: > Most of the test devices now are static descriptions anyway, make them fully > static now, including for touch events. > > Switch the synaptics device now as example, the rest comes later for easier > patch review. > > Signed-off-by: Peter Hutt

Re: [PATCH libinput 2/5] test: if no teardown func is set, use the default

2014-04-01 Thread Hans de Goede
Hi, On 04/01/2014 05:47 AM, Peter Hutterer wrote: > Reduces the amount of boilerplate code. > > Signed-off-by: Peter Hutterer > --- > test/litest-bcm5974.c | 2 +- > test/litest-generic-highres-touch.c | 2 +- > test/litest-keyboard.c | 2 +- > test/litest-mouse.c

Re: [PATCH v2 libinput 1/5] test: add litest helper functions for creating uinput devices

2014-04-01 Thread Hans de Goede
Hi, On 04/01/2014 05:47 AM, Peter Hutterer wrote: > Both functions accept a series of event types/codes tuples, terminated by -1. > For the even type INPUT_PROP_MAX (an invalid type otherwise) the code is used > as a property to enable. > > The _abs function als takes an array of absinfo, with ab

Re: [PATCH libinput 0/9] Improvements for clickpad touchpads

2014-04-01 Thread Hans de Goede
Hi Peter, So as you requested I've been looking at your wip/clickpad-improvements branch. I've been mostly reading the code / patches and here is a long list of comments : 1) I like the state-machine concept, and having a diagram. I think this is a good way to deal with this, otherwise we will en