Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Use g_try_malloc/g_free/g_strdup consistently. | Uwe Hermann | |
Avoid plain malloc()/free() in sr/srd, especially in the API calls. Also avoid g_malloc*() in favor of g_try_malloc*(). Use g_strdup() instead of strdup() so that we can use g_free() consistently everywhere. Exceptions: Stuff that is allocated via other libs (not using glib), should also be properly free'd using the respective free-ing function (instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc. Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is meant for non-fatal/uncritical warnings. | |||
2012-02-11 | srd: rename all instance to inst | Bert Vermeulen | |
2012-02-11 | srd: Update README. | Uwe Hermann | |
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: Move private symbols to sigrokdecode-internal.h. | 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-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-05 | autogen.sh: aclocal support for Windows XP/Vista/7. | Uwe Hermann | |
2012-02-02 | srd: Add explicit srd_pd_output_callback_t typedef. | Uwe Hermann | |
2012-02-01 | srd: Properly use append() for appending to lists. | Uwe Hermann | |
This is not only the canonical way to do it, it's also quite a bit faster and less memory-intensive than using '+='. | |||
2012-02-01 | srd: Move all protocol docs to __init__.py files. | Uwe Hermann | |
2012-02-01 | srd: spi: Use strings for most options. | Uwe Hermann | |
2012-02-01 | srd: uart: Use strings for most PD options. | Uwe Hermann | |
2012-02-01 | srd: uart: Move protocol docs to __init__.py. | Uwe Hermann | |
2012-02-01 | srd: uart: Add missing initialization. | Uwe Hermann | |
2012-02-01 | srd: uart: Use strings for packet types. | Uwe Hermann | |
While this has a (small) performance penalty compared to using integers, it has the advantage of not requiring the use of magic numbers which need to be declared in both the UART decoder and all decoders which stack on top of UART. | |||
2012-02-01 | srd: rename extra_probes to optional_probes in all PDs | Bert Vermeulen | |
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-31 | srd: avoid POSIX_SOURCE warning | Bert Vermeulen | |
2012-01-31 | srd: remove obsolete DDC-only I2C filter | Bert Vermeulen | |
2012-01-31 | srd: add generic I2C filter PD | Bert Vermeulen | |
2012-01-31 | srd: Add missing <inttypes.h> #include (for PRIu64). | Uwe Hermann | |
2012-01-31 | edid: properly deal with leading I2C crud + small fixes | 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-29 | edid: move PD docstring to __init__.py | Bert Vermeulen | |
also minor code cleanups | |||
2012-01-29 | srd: add EDID 1.3 decoder | Bert Vermeulen | |
2012-01-29 | ddc: add protocol output | Bert Vermeulen | |
2012-01-28 | Update/enforce/document our build requirements. | Uwe Hermann | |
2012-01-28 | srd: Drop unneeded check, g_free() handles NULL fine. | Uwe Hermann | |
2012-01-28 | srd: PDs: Cleanups, simplifications, small fixes. | Uwe Hermann | |
2012-01-27 | srd: mlx90614: Show more exact temperature. | Uwe Hermann | |
2012-01-27 | srd: Use PRIu64 for uint64_t values. | Uwe Hermann | |
Using %d seems to silently work on Linux, but leads to a segfault on Windows/MinGW. | |||
2012-01-27 | srd: add more debugging around probe mapping | Bert Vermeulen | |
2012-01-27 | srd: use format string where one is expected | Bert Vermeulen | |
2012-01-27 | srd: Melexis MLX90614 Infrared Thermometer decoder. | Uwe Hermann | |
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: UART: s/parity/parity_type/. | Uwe Hermann | |
2012-01-25 | srd: All PDs: Various fixes, cosmetics. | Uwe Hermann | |
- List all API methods and metadata variables in all PDs to make things easier and more consistent for new PD writers. - Fix probe assignment in a few PDs. - Raise exceptions upon invalid states of the PD state machines (bug). | |||
2012-01-25 | srd: mx25lxx05d: Cleanups, add optional probes. | Uwe Hermann | |
2012-01-25 | srd: Support for registering a custom log handler. | Uwe Hermann | |
2012-01-25 | srd: Add Epson RTC-8564 JE/NB protocol decoder. | 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. |