Gerhard Sittig [Sun, 29 Dec 2019 06:13:47 +0000 (07:13 +0100)]
store session: do send end() packet after data export to output file
Extend the StoreSession::store_proc() method to send a SR_DF_END packet
after all analog/logic data packets were sent and before the output file
and output module get shutdown.
Soeren Apel [Sun, 15 Dec 2019 16:20:51 +0000 (17:20 +0100)]
Various binary output-related changes
1) Remove some try..catch clauses that can easily be handled by if (...) instead
so that debugging unwanted exceptions is easier
2) Replace some iterator-based loops by loops using index-based container access
3) Replace the binary chunk container by a deque
Soeren Apel [Wed, 11 Dec 2019 21:34:19 +0000 (22:34 +0100)]
Various PD-related changes
1) Added decoder stack/remove signals
2) Added binary output class handling and refactored the code accordingly
3) Enabled the decoder output view to handle multiple decoders per signal
Uwe Hermann [Sat, 23 Nov 2019 18:38:46 +0000 (19:38 +0100)]
views/trace: Fix two -fsanitize=undefined issues.
Two variables were being accessed before initialization in some cases.
pv/views/trace/view.cpp:1199:6: runtime error: load of value 124, which is not a valid value for type 'bool'
pv/views/trace/view.cpp:1199:6: runtime error: load of value 105, which is not a valid value for type 'bool'
pv/views/trace/cursorpair.cpp:252:7: runtime error: load of value 24, which is not a valid value for type 'bool'
pv/views/trace/cursorpair.cpp:252:7: runtime error: load of value 200, which is not a valid value for type 'bool'
Soeren Apel [Wed, 6 Nov 2019 21:43:51 +0000 (22:43 +0100)]
Fix #1107 by implementing a copy-to-clipboard menu entry
In the process, it turned out that the sample range for
cursor position-based menu commands was wrong: it didn't
take the width of the viewport header into account. This
is now fixed as well.
Uwe Hermann [Thu, 8 Aug 2019 19:46:25 +0000 (21:46 +0200)]
org.sigrok.PulseView.appdata.xml: Fix a few warnings.
I - org.sigrok.PulseView.appdata.xml:org.sigrok.PulseView.desktop:20
Consider using a secure (HTTPS) URL for 'http://sigrok.org/wiki/FAQ'
I - org.sigrok.PulseView.appdata.xml:org.sigrok.PulseView.desktop:19
Consider using a secure (HTTPS) URL for
'http://sigrok.org/bugzilla/enter_bug.cgi?format=guided&product=PulseView'
I - org.sigrok.PulseView.appdata.xml:org.sigrok.PulseView.desktop:18
Consider using a secure (HTTPS) URL for 'http://sigrok.org/wiki/PulseView'
I - org.sigrok.PulseView.appdata.xml:org.sigrok.PulseView.desktop:23
Consider using a secure (HTTPS) URL for
'http://sigrok.org/wimg/e/ee/PulseView_I2C_DS1307_Decode.png'
I - org.sigrok.PulseView.appdata.xml:org.sigrok.PulseView.desktop:10
First 'description/p' paragraph might be too short (< 80 characters).
Uwe Hermann [Fri, 5 Jul 2019 20:58:08 +0000 (22:58 +0200)]
Connect dialog: Fix scan for certain USB devices.
Before the fix, selecting "USB" (it's selected by default) in the
"Connect to device" dialog would incorrectly set a conn parameter to
some serial or HID devices, even for scans for pure USB devices which are
neither of those.
jaseg [Mon, 10 Jun 2019 03:56:32 +0000 (12:56 +0900)]
Show relative time of flags on hover
With this change, when the mouse hovers over any flag or cursor, the
flags change labels to show their time relative to the item being
hovered over. When hovering over the interval label of a cursor pair,
the relative time to the nearest end of the interval is shown. While
pressing shift, the regular labels are shown again.