]>
sigrok.org Git - libsigrokdecode.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Uwe Hermann [Fri, 23 Apr 2010 23:04:20 +0000 (01:04 +0200)]
Various Python decoder infrastructure improvements.
- 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.
unknown [Fri, 23 Apr 2010 16:49:17 +0000 (18:49 +0200)]
sigrokdecode.h: Add struct sigrokdecode_decoder_info.
unknown [Fri, 23 Apr 2010 16:47:43 +0000 (18:47 +0200)]
Rename sigrokdecode_register_i2c() to register().
unknown [Fri, 23 Apr 2010 16:46:36 +0000 (18:46 +0200)]
transitioncounter: Add register() function.
unknown [Fri, 23 Apr 2010 16:06:22 +0000 (18:06 +0200)]
sigrokdecode_run_decoder(): Pass in the module name.
Uwe Hermann [Wed, 21 Apr 2010 18:31:10 +0000 (20:31 +0200)]
Python: Use "enums" as states, not strings.
Also, fix a typo.
Uwe Hermann [Sun, 18 Apr 2010 01:15:06 +0000 (03:15 +0200)]
Python: Bugfixes (True/False != 1/0).
Uwe Hermann [Sun, 18 Apr 2010 00:02:35 +0000 (02:02 +0200)]
Python: Use range instead of xrange.
For small numbers range seems to be faster, and xramge is being removed
anyway in Python 3 AFAIK.
Uwe Hermann [Sat, 17 Apr 2010 23:58:45 +0000 (01:58 +0200)]
sigrokdecode_init: Add more Python search paths.
Uwe Hermann [Sat, 17 Apr 2010 23:54:49 +0000 (01:54 +0200)]
transitioncounter.py: Simplify and optimize a bit.
Uwe Hermann [Thu, 15 Apr 2010 18:07:16 +0000 (20:07 +0200)]
libsigrok: Coding style fixes.
Uwe Hermann [Mon, 12 Apr 2010 17:42:35 +0000 (19:42 +0200)]
Use psyco (if available) to improve performance.
Uwe Hermann [Sun, 11 Apr 2010 19:44:12 +0000 (21:44 +0200)]
First attempt at an I2C decoder (untested).
Uwe Hermann [Sun, 11 Apr 2010 01:58:05 +0000 (03:58 +0200)]
Implement a simple transition counter script.
Uwe Hermann [Fri, 9 Apr 2010 20:18:46 +0000 (22:18 +0200)]
Fix all warnings and re-enable -Wextra.
Uwe Hermann [Tue, 6 Apr 2010 00:11:01 +0000 (02:11 +0200)]
More paths to the libsigrokdecode Python scripts.
Uwe Hermann [Tue, 6 Apr 2010 00:06:55 +0000 (02:06 +0200)]
Fix incorrect path to the Python decoder scripts.
Uwe Hermann [Mon, 5 Apr 2010 23:29:32 +0000 (01:29 +0200)]
libsigrokdecode: Add initial return code list.
Uwe Hermann [Fri, 2 Apr 2010 18:18:27 +0000 (20:18 +0200)]
Start of code base layout restructuring.