-
56859804
by Peter Hutterer
at 2018-11-07T05:03:52Z
path: don't leak the udev device on failure
If by sheer coincidence the device succeeds on the last try, we'd have a
leaking udev device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
22890a47
by Peter Hutterer
at 2018-11-07T05:03:52Z
tools: handle sigint in debug-gui
Exit with success on SIGINT
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
bd52bf54
by Peter Hutterer
at 2018-11-07T05:03:52Z
tools: debug-events: install the signal handler before any libinput operations
On a CI container, we will time out trying to find the udev device for our
device node. This takes 2s, a SIGINT during this time should be treated the
same as one during the mainloop.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
36af7d31
by Peter Hutterer
at 2018-11-07T05:03:52Z
tools: make the tools exit with exit code 2 on usage issues
This makes it easier to test for usage issues
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5cd27b07
by Peter Hutterer
at 2018-11-07T05:03:52Z
tools: add a test for tool option parsing
We don't check for correctness in the output as such, just that whatever
combination of cmdline arguments still works/doesn't work. This is the
scaffolding and a few tests, but needs to be filled in, especially for
libinput measure and for some more complex combinations.
valgrind: requires one more python-related suppression
gitlab-ci: requires another environment variable so we know to skip the
--device tests (udev will time out on those)
meson: skip the test run in release builds, we pass the full path to the built
libinput tool but rely on the subtool lookup that won't work in a
release build
Fixes #174
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4e469291
by Peter Hutterer
at 2018-11-07T05:03:52Z
tools: let debug-events take a device path
This is the most common use-case other than "all from udev", so let's just
parse a device path correctly without requiring --device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
b033bc26
by Peter Hutterer
at 2018-11-07T05:22:20Z
tools: draw evdev events in the debug-gui
Listen to the pure evdev events from each device and print them. This makes it
slightly easier to associate certain jumps with the output, or otherwise see
that events are coming in even when libinput doesn't seem to process them
anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
51ffff36
by Peter Hutterer
at 2018-11-09T00:10:58Z
meson: increase timeout for the option parsing test
I've had runs with up to 50s, so let's cap it at 2 minutes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
3bb62c97
by Arick McNiel-Cho
at 2018-11-23T21:10:15Z
Added quirk for HP Spectre x360 Convertable 15-bl1xx touchpad.
-
d9c82dbb
by Peter Hutterer
at 2018-11-27T01:28:18Z
doc/user: bugzilla → gitlab issue
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
ad50a947
by Thomas Profitt
at 2018-11-27T22:14:07Z
quirks: Adjust MacBookPro11,2 touchpad PalmSize
The touchpad is 104mmx75mm, but an AttrPalmSizeThreshold of 800 is too
aggressive, and even relatively-small fingers and thumbs register as
palms sporadically, stopping the mouse until you lift your hand and try again.
1600 was chosen because it's the point at which my fingers and thumbs,
held at a very low angle, stop registering as palms, so it should
acommodate bigger fingers.
I don't know if the [Apple Touchpads USB] default of 800 needs to be
updated too, or if it's a quirk of this particular touchpad.
-
4cb54af7
by Benjamin Tissoires
at 2018-11-28T00:56:44Z
GitLab CI: replace occurrences of docker by container
We want to move away from docker, so let's not reference docker everywhere
when we can use a generic term
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
f92a8a7e
by Benjamin Tissoires
at 2018-11-28T00:56:44Z
GitLab CI: use buildah/podman instead of docker
well, docker has licensing issues, and the version shipped in
Fedora is getting quite old now.
We have a free open source alternative through buildah/podman/skopeo.
Build our building image in the CI too, so updates can
be achieved by just triggering the bootstrap job.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
c104f4fb
by Benjamin Tissoires
at 2018-11-28T00:56:44Z
GitLab CI: use extends to simplify declaration of jobs
The build stage gets simpler:
- we define one high level build job
- for each type of distro, we subclass the high-level job with the
distribution image
- then we subclass the previous jobs into specific release versions
or specific items to check
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
cbc447a1
by Benjamin Tissoires
at 2018-11-28T00:56:44Z
GitLab CI: Fix clean up stage
we need to get the authorization token with the gitlab address, not
the registry.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
a679ab76
by Peter Hutterer
at 2018-12-04T06:44:16Z
gitlab CI: fix ubuntu version for 18.04
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
3a4f7ccf
by Peter Hutterer
at 2018-12-04T06:44:57Z
gitlab CI: switch Ubuntu 17.10 to test 18.10 instead
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
dbe41d80
by Peter Hutterer
at 2018-12-11T02:37:40Z
Drop explicit version requirement for libevdev
The minimum version of libevdev we require is so old that we really don't need
an explicity requirement here anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
0cd65cf3
by Peter Hutterer
at 2018-12-13T02:06:53Z
quirks: add a quirk for the Lenovo T480s clickpad
It's missing INPUT_PROP_BUTTONPAD but working kernel drivers prove to be
elusive. Meanwhile, add a quirk here that force-enables this bit.
Fixes #177
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
7396ac52
by Josh Holland
at 2018-12-15T13:57:29Z
Fix typos in README.md
-
c32bd79a
by Peter Hutterer
at 2018-12-19T05:51:29Z
filter: fix typo in comment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
96a0e8ed
by Peter Hutterer
at 2018-12-19T05:55:42Z
tools: don't apply config options on device removed
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5f39f0bf
by makepost
at 2018-12-22T17:56:21Z
README: update documentation links
Got 404s and placeholders saying that pages have moved.
-
99bb0ee7
by makepost
at 2018-12-22T17:58:16Z
util: fall back to strtod if no locale in libc
uClibc-ng has experimental locale support but it's incomplete and
disabled by default, for example in Hardened Gentoo.
Fixes #63
-
a9047387
by Peter Hutterer
at 2019-01-02T04:59:48Z
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 <peter.hutterer@who-t.net>:
-
447551aa
by Peter Hutterer
at 2019-01-02T04:59:48Z
tools: measure-fuzz: downgrade the fuzz mismatch error to just a warning
Related to #199
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
b11fe3e9
by Peter Hutterer
at 2019-01-02T04:59:48Z
tools: measure-fuzz: fix a typo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
29e83bcf
by Peter Hutterer
at 2019-01-02T04:59:48Z
tools: measure-fuzz: slightly expand the help
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
b8a04553
by Peter Hutterer
at 2019-01-02T15:24:04Z
tools: libinput-record: record the hid report descriptor where available
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
988d5b63
by Thomas Sailer
at 2019-01-02T23:19:32Z
Asus VivoBook Flip 14 TP412UA tablet mode switch misbehaving
-
a60b5b0f
by Peter Hutterer
at 2019-01-03T02:03:39Z
doc: fix doxygen references for libinput_get_user_data
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f9ec9b8f
by Thomas Sailer
at 2019-01-03T09:15:14Z
ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not touchpads. This commit changes that.
-
6d683213
by Peter Hutterer
at 2019-01-04T03:53:37Z
include: update input-event-codes.h to v4.19
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
62bcac30
by Peter Hutterer
at 2019-01-04T03:53:37Z
test: add test devices for the Cintiq Pro 16
Reconstructed from the HID descriptors here:
https://github.com/linuxwacom/wacom-hid-descriptors/tree/master/Wacom Cintiq Pro 16/
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
eb0b4815
by Nathaniel Roach
at 2019-01-08T02:24:16Z
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.
-
fc029e3f
by Christoffer Holmstedt
at 2019-01-13T09:37:04Z
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
-
4516ba97
by Peter Seiderer
at 2019-01-15T05:46:51Z
meson.build: enable CPP include check only in case CPP compiler is available
Drop hard meson C++/CPP dependency, only needed for the build-time
header inclusion test, build the test only in case C++/CPP compiler
is available.
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9ae2506c
by Peter Hutterer
at 2019-01-15T23:34:29Z
Update gitlab templates for label renames
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
e453a2bf
by Peter Hutterer
at 2019-01-15T23:37:10Z
doc/user: fix a leftover html tag
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c8599ea2
by Peter Hutterer
at 2019-01-17T00:00:30Z
tools: document show-keycodes option for libinput-record
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
029c0b19
by Peter Hutterer
at 2019-01-17T02:32:48Z
doc: correct a slightly ambiguous @ref wording
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c9728d84
by Peter Hutterer
at 2019-01-17T02:32:48Z
doc: add missing @ref
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d9338b00
by Konstantin Kharlamov
at 2019-01-17T06:10:37Z
evdev: inline evdev_log_msg_va
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
-
15e64b7b
by Konstantin Kharlamov
at 2019-01-17T10:08:14Z
evdev: don't execute snprintf if not gonna print
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
-
c67c3872
by Peter Hutterer
at 2019-01-18T01:01:31Z
test: clarify a confusing comment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9b42872e
by Peter Hutterer
at 2019-01-18T01:01:31Z
test: don't enable tapping for the touch arbitration test
Looks like a copy/paste error.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d4e6a6aa
by Peter Hutterer
at 2019-01-18T01:01:31Z
test: fetch the is-touchpad in arbitration tests from a input property
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
89877734
by Peter Hutterer
at 2019-01-18T01:01:31Z
test: store the device type in the test device struct
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d8f1be4f
by Peter Hutterer
at 2019-01-18T01:01:31Z
test: automate the tablet pairing for the arbitration tests
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
8630e0ef
by Peter Hutterer
at 2019-01-18T01:09:53Z
test: run the 'keep ignoring' arbitration tests on the cintiqs as well
Not 100% why this one was only run on the intuos, but I suspect by accident.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c4129240
by Peter Hutterer
at 2019-01-18T04:31:53Z
quirks: enforce uppercase hex numbers
No specific reason other than consistency.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
59dee41b
by Furkan Tokac
at 2019-01-29T03:19:57Z
test: Missing test cases for palm detection based on touch size
Missing tests are written.
-
b4e97f68
by Peter Hutterer
at 2019-01-30T23:47:52Z
meson.build: bump to 1.12.900
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6f1595a2
by Peter Hutterer
at 2019-01-31T00:10:21Z
meson.build: replace manual checks with cc.has_function()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
50744153
by Peter Hutterer
at 2019-01-31T05:09:44Z
evdev: cancel the button scroll timer on device removed
If a device was removed while a button was held down and within the timeout,
the timer was never cancelled (and removed from the timer list), triggering an
assert during device removal.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c75c00da
by Peter Hutterer
at 2019-01-31T05:09:44Z
fallback: when force-releasing keys, release them directly
An emulated button is recorded as BTN_MIDDLE in the key down mask. If the
device is removed in that state, the BTN_MIDDLE event processed triggers
an assertion when we try to send out the event twice.
Fixes #201
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
afbb90da
by Peter Hutterer
at 2019-01-31T05:09:44Z
test: add an additional final libinput_dispatch()
After the test device was removed, run one more libinput_dispatch(). This may
catch some errors that happen due to the device removal that were ignored for
now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
34b49d51
by Peter Hutterer
at 2019-01-31T05:09:44Z
evdev: cancel the middle button timer on device removed
If a middle-button-emulating device is removed with one button down, the timer
never gets cancelled and triggers an assert during device removal.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
e8625ef8
by Peter Hutterer
at 2019-01-31T05:09:44Z
test: add a test for normal touchpad button presses
Probably covered elsewhere in a more generic test anyway but let's have one we
know is executed for all touchpads.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
caa8f3fe
by Peter Hutterer
at 2019-01-31T05:09:44Z
touchpad: release all button presses on device suspend
This leaves a bug open, on a Lenovo T440 generation touchpad with top software
buttons, the button will not be leased correctly. This is caused by
device->is_suspended=true by the time we try to clear the state and the
button events thus getting filtered.
This used to affect all touchpads, this patch just moves it so it only affects
the T440-like devices now.
Fixes #233
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
ab1dbcc9
by Peter Hutterer
at 2019-01-31T05:17:28Z
fallback: add timer-based touch arbitration
When a hand is resting on a pen+touch device, lifting the hand may remove the
stylus from proximity before the hand leaves the surface. If the kernel
performs touch arbitration, this triggers a touch down on proximity out,
followed by a touch up immediately after when the hand stops touching.
This can cause ghost touch events. Prevent this by using a timer-based
arbitration toggle.
Same as 2a378beab032d742770e24a6822378faa90cf1f6 but for the fallback
interface.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
794bff8a
by Peter Hutterer
at 2019-01-31T05:17:28Z
test: add a LITEST_DIRECT feature for the wacom cintiqs
Currently unused, but will be used in later patches
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d3595908
by Peter Hutterer
at 2019-01-31T05:17:28Z
evdev: introduce a touch arbitration enum
This enables us to change the types of touch arbitration, with the focus on
allowing location-based touch arbitration as well as the more generic "disable
everything".
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
72560e03
by Peter Hutterer
at 2019-01-31T05:17:28Z
fallback: force the palm state to PALM_NONE on touch begin
If we don't have tool-based palm detection, make sure our touch is labelled as
"not palm" during touch down. Otherwise that slot remains on palm forever if
it gets tagged as palm through some other means.
This currently has no effect, nothing in the code would label the touch as
palm. This is prep work for better touch arbitration.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f325ca92
by Peter Hutterer
at 2019-01-31T05:17:28Z
evdev: add a rectangle to the touch arbitration
This enables us to specify the location that needs to be arbitrated, rather
than just disabling the whole device altogether. This patch just adds the
hooks, no implementation.
This is internal API only, one backend can specify an area in mm which gets
converted to device coordinates in the target device and arbitrated there.
Right now, everything simply passes NULL.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f612c1ef
by Peter Hutterer
at 2019-01-31T05:17:28Z
tablet: add tilt-based touch arbitration for screen tablets
If the tilt angle on tip down is not 0 set the touch arbitration to a
rectangle around the assumed position of the hand. This assumed position is
right of the tip for a rightwards tilt and left of the tip for a leftwards
tilt (i.e. left-handed mode). The rectangle is 200x200mm with a 20x50mm
NW of the tip or NE for left-handed. In other words, if the period below is
the tip, the rectangle looks like this:
+-----------+ +-----------+
| . | <- for rightwards tilt | . |
| | | |
| | | |
| | for leftwards tilt -> | |
+-----------+ +-----------+
Touches within that rectangle are canceled, new touches are ignored. As the
tip moves around the rectangle is updated but touches are only cancelled on
the original tip down. While the tip is down, new touches are ignored in the
exclusion area but pre-existing touches are not cancelled.
This is currently only implemented in the fallback interface, i.e. it will
only work for Cintiqs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6a720eb5
by Jan Beich
at 2019-02-03T09:28:58Z
meson.build: gnu90 alias for gnu89 may not be supported
cc1: error: unrecognized command line option "-std=gnu90"
-
fbe7abfd
by Peter Hutterer
at 2019-02-03T23:56:45Z
test: up the ratelimit tests to 1000ms
This fails too often on the gitlab runners, so let's expand the times.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
89b9d1bc
by Benjamin Poirier
at 2019-02-04T02:04:56Z
evdev: Rename some debouncing functions for consistency
All other similar functions are named with the "_handle_event" postfix.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fdf896a7
by Peter Hutterer
at 2019-02-04T23:53:23Z
quirks: add a quirk to ignore unreliable tablet mode switch devices
On the Asus Vivobook Flip 14, the tablet mode switch is unreliable and always
on. Instead of marking every device as 'do not suspend', just mark the tablet
switch itself.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6edf2ed5
by Peter Hutterer
at 2019-02-05T23:38:29Z
fallback: fix a comment typo
-
b64828e7
by Peter Hutterer
at 2019-02-06T04:22:02Z
filter: drop an unused function and an unused struct
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5222920d
by Peter Hutterer
at 2019-02-06T04:22:03Z
pad: rename the include guard
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
eb48a9e9
by Peter Hutterer
at 2019-02-07T04:58:59Z
evdev: fix a a compiler warning
Implicit enum conversion
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
e87780e8
by Peter Hutterer
at 2019-02-07T05:01:33Z
udev: drop unused function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d7f67f4e
by Peter Hutterer
at 2019-02-07T06:26:48Z
meson.build: define HAVE_LOCALE_H
Regression introduced in 99bb0ee7cb35f7d7a932e7cf28885782bad17613,
HAVE_LOCALE_H isn't defined by default, we need to set it manually.
Reported-by: Pascal Kockwelp
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
3a89f95b
by Pascal Kockwelp
at 2019-02-10T23:02:28Z
quirks: add a quirk for the Lenovo L380 (Yoga) clickpad
-
4353ed91
by Peter Hutterer
at 2019-02-11T03:35:53Z
udev: restrict the seat ID to 256 characters
Anything longer than that is likely a bug.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
df527b07
by Peter Hutterer
at 2019-02-11T03:35:53Z
path: limit path device nodes to PATH_MAX characters
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
11428d19
by Peter Hutterer
at 2019-02-11T03:46:31Z
include: add MT_TOOL_DIAL to freebsd's input.h
Missing from 6d683213dbbf17ee0e03138802bb071efb6944cd
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6bbe03a0
by Peter Hutterer
at 2019-02-11T03:46:31Z
Add a bit() macro
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
7db3233f
by Peter Hutterer
at 2019-02-11T03:46:31Z
Drop the AS_MASK macro, replace with bit
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
faeaee5f
by Peter Hutterer
at 2019-02-11T03:46:31Z
timer: print the timers still in the list before the assert
Helps a lot with debugging if we know which timer is still there during
cleanup.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
8b761e2f
by Peter Hutterer
at 2019-02-11T03:46:31Z
fallback: cancel the arbitration timer on device remove
When the touch arbitration is reset to ARBITRATION_NOT_ACTIVE, the proximity
timer is set for 90ms to avoid erroneous touches (see 2a378beab for the
reason).
If the device is removed within those 90ms, the timer is never cancelled,
leading to an assert on cleanup.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c3cc370a
by Peter Hutterer
at 2019-02-13T04:46:04Z
gitlab CI: update arch linux source image
The old one is deprecated (and removed), new one is archlinux/base which also
now requires the diffutils package.
The new one apparently doesn't come with /var/cache/pacman/pkg and it's
not created, so pacman clean exits with an error, breaking the build.
Simply create that directory and everything is hunky, though dory remains
elusive.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
eb514794
by Peter Hutterer
at 2019-02-13T06:53:51Z
touchpad: fix typo in comment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
3d8daf99
by Peter Hutterer
at 2019-02-13T06:53:51Z
test: remove hwdb leftovers
We don't write hwdb entries anymore, so let's drop any reference to it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
790a301d
by Peter Hutterer
at 2019-02-13T07:26:54Z
tools: debug-gui: show cancelled touches as unfilled circles
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
335fe99a
by Peter Hutterer
at 2019-02-13T07:26:54Z
tools: debug-gui: move the lmr button handling into a substruct
No functional changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5b85cf06
by Peter Hutterer
at 2019-02-13T07:26:54Z
tools: draw other buttons in the debug-gui
Buttons that aren't lmr are drawn in a separate button square now with the
name as it comes from the kernel. This only handles one button at a time, but
it'll do for debugging.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
e038a223
by Peter Hutterer
at 2019-02-13T08:45:04Z
tools: draw the tablet before the touch points
On the Dell Canvas Totem, the tool will cancel existing touch points and to
visually debug that, we need the touchpoints to be drawn over the tool.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9abc55e4
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: make litest robust for ABS_MT_POSITION_X-only devices
The Dell Canvas Totem only has the MT axes but not the single touch ones. Make
sure we copy the axis extents correctly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
11dd6462
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: mark all current tablets as having a hover feature
The totem, also a tablet tool, is a tool that is always tip-down and does not
support hovering so we need to be able to distinguish this for tests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
1f903784
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: set LITEST_HOVER for all tests that require the hover feature
Where we test for changes on tip state, we need the hover feature
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
626b5bd0
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: fix the tablet motion test
This test had a loop around the proximity events, so in theory we could've
sent two proximity-in events and still get a positive test.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
29c82107
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: fix the tablet relative delta test
These numbers just happened to add up correctly for the motion history to
produce a zero delta for a diagonal movement. Fix it by adding extra events to
flush out any motion history leftovers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
067b5be1
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: skip the tablet pressure test if we don't have pressure
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
19aac0e4
by Peter Hutterer
at 2019-02-13T08:45:04Z
test: add another helper to discard specific events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c1ee05fb
by Peter Hutterer
at 2019-02-14T03:02:13Z
tools: debug-gui: move the pointer delta code to draw_pointer
Not sure why this was in draw_tablet(), probably copy/paste
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f954cb29
by Peter Hutterer
at 2019-02-14T03:02:13Z
tools: debug-gui: add a previously unbalanced cairo_restore()
And remove some of the unnecessary ones
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
e0008d3d
by Peter Hutterer
at 2019-02-14T03:08:51Z
tools: debug-gui: change the tablet color
Grey isn't pretty enough
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f636506d
by Diep Pham
at 2019-02-14T05:29:25Z
add quirk for Lenovo X1 Carbon 4th Trackpoint
-
9ffc869f
by Peter Hutterer
at 2019-02-14T06:59:16Z
doc/user: swap udevadm hwdb for systemd-hwdb
The latter has more obvious handling of hwdb matches. With udevadm hwdb a glob
may take precedence over a hwdb entry even if the latter is sorted later.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fa94f756
by Diep Pham
at 2019-02-14T13:56:02Z
Lenovo X1 Carbon 6th Trackpoint
-
fb030532
by Peter Hutterer
at 2019-02-14T22:35:52Z
test: remove unreachable code
When the loop was reduced to BTN_DIGI only, it guaranteed that the BTN_STYLUS
condition was no longer met.
Found by coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
1228fab8
by Peter Hutterer
at 2019-02-14T22:38:02Z
test: check for a non-null libinput in the new udev_create_seat_too_long test
Found by coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9b18adc4
by Peter Hutterer
at 2019-02-14T22:42:15Z
test: replace != NULL checks with ck_assert_notnull
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
087e75dc
by Peter Hutterer
at 2019-02-18T05:53:46Z
doc/user: replace evemu with libinput-record in the documentation
Fixes #220
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5dae7aac
by Henré Botha
at 2019-02-19T00:37:05Z
Reduce button scroll timeout to 38ms
When using button scrolling, a hardcoded delay of 200 milliseconds between
button down and scroll events being emitted makes fast scrolling gestures feel
clunky and sometimes fail entirely. This feature comes from
xf86-input-mouse, was copied into xf86-input-evdev and reimplemented in
libinput.
This was, as far as can be determined, to allow right clicks without
triggering scrolling. libinput now also has distance triggers (2bbf4a0117624)
and sends button events if no movement has happened for long clicks,
regardless of the delay.
The 200ms delay is thus not really necessary anymore, let's drop it to 38ms
which is just above the 3-event threshold for 8/10/12ms intervals which is
most devices.
Fixes #237
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fa73b3b3
by Benjamin Poirier
at 2019-03-04T04:48:22Z
evdev: Do not perform spurious detection when spurious is already enabled
When exiting RELEASE_DELAYED state, do not transition into states to detect
the need for spurious mode (RELEASE_WAITING, MAYBE_SPURIOUS).
RELEASE_DELAYED is only entered when spurious mode is enabled, there is no
need to detect the need for spurious mode again.
-
1272db29
by Peter Hutterer
at 2019-03-04T04:54:27Z
tools: record: print a helpful error message when we don't have devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
43cbae6c
by Peter Hutterer
at 2019-03-04T05:47:27Z
fallback: fix grammar in comment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d213804d
by Peter Hutterer
at 2019-03-04T05:47:27Z
tools: group the scroll bits into a struct
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
1150a844
by Peter Hutterer
at 2019-03-04T05:47:27Z
tools: display the discrete axis steps too
Draw a second smaller scroll bar that moves with every discrete step. For that
to work, we have to accumulate the value from the normal scroll events until
we get the first discrete one, then move up.
The value per discrete event changes depending on the click wheel angle, so we
can't just use discrete on its own if we want the two scroll bars aligned.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9a2d6f55
by Peter Hutterer
at 2019-03-06T01:30:59Z
include: sync kernel headers for v5.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
dc5c80d3
by Peter Hutterer
at 2019-03-12T05:10:15Z
doc/user: correct the test suite runner invocation
With meson this is now in the build directory
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f618390a
by Peter Hutterer
at 2019-03-12T05:10:15Z
doc/user: put an extra note in regarding the test suite
Running the test suite runner is good, but not sufficient, a full ninja test
is required to get the full coverage.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
87abdf1f
by Peter Hutterer
at 2019-03-12T05:10:15Z
test: minor warning message change
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5a05e419
by Peter Hutterer
at 2019-03-12T05:10:15Z
test: clip the exit code to 255
If more than 255 tests fail, we're returning an exit code outside of the POSIX
standard. This only takes effect for -j1, where we fork off we only ever have
a failed value of 1 anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d7282a3d
by Peter Hutterer
at 2019-03-12T05:10:15Z
tools: skip the option parsing test during valgrind
We don't want to valgrind through python...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fefddeda
by Peter Hutterer
at 2019-03-14T01:28:00Z
test: add --help to the test suite runner
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c879b47b
by Peter Hutterer
at 2019-03-14T01:28:04Z
test: split the test-specific #defines out
These don't need to be in the libinput config.h
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
27188228
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: install the test device udev rule from a string
It's a one-liner, we don't need this as a separate file. Plus, this makes the
test suite runner less dependent on the build directory.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4e0a3628
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: split up the quirks installations
No functional changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c0f4ede0
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: split the library version test out
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
bda69ad6
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: move the double assert macros to a separate header
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
cbbd5b15
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: split out the unit tests into a separate test suite
All the bits that test for utility functions to work correctly can be run
separately from the main test suite (which tests devices and libinput in
general). These bits here are the ones that test the code itself and aren't
reliant on anything else.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d4f5faae
by Peter Hutterer
at 2019-03-14T01:28:05Z
tools: move the builddir lookup function out to a separate file
We want to use this from the tests as well soon, so let's move it to a more
generic location. This also changes the API to be slightly more sensible, a
free() is the same cost (and safer) than passing a static buffer in and hoping
we didn't get the size wrong.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
2df11f87
by Peter Hutterer
at 2019-03-14T01:28:05Z
test: add an option to skip installing our quirks into the test system
This allows us to run the test suite runner against the installed system
rather than always using the build tree quirks.
The actual option will be removed in a future commit, it is just here for
commit consistency and testing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
be7045cd
by Peter Hutterer
at 2019-03-14T02:04:22Z
test: make the test suite runner available as installed binary
Available as 'libinput test-suite'. This also renames the bit in the build
directory now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d77a42a8
by Peter Hutterer
at 2019-03-14T05:14:30Z
libinput 1.12.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
a4b9813b
by Peter Hutterer
at 2019-03-15T02:01:51Z
tools: flake8 fixes, typo fixes and missing exception handling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
b8123db0
by Peter Hutterer
at 2019-03-15T04:10:39Z
meson.build: make valgrind optional
Now that we're providing the test suite as installed option, distributions
will likely include it as a test package. valgrind is only used for the
meson-specifc test setup. So let's make it optional.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c741a42a
by Feldwor
at 2019-03-17T21:45:43Z
Set TouchPad Pressure Range for Toshiba L855
-
a88d73ce
by Paolo Giangrandi
at 2019-03-18T08:45:00Z
touchpad: multitap state transitions use the same timing used for taps
Multitap sequences (more than 2 taps) had a 180ms timer set only on press,
not on release.
New taps within those 180ms could either trigger multitap+drag or another
multitap (for N+1 taps), resetting the timer on press once again.
If no new tap appears within those 180ms, the sequence was considered
complete.
This behavior differed from regular taps: for the very first tap of a
sequence the timer was set both on touch and on release.
The multitap timing caused misdetection of triple-tap-and-drag sequences as
the timer was hit frequently. Some of those were correctly detected, others
as tripletap only.
Changing the timer to be set on press **and** release gives us a more lenient
timeout. 180ms for tap-and-drag and 180ms for the next tap down after
release. This was also the behavior for the xorg synaptics driver.
Note that quadruple-tap-and-drag didn't suffer from this because the timeout
resulted in double-tap + double-tap-and-drag. Which has the same
user-visible effect.
-
5e798a2a
by Benjamin Poirier
at 2019-03-21T01:07:59Z
evdev: Rename button up and down states to mirror each other
The button up debouncing states mirror the button down states with the
addition of the spurious debouncing states. Rename the states to better
show this symmetry.
-
c11810a4
by Peter Hutterer
at 2019-03-21T05:19:46Z
libinput 1.12.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
661a6d01
by Konstantin Kharlamov
at 2019-03-21T20:57:03Z
evdev: fix "always false" comparison
Fixes "Comparison is always false because rc >= 0." warning by LGTM.
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
-
3a8631a8
by Konstantin Kharlamov
at 2019-03-21T21:02:24Z
evdev: remove unnecessary comparison
All "goto err" resides after fd have been properly initialized.
Fixes "Comparison is always true because fd >= 0." warning by LGTM.
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
-
566d73aa
by Peter Hutterer
at 2019-03-22T03:21:22Z
test: don't install our normal rules file in installed mode
When running the test-suite, don't install our rules for device groups and
model quirks - they're expected to be present already.
Plus, since we copy them from the meson build dir, we don't have
those files available anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5a041de7
by Peter Hutterer
at 2019-03-22T03:21:22Z
test: drop remnants of the test device udev rules
Removed with 27188228fdef10707c61f822db57bf0d3d568682 but we still had the
meson define being set.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
11adaadd
by Peter Hutterer
at 2019-03-22T06:23:17Z
test: let the device custom create method return a bool
This is so we can tell litest to create the device anyway, useful for when all
we have to do in the custom create is allocate some memory.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
44702e94
by Peter Hutterer
at 2019-03-22T06:23:17Z
test: switch the protocol A test device to be an actual protocol A device
This device mostly behaved like a normal touch device except for
SYN_MT_REPORT. Switch it to behave like a real protocol A device and adjust
the test accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
2edc7e37
by Peter Hutterer
at 2019-03-22T06:23:17Z
test: mark the protocol A device as touch device
Now that we're emulating everything correctly, let's mark it as proper touch
device.
Two test cases need to be excluded:
- double-down triggers an assert in the test device because this isn't
possible this way with protocol A devices
- the axisrange warning test can't be triggered, mtdev clips those axes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
26702e4d
by Peter Hutterer
at 2019-03-25T05:15:13Z
Fix three coverity complaints
Two resource leaks, one uninitialized variable.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5d7c93a3
by Peter Hutterer
at 2019-03-27T06:01:10Z
doc/api: improve readability of the API docs
Still not great and probably makes any professional designer's eyes bleed, but
at least it's more readable now.
Changes:
- spacing after param name so they don't cuddle up with the description
- color changes and background image removals to drop the doxygen default look
- font size changes to not make things overrun
- font family change to make the function prototypes readable
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
79293ea4
by Peter Hutterer
at 2019-03-28T05:47:31Z
tools: fix the tool option parse test to handle unittest arguments
Pass arguments we don't handle directly through to the unittest module. This
way we can filter tests with -k testname etc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
56dfa2f6
by Peter Hutterer
at 2019-03-28T05:47:31Z
test: fix tool option parsing tests for signals
Not sure how this ever worked correctly: a process terminated by a signal has
the negative signo as return code. This would apply to every debug-events and
debug-gui test because they have to get killed by a signal. This failed
occasionally, presumably a race with the GTK startup/signal handler/whatever.
Fix this by a) sending SIGQUIT because that won't get handled by the tools and
b) prending that if we get a -SIGQUIT exit code, everything is fine.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
31d1aa7f
by Peter Hutterer
at 2019-03-28T06:14:08Z
test: add another valgrind suppression for Python
This triggers on Fedora 30, even though skip skip the tools options test when
running under valgrind.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
8610c180
by Peter Hutterer
at 2019-03-28T23:39:30Z
libinput 1.13.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
cfa64f49
by Tobias Stoeckmann
at 2019-04-08T07:25:05Z
Removed whitespace from filename.
Having a whitespace at the end of a quirks file is not useful.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
(cherry picked from commit a46f7dff6bc411f0418365b825107bd9f0721cb2)
-
992a30f0
by Peter Hutterer
at 2019-04-08T07:25:07Z
meson.build: add the toshiba quirks file to the file list
Was added to git in c741a42aec91e6882c83f225c3061cf158fb9c82 but not added to
meson's file list.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 1b1a9f636f25ba87e3d872eb9c551dc69726b6f4)
-
90073ea0
by Peter Hutterer
at 2019-04-08T07:25:10Z
quirks: add a test to make sure all our quirks files are listed in meson
Simple diff between the file list and what ls gives us in the quirks
directory.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 72b3f657c4fb81a69b35158f0a7525078ceac443)
-
710b4a2f
by Peter Hutterer
at 2019-04-08T07:25:14Z
tools: record: increase value size to 6 digits
Tablets commonly have higher axis ranges, might as well make sure they line
up.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 247b2344a5cf957d0584a772437ea47015819b2e)
-
1e860c98
by Peter Hutterer
at 2019-04-08T07:25:24Z
doc/api: add since tags to all functions after 1.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 4bb2899d005d97c9bc0798b344b49d676ec3dd71)
-
c8ce949b
by Peter Hutterer
at 2019-04-08T07:25:27Z
doc/api: minor style changes
Reduces the size of the group name in the title.
Removes the background image from the navpath where it appears (file reference
page for example).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 199f179a3f88123513c4194aa6432022d5ae265e)
-
be5c7723
by Ian Douglas Scott
at 2019-04-08T07:25:33Z
Enable ModelTabletNoProximityOut quirk on HP Spectre 13-ap0xxx
Ideally, this should probably match a broader range of devices. But I'm
not sure what it should specify.
Fixes #261
(cherry picked from commit caadad75c079963e73f3cef1240e6f1335446c3b)
-
cbbac5eb
by Lubomir Rintel
at 2019-04-08T07:25:52Z
quirks: speed up the TrackPoint on the IBM USB UltraNav keyboard a bit
By default it's unbearably slow.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
(cherry picked from commit b31d842ac35c1f454368cafd59f29044a9546e17)
-
64d1fa77
by Benjamin Tissoires
at 2019-04-09T00:30:56Z
CI: remove the bootstrapping stage
We want to have a common repo for the containers templates.
So we can reuse the produced image from this repo and remove our custom
bootstrap image.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 93cec9197a278ae22287838dec7e633c0caa9824)
-
c6bcdcb0
by Benjamin Tissoires
at 2019-04-09T00:30:58Z
CI: heavily rework the container creation
Now everybody gets to rebuild their own containers if there is a change
(too old or change in the packages). This should allow the MR touching
the package list to succeed.
Removal of the container_check stage, we can just have this in a
before_script.
Removal of the manual creation of the containers, not needed as we better
just increment <DISTRO>_TAG.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit ab6536682bdad1cff785e6ac3e7df0ea67436b8b)
-
ffb779cf
by Benjamin Tissoires
at 2019-04-09T00:30:59Z
CI: clean up all but the correct tag
We should rely on the provided tag, not latest.
Move the clean stage at the end, there is no point in running it at
the beginning.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 5789e8b930f42f45b72d21c3fe448f1b40fca565)
-
1543d52a
by Benjamin Tissoires
at 2019-04-09T00:31:00Z
CI: use the template for fedora
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit e2cdc4efdd9f56534f370ec074b91f0200dad202)
-
9c715276
by Benjamin Tissoires
at 2019-04-09T00:31:01Z
CI: use templates for Arch
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 0ff4088aea1e653cc1ce68360d6b8c49b3dd6636)
-
ca0a00d3
by Benjamin Tissoires
at 2019-04-09T00:31:02Z
CI: use templates for Ubuntu
For ubuntu, we need to enable some special packages, so use a script.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 67cdd3d2d4893b973a1e2f3b1abfbce477c4918e)
-
6e7a52b8
by Benjamin Tissoires
at 2019-04-09T00:31:04Z
CI: do not rebuild the image for regular MR or pushes
We better not rebuild the image in regular operations unless there is a
strong need for it.
We can however set up a scheduled pipeline to rebuild the images once
a week or once a month in the upstream repo, and the forks will fetch
those new images when they need.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 51e66ab945af400c05a7c50814917e84ddf71a42)
-
0ae355ad
by Benjamin Tissoires
at 2019-04-09T00:31:05Z
CI: simplify the logic for rebuilding the containers
right now the check_if_older_than_a_week rule does (in pseudo-code):
- get timestamp of current image or 0
- get timestamp of upstream image or 0
- if upstream image is newer than current image
copy upstream image into current
- if we are in a scheduled pipeline, or if there is no current image
(timestamp of 0), rebuild the current image
The ci-templates if-not-exists rule does:
- if there is a current image, exit
- if there is an upstream image, copy it to current and exit
- rebuild
Having the following is equivalent to the current behaviour and
can be used instead of check_if_older_than_a_week:
- if there is an upstream image, copy it to current and exit
- if there is a current image, exit
- rebuild
Because what matters is:
forks should be running the upstream image if available
forks should be running the latest upstream image in the libinput case
forks should be able to rebuild the images if there is no upstream
(change of the image tag)
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit 6d96d417a01f53a62675c6804316d5fa760ea0c1)
-
424e27ff
by Peter Hutterer
at 2019-04-09T00:41:47Z
libinput 1.13.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
0488af4b
by Peter Hutterer
at 2019-05-01T04:06:41Z
tools: use American spelling for 'unrecognized'
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 80a52c28df26f1b592baa6240a5fe1343d18fafd)
-
c13567bb
by Jason Gerecke
at 2019-05-01T04:07:01Z
fallback: Fix ubsan runtime error
Running libinput-test-suite with -fsanitize=undefined highlights the two
following errors. Force C to realize we want an unsigned result by making
the '1' literal unsigned.
../src/evdev-fallback.c:314:22 runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
../src/evdev-fallback.c:377:24 runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
v2: use bit() instead of manual shift 1U<<1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit f589f4968fc0f08590655f69dc518c080df16be7)
-
88f0ad5a
by Sebastian Krzyszkowiak
at 2019-05-01T04:10:15Z
quirks: add a new Apple vendor ID for Bluetooth devices
Also, set a default AttrTouchSizeRange for Apple touchpads via Bluetooth
to match the one from the USB rule.
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
(cherry picked from commit a99793f2560f80d83a93559a8160f240abce13ec)
-
13e82c58
by Sebastian Krzyszkowiak
at 2019-05-01T04:10:19Z
evdev-mt-touchpad-buttons: use a model quirk instead of vendor ID to identify Apple devices
Recent Apple touchpads use a proper Bluetooth vendor ID assigned to Apple instead of the USB one,
so this code would have to check for two vendor IDs and their udev types. However, we already
have that matching done via models in quirks, so let's just use that.
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
(cherry picked from commit 7618c961a87cff83472471c803d533944d4413c0)
-
e5ab320b
by Sebastian Krzyszkowiak
at 2019-05-01T04:10:24Z
CI: update arch package list
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
(cherry picked from commit 48236ca174ee93678fc84fd57ce73b0e486ed6db)
-
9c781d07
by Peter Hutterer
at 2019-05-01T04:10:33Z
test: use identifiable shortnames for the Intuos5 devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 3542855902797abc0a5b246074640202eda77d3b)
-
a7736c03
by Peter Hutterer
at 2019-05-01T04:10:34Z
touchpad: rotate the touch part of tablets
Tablets in left-handed mode are rotated, so we need to rotate the touchpad
part of them too. This doesn't affect all tablets though, some of them are
symmetrical and the left-handed mode merely changes the button order around
(some of the earlier Bamboos). So we rely on libwacom to tell us which device
must be rotated.
The rotation itself is done on the input coordinate itself as we get it. This
way any software buttons, palm zones, etc. are automatically handled by rest
of the code.
Fixes #274
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 6229df184e8a03e76ba99483e7f9ecdd9ef02f4a)
-
df712c9d
by Peter Hutterer
at 2019-05-01T04:10:37Z
test: update valgrind suppressions for a glib leak
Fixed upstream, but it's not in F30 yet so the valgrind tests fail there.
https://gitlab.gnome.org/GNOME/glib/merge_requests/338
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c35e0e734f022ac1ae7e45c1f1066b2bfb351ee5)
-
652e8e4e
by Peter Hutterer
at 2019-05-02T01:12:04Z
Revert "Reduce button scroll timeout to 38ms"
This introduces a regression, see #265. Reverting until a better solution can
be found.
This reverts commit 5dae7aac3850f37088eaf71e07472d0b8e70922f.
(cherry picked from commit dd96d6b9007f42971db6bba558c955af4a3da4c7)
-
05eb41b8
by Peter Hutterer
at 2019-05-09T00:29:58Z
test: fix a bunch of tests expecting BTN_TOOL_TRIPLETAP
A device may have 1 or 2 slots without setting BTN_TOOL_TRIPLETAP, those
devices will fail those tests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 803a99ac05821f3dc43f6daf54eb33b57fda8b0b)
-
67312a7c
by Peter Hutterer
at 2019-05-09T00:29:58Z
test: fix the wacom bamboo touch device
Missing buttons caused it to fail sanity checks in some cases.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 632b0f741b367e0828a512a41092f10bbfc7375a)
-
3325b817
by Peter Hutterer
at 2019-05-09T00:29:58Z
libinput 1.13.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
9694d91f
by Peter Hutterer
at 2019-06-24T02:53:46Z
quirks: handle ID_INPUT_KEY as udev keyboard match
We handle that as keyboard in the evdev code, let's do so here as well.
Related to #291
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 5e3c45780f8e8fb79b5a0c0e05ba2849cbd56bb6)
-
6e60f8fb
by Peter Hutterer
at 2019-06-24T02:53:56Z
quirks: add trackpoint integration attribute
Some versions [1] of the Lenovo ThinkPad Compact USB Keyboard with TrackPoint USB
have the pointing stick on an event node that has keys but is not a regular
keyboard. Thus the stick falls through the cracks and gets disabled on tablet
mode switch. Instead of adding more hacks let's do this properly: tag the
pointing stick as external and have the code in place to deal with that.
[1] This may be caused by recent kernel changes
Fixes #291
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 8dfe8c68eb9bde9eecc7de5665903d258df42272)
-
473563ea
by René Genz
at 2019-06-24T02:54:03Z
doc/user: fix some typos
(cherry picked from commit 58ce4960e4d067a7604485441779474fd8597689)
-
7e70b0a1
by Peter Hutterer
at 2019-06-24T02:54:07Z
doc/api: more CSS styling
(cherry picked from commit fe4723294902beb07f6842014ebfc171d44b75da)
-
c68345f8
by Peter Hutterer
at 2019-06-24T02:54:15Z
udev: only change the fuzz on touchpads and touchscreens
If we don't handle a device, don't touch it. Especially joysticks that we
don't handle and thus should not touch either.
Related to !231
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 410b157e8487191a32acf5b3bf3811d40e96dac7)
-
200a863d
by Zach Moazeni
at 2019-06-24T02:54:18Z
Better Thinkpad T480 trackpoint multiplier
(cherry picked from commit 383a60abea8e8a2941ef2a33301f22b21cf56c75)
-
65052a92
by Alex Flowers
at 2019-06-24T02:54:51Z
quirks: add a quirk for the Lenovo X1 Yoga 1st gen
Signed-off-by: Alex Flowers <afpv72@gmail.com>
(cherry picked from commit 3a6d8c582ecf9aa473087fd94a317afe8a8684d7)
-
305387be
by timrichardson
at 2019-06-24T02:55:36Z
X230 trackpoint quirk
(cherry picked from commit 62936d8a41a4a05d532600e4cb7766b68cabb59b)
-
14dcc659
by Peter Hutterer
at 2019-06-24T02:55:45Z
doc: note that libinput measure is a separate package
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 3f557f72463a997643935a000687b8a34ecc0de1)
-
1bfbcd86
by Peter Hutterer
at 2019-06-24T03:14:34Z
libinput 1.13.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6c713c8f
by Peter Hutterer
at 2019-06-26T03:37:16Z
Revert "udev: only change the fuzz on touchpads and touchscreens"
This causes a regression - the ID_INPUT_* properties are not available through
libudev within a callout, the device we get here basically has no properties.
Reverts !231
This reverts commit 410b157e8487191a32acf5b3bf3811d40e96dac7.
(cherry picked from commit d6c075030dc4c834b21dfe2a37fb73851d22be2c)
-
d2f42220
by Peter Hutterer
at 2019-06-28T00:20:44Z
libinput 1.13.4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>