Difference between revisions of "TODO"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* Remove dependency on glib and gmodule (various reasons), at least in libsigrok, probably also in sigrok-cli. | * Remove dependency on glib and gmodule (various reasons), at least in libsigrok, probably also in sigrok-cli. | ||
** A new linked list implementation must be found, or written, that duplicates the important parts of glib's GSList (singly-linked list). | |||
== libsigrok == | == libsigrok == |
Revision as of 02:33, 17 March 2010
This is a random list of TODO items for the code and/or ideas for improvements.
General
- Remove dependency on glib and gmodule (various reasons), at least in libsigrok, probably also in sigrok-cli.
- A new linked list implementation must be found, or written, that duplicates the important parts of glib's GSList (singly-linked list).
libsigrok
- Test whether the libusb 1.0 Windows port works (seems to build fine using Mingw).
- Merge all header files in a single sigrok.h (possibly another sigrok-internal.h which is not visible to the lib users).
- sigrok_errno:
Most backend functions return status as an integer, which is SIGROK_OK if all went well, or SIGROK_NOK and similar if an error occurred.
However there is no way to pass any information back as to what went wrong -- and this is important for user-friendliness.
Perhaps an error code is not enough; maybe something like sigrok_errno(errorcode, "unsupported device") is better.
Both the cmdline and GUI interfaces need this, really, so it should be a backend library thing.
libsigrokdecode
- Keep this independent of libsigrok and any logic analyzer hardware. It should work purely on streams / buffers of bytes to be usable by other projects.