summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-13Prune dead code.Bert Vermeulen
2013-12-13i2c: Avoid obsolete method.Bert Vermeulen
2013-12-13No need to mess with method reference counts.Bert Vermeulen
2013-12-12i2c: Add binary tests.Bert Vermeulen
2013-12-12pdtest/runtc: Add support for binary output types.Bert Vermeulen
2013-12-12pdtest: Add -f option to automatically fix failing tests.Bert Vermeulen
2013-12-12runtc: Add support for binary output.Bert Vermeulen
2013-12-12Use new binary class definition format.Bert Vermeulen
2013-12-12Binary classes are now defined as (name, description).Bert Vermeulen
2013-12-11Easier access to sequences of strings, not just lists.Bert Vermeulen
2013-12-11runtc: Return errorcode according to testcase result.Bert Vermeulen
2013-12-11pdtest: Use -dd to turn on SR/SRD debugging.Bert Vermeulen
2013-12-11check: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11Load decoders from all search paths, not just the default.Bert Vermeulen
srd_decoder_load_all() was really only getting a list of decoders from the default (installation) path, so could not find uninstalled decoders, or those in a custom added search path. This broke development of new PDs when using the SIGROKDECODE_DIR environment variable, and broke many of the unit tests in the tests/ directory -- those actually tested against the already-installed decoders, not the ones about to be installed.
2013-12-11Clear decoder list after unloading, not just at exit.Bert Vermeulen
2013-12-11runtc: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11pdtest: Don't bother with diff if any error at all occurred.Bert Vermeulen
2013-12-11pdtest: Add option for custom sigrok-dumps repository path.Bert Vermeulen
2013-12-11pdtest: Always sanity-check all testcases.Bert Vermeulen
2013-12-11Clean up runtc build.Bert Vermeulen
This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place.
2013-12-10Add protocol decoder testing framework.Bert Vermeulen
This adds a tool in the tests directory, called pdtest. It uses the "test/" directory in every PD directory, if present, to run the PD against dumps found in the sigrok-dumps repository, and compares the output against ".output" files in the "test/" directory. The file "test/test.conf" is used to configure which tests to run. A separate tool (tests/runtc.c) is used to run the actual decoding and report output. To get an overview of the options, run tests/pdtest without any options.
2013-12-10API clarification.Bert Vermeulen
2013-12-10Fix 'dist' make target.Bert Vermeulen
2013-12-09Avoid GError warning when unloading decoders.Bert Vermeulen
2013-12-09Support DESTDIR on install targets.Bert Vermeulen
Fixes bug 215.
2013-12-04parallel: start(): Drop obsoleted metadata parameter.Uwe Hermann
This fixes bug #202.
2013-12-03uart: Display non-ASCII characters properly.Uwe Hermann
We use the [XX] notation for non-printable characters, which is what various other logic analyzer software packages do too, e.g. the CWAV USBee Suite. This fixes bug #201.
2013-11-29Python 3.2 and portability fixes.Bert Vermeulen
2013-11-27Clean up autoconf leftover configuration.Bert Vermeulen
2013-11-27edid: Make sure to install the vendor list.Bert Vermeulen
2013-11-27Automate protocol decoder installation.Bert Vermeulen
This automatically figures out the files to install for each protocol decoder, without involving autotools. All python files (filenames ending in .py) are always installed. If a protocol decoder requires installation of a non-python file, a small file called 'config' can be created in that protocol decoder's directory, with the following content: # comments are ok extra-install vendorlist.txt commands.txt
2013-11-26Remove 64-probe limit.Bert Vermeulen
Fixes bug 120.
2013-11-19Add a missing #include.Uwe Hermann
This causes compiler errors in some setups otherwise, e.g.: CC libsigrokdecode_la-session.lo session.c: In function 'srd_session_metadata_set': session.c:195:46: error: expected ')' before 'PRIu64' srd_dbg("Setting session %d samplerate to %"PRIu64".", ^ session.c: In function 'srd_session_send': session.c:242:15: error: expected ')' before 'PRIu64' "number %" PRIu64 ", %" PRIu64 " bytes at 0x%p", ^
2013-11-18Turn off excessive loggingBert Vermeulen
2013-11-18Remove unreasonable testBert Vermeulen
2013-11-18Fix inverted condition on doc checkBert Vermeulen
2013-11-18Don't try to load an already-loaded moduleBert Vermeulen
Python silently uses the existing module anyway, but the library was counting it as an extra module. This was exposed by a test case in the test suite.
2013-11-18Don't decrease borrowed reference to probe definition dictBert Vermeulen
This fixes bug 177.
2013-11-18Fix inverted condition on decoder checkBert Vermeulen
2013-11-18Check library initialization before handling decodersBert Vermeulen
2013-11-18Clean up prototypesBert Vermeulen
2013-11-18Better error checking on session metadataBert Vermeulen
2013-11-16Only instance-related functionality remains, rename source fileBert Vermeulen
2013-11-16Move initialization/shutdown into srd.cBert Vermeulen
2013-11-16Move session-specific functionality into session.cBert Vermeulen
2013-11-16Minor cleanupBert Vermeulen
2013-11-15Move versioning info out to separate headerBert Vermeulen
2013-11-15Use OUTPUT_BINARY with four classes.Bert Vermeulen
2013-11-15Implement OUTPUT_BINARYBert Vermeulen
This requires the PD to have a tuple in its class called 'binary', which contains a list of strings describing the different binary classes it can output. For the SPI decoder this might be 'MOSI' and 'MISO', for example. The data is submitted to the frontend as struct srd_proto_data_binary, which contains the class that data belongs to.
2013-11-15Drop obsolete report() method.Bert Vermeulen