Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-11 | Rename 'void *' callback parameters to 'user_data'. | Uwe Hermann | |
This is better, both for consistency reasons, and also because 'data' is a bit too generic and might be confusing, especially since we have other 'data' fields in the code in various places. | |||
2012-02-11 | srd: Every callback should have a 'void *' parameter. | Uwe Hermann | |
This is required in various situations and for various lib users, especially so GUIs which might want to pass specific info via this mechanism. | |||
2012-02-11 | srd: rename all instance to inst | Bert Vermeulen | |
2012-02-10 | srd: s/python/Python/. | Uwe Hermann | |
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-02 | srd: Add explicit srd_pd_output_callback_t typedef. | 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-28 | srd: Drop unneeded check, g_free() handles NULL fine. | Uwe Hermann | |
2012-01-27 | srd: add more debugging around probe mapping | Bert Vermeulen | |
2012-01-26 | srd: Remove manual log domain ("srd: ") prefixes. | Uwe Hermann | |
2012-01-25 | srd: properly recurse into PD instances when looking for one. | Bert Vermeulen | |
This fixes the confusion between parallel and linear stacks. | |||
2012-01-24 | srd: change struct srd_pd_output to have a path to the DI, not the decoder. | Bert Vermeulen | |
2012-01-23 | srd: Prepend (not append) PD dirs to sys.path. | Uwe Hermann | |
2012-01-23 | srd: deal with invalid probe specifications better | Bert Vermeulen | |
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: better check for PDs with no defined probes | 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 | accept only supported types in decoder class default option values | Bert Vermeulen | |
2012-01-19 | srd: Windows/MinGW Python path format fixes. | Uwe Hermann | |
On Windows/MinGW, Python's sys.path needs entries of the form 'C:\\foo\\bar' instead of '/foo/bar'. | |||
2012-01-18 | srd: always set default options, regardless of overrides | Bert Vermeulen | |
2012-01-17 | SRD: support setting per-PD options | Bert Vermeulen | |
All decoder class options are automatically copied to a newly created instance with their default value, which can be overridden with the GHashTable passed to srd_instance_new(). Currently, only strings and integers are supported as option value types. The type is set by the default value in the decoder class, and enforced when overriding them. Integers can be specified in any format python allows: 10, 0x0a and so on. | |||
2012-01-15 | srd: PDs now get a logic feed with sample numbers, not time/duration | 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: Finish consistency rename to ANN/PROTO. | Uwe Hermann | |
2012-01-10 | srd: Minor doxygen cosmetics. | Uwe Hermann | |
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-09 | srd: change output_new() API call to add() | Bert Vermeulen | |
2012-01-08 | pass PD output to the calling frontend, simple annotation viewer in CLI. | 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 | 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 | Fix utf8 encoding error by changing the Python parameter to a bytes() object ↵ | Kristoffer Sjöberg | |
(python3 regression). | |||
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-22 | srd: 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-05 | srd: 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-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. |