summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-08Fix compile for Python >= 3.0.Uwe Hermann
Python docs tells us more about string functions: "These functions have been renamed to PyBytes_* in Python 3.x. Unless otherwise noted, the PyBytes functions available in 3.x are aliased to their PyString_* equivalents to help porting." (http://docs.python.org/c-api/string.html) Use #defines to map the new names and fix the compile for Python >= 3.0. Thanks Olivier Fauchon <olivier@aixmarseille.com> for the patch.
2010-05-20libsigrokdecode: Use SIGROKDECODE_OK.Uwe Hermann
2010-05-11pkg-config: Add libsigrokdecode.pc.Uwe Hermann
2010-05-11Use CLEANFILES instead of extra target.Uwe Hermann
2010-05-09scripts: Add clean-local target for *.pyc.Uwe Hermann
2010-05-05I2C: Convert output to more usable format.Uwe Hermann
2010-04-27i2c.py: Fix typo resulting in a nonworking script.Uwe Hermann
2010-04-27Add Python decoder for the Wii Nunchuk.Uwe Hermann
Untested, unfinished.
2010-04-24I2C decoder format draft (unfinished).Uwe Hermann
2010-04-24Various small decoder script fixes.Uwe Hermann
2010-04-24dist_pkgdata_SCRIPTS: Add i2c.py.Uwe Hermann
2010-04-24Various Python decoder infrastructure improvements.Uwe Hermann
- Introduce 'struct sigrokdecode_decoder'. - Decoders are now handled via two C functions: - sigrokdecode_load_decoder(): Fills a 'struct sigrokdecode_decoder'. - sigrokdecode_run_decoder(): Runs a decoder function. - There are now two decoder API functions a script needs to implement: - register(): Returns a Python dict with certain metadata. - decode(): Runs the actual decoder code. - libsigrokdecode: Add and use some more #defines for errors: - SIGROKDECODE_ERR_ARGS - SIGROKDECODE_ERR_PYTHON - Various other smaller Python decode script infrastructure issues.
2010-04-23sigrokdecode.h: Add struct sigrokdecode_decoder_info.unknown
2010-04-23Rename sigrokdecode_register_i2c() to register().unknown
2010-04-23transitioncounter: Add register() function.unknown
2010-04-23sigrokdecode_run_decoder(): Pass in the module name.unknown
2010-04-21Python: Use "enums" as states, not strings.Uwe Hermann
Also, fix a typo.
2010-04-18Python: Bugfixes (True/False != 1/0).Uwe Hermann
2010-04-18Python: Use range instead of xrange.Uwe Hermann
For small numbers range seems to be faster, and xramge is being removed anyway in Python 3 AFAIK.
2010-04-18sigrokdecode_init: Add more Python search paths.Uwe Hermann
2010-04-18transitioncounter.py: Simplify and optimize a bit.Uwe Hermann
2010-04-15libsigrok: Coding style fixes.Uwe Hermann
2010-04-12Use psyco (if available) to improve performance.Uwe Hermann
2010-04-11First attempt at an I2C decoder (untested).Uwe Hermann
2010-04-11Implement a simple transition counter script.Uwe Hermann
2010-04-09Fix all warnings and re-enable -Wextra.Uwe Hermann
2010-04-06More paths to the libsigrokdecode Python scripts.Uwe Hermann
2010-04-06Fix incorrect path to the Python decoder scripts.Uwe Hermann
2010-04-06libsigrokdecode: Add initial return code list.Uwe Hermann
2010-04-02Start of code base layout restructuring.Uwe Hermann