summaryrefslogtreecommitdiff
path: root/decoder.c
AgeCommit message (Collapse)Author
2012-02-11srd: rename all instance to instBert Vermeulen
2012-02-10srd: Add/improve g_malloc() error messages.Uwe Hermann
2012-02-10srd: Add/use SRD_API/SRD_PRIV macros.Uwe Hermann
This is not yet finished, more things should be made private.
2012-02-10srd: Cosmetics, whitespace, coding-style fixes.Uwe Hermann
2012-02-01srd: rename extra_probes to optional_probesBert Vermeulen
2012-01-31srd: free all decoder instances when unloading decodersBert Vermeulen
2012-01-30srd: removed stray malloc()Bert Vermeulen
2012-01-30srd: clear objects after final decref, so it doesn't happen twiceBert Vermeulen
2012-01-26srd: Remove manual log domain ("srd: ") prefixes.Uwe Hermann
2012-01-23srd: use new exception system everywhereBert Vermeulen
2012-01-23srd: minor code cleanupBert Vermeulen
2012-01-22srd: make all debugging and error reporting uniformBert Vermeulen
2012-01-21srd: support for mapping probesBert Vermeulen
2012-01-21srd: decoder class structure check belongs in module loaderBert Vermeulen
2012-01-19srd: fix decoder loading, and back to using glib dirent wrappersBert Vermeulen
2012-01-19srd: 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-19srd: simplified error checking, in preparation for more of itBert Vermeulen
2012-01-15srd: Each PD now has its own subdirectory.Uwe Hermann
2012-01-15srd: handle missing module docstrings betterBert Vermeulen
2012-01-15srd: clean up module loading/unloading, and the decoder structBert 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-10srd: 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-10Stacked protocol decoders implementation.Bert Vermeulen
The DDC decoder takes input from the I2C PD.
2012-01-09code cleanupBert Vermeulen
2012-01-07check before calling PyObject_GetAttrString(): this throws an exception.Bert Vermeulen
2012-01-07convert data coming in from a PD to C structsBert 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-03sr/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-28better python memory managementBert Vermeulen
2011-12-28new dynamic output stream registration code, not finished.Bert Vermeulen
2011-12-04srd: Bring back the 'id' field and use it.Uwe Hermann
2011-12-04refactored PD framework, now using new sigrok.Decoder objectBert 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.