| 1 |
commit 9035c2225494b80b02e985fc7ee77880e0bd6993 |
| 2 |
Author: Henrik Rydberg <[email protected]> |
| 3 |
Date: Thu Apr 4 09:47:16 2024 +0200 |
| 4 |
|
| 5 |
Release mtdev-1.1.7 |
| 6 |
|
| 7 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 8 |
|
| 9 |
commit b969a91d9c971d4cdfda72c7a7bffe63c826751b |
| 10 |
Author: orbea <[email protected]> |
| 11 |
Date: Wed Apr 3 20:12:30 2024 -0700 |
| 12 |
|
| 13 |
test: link using libmtdev.la |
| 14 |
|
| 15 |
When linking internal dependencies that were linked using $(LIBTOOL) the |
| 16 |
ideal method is to use the generated libtool archive (.la) file. This |
| 17 |
fixes the build with slibtool which doesn't find -lmtdev during the |
| 18 |
build and explicitly requires the .la file to be used. |
| 19 |
|
| 20 |
Note the build will not fail if libmtdev is already installed to the |
| 21 |
system. |
| 22 |
|
| 23 |
Github PR: https://github.com/rydberg/mtdev/pull/2 |
| 24 |
Gentoo Issue: https://bugs.gentoo.org/928387 |
| 25 |
Signed-off-by: orbea <[email protected]> |
| 26 |
|
| 27 |
commit 2ed588eccf83728452ce0fc30770e637a7c1374f |
| 28 |
Author: Henrik Rydberg <[email protected]> |
| 29 |
Date: Tue Dec 7 21:13:36 2021 +0100 |
| 30 |
|
| 31 |
Fix test warnings |
| 32 |
|
| 33 |
The unit tests were using stack-allocated memory smaller than |
| 34 |
the maximum matrix size, causing compiler warnings. Fixed with |
| 35 |
this patch. |
| 36 |
|
| 37 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 38 |
|
| 39 |
commit 25d541d2b0b526eba58fee99ceac202acca6d4a2 |
| 40 |
Author: Henrik Rydberg <[email protected]> |
| 41 |
Date: Sun Jan 26 14:40:46 2020 +0100 |
| 42 |
|
| 43 |
Release mtdev-1.1.6 |
| 44 |
|
| 45 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 46 |
|
| 47 |
commit 598e561881c687cea072375637aa08ac9230fabe |
| 48 |
Author: Khem Raj <[email protected]> |
| 49 |
Date: Sat Nov 23 18:45:32 2019 -0800 |
| 50 |
|
| 51 |
adjust for 64bit time_t for 32bit architectures |
| 52 |
|
| 53 |
libc that has support for 32 bit applications to use 64 bit |
| 54 |
time_t supplies __USE_TIME_BITS64 define [1] |
| 55 |
|
| 56 |
[1] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign |
| 57 |
|
| 58 |
Signed-off-by: Khem Raj <[email protected]> |
| 59 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 60 |
|
| 61 |
commit 5a260fa95a5e7cebdd8f9da947c8d8eb244efae0 |
| 62 |
Author: Michael Forney <[email protected]> |
| 63 |
Date: Fri Jun 7 11:29:01 2019 -0700 |
| 64 |
|
| 65 |
Use a macro for `nlongs` so it can be used in constant expression |
| 66 |
|
| 67 |
This way, it can be used to specify the `absbits` array size (in |
| 68 |
`mtdev_configure`) without making it a VLA. |
| 69 |
|
| 70 |
VLAs are an optional feature in C11, and in this case we can determine |
| 71 |
the array size statically. |
| 72 |
|
| 73 |
This also matches the macros used in libevdev and libinput. |
| 74 |
|
| 75 |
Signed-off-by: Michael Forney <[email protected]> |
| 76 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 77 |
|
| 78 |
commit 5f9caa26b81155feede6ff71c9b14fa0e8980fbd |
| 79 |
Author: Martin Kepplinger <[email protected]> |
| 80 |
Date: Tue Aug 22 11:12:13 2017 +0200 |
| 81 |
|
| 82 |
mtdev-matching.c: declare global variables static |
| 83 |
|
| 84 |
n1 and n2 are only locally used and can thus be static. |
| 85 |
|
| 86 |
Signed-off-by: Martin Kepplinger <[email protected]> |
| 87 |
|
| 88 |
commit d9f084c9384f99d3589cf51f8503b7aee4e9666c |
| 89 |
Author: Martin Kepplinger <[email protected]> |
| 90 |
Date: Tue Aug 22 11:12:12 2017 +0200 |
| 91 |
|
| 92 |
mtdev-mapgen.c: declare init_caps() static |
| 93 |
|
| 94 |
init_caps() is only locally used and can thus be static. |
| 95 |
|
| 96 |
Signed-off-by: Martin Kepplinger <[email protected]> |
| 97 |
|
| 98 |
commit 8ba8d359392693f9882ea2d195fc1bebb8b3a29d |
| 99 |
Author: Martin Kepplinger <[email protected]> |
| 100 |
Date: Tue Aug 22 11:12:11 2017 +0200 |
| 101 |
|
| 102 |
caps.c: declare mtdev_set_slots() static |
| 103 |
|
| 104 |
mtdev_set_slots() is only used internally, so it should be static. |
| 105 |
|
| 106 |
Signed-off-by: Martin Kepplinger <[email protected]> |
| 107 |
|
| 108 |
commit 4381b78fea54de0e775bf54952b2f95e5a06c57d |
| 109 |
Author: Henrik Rydberg <[email protected]> |
| 110 |
Date: Fri Feb 28 19:57:15 2014 +0100 |
| 111 |
|
| 112 |
Release mtdev-1.1.5 |
| 113 |
|
| 114 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 115 |
|
| 116 |
commit 88840fe45b49464642181007c5a6df1bc951bade |
| 117 |
Author: Colin Walters <[email protected]> |
| 118 |
Date: Thu Feb 27 08:03:35 2014 -0500 |
| 119 |
|
| 120 |
build: Fix srcdir != builddir from git |
| 121 |
|
| 122 |
Make it possible to build the source out-of-tree. The gnome-continuous |
| 123 |
build system does this by default. |
| 124 |
|
| 125 |
Signed-off-by: Colin Walters <[email protected]> |
| 126 |
[[email protected]: Resolve merge conflict] |
| 127 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 128 |
|
| 129 |
commit 6d698f6dba4a024b5f3ccac2876465c60f780478 |
| 130 |
Author: Ross Burton <[email protected]> |
| 131 |
Date: Fri Nov 15 23:41:29 2013 +0000 |
| 132 |
|
| 133 |
test: fix out-of-tree builds |
| 134 |
|
| 135 |
Some tests do #include relative to the top-level, so add top_srcdir to the |
| 136 |
include path as otherwise out-of-tree builds can't find the files. |
| 137 |
|
| 138 |
Signed-off-by: Ross Burton <[email protected]> |
| 139 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 140 |
|
| 141 |
commit 25070dda4b1aaaf402db621d10fc901b82d78377 |
| 142 |
Author: Henrik Rydberg <[email protected]> |
| 143 |
Date: Sat Aug 3 22:01:06 2013 +0200 |
| 144 |
|
| 145 |
Release mtdev-1.1.4 |
| 146 |
|
| 147 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 148 |
|
| 149 |
commit 72bbb5f42fe8e47d6314eb92a0ada6554644305c |
| 150 |
Merge: b5d8e8e a9ea316 |
| 151 |
Author: Henrik Rydberg <[email protected]> |
| 152 |
Date: Wed Jul 31 19:25:50 2013 +0200 |
| 153 |
|
| 154 |
Merge more build fixes from Peter Hutterer, along with a more explicit |
| 155 |
declaration of the backwards compatibility constraints on the API. |
| 156 |
|
| 157 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 158 |
|
| 159 |
commit a9ea3168615056360cdb21d6f1576d66be2a43fe |
| 160 |
Author: Peter Hutterer <[email protected]> |
| 161 |
Date: Wed Jul 24 14:24:43 2013 +1000 |
| 162 |
|
| 163 |
Enable silent rules by default |
| 164 |
|
| 165 |
silent rules make it easier to spot compiler errors |
| 166 |
|
| 167 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 168 |
|
| 169 |
commit 0bccf8c5268826bdb0835dd9b7964bcc95bae35f |
| 170 |
Author: Peter Hutterer <[email protected]> |
| 171 |
Date: Wed Jul 24 14:23:25 2013 +1000 |
| 172 |
|
| 173 |
test: silence compiler warning - implicit declaration of function ‘atoi’ |
| 174 |
|
| 175 |
mtdev-kernel.c:130:2: warning: implicit declaration of function ‘atoi’ |
| 176 |
[-Wimplicit-function-declaration] |
| 177 |
eslot = atoi(argv[1]) + 1; |
| 178 |
|
| 179 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 180 |
|
| 181 |
commit 1ddaf0af41098d0a01eac162c6fe4d38f2fbbbad |
| 182 |
Author: Peter Hutterer <[email protected]> |
| 183 |
Date: Wed Jul 24 13:00:32 2013 +1000 |
| 184 |
|
| 185 |
Fix compiler warning - implicit declaration of function 'abs' |
| 186 |
|
| 187 |
match_four.c:80:4: warning: implicit declaration of function 'abs' |
| 188 |
[-Wimplicit-function-declaration] |
| 189 |
*dist++ = abs(q->x - p->x) + abs(q->y - p->y); |
| 190 |
|
| 191 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 192 |
|
| 193 |
commit 6f7c5c558006bb69fdf0af73103097c012ccfed5 |
| 194 |
Author: Peter Hutterer <[email protected]> |
| 195 |
Date: Thu Jul 25 13:21:09 2013 +1000 |
| 196 |
|
| 197 |
Replace hardcoded 11 with a define |
| 198 |
|
| 199 |
The 11 comes from the legacy API that we need to be binary compatible with. |
| 200 |
Make this clear with a define and a comment. |
| 201 |
|
| 202 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 203 |
|
| 204 |
commit b5d8e8e26c0116e4b6e556a0f6da8777bc55c590 |
| 205 |
Merge: e5eb274 f4fe569 |
| 206 |
Author: Henrik Rydberg <[email protected]> |
| 207 |
Date: Thu Jul 25 10:05:20 2013 +0200 |
| 208 |
|
| 209 |
Merge build fixes from Peter Hutterer. |
| 210 |
|
| 211 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 212 |
|
| 213 |
commit f4fe56973a29265e22f049ceed1e299573f90ec4 |
| 214 |
Author: Peter Hutterer <[email protected]> |
| 215 |
Date: Wed Jul 3 15:49:21 2013 +1000 |
| 216 |
|
| 217 |
Rename INCLUDES to AM_CPPFLAGS |
| 218 |
|
| 219 |
src/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') |
| 220 |
|
| 221 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 222 |
|
| 223 |
commit e79f2b211830dec2bae35595c6dfd1d06f75d903 |
| 224 |
Author: Peter Hutterer <[email protected]> |
| 225 |
Date: Wed Jul 3 15:45:12 2013 +1000 |
| 226 |
|
| 227 |
Drop maintainer mode - enable by default |
| 228 |
|
| 229 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 230 |
|
| 231 |
commit e5eb27494cd237e60645db4d7be5b4acf41cb5e0 |
| 232 |
Author: Henrik Rydberg <[email protected]> |
| 233 |
Date: Wed Aug 22 22:20:16 2012 +0200 |
| 234 |
|
| 235 |
Release mtdev-1.1.3 |
| 236 |
|
| 237 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 238 |
|
| 239 |
commit 656d5c9d7e37a301afa3af9c2382d6b869f57ebf |
| 240 |
Author: David Kozub <[email protected]> |
| 241 |
Date: Tue May 29 22:53:21 2012 +0200 |
| 242 |
|
| 243 |
Fix pc file to allow compiling with mtdev installed in non-std path. |
| 244 |
|
| 245 |
The pkgconfig file does not specify the -I flag needed to be able to |
| 246 |
compile with `pkg-config mtdev --cflags` when libmtdev is installed to |
| 247 |
a directory that is not searched by the C compiler by default. |
| 248 |
|
| 249 |
This patch fixes the issue. |
| 250 |
|
| 251 |
Signed-off-by: David Kozub <[email protected]> |
| 252 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 253 |
|
| 254 |
commit 5a6773f85a77e78dbbb915e32768aa24e1c83124 |
| 255 |
Author: Henrik Rydberg <[email protected]> |
| 256 |
Date: Mon Feb 20 16:03:05 2012 +0100 |
| 257 |
|
| 258 |
Release mtdev-1.1.2 |
| 259 |
|
| 260 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 261 |
|
| 262 |
commit 43ce27aab2d990e9a4f54d2050b851bd2da01875 |
| 263 |
Author: Henrik Rydberg <[email protected]> |
| 264 |
Date: Thu Feb 16 16:25:30 2012 +0100 |
| 265 |
|
| 266 |
Add support for kernel MT slot state retrieval |
| 267 |
|
| 268 |
From kernel 3.4, extraction of the MT slot state is supported |
| 269 |
via the EVIOGMTSLOTS ioctl. This patch initializes the slots |
| 270 |
using that information. |
| 271 |
|
| 272 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 273 |
|
| 274 |
commit 3ec66c3b21e45d6529567f5144ba24dcc4645591 |
| 275 |
Author: Henrik Rydberg <[email protected]> |
| 276 |
Date: Thu Jan 12 20:05:28 2012 +0100 |
| 277 |
|
| 278 |
Add the missing distance event to the internal slot representation |
| 279 |
|
| 280 |
The new distance value was missing from the internal representation, |
| 281 |
leading to memory corruption for devices supporting the event. Fixed |
| 282 |
with this patch. |
| 283 |
|
| 284 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 285 |
|
| 286 |
commit 3aa3de4c19b80caaf93812fafff20acd5f5a4d12 |
| 287 |
Author: Peter Hutterer <[email protected]> |
| 288 |
Date: Tue Apr 19 11:45:45 2011 +0200 |
| 289 |
|
| 290 |
Return EINVAL for invalid parameters on mtdev_init. |
| 291 |
|
| 292 |
[[email protected]: minor cleanup] |
| 293 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 294 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 295 |
|
| 296 |
commit 61684cf0466200631b6a44af1c662eb760ad3f5d |
| 297 |
Author: Peter Hutterer <[email protected]> |
| 298 |
Date: Tue Apr 19 11:41:04 2011 +0200 |
| 299 |
|
| 300 |
mtdev_close should ignore NULL devices. |
| 301 |
|
| 302 |
Saves us one goto label in mtdev_init. |
| 303 |
|
| 304 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 305 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 306 |
|
| 307 |
commit 9e3daba37d1d15c99a41a2d838bf683934cc7077 |
| 308 |
Author: Henrik Rydberg <[email protected]> |
| 309 |
Date: Wed Dec 22 18:55:09 2010 +0100 |
| 310 |
|
| 311 |
Release mtdev v1.1.0 |
| 312 |
|
| 313 |
This version includes backwards-compatible API changes, |
| 314 |
while keeping the ABI stable. Applications that want to |
| 315 |
migrate to the new API, compile with -DMTDEV_NO_LEGACY_API. |
| 316 |
|
| 317 |
commit ecfc435c3742546e36ec4eefd76f02584fb54192 |
| 318 |
Author: Henrik Rydberg <[email protected]> |
| 319 |
Date: Wed Dec 22 18:49:41 2010 +0100 |
| 320 |
|
| 321 |
mtdev-test: output MT event support |
| 322 |
|
| 323 |
At startup, output the MT events supported by the device. |
| 324 |
|
| 325 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 326 |
|
| 327 |
commit cff212dbe28487c14ab040829877d77378a61344 |
| 328 |
Author: Henrik Rydberg <[email protected]> |
| 329 |
Date: Wed Dec 22 18:35:53 2010 +0100 |
| 330 |
|
| 331 |
Add support for ABS_MT_DISTANCE |
| 332 |
|
| 333 |
In the upcoming 2.6.38 kernel, support for hovering is introduced. |
| 334 |
Add the ABS_MT_DISTANCE to the extended set of handled ABS_MT events. |
| 335 |
|
| 336 |
The change is binary compatible with existing libraries. |
| 337 |
|
| 338 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 339 |
|
| 340 |
commit 56a77e68fb91eef928d8a95c50ae14508e37ae0f |
| 341 |
Author: Henrik Rydberg <[email protected]> |
| 342 |
Date: Wed Dec 22 18:29:00 2010 +0100 |
| 343 |
|
| 344 |
Introduce a stable ABI |
| 345 |
|
| 346 |
The current mtdev is not ABI stable, and the upcoming additions |
| 347 |
to the kernel api will break ABI. This patch starts the process |
| 348 |
of keeping binary compatibility with old programs, by moving the |
| 349 |
abi-specific parts under a special flag, MTDEV_NO_LEGACY_API, |
| 350 |
and makes sure the internal parts compiles with MTDEV_NO_LEGACY_API |
| 351 |
set. This way, older programs will still work, old programs will |
| 352 |
still compile, and new programs will be able to use the additions. |
| 353 |
|
| 354 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 355 |
|
| 356 |
commit 0e2ab3b5940e70493aaabdfe5e8da1c75db4db72 |
| 357 |
Author: Henrik Rydberg <[email protected]> |
| 358 |
Date: Mon Dec 20 16:49:53 2010 +0100 |
| 359 |
|
| 360 |
Allow use in c++ applications |
| 361 |
|
| 362 |
Reported-by: Armando Visconti <[email protected]> |
| 363 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 364 |
|
| 365 |
commit db1fdc76ceb5d1bbe32c193e13eb4357da5d0b81 |
| 366 |
Author: Henrik Rydberg <[email protected]> |
| 367 |
Date: Sun Nov 7 18:07:07 2010 +0100 |
| 368 |
|
| 369 |
mtdev v1.0.11 |
| 370 |
|
| 371 |
commit 67fdae132708889ed89e302bd63a5cb91b2c75a7 |
| 372 |
Author: Henrik Rydberg <[email protected]> |
| 373 |
Date: Sun Nov 7 18:04:46 2010 +0100 |
| 374 |
|
| 375 |
Add and test a simple kernel matcher |
| 376 |
|
| 377 |
This matcher is for up to four fingers, and has these properties: |
| 378 |
|
| 379 |
* Approximately 1.4 times faster at 4 fingers |
| 380 |
* Approximately 4.0 times faster at 2 fingers |
| 381 |
* Roughly 100 lines of code |
| 382 |
|
| 383 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 384 |
|
| 385 |
commit 868f53c8a5684524bc6b1e7cd39aabed56fad9df |
| 386 |
Author: Henrik Rydberg <[email protected]> |
| 387 |
Date: Sun Nov 7 17:56:56 2010 +0100 |
| 388 |
|
| 389 |
Generate kernel matcher data |
| 390 |
|
| 391 |
This application generates the matcher tables of the tracking |
| 392 |
library in the linux kernel. |
| 393 |
|
| 394 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 395 |
|
| 396 |
commit 561af7f537b80f3952ab228bcc992ad75ced280b |
| 397 |
Author: Henrik Rydberg <[email protected]> |
| 398 |
Date: Tue Oct 12 17:13:45 2010 +0200 |
| 399 |
|
| 400 |
Add mtdev-matching test program |
| 401 |
|
| 402 |
Measures matching speed and provides some historically difficult |
| 403 |
test cases. |
| 404 |
|
| 405 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 406 |
|
| 407 |
commit 1390859adc7fd084c5c546984d415e44bfc44ccd |
| 408 |
Author: Henrik Rydberg <[email protected]> |
| 409 |
Date: Tue Sep 7 16:22:30 2010 +0200 |
| 410 |
|
| 411 |
mtdev v1.0.10 |
| 412 |
|
| 413 |
commit 61632a31642ecaa7288624b0dc9887c4196cc165 |
| 414 |
Author: Henrik Rydberg <[email protected]> |
| 415 |
Date: Tue Sep 7 15:54:27 2010 +0200 |
| 416 |
|
| 417 |
Fall back to single-touch position and pressure dimensions |
| 418 |
|
| 419 |
In case mtdev is driving a non-MT device, basic dimensions are not set |
| 420 |
properly. Fall back on ABS_X/Y and ABS_PRESSURE, such that basic |
| 421 |
pointer operations can be supported through mtdev. |
| 422 |
|
| 423 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 424 |
|
| 425 |
commit 9daa452e53d2b2f74f943bd0a50d17a311698b4f |
| 426 |
Author: Henrik Rydberg <[email protected]> |
| 427 |
Date: Tue Sep 7 15:46:31 2010 +0200 |
| 428 |
|
| 429 |
Install mapping and plumbing header files |
| 430 |
|
| 431 |
Applications may need to know the property mapping, and the plumbing |
| 432 |
interface is actually supported, so install both headers. |
| 433 |
|
| 434 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 435 |
|
| 436 |
commit 676b4003302e025d10a0822357c55b97dbab3707 |
| 437 |
Author: Henrik Rydberg <[email protected]> |
| 438 |
Date: Tue Sep 7 15:38:19 2010 +0200 |
| 439 |
|
| 440 |
Complete mtdev property mapping |
| 441 |
|
| 442 |
Add the missing property values to the mapgen output, and insert the |
| 443 |
result in the mtdev mapping header file. |
| 444 |
|
| 445 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 446 |
|
| 447 |
commit a2ea1c9154c0d746f8c4e72425435fc017324d43 |
| 448 |
Author: Henrik Rydberg <[email protected]> |
| 449 |
Date: Wed Aug 18 11:06:34 2010 +0200 |
| 450 |
|
| 451 |
mtdev v1.0.9 |
| 452 |
|
| 453 |
commit 810cef87de0d65e505e68ad39c469c2e9ce6d0a1 |
| 454 |
Author: Henrik Rydberg <[email protected]> |
| 455 |
Date: Wed Aug 18 11:01:28 2010 +0200 |
| 456 |
|
| 457 |
Correct logic for kernel MT slots devices |
| 458 |
|
| 459 |
This patch fixes the broken logic to detect the kernel MT slots protocol, |
| 460 |
such that MT slots devices may pass through mtdev properly. |
| 461 |
|
| 462 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 463 |
|
| 464 |
commit e91311dc01f970b687da4f00810cf40d3d37a5e4 |
| 465 |
Author: Henrik Rydberg <[email protected]> |
| 466 |
Date: Mon Aug 2 00:22:50 2010 +0200 |
| 467 |
|
| 468 |
mtdev v1.0.8 |
| 469 |
|
| 470 |
commit caa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf |
| 471 |
Author: Henrik Rydberg <[email protected]> |
| 472 |
Date: Mon Aug 2 01:49:03 2010 +0200 |
| 473 |
|
| 474 |
Remove erroneous dependency on xorg macros |
| 475 |
|
| 476 |
This package has no external dependencies and should not depend |
| 477 |
on the xorg macros. This patch removes the dependency, adds a tailored |
| 478 |
INSTALL file, and uses git to generate the ChangeLog. |
| 479 |
|
| 480 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 481 |
|
| 482 |
commit abfa51e422384d23ea0a253e5937063131fd4279 |
| 483 |
Author: Henrik Rydberg <[email protected]> |
| 484 |
Date: Wed Jul 21 10:09:12 2010 +0200 |
| 485 |
|
| 486 |
mtdev v1.0.7 |
| 487 |
|
| 488 |
commit ae5e172ee1e2d100bee6607ab66f318a62a2ebe3 |
| 489 |
Author: Henrik Rydberg <[email protected]> |
| 490 |
Date: Wed Jul 21 10:08:40 2010 +0200 |
| 491 |
|
| 492 |
The forthcoming 2.6.36 kernel does not define the MT_SLOT_ABS_EVENTS |
| 493 |
list, so make sure it is always defined in mtdev.h |
| 494 |
|
| 495 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 496 |
|
| 497 |
commit 926493b33a0836931ee454cba0761f021d078078 |
| 498 |
Author: Henrik Rydberg <[email protected]> |
| 499 |
Date: Mon Jul 19 13:09:51 2010 +0200 |
| 500 |
|
| 501 |
mtdev v1.0.6 |
| 502 |
|
| 503 |
commit d2a8e0bfda364730ba5c06be4adc783f9a889073 |
| 504 |
Author: Henrik Rydberg <[email protected]> |
| 505 |
Date: Mon Jul 19 13:09:10 2010 +0200 |
| 506 |
|
| 507 |
Change test program name to mtdev-test |
| 508 |
|
| 509 |
In order to simplify packaging, rename the current mtdev |
| 510 |
device test program to mtdev-test. |
| 511 |
|
| 512 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 513 |
|
| 514 |
commit a6f1a4dd2c14908c6602c4c2438ef4b5cb86de99 |
| 515 |
Author: Henrik Rydberg <[email protected]> |
| 516 |
Date: Thu Jul 15 14:51:55 2010 +0200 |
| 517 |
|
| 518 |
mtdev v1.0.5 |
| 519 |
|
| 520 |
commit 16110e89a671067ee53cb7a8bce6b6a2690b97ae |
| 521 |
Author: Henrik Rydberg <[email protected]> |
| 522 |
Date: Thu Jul 15 14:51:04 2010 +0200 |
| 523 |
|
| 524 |
Add missing header files to sources directive |
| 525 |
|
| 526 |
In order for make dist-gzip to work properly, all files needed |
| 527 |
to build the system need to be listed. This patch adds the missing |
| 528 |
header files to the sources directive. |
| 529 |
|
| 530 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 531 |
|
| 532 |
commit 7de1f0b0bbfb4dd5b205ed74d2f8ad2ca5e663b6 |
| 533 |
Author: Henrik Rydberg <[email protected]> |
| 534 |
Date: Tue Jul 13 09:14:35 2010 +0200 |
| 535 |
|
| 536 |
mtdev v1.0.4 |
| 537 |
|
| 538 |
commit 3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b |
| 539 |
Author: Peter Hutterer <[email protected]> |
| 540 |
Date: Mon Jul 5 08:01:41 2010 +0200 |
| 541 |
|
| 542 |
Build test utilities unconditionally, do not install |
| 543 |
|
| 544 |
The test programs in the package are command-line utilities which can |
| 545 |
be used to generate MT code mappings for header files, and debug |
| 546 |
hardware problems, and should not be installed. With this patch, tests |
| 547 |
are built unconditionally, but not installed. |
| 548 |
|
| 549 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 550 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 551 |
|
| 552 |
commit 8da65965093ce2515dd0ce828a6512f24f5f5ca9 |
| 553 |
Author: Peter Hutterer <[email protected]> |
| 554 |
Date: Fri Jul 2 11:53:41 2010 +1000 |
| 555 |
|
| 556 |
README: add URL and email for patches. |
| 557 |
|
| 558 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 559 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 560 |
|
| 561 |
commit ad07aa12a19dea8324c2cc5e1d986c636c4b6593 |
| 562 |
Author: Peter Hutterer <[email protected]> |
| 563 |
Date: Fri Jul 2 11:51:08 2010 +1000 |
| 564 |
|
| 565 |
test: fix out-of-tree builds. |
| 566 |
|
| 567 |
Libraries are in builddir, not sourcedir. |
| 568 |
|
| 569 |
Signed-off-by: Peter Hutterer <[email protected]> |
| 570 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 571 |
|
| 572 |
commit e1c48e0763304ae58752c29c3afb85f68bdf32fa |
| 573 |
Author: Henrik Rydberg <[email protected]> |
| 574 |
Date: Thu Jun 24 21:03:42 2010 +0200 |
| 575 |
|
| 576 |
mtdev v1.0.3 |
| 577 |
|
| 578 |
commit c880548a2973a52070cb583923d5edae375b7b6d |
| 579 |
Author: Henrik Rydberg <[email protected]> |
| 580 |
Date: Thu Jun 24 11:39:08 2010 +0200 |
| 581 |
|
| 582 |
Add a CREDITS file |
| 583 |
|
| 584 |
This patch adds a CREDITS file, which keeps track of historical |
| 585 |
contributions affecting this library. |
| 586 |
|
| 587 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 588 |
|
| 589 |
commit 1fed4b309cea8c7a0dc03f740174bd31b4b03ab5 |
| 590 |
Author: Henrik Rydberg <[email protected]> |
| 591 |
Date: Tue Jun 22 23:25:58 2010 +0200 |
| 592 |
|
| 593 |
gitignore: Ignore the patches directory |
| 594 |
|
| 595 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 596 |
|
| 597 |
commit a0dc5304a856158939b52980ce5eaf7d25b67bf1 |
| 598 |
Author: Henrik Rydberg <[email protected]> |
| 599 |
Date: Tue Jun 22 22:42:22 2010 +0200 |
| 600 |
|
| 601 |
mtdev v1.0.2 |
| 602 |
|
| 603 |
commit 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0 |
| 604 |
Author: Henrik Rydberg <[email protected]> |
| 605 |
Date: Tue Jun 22 22:38:58 2010 +0200 |
| 606 |
|
| 607 |
Update defuzz() credits |
| 608 |
|
| 609 |
Correct the credits for the defuzz() function. Used under the MIT |
| 610 |
license with permission from Vojtech Pavlik. |
| 611 |
|
| 612 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 613 |
|
| 614 |
commit 451dbad007dc941fb7a4877238873d13245c0a65 |
| 615 |
Author: Chase Douglas <[email protected]> |
| 616 |
Date: Tue Jun 22 16:06:38 2010 -0400 |
| 617 |
|
| 618 |
Search for libmtdev in src/ directory during a clean build |
| 619 |
|
| 620 |
If mtdev hasn't already been installed, the test binaries will fail to |
| 621 |
compile because they can't find libmtdev. Point them to the src |
| 622 |
directory build output. |
| 623 |
|
| 624 |
Signed-off-by: Chase Douglas <[email protected]> |
| 625 |
|
| 626 |
commit d29155e8436e084d925fc3ed5bb1fce94bc69949 |
| 627 |
Author: Henrik Rydberg <[email protected]> |
| 628 |
Date: Tue Jun 22 11:55:38 2010 +0200 |
| 629 |
|
| 630 |
mtdev v1.0.1 |
| 631 |
|
| 632 |
commit d4d92de224681a260de81be44374649de2bfb485 |
| 633 |
Author: Henrik Rydberg <[email protected]> |
| 634 |
Date: Tue Jun 22 11:55:04 2010 +0200 |
| 635 |
|
| 636 |
Apply new package title to all files |
| 637 |
|
| 638 |
This patch changes the package description title in all relevant |
| 639 |
files, and touches up the README. All systems go. |
| 640 |
|
| 641 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 642 |
|
| 643 |
commit 7a5b2c37ea0b4ec81fbe8be7c1d7f9bf1731439e |
| 644 |
Author: Henrik Rydberg <[email protected]> |
| 645 |
Date: Tue Jun 22 11:45:17 2010 +0200 |
| 646 |
|
| 647 |
Build test tools also under autoconf |
| 648 |
|
| 649 |
The tests can be disabled by using --enable-test=no in configure. |
| 650 |
|
| 651 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 652 |
|
| 653 |
commit 9c5128866ea65ad300b40d47a9d43998dc8bc9f4 |
| 654 |
Author: Henrik Rydberg <[email protected]> |
| 655 |
Date: Tue Jun 22 11:44:36 2010 +0200 |
| 656 |
|
| 657 |
janitor: fix compiler warnings |
| 658 |
|
| 659 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 660 |
|
| 661 |
commit 0647b37dfc35145d74822844ad7e54bf5c218369 |
| 662 |
Author: Chase Douglas <[email protected]> |
| 663 |
Date: Mon Jun 21 21:08:51 2010 -0400 |
| 664 |
|
| 665 |
Move to autotools |
| 666 |
|
| 667 |
[[email protected]: minor fixups] |
| 668 |
Signed-off-by: Chase Douglas <[email protected]> |
| 669 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 670 |
|
| 671 |
commit 172221f14fc91ebb37aa4c561ad733088cc3c3bf |
| 672 |
Author: Henrik Rydberg <[email protected]> |
| 673 |
Date: Tue Jun 22 09:19:50 2010 +0200 |
| 674 |
|
| 675 |
match: conform to mtdev namespace |
| 676 |
|
| 677 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 678 |
|
| 679 |
commit 925ad71be727ec8da3cd71a2c1c965d336ff856f |
| 680 |
Author: Henrik Rydberg <[email protected]> |
| 681 |
Date: Tue Jun 22 00:52:26 2010 +0200 |
| 682 |
|
| 683 |
mtdev v1.0.0 |
| 684 |
|
| 685 |
commit ba936eddbf88b6d8f650082f6e7d2694f8addac4 |
| 686 |
Author: Henrik Rydberg <[email protected]> |
| 687 |
Date: Mon Jun 21 22:43:58 2010 +0200 |
| 688 |
|
| 689 |
Unused slot is denoted by MT_TRACKING_ID == -1 |
| 690 |
|
| 691 |
The current MT slot protocol allows any tracking id outside the range |
| 692 |
specified by the device to denote an unused slot. This is difficult to |
| 693 |
handle in userspace, since the valid range is unknown. This patch |
| 694 |
tightens the definition of a valid tracking id to always lie in the |
| 695 |
range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot. |
| 696 |
|
| 697 |
Acked-by: Chase Douglas <[email protected]> |
| 698 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 699 |
|
| 700 |
commit dbbf15a7fad8b76122061344aeddb652bd4fe442 |
| 701 |
Author: Chase Douglas <[email protected]> |
| 702 |
Date: Mon Jun 21 09:57:56 2010 -0400 |
| 703 |
|
| 704 |
mtdev_get: return number of retrieved events if error occurs |
| 705 |
|
| 706 |
Otherwise, we pull events, but return -1. We should send the events we |
| 707 |
were able to retrieve for now. |
| 708 |
|
| 709 |
Signed-off-by: Chase Douglas <[email protected]> |
| 710 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 711 |
|
| 712 |
commit 922332131c329b9d444c434d68a2f21e3076ae0c |
| 713 |
Author: Henrik Rydberg <[email protected]> |
| 714 |
Date: Sat Jun 19 14:21:55 2010 +0200 |
| 715 |
|
| 716 |
Install and uninstall all relevant files |
| 717 |
|
| 718 |
Useful for testing as a standalong package. |
| 719 |
|
| 720 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 721 |
|
| 722 |
commit 259b92a30280cdec2b7798df3c14da596c417ef1 |
| 723 |
Author: Henrik Rydberg <[email protected]> |
| 724 |
Date: Sat Jun 19 12:10:27 2010 +0200 |
| 725 |
|
| 726 |
Restructure mtdev api |
| 727 |
|
| 728 |
Split the api into plumbing and porcelain layers and move the |
| 729 |
plumbing part to its own optional header file. |
| 730 |
|
| 731 |
The main usecase is to fetch events from the device, route them |
| 732 |
through the converter and extract the processed events. To simplify |
| 733 |
the API, replace the intermediate mtdev_pull() function by the |
| 734 |
higher-level mtdev_get(). This function does all the required steps, |
| 735 |
and has the same semantics as read(). |
| 736 |
|
| 737 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 738 |
|
| 739 |
commit 8087ac3d655c2b2835cf61e7a69611d81d4f303e |
| 740 |
Author: Henrik Rydberg <[email protected]> |
| 741 |
Date: Fri Jun 18 11:51:54 2010 +0200 |
| 742 |
|
| 743 |
Change the matching code to the MIT license |
| 744 |
|
| 745 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 746 |
|
| 747 |
commit d7f96ade2801a712dbb532ab08ec93c9558870e1 |
| 748 |
Author: Henrik Rydberg <[email protected]> |
| 749 |
Date: Fri Jun 18 11:28:55 2010 +0200 |
| 750 |
|
| 751 |
Use a non-blocking example in test/mtdev |
| 752 |
|
| 753 |
The non-blocking case is more interesting for X applications. |
| 754 |
|
| 755 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 756 |
|
| 757 |
commit 2752c003604e907f2a6776ff794a72845d1b5949 |
| 758 |
Author: Henrik Rydberg <[email protected]> |
| 759 |
Date: Fri Jun 18 11:24:24 2010 +0200 |
| 760 |
|
| 761 |
Correct minor semantic documentation error in mtdev_close() |
| 762 |
|
| 763 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 764 |
|
| 765 |
commit 0463e0bcc262c7a4709b43312f15adaaaaaa88f9 |
| 766 |
Author: Henrik Rydberg <[email protected]> |
| 767 |
Date: Fri Jun 18 01:41:14 2010 +0200 |
| 768 |
|
| 769 |
janitor: fix spelling error |
| 770 |
|
| 771 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 772 |
|
| 773 |
commit 309df849b8ad3772b912d498eacda9f38a6e4f1e |
| 774 |
Author: Henrik Rydberg <[email protected]> |
| 775 |
Date: Fri Jun 18 01:39:40 2010 +0200 |
| 776 |
|
| 777 |
Correct semantic error in mtdev_idle |
| 778 |
|
| 779 |
The current semantics, that a non-empty conversion pipe means |
| 780 |
the device is not idle, is not very useful. This patch changes |
| 781 |
the semantics to simply checking if the fetch buffer is empty, |
| 782 |
and if there are no events to fetch from the device. |
| 783 |
|
| 784 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 785 |
|
| 786 |
commit d62c625535494361b8ba0a004a1d24ce485f0b59 |
| 787 |
Author: Henrik Rydberg <[email protected]> |
| 788 |
Date: Fri Jun 18 01:35:28 2010 +0200 |
| 789 |
|
| 790 |
Allow max_events to be zero in mtdev_pull() |
| 791 |
|
| 792 |
When reading from non-blocking devices, it makes sense to read |
| 793 |
all events available. This patch lets a zero max_events achieve that. |
| 794 |
|
| 795 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 796 |
|
| 797 |
commit c9c4f4cda362679567bc4bc04ffedc5d984e2329 |
| 798 |
Author: Henrik Rydberg <[email protected]> |
| 799 |
Date: Fri Jun 18 01:32:43 2010 +0200 |
| 800 |
|
| 801 |
Rectify argument order in mtdev_fetch |
| 802 |
|
| 803 |
The argument order in mtdev_fetch() differs from all other |
| 804 |
usages involved the file descriptor. Fixed with this patch. |
| 805 |
|
| 806 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 807 |
|
| 808 |
commit d4704c0d6d70a2815c5ca12d74ba11cc7be69e20 |
| 809 |
Author: Henrik Rydberg <[email protected]> |
| 810 |
Date: Fri Jun 18 01:28:43 2010 +0200 |
| 811 |
|
| 812 |
make: Correct bad library name |
| 813 |
|
| 814 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 815 |
|
| 816 |
commit ba07cbb24bd226ead1f8f96b0e969822aa734076 |
| 817 |
Author: Henrik Rydberg <[email protected]> |
| 818 |
Date: Thu Jun 17 21:41:26 2010 +0200 |
| 819 |
|
| 820 |
Output both a static and a dynamic library |
| 821 |
|
| 822 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 823 |
|
| 824 |
commit 7d392652bae52b76cb5fe907cc1e86e0e0c4ced9 |
| 825 |
Author: Henrik Rydberg <[email protected]> |
| 826 |
Date: Thu Jun 17 20:15:44 2010 +0200 |
| 827 |
|
| 828 |
Add idle function |
| 829 |
|
| 830 |
This patch adds the mtdev_idle() function, which checks the kernel |
| 831 |
device for activity. Useful when implementing timing logic. |
| 832 |
|
| 833 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 834 |
|
| 835 |
commit 6a8c74eb36ab93702c257f425832272cccb0cde8 |
| 836 |
Author: Henrik Rydberg <[email protected]> |
| 837 |
Date: Thu Jun 17 18:18:22 2010 +0200 |
| 838 |
|
| 839 |
Name dynamic library correctly |
| 840 |
|
| 841 |
To simplify dynamic library usage, name the libary correctly |
| 842 |
and put it in /usr/lib/. |
| 843 |
|
| 844 |
Signed-off-by: Henrik Rydberg <[email protected]> |
| 845 |
|
| 846 |
commit 66e5de9eaefc33ffa6af3617f9ec7a50f10af50d |
| 847 |
Author: Henrik Rydberg <[email protected]> |
| 848 |
Date: Thu Jun 17 18:12:58 2010 +0200 |
| 849 |
|
| 850 |
Initial load of mtdev project |
| 851 |
|
| 852 |
Signed-off-by: Henrik Rydberg <[email protected]> |