Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-09 | srd: change output_new() API call to add() | Bert Vermeulen | |
2012-01-08 | i2c: fix address handling | Bert Vermeulen | |
2012-01-07 | expose SRD_OUTPUT_* as symbols in the sigrokdecode module. | Bert Vermeulen | |
2012-01-07 | Decoder.output_new() now takes an extra protocol_id argument. | Bert Vermeulen | |
2012-01-07 | convert data coming in from a PD to C structs | Bert Vermeulen | |
This is in preparation for passing annotation data back to the calling frontend, and python data up to the next protocol in the stack. | |||
2012-01-05 | new srd_logic type implementation for PDs to iterate over. | Bert Vermeulen | |
2012-01-03 | srd: Remove decode() docstrings. | Uwe Hermann | |
This info is in the decoder's metadata, where the frontends can get it from programmatically anyway. | |||
2012-01-03 | srd: *.py: Remove one incorrect ord() call. | Uwe Hermann | |
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int', thus the ord() there is neither needed nor correct anymore (yields an error). | |||
2011-12-28 | python 3 port | Bert Vermeulen | |
2011-12-28 | make time/duration work, at least when loading from a session file | Bert Vermeulen | |
PD decode() call now takes 3 arguments: timeoffset, duration, data as per the current API specification. | |||
2011-12-28 | new dynamic output stream registration code, not finished. | Bert Vermeulen | |
2011-12-10 | srd: decoders: Don't use problematic and/or construct. | Uwe Hermann | |
2011-12-04 | srd: Update decoders to changed API. | Uwe Hermann | |
2011-12-04 | refactored PD framework, now using new sigrok.Decoder object | Bert Vermeulen | |
This uses the new python unified type/class object API to construct an object for PDs to subclass. The sigrok.Decoder class has a method put() which is implemented as a C function, and receives the PD's object instance as its first parameter. | |||
2011-12-01 | srd: PDs now explicitly register with sigrok module. | Gareth McMullin | |
2011-12-01 | srd: i2c.py: States are global, not per-instance. | Uwe Hermann | |
2011-11-27 | decoders: Drop psyco stuff, seems obsolete. | Uwe Hermann | |
The psyco module seems to be mostly unmaintained at this point, it does not support Python 2.7 or higher at all, it only supports x86, it doesn't support 64 bit systems at all, etc. etc. We should try to find other ways to optimize our decoders for speed. | |||
2011-11-27 | srd: Python: Consistently use single quotes for strings. | Uwe Hermann | |
2011-11-27 | srd: i2c.py: Docstrings should use """. | Uwe Hermann | |
This is the most commonly used and recommended method for docstrings. | |||
2011-11-27 | srd: i2c.py: Mark Repeated Start condition as 'Sr'. | Uwe Hermann | |
2011-11-27 | srd: i2c.py: Rework I2C decoder. | Uwe Hermann | |
This should be working OK for most use-cases now, though there certainly are a few TODOs left. The output format is just a quick hack and will change. | |||
2011-11-27 | srd: Pass metadata to decoders only on SR_DF_HEADER. | Gareth McMullin | |
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function. | |||
2011-11-24 | srd: i2c.py: Convert to new API (unfinished). | Uwe Hermann | |
This decoder is probably not fully converted yet, and doesn't really successfully decode I2C, yet. It's work in progress. | |||
2011-11-23 | Decoders: Use 4 spaces for indentation as per PEP-8. | Uwe Hermann | |
2011-11-20 | Partial implementation of the streaming PD API. | Kristoffer Sjöberg | |
2011-02-06 | Python decoders: Add more metadata. | Uwe Hermann | |
Make the list of metadata info match the spec in the wiki more closely. | |||
2011-01-10 | Rename the scripts/ directory to decoders/. | Uwe Hermann | |