Re: [PATCH] protocol: remove redundant 'the' in description

2014-05-22 Thread Pekka Paalanen
On Fri, 23 May 2014 07:26:56 +0200 Silvan Jegen wrote: > Signed-off-by: Silvan Jegen > --- > protocol/wayland.xml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/protocol/wayland.xml b/protocol/wayland.xml > index 22eb6e7..113c7b7 100644 > --- a/protocol/wayland.xm

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Peter Hutterer
On Fri, May 23, 2014 at 02:30:45AM -0400, Jasper St. Pierre wrote: > On Fri, May 23, 2014 at 2:19 AM, Peter Hutterer > wrote: > > > On Fri, May 23, 2014 at 01:40:49AM +0200, Carlos Garnacho wrote: > > > Hi, > > > > > > First of all, I'm sorry I dropped the ball this long. It's great to see > > >

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Jasper St. Pierre
On Fri, May 23, 2014 at 2:19 AM, Peter Hutterer wrote: > On Fri, May 23, 2014 at 01:40:49AM +0200, Carlos Garnacho wrote: > > Hi, > > > > First of all, I'm sorry I dropped the ball this long. It's great to see > > you've been doing some progress. > > > > On jue, 2014-05-22 at 01:17 -0400, Chandler

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Peter Hutterer
On Fri, May 23, 2014 at 01:40:49AM +0200, Carlos Garnacho wrote: > Hi, > > First of all, I'm sorry I dropped the ball this long. It's great to see > you've been doing some progress. > > On jue, 2014-05-22 at 01:17 -0400, Chandler Paul wrote: > > Hi! Sorry this took so long to write, I've been spe

[PATCH] protocol: remove redundant 'the' in description

2014-05-22 Thread Silvan Jegen
Signed-off-by: Silvan Jegen --- protocol/wayland.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 22eb6e7..113c7b7 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -550,8 +550,8 @@ The current and

[PATCH libinput 2/4] test: restore log priority after each test

