summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-14Avoid calling fclose multiple timesHEADmasterKeith Packard1-2/+6
Both the signal handler and main close the output if it's not stdout; if you do both, then fclose gets called twice, which annoys libc. Signed-off-by: Keith Packard <keithp@keithp.com>
2012-05-17Add support for comment lines starting with '#'Peter Hutterer2-3/+23
Very basic parser, recognises comments at the top of the file, and only if '#' is the first character of that line. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-15Revert "Add support for comment lines starting with '#'"Peter Hutterer3-25903/+6
This skips over some lines, leaving evemu unusable. This reverts commit 54c88224e393567f0453a5bd3d441d38e5ded097. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-10evemu 1.0.9Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-10Add evemu_get_abs_current() to retrieve the current valuePeter Hutterer3-0/+16
Applications that use evemu need this for ABS_MT_SLOT so they can start working on the first touchpoint, rather than waiting for the slot to change. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-22Run configure from autogen.shKeith Packard1-0/+2
It's conventional, and nice to include --enable-maintainer-mode automatically anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
2012-03-22export evemu_create_event and evemu_play_oneKeith Packard1-0/+2
These are needed by evemu tools Signed-off-by: Keith Packard <keithp@keithp.com>
2012-03-22Add dependencies for soelim man pagesKeith Packard1-2/+6
This lets make know how to build them, for use with -jn (n>1) Signed-off-by: Keith Packard <keithp@keithp.com>
2012-02-29Add support for comment lines starting with '#'Peter Hutterer3-6/+25903
Very basic parser, only recognises comment lines if '#' is the first character in that line, no whitespace before '#'. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-29Add evemu-event to play a single event from the commandline.Peter Hutterer5-3/+113
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-29If UI_SET_PROPBIT always fails, assume success anywayPeter Hutterer1-2/+9
Older kernels don't support this ioctl value. Keep setting all propbits and if all of them fail just assume that the kernel was too old and report success anyway. Once one of the succeeds, fail if another one does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-11-30Bumped version to 1.0.8.Stephen M. Webb1-1/+1
2011-11-30Added Python bindings and unit tests (LP: #731678).Stephen M. Webb27-5/+1291
2011-11-30Removed python/Makefile.original and python/TODOStephen M. Webb2-173/+0
2011-11-30Added some property docstrings.Stephen M. Webb1-0/+15
2011-11-30Renamed pythone test_device source file.Stephen M. Webb1-0/+0
2011-11-30Replaced the original convoluted set of python classes with a single Device ↵Stephen M. Webb20-1101/+539
class.
2011-11-24Removed test directory tests.Stephen M. Webb1-15/+0
2011-11-24Further refined test case error detection.Stephen M. Webb2-3/+10
2011-11-24Fixed testsuite fail due to testsuite resource leakStephen M. Webb2-5/+5
2011-11-23Fixed segfault in 'make distcheck'Stephen M. Webb2-2/+4
2011-11-23Integrated python into existing build mechanism.Stephen M. Webb7-2/+46
2011-11-23Synched to trunkStephen M. Webb12-23/+311
2011-11-03Fixed printf/scanf buffer overflow problems (LP: #884848).Stephen M. Webb5-9/+46
2011-11-02Moved null-termination logic from evemu_write() to evemu_extract(), switched ↵Stephen M. Webb1-8/+3
from %a scanf modifier to %m.
2011-11-02Cranked up all warnings and enabled -WerrorStephen M. Webb4-7/+9
2011-11-01Added regression test data file.Stephen M. Webb1-0/+27
2011-11-01Reversed order of args to strncpy() in previous patch.Stephen M. Webb1-1/+1
2011-11-01Fixed printf/scanf buffer overflow problems (LP: #884848).Dwayne Litzenberger2-4/+17
2011-10-30Release v1.0.7Chase Douglas1-1/+1
2011-06-29Merged robustness branch.Jussi Pakkanen2-2/+38
2011-06-28Indentation fix.Jussi Pakkanen1-3/+3
2011-06-28Add signal handler to flush data in case of abrupt exit.Jussi Pakkanen1-7/+29
2011-06-28Can set an output file on the command line.Jussi Pakkanen1-2/+15
2011-06-28Flush written events immediately.Jussi Pakkanen1-0/+1
2011-06-17Added ELF symbol versioning.Stephen M. Webb4-1/+77
2011-06-16Added ELF symbol versioning.Stephen M. Webb4-1/+77
2011-05-17Merged underscore removal.Jussi Pakkanen2-4/+4
2011-05-17Removed leading underscores for better C standard conformance.Jussi Pakkanen2-4/+4
2011-04-21Release v1.0.6Henrik Rydberg1-1/+1
2011-04-21Remove accidental copy and pasteHenrik Rydberg1-3/+0
Some lines got duplicated in error. Fixed. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-04-21Allow spaces in device namesHenrik Rydberg1-4/+2
The current code only reads a single word as the device name, and the extract function replaces spaces with hyphens to match that. This patch modifies the scan code to allow for a full line of name data, and removes the name modification during extraction. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
2011-04-21Capture read errors in evemu-deviceHenrik Rydberg1-1/+2
Like the scan functions, evemu_device returns a non-positive number on failure. Adjust logic to capture the read errors returning zero. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
2011-04-19Add cflags to pkgconfig file.Henrik Rydberg1-0/+1
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-04-19Hook up ChangeLog to be either bzr or git, depending which is availableHenrik Rydberg1-1/+9
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-04-19Add getters and setters for main fields.Henrik Rydberg2-0/+128
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-04-19Skip devices with EV_ABS and min/max of 0/0Henrik Rydberg1-0/+6
The kernel doesn't like those devices and initialization will fail. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-04-06* Cleaned up the wrapper class.Duncan McGreggor3-32/+35
* Started preparing for the record and play method implementations.
2011-04-06* Fixed the check suggested by Henrik (given the return values in variousDuncan McGreggor3-10/+32
libutouch-evemu functions). * Updated the unit tests.
2011-04-06Started working on extract wrapper.Duncan McGreggor3-6/+51