Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-10 | srd: Cosmetics, whitespace, coding-style fixes. | Uwe Hermann | |
2012-02-10 | srd: More consistent log related function names. | Uwe Hermann | |
Also, fix typos, constify some parameters, add more Doxygen comments. | |||
2012-02-05 | Project-wide consistent naming for #include guards. | Uwe Hermann | |
Document the naming scheme in HACKING. | |||
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-26 | srd: log: Support for setting a log domain (prefix). | Uwe Hermann | |
2012-01-25 | srd: Support for registering a custom log handler. | 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 | sr: better error reporting | Bert Vermeulen | |
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: add python exception catcher, which routes to srd_err() and srd_dbg() | Bert Vermeulen | |
2012-01-21 | srd: support for mapping probes | 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-15 | move srd_Decoder to sigrokdecode.h, and rename it in line with srd_logic | Bert Vermeulen | |
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 | srd: Finish consistency rename to ANN/PROTO. | 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 | srd: Add SRD_ERR_BUG. | Uwe Hermann | |
2012-01-07 | expose SRD_OUTPUT_* as symbols in the sigrokdecode module. | 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 | |
2011-12-28 | better python memory management | 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-22 | srd: Add logging framework. | Uwe Hermann | |
This includes the (private) functions srd_err() and friends, the (public) SRD_LOG_ERR macros and friends, and the (public) API functions srd_set_loglevel() and srd_get_loglevel(). | |||
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. | |||
2011-12-01 | srd: PDs now explicitly register with sigrok module. | Gareth McMullin | |
2011-11-28 | srd: Moved instance list to libsigrokdecode. | Gareth McMullin | |
Functions changed to srd_session_start() to initialise the session, and srd_session_feed() to feed sample data to the decoders. | |||
2011-11-28 | srd: Pass samplerate to decoder in metadata. | Gareth McMullin | |
2011-11-27 | srd: Pass metadata to decoders only on SR_DF_HEADER. | Gareth McMullin | |
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function. | |||
2011-11-20 | libsigrokdecode: Allow frontend to configure decoder probes. | Gareth McMullin | |
2011-11-20 | libsigrokdecode: Allow multiple PD instances. | Gareth McMullin | |
There is currently no way to configure options or probes, so they'll always be the same, but it's a start. | |||
2011-11-20 | libsigrokdecode: Move decoder metadata into Decoder object. | Gareth McMullin | |
2011-11-20 | Simplified code for calling Python decode method. | Gareth McMullin | |
2011-11-20 | Partial implementation of the streaming PD API. | Kristoffer Sjöberg | |
2011-02-09 | sigrokdecode.h: More doxygen-friendly comments. | Uwe Hermann | |
2011-02-06 | struct srd_decoder: Add more string fields. | Uwe Hermann | |
Get the following string fields from the .py decoders' register() function and store them in the respective 'struct srd_decoder': - longname - longdesc - author - email - license | |||
2011-01-30 | Consistently use _exit prefix for functions. | Uwe Hermann | |
2011-01-30 | Change SIGROKDECODE_ prefix to SRD_. | Uwe Hermann | |
Do the same for sigrokdecode_ -> srd_ in struct names and function names. | |||
2011-01-28 | libsigrokdecode: Always load all decoders upon init. | Uwe Hermann | |
Let sigrokdecode_init() always load all decoders it can find in the decoders directory, i.e., the user doesn't need to manually load decoders. Instead he can just look up the list via sigrokdecode_list_decoders() after sigrokdecode_init() has run. This is not a problem, as sigrokdecode_init() is only run once per sigrok-cli or sigrok-gui invocation, and even with many decoders this should not take too long. The list of decoders within libsigrokdecode is no longer a string, but rather a list of 'struct sigrokdecode_decoder *' pointers. Add sigrokdecode_get_decoder_by_id() API function which returns the decoder with the specified ID (file name without ".py" suffix, for now), or NULL if it cannot be found. sigrokdecode_load_decoder() is now a private function and not exported via the lib, i.e. not available to users of libsigrokdecode. | |||
2011-01-20 | lib headers: Add 'extern "C"' for C++ usage. | Uwe Hermann | |
2011-01-15 | Don't expose libsigrokdecode's interal GSList. | Uwe Hermann | |
Instead, add a libsigrokdecode_list_decoders() API call which gives you the list of known protocol decoders. |