summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-03srd: Put files into .../share/libsigrokdecode.Uwe Hermann
2012-01-03sr/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.
2012-01-03srd: *.py: Remove one incorrect ord() call.Uwe Hermann
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int', thus the ord() there is neither needed nor correct anymore (yields an error).
2012-01-03srd: Quick hack to make nunchuk.py work again.Uwe Hermann
2012-01-03srd: Quick hack to make mx25lxx05d.py work again.Uwe Hermann
In Python 3 there's no xrange() anymore, only range().
2012-01-03srd: Quick hack to make transitioncounter.py work again.Uwe Hermann
2012-01-03srd: Quick hack to make the USB decoder work again.Uwe Hermann
2012-01-03srd: Quick hack to make the SPI decoder work again.Uwe Hermann
Since Python 3 there are some explicit int() casts needed.
2012-01-03srd: Quick hack to make the UART decoder work again.Uwe Hermann
2012-01-02srd: configure.ac: Add comment.Uwe Hermann
2011-12-30Split README, add appropriate ones per-project.Uwe Hermann
2011-12-30sr/srd: Remove/fix non-applicable autotools stuff.Uwe Hermann
2011-12-30sr/srd: Move some files to their resp. dirs.Uwe Hermann
2011-12-28Fix utf8 encoding error by changing the Python parameter to a bytes() object ↵Kristoffer Sjöberg
(python3 regression).
2011-12-28better python memory managementBert Vermeulen
2011-12-28python 3 portBert Vermeulen
2011-12-28make time/duration work, at least when loading from a session fileBert Vermeulen
PD decode() call now takes 3 arguments: timeoffset, duration, data as per the current API specification.
2011-12-28new dynamic output stream registration code, not finished.Bert Vermeulen
2011-12-22srd: 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-22srd: 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().
2011-12-17srd: Add MX25Lxx05D SPI chip decoder.Uwe Hermann
Work in progress, not yet fully functional.
2011-12-10srd: nunchuk: Make states global.Uwe Hermann
2011-12-10srd: decoders: Don't use problematic and/or construct.Uwe Hermann
2011-12-10srd: UART: Simplify a code snippet.Uwe Hermann
2011-12-10srd: UART: Add some protocol documentation.Uwe Hermann
2011-12-07srd: Add initial UART decoder.Uwe Hermann
Works with any baudrate, number of bits, parity types, number of stop bits and so on, in theory. Not all options are fully implemented or tested though. Various TODOs remain.
2011-12-05srd: Initialise struct members by name. Minor other fixes.Gareth McMullin
Restored some prototypes in sigrokdecode.h. Abort sigrok-cli on error while decoding (includes KeyboardInterrupt). Fixed passing metadata to Decoder.start() method.
2011-12-04srd: Bring back the 'id' field and use it.Uwe Hermann
2011-12-04srd: Update decoders to changed API.Uwe Hermann
2011-12-04refactored PD framework, now using new sigrok.Decoder objectBert 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.
2011-12-02srd: Changed nunchuk and transitioncounter to new registraion api.Gareth McMullin
2011-12-01srd: PDs now explicitly register with sigrok module.Gareth McMullin
2011-12-01srd: i2c.py: States are global, not per-instance.Uwe Hermann
2011-11-30srd: srd_usb.py: Cosmetics, white-space fixes.Uwe Hermann
2011-11-30srd: nunchuk.py: Add some more URLs.Uwe Hermann
2011-11-29srd: Added USB full-speed decoder.Gareth McMullin
2011-11-28srd: nunchuk.py: Convert to new decoder API.Uwe Hermann
This is not really finished, or tested, or working. It's also a decoder which stacks on top of the I2C decoder, and the infrastructure for stacking decoders is not yet usable.
2011-11-28srd: Moved instance list to libsigrokdecode.Gareth McMullin
Functions changed to srd_session_start() to initialise the session, and srd_session_feed() to feed sample data to the decoders.
2011-11-28srd: Pass samplerate to decoder in metadata.Gareth McMullin
2011-11-27decoders: Drop psyco stuff, seems obsolete.Uwe Hermann
The psyco module seems to be mostly unmaintained at this point, it does not support Python 2.7 or higher at all, it only supports x86, it doesn't support 64 bit systems at all, etc. etc. We should try to find other ways to optimize our decoders for speed.
2011-11-27srd: Python: Consistently use single quotes for strings.Uwe Hermann
2011-11-27srd: i2c.py: Docstrings should use """.Uwe Hermann
This is the most commonly used and recommended method for docstrings.
2011-11-27srd: i2c.py: Mark Repeated Start condition as 'Sr'.Uwe Hermann
2011-11-27srd: 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-27srd: 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-24srd: 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-24srd: Comment out debug line for now.Uwe Hermann
2011-11-23transitioncounter.py: Convert to new API.Uwe Hermann
This is still work-in-progress, but at least it runs and outputs stuff now.
2011-11-23nunchuk.py: Fix indentation (syntax error).Uwe Hermann
2011-11-23Decoders: Use 4 spaces for indentation as per PEP-8.Uwe Hermann