summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-16ds1307: Warn about (and ignore) non-DS1307 traffic.Uwe Hermann
2014-08-16ds1307: Correctly handle address wrap-around.Uwe Hermann
2014-08-16ds1307: Refactoring and cleanups.Uwe Hermann
2014-08-16ds1307: Handle SRAM register accesses.Uwe Hermann
2014-08-16ds1307: Handle register 0x07 (control register).Uwe Hermann
2014-08-16ds1307: Emit per-bit annotations for registers.Uwe Hermann
Also, add more annotation classes (and annotation rows).
2014-08-16configure.ac: Use AM_CFLAGS instead of CFLAGS.Uwe Hermann
CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and are meant for users of the package to use/override. The package itself should not set or modify them in any way. Instead, the "shadow variables" such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by the package.
2014-08-16tca6408a: Cosmetics.Uwe Hermann
2014-08-14Add decoder for TCA6408A I2C I/O expanders.alberink
2014-08-14tests: Factor out srdtest_setup() / srdtest_teardown().Uwe Hermann
2014-08-14Whitespace and consistency fixes.Uwe Hermann
2014-08-14pdtests: Check for SamplerateError in all PDs that emit it.Uwe Hermann
2014-08-14parallel: Enforce that at least one pin must be provided.Uwe Hermann
2014-08-14spi/nrf24l01/uart: Use ChannelError exception.Uwe Hermann
Rename the old MissingDataError to the clearer ChannelError. Also, add ChannelError in the UART decoder.
2014-08-03nrf24l01: prettify annotation outputJens Steinhauser
2014-07-31tests/pdtest: Small fix to make it work with Python 3.2.Uwe Hermann
Python 3.2 doesn't yet have the copy() method for lists: AttributeError: 'list' object has no attribute 'copy'
2014-07-31tests/check_session.c: Fix compiler warning.Uwe Hermann
This fixes 'warning: "_POSIX_C_SOURCE" redefined' with some Python versions.
2014-07-23Drop references to obsolete sigrok-commits mailing list.Uwe Hermann
2014-07-20runtc: Update to the new libsigrok session API.Uwe Hermann
(also fixes the build for libsigrokdecode)
2014-07-20Fix incorrect doxygen comment for srd_decoder_list().Uwe Hermann
This fixes bug #378.
2014-07-15All PDs: Minor whitespace and consistency fixes.Uwe Hermann
- No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes.
2014-07-09uart/i2cfilter: Don't check multiple-choice options.Uwe Hermann
For options which only have a limited set of valid values, we don't need to check (in the PD) whether a valid value was supplied, since the backend can do that for us.
2014-07-09Various PDs: Minor consistency fixes.Uwe Hermann
(Consistently use single-quotes for all Python strings everywhere)
2014-07-09Various PDs: Throw SamplerateError instead of Exception.Uwe Hermann
Also, use the "if not self.samplerate" form, which catches both the case where self.samplerate is None, as well as the case where it is 0.
2014-07-09All PDs: Drop unneeded exceptions.Uwe Hermann
In all current PDs it is not necessary to raise an exception upon invalid states (of the PD's state machine), since we can guarantee that no such invalid state can ever be reached in these PDs.
2014-07-08Add nRF24L01(+) protocol decoder.Jens Steinhauser
2014-07-08spi: Fix order of MISO/MOSI data items.Jens Steinhauser
2014-07-08pdtest: Use new exception output.Bert Vermeulen
2014-07-08Make exception output more predictable.Bert Vermeulen
2014-07-08Remove dependency on Python.h from public API headerMarcus Comstedt
This prevents Python.h from being included into client code, where it can mess things up by e.g. redefining _POSIX_C_SOURCE.
2014-07-08runtc: Fix incorrect include directiveMarcus Comstedt
runtc.c used to try to include "../config.h". This only works when building in the source tree, otherwise there is no config.h in the parent directory of runtc.c. However, the explicit path is unnecessary since the build directory (whether the same as the source directory or not) will always be added to the include path.
2014-07-08srd_decoder_load_all_path: Support zipimport pathsMarcus Comstedt
srd_decoder_load() works perfectly with decoders stored inside zip files. However, srd_decoder_load_all{_path,}() did not, because it assumed that normal directory listings can be used to enumerate decoders, which is not the case for zipped decoders. Fix this by providing a fallback based on the zipimporter Python class.
2014-06-27spi: Add coverage tests for all exceptions.Bert Vermeulen
2014-06-27spi: Add coverage tests for all mosi/miso and lsb/msb combinations.Bert Vermeulen
2014-06-27spi: Refactor for more coverage, and remove dead code.Bert Vermeulen
2014-06-26runtc: PD option value is a GVariant, not string.Bert Vermeulen
This is still broken: it needs to properly check the expected type of the option, not just blindly assume G_VARIANT_TYPE_STRING.
2014-06-24pdtest: Generate report regardless of verbose mode.Bert Vermeulen
2014-06-24edid: Add another test, covering more code in the PD.Bert Vermeulen
2014-06-24pdtest: Generate a report listing missed lines across the whole PD.Bert Vermeulen
2014-06-23i2c: Generate proper exception for missing samplerate, and test for it.Bert Vermeulen
Also remove some dead code.
2014-06-23pdtest/runtc: Support for output type 'exception'.Bert Vermeulen
The match value should be the name of the exception thrown, e.g. AttributeError, IndexError or even a custom exception defined in the protocol decoder, such as SamplerateError.
2014-06-15do not add check to common cflags/libsMike Frysinger
Only the unittests use these flags, so don't go linking them in for the main library too.
2014-06-15fix test operatorMike Frysinger
The == operator is not in POSIX.
2014-05-23runtc.c: Fix compiler warningKumar Abhishek
c was of type char, while getopt returns an int. This caused a compiler warning during build.
2014-05-23libsigrokdecode: Fix make -j issue with build_runtcKumar Abhishek
The build of runtc caused issues with make -j as runtc was attempted to be linked with libsigrokdecode before libsigrokdecode was linked. Using LDADD to insert libsigrokdecode ensures that it links before runtc, ensuring the build completes correctly.
2014-05-09Add python as a pkg-config dependencyAbhishek Kumar
The current libsigrokdecode build passes the python CPPFLAGS and LDFLAGS directly into libsigrokdecode.pc.in. This leads to issues while cross-compiling as while using PKG_CONFIG_SYSROOT_DIR, there is a chance of the prefix being duplicated. We now, while detecting the installation of python (cross or normal), add a dependency for the module name in the pkgconfig file (from configure.ac).
2014-05-06configure.ac: Bump package version to 0.3.0.Uwe Hermann
2014-05-06configure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.Uwe Hermann
The libtool current:revision:age numbers change from 1:0:0 to 2:0:0. Details: http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info This changes the library filename (e.g. on Linux) from libsigrokdecode.so.1.0.0 to libsigrokdecode.so.2.0.0, the SONAME (+symlink) becomes libsigrokdecode.so.2.
2014-05-06Bump libsigrok (optional) dependency to 0.3.0.Uwe Hermann
2014-05-06NEWS: Add list of user-visible changes so far.Uwe Hermann