Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-27 | srd: i2c.py: Mark Repeated Start condition as 'Sr'. | Uwe Hermann | |
2011-11-27 | srd: i2c.py: Rework I2C decoder. | Uwe Hermann | |
This should be working OK for most use-cases now, though there certainly are a few TODOs left. The output format is just a quick hack and will change. | |||
2011-11-27 | srd: Pass metadata to decoders only on SR_DF_HEADER. | Gareth McMullin | |
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function. | |||
2011-11-24 | srd: i2c.py: Convert to new API (unfinished). | Uwe Hermann | |
This decoder is probably not fully converted yet, and doesn't really successfully decode I2C, yet. It's work in progress. | |||
2011-11-24 | srd: Comment out debug line for now. | Uwe Hermann | |
2011-11-23 | transitioncounter.py: Convert to new API. | Uwe Hermann | |
This is still work-in-progress, but at least it runs and outputs stuff now. | |||
2011-11-23 | nunchuk.py: Fix indentation (syntax error). | Uwe Hermann | |
2011-11-23 | Decoders: Use 4 spaces for indentation as per PEP-8. | Uwe Hermann | |
2011-11-23 | srd: decode.c: Improve error handling a bit. | Uwe Hermann | |
2011-11-23 | srd: decode.c: Add/fix comments and coding-style. | Uwe Hermann | |
2011-11-23 | srd: Doxygen comments for srd_init() and srd_exit(). | Uwe Hermann | |
2011-11-20 | libsigrokdecode: Allow frontend to configure decoder probes. | Gareth McMullin | |
2011-11-20 | libsigrokdecode: Allow multiple PD instances. | Gareth McMullin | |
There is currently no way to configure options or probes, so they'll always be the same, but it's a start. | |||
2011-11-20 | libsigrokdecode: Move decoder metadata into Decoder object. | Gareth McMullin | |
2011-11-20 | Simplified code for calling Python decode method. | Gareth McMullin | |
2011-11-20 | Add support for OO based PDs. | Kristoffer Sjöberg | |
2011-11-20 | Pass multiple samples to the protocol decoder and adapt transitioncounter.py ↵ | Kristoffer Sjöberg | |
to work with this. | |||
2011-11-20 | Update transitioncounter.py to the streaming PD API. | Kristoffer Sjöberg | |
2011-11-20 | Partial implementation of the streaming PD API. | Kristoffer Sjöberg | |
2011-11-19 | libsigrokdecode.pc.in: Add missing @CPPFLAGS_PYTHON@. | Uwe Hermann | |
2011-11-17 | libsigrokdecode.pc: Add glib + Python. | Uwe Hermann | |
2011-04-03 | Revert temporary changes for 0.2 release. | Uwe Hermann | |
2011-04-03 | Disable some stuff which should not be in 0.2. | Uwe Hermann | |
Disable decoders, disable lib building. | |||
2011-04-03 | Decoders: s/dist_pkgdata_SCRIPTS/dist_pkgdata_DATA/. | Uwe Hermann | |
The .py decoder files are not technically scripts and should not be executable and can not be invoked on the command line (via ./foo.py --help or similar). | |||
2011-03-03 | Make some more items 'static'. | Uwe Hermann | |
2011-02-09 | sigrokdecode.h: More doxygen-friendly comments. | Uwe Hermann | |
2011-02-08 | Doxygen config files: Initial configuration. | Uwe Hermann | |
2011-02-08 | Add doxygen config files for both libs. | Uwe Hermann | |
2011-02-06 | struct srd_decoder: Add more string fields. | Uwe Hermann | |
Get the following string fields from the .py decoders' register() function and store them in the respective 'struct srd_decoder': - longname - longdesc - author - email - license | |||
2011-02-06 | Python decoders: Add more metadata. | Uwe Hermann | |
Make the list of metadata info match the spec in the wiki more closely. | |||
2011-02-04 | Revert FIRMWARE_DIR / DECODERS_DIR method for now. | Uwe Hermann | |
There were several issues with the other method, revert for now. | |||
2011-02-02 | Fix build when no libusb-LA is compiled. | Uwe Hermann | |
Until now the build would break if the user doesn't enable at least one of the libusb1.0-based LAs. I.e., you could not compile only OLS, or only the demo driver. | |||
2011-01-30 | Consistently use _exit prefix for functions. | Uwe Hermann | |
2011-01-30 | Change SIGROKDECODE_ prefix to SRD_. | Uwe Hermann | |
Do the same for sigrokdecode_ -> srd_ in struct names and function names. | |||
2011-01-28 | Properly free all memory upon sigrokdecode_shutdown(). | Uwe Hermann | |
2011-01-28 | libsigrokdecode: Always load all decoders upon init. | Uwe Hermann | |
Let sigrokdecode_init() always load all decoders it can find in the decoders directory, i.e., the user doesn't need to manually load decoders. Instead he can just look up the list via sigrokdecode_list_decoders() after sigrokdecode_init() has run. This is not a problem, as sigrokdecode_init() is only run once per sigrok-cli or sigrok-gui invocation, and even with many decoders this should not take too long. The list of decoders within libsigrokdecode is no longer a string, but rather a list of 'struct sigrokdecode_decoder *' pointers. Add sigrokdecode_get_decoder_by_id() API function which returns the decoder with the specified ID (file name without ".py" suffix, for now), or NULL if it cannot be found. sigrokdecode_load_decoder() is now a private function and not exported via the lib, i.e. not available to users of libsigrokdecode. | |||
2011-01-27 | Fix some compiler warnings. | Uwe Hermann | |
2011-01-27 | decode.c: Simplify the import code. | Uwe Hermann | |
Use PyImport_ImportModule() instead of PyImport_Import(), so we don't have to temporarily create a py_name object. | |||
2011-01-27 | Some more simplifications in decode.c. | Uwe Hermann | |
2011-01-27 | Use Py_XINCREF/Py_XDECREF, not Py_INCREF/Py_DECREF. | Uwe Hermann | |
They're defined like this in Python.h: /* Macros to use in case the object pointer may be NULL: */ #define Py_XINCREF(op) if ((op) == NULL) ; else Py_INCREF(op) #define Py_XDECREF(op) if ((op) == NULL) ; else Py_DECREF(op) I.e., the performance penalty we take by using Py_XINCREF/Py_XDECREF is pretty much non-existant. | |||
2011-01-27 | decode.c: Simplify sigrokdecode_run_decoder(). | Uwe Hermann | |
2011-01-27 | Bugfix: Add missing Py_INCREF()s. | Uwe Hermann | |
This should fix an error/segfault when running a decoder on bigger datasets. | |||
2011-01-27 | decode.c: Better documentation. | Uwe Hermann | |
Mark all Python/C API functions returning a new reference with "NEWREF", and those that steal references with "STEAL". | |||
2011-01-27 | decode.c: Fix typos. | Uwe Hermann | |
2011-01-27 | Bugfix: PyTuple_SetItem() "steals" a reference. | Uwe Hermann | |
2011-01-24 | configure.ac: Fix firmware/decoders dir variables. | Uwe Hermann | |
FIRMWARE_DIR and DECODERS_DIR as defined in config.h need some magic applied to resolve the $prefix/$data variable to an absolute path. | |||
2011-01-23 | Introduce proper libtool versioning for the libs. | Uwe Hermann | |
2011-01-20 | lib headers: Add 'extern "C"' for C++ usage. | Uwe Hermann | |
2011-01-20 | Re-enable stuff we temporarily disabled for 0.1. | Uwe Hermann | |
2011-01-19 | Disable decoders and session CLI options for 0.1. | Uwe Hermann | |