<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libevdev.git/test/test-int-queue.c, 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>config.h is a local include path</title>
<updated>2020-02-14T02:03:23+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2020-02-14T00:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=4c8a7a265d9e3f134329b2b79a754a682e60e147'/>
<id>4c8a7a265d9e3f134329b2b79a754a682e60e147</id>
<content type='text'>
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>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: automate test suite handling</title>
<updated>2018-06-15T05:00:24+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2018-06-15T04:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=83ce8eb5be4c0674b4728386c55173070ffde528'/>
<id>83ce8eb5be4c0674b4728386c55173070ffde528</id>
<content type='text'>
Move all tests to a special section, then loop through that section
to fetch all test suite. The result is that new tests only need to add the
source files without having to update everything else as well.

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>
Move all tests to a special section, then loop through that section
to fetch all test suite. The result is that new tests only need to add the
source files without having to update everything else as well.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove test for ULONG_MAX queue allocation</title>
<updated>2017-05-09T03:43:05+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2017-05-09T03:39:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=b08a3c70e5bfc35b063cd7c6c0514d87558e4973'/>
<id>b08a3c70e5bfc35b063cd7c6c0514d87558e4973</id>
<content type='text'>
Fixes the warning:
../libevdev/libevdev-int.h:231:15: warning: argument 1 value
‘18446744073709551615’ exceeds maximum object size 9223372036854775807
[-Walloc-size-larger-than=]

That's now part of gcc's -Wall, so let's rely on that for code. Arguably, the
queue code is simple enough that we don't need a test for ENOMEM anyway.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the warning:
../libevdev/libevdev-int.h:231:15: warning: argument 1 value
‘18446744073709551615’ exceeds maximum object size 9223372036854775807
[-Walloc-size-larger-than=]

That's now part of gcc's -Wall, so let's rely on that for code. Arguably, the
queue code is simple enough that we don't need a test for ENOMEM anyway.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cosmetic: fix a couple of duplicate/missing empty lines</title>
<updated>2015-03-03T22:41:33+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2015-03-03T22:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=4160d94bafd3b658f1c04b90b5a3e4e7b8e3be40'/>
<id>4160d94bafd3b658f1c04b90b5a3e4e7b8e3be40</id>
<content type='text'>
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>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove a bunch of superfluous empty lines</title>
<updated>2014-02-25T03:05:30+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2014-02-25T00:06:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=f01a887b3033acc81582be1bf4a64f2da7b30fff'/>
<id>f01a887b3033acc81582be1bf4a64f2da7b30fff</id>
<content type='text'>
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>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ENOMEM instead of ENOSPC</title>
<updated>2013-08-31T02:27:23+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-08-31T02:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=9675287062ed3193c8dbd7f4ad88e07823bdf36e'/>
<id>9675287062ed3193c8dbd7f4ad88e07823bdf36e</id>
<content type='text'>
From errno(3):
   ENOMEM          Not enough space (POSIX.1)
   ENOSPC          No space left on device (POSIX.1)

when we run out memory the reason is a failed malloc, for which ENOMEM
seems more appropriate.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From errno(3):
   ENOMEM          Not enough space (POSIX.1)
   ENOSPC          No space left on device (POSIX.1)

when we run out memory the reason is a failed malloc, for which ENOMEM
seems more appropriate.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: prepare a common header file for all tests</title>
<updated>2013-06-29T08:00:42+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-06-29T07:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=a30f4cfa8a14780ccc5c3024cd03a87d63f12df1'/>
<id>a30f4cfa8a14780ccc5c3024cd03a87d63f12df1</id>
<content type='text'>
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>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix a bunch of memory leaks</title>
<updated>2013-06-28T03:13:55+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-06-28T03:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=e8f059f235d4a73f7d8e00036b7b985f64581346'/>
<id>e8f059f235d4a73f7d8e00036b7b985f64581346</id>
<content type='text'>
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>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull all tests together into one binary</title>
<updated>2013-06-27T00:41:54+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-06-26T23:40:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libevdev.git/commit/?id=9e81874c4936b0ad6e1e894b749b4d1b3d458e3f'/>
<id>9e81874c4936b0ad6e1e894b749b4d1b3d458e3f</id>
<content type='text'>
Easier to monitor gcov coverage that way

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>
Easier to monitor gcov coverage that way

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