Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-12 | Binary classes are now defined as (name, description). | Bert Vermeulen | |
2013-12-11 | Easier access to sequences of strings, not just lists. | Bert Vermeulen | |
2013-12-11 | Load decoders from all search paths, not just the default. | Bert Vermeulen | |
srd_decoder_load_all() was really only getting a list of decoders from the default (installation) path, so could not find uninstalled decoders, or those in a custom added search path. This broke development of new PDs when using the SIGROKDECODE_DIR environment variable, and broke many of the unit tests in the tests/ directory -- those actually tested against the already-installed decoders, not the ones about to be installed. | |||
2013-12-11 | Clear decoder list after unloading, not just at exit. | Bert Vermeulen | |
2013-12-09 | Avoid GError warning when unloading decoders. | Bert Vermeulen | |
2013-11-18 | Don't try to load an already-loaded module | Bert Vermeulen | |
Python silently uses the existing module anyway, but the library was counting it as an extra module. This was exposed by a test case in the test suite. | |||
2013-11-18 | Don't decrease borrowed reference to probe definition dict | Bert Vermeulen | |
This fixes bug 177. | |||
2013-11-18 | Check library initialization before handling decoders | Bert Vermeulen | |
2013-11-15 | Implement OUTPUT_BINARY | Bert Vermeulen | |
This requires the PD to have a tuple in its class called 'binary', which contains a list of strings describing the different binary classes it can output. For the SPI decoder this might be 'MOSI' and 'MISO', for example. The data is submitted to the frontend as struct srd_proto_data_binary, which contains the class that data belongs to. | |||
2013-10-18 | Report invalid module name on decoder load | Bert Vermeulen | |
2013-10-14 | Move all decoder instances and callbacks into a session struct | Bert Vermeulen | |
The struct srd_session also holds configuration parameters formerly passed to srd_session_start(). The new call srd_session_new() takes a pointer where a newly allocated pointer to struct srd_session will be stored. This pointer must be passed as the first argument to all functions that require it. The SRD_CONF_NUM_PROBES, SRD_CONF_UNITSIZE and SRD_CONF_SAMPLERATE keys must be configured with srd_config_set() before srd_session_start() is called. A new call srd_session_destroy() is also available. This cleans up all resources the session holds. This is also called from srd_exit() for all sessions. | |||
2013-05-08 | Fix double free | Bert Vermeulen | |
2013-05-05 | Fix various memory leaks | Bert Vermeulen | |
2013-05-03 | Doxygen: Various fixes. | Uwe Hermann | |
2013-05-03 | Main header is <libsigrokdecode/libsigrokdecode.h> now. | Uwe Hermann | |
This matches the convention used in libsigrok. Potential other headers might end up in libsigrokdecode/, but only libsigrokdecode.h is meant to be #included by frontends directly. | |||
2013-05-03 | Doxygen: Add @since markers to API functions. | Uwe Hermann | |
Also, document the functions in version.c. | |||
2013-04-23 | GPL headers: Use correct project name. | Uwe Hermann | |
2013-03-19 | use GVariant for passing decoder options and probes | Bert Vermeulen | |
Decoder options are now exposed in struct srd_decoder, via a GSList of the new struct srd_decoder_option. The 'def' field represents the default value as set in the decoder, converted to GVariant. This allows a library user to determine the type as well as default value. | |||
2013-02-09 | Doxygen: Initial groups and topic short descriptions. | Uwe Hermann | |
2013-02-09 | Doxygen: Add @file items for the relevant files. | Uwe Hermann | |
These short descriptions are shown in the "Files" section of the Doxygen output. | |||
2013-02-09 | Doxygen: Mark private functions/variables properly. | Uwe Hermann | |
2013-02-02 | Bring back temporarily reverted changes. | Uwe Hermann | |
2013-01-27 | Temporarily revert API changes in preparation of release. | Uwe Hermann | |
The upcoming libsigrokdecode release should not contain any API changes so it is compatible with existing released frontends (sigrok-cli 0.3.1). | |||
2013-01-01 | constify srd_decoder_list() output | Bert Vermeulen | |
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-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: Drop unused inputformats/outputformats entries. | Uwe Hermann | |
2012-03-21 | sr/srd: Small fixes, constifications, doc updates. | 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-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-11 | srd: rename all instance to inst | Bert Vermeulen | |
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-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-30 | srd: removed stray malloc() | Bert Vermeulen | |
2012-01-30 | srd: clear objects after final decref, so it doesn't happen twice | Bert Vermeulen | |
2012-01-26 | srd: Remove manual log domain ("srd: ") prefixes. | Uwe Hermann | |
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: support for mapping probes | Bert Vermeulen | |
2012-01-21 | srd: decoder class structure check belongs in module loader | Bert Vermeulen | |