Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-13 | Send SRD_OUTPUT_PYTHON to registered callbacks as well. | Bert Vermeulen | |
There's really only one use case for this: the testing framework. This allows it to check what gets sent up the stack as well. | |||
2013-12-13 | Prune dead code. | Bert Vermeulen | |
2013-12-13 | i2c: Avoid obsolete method. | Bert Vermeulen | |
2013-12-13 | No need to mess with method reference counts. | Bert Vermeulen | |
2013-12-12 | i2c: Add binary tests. | Bert Vermeulen | |
2013-12-12 | pdtest/runtc: Add support for binary output types. | Bert Vermeulen | |
2013-12-12 | pdtest: Add -f option to automatically fix failing tests. | Bert Vermeulen | |
2013-12-12 | runtc: Add support for binary output. | Bert Vermeulen | |
2013-12-12 | Use new binary class definition format. | Bert Vermeulen | |
2013-12-12 | Binary classes are now defined as (name, description). | Bert Vermeulen | |
2013-12-11 | Easier access to sequences of strings, not just lists. | Bert Vermeulen | |
2013-12-11 | runtc: Return errorcode according to testcase result. | Bert Vermeulen | |
2013-12-11 | pdtest: Use -dd to turn on SR/SRD debugging. | Bert Vermeulen | |
2013-12-11 | check: Make sure to test this set of decoders, not the installed ones. | Bert Vermeulen | |
2013-12-11 | Load 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-11 | Clear decoder list after unloading, not just at exit. | Bert Vermeulen | |
2013-12-11 | runtc: Make sure to test this set of decoders, not the installed ones. | Bert Vermeulen | |
2013-12-11 | pdtest: Don't bother with diff if any error at all occurred. | Bert Vermeulen | |
2013-12-11 | pdtest: Add option for custom sigrok-dumps repository path. | Bert Vermeulen | |
2013-12-11 | pdtest: Always sanity-check all testcases. | Bert Vermeulen | |
2013-12-11 | Clean 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-10 | Add 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-10 | API clarification. | Bert Vermeulen | |
2013-12-10 | Fix 'dist' make target. | Bert Vermeulen | |
2013-12-09 | Avoid GError warning when unloading decoders. | Bert Vermeulen | |
2013-12-09 | Support DESTDIR on install targets. | Bert Vermeulen | |
Fixes bug 215. | |||
2013-12-04 | parallel: start(): Drop obsoleted metadata parameter. | Uwe Hermann | |
This fixes bug #202. | |||
2013-12-03 | uart: 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-29 | Python 3.2 and portability fixes. | Bert Vermeulen | |
2013-11-27 | Clean up autoconf leftover configuration. | Bert Vermeulen | |
2013-11-27 | edid: Make sure to install the vendor list. | Bert Vermeulen | |
2013-11-27 | Automate 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-26 | Remove 64-probe limit. | Bert Vermeulen | |
Fixes bug 120. | |||
2013-11-19 | Add 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-18 | Turn off excessive logging | Bert Vermeulen | |
2013-11-18 | Remove unreasonable test | Bert Vermeulen | |
2013-11-18 | Fix inverted condition on doc check | Bert Vermeulen | |
2013-11-18 | Don't try to load an already-loaded module | Bert 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-18 | Don't decrease borrowed reference to probe definition dict | Bert Vermeulen | |
This fixes bug 177. | |||
2013-11-18 | Fix inverted condition on decoder check | Bert Vermeulen | |
2013-11-18 | Check library initialization before handling decoders | Bert Vermeulen | |
2013-11-18 | Clean up prototypes | Bert Vermeulen | |
2013-11-18 | Better error checking on session metadata | Bert Vermeulen | |
2013-11-16 | Only instance-related functionality remains, rename source file | Bert Vermeulen | |
2013-11-16 | Move initialization/shutdown into srd.c | Bert Vermeulen | |
2013-11-16 | Move session-specific functionality into session.c | Bert Vermeulen | |
2013-11-16 | Minor cleanup | Bert Vermeulen | |
2013-11-15 | Move versioning info out to separate header | Bert Vermeulen | |
2013-11-15 | Use OUTPUT_BINARY with four classes. | Bert Vermeulen | |
2013-11-15 | Implement OUTPUT_BINARY | Bert 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. |