Commit Graph

2523 Commits

Author SHA1 Message Date
Soeren Apel e23d7aa0d9 Fix #1549 by notifying user of wrong input parameter names 2020-05-29 21:24:34 +02:00
Soeren Apel 5a5d3b1de8 Fix MetadataObjMainViewRange handling when main view is resized 2020-05-24 23:04:24 +02:00
Soeren Apel 939d25cbcf TabularDecView: Some fixes and refactorings 2020-05-24 23:04:20 +02:00
Soeren Apel 0bb3dd2542 Make sure get_time_extents() uses a signal that data was acquired for 2020-05-23 19:05:26 +02:00
Soeren Apel 5a8c6b596a Fix view setting restoration 2020-05-22 15:21:29 +02:00
Soeren Apel 0efa7f0cc5 Make the analog value voltage display more sane
We do this by choosing the prefix (kV, V, mV) based on the min/max value
of the signal, not the value at the cursor position.

That way, we won't have the situation where values are printed as e.g.
"400 mV" when the values are usually shown as "1.600 V".
2020-05-22 15:21:29 +02:00
Uwe Hermann 8845be3c9c Fix a few #include guard inconsistencies. 2020-05-22 00:04:23 +02:00
Soeren Apel 5f46ec7a62 Fix a compiler warning 2020-05-22 00:04:23 +02:00
Soeren Apel 1e948182f3 Fix compile issues with some compiler versions 2020-05-22 00:04:14 +02:00
Soeren Apel 6f43db70c6 TabularDecView: Fix model issues and improve ViewModeVisible
Instead of trying to be smart on the model side, we use a filtering
proxy instead to filter non-visible rows. This works much better and
the performance penalty seems to be very small.
2020-05-22 00:04:14 +02:00
Uwe Hermann 39debd2f89 rowdata.hpp: Minor indentation fixes. 2020-05-11 22:17:41 +02:00
Soeren Apel 554af71bf5 SignalBase: Add SignalGroup class and handling 2020-05-11 21:24:22 +02:00
Soeren Apel d5397ccbb6 QHexView: Only use as many digits for the address as needed 2020-05-11 21:24:22 +02:00
Soeren Apel 2c5b0f467f Fix some signal/slot bugs 2020-05-11 21:24:22 +02:00
Soeren Apel f9a0fd8322 Continue reworking the channel/signal handling 2020-05-11 21:24:22 +02:00
Soeren Apel 999869aa67 Prepare for generated signals 2020-05-11 21:24:22 +02:00
Soeren Apel 578d073553 Refactor channel/signal handling 2020-05-11 21:24:22 +02:00
Soeren Apel 9cee9c1b89 TraceView: Don't use unordered sets and maps 2020-05-11 21:24:22 +02:00
Soeren Apel 720f476238 Use shared_ptr for async samples_added() notification 2020-05-11 21:24:22 +02:00
Soeren Apel 1f3033cb3e Rework signals for modularity 2020-05-11 21:24:22 +02:00
Soeren Apel 464f05d59f Add SignalBase::clear_sample_data() and local samplerate values 2020-05-11 21:24:22 +02:00
Soeren Apel 9a5ef9a0d7 Fix #1542 by providing std::hash<QString> implementation as needed 2020-05-11 21:23:55 +02:00
Soeren Apel 009fc9ae42 Replace deprecated qVariantFromValue 2020-05-03 17:20:55 +02:00
Soeren Apel f95b1d8109 Fix #1540 by adding a null pointer check 2020-05-03 17:20:55 +02:00
Soeren Apel 1c5211005b Implement MetadataObjMousePos and use it in the TabularDecView 2020-05-03 17:20:55 +02:00
Soeren Apel 8e168b2384 TabularDecView: Remove unnecessary stuff 2020-05-03 17:20:55 +02:00
Soeren Apel 02078aa15a Introduce DecodeSignal::annotation_visibility_changed and use it 2020-05-03 17:20:55 +02:00
Soeren Apel 8997f62a4f Implement MainViewRange meta obj and tab_dec::ViewModeVisible 2020-05-03 17:20:55 +02:00
Soeren Apel 593ea025f2 TabularDecView: Fix invalid assert() 2020-05-03 17:20:55 +02:00
Soeren Apel f2739baea4 Add metadata object handling 2020-05-03 17:20:55 +02:00
Soeren Apel c84afcfd68 TabularDecView: Implement "focus on latest" 2020-05-03 17:20:55 +02:00
Soeren Apel 86d4b8e3e5 TabularDecView: Implement "hide hidden rows/classes" checkbox
Also adds the non-functional view mode selector.
2020-05-03 17:20:55 +02:00
Soeren Apel 2a89c44bef TabularDecView: Hide vertical header 2020-05-03 17:20:55 +02:00
Soeren Apel 6d46525fb5 TabularDecModel: Fix multi-row selection issue 2020-05-03 17:20:55 +02:00
Soeren Apel be0f590380 TabularDecView: Implement saving as CSV 2020-05-03 17:20:55 +02:00
Soeren Apel 85125b0f34 TabularDecView-related bug fixes 2020-05-03 17:20:55 +02:00
Soeren Apel 9a35b05d2f TabularDecView: Column header context menu and focus-on-double-click 2020-05-03 17:20:55 +02:00
Soeren Apel d656b01007 TabularDecView: Visually indent annotations by PD stack level 2020-05-03 17:20:55 +02:00
Soeren Apel ca9a5918de DecodeSignal: Sort annotations by start sample and length 2020-05-03 17:20:55 +02:00
Soeren Apel 88a2597864 Add row colors and some fixes 2020-05-03 17:20:55 +02:00
Soeren Apel ae30ff422a Move row/annotation color management out of DecodeTrace 2020-05-03 17:20:55 +02:00
Soeren Apel 1dcd9b1818 Fix #811 by using a hashed annotation text backing storage 2020-05-03 17:20:55 +02:00
Soeren Apel 02c87df733 TabularDecView: Increase robustness 2020-05-03 17:20:55 +02:00
Soeren Apel f54e68b03d TabularDecView: Make the model/view work 2020-05-03 17:20:55 +02:00
Soeren Apel 24d69d2758 Add tabular decoder view 2020-05-03 17:20:55 +02:00
Soeren Apel 7d5a9c3e79 Signal: Reorganize predefined signal names and add more 2020-05-03 17:20:55 +02:00
Uwe Hermann 941f20d1b7 tests: Fix a Boost header deprecation warning. 2020-05-03 00:47:37 +02:00
Wolfram Sang b409dfdc01 Add stacktrace support
Use backtrace when available, otherwise the basic stacktracer.

This fixes bug #1150.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2020-05-02 23:41:52 +02:00
Uwe Hermann 1db57c0370 build: Bump libsigrokcxx requirement to >= 0.5.2.
The Context->create_end_packet() we currently use was added in 0.5.2.

Reported by Dan Horák, thanks!
2020-04-04 22:44:45 +02:00
Uwe Hermann a7f4a81bd9 manual: Bump date to the date of the last change. 2020-03-31 21:48:27 +02:00