[ANNOUNCE] libinput 0.2

2014-05-21 Thread Jonas Ådahl
A new release of libinput, 0.2, is available. The most significant change since 0.1 is the introduction of the new multi touch touchpad driver by Peter Hutterer, replacing the old one from weston. While there are improvements already in the queue, please test and file bugs you find. Other than th

Re: [PATCH libinput 2/2] touchpad: Make pointer movements a bit faster by default

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 11:19:50PM +0200, Jonas Ådahl wrote: > Alter the so far hard coded parameters a bit to make the pointer > acceleration profile accelerate the pointer movement a bit more than > before. This is much better on both the x220 and the t440s. The only problem I see is that on the

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Pekka Paalanen
On Thu, 22 May 2014 00:18:23 +0200 Thierry Reding wrote: > On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: > [...] > > > I have to tell you that such one-line-at-a-time cut & paste is > > > unbelievably tedious, and my b

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Pekka Paalanen
On Thu, 22 May 2014 08:24:04 +1000 Peter Hutterer wrote: > > And that becomes a pretty generic guide on "How > > to build software", so if there is a site which already explains all > > these basics, we can link to it, but I don't think we should write that > > guide on the Wayland site. > > > >

Re: [PATCH libinput v3 02/17] touchpad: after a click, lock the finger to its current position

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 04:34:50PM +0200, Hans de Goede wrote: > From: Peter Hutterer > > On clickpads, clicking the pad usually causes some motion events. To avoid > erroneous movements, lock the finger into position on the click and don't > allow for motion events until we move past a given thr

Re: [PATCH libinput 0/24] Tablet support

2014-05-21 Thread Chandler Paul
Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good stuff, and I wanted to make sure I had a decent understanding of it before I actually wrote up a response. On Mon, 2014-04-21 at 19:11 +0200, Carlos Garnac

Re: [PATCH libinput v3 07/17] touchpad: Only enable clickfingers on Apple touchpads

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 04:34:55PM +0200, Hans de Goede wrote: > From: Peter Hutterer > > Apple touchpads don't have visible markings for the software button areas > that almost all other vendors use. OS X provides clickfinger behaviour > instead, where a click with two fingers on the touchpad ge

Re: [PATCH libinput v3 09/17] touchpad: Rework is_pointer handling

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 04:34:57PM +0200, Hans de Goede wrote: > We don't want touches in the button area to cause the pointer to move. So > instead of making a touch the pointer when it moves to TOUCH_BEGIN, wait > with making it the pointer until its buttons state moves to BUTTON_STATE_AREA. > >

Re: [PATCH libinput v3 11/17] touchpad: Ignore non left clicks on clickpads

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 04:34:59PM +0200, Hans de Goede wrote: > We should never get any non left button events on clickpads, but if we > do these might confuse our state, so complain about it and ignore these. > > Signed-off-by: Hans de Goede > Reviewed-by: Peter Hutterer > --- > src/evdev-mt-

[PATCH] shell: Tiling wm proof of concept

2014-05-21 Thread Kristian Høgsberg
--- Jasper and have been talking about how one could implement a tiling wm by using the 'maximized' state in xdg-shell and I decided to give it a quick try. This is obviously a bit crude, but it was done in a couple of hours. It supports two tiling layouts: all vertical split: http://people.fr

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 07:58:59AM -0400, Jasper St. Pierre wrote: > Fedora has this built-in: > > # yum install 'pkgconfig(laalaa.pc)' > > And that becomes a pretty generic guide on "How > to build software", so if there is a site which already explains all > these basics, we can link to it, b

Re: [PATCH weston] comp-wayland: use safe foreach when destroying outputs

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 09:20:02AM -0700, U. Artie Eoff wrote: > wl_list_for_each dereference's output to increment the > next iteration of the loop. However, output is free'd > inside the loop resulting in a dereference to free'd > memory. > > Use wl_list_for_each_safe instead, which is designed

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: [...] > > I have to tell you that such one-line-at-a-time cut & paste is > > unbelievably tedious, and my biggest screwups when trying this on a > > second machine was when I

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 02:54:36PM -0700, Bill Spitzak wrote: > On 05/21/2014 02:16 PM, Thierry Reding wrote: > > >While I agree with the other points, I think it's perfectly consistent > >for --version to output the version of pkg-config itself. There's > >--modversion if you want to query the ve

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 12:17:29PM -0700, Bill Spitzak wrote: > On 05/21/2014 02:30 AM, Pekka Paalanen wrote: [...] > >Would that not cause the main build guide to become a mixture of > >apt-get, emerge, yum, pacman, aptitude etc. commands? Where the > >complete set of commands would never work on

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Bill Spitzak
On 05/21/2014 02:16 PM, Thierry Reding wrote: While I agree with the other points, I think it's perfectly consistent for --version to output the version of pkg-config itself. There's --modversion if you want to query the version of a given package. It's fine that "pkg-config --version" prints

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Thierry Reding
On Tue, May 20, 2014 at 01:12:32PM -0700, Bill Spitzak wrote: [...] > The biggest hint would be to print something with the word "pkg-config" in > it. Then I would have the secret password that would lead me to a man page > that would tell me what is going on. > > Please print the package name the

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Bill Spitzak
On 05/21/2014 02:30 AM, Pekka Paalanen wrote: But pkg-config is *the* standard way of finding build dependencies during a build. How can you not know about it? I never used it before and have not encountered it until I tried to compile freedesktop.org stuff. Configure was done by testing fo

