]> sigrok.org Git - pulseview.git/log
pulseview.git
4 years agoRework decoder infrastructure
Soeren Apel [Tue, 24 Dec 2019 22:13:03 +0000 (23:13 +0100)]
Rework decoder infrastructure

4 years agoImplement hidable rows
Soeren Apel [Tue, 24 Dec 2019 14:27:17 +0000 (15:27 +0100)]
Implement hidable rows

4 years agoDecodeTrace: Add widget container
Soeren Apel [Mon, 23 Dec 2019 13:21:17 +0000 (14:21 +0100)]
DecodeTrace: Add widget container

4 years agoImplement expansion marker animation and its infrastructure
Soeren Apel [Mon, 23 Dec 2019 10:55:46 +0000 (11:55 +0100)]
Implement expansion marker animation and its infrastructure

4 years agostore session: do send end() packet after data export to output file
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.

This fixes bug #1470.

4 years agoFix another compile failure on non-64bit machines
Soeren Apel [Fri, 27 Dec 2019 16:47:14 +0000 (17:47 +0100)]
Fix another compile failure on non-64bit machines

4 years agoFix build for machines that are not 64 bit
Soeren Apel [Thu, 26 Dec 2019 23:20:37 +0000 (00:20 +0100)]
Fix build for machines that are not 64 bit

4 years agoDecodeTrace: Various fixes after the refactoring
Soeren Apel [Sun, 22 Dec 2019 23:59:51 +0000 (00:59 +0100)]
DecodeTrace: Various fixes after the refactoring

4 years agoDecodeTrace: Honor a decoder's shown flag
Soeren Apel [Sun, 22 Dec 2019 22:47:48 +0000 (23:47 +0100)]
DecodeTrace: Honor a decoder's shown flag

4 years agoInternal decoder class handling refactoring
Soeren Apel [Sun, 22 Dec 2019 22:45:23 +0000 (23:45 +0100)]
Internal decoder class handling refactoring

4 years agoIntroduce views::trace::RowData and everything that comes with it
Soeren Apel [Sun, 22 Dec 2019 20:30:51 +0000 (21:30 +0100)]
Introduce views::trace::RowData and everything that comes with it

4 years agoFix #1462 by letting help label adjust its size
Soeren Apel [Sun, 22 Dec 2019 17:20:57 +0000 (18:20 +0100)]
Fix #1462 by letting help label adjust its size

4 years agoFix #852 by handling ViewWidget::leaveEvent() properly
Soeren Apel [Sun, 22 Dec 2019 16:42:11 +0000 (17:42 +0100)]
Fix #852 by handling ViewWidget::leaveEvent() properly

4 years agoDecoderOutputView: Fix updating of the hex view
Soeren Apel [Sat, 21 Dec 2019 21:45:47 +0000 (22:45 +0100)]
DecoderOutputView: Fix updating of the hex view

4 years agoDecodeTrace: Fix on_setting_changed() handling
Soeren Apel [Sat, 21 Dec 2019 21:42:30 +0000 (22:42 +0100)]
DecodeTrace: Fix on_setting_changed() handling

4 years agoMake new views take over the main view's signal settings
Soeren Apel [Sat, 21 Dec 2019 21:38:48 +0000 (22:38 +0100)]
Make new views take over the main view's signal settings

4 years agoQHexView: Fix saved ASCII output
Soeren Apel [Fri, 20 Dec 2019 23:10:08 +0000 (00:10 +0100)]
QHexView: Fix saved ASCII output

4 years agoFix #977 properly by checking whether a row actually has annotations
Soeren Apel [Fri, 20 Dec 2019 20:05:54 +0000 (21:05 +0100)]
Fix #977 properly by checking whether a row actually has annotations

4 years agoFix #1446 by starting the decode only for the last PD in the stack
Soeren Apel [Fri, 20 Dec 2019 18:21:22 +0000 (19:21 +0100)]
Fix #1446 by starting the decode only for the last PD in the stack

4 years agoFix #1451 by only using decoder tags if they're available
Soeren Apel [Fri, 20 Dec 2019 15:51:46 +0000 (16:51 +0100)]
Fix #1451 by only using decoder tags if they're available

