Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-01 | constify srd_decoder_list() output | Bert Vermeulen | |
2012-05-10 | srd: Support for one or more optional probes. | Uwe Hermann | |
In the protocol decoder you always get all required probes, then _all_ optional probes in the list of probes in the decode() call. Example: (r1, r2, r3, o1, o2, o3, o4) = pins In this case r1-r3 are required probes, o1-o4 are optional probes. However, the value of valid/used/specified probes will be 0 or 1, whereas the value of probes that were not specified/assigned by the user will be (at the moment) 42. The PD can check for a valid probe like this: if p in (0, 1): ... Or check for an invalid probe: if (p > 1): ... The value of 42 could change to be -1 or None later. | |||
2012-05-09 | srd: Fix a few Doxygen errors. | Uwe Hermann | |
2012-03-28 | srd: Some more (optional) consistency renames. | Uwe Hermann | |
2012-03-28 | srd/cli/qt: Some more API consistency renames. | Uwe Hermann | |
2012-03-21 | srd: Drop unused inputformats/outputformats entries. | Uwe Hermann | |
2012-03-21 | sr/srd: Small fixes, constifications, doc updates. | Uwe Hermann | |
2012-03-18 | srd/cli/qt:s/decoders/decoder/ for consistency. | Uwe Hermann | |
2012-03-18 | srd: Constify lots more parameters. | Uwe Hermann | |
2012-03-18 | srd: Cosmetics, fix/add Doxygen comments. | Uwe Hermann | |
2012-02-14 | srd: rename public API functions to srd_thing_action format | Bert Vermeulen | |
2012-02-14 | srd: don't load all protocol decoders unless we really need to. | Bert Vermeulen | |
2012-02-12 | srd: last public/private fix, and docs for all publis functions. | Bert Vermeulen | |
2012-02-11 | srd: rename all instance to inst | Bert Vermeulen | |
2012-02-10 | srd: Add/improve g_malloc() error messages. | Uwe Hermann | |
2012-02-10 | srd: Add/use SRD_API/SRD_PRIV macros. | Uwe Hermann | |
This is not yet finished, more things should be made private. | |||
2012-02-10 | srd: Cosmetics, whitespace, coding-style fixes. | Uwe Hermann | |
2012-02-01 | srd: rename extra_probes to optional_probes | Bert Vermeulen | |
2012-01-31 | srd: free all decoder instances when unloading decoders | Bert Vermeulen | |
2012-01-30 | srd: removed stray malloc() | Bert Vermeulen | |
2012-01-30 | srd: clear objects after final decref, so it doesn't happen twice | Bert Vermeulen | |
2012-01-26 | srd: Remove manual log domain ("srd: ") prefixes. | Uwe Hermann | |
2012-01-23 | srd: use new exception system everywhere | Bert Vermeulen | |
2012-01-23 | srd: minor code cleanup | Bert Vermeulen | |
2012-01-22 | srd: make all debugging and error reporting uniform | Bert Vermeulen | |
2012-01-21 | srd: support for mapping probes | Bert Vermeulen | |
2012-01-21 | srd: decoder class structure check belongs in module loader | Bert Vermeulen | |
2012-01-19 | srd: fix decoder loading, and back to using glib dirent wrappers | Bert Vermeulen | |
2012-01-19 | srd: don't check directory structure a PD is in, but what it implements. | Bert Vermeulen | |
Also added extra check to require start() and decode() methods in the PD's Decoder class. | |||
2012-01-19 | srd: simplified error checking, in preparation for more of it | Bert Vermeulen | |
2012-01-15 | srd: Each PD now has its own subdirectory. | Uwe Hermann | |
2012-01-15 | srd: handle missing module docstrings better | Bert Vermeulen | |
2012-01-15 | srd: clean up module loading/unloading, and the decoder struct | Bert Vermeulen | |
PDs are now checked for a proper Decoder object, with at least the required attributes. The author, long_desc and func attributes in the decoder object are gone. | |||
2012-01-10 | srd: annotation -> annotations. | Uwe Hermann | |
In the PDs (Python code), the 'annotation' variable/attribute is a list of annotation formats. Use the plural 'annotations' as we do for other lists such as 'inputs', 'outputs', 'probes', 'options', and so on. | |||
2012-01-10 | Stacked protocol decoders implementation. | Bert Vermeulen | |
The DDC decoder takes input from the I2C PD. | |||
2012-01-09 | code cleanup | Bert Vermeulen | |
2012-01-07 | check before calling PyObject_GetAttrString(): this throws an exception. | 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-03 | sr/srd: Fix left-over #includes. | Uwe Hermann | |
The libs themselves should use #include "sigrok.h" etc., while the frontends must use #include <sigrok.h> and so on. | |||
2011-12-28 | better python memory management | Bert Vermeulen | |
2011-12-28 | new dynamic output stream registration code, not finished. | Bert Vermeulen | |
2011-12-04 | srd: Bring back the 'id' field and use it. | 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. |