Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-01 | srd_inst_new() options can be NULL | Bert Vermeulen | |
2012-12-28 | Fix compiler warning. | Uwe Hermann | |
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-05-04 | Fix bracket placing | Thomas Jarosch | |
Make it consistent with the rest of the code Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com> | |||
2012-04-16 | srd: Quickfix for MinGW build issue. | 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: srd_exit(): Set pd_list to NULL after freeing. | Uwe Hermann | |
This will ensure that any subsequent checks for pd_list == NULL work properly. | |||
2012-03-21 | srd/cli/qt: s/srd_session_feed/srd_session_send/. | 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-03-18 | srd: Fix typos. | Uwe Hermann | |
2012-03-02 | sr: Name all callback data 'cb_data'. | Uwe Hermann | |
2012-03-01 | sr/srd: Consistency fixes for callbacks. | Uwe Hermann | |
- Callback function pointer typedefs end with _t. - Variables holding callback functions are named 'cb' everywhere. | |||
2012-02-28 | srd: fix SIGROKDECODE_DIR env variable brokenness | Bert Vermeulen | |
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-12 | srd: finish up public/private API | Bert Vermeulen | |
2012-02-12 | srd: no public API functions use python-specific arguments now | Bert Vermeulen | |
2012-02-12 | srd: extra module path can now optionally be passed to srd_init() | Bert Vermeulen | |
Also environment variable SIGROKDECODE_DIR, if present, is prepended to the module path. | |||
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. |