4 years agoQHexView: Fix selection display
Soeren Apel [Fri, 20 Dec 2019 09:28:56 +0000 (10:28 +0100)]
QHexView: Fix selection display

4 years agoDecoderOutputView: Implement saving
Soeren Apel [Fri, 20 Dec 2019 00:43:32 +0000 (01:43 +0100)]
DecoderOutputView: Implement saving

4 years agoAdd save feature to DecoderOutputView
Soeren Apel [Thu, 19 Dec 2019 08:32:45 +0000 (09:32 +0100)]
Add save feature to DecoderOutputView

4 years agoAdd DecoderOutputView save button and action
Soeren Apel [Wed, 18 Dec 2019 15:46:31 +0000 (16:46 +0100)]
Add DecoderOutputView save button and action

4 years agoDecoderOutputView: Allow for adaptive size constraints
Soeren Apel [Tue, 17 Dec 2019 08:36:43 +0000 (09:36 +0100)]
DecoderOutputView: Allow for adaptive size constraints

4 years agoUse 'd' shortcut to show/hide decoder selector, also ESC to hide it.
Uwe Hermann [Tue, 17 Dec 2019 06:19:36 +0000 (07:19 +0100)]
Use 'd' shortcut to show/hide decoder selector, also ESC to hide it.

4 years agoQHexView: Improve vertical slider handling
Soeren Apel [Sun, 15 Dec 2019 16:23:49 +0000 (17:23 +0100)]
QHexView: Improve vertical slider handling

4 years agoVarious binary output-related changes
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

4 years agoDecodeOutputView: Use delayed view updater and cache current chunk
Soeren Apel [Thu, 12 Dec 2019 22:18:23 +0000 (23:18 +0100)]
DecodeOutputView: Use delayed view updater and cache current chunk

4 years agoFix segfault and use bin class description
Soeren Apel [Thu, 12 Dec 2019 21:33:03 +0000 (22:33 +0100)]
Fix segfault and use bin class description

4 years agoAllow more than 256 binary output classes
Soeren Apel [Thu, 12 Dec 2019 20:31:34 +0000 (21:31 +0100)]
Allow more than 256 binary output classes

4 years agoQHexView: Use different colors for different chunks
Soeren Apel [Thu, 12 Dec 2019 15:14:44 +0000 (16:14 +0100)]
QHexView: Use different colors for different chunks

4 years agoDecoderOutputView: Directly use DecodeBinaryClass as data source
Soeren Apel [Thu, 12 Dec 2019 14:09:31 +0000 (15:09 +0100)]
DecoderOutputView: Directly use DecodeBinaryClass as data source

4 years agoQHexView: Fix cursor max pos
Soeren Apel [Thu, 12 Dec 2019 11:58:59 +0000 (12:58 +0100)]
QHexView: Fix cursor max pos

4 years agoDecoderOutputView: Make comboboxes auto-adjusting
Soeren Apel [Thu, 12 Dec 2019 11:36:43 +0000 (12:36 +0100)]
DecoderOutputView: Make comboboxes auto-adjusting

4 years agoImplement binary class selector
Soeren Apel [Thu, 12 Dec 2019 11:23:18 +0000 (12:23 +0100)]
Implement binary class selector

4 years agoVarious PD-related changes
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

4 years agoDecodeSignal: Fix race condition
Soeren Apel [Tue, 10 Dec 2019 10:14:18 +0000 (11:14 +0100)]
DecodeSignal: Fix race condition

4 years agoMove DecodeChannel from data:: to data::decoder::
Soeren Apel [Sun, 8 Dec 2019 22:29:07 +0000 (23:29 +0100)]
Move DecodeChannel from data:: to data::decoder::

4 years agoConnect DecodeSignal and DecoderOutputView
Soeren Apel [Sun, 8 Dec 2019 17:34:52 +0000 (18:34 +0100)]
Connect DecodeSignal and DecoderOutputView

4 years agoDecodeSignal: Add binary data callback
Soeren Apel [Thu, 5 Dec 2019 22:22:46 +0000 (23:22 +0100)]
DecodeSignal: Add binary data callback

