<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtdev.git/src, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://bitmath.se/org/git/mtdev.git/atom?h=master</id>
<link rel='self' href='https://bitmath.se/org/git/mtdev.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/'/>
<updated>2020-01-26T14:00:32+00:00</updated>
<entry>
<title>adjust for 64bit time_t for 32bit architectures</title>
<updated>2020-01-26T14:00:32+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-11-24T02:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=598e561881c687cea072375637aa08ac9230fabe'/>
<id>urn:sha1:598e561881c687cea072375637aa08ac9230fabe</id>
<content type='text'>
libc that has support for 32 bit applications to use 64 bit
time_t supplies __USE_TIME_BITS64 define [1]

[1] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@bitmath.se&gt;
</content>
</entry>
<entry>
<title>Use a macro for `nlongs` so it can be used in constant expression</title>
<updated>2020-01-26T14:00:32+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2019-06-07T18:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=5a260fa95a5e7cebdd8f9da947c8d8eb244efae0'/>
<id>urn:sha1:5a260fa95a5e7cebdd8f9da947c8d8eb244efae0</id>
<content type='text'>
This way, it can be used to specify the `absbits` array size (in
`mtdev_configure`) without making it a VLA.

VLAs are an optional feature in C11, and in this case we can determine
the array size statically.

This also matches the macros used in libevdev and libinput.

Signed-off-by: Michael Forney &lt;mforney@mforney.org&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@bitmath.se&gt;
</content>
</entry>
<entry>
<title>caps.c: declare mtdev_set_slots() static</title>
<updated>2017-11-29T21:15:52+00:00</updated>
<author>
<name>Martin Kepplinger</name>
<email>martink@posteo.de</email>
</author>
<published>2017-08-22T09:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=8ba8d359392693f9882ea2d195fc1bebb8b3a29d'/>
<id>urn:sha1:8ba8d359392693f9882ea2d195fc1bebb8b3a29d</id>
<content type='text'>
mtdev_set_slots() is only used internally, so it should be static.

Signed-off-by: Martin Kepplinger &lt;martink@posteo.de&gt;
</content>
</entry>
<entry>
<title>build: Fix srcdir != builddir from git</title>
<updated>2014-02-28T18:54:40+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2014-02-27T13:03:35+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=88840fe45b49464642181007c5a6df1bc951bade'/>
<id>urn:sha1:88840fe45b49464642181007c5a6df1bc951bade</id>
<content type='text'>
Make it possible to build the source out-of-tree. The gnome-continuous
build system does this by default.

Signed-off-by: Colin Walters &lt;walters@verbum.org&gt;
[rydberg@euromail.se: Resolve merge conflict]
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Fix compiler warning - implicit declaration of function 'abs'</title>
<updated>2013-07-31T00:05:49+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-07-24T03:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=1ddaf0af41098d0a01eac162c6fe4d38f2fbbbad'/>
<id>urn:sha1:1ddaf0af41098d0a01eac162c6fe4d38f2fbbbad</id>
<content type='text'>
match_four.c:80:4: warning: implicit declaration of function 'abs'
[-Wimplicit-function-declaration]
    *dist++ = abs(q-&gt;x - p-&gt;x) + abs(q-&gt;y - p-&gt;y);

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>Replace hardcoded 11 with a define</title>
<updated>2013-07-31T00:05:49+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-07-25T03:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=6f7c5c558006bb69fdf0af73103097c012ccfed5'/>
<id>urn:sha1:6f7c5c558006bb69fdf0af73103097c012ccfed5</id>
<content type='text'>
The 11 comes from the legacy API that we need to be binary compatible with.
Make this clear with a define and a comment.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>Rename INCLUDES to AM_CPPFLAGS</title>
<updated>2013-07-24T02:12:04+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-07-03T05:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=f4fe56973a29265e22f049ceed1e299573f90ec4'/>
<id>urn:sha1:f4fe56973a29265e22f049ceed1e299573f90ec4</id>
<content type='text'>
src/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>Add support for kernel MT slot state retrieval</title>
<updated>2012-02-16T15:33:53+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2012-02-16T15:25:30+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=43ce27aab2d990e9a4f54d2050b851bd2da01875'/>
<id>urn:sha1:43ce27aab2d990e9a4f54d2050b851bd2da01875</id>
<content type='text'>
From kernel 3.4, extraction of the MT slot state is supported
via the EVIOGMTSLOTS ioctl. This patch initializes the slots
using that information.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Add the missing distance event to the internal slot representation</title>
<updated>2012-01-12T19:05:28+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2012-01-12T19:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=3ec66c3b21e45d6529567f5144ba24dcc4645591'/>
<id>urn:sha1:3ec66c3b21e45d6529567f5144ba24dcc4645591</id>
<content type='text'>
The new distance value was missing from the internal representation,
leading to memory corruption for devices supporting the event. Fixed
with this patch.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Return EINVAL for invalid parameters on mtdev_init.</title>
<updated>2011-04-19T09:47:08+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2011-04-19T09:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=3aa3de4c19b80caaf93812fafff20acd5f5a4d12'/>
<id>urn:sha1:3aa3de4c19b80caaf93812fafff20acd5f5a4d12</id>
<content type='text'>
[rydberg@euromail.se: minor cleanup]
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
</feed>
