xf86-input-synaptics:master: 6 commit(s)

Peter Hutterer whot at kemper.freedesktop.org
Sun Dec 11 17:16:26 PST 2011


Reporting from xf86-input-synaptics: xf86-input-synaptics driver

Please visit:
    http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics
Or get your own copy by using:
    git-clone git://anongit.freedesktop.org/xorg/driver/xf86-input-synaptics

6 commits against master at cefc85ad...:
 src/eventcomm.c    |   45 ++++++++++++++-------------
 src/properties.c   |   18 +++++++++-
 src/synaptics.c    |   88 ++++++++++++++++++++++++++++++++++++++++++++---------
 src/synapticsstr.h |   11 ++++++
 4 files changed, 125 insertions(+), 37 deletions(-)


commit b7e65f04f5f0c17ac8a26393134cc7e8418ccdec
Author: Cyril Brulebois <kibi at debian.org>
Date:   Mon Dec 12 01:35:27 2011 +0100

    Revert: "eventcomm: replace synaptics-custom TEST_BIT with server's BitIsOn."
    
    This commit reverts 13543b156d78bc4d01a19844a5ee8f283269621b
    
    As seen in Debian's #648488, this switch causes a regression on
    PowerPC, especially seen on iBook G4 with appletouch. Take a defensive
    stance and revert back to a working state until things have been figured
    out and fixed properly.
    
    Since things have evolved and since that revert triggers a lot of
    conflicts, the following method was applied:
     - manual reintroduction of the 3 removed macros: OFF, LONG, TEST_BIT
     - coccinelle semantic patch to revert from BitIsOn to TEST_BIT
    
    Coccinelle semantic patch:
      @@
      expression a,b;
      @@
      -BitIsOn(a,b)
      +TEST_BIT(b,a)
    
    Bugzilla: http://bugs.debian.org/648488
    Signed-off-by: Cyril Brulebois <kibi at debian.org>

diffstat:
    src/eventcomm.c |   43 +++++++++++++++++++++++--------------------
    1 file changed, 23 insertions(+), 20 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04


commit 0cd5a77c3a455e942929eb4d5412fa51630ed13f
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Nov 30 09:59:37 2011 +1000

    If protocol is auto-dev and the device path is set, unset the protocol
    
    The remainder of the handling code will take try through all protocols,
    taking the device into account (as of
    xf86-input-synaptics-1.4.0-34-g241254e)
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

diffstat:
    src/synaptics.c |    7 +++++++
    1 file changed, 7 insertions(+)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04


commit d1301412d7b7acd6325f0561c109f2b8e1c7a999
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Nov 30 09:39:12 2011 +1000

    Return true/false from SetDeviceAndProtocol
    
    Instead of requiring the caller to know which private field indicates
    failure, just return true on success or false on failure.
    
    No functional change.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Chase Douglas <chase.douglas at canonical.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

diffstat:
    src/synaptics.c |    7 ++++---
    1 file changed, 4 insertions(+), 3 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04


commit 2603ad69b997c999404ecc441e0d64ea2cc22018
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Tue Oct 18 15:46:03 2011 +1000

    Use the scroll distances as increment for scrolling valuator axes
    
    XI2.1 allows an 'increment' for each scrolling variable. Use that instead of
    hiding it away inside the driver.
    
    For circular scrolling, the increment is the one of the respective scrolling
    axis.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/properties.c |   18 ++++++++++++++++--
    src/synaptics.c  |   20 ++++++++++----------
    2 files changed, 26 insertions(+), 12 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04


commit 4f46057a33b20df62d919e49a394ab6cb7aa6aa1
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:03:11 2011 +0100

    Scroll: Initial smooth scrolling support
    
    Post smooth-scrolling events through the new X server API when
    available, rather than legacy jerky button events.
    
    [Amended to use the final smooth scrolling API]
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Amendments-by: Peter Hutterer <peter.hutterer at who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   58 ++++++++++++++++++++++++++++++++++++++++++++++---
    src/synapticsstr.h |   11 +++++++++
    2 files changed, 66 insertions(+), 3 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04


commit 15bef1f7092d37aeaa916ed7642ae3b6e684660c
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Oct 21 16:52:57 2011 +1000

    eventcomm: print strerror(errno), not of rc
    
    Found by coverity.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dirk Wallenstein <halsmit at t-online.de>

diffstat:
    src/eventcomm.c |    2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=b7e65f04




More information about the xorg-commit mailing list