4 years agoSimplify QHexView interfaces
Soeren Apel [Sat, 30 Nov 2019 20:43:16 +0000 (21:43 +0100)]
Simplify QHexView interfaces

4 years agoIntegrate QHexView and make it better
Soeren Apel [Sat, 30 Nov 2019 20:16:12 +0000 (21:16 +0100)]
Integrate QHexView and make it better

4 years agoAdd QHexView
Soeren Apel [Fri, 29 Nov 2019 23:44:57 +0000 (00:44 +0100)]
Add QHexView

4 years agoDecoderOutput: Add format selector
Soeren Apel [Fri, 29 Nov 2019 22:36:56 +0000 (23:36 +0100)]
DecoderOutput: Add format selector

4 years agoDecoderOutput: Add selector box and fix signal handling
Soeren Apel [Fri, 29 Nov 2019 21:37:28 +0000 (22:37 +0100)]
DecoderOutput: Add selector box and fix signal handling

4 years agoSave/restore view type
Soeren Apel [Wed, 27 Nov 2019 20:06:54 +0000 (21:06 +0100)]
Save/restore view type

4 years agoChange parameter to ViewBase constructor
Soeren Apel [Wed, 27 Nov 2019 19:51:19 +0000 (20:51 +0100)]
Change parameter to ViewBase constructor

4 years agoImplement adding different view types
Soeren Apel [Mon, 25 Nov 2019 20:46:27 +0000 (21:46 +0100)]
Implement adding different view types

4 years agoMore preparation and some settings handling cleanup
Soeren Apel [Mon, 25 Nov 2019 11:13:44 +0000 (12:13 +0100)]
More preparation and some settings handling cleanup

4 years agoDecoderOutput: Add basic view skeleton
Soeren Apel [Mon, 25 Nov 2019 10:22:30 +0000 (11:22 +0100)]
DecoderOutput: Add basic view skeleton

4 years agoFix #1440 by moving shortcuts from the main window to the view
Soeren Apel [Sun, 24 Nov 2019 19:03:15 +0000 (20:03 +0100)]
Fix #1440 by moving shortcuts from the main window to the view

4 years agoFix clazy warnings
Soeren Apel [Wed, 20 Nov 2019 19:23:04 +0000 (20:23 +0100)]
Fix clazy warnings

4 years agoUse proposed clang-tidy fixes
Soeren Apel [Sun, 17 Nov 2019 20:15:04 +0000 (21:15 +0100)]
Use proposed clang-tidy fixes

4 years agoFix #1431 by using per-instance member variables
Soeren Apel [Fri, 15 Nov 2019 22:34:22 +0000 (23:34 +0100)]
Fix #1431 by using per-instance member variables

4 years agoLogging: Break srd stacktraces up into proper newlines
Soeren Apel [Fri, 15 Nov 2019 18:08:35 +0000 (19:08 +0100)]
Logging: Break srd stacktraces up into proper newlines

4 years agogitignore: Add *.qm
Soeren Apel [Mon, 11 Nov 2019 00:40:22 +0000 (01:40 +0100)]
gitignore: Add *.qm

4 years agoPrepare translations
Soeren Apel [Sun, 10 Nov 2019 19:45:58 +0000 (20:45 +0100)]
Prepare translations

4 years agoviews/trace: Fix two -fsanitize=undefined issues.
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'

4 years agoFix typo
Soeren Apel [Sat, 9 Nov 2019 22:16:49 +0000 (23:16 +0100)]
Fix typo

4 years agoDecodeTrace: Add fallback icon for edit-paste action
Soeren Apel [Sat, 9 Nov 2019 20:47:13 +0000 (21:47 +0100)]
DecodeTrace: Add fallback icon for edit-paste action

4 years agoFix compiler warnings
Soeren Apel [Fri, 8 Nov 2019 09:07:14 +0000 (10:07 +0100)]
Fix compiler warnings

4 years agoAdd temporary snapping disable menu to markers and cursors
Miklos Marton [Wed, 10 Jul 2019 07:55:47 +0000 (09:55 +0200)]
Add temporary snapping disable menu to markers and cursors

