Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / 
libinput


Commits:
62a04b5d by makepost at 2019-01-07T00:26:34Z
README: update documentation links

Got 404s and placeholders saying that pages have moved.

(cherry picked from commit 5f39f0bf6f495f7d62e35e77981a78978eac9658)

- - - - -
a2f411bc by Peter Hutterer at 2019-01-07T00:27:07Z
tools: measure-fuzz: fix exception printing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/libinput/libinput-measure-fuzz", 
line 464, in <module>
    main(sys.argv)
  File "/usr/lib/x86_64-linux-gnu/libinput/libinput-measure-fuzz", 
line 458, in main
    print('Error: {}'.format(e.message))
AttributeError: 'InvalidConfigurationError' object has no attribute 
'message'

Signed-off-by: Peter Hutterer <[email protected]>:
(cherry picked from commit a904738730297f202d8c9d5fcfa092b0c41f7ee5)

- - - - -
0cfabd6d by Thomas Sailer at 2019-01-07T00:27:18Z
Asus VivoBook Flip 14 TP412UA tablet mode switch misbehaving

(cherry picked from commit 988d5b63287e5606f0c851ab3308e755bfac7d67)

- - - - -
bb070251 by Peter Hutterer at 2019-01-07T00:27:22Z
doc: fix doxygen references for libinput_get_user_data

Signed-off-by: Peter Hutterer <[email protected]>
(cherry picked from commit a60b5b0f8f2108538a9426bac8f3f3f6b7894bad)

- - - - -
c730840a by Thomas Sailer at 2019-01-07T00:27:25Z
ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not 
touchpads. This commit changes that.

(cherry picked from commit f9ec9b8f8d9e4ae18f9b8b3d7d602563eb0960e7)

- - - - -
7d25d9e1 by Peter Hutterer at 2019-01-07T00:35:11Z
libinput 1.12.5

Signed-off-by: Peter Hutterer <[email protected]>

- - - - -
abc0dfbd by Nathaniel Roach at 2019-01-21T00:39:38Z
quirks: don't disable keyboard device for Acer Spin 5 when in tablet mode

As with some other convertible devices, the keyboard is disabled by the system 
when the device is in tablet mode.
The volume control keys on the side of the unit are not, but still appear from 
the keyboard to the system.
Don't disable the keyboard when in tablet mode.

Tested working.

(cherry picked from commit eb0b48151f6c7be6f02053937dfe6911d2b7268f)

- - - - -
806b0908 by Christoffer Holmstedt at 2019-01-21T00:39:42Z
quirks: add ModelBouncingKeys for Contour RollerMouse

The Contour RollerMouse have a button for "double click" which 
emulates
a double click. The two clicks are so close together that with libinput
heuristics it looks like a worn-out button and triggers debouncing
functionality.

This commit adds support for the RollerMouse Free 2 and RollerMouse
Re:d.

Fixes libinput/libinput#204

(cherry picked from commit fc029e3fb5fbb5415fa129bcea26b1d08878ac0e)

- - - - -
bd1f8c85 by Peter Hutterer at 2019-01-21T00:39:51Z
doc/user: fix a leftover html tag

Signed-off-by: Peter Hutterer <[email protected]>
(cherry picked from commit e453a2bf3ea05672c5da03eb1296f5c3171e3a19)

- - - - -
be762cc4 by Peter Hutterer at 2019-01-21T00:39:55Z
tools: document show-keycodes option for libinput-record

Signed-off-by: Peter Hutterer <[email protected]>
(cherry picked from commit c8599ea2ae68a35b39b94753725ffc793f959a6e)

- - - - -
9da9118e by Peter Hutterer at 2019-01-21T00:47:13Z
libinput 1.12.6

Signed-off-by: Peter Hutterer <[email protected]>

- - - - -
4e0ff479 by Timo Aaltonen at 2019-01-23T11:31:16Z
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
018a50ab by Timo Aaltonen at 2019-01-23T11:31:49Z
bump the version

- - - - -
d7876c8d by Timo Aaltonen at 2019-01-23T11:51:53Z
release to unstable

- - - - -


11 changed files:

