summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
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. Webb17-1100/+504
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. Webb1-2/+2
2011-11-23Integrated python into existing build mechanism.Stephen M. Webb4-1/+42
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
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-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 McGreggor7-25/+55
* 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-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-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-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.