Peter Hutterer
d693eef563
doc: fix erroneous </dt>
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 11:42:49 +10:00
Peter Hutterer
7165a62e80
test: supress another bash warning
...
Failing the leftover-rules check in the valgrind stage because
==1491== Invalid read of size 16
==1491== at 0x5320AE8: __wcsnlen_sse4_1 (in /usr/lib64/libc-2.27.so)
==1491== by 0x5310AD1: wcsrtombs (in /usr/lib64/libc-2.27.so)
==1491== by 0x1AA403: ??? (in /usr/bin/bash)
==1491== by 0x1AB3E3: glob_filename (in /usr/bin/bash)
==1491== by 0x179FF1: shell_glob_filename (in /usr/bin/bash)
==1491== by 0x1752CD: ??? (in /usr/bin/bash)
==1491== by 0x14C05F: ??? (in /usr/bin/bash)
==1491== by 0x14E2E3: execute_command_internal (in /usr/bin/bash)
==1491== by 0x14FBC5: execute_command (in /usr/bin/bash)
==1491== by 0x137598: reader_loop (in /usr/bin/bash)
==1491== by 0x135D38: main (in /usr/bin/bash)
==1491== Address 0x5651fd0 is 32 bytes before a block of size 128 in arena "client"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:51:54 +10:00
Peter Hutterer
3ef67e69d1
doc: fix the url where to file a new bug
2018-07-26 09:10:55 +10:00
Peter Hutterer
658147af59
doc: add a warning note that the reporting-bugs instructions do matter
...
And remove the paragraph below that states the same thing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:07:59 +10:00
Peter Hutterer
ffc008e9de
doc: point to libinput --version
...
This will fail pre 1.8 but oh well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:05:02 +10:00
Peter Hutterer
0aaf42622f
doc: replace a few <b> with markdown's **
...
At least where possible, doxygen doesn't parse lists starting with ** as
emphasized.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:40 +10:00
Peter Hutterer
2dfa4c5d38
doc: replace html lists with markdown ones
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:38 +10:00
Peter Hutterer
dc0c013b43
doc: reporting-bugs: use evemu-record as link text, not evemu
...
Because that's the tool we're using
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:36 +10:00
Peter Hutterer
80273c050e
doc: single ` is enough for code highlighting
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:33 +10:00
Peter Hutterer
c1f010a6eb
doc: indent all @note continuation lines
...
This isn't required by doxygen but for a potential switch to RTD/sphinx
(see #95 ) it helps having this set up correctly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:31 +10:00
Peter Hutterer
2560c53fee
README: indent the links that belong to list items
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-26 09:04:03 +10:00
Peter Hutterer
1205c6bed7
doc: document the device quirks
...
Add some documentation for the most common quirks or at least the ones that
the user may eventually see or have to set. Drop the git commit hash into the
docs to make sure it's spelled out that the quirks are only valid for that
commit. Adding something with @include* requires the EXAMPLE_PATH to be set.
Doxygen doesn't parse markdown in @includedoc so we have to insert the commit
as normal HTML tag.
Related to https://gitlab.freedesktop.org/libinput/libinput/issues/87
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-25 15:43:23 +10:00
Peter Hutterer
68131bc936
doc: fix ref to device-quirks
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-24 15:46:55 +10:00
Peter Hutterer
e3a842a26d
doc: replace <a href> links with the doxygen markdown equivalent
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-24 15:46:55 +10:00
Peter Hutterer
f4a253fb21
doc: replace <pre> with @verbatim
...
Be more consistent here
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-24 12:22:49 +10:00
Peter Hutterer
cb7b535c2f
doc: add a section name to seats-overview
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-24 12:22:46 +10:00
Peter Hutterer
4bfb35c1dd
Gitlab CI: properly define empty dependencies for the wayland-web hook
...
This needs to be an empty array, see the "artifacts:paths" documentation for
an example
https://docs.gitlab.com/ee/ci/yaml/#when-a-dependent-job-will-fail
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-23 21:22:30 +10:00
Greg V
7954970a61
Update FreeBSD package cache in CI
...
Should fix #93
2018-07-23 13:44:41 +03:00
Peter Hutterer
36d8155dbe
test: add --gen-suppressions=all to the valgrind run
...
Because if we have a heisenbug that can't be reproduced on other machines,
having the suppression output in the log can save a lot of time.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-23 18:45:36 +10:00
Jeremy
9767fb3030
Improve HP Chromebook 14 pressure ranges
2018-07-22 23:16:36 +02:00
Peter Hutterer
83840fb0bc
Merge branch 'master' of gitlab.freedesktop.org:libinput/libinput
2018-07-20 08:37:47 +10:00
Greg V
db2dd43c86
Add versionsort test
...
And make local versionsort testable even when the native one is present.
2018-07-19 22:29:00 +03:00
Peter Hutterer
33bbc4f645
tools: fix touch frame checks in the YAML verifier script
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 15:34:25 +10:00
Peter Hutterer
23d5f2a590
touchpad: don't NONE or HOVERING touches towards the touch
...
To trigger this, we'd need 1, 2, 3 fingers down, release fingers 1 and 2 but
keep 3 down. Then put finger 1 down again. Touches 1 and 3 are alive now,
touch 2 is in state NONE.
During the thumb detection we took the first touch not in BEGIN and assigned
it to "first" - this would now be the second touch in state NONE.
Real effect is relatively minimal since we only use the coordinates here.
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/89
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 14:52:44 +10:00
Peter Hutterer
a3cc5f3f64
tools: always set the log handler for debug-events and debug-gui
...
This way errors are highlighted in red even without --verbose
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 14:10:32 +10:00
Peter Hutterer
d5c0aed8a3
doc: add a section to the FAQs "is libinput required for Wayland"
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 11:39:35 +10:00
Peter Hutterer
c15cbe850a
doc: move the "General" section to the "Developer" section
...
The info here is mostly developer-oriented, let's group this together.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 11:20:54 +10:00
Peter Hutterer
eb77684be0
doc: fix references to a trackpoint range in the FAQs
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 11:14:14 +10:00
Peter Hutterer
130c934ca9
README: add a user documentation section fairly high up
...
For those with a tldr attention span
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 11:14:14 +10:00
Peter Hutterer
ca658c15af
doc: break up the "what is libinput" page with two sections
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-19 11:14:14 +10:00
Greg V
30d811ede7
Add FreeBSD (cross-compliation based) CI
...
Fixes #82
2018-07-18 21:07:51 +03:00
Greg V
4e3ea4b8e6
Autodetect and use libepoll-shim on FreeBSD
2018-07-18 21:07:24 +03:00
Peter Hutterer
af97fbb86a
evdev: fix the trackpoint multiplier info message
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-17 10:51:46 +10:00
Peter Hutterer
c7a9b2064d
tools: setenv the quirks dir when running from the build directory
...
Fixes #84
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-17 10:36:08 +10:00
Peter Hutterer
ad5d2fef72
tools: change prototype of the builddir lookup function
...
Only one place really needs the return argument, so we might as well just pass
the memory to be returned in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-17 10:36:08 +10:00
Greg V
61f3e38544
Add input.h for FreeBSD
2018-07-16 13:48:54 +03:00
Greg V
d23074cec9
test: ptrace compatibility with *BSD
2018-07-16 13:48:54 +03:00
Greg V
8cc4de5fc9
test: use simple portable sendfile
...
There's no need for high performance in these little tests, so instead of
supporting various platform-specific sendfile() implementations, just use a local read-write function.
2018-07-16 13:48:54 +03:00
Greg V
63a2180b40
test: support disabling tty on FreeBSD
...
Instead of K_OFF, use K_RAW plus termios raw mode.
(Same approach as in the Weston patches)
2018-07-16 13:48:51 +03:00
Greg V
ef9b7e889d
Use getprogname() when program_invocation_short_name is not defined
2018-07-16 13:44:15 +03:00
Greg V
0e03784e47
Fix include portablity (xlocale, stdlib)
2018-07-16 13:44:15 +03:00
Greg V
f8b412052e
Import versionsort implementation from musl for systems without versionsort
...
versionsort is a GNU extension, not available on *BSD systems.
2018-07-16 13:44:11 +03:00
Peter Hutterer
8362031064
fallback: remove some if 0 code
...
Looks like a development leftover.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-16 12:16:18 +10:00
Peter Hutterer
c013112406
evdev: whitespace fix
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-16 12:16:18 +10:00
Peter Hutterer
bda4857eaf
test: remove unsupported events from the invalid-range touchscreen test device
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-16 10:37:42 +10:00
Greg V
cc029c7497
test: remove unused values.h include
2018-07-16 08:32:38 +10:00
Peter Hutterer
e6cad92005
Rename data/ to quirks/
...
A better, less ambiguous name than just "datadir"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-13 13:30:54 +10:00
Peter Hutterer
e2d62645db
data: add HP Chromebook 14 pressure ranges
...
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/51
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-13 12:44:10 +10:00
Peter Hutterer
3cae73a7b5
tap: log a tap bug for release on MULTITAP_PALM
...
If we get here, the finger may only triger a PALM_UP but not a RELEASE event.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-13 11:08:56 +10:00
Peter Hutterer
847e0b68bc
tap: remove unnecessary TAP_STATE_DEAD assignment
...
All palm touches are set to DEAD anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-07-13 10:56:51 +10:00