- README.md
- debian/changelog
- doc/user/reporting-bugs.rst
- meson.build
- + quirks/30-vendor-contour.quirks
- quirks/50-system-acer.quirks
- quirks/50-system-asus.quirks
- src/evdev-mt-touchpad.c
- src/libinput.h
- tools/libinput-measure-fuzz.py
- tools/libinput-record.man


Changes:

=====================================
README.md
=====================================
@@ -15,11 +15,11 @@ User documentation
 ------------------
 
 Documentation explaining features available in libinput is available
-[here](https://wayland.freedesktop.org/libinput/doc/latest/pages.html).
+[here](https://wayland.freedesktop.org/libinput/doc/latest/features.html).
 
-This includes the 
[FAQ](https://wayland.freedesktop.org/libinput/doc/latest/faq.html)
+This includes the 
[FAQ](https://wayland.freedesktop.org/libinput/doc/latest/faqs.html)
 and the instructions on
-[reporting 
bugs](https://wayland.freedesktop.org/libinput/doc/latest/reporting_bugs.html).
+[reporting 
bugs](https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html).
 
 
 Source code
@@ -32,7 +32,7 @@ For a list of current and past releases visit:
 https://www.freedesktop.org/wiki/Software/libinput/
 
 Build instructions:
-https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html
+https://wayland.freedesktop.org/libinput/doc/latest/building.html
 
 Reporting Bugs
 --------------
@@ -49,11 +49,11 @@ for more info.
 Documentation
 -------------
 
-- Developer API documentation: 
https://wayland.freedesktop.org/libinput/doc/latest/modules.html
+- Developer API documentation: 
https://wayland.freedesktop.org/libinput/doc/latest/development.html
 - High-level documentation about libinput's features:
-  https://wayland.freedesktop.org/libinput/doc/latest/pages.html
+  https://wayland.freedesktop.org/libinput/doc/latest/features.html
 - Build instructions:
-  https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html
+  https://wayland.freedesktop.org/libinput/doc/latest/building.html
 - Documentation for previous versions of libinput: 
https://wayland.freedesktop.org/libinput/doc/
 
 Examples of how to use libinput are the debugging tools in the libinput


=====================================
debian/changelog
=====================================
@@ -1,8 +1,9 @@
-libinput (1.12.4-2) UNRELEASED; urgency=medium
+libinput (1.12.6-1) unstable; urgency=medium
 
+  * New upstream release.
   * control: Fix typos in descriptions. (Closes: #916458)
 
- -- Timo Aaltonen <[email protected]>  Tue, 18 Dec 2018 13:03:42 +0200
+ -- Timo Aaltonen <[email protected]>  Wed, 23 Jan 2019 13:51:42 +0200
 
 libinput (1.12.4-1) unstable; urgency=medium
 


=====================================
doc/user/reporting-bugs.rst
=====================================
@@ -228,7 +228,7 @@ device capabilities together with the event stream from the 
kernel. On our
 side, this allows us to recreate a virtual device identical to your device
 and re-play the event sequence, hopefully triggering the same bug.
 
-evemu-record takes a <tt>/dev/input/eventX</tt> event node, but without 
arguments
+evemu-record takes a ``/dev/input/eventX`` event node, but without arguments
 it will simply show the list of devices and let you select: ::
 
      $ sudo evemu-record > scroll.evemu


=====================================
meson.build
=====================================
@@ -1,5 +1,5 @@
 project('libinput', 'c', 'cpp',
-       version : '1.12.4',
+       version : '1.12.6',
        license : 'MIT/Expat',
        default_options : [ 'c_std=gnu99', 'warning_level=2' ],
        meson_version : '>= 0.41.0')
@@ -251,6 +251,7 @@ quirks_data = [
        'quirks/10-generic-trackball.quirks',
        'quirks/30-vendor-aiptek.quirks',
        'quirks/30-vendor-alps.quirks',
+       'quirks/30-vendor-contour.quirks',
        'quirks/30-vendor-cyapa.quirks',
        'quirks/30-vendor-elantech.quirks',
        'quirks/30-vendor-huion.quirks',


=====================================
quirks/30-vendor-contour.quirks
=====================================
@@ -0,0 +1,11 @@
+[Contour Design RollerMouse Free 2]
+MatchVendor=0x0b33
+MatchProduct=0x0401
+MatchUdevType=mouse
+ModelBouncingKeys=1
+
+[Contour Design RollerMouse Re:d]
+MatchVendor=0x0b33
+MatchProduct=0x1000
+MatchUdevType=mouse
+ModelBouncingKeys=1


=====================================
quirks/50-system-acer.quirks
=====================================
@@ -3,3 +3,7 @@ MatchName=AT Translated Set 2 keyboard
 MatchDMIModalias=dmi:*svnAcer:pnSwitchSA5-271:*
 ModelTabletModeNoSuspend=1
 
+[Acer Spin 5]
+MatchName=AT Translated Set 2 keyboard
+MatchDMIModalias=dmi:*svnAcer:pnSpinSP513-52N:*
+ModelTabletModeNoSuspend=1
\ No newline at end of file


=====================================
quirks/50-system-asus.quirks
=====================================
@@ -17,3 +17,15 @@ AttrPressureRange=24:10
 MatchName=*ETPS/2 Elantech Touchpad*
 MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnUX302LA:*
 AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
+
+# Asus VivoBook Flip 14 TP412UA tablet switch seems misbehaving, always
+# indicating tablet position
+[Asus TP412UA Keyboard]
+MatchName=AT Translated Set 2 keyboard
+MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnVivoBookFlip14_ASUSFlipTP412UA:*
+ModelTabletModeNoSuspend=1
+
+[Asus TP412UA Touchpad]
+MatchName=*ELAN*Touchpad*
+MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnVivoBookFlip14_ASUSFlipTP412UA:*
+ModelTabletModeNoSuspend=1


=====================================
src/evdev-mt-touchpad.c
=====================================
@@ -2504,6 +2504,10 @@ tp_pair_tablet_mode_switch(struct evdev_device *touchpad,
        if (touchpad->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD)
                return;
 
+       if (evdev_device_has_model_quirk(touchpad,
+                                        QUIRK_MODEL_TABLET_MODE_NO_SUSPEND))
+               return;
+
        evdev_log_debug(touchpad,
                        "tablet_mode_switch: activated for %s<->%s\n",
                        touchpad->devname,


=====================================
src/libinput.h
=====================================
@@ -3159,7 +3159,8 @@ libinput_set_user_data(struct libinput *libinput,
  *
  * @param libinput A previously initialized libinput context
  * @return The caller-specific data previously assigned in
- * libinput_create_udev().
+ * libinput_set_user_data(), libinput_path_create_context() or
+ * libinput_udev_create_context().
  */
 void *
 libinput_get_user_data(struct libinput *libinput);


=====================================
tools/libinput-measure-fuzz.py
=====================================
@@ -455,7 +455,7 @@ def main(args):
     except PermissionError as e:
         print('Permission denied, please re-run as root')
     except InvalidConfigurationError as e:
-        print('Error: {}'.format(e.message))
+        print('Error: {}'.format(e))
     except KeyboardInterrupt as e:
         print('Exited on user request')
 


=====================================
tools/libinput-record.man
=====================================
@@ -53,6 +53,10 @@ This option requires that a
 \fB\-\-output-file\fR is specified and that all devices to be recorded are
 given on the commandline.
 .TP 8
+.B \-\-show\-keycodes
+Show keycodes as-is in the recording. By default, common keys are obfuscated
+and printed as \fBKEY_A\fR to avoid information leaks.
+.TP 8
 .B \-\-with-libinput
 Record libinput events alongside device events.
 .B THIS FEATURE IS EXPERIMENTAL.



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libinput/compare/da86d066c609a7f4521ac6ff0b8b029ccce32a69...d7876c8d59fe4bf9508268b405d3b04e644bf925

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libinput/compare/da86d066c609a7f4521ac6ff0b8b029ccce32a69...d7876c8d59fe4bf9508268b405d3b04e644bf925
You're receiving this email because of your account on salsa.debian.org.

Reply via email to