4 Note: This release DOES change the libsigrokdecode public C API. This
5 means it is NOT backwards-compatible and frontends will need updates.
7 * New supported protocol decoders:
8 - ade77xx Poly phase multifunction energy metering IC protocol
9 - adf435x Wideband synthesizer with integrated VCO
10 - aud Renesas/Hitachi Advanced User Debugger (AUD) protocol
11 - avr_pdi Atmel proprietary interface for the ATxmega MCU
12 - dali DALI lighting control protocol
13 - dsi DSI lighting control protocol
14 - dmx512 Professional lighting control protocol
15 - eeprom93xx 93xx series Microwire EEPROM protocol (bug #931)
16 - em4305 EM4205/EM4305 100-150kHz RFID protocol
17 - gpib IEEE-488 GPIB / HPIB protocol
18 - iec Commodore serial IEEE-488 (IEC) bus protocol
19 - microwire 3-wire, half-duplex, synchronous serial bus (bug #931)
20 - ps2 PS/2 keyboard/mouse interface
21 - rgb_led_ws281x RGB LED string protocol (WS281x)
22 - ssi32 Synchronous Serial Interface (32bit) protocol
23 - t55xx T55xx 100-150kHz RFID protocol
24 - wiegand Wiegand interface for electronic entry systems
25 * Add support for the new query-based PD v3 decoder API.
26 - Decoders using PD v3 API can benefit from both readability improvements
27 as well as performance improvements. Up to 10x speedup has been measured
28 in some situations (depends a lot on the decoder, the amount of data,
29 the amount of edges in the signals, and the amount of oversampling).
30 - The majority of all decoders have been converted to PD API v3.
31 - For the time being, both APIs (2 and 3) will remain supported until all
32 decoders have been converted to API version 3. Then, support for API
33 version 2 will be dropped.
34 * Add support for specifying the (assumed) initial pin states before the
35 first sample that is being decoded. This can be set to 0/low, 1/high, or
36 to "use the same value as in the first sample".
37 * Add support for adding multiple instances of a decoder (bug #868).
38 * Introduce a decoders/common facility for code shared between PDs (bug #804).
39 * Supply metadata to all stacked decoders, not just low-level ones (bug #664).
40 * Various Doxygen/documentation improvements.
41 * Factor out a srd_decoder_apiver() internal helper function.
42 * srd_inst_decode(): Return SRD_ERR_ARG if unitsize is 0.
43 * Print error messages when decoders fail load time checks (bug #704).
44 * Fix multiple valgrind warnings (memory leaks and such).
45 * Build system: Sort PD list alphabetically in "make install".
47 - Replace PD with a new implementation that also supports Clause 22 and 45.
48 - Improve annotations slightly.
50 - Move various constants to common/plugtrx for reusability purposes.
52 - Move various constants to common/sdcard for reusability purposes.
54 - Drop hardcoded samplerate (workaround for the fixed bug #664).
56 - Handle CS# transitions, allow variable-length transfers.
57 - Handle "Fast Read Dual I/O" commands.
58 - Add a "format" decoder option.
59 - Implement Release Power-down / Device ID (0xAB) command (bug #845).
60 - Remove hardcoded Macronix references.
61 - Add initial FIDELIX FM25Q32 metadata/support.
62 - Implement WRSR, RDSR2 commands.
63 - Various annotation improvements.
65 - Add frequency and averaging support.
66 - Disable averaging feature if it's set to zero.
67 - Add edge-edge mode and delta calculation.
69 - Decode note names and percussion names (e.g. 'G2', 'Tambourine').
70 - Decode instrument names and drum_kit names (e.g. 'GS Orchestra Kit').
71 - Handle Polyphonic Pressure / Aftertouch (message 0xAn).
72 - Handle Program Change (message 0xCn).
73 - Handle Channel Pressure / Aftertouch (message 0xDn).
74 - Handle Channel Mode (message 0xBn mm where mm is 120 through 127).
75 - Handle System Common messages (message 0xF1 through 0xF6), including
76 full time code decoding.
77 - SysEx decoding now decodes the 1-3 byte manufacturer field, payload
78 is now displayed as hex.
79 - 'undefined' fields now display the value (e.g. 'undefined 0xf4').
80 - Add 'MSB' and 'LSB' to many control_functions entries.
81 - Fix "trapped in state X" bug with handle_channel_msg_generic(),
82 though this might be dead code.
83 - Fix bug in sysex_manufacturer_ids; 1-byte manufacturers were not
84 tuples due to missing comma.
85 - Fix bug in SysEx state machine; 0xF7 now sent to handle_sysex_msg().
86 - Annotations: Provide multiple string versions (shorter and longer ones).
87 - chromatic_notes in list.py was off by 1 octave.
88 - Handle "Running Status" where status byte can be omitted.
89 - SysEx message can be terminated by status byte, not just EOX.
90 - Handle SysReal messages that interrupt in-progress message transmission.
91 - Identify and print garbage / truncated data.
92 - Add 2 new annotations: text-sysreal-verbose and text-error.
94 - Drop problematic exception in us2samples() function (bug #758).
96 - Fix a bug in the output for stacked PDs (when there's RX/TX overlap).
97 - Various output formatting improvements (e.g. for ASCII and octal).
98 - Skip frames with invalid start bits.
99 - Emit 2 bytes for 9-bit UART binary output (bug #708).
100 - Default to hex format datavalue annotations.
102 - Fix binary output for wordsizes > 8 (bug #686).
104 - Don't try to decode commands that are not yet supported.
105 - Always show CMD argument in hex.
106 - Fix incorrect CMD8 annotations.
108 - Add warnings for various invalid bits and fields.
109 - Skip stuff bit inspection where not applicable (bug #656).
111 - Add Xicor X24C02 support.
113 - Replace PD with a new, improved implementation (bugs #666, #926).
114 - Overdrive speed is now detected automatically.
115 - Some no longer needed decoder options have been dropped.
117 - Fix some incorrect PD license metadata fields.
118 - Fix typos, whitespace issues and random other cosmetics in some PDs.
119 - Use consistent __init__() format across all PDs.
120 - Move some duplicated code snippets/lists to decoders/common.
121 * Rename the maxim_ds28ea00 decoder to ds28ea00.
122 * Show library versions in the debug output.
123 * configure: Also check for Python 3.6.
124 * configure summary: Show build type (static/shared) and linker flags.
125 * Remove FSF postal address from boiler plate license text.
126 * HACKING: Update URL to Linux kernel coding style.
131 Note: This release DOES change the libsigrokdecode public C API. This
132 means it is NOT backwards-compatible and frontends will need updates.
134 * New supported protocol decoders:
135 - adns5020 Bidirectional command and data over an SPI-like protocol
136 - am230x Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor
137 - arm_etmv3 Decode ETM instruction trace packets
138 - arm_itm Trace data from Cortex-M / ARMv7m ITM module
139 - arm_tpiu Filter TPIU formatted trace data into separate streams
140 - eeprom24xx 24xx series I²C EEPROM protocol
141 - em4100 EM4100 100-150kHz RFID protocol
142 - jitter Retrieves the timing jitter between two digital signals
143 - max7219 8-digit LED display driver
144 - mdio Half-duplex sync serial bus for MII management (MAC/PHY)
145 - modbus Modbus RTU protocol for industrial applications
146 - mrf24j40 IEEE 802.15.4 2.4 GHz RF tranceiver chip
147 - nrf24l01 2.4GHz transceiver chip
148 - pwm Analog level encoded in duty cycle percentage
149 - qi Async serial protocol for Qi charger receivers
150 - rfm12 HopeRF RFM12 wireless transceiver control protocol
151 - sdcard_sd Secure Digital card (SD mode) low-level protocol
152 - spdif Serial bus for connecting digital audio devices
153 - stepper_motor Absolute position and movement speed from step/dir
154 - swd Two-wire protocol for debug access to ARM CPUs
155 - tca6408a Texas Instruments TCA6408A 8-bit I²C I/O expander
156 - timing Calculate time between edges
157 - usb_power_delivery USB Power Delivery protocol
158 - usb_request USB (low-speed and full-speed) transaction/request protocol
159 * The 'mx25lxx05d' decoder was renamed to 'spiflash' and made more generic.
161 - Use objdump instead of addr2line (bug #564).
163 - Emit bit value annotations.
164 - Improve stuff bit annotation placement.
166 - Emit per-bit annotations for registers.
167 - Add more annotation classes (and annotation rows).
168 - Handle register 0x07 (control register).
169 - Handle SRAM register accesses.
170 - Correctly handle address wrap-around.
171 - Warn about (and ignore) non-DS1307 traffic.
173 - Handle more EDID structure sections.
174 - Add annotation rows.
176 - Avoid Unicode string literals (bug #569).
178 - Fix/enable OUTPUT_PYTHON output.
179 - Add more annotations, fix a SHIFT-IR/-DR issue.
181 - Fix incorrect handling of registers.
182 - Decode more fields, improve IDCODE handling.
183 - Decode IDCODE contents as strings (not just hex values).
185 - Fix two incorrect sample numbers.
186 - Update for a change (emit databyte/bits at the same time) in the uart PD.
188 - Fix a register address typo.
190 - Fix inverted button press logic.
192 - Update for a change (emit databyte/bits at the same time) in the uart PD.
194 - Fix a bug when the samplerate is too low for the PD (bug #357).
196 - Enforce that at least one pin must be provided.
198 - Avoid Unicode string literals (bug #569).
200 - OUTPUT_PYTHON docs: Fix order of MISO/MOSI data items.
201 - Tell stacked decoders about missing CS# signal.
202 - Add binary output facilities for MISO/MOSI (bug #424).
203 - Don't decode data lines if CS# isn't asserted (bug #559).
204 - Add a 'TRANSFER' output type.
206 - Implement FAST READ command.
207 - Add a 'chip' option in preparation for supporting more devices.
208 - Fix incorrect 'inputs' field.
210 - Fix incorrect DAC selection decode, add more annotations.
211 - Only decode the last 11 bits, ignore the rest.
212 - Properly handle LOAD and LDAC based operations.
213 - Handle the case of less than 11 bits in a command.
214 - Add options for per-DAC Vref, show voltages.
216 - Add signal inversion options 'invert_tx' and 'invert_rx'.
217 - Emit databyte and bits list at the same time to simplify stacked PDs.
218 - Improve sample positions at high data rates.
219 - Handle framing errors better.
220 - Performance-optimize handling of samples when TX and RX are both idle.
222 - Fix incorrect DATA*/MDATA handling (bug #623).
223 - Handle invalid packets more gracefully (bug #186).
224 - Calculate and check CRC5/CRC16.
225 - Handle errors from usb_signalling.
226 - Handle PREamble transmissions.
228 - Handle transmission timeouts.
229 - Handle PREamble transmissions.
231 - Track USB symbol width to compensate frequency errors.
232 - Detect bit stuffing errors.
233 - Handle symbol errors in EOP state.
234 - Use explicit positions for packet start/end (avoids glitches).
235 - Decode RESET and Keep-Alive signalling conditions.
236 - Add option to automatically set signalling speed.
237 - Fix SOP detection after an error condition.
238 - Add signalling states needed after LS PREamble PID.
239 - Detect PREamble PID.
240 * Drop the PD testing framework. It's in the 'sigrok-test' repository now
241 (and is not meant for "end users" or distro packages anyway; it's a pure
242 developer tool/system). This also fixes some PD test related build issues.
243 * Makefile.am: Use libtool's -no-undefined option (fixes MinGW shared build).
244 * Support loading decoders stored in ZIP files.
245 * Updated build requirements:
247 - Drop obsolete (optional) dependencies: python3-coverage, libsigrok.
248 * README: Use clearer descriptions for the dependencies.
249 * Remove all references to the obsolete sigrok-commits mailing list.
250 * Fix incorrect doxygen comment for srd_decoder_list() function (bug #378).
252 - Fix a shell portability issue ("==" vs. "=").
253 - Use AM_CFLAGS instead of CFLAGS.
254 - Only link the 'check' library into the unit tests (not the lib).
256 - Fix out-of-tree build.
257 * libsigrokdecode.pc (pkg-config) file:
258 - Fix an issue related to the Python lib dependencies.
259 - Publish decodersdir variable.
260 * Add "-git-<hash>" suffix to development version numbers.
261 * Pass unitsize per sample chunk (bug #352).
262 * Modernize the whole autotools setup.
263 * Build with _POSIX_C_SOURCE=200112L per default.
264 * Build: Show CC and CFLAGS in configuration summary.
265 * Also look for decoders in XDG data directories.
266 * Restrict Python code to stable ABI subset (PEP 384).
267 * Fix various memory leaks.
268 * Fix an issue with PDs not being properly removed upon unload.
269 * Don't let Python override signal handlers (bug #461).
270 * configure: Also check for Python 3.5 (bug #739).
275 Note: This release DOES change the libsigrokdecode public C API. This
276 means it is NOT backwards-compatible and frontends will need updates.
278 * New supported protocol decoders:
279 - guess_bitrate Guess the bitrate/baudrate of a signal
280 - ir_nec NEC infrared remote control protocol
281 - ir_rc5 RC-5 infrared remote control protocol
282 - midi Musical Instrument Digital Interface
283 - parallel Parallel synchronous bus decoder
284 - rgb_led_spi RGB LED string decoder (SPI)
285 - xfp 10 Gigabit Small Form Factor Pluggable Module
286 - z80 Zilog Z80 microprocessor disassembly
287 * Add support for annotation rows, i.e. groups of annotation classes that
288 are supposed to be displayed on the same GUI "row" together.
289 * Add support for the new OUTPUT_BINARY feature, which allows PDs to output
290 decoded data in various file formats (for loading and further processing
291 in other tools, or for direct live piping into other tools).
292 * Add support for the OUTPUT_META output type. This is used by PDs for
293 reporting various data points to the frontends, allowing them to perform
294 various post-processing and statistics tasks on them (e.g. simple counts,
295 average/mean values, min/max values, and so on).
296 * The OUTPUT_PROTO output type is now called OUTPUT_PYTHON.
297 * All protocol decoders:
298 - Bump the 'api_version' field of all decoders to 2. They are no longer
299 compatible (and cannot be used with) older libsigrokdecode versions.
300 - Updates to emit proper annotation classes, annotation sample numbers,
301 and annotation rows for GUI usage (bugs #146, #148, #150, #151, #154,
302 #155, #162, #147, #163, #168, #156, #309, and #344).
303 - Longer and shorter annotations are now supplied for GUI usage (frontends
304 can for example always show the longest annotation per zoom-level).
305 - Extensive protocol information has been moved from the PDs to the wiki.
306 Example: http://sigrok.org/wiki/Protocol_decoder:Uart
307 - Use correct I²C / I²S names in user-visible texts (not I2C/I2S).
309 - Fix a bug in the handling of DCF77 bit 0.
310 - Drop handling of the 'PON' pin, this is not DCF77 related (bug #153).
311 - Fix the data parity check (bug #157).
313 - Fix corner case that can yield issues when using triggers on LAs.
314 - Drop unneeded 'addressing' option.
315 - Output bit-exact annotations and data for use by stacked PDs.
317 - Add OUTPUT_BINARY support for dumping the decoded data in WAV format.
319 - Various fixes to make the PD work better (or at all).
320 - Fix the handling of optional channels.
321 - Make the RESET# pin optional.
323 - Split 'reset' and 'presence' annotations.
325 - Support the JSEC, JPRO, JAAC, and JSDA commands.
326 - Various internal fixes and improvements.
328 - Fix internal use of the obsolete 'metadata' parameter (bug #202).
330 - Properly handle register 0x06 (weekday) and the 'century' bit.
332 - Emit bit-exact annotations for the register fields that need them.
333 - Fix a Python issue with duplicate keys in a dict (bug #191).
335 - Either MISO or MOSI can be optional now, but not both (bug #175).
336 - The CS# pin is optional now. If the pin is supplied, it is honored
337 (decoding only happens when the pin is asserted). Otherwise decoding will
338 use every CLK edge, regardless of CS# state or CS# existence (bug #152).
339 - Rename the 'SCK' pin to the more common 'CLK'.
340 - Output bit-exact annotations and data for use by stacked PDs.
341 - Fix a bug occurring when only MOSI (but not MISO) was supplied.
343 - Drop the obsolete 'transitioncounter' dummy protocol decoder.
345 - Fix corner case that can yield issues when using triggers on LAs.
346 - Use 'T' for stop bits and 'P' for parity bits (shortest annotations).
347 - Add a data format selection option.
348 - Annotations for RX and TX are now emitted in different annotation rows.
349 - Either the RX or TX signal can be optional now (but not both).
350 - Fix incorrectly displayed characters (bug #201).
351 - Add support for OUTPUT_BINARY output for RX, TX, or both.
352 - Output bit-exact annotations and data for use by stacked PDs.
354 - Drop the obsolete 'uart_dump' decoder (the feature is now included
355 in the 'uart' protocol decoder itself via OUTPUT_BINARY).
357 - The 'usb_protocol' decoder has been renamed to 'usb_packet'.
358 - Various bugfixes and decoding improvements.
360 - Fix decoding of individual bits, sample in the middle of bits (bug #158).
361 * libsigrokdecode API changes overview:
362 - Add srd_session_new(), srd_session_destroy(), and a session context.
363 - Add srd_session_metadata_set().
364 - The name 'probe' has been renamed to 'channel' everywhere.
365 - The lib no longer defineѕ names with _t suffix (POSIX reserved).
366 - Drop the obsolete SRD_MAX_NUM_PROBES.
367 - Add the SRD_CONF_SAMPLERATE config key.
368 - Please see the Doxygen API documentation for further details.
369 * Protocol decoder API:
370 - Metadata is passed to PDs at runtime now (not at decoder start).
371 PDs now have a new optional metadata() method to receive it.
372 - Output types are now registered via Decoder.register(), not Decoder.add().
373 - The report() method is now obsolete. This kind of information will be
374 passed to the frontends via the OUTPUT_META output type, allowing the
375 frontends to perform various post-processing and statistics tasks.
376 - PDs can now define BINARY_OUTPUT types via the 'binary' tuple.
377 - PDs can now define annotation rows via the 'annotation_rows' tuple.
378 - PD options are now a tuple of dicts. Each option is a dict containing
379 the keys 'id', 'desc', 'def', and 'values'. Valid option types are
380 UTF-8 strings, integers, and floats (bugs #254, #306, #317, #165).
381 - Channels, optional channels, and annotations are now tuples (not lists).
382 - Only load PDs of API version 2, all other versions are incompatible.
383 * srd_inst_channel_set_all(): Report an error if not all channels required
384 by the respective protocol decoder have been supplied.
385 * Remove some internal limitations to max. 64 channels (bug #120).
386 * Add a unit test suite framework for libsigrokdecode ('make check').
387 * Add a protocol decoder test-suite framework for developers (tests/pdtest).
389 - srd_inst_option_set(): Properly return an error on exceptions.
390 - srd_inst_option_set(): Fix setting of instance options, caused by class
391 variable clobbering or releasing borrowed references (bugs #170, #174).
392 - srd_decoder_load(): Error out upon invalid module names (bug #176).
393 - srd_decoder_load(): Don't try to load an already loaded PD twice.
394 - srd_decoder_load_all(): Avoid issues without prior srd_init() (bug #178).
395 - srd_decoder_doc_get(): Fix an issue in the unit test suite (bug #179).
396 - srd_pd_output_callback_add(): Honor cb_data value (bug #143).
397 - Fix issues with PDs not getting the samplerate (bugs #97, #132, #166).
398 - Don't incorrectly decrease a borrowed reference (bug #177).
399 - Fix various memory leaks and segfault conditions.
401 - Use pkg-config (not python3-config) to check for Python libs.
402 This enables (better) libsigrokdecode cross-compile support.
403 - PDs no longer have an extra Makefile.am, and 'make install' now
404 happens via a Python script.
405 - configure: Clearly mark required and optional libs.
406 - Fix an issue with DESTDIR support (bug #215).
407 - Add the HACKING file to the tarball.
408 * Updated or new build-time and runtime requirements:
409 - Python >= 3.2 (required)
410 - check >= 0.9.4 (optional, only needed for the libsigrokdecode testsuite)
411 - libsigrok >= 0.3.0 (optional, only needed for the developer PD testsuite)
412 - python3-coverage (optional, only needed for the developer PD testsuite)
413 * New 'make install'-time requirement:
414 - Python >= 3.2 (required)
419 Note: This release DOES change the libsigrokdecode public C API. This
420 means it is NOT backwards-compatible and frontends will need updates.
422 * New supported protocol decoders:
424 * Library: Decoders now expose their options via the GSList *options field
425 in struct srd_decoder.
426 * API related changes:
427 - Various API documentation fixes.
428 - srd_decoder_list() now returns 'const GSList *' instead of 'GSList *'.
429 - Added new srd_strerror() and srd_strerror_name() API calls.
430 * Added support for optional probes for PDs.
435 Note: This release does NOT change the libsigrokdecode public C API. This
436 means existing libsigrokdecode frontends should not require any changes.
437 However, individual PDs and their output changed, which may require
438 some adaptations on the user's side in some cases.
440 * New supported protocol decoders:
441 - avr_isp AVR In-System Programming
442 - can Controller Area Network
443 - jtag Joint Test Action Group (IEEE 1149.1)
444 - jtag_stm32 Joint Test Action Group / ST STM32
447 - maxim_ds28ea00 Maxim DS28EA00 1-Wire digital thermometer
448 - onewire_link 1-Wire serial communication bus (link layer)
449 - onewire_network 1-Wire serial communication bus (network layer)
450 - sdcard_spi Secure Digital card (SPI mode)
451 - tlc5620 Texas Instruments TLC5620
452 - uart_dump UART dump
453 * i2cfilter: Now outputs 'i2c' packets instead of just data bytes, so
454 other PDs can stack on top of it. It filters by I2C slave address.
455 * edid: Now takes 'i2c' packets as input.
457 - Various bugfixes to make the PD actually work.
458 - Now features 'Text (short)' and 'Text (verbose)' outputs.
460 - The PD is split into 'usb_signalling' and 'usb_protocol' (stacked on top).
461 - Various bugfixes to make the PD work (better).
462 - The DP/DM probes were swapped, this is now fixed.
463 - Preliminary support for USB low-speed (in addition to full-speed).
464 * mlx90614: Minor bugfixes.
466 - Major bugfix, this PD was not working correctly at all.
468 * nunchuk: Complete rewrite, works (better) now.
469 * spi: Update docs, send CS# change packets, change output API slightly.
470 If you have a PD which stacks on top of SPI, it'll need to be adapted.
471 The PDs that ship with libsigrokdecode are updated already.
473 - Implement support for the READ, RDSR, and PP commands.
474 - Decode status register bits.
475 - Fix SE command handling.
476 - Fix inverted SRWD bit handling.
477 * Various smaller style and consistency changes in code and PD descriptions.
478 * Fix the build with Homebrew on Mac OS X.
479 * Performance improvements in some PDs.
480 * Documentation: Update website and git URLs.
481 * pkg-config file: Small fix to improve behaviour on Windows with cmake.
482 * All PD implementation files are now named 'pd.py' consistently.
484 - Also check for python3.3-config in addition to python-config and others.
485 - Add missing -fvisibility=hidden to default CFLAGS.
486 - Fix CFLAGS handling (configure.ac amends CFLAGS, doesn't overwrite now).
487 * The minimum required glib version is 2.24.0 now.
488 * We now ship a standard INSTALL file which documents the 'configure' options.