<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libevdev.git/test, branch libevdev-1.12.0</title>
<subtitle>gitlab.freedesktop.org: libevdev/libevdev.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/'/>
<entry>
<title>Change to the (always intended) MIT license</title>
<updated>2021-01-25T03:46:55+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2020-09-17T05:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=60d4f1b2aea14a65a4c2cfed7631fade405b7adf'/>
<id>60d4f1b2aea14a65a4c2cfed7631fade405b7adf</id>
<content type='text'>
Due to what must've been a copy/paste error many years ago, the license text
for libevdev wasn't actually the MIT license. Let's rectify this, it was
always MIT intended anyway.

To make this more obvious and reduce the chance of copy/paste mistakes, use
the SPDX license identifier in the various source files. The two installed
public header files have the full license text.

All contributors with copyrightable contributions have ACKed the license
change to MIT, either in the MR directly [1] or privately in reply to an
email.

[1] https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/69

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Acked-by: Alexander Dahl &lt;ada@thorsis.com&gt;
Acked-by: Andreas Pokorny &lt;andreas.pokorny@canonical.com&gt;
Acked-by: Armin K &lt;krejzi@email.com&gt;
Acked-by: Benjamin Tissoires &lt;btissoir@redhat.com&gt;
Acked-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Acked-by: Deepa Dinamani &lt;deepa.kernel@gmail.com&gt;
Acked-by: Emmanuele Bassi &lt;ebassi@gnome.org&gt;
Acked-by: Gaetan Nadon &lt;memsize@videotron.ca&gt;
Acked-by: George Thomas &lt;georgefsthomas@gmail.com&gt;
Acked-by: Michael Forney &lt;mforney@mforney.org&gt;
Acked-by: Nayan Deshmukh &lt;nayan26deshmukh@gmail.com&gt;
Acked-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
Acked-by: Owen W. Taylor &lt;otaylor@fishsoup.net&gt;
Acked-by: Peter Seiderer &lt;ps.report@gmx.net&gt;
Acked-by: Ran Benita &lt;ran234@gmail.com&gt;
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Scott Jann &lt;sjann@knight-rider.org&gt;
Acked-by: Thilo Schulz &lt;thilo@tjps.eu&gt;
Acked-by: polyphemus &lt;rolfmorel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to what must've been a copy/paste error many years ago, the license text
for libevdev wasn't actually the MIT license. Let's rectify this, it was
always MIT intended anyway.

To make this more obvious and reduce the chance of copy/paste mistakes, use
the SPDX license identifier in the various source files. The two installed
public header files have the full license text.

All contributors with copyrightable contributions have ACKed the license
change to MIT, either in the MR directly [1] or privately in reply to an
email.

[1] https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/69

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Acked-by: Alexander Dahl &lt;ada@thorsis.com&gt;
Acked-by: Andreas Pokorny &lt;andreas.pokorny@canonical.com&gt;
Acked-by: Armin K &lt;krejzi@email.com&gt;
Acked-by: Benjamin Tissoires &lt;btissoir@redhat.com&gt;
Acked-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Acked-by: Deepa Dinamani &lt;deepa.kernel@gmail.com&gt;
Acked-by: Emmanuele Bassi &lt;ebassi@gnome.org&gt;
Acked-by: Gaetan Nadon &lt;memsize@videotron.ca&gt;
Acked-by: George Thomas &lt;georgefsthomas@gmail.com&gt;
Acked-by: Michael Forney &lt;mforney@mforney.org&gt;
Acked-by: Nayan Deshmukh &lt;nayan26deshmukh@gmail.com&gt;
Acked-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
Acked-by: Owen W. Taylor &lt;otaylor@fishsoup.net&gt;
Acked-by: Peter Seiderer &lt;ps.report@gmx.net&gt;
Acked-by: Ran Benita &lt;ran234@gmail.com&gt;
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Scott Jann &lt;sjann@knight-rider.org&gt;
Acked-by: Thilo Schulz &lt;thilo@tjps.eu&gt;
Acked-by: polyphemus &lt;rolfmorel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add libevdev_disable_property</title>
<updated>2020-10-19T04:47:07+00:00</updated>
<author>
<name>Scott Jann</name>
<email>sjann@knight-rider.org</email>
</author>
<published>2020-10-17T08:03:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=4226c7801b4ea1b0c7d1eaac47ca24ece8f24809'/>
<id>4226c7801b4ea1b0c7d1eaac47ca24ece8f24809</id>
<content type='text'>
On some devices, a kernel input property has been set in error and we need the
ability to disable that property.

Signed-off-by: Scott Jann &lt;sjann@knight-rider.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some devices, a kernel input property has been set in error and we need the
ability to disable that property.

