summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-23* Added more beef to the write test.Duncan McGreggor2-14/+23
* Fixed up trailing whitespace.
2011-03-23* Added a file stream close method (wrapped to ease in testing).Duncan McGreggor5-14/+69
* Added a set and get method for the file stream fd/pointer. * Updated other methods to utilize these three new methods (four, including the private _close). * Added unit tests for some of the new methods (testcase.skip, placeholders for the others). * Finished the write test case.
2011-03-19Start exploring a ctypes structure setup for the device structure.Duncan McGreggor2-0/+61
2011-03-19Updated the write method for improved testability.Duncan McGreggor3-14/+30
2011-03-18Merged from trunk.Duncan McGreggor3-33/+269
2011-03-18Fixed type output for property method (should match C API).Duncan McGreggor2-4/+3
2011-03-18Started working on the write implementation.Duncan McGreggor2-0/+19
2011-03-17Updated device unit tests to test the full range of valid values.Duncan McGreggor4-25/+86
2011-03-17Moved device-creation convenience method into testcase module.Duncan McGreggor3-20/+16
2011-03-17* Fixed up docstrings for the device classes.Duncan McGreggor3-107/+252
* Changed the input event constants to be dicts.
2011-03-17* Restrcutured the testing module into a subpackage.Duncan McGreggor14-208/+262
* Updated the TODO with notes about parameter values in device functions (IRC conversation with Henrik). * Added a missing constant.
2011-03-15Device and wrapper cleanup and prep for next stages of development.Duncan McGreggor3-10/+37
2011-03-15* Finished the device imlementation and added related unit tests.Duncan McGreggor7-25/+218
* Fixed a but in lsinput function. * Added more constants (some may not be needed).
2011-03-15Removed the debug statements (this cleans up the output of the test results).Duncan McGreggor2-14/+0
2011-03-15Added implementations for the rest of the property methods in the device class.Duncan McGreggor3-9/+28
2011-03-15Removed extraneous parameter.Duncan McGreggor2-3/+1
2011-03-15* Fixed the wrapper create method.Duncan McGreggor8-26/+56
* Fixed the wrapper create unit test. * Added a __del__method to the wrapper. * Fixed the wrapper's ctypes convenience method for passing parameters. * Added a tearDown method to the wrapper test case. * Added null settings to destory/delete methods in device class. * Changed lsinput to lsinput raw. * Created a new lsinput utility function that actually parses the data.
2011-03-15* Finished up unit tests for exceptions.Duncan McGreggor2-20/+27
* Cleaned up some debugging code. * Used the new idiom for the version and name property methods.
2011-03-15Another fix from Henrik (go rydbeg!!).Duncan McGreggor1-1/+1
2011-03-15* Fixed a typo in a lib call (spotted by Henrik).Duncan McGreggor3-3/+4
* Updated the C error propagation message to include the name of the called library function.
2011-03-15* Split out logic into more discrete (private) functions.Duncan McGreggor5-38/+93
* Added unit tests to test this new approach.
2011-03-15Release v1.0.5Henrik Rydberg1-1/+1
2011-03-15Complete function documentation in evemu.hHenrik Rydberg2-16/+227
For reasons not likely to become clear again at the moment, only two functions were ever documented, and those were made in the source file where nobody can see it. This patch adds function documentation to all functions in the header file. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-03-15Add the missing evemu_set_name() functionHenrik Rydberg2-3/+11
During the evolution of evemu, the process of setting the device name has shifted towards the evemu_extract() and evemu_read() functions, rendering the initial name in evemu_new() more or less useless. This patch adds the missing evemu_set_name() function, in order to make it possible to override the device name before device creation. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-03-15* Moved testing device creation out of setUp method for easier checking ofDuncan McGreggor2-13/+25
device counts. * Filled in unit test for test_create_node. * Added some debugging to tearDown. * Removed some old debugging.
2011-03-14Added more code comments.Duncan McGreggor1-0/+4
2011-03-14Updated code comments and fixed a method name.Duncan McGreggor1-4/+5
2011-03-14More misc. debugging changes.Duncan McGreggor2-2/+0
2011-03-14Added device calls to new delete and destroy methods.Duncan McGreggor1-0/+2
2011-03-14* Fixed the get_all_device_numbers implementation.Duncan McGreggor1-5/+6
* Added a file existence check to the get_all_device_names implementation.
2011-03-14Added debugging info to trace the issue with devices not being destoryed afterDuncan McGreggor1-0/+14
a unit test is run.
2011-03-14* Added delete, destory, and close implementations.Duncan McGreggor2-26/+100
* Restructured the various methods to utilize the delete, destory, and close methods analagously to the way in which the C tools do. * Reenabled unit tests.
2011-03-14Fixed a missing import.Duncan McGreggor1-1/+2
2011-03-14Tweaked the display of test results.Duncan McGreggor2-11/+16
2011-03-14* Updated docstrings for delete/destory methods.Duncan McGreggor2-4/+25
* Changed the create() method to check for for the device attribute first.
2011-03-14Changed the wildly inaccurate device_fd to device_pointer.Duncan McGreggor4-17/+13
2011-03-14Removed references to device_name when creating a new device.Duncan McGreggor5-15/+12
2011-03-14* Added a mechanism to the device class for tracking the uinput fileDuncan McGreggor5-37/+84
descriptor. * Cleaned up the commented out code in create_node. * Divded the util test cases into different test case classes. * Added more functions to the util module for breaking out the logic better (more discretely). * Added tasks to the TODO.
2011-03-14Appended "Virtual Device" to all the device names.Duncan McGreggor5-5/+5
2011-03-14Made a change to the parameters of fopen, at the instruction of Henrik.Duncan McGreggor1-5/+8
2011-03-14* Lots of changes to make the test suites run in Python 2.6 (they were Duncan McGreggor8-23/+135
developed on against Python 2.7). * Part-way through debugging seg faults during tests on a (virtual) machine running Maverick.
2011-03-14Move realtime read into its own functionHenrik Rydberg2-13/+30
The realtime read functionality is needed in many places, in particular in the test frameworks of utouch-frame and utouch-grail. Move the realtime code from evemu_play into its own function, and make it part of the API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2011-03-14Added more files to cleanup.Duncan McGreggor1-1/+4
2011-03-14Added a mind-state dump section to the TODO file, commenting on what I'mDuncan McGreggor1-0/+14
currently looking into.
2011-03-14Debugging work on why the devices aren't being deleted after each test.Duncan McGreggor3-7/+35
2011-03-14Small adjustments for the changes in API.Duncan McGreggor1-3/+2
2011-03-14* Changed the way that temporary devices were named so that they could beDuncan McGreggor1-6/+7
identified on a per-test basis. * Updated the file methods to return the new names for the data files.
2011-03-14* Added support for respecting the MAX_EVENT_NODE constant.Duncan McGreggor2-4/+18
* Added a utility function for getting the top-level directory for python evemu. * Added a test for getting the last device number.
2011-03-14* Added a bug to the TODO.Duncan McGreggor1-0/+18
* Started a workflow analysis of the evemu-device script.
2011-03-12Added TODO file.Duncan McGreggor1-0/+18