commit 926493b33a0836931ee454cba0761f021d078078
Author: Henrik Rydberg <rydberg@euromail.se> Date: Mon Jul 19 13:09:51 2010 +0200 mtdev v1.0.6 commit d2a8e0bfda364730ba5c06be4adc783f9a889073 Author: Henrik Rydberg <rydberg@euromail.se> Date: Mon Jul 19 13:09:10 2010 +0200 Change test program name to mtdev-test In order to simplify packaging, rename the current mtdev device test program to mtdev-test. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit a6f1a4dd2c14908c6602c4c2438ef4b5cb86de99 Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jul 15 14:51:55 2010 +0200 mtdev v1.0.5 commit 16110e89a671067ee53cb7a8bce6b6a2690b97ae Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jul 15 14:51:04 2010 +0200 Add missing header files to sources directive In order for make dist-gzip to work properly, all files needed to build the system need to be listed. This patch adds the missing header files to the sources directive. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 7de1f0b0bbfb4dd5b205ed74d2f8ad2ca5e663b6 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jul 13 09:14:35 2010 +0200 mtdev v1.0.4 commit 3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon Jul 5 08:01:41 2010 +0200 Build test utilities unconditionally, do not install The test programs in the package are command-line utilities which can be used to generate MT code mappings for header files, and debug hardware problems, and should not be installed. With this patch, tests are built unconditionally, but not installed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 8da65965093ce2515dd0ce828a6512f24f5f5ca9 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jul 2 11:53:41 2010 +1000 README: add URL and email for patches. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit ad07aa12a19dea8324c2cc5e1d986c636c4b6593 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jul 2 11:51:08 2010 +1000 test: fix out-of-tree builds. Libraries are in builddir, not sourcedir. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit e1c48e0763304ae58752c29c3afb85f68bdf32fa Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 24 21:03:42 2010 +0200 mtdev v1.0.3 commit c880548a2973a52070cb583923d5edae375b7b6d Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 24 11:39:08 2010 +0200 Add a CREDITS file This patch adds a CREDITS file, which keeps track of historical contributions affecting this library. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 1fed4b309cea8c7a0dc03f740174bd31b4b03ab5 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 23:25:58 2010 +0200 gitignore: Ignore the patches directory Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit a0dc5304a856158939b52980ce5eaf7d25b67bf1 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 22:42:22 2010 +0200 mtdev v1.0.2 commit 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 22:38:58 2010 +0200 Update defuzz() credits Correct the credits for the defuzz() function. Used under the MIT license with permission from Vojtech Pavlik. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 451dbad007dc941fb7a4877238873d13245c0a65 Author: Chase Douglas <chase.douglas@canonical.com> Date: Tue Jun 22 16:06:38 2010 -0400 Search for libmtdev in src/ directory during a clean build If mtdev hasn't already been installed, the test binaries will fail to compile because they can't find libmtdev. Point them to the src directory build output. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> commit d29155e8436e084d925fc3ed5bb1fce94bc69949 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 11:55:38 2010 +0200 mtdev v1.0.1 commit d4d92de224681a260de81be44374649de2bfb485 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 11:55:04 2010 +0200 Apply new package title to all files This patch changes the package description title in all relevant files, and touches up the README. All systems go. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 7a5b2c37ea0b4ec81fbe8be7c1d7f9bf1731439e Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 11:45:17 2010 +0200 Build test tools also under autoconf The tests can be disabled by using --enable-test=no in configure. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 9c5128866ea65ad300b40d47a9d43998dc8bc9f4 Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 11:44:36 2010 +0200 janitor: fix compiler warnings Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 0647b37dfc35145d74822844ad7e54bf5c218369 Author: Chase Douglas <chase.douglas@canonical.com> Date: Mon Jun 21 21:08:51 2010 -0400 Move to autotools [rydberg@euromail.se: minor fixups] Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 172221f14fc91ebb37aa4c561ad733088cc3c3bf Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 09:19:50 2010 +0200 match: conform to mtdev namespace Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 925ad71be727ec8da3cd71a2c1c965d336ff856f Author: Henrik Rydberg <rydberg@euromail.se> Date: Tue Jun 22 00:52:26 2010 +0200 mtdev v1.0.0 commit ba936eddbf88b6d8f650082f6e7d2694f8addac4 Author: Henrik Rydberg <rydberg@euromail.se> Date: Mon Jun 21 22:43:58 2010 +0200 Unused slot is denoted by MT_TRACKING_ID == -1 The current MT slot protocol allows any tracking id outside the range specified by the device to denote an unused slot. This is difficult to handle in userspace, since the valid range is unknown. This patch tightens the definition of a valid tracking id to always lie in the range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot. Acked-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit dbbf15a7fad8b76122061344aeddb652bd4fe442 Author: Chase Douglas <chase.douglas@canonical.com> Date: Mon Jun 21 09:57:56 2010 -0400 mtdev_get: return number of retrieved events if error occurs Otherwise, we pull events, but return -1. We should send the events we were able to retrieve for now. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 922332131c329b9d444c434d68a2f21e3076ae0c Author: Henrik Rydberg <rydberg@euromail.se> Date: Sat Jun 19 14:21:55 2010 +0200 Install and uninstall all relevant files Useful for testing as a standalong package. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 259b92a30280cdec2b7798df3c14da596c417ef1 Author: Henrik Rydberg <rydberg@euromail.se> Date: Sat Jun 19 12:10:27 2010 +0200 Restructure mtdev api Split the api into plumbing and porcelain layers and move the plumbing part to its own optional header file. The main usecase is to fetch events from the device, route them through the converter and extract the processed events. To simplify the API, replace the intermediate mtdev_pull() function by the higher-level mtdev_get(). This function does all the required steps, and has the same semantics as read(). Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 8087ac3d655c2b2835cf61e7a69611d81d4f303e Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 11:51:54 2010 +0200 Change the matching code to the MIT license Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit d7f96ade2801a712dbb532ab08ec93c9558870e1 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 11:28:55 2010 +0200 Use a non-blocking example in test/mtdev The non-blocking case is more interesting for X applications. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 2752c003604e907f2a6776ff794a72845d1b5949 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 11:24:24 2010 +0200 Correct minor semantic documentation error in mtdev_close() Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 0463e0bcc262c7a4709b43312f15adaaaaaa88f9 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 01:41:14 2010 +0200 janitor: fix spelling error Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 309df849b8ad3772b912d498eacda9f38a6e4f1e Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 01:39:40 2010 +0200 Correct semantic error in mtdev_idle The current semantics, that a non-empty conversion pipe means the device is not idle, is not very useful. This patch changes the semantics to simply checking if the fetch buffer is empty, and if there are no events to fetch from the device. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit d62c625535494361b8ba0a004a1d24ce485f0b59 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 01:35:28 2010 +0200 Allow max_events to be zero in mtdev_pull() When reading from non-blocking devices, it makes sense to read all events available. This patch lets a zero max_events achieve that. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit c9c4f4cda362679567bc4bc04ffedc5d984e2329 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 01:32:43 2010 +0200 Rectify argument order in mtdev_fetch The argument order in mtdev_fetch() differs from all other usages involved the file descriptor. Fixed with this patch. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit d4704c0d6d70a2815c5ca12d74ba11cc7be69e20 Author: Henrik Rydberg <rydberg@euromail.se> Date: Fri Jun 18 01:28:43 2010 +0200 make: Correct bad library name Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit ba07cbb24bd226ead1f8f96b0e969822aa734076 Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 17 21:41:26 2010 +0200 Output both a static and a dynamic library Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 7d392652bae52b76cb5fe907cc1e86e0e0c4ced9 Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 17 20:15:44 2010 +0200 Add idle function This patch adds the mtdev_idle() function, which checks the kernel device for activity. Useful when implementing timing logic. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 6a8c74eb36ab93702c257f425832272cccb0cde8 Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 17 18:18:22 2010 +0200 Name dynamic library correctly To simplify dynamic library usage, name the libary correctly and put it in /usr/lib/. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> commit 66e5de9eaefc33ffa6af3617f9ec7a50f10af50d Author: Henrik Rydberg <rydberg@euromail.se> Date: Thu Jun 17 18:12:58 2010 +0200 Initial load of mtdev project Signed-off-by: Henrik Rydberg <rydberg@euromail.se> |