Signed-off-by: Scott Jann &lt;sjann@knight-rider.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include: sync event codes with kernel 5.8</title>
<updated>2020-09-11T02:13:13+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2020-08-03T05:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=44b5c9bd9fc3694124ce1af815656bbda3ce6329'/>
<id>44b5c9bd9fc3694124ce1af815656bbda3ce6329</id>
<content type='text'>
And fix the script to sync the headers up so it syncs event codes for both bsd
and linux, but only syncs input.h for linux.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And fix the script to sync the headers up so it syncs event codes for both bsd
and linux, but only syncs input.h for linux.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add FreeBSD specific tests</title>
<updated>2020-08-14T15:50:56+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@daemonic.se</email>
</author>
<published>2020-08-11T21:50:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=419402312246de14cd491dbf2f45e8d4efd99294'/>
<id>419402312246de14cd491dbf2f45e8d4efd99294</id>
<content type='text'>
Add two FreeBSD specific tests:
test_uinput_check_devnode_bsd checks that libevdev_uinput_get_devnode()
returns something sensible.  This is modelled on the Linux test
test_uinput_check_syspath_name, but uses devnode instead of syspath, since
reeBSD doesn't have sysfs.
test_uinput_check_syspath_bsd checks that libevdev_uinput_get_syspath()
always returns NULL.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two FreeBSD specific tests:
test_uinput_check_devnode_bsd checks that libevdev_uinput_get_devnode()
returns something sensible.  This is modelled on the Linux test
test_uinput_check_syspath_name, but uses devnode instead of syspath, since
reeBSD doesn't have sysfs.
test_uinput_check_syspath_bsd checks that libevdev_uinput_get_syspath()
always returns NULL.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Disable attach debugger on FreeBSD</title>
<updated>2020-08-14T15:50:56+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@daemonic.se</email>
</author>
<published>2020-08-10T21:24:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=0af8c4054d44e186c6440f13d7f547532821ccae'/>
<id>0af8c4054d44e186c6440f13d7f547532821ccae</id>
<content type='text'>
Disable attaching a debugger on FreeBSD, since FreeBSD lacks support for
PTRACE_ATTACH.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable attaching a debugger on FreeBSD, since FreeBSD lacks support for
PTRACE_ATTACH.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: disable force feedback events on FreeBSD</title>
<updated>2020-08-14T15:50:56+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@daemonic.se</email>
</author>
<published>2020-08-10T21:20:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=8026722f86663f93baf1583eba2f6ce0a4fc01fd'/>
<id>8026722f86663f93baf1583eba2f6ce0a4fc01fd</id>
<content type='text'>
FreeBSD does not support force feedack events.  Disable the test for
this event when running on FreeBSD.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FreeBSD does not support force feedack events.  Disable the test for
this event when running on FreeBSD.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Use CLOCK_MONOTONIC_FAST on FreeBSD</title>
<updated>2020-08-14T15:50:56+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@daemonic.se</email>
</author>
<published>2020-08-10T21:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=800946a6733f19e430fa87c3b30628149114d649'/>
<id>800946a6733f19e430fa87c3b30628149114d649</id>
<content type='text'>
FreeBSD does not have CLOCK_MONOTONIC_RAW, instead use
CLOCK_MONOTONIC_FAST.  This test checks that libevdev_set_clock_id()
fails when called with CLOCK_MONOTONIC_[RAW,FAST].

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FreeBSD does not have CLOCK_MONOTONIC_RAW, instead use
CLOCK_MONOTONIC_FAST.  This test checks that libevdev_set_clock_id()
fails when called with CLOCK_MONOTONIC_[RAW,FAST].

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't hardcode /bin/bash</title>
<updated>2020-08-13T11:11:33+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@daemonic.se</email>
</author>
<published>2020-08-10T20:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=db01b2d6062d4c28cd82a32f42e566d05480d06e'/>
<id>db01b2d6062d4c28cd82a32f42e566d05480d06e</id>
<content type='text'>
Don't hardcode /bin/bash, use /usr/bin/env bash instead, since not all
platforms install bash as /bin/bash.
FreeBSD, as an example, installs bash in /usr/local/bin/bash by default.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't hardcode /bin/bash, use /usr/bin/env bash instead, since not all
platforms install bash as /bin/bash.
FreeBSD, as an example, installs bash in /usr/local/bin/bash by default.

Signed-off-by: Niclas Zeising &lt;zeising@daemonic.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libevdev: any value less than 0 has a NULL name</title>
<updated>2020-07-15T03:36:18+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2020-07-15T03:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=66113fe84f62bab3a672a336eb10b255d2aa5ce7'/>
<id>66113fe84f62bab3a672a336eb10b255d2aa5ce7</id>
<content type='text'>
Fixes https://gitlab.freedesktop.org/libevdev/libevdev/-/issues/15

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://gitlab.freedesktop.org/libevdev/libevdev/-/issues/15

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove unreachable switch case</title>
<updated>2020-02-19T03:33:32+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2020-02-19T03:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=03f7b2be46a19545d23a42b815f7ff05c9126d7c'/>
<id>03f7b2be46a19545d23a42b815f7ff05c9126d7c</id>
<content type='text'>
We only test up to 5 slots, so this cannot ever be reached.

Found by coverity

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We only test up to 5 slots, so this cannot ever be reached.

Found by coverity

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