Add context menu to the cursors and time markers for temporary disabling
the snapping to digital edges of the markers.

4 years agoConnect dialog: Fix an issue where serial ports can't be selected
Uwe Hermann [Thu, 7 Nov 2019 22:48:01 +0000 (23:48 +0100)]
Connect dialog: Fix an issue where serial ports can't be selected

Without this fix, clicking the "Serial Port" radio button would not
enable the serial port dropdown (it would remain grayed out).

4 years agoFix #1107 more by copying also to the mouse selection buffer on X11
Soeren Apel [Thu, 7 Nov 2019 21:53:00 +0000 (22:53 +0100)]
Fix #1107 more by copying also to the mouse selection buffer on X11

4 years agoFix #1412 more by allowing the PD stack menu to be scrolled
Soeren Apel [Thu, 7 Nov 2019 21:49:11 +0000 (22:49 +0100)]
Fix #1412 more by allowing the PD stack menu to be scrolled

4 years agoFix #977 by introducing a setting for always showing all rows
Soeren Apel [Thu, 7 Nov 2019 21:40:07 +0000 (22:40 +0100)]
Fix #977 by introducing a setting for always showing all rows

4 years agoFix #1107 by implementing a copy-to-clipboard menu entry
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.

4 years agoFix #1362 by also saving decoder visibility
Soeren Apel [Wed, 6 Nov 2019 20:16:01 +0000 (21:16 +0100)]
Fix #1362 by also saving decoder visibility

4 years agoFix #1412 by only showing suitable PDs, not all of them
Soeren Apel [Wed, 6 Nov 2019 19:43:56 +0000 (20:43 +0100)]
Fix #1412 by only showing suitable PDs, not all of them

4 years agoFix #1400 by matching decoder selectors only for current session
Soeren Apel [Tue, 5 Nov 2019 21:25:50 +0000 (22:25 +0100)]
Fix #1400 by matching decoder selectors only for current session

4 years agoCMakeLists.txt: Show detected Qt version.
Uwe Hermann [Thu, 3 Oct 2019 18:58:11 +0000 (20:58 +0200)]
CMakeLists.txt: Show detected Qt version.

4 years agoBump required Qt version to >= 5.3.
Uwe Hermann [Sat, 7 Sep 2019 17:25:36 +0000 (19:25 +0200)]
Bump required Qt version to >= 5.3.

This is necessary since we now use QSignalBlocker, which was introduced
in Qt 5.3.

4 years agoTrace: Use scroll bars for popups with too much content
Soeren Apel [Tue, 13 Aug 2019 07:18:46 +0000 (09:18 +0200)]
Trace: Use scroll bars for popups with too much content

This fixes bug #183.

4 years agoorg.sigrok.PulseView.appdata.xml: Fix a few warnings.
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).

4 years agoExtend .gitignore
Miklos Marton [Fri, 2 Aug 2019 11:46:20 +0000 (13:46 +0200)]
Extend .gitignore

4 years agomanpage: Update keyboard shortcuts.
Uwe Hermann [Wed, 31 Jul 2019 20:46:12 +0000 (22:46 +0200)]
manpage: Update keyboard shortcuts.

4 years agoadding up/down to zoom in/out for quick navigation
Joe FitzPatrick [Wed, 24 Jul 2019 14:53:24 +0000 (07:53 -0700)]
adding up/down to zoom in/out for quick navigation

4 years agoAdd home and end shortcuts
Miklos Marton [Wed, 10 Jul 2019 14:15:33 +0000 (16:15 +0200)]
Add home and end shortcuts

4 years agocursors: Fix mouse cursor shape to be horizontal arrows.
Uwe Hermann [Sat, 6 Jul 2019 13:58:20 +0000 (15:58 +0200)]
cursors: Fix mouse cursor shape to be horizontal arrows.

4 years agoAdd shortcuts to + and - buttons for zooming in and out horizontally
Miklos Marton [Mon, 20 May 2019 09:27:37 +0000 (11:27 +0200)]
Add shortcuts to + and - buttons for zooming in and out horizontally

4 years agoConnect dialog: Fix scan for certain USB devices.
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.

