Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-28 | srd: Some more (optional) consistency renames. | Uwe Hermann | |
2012-03-18 | srd: Constify lots more parameters. | Uwe Hermann | |
2012-02-28 | srd: properly return status code | Bert Vermeulen | |
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-10 | srd: s/python/Python/. | Uwe Hermann | |
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-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 | add py_dictitem_as_str(), more checking in py_attr_as_str() | Bert Vermeulen | |
2012-01-16 | srd: don't decref an object we don't own | 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-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-03 | sr/srd: Fix left-over #includes. | Uwe Hermann | |
The libs themselves should use #include "sigrok.h" etc., while the frontends must use #include <sigrok.h> and so on. | |||
2011-12-28 | better python memory management | Bert Vermeulen | |
2011-12-28 | python 3 port | Bert Vermeulen | |
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. |