Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-13 | log: Enable varargs format warnings | Daniel Elstner | |
Decorate srd_log() with the GCC format printf attribute so that the compiler can check the format string and arguments for consistency. Also remove the srd_err(), sr_warn(), etc. functions and replace them with macro wrappers around srd_log(). | |||
2015-09-13 | log: Remove srd_log_logdomain_{get,set} from the API | Daniel Elstner | |
The confusingly named srd_log_logdomain_set() simply set a global string prefixed to the log message by the default log callback. This is pretty much useless, misleadingly named, and not used by either sigrok-cli or PulseView. | |||
2014-07-08 | Remove dependency on Python.h from public API header | Marcus 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-04 | log.c: Avoid using the same name for a variable and enum. | Uwe Hermann | |
2014-05-04 | Update a few Doxygen @since tags. | Uwe Hermann | |
2014-05-03 | Don't define names ending with _t (POSIX reserved). | Uwe Hermann | |
Avoid defining any names ending in _t, those are generally reserved for POSIX usage. For details see: http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html | |||
2013-10-14 | Code cleanup | Bert Vermeulen | |
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-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 | |
2012-03-04 | sr/srd: s/handler/callback/. | Uwe Hermann | |
We should consistently use the same name for the same thing. | |||
2012-03-02 | sr: Name all callback data 'cb_data'. | Uwe Hermann | |
2012-02-12 | srd: last public/private fix, and docs for all publis functions. | Bert Vermeulen | |
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-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: More consistent log related function names. | Uwe Hermann | |
Also, fix typos, constify some parameters, add more Doxygen comments. | |||
2012-01-27 | srd: use format string where one is expected | Bert Vermeulen | |
2012-01-26 | srd: Remove manual log domain ("srd: ") prefixes. | Uwe Hermann | |
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-22 | srd: make all debugging and error reporting uniform | Bert Vermeulen | |
2012-01-05 | new srd_logic type implementation for PDs to iterate over. | 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(). |