Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-15 | uart: rephrase data bits to data value conversion | Gerhard Sittig | |
Use the already available .databits[] information which holds sample data and bit time edge positions, and the common bitpack() routine. This shall increase readability of the bits to value conversion. [ best viewed with more context, like 'git diff -U5' ] | |||
2018-07-15 | common: rephrase bitpack(), use list comprehension Python idiom | Gerhard Sittig | |
2018-06-22 | jtag_ejtag: Simplify some code snippets. | Uwe Hermann | |
2018-06-22 | jtag_ejtag: Fix short/long annotation order. | Uwe Hermann | |
The list of annotation strings is sorted from longest to shortest. | |||
2018-06-22 | jtag_ejtag: Add short description in __init__.py. | Uwe Hermann | |
2018-06-22 | jtag_ejtag: Move bin2int() to common/srdhelper. | Uwe Hermann | |
Also, rename from bin_to_int to bin2int() for consistency. | |||
2018-06-22 | jtag_ejtag: Simplify two code snippets. | Uwe Hermann | |
2018-06-22 | jtag_ejtag: Shorten variable names to ss/es. | Uwe Hermann | |
These abbreviations are commonly-used in all other PDs. | |||
2018-06-21 | Add MIPS EJTAG decoder | Vlad Ivanov | |
Signed-off-by: Vlad Ivanov <vlad.ivanov@lab-systems.ru> | |||
2018-06-10 | cfp: Add reset() method. | Uwe Hermann | |
2018-06-10 | cfp: Use the Python in/range keywords. | Uwe Hermann | |
2018-06-10 | cfp: Shorten two variable names. | Uwe Hermann | |
2018-06-10 | cfp: Factor out self.putx(). | Uwe Hermann | |
This improves readability and avoids some duplication. | |||
2018-06-10 | cfp: Reduce indentation level. | Uwe Hermann | |
2018-06-10 | cfp: Drop unneeded annotation prefix; plural fixes. | Uwe Hermann | |
2018-06-10 | cfp: Drop unused self.out_python. | Uwe Hermann | |
2018-06-10 | cfp: Fix incorrect copy-paste description. | Uwe Hermann | |
2018-06-10 | Revert "mdio: Add 'TURNAROUND' long/full annotation." in order to comply ↵ | Elias Oenal | |
with the naming used in the Ethernet standard. This reverts commit 30d775b095a4b76e5fa755b19d5521affa3c053c. | |||
2018-06-10 | Add a CFP decoder. | Elias Oenal | |
2018-05-30 | counter: Drop unneeded tuple braces. | Uwe Hermann | |
(minor readability / consistency improvement) | |||
2018-05-30 | counter: emit wider annotations for data and word counts | Gerhard Sittig | |
Track the start of a data or word cycle. Avoid narrow ss=es annotations which may be tedious to inspect by users in GUI applications. This resolves the issue initially reported in bug #1210. | |||
2018-05-30 | counter: prepare for variable width annotations | Gerhard Sittig | |
Explicitly pass a start sample number to the .putc() method, to prepare annotations where ss differs from es. This is motivated by bug #1210. Stick with the narrow ss=es annotations for backwards compatibility. | |||
2018-05-29 | counter: explicit string formatting for annotation text | Gerhard Sittig | |
Replace str() conversion with explicit number text formatting, for improved awareness and easier future adjustment during maintenance. | |||
2018-05-29 | counter: use local variables instead of instance variables | Gerhard Sittig | |
Since values get accessed within the .decode() method exclusively, we need not store data in instance variables of the decoder object. Use another variable for the "reset edge" option as well for consistency. | |||
2018-05-29 | counter: move some init code to the start of decode() | Gerhard Sittig | |
Since PD API v3 the .decode() method is called exactly once, and contains a main loop itself. Move initialization code that sets up .decode() related logic to the start of the .decode() routine. | |||
2018-05-29 | counter: use symbolic names for input pins, wait conditions, annotation rows | Gerhard Sittig | |
Replace magic numbers by symbolic references to (fixed and optional) decoder input signals, .wait() conditions, as well as annotation rows. Move some empty lines, to better reflect which code lines form groups of similar activity ("blocks" that logically belong together). | |||
2018-05-29 | counter: explicit option text to .wait() edge mapping | Gerhard Sittig | |
The previous implementation used the fact that libsigrok's internal API happens to use the first letter of the user visible English option text. Two locations mapped edge choices to API literals in different ways. Unify them, introduce an explicit option text to literal value mapping. (Many if not all decoder implementations do that. More adjustment to use common code could be beneficial.) | |||
2018-05-26 | atsha204a: Add the reset() method. | Uwe Hermann | |
2018-05-26 | atsha204a: Rename a few methods for consistency. | Uwe Hermann | |
2018-05-26 | atsha204a: Shorten a few more code chunks, add helpers. | Uwe Hermann | |
2018-05-26 | atsha204a: Shorten self.opcode to op in a few places. | Uwe Hermann | |
2018-05-26 | atsha204a: Use the Python 'in' keyword to improve readability. | Uwe Hermann | |
2018-05-26 | atsha204a: Shorten output_tx_bytes()/output_rx_bytes() a bit. | Uwe Hermann | |
2018-05-26 | Add decoder for Microchip ATSHA204A crypto module | Michalis Pappas | |
2018-05-21 | Add ON Semi CAT24C256, CAT24M01. | whitequark | |
2018-05-19 | Decoder_put(): Avoid a g_malloc()/g_free() pair per binary out. | Uwe Hermann | |
2018-05-19 | Decoder_put(): Avoid a g_malloc()/g_free() pair per annotation. | Uwe Hermann | |
2018-05-18 | srd_inst_find_by_obj(): Minor performance improvement. | Uwe Hermann | |
Handle the most common case of one session and one decoder first so we can exit early. This has a small, but measurable performance benefit. | |||
2018-05-18 | srd_*inst_find_by_obj(): Suggest inlining for performance reasons. | Uwe Hermann | |
This has a small, but measurable performance benefit. | |||
2018-05-18 | srd_*inst_find_by_obj(): Move functions, make them static. | Uwe Hermann | |
These functions are only used in type_decoder.c. Move them there and make them static. | |||
2018-05-18 | sample_matches(): Force inlining for performance reasons. | Uwe Hermann | |
2018-05-18 | Simplify code by dropping session_is_valid(). | Uwe Hermann | |
A simple NULL check is sufficient here, max_session_id is being properly handled by srd_init(), srd_exit(), srd_session_new(). This might also have a small performance benefit. | |||
2018-05-18 | convert_meta(): Use g_variant_type_equal(). | Uwe Hermann | |
2018-05-18 | Doxyfile: Exclude the build/ directory. | Uwe Hermann | |
2018-05-18 | Add srd_searchpaths_get() API docs. | Uwe Hermann | |
2018-05-18 | Doxyfile: Update to a more recent Doxygen version. | Uwe Hermann | |
2018-05-18 | Random whitespace/cosmetic/consistency fixes. | Uwe Hermann | |
2018-05-17 | type_decoder.c: Fix a compiler warning (-Wswitch-default). | Uwe Hermann | |
type_decoder.c: In function ‘get_term_type’: type_decoder.c:486:2: warning: switch missing default case [-Wswitch-default] switch (v[0]) { ^~~~~~ | |||
2018-05-17 | configure.ac: Add some more compiler warning options. | Uwe Hermann | |
Add the -Wshadow -Wformat=2 -Wno-format-nonliteral -Wfloat-equal compiler options (supported by both gcc and clang) to get notified of more potential issues in the code. | |||
2018-05-16 | srd_decoder_load_all_zip_path(): Fix a compiler warning (-Wshadow). | Uwe Hermann | |