summaryrefslogtreecommitdiff
path: root/controller.c
AgeCommit message (Collapse)Author
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-05new srd_logic type implementation for PDs to iterate over.Bert Vermeulen
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-28Fix utf8 encoding error by changing the Python parameter to a bytes() object ↵Kristoffer Sjöberg
(python3 regression).
2011-12-28python 3 portBert Vermeulen
2011-12-28make time/duration work, at least when loading from a session fileBert Vermeulen
PD decode() call now takes 3 arguments: timeoffset, duration, data as per the current API specification.
2011-12-28new dynamic output stream registration code, not finished.Bert Vermeulen
2011-12-22srd: SRD_ERR_ARGS -> SRD_ERR_ARG.Uwe Hermann
This is done to be consistent with libsigrok's SR_ERR_ARG (nicer that way).
2011-12-05srd: Initialise struct members by name. Minor other fixes.Gareth McMullin
Restored some prototypes in sigrokdecode.h. Abort sigrok-cli on error while decoding (includes KeyboardInterrupt). Fixed passing metadata to Decoder.start() method.
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.