Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
It's pulled in by some dependency anyway, but for the sake of being explicit,
pull it in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
This way we can send a message to the user, a simple abort() isn't informative
enough.
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/54
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/62
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
The current /dev/input/* check isn't reliable enough. So rather than adding
extra heuristics prone to fail add an environment variable that says "do not
run the test suite runner". All other tests are run since they do not
require/modify any specific system setup.
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/62
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/60
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Makes things easier when users save it as yml file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Missing from 9873d68bf1f93b424f920a8c095e3d3ee7d3fdf5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/57
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/48
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
In favour of the device quirks system.
Fixes #55
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/49
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/48
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Print the "has no quirks" to stderr to keep stdout tidy.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Possibly a typo, who knows.
https://gitlab.freedesktop.org/libinput/libinput/issues/46
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Removed from the udev properties in a55693f87c58c24b6866ed0f38c5470124be3df7
but survived here while the branch was in process.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
"/usr/include/math.h", line 381: error #20: identifier "_Float32" is undefined
# define _Mdouble_ _Float32
Same for a few others. Since we don't actually need those anyway, we can just
cast those to the some close-enough sizes. We don't have stdint.h in config.h
and meson cannot have a custom #include line in the config object. So let's go
with what does the job for now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matheus Santana <embs@cin.ufpe.br>
|
|
The ssize_t cast upsets coverity for some reason but we can be a lot more
restrictive here anyway. Quick analysis of the zalloc calls in the test suite
show the largest allocation is 9204 bytes.
Let's put a cap on for one MB, anything above that is likely some memory
corruption and should be caught early.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matheus Santana <embs@cin.ufpe.br>
|
|
This will only catch a segfault or some other bug since we don't actually look
at the output. But that's still better than not running it at all.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes a memory leak that prevents us from running list-devices in valgrind.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
My kingdome for a compiler warning. Or a scan-build warning. Or a coverity
warning. Or anything... But no, nothing.
Also make the open_restricted() more robust to a NULL userdata, because
effectively that's what we were passing here.
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/50
Introduced in 0a13223c39fdf0f079715bf83d498c0dcd9cf4f8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
According to multiple sources, referenced in
https://engineering.facile.it/blog/eng/continuous-deployment-from-gitlab-ci-to-k8s-using-docker-in-docker/
The garbage collector of the registry won't clean up docker images that
still have blob references. We should clean up the manifests instead
of simply overwriting the tag.
Note: this requires to set up a personal token with api access from the
maintainers in the form of (for instance): "PERSONAL_TOKEN_bentiss"
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
There is no point in login in to the registry if there is no need to
create a new docker image.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Leftover from a previous iteration of this code - having a static but
unnecessarily large size for dirname results in:
../test/litest.c:1251:38: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
snprintf(dest, sizeof(dest), "%s/%s", dirname, filename);
^
../test/litest.c:1251:3: note: ‘snprintf’ output 2 or more bytes (assuming 4097) into a destination of size 4096
snprintf(dest, sizeof(dest), "%s/%s", dirname, filename);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Ooops, this clearly didn't get tested and now aborts libinput list-quirks
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/47
This reverts commit 2c4f963b18ff7f36cc14994c8b18bc4e4754ddde.
|
|
Found by coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
The values are the same and this is ABI so they will never change. Make the
cast explicit for coverity's benefit.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Also fixes a coverity complaint about incrementing an uninitialized variable.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
We don't need the full repo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Replaced with the quirks files in merge commit
000ac14c27f1920fc84c0ecb1512eb7495e67634
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
This has been replaced with the GitLab CI in the repository proper. Circle CI
was ony ever run on a private github repo.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
These (probably) all disable the mechanical keyboard anyway, so let's keep it
enabled to be able to access the screen keys, if any.
https://gitlab.freedesktop.org/libinput/libinput/issues/39
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Just in case we need it
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Got lost in the hwdb to quirks conversion
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|