This fixes bug #1403.

4 years agoDon't return valid time() for the cursor pair
Soeren Apel [Wed, 3 Jul 2019 07:45:09 +0000 (09:45 +0200)]
Don't return valid time() for the cursor pair

4 years agoStyle and architecture fixes
Soeren Apel [Sun, 30 Jun 2019 11:29:10 +0000 (13:29 +0200)]
Style and architecture fixes

4 years agoShow relative time of flags on hover
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.

4 years agoAccept new position on enter press in cursor popups
jaseg [Sun, 9 Jun 2019 11:53:05 +0000 (20:53 +0900)]
Accept new position on enter press in cursor popups

4 years agoFix ruler double-click to add cursor in right position
jaseg [Sun, 9 Jun 2019 11:52:35 +0000 (20:52 +0900)]
Fix ruler double-click to add cursor in right position

4 years agoTrace View: Move ruler time conversion from View to Ruler
Soeren Apel [Wed, 26 Jun 2019 20:20:25 +0000 (22:20 +0200)]
Trace View: Move ruler time conversion from View to Ruler

4 years agoShow ruler timestamps in cursors and popups
jaseg [Sun, 9 Jun 2019 11:07:55 +0000 (20:07 +0900)]
Show ruler timestamps in cursors and popups

Prior to this absolute timestamps would be shown, even with the zero
point set somewhere else.

4 years agoFixes
Soeren Apel [Fri, 21 Jun 2019 20:53:17 +0000 (22:53 +0200)]
Fixes

4 years agoMake cursor pair drop precision when too small
jaseg [Sun, 9 Jun 2019 10:35:20 +0000 (19:35 +0900)]
Make cursor pair drop precision when too small

Currently, often the label just displays "...". With this change, it
will gracefully drop precision and less important parts (frequency,
unit) when there's not enough space to print the full string. The full
string is still available in the tooltip appearing on hover.

4 years agoFixes
Soeren Apel [Thu, 20 Jun 2019 18:03:02 +0000 (20:03 +0200)]
Fixes

4 years agoTrace view: Allow setting cursors via shift-drag
jaseg [Sat, 8 Jun 2019 02:19:48 +0000 (11:19 +0900)]
Trace view: Allow setting cursors via shift-drag

4 years agodecoder_selector: Apply decoder upon pressing enter.
Uwe Hermann [Sun, 30 Jun 2019 21:04:00 +0000 (23:04 +0200)]
decoder_selector: Apply decoder upon pressing enter.

If only one decoder matches the filter, apply it when the user presses enter.

4 years agodecoder_selector: Fix an issue with PD auto-stacking.
Uwe Hermann [Sun, 30 Jun 2019 18:04:00 +0000 (20:04 +0200)]
decoder_selector: Fix an issue with PD auto-stacking.

Before the fix, PDs with common prefix would incorrectly be found as
a match. Example: Both "spi" and "spiflash" would be considered valid
candidates when looking for PDs which emit "spi" OUTPUT_PYTHON output.

4 years agodecoder_selector: Expand "All Decoders" if the user filtered
Uwe Hermann [Sat, 29 Jun 2019 20:58:13 +0000 (22:58 +0200)]
decoder_selector: Expand "All Decoders" if the user filtered

4 years agodecoder_selector: Auto-place the keyboard cursor in the filter.
Uwe Hermann [Sat, 29 Jun 2019 18:59:32 +0000 (20:59 +0200)]
decoder_selector: Auto-place the keyboard cursor in the filter.

4 years agoSession: Use a monotonic clock to measure acquisition time.
Tilman Sauerbeck [Sat, 4 May 2019 19:14:24 +0000 (21:14 +0200)]
Session: Use a monotonic clock to measure acquisition time.

4 years agoSession: Print duration of last acquisition only.
Tilman Sauerbeck [Sat, 4 May 2019 19:11:08 +0000 (21:11 +0200)]
Session: Print duration of last acquisition only.

This resets the timer at the start of a new acquisition.

4 years agoStyle fixes
Soeren Apel [Mon, 22 Apr 2019 13:39:13 +0000 (15:39 +0200)]
Style fixes