[PATCH weston] Apply output transform to the cursor while copying into a plane

2014-05-21 Thread Neil Roberts
Previously if the output had a transform then the cursor plane would be disabled. However as we have to copy the cursor image into a buffer with the CPU anyway it probably won't cost much extra to also apply the transform in the process and then we can avoid disabling the plane. If the transform i

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Bill Spitzak
On 05/20/2014 11:23 PM, Peter Hutterer wrote: pkg-config has an awful lot of bugs and gnu-isms, fixing them would help: 1. If I type "pkg-config --verision foo" I want the version of foo. Or an error message. Don't print the pkg-config version. Holy crap. 2. Add an option to print where it foun

[PATCH weston] comp-wayland: use safe foreach when destroying outputs

2014-05-21 Thread U. Artie Eoff
wl_list_for_each dereference's output to increment the next iteration of the loop. However, output is free'd inside the loop resulting in a dereference to free'd memory. Use wl_list_for_each_safe instead, which is designed to handle this kind of pattern. Signed-off-by: U. Artie Eoff --- src/co

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Emilio Pozuelo Monfort
On 20/05/14 22:12, Kristian Høgsberg wrote: > Hi, > > I tagged 1.5.0 of Wayland and Weston and uploaded tar balls last > night. Tarballs available from > http://wayland.freedesktop.org/releases.html as usual. Magic SHA1 > number for the tags and tar balls: > > bace08b4a531ea4b80b4cf4e953320bc

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Pekka Paalanen
On Wed, 21 May 2014 09:43:17 +0100 Frank Binns wrote: > On 20/05/14 21:12, Kristian Høgsberg wrote: > > Hi, > > > > I tagged 1.5.0 of Wayland and Weston and uploaded tar balls last > > night. Tarballs available from > > http://wayland.freedesktop.org/releases.html as usual. Magic SHA1 > > numbe

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-21 Thread Pekka Paalanen
On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: > On 05/19/2014 11:55 PM, Pekka Paalanen wrote: > > > What is the target audience of the build guide? > > Somebody who wants to contribute to wayland. > > I have been writing Linux software in C/C++ and OpenGL for about 20 > years now, in

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Hardening
Le 20/05/2014 22:12, Kristian Høgsberg a écrit : Hi, [...] Going forward, for master, I'd like to change the work flow a bit. The biggest problem with how we work today is me being a bottleneck at best or flat out dropping patches. So I'd like to open up commit access to some of the key co

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Frank Binns
On 20/05/14 21:12, Kristian Høgsberg wrote: Hi, I tagged 1.5.0 of Wayland and Weston and uploaded tar balls last night. Tarballs available from http://wayland.freedesktop.org/releases.html as usual. Magic SHA1 number for the tags and tar balls: bace08b4a531ea4b80b4cf4e953320bc48ed7efe way

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Pekka Paalanen
On Tue, 20 May 2014 13:12:55 -0700 Kristian Høgsberg wrote: > Going forward, for master, I'd like to change the work flow a bit. > The biggest problem with how we work today is me being a bottleneck at > best or flat out dropping patches. So I'd like to open up commit > access to some of the key

Re: Wayland and Weston 1.5.0 is released

2014-05-21 Thread Giulio Camuffo
2014-05-20 23:12 GMT+03:00 Kristian Høgsberg : > Hi, > > I tagged 1.5.0 of Wayland and Weston and uploaded tar balls last > night. Tarballs available from > http://wayland.freedesktop.org/releases.html as usual. Magic SHA1 > number for the tags and tar balls: > > bace08b4a531ea4b80b4cf4e953320b