2014-05-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/log.c | 12 1 file changed, 12 insertions(+) diff --git a/test/log.c b/test/log.c index 0c5508f..b8cc767 100644 --- a/test/log.c +++ b/test/log.c @@ -74,6 +74,7 @@ END_TEST START_TEST(log_handler_invoked) { struct libinput *li; +

[PATCH libinput 4/4] Replace log_bug with per-component bug macros

2014-05-22 Thread Peter Hutterer
When we knowingly hit a bug, we should know what the bug is caused by. Log that in a standardized fashion. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 8 src/evdev.c | 8 src/libinput-private.h | 4 +++- 3 files changed, 11 i

[PATCH libinput 1/4] Remove old touchpad code

2014-05-22 Thread Peter Hutterer
With the addition of software buttons for clickpads, the new touchpad code has overtaken this driver in terms of features. The older driver was disabled in 6a6103262530d8fca66ee3847d5664824158c12b. Signed-off-by: Peter Hutterer --- src/Makefile.am | 1 - src/evdev-touchpad.c | 831 ---

[PATCH libinput 3/4] test: disable CK_FORK for the valgrind runs

2014-05-22 Thread Peter Hutterer
I'm not sure what exactly is happening here, but while valgrind seems to run fine in normal mode, the build from make distcheck fails with rather random errors. Disabling CK_FORK seems to help, but more investigation is needed. Meanwhile, this makes distcheck succeed again. Signed-off-by: Peter Hu

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Thu, May 22, 2014 at 4:55 PM, Carlos Garnacho wrote: > Hi Ping! > > On lun, 2014-04-21 at 18:03 -0700, Ping Cheng wrote: >> Benjamin is right. Those are absolute values. Most Linux applications >> do not use those extra values. But, there are in-house applications >> need those values. I'll hav

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Wed, May 21, 2014 at 10:17 PM, Chandler Paul wrote: > 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

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Benjamin Tissoires
On Thu, May 22, 2014 at 1:17 AM, Chandler Paul wrote: > 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 u

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hi Ping! On lun, 2014-04-21 at 18:03 -0700, Ping Cheng wrote: > Benjamin is right. Those are absolute values. Most Linux applications > do not use those extra values. But, there are in-house applications > need those values. I'll have to ask around to give you some use cases > if you are intereste

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hey Jason, On jue, 2014-05-22 at 11:17 -0700, Jason Gerecke wrote: > On Wed, May 21, 2014 at 10:17 PM, Chandler Paul wrote: > > 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 wante

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hi, First of all, I'm sorry I dropped the ball this long. It's great to see you've been doing some progress. On jue, 2014-05-22 at 01:17 -0400, Chandler Paul wrote: > 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 al

Re: [PULL] libinput clickpad improvements

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 03:22:47PM +0200, Hans de Goede wrote: > Hi Peter, > > Please pull from my personal libinput git repo for the > libinput clickpad improvements we've been working on: > > The following changes since commit 40bae41159d9694c4089aedc58e2abd261f8106f: > > configure.ac: libin

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

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:35:23AM -0700, Bill Spitzak wrote: > On 05/21/2014 03:09 PM, Thierry Reding wrote: > >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 cons

[PATCH weston 2/5] desktop-shell: add set_panel_position to help place views onscreen

2014-05-22 Thread Jonny Lamb
Panels are always assumed to be on the top edge of the output. If this is not the case views will be placed under the panel, wherever it is, and maximize doesn't use the correct space allocated for views. By telling the server on which edge the panel is located, it can correctly calculate where to

[PATCH weston 3/5] desktop-shell: use panel location to calculate correct sizes and ranges

2014-05-22 Thread Jonny Lamb
Now the client can let us know where the panel is using desktop_shell.set_panel_position, we can correctly calculate where to put new views and how big maximized views should be. --- desktop-shell/shell.c | 229 ++ 1 file changed, 173 insertions(+),

[PATCH weston 4/5] animation: ensure repaints are always scheduled during animations

2014-05-22 Thread Jonny Lamb
Animations are run off the repaint cycle so if there's nothing to repaint, an animation will stop running. This is usually not a problem as each frame function of an animation causes something to change and therefore a repaint to happen. This patch helps detect when the animation isn't in said case

[PATCH weston 0/5] desktop-shell tweaks for maynard shell

2014-05-22 Thread Jonny Lamb
These patches were written in the development of the Maynard desktop shell client for the Raspberry Pi: https://github.com/raspberrypi/maynard They're quite simple and deal with: 1. fixing weston_move_scale_run() after it was broken a while ago, 2. putting the panel somewhere other than th

[PATCH weston 1/5] animation: fix move scale animation

2014-05-22 Thread Jonny Lamb
Both weston_move_scale_run() and weston_slide_run() were broken in commit 3a869019. Commit a4a6f161 fixed and explained the problem for weston_slide_run() but weston_move_scale_run() remained broken. To fix weston_move_scale_run(), weston_view_animation_run() is also required. It was removed when

[PATCH weston 5/5] desktop-shell: make background applications less dark

2014-05-22 Thread Jonny Lamb
--- desktop-shell/shell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 51683ee..a5886d7 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -911,21 +911,21 @@ animate_focus_change(struct desktop_shell *s

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Chandler Paul
On Thu, 2014-05-22 at 11:17 -0700, Jason Gerecke wrote: > On Wed, May 21, 2014 at 10:17 PM, Chandler Paul wrote: > > 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 su

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Jason Gerecke
On Wed, May 21, 2014 at 10:17 PM, Chandler Paul wrote: > 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

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

2014-05-22 Thread Bill Spitzak
On 05/21/2014 03:09 PM, Thierry Reding wrote: 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 --m

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

2014-05-22 Thread Bill Spitzak
I started out using a script somebody wrote to build on Debian. But I had to edit it considerably as dependencies changed and eventually I reverted to pretty much cut & paste of the configure lines. It also installed about 100 packages, many of which were not needed (either unused or because I

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Jason Gerecke
On Thu, May 22, 2014 at 8:45 AM, Bill Spitzak wrote: >>>- One device has 2 strips, which report on ABS_RX/RY (radial??). >>> Min/max >>> are 0..4096, but the reported values are 1,2,4,8,16... So >>> effectively >>> a log2 scale, or more graphically a bit shifting over a bunch of 0s,

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

2014-05-22 Thread Bill Spitzak
On 05/22/2014 12:01 AM, Pekka Paalanen wrote: It looks about right to me. Mesa should stay, because quite probably many distributions do not yet enable Wayland support in it, and we might still get development there. Xserver needs to stay, because 1.16 has not been released yet, it receives acti

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

2014-05-22 Thread Jasper St. Pierre
It's # yum install 'pkgconfig(foo)'; not # yum install 'pkg-config(foo)' The inconsistent hyphenation is annoying. On Thu, May 22, 2014 at 6:15 AM, Peter Hutterer wrote: > On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: > > On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalane

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

2014-05-22 Thread Bill Spitzak
On 05/21/2014 03:24 PM, Peter Hutterer wrote: 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 al

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Bill Spitzak
- One device has 2 strips, which report on ABS_RX/RY (radial??). Min/max are 0..4096, but the reported values are 1,2,4,8,16... So effectively a log2 scale, or more graphically a bit shifting over a bunch of 0s, which is somewhat more resembling to the physical action on the stri

[PULL] libinput clickpad improvements

2014-05-22 Thread Hans de Goede
Hi Peter, Please pull from my personal libinput git repo for the libinput clickpad improvements we've been working on: The following changes since commit 40bae41159d9694c4089aedc58e2abd261f8106f: configure.ac: libinput 0.2 (2014-05-22 08:10:42 +0200) are available in the git repository at:

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

2014-05-22 Thread Hans de Goede
Hi, On 05/22/2014 03:45 AM, Peter Hutterer wrote: > 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 Goed

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

2014-05-22 Thread Hans de Goede
On 05/22/2014 05:35 AM, Peter Hutterer wrote: > 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 unt

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

2014-05-22 Thread Hans de Goede
Hi, On 05/22/2014 07:11 AM, Peter Hutterer wrote: > 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 >> i

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

2014-05-22 Thread Hans de Goede
Hi, On 05/22/2014 08:05 AM, Peter Hutterer wrote: > 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

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

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: > On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: > > 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

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

2014-05-22 Thread Thierry Reding
On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: > 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 tha

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

2014-05-22 Thread Pekka Paalanen
On Wed, 21 May 2014 12:17:29 -0700 Bill Spitzak wrote: > On 05/21/2014 02:30 AM, Pekka Paalanen wrote: > > > Yeah, nowadays Weston can work with a released version of xkbcommon, so > > we could remove the git-clone part, and have a link to its home page. > > > > Collecting links to depended-on p