summaryrefslogtreecommitdiff
path: root/srd.c
AgeCommit message (Collapse)Author
2016-12-06valgrind: safely iterate listsKarl Palsson
Old versions triggered valgrind errors as the API method to remove an entry modifies the list that was being iterated. Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-05-25Move common/ directory into decoders/.Uwe Hermann
This simplifies cross-platform handling of the Python/decoder paths and module installation/dist a bit and also fixes bug #804.
2016-05-04Add common directory for shared modules.Bert Vermeulen
2015-12-07init: Don't let Python override signal handlersMarcus Comstedt
This fixes bug #461.
2015-10-03init: Also look for decoders in XDG data directoriesDaniel Elstner
2015-10-03init: Simplify srd_decoder_searchpath_add()Daniel Elstner
Don't mess with colon-separated search path strings -- instead, simply prepend items to the sys.path list object. Also keep the internal decoder path list in the same order as the items added to sys.path.
2015-09-13Build: Include <config.h> first in all source filesDaniel Elstner
Since Autoconf places some important feature flags only into the configuration header, it is necessary to include it globally to guarantee a consistent build.
2015-04-01Use g_malloc*() consistently, simplify error handling.Uwe Hermann
Use g_malloc*() for small allocations and assume they always succeed. Simplify error handling in a few places accordingly. Document the rules in the README file.
2014-07-23Drop references to obsolete sigrok-commits mailing list.Uwe Hermann
2014-07-08Remove dependency on Python.h from public API headerMarcus Comstedt
This prevents Python.h from being included into client code, where it can mess things up by e.g. redefining _POSIX_C_SOURCE.
2014-05-04Mark some variables more consistently as SRD_PRIV.Uwe Hermann
2014-05-03Move srd_check_init() to decoder.c and make it static.Uwe Hermann
The function srd_check_init() is only used in decoder.c.
2014-05-03Make 'pd_list' static, it's only used in one file.Uwe Hermann
2014-05-03srd.c: Fix typo to avoid Doxygen output for srd_check_init().Uwe Hermann
2014-01-30Fix warnings exposed by -Wmissing-prototypes.Uwe Hermann
2013-12-11Load 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-11Clear decoder list after unloading, not just at exit.Bert Vermeulen
2013-11-18Check library initialization before handling decodersBert Vermeulen
2013-11-16Move initialization/shutdown into srd.cBert Vermeulen