pulseview.git
20 months agoImplement MathSignal
Soeren Apel [Tue, 11 Aug 2020 17:51:15 +0000 (19:51 +0200)]
Implement MathSignal

20 months agoDevice binding: Notify user when a config option is ignored
Soeren Apel [Tue, 4 Aug 2020 07:30:29 +0000 (09:30 +0200)]
Device binding: Notify user when a config option is ignored

21 months agoIntroduce math signals
Soeren Apel [Sun, 2 Aug 2020 15:48:58 +0000 (17:48 +0200)]
Introduce math signals

21 months agoSignalBase: Don't check for signal types, check based on data
Soeren Apel [Sun, 2 Aug 2020 15:49:39 +0000 (17:49 +0200)]
SignalBase: Don't check for signal types, check based on data

21 months agoDecodeSignal: Fix typo
Soeren Apel [Fri, 31 Jul 2020 22:03:13 +0000 (00:03 +0200)]
DecodeSignal: Fix typo

21 months agoSettings: Add SIGROKDECODE_DIR notice so that users are aware
Soeren Apel [Sun, 19 Jul 2020 14:15:42 +0000 (16:15 +0200)]
Settings: Add SIGROKDECODE_DIR notice so that users are aware

22 months agoRename es_mx.ts to es_MX.ts to follow the Qt spec
Soeren Apel [Thu, 16 Jul 2020 21:23:49 +0000 (23:23 +0200)]
Rename es_mx.ts to es_MX.ts to follow the Qt spec

https://doc.qt.io/qt-5/qlocale.html#QLocale-1

22 months agopv/util.hpp: Workaround for a Boost::serialization / clang++-10 issue.
Uwe Hermann [Thu, 16 Jul 2020 20:39:34 +0000 (22:39 +0200)]
pv/util.hpp: Workaround for a Boost::serialization / clang++-10 issue.

22 months agoFix #1567 by showing a custom text for the minimum range's value
Soeren Apel [Mon, 13 Jul 2020 12:01:12 +0000 (14:01 +0200)]
Fix #1567 by showing a custom text for the minimum range's value

22 months agoAllow setting a frame limit
Valentin Ochs [Sat, 27 Jun 2020 20:54:24 +0000 (22:54 +0200)]
Allow setting a frame limit

22 months agoTabularDecView: Fix some UI issues
Soeren Apel [Sat, 11 Jul 2020 20:28:11 +0000 (22:28 +0200)]
TabularDecView: Fix some UI issues

1) Window didn't immediately show when signal color was changed
2) Removing a PD and adding another caused the window to stay empty
forever if "hide hidden" was enabled
3) Changing the PD showed the previous PD's content in the window
until the mouse cursor moved into the main trace view to cause a
repaint

22 months agoDecodeSignal: Don't use exceptions for regular program flow
Soeren Apel [Fri, 3 Jul 2020 13:45:30 +0000 (15:45 +0200)]
DecodeSignal: Don't use exceptions for regular program flow

Doing so makes debugging exceptions more difficult.

22 months agoTabularDecView: Prevent a race condition
Soeren Apel [Fri, 3 Jul 2020 13:43:51 +0000 (15:43 +0200)]
TabularDecView: Prevent a race condition

When it occurs, section is -1 and we'd throw an exception.
Catch the case instead and simply ignore it.

22 months agoUpdate German translation
Soeren Apel [Sat, 27 Jun 2020 12:15:16 +0000 (14:15 +0200)]
Update German translation

22 months agoInclude translations and editors in about dialog
Soeren Apel [Thu, 2 Jul 2020 19:48:34 +0000 (21:48 +0200)]
Include translations and editors in about dialog

22 months agoRename translation and add it to resource file
Soeren Apel [Thu, 2 Jul 2020 19:36:26 +0000 (21:36 +0200)]
Rename translation and add it to resource file

22 months agoFinish Spanish (Mexico) translation
C47D [Mon, 29 Jun 2020 23:46:44 +0000 (18:46 -0500)]
Finish Spanish (Mexico) translation

22 months agoStart Spanish (Mexico) translation
Carlos Diaz [Mon, 13 Apr 2020 13:44:43 +0000 (08:44 -0500)]
Start Spanish (Mexico) translation

22 months agoUpdate German translation
Soeren Apel [Fri, 26 Jun 2020 17:29:26 +0000 (19:29 +0200)]
Update German translation

22 months agoFix #1183 by adding a workaround for srzip handling
Soeren Apel [Thu, 25 Jun 2020 22:06:25 +0000 (00:06 +0200)]
Fix #1183 by adding a workaround for srzip handling

22 months agoMainBar: Make sure session save path is reset on non-srzip save
Soeren Apel [Thu, 25 Jun 2020 18:26:47 +0000 (20:26 +0200)]
MainBar: Make sure session save path is reset on non-srzip save

22 months agoAdd a new action to save to the last .sr file, and use it for control-S saving
Valentin Ochs [Sat, 13 Jun 2020 17:23:49 +0000 (19:23 +0200)]
Add a new action to save to the last .sr file, and use it for control-S saving

22 months agoTabularDecView: Try to handle a race condition in the model
Soeren Apel [Tue, 23 Jun 2020 18:31:10 +0000 (20:31 +0200)]
TabularDecView: Try to handle a race condition in the model

22 months agoReplace obsolete/deprecated Qt methods
Valentin Ochs [Sat, 20 Jun 2020 14:01:27 +0000 (16:01 +0200)]
Replace obsolete/deprecated Qt methods

22 months agoDecodeTrace: Don't start hidden_row_hider inbetween rows
Soeren Apel [Wed, 10 Jun 2020 23:09:13 +0000 (01:09 +0200)]
DecodeTrace: Don't start hidden_row_hider inbetween rows

22 months agoTabularDecView: Allow return/enter press and don't change scale
Soeren Apel [Wed, 10 Jun 2020 22:51:17 +0000 (00:51 +0200)]
TabularDecView: Allow return/enter press and don't change scale

23 months agoDecodeSignal: Ignore decode signals when restoring channel assignment
Soeren Apel [Tue, 9 Jun 2020 09:11:36 +0000 (11:11 +0200)]
DecodeSignal: Ignore decode signals when restoring channel assignment

23 months agoMinor whitespace fixes.
Uwe Hermann [Sun, 31 May 2020 17:30:49 +0000 (19:30 +0200)]
Minor whitespace fixes.

Avoid three consecutive newlines (two are OK and intentionally used in
some places for visual spacing).

23 months agoFix #1557 by adding a "safe mode" to the installer
Soeren Apel [Mon, 8 Jun 2020 19:46:45 +0000 (21:46 +0200)]
Fix #1557 by adding a "safe mode" to the installer

23 months agoTabularDecView: Model fixes
Soeren Apel [Mon, 8 Jun 2020 19:44:27 +0000 (21:44 +0200)]
TabularDecView: Model fixes

23 months agoFix #1549 by notifying user of wrong input parameter names
Soeren Apel [Fri, 29 May 2020 19:24:34 +0000 (21:24 +0200)]
Fix #1549 by notifying user of wrong input parameter names

23 months agoFix MetadataObjMainViewRange handling when main view is resized
Soeren Apel [Sun, 24 May 2020 21:03:27 +0000 (23:03 +0200)]
Fix MetadataObjMainViewRange handling when main view is resized

23 months agoTabularDecView: Some fixes and refactorings
Soeren Apel [Sun, 24 May 2020 17:23:32 +0000 (19:23 +0200)]
TabularDecView: Some fixes and refactorings

23 months agoMake sure get_time_extents() uses a signal that data was acquired for
Soeren Apel [Fri, 22 May 2020 22:05:12 +0000 (00:05 +0200)]
Make sure get_time_extents() uses a signal that data was acquired for

23 months agoFix view setting restoration
Soeren Apel [Sat, 16 May 2020 21:46:02 +0000 (23:46 +0200)]
Fix view setting restoration

23 months agoMake the analog value voltage display more sane
Soeren Apel [Thu, 21 May 2020 21:13:01 +0000 (23:13 +0200)]
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".

23 months agoFix a few #include guard inconsistencies.
Uwe Hermann [Thu, 21 May 2020 21:35:45 +0000 (23:35 +0200)]
Fix a few #include guard inconsistencies.

23 months agoFix a compiler warning
Soeren Apel [Sun, 17 May 2020 11:56:12 +0000 (13:56 +0200)]
Fix a compiler warning

23 months agoFix compile issues with some compiler versions
Soeren Apel [Thu, 21 May 2020 20:29:30 +0000 (22:29 +0200)]
Fix compile issues with some compiler versions

23 months agoTabularDecView: Fix model issues and improve ViewModeVisible
Soeren Apel [Wed, 13 May 2020 15:17:50 +0000 (17:17 +0200)]
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.

2 years agorowdata.hpp: Minor indentation fixes.
Uwe Hermann [Mon, 11 May 2020 20:17:41 +0000 (22:17 +0200)]
rowdata.hpp: Minor indentation fixes.

2 years agoSignalBase: Add SignalGroup class and handling
Soeren Apel [Thu, 7 May 2020 20:26:14 +0000 (22:26 +0200)]
SignalBase: Add SignalGroup class and handling

2 years agoQHexView: Only use as many digits for the address as needed
Soeren Apel [Tue, 5 May 2020 22:02:38 +0000 (00:02 +0200)]
QHexView: Only use as many digits for the address as needed

2 years agoFix some signal/slot bugs
Soeren Apel [Tue, 5 May 2020 19:44:00 +0000 (21:44 +0200)]
Fix some signal/slot bugs

2 years agoContinue reworking the channel/signal handling
Soeren Apel [Tue, 5 May 2020 18:27:00 +0000 (20:27 +0200)]
Continue reworking the channel/signal handling

2 years agoPrepare for generated signals
Soeren Apel [Tue, 5 May 2020 18:26:05 +0000 (20:26 +0200)]
Prepare for generated signals

2 years agoRefactor channel/signal handling
Soeren Apel [Tue, 5 May 2020 17:14:18 +0000 (19:14 +0200)]
Refactor channel/signal handling

2 years agoTraceView: Don't use unordered sets and maps
Soeren Apel [Sun, 8 Mar 2020 09:39:06 +0000 (10:39 +0100)]
TraceView: Don't use unordered sets and maps

2 years agoUse shared_ptr for async samples_added() notification
Soeren Apel [Thu, 5 Mar 2020 20:54:15 +0000 (21:54 +0100)]
Use shared_ptr for async samples_added() notification

2 years agoRework signals for modularity
Soeren Apel [Tue, 5 May 2020 16:39:25 +0000 (18:39 +0200)]
Rework signals for modularity

2 years agoAdd SignalBase::clear_sample_data() and local samplerate values
Soeren Apel [Tue, 5 May 2020 16:21:46 +0000 (18:21 +0200)]
Add SignalBase::clear_sample_data() and local samplerate values

2 years agoFix #1542 by providing std::hash<QString> implementation as needed
Soeren Apel [Tue, 5 May 2020 12:50:29 +0000 (14:50 +0200)]
Fix #1542 by providing std::hash<QString> implementation as needed

2 years agoReplace deprecated qVariantFromValue
Soeren Apel [Sun, 3 May 2020 15:10:20 +0000 (17:10 +0200)]
Replace deprecated qVariantFromValue

2 years agoFix #1540 by adding a null pointer check
Soeren Apel [Sun, 3 May 2020 10:17:38 +0000 (12:17 +0200)]
Fix #1540 by adding a null pointer check

2 years agoImplement MetadataObjMousePos and use it in the TabularDecView
Soeren Apel [Thu, 30 Apr 2020 23:11:57 +0000 (01:11 +0200)]
Implement MetadataObjMousePos and use it in the TabularDecView

2 years agoTabularDecView: Remove unnecessary stuff
Soeren Apel [Thu, 30 Apr 2020 14:06:27 +0000 (16:06 +0200)]
TabularDecView: Remove unnecessary stuff

2 years agoIntroduce DecodeSignal::annotation_visibility_changed and use it
Soeren Apel [Thu, 30 Apr 2020 14:01:56 +0000 (16:01 +0200)]
Introduce DecodeSignal::annotation_visibility_changed and use it

2 years agoImplement MainViewRange meta obj and tab_dec::ViewModeVisible
Soeren Apel [Wed, 29 Apr 2020 14:44:58 +0000 (16:44 +0200)]
Implement MainViewRange meta obj and tab_dec::ViewModeVisible

2 years agoTabularDecView: Fix invalid assert()
Soeren Apel [Wed, 29 Apr 2020 19:32:53 +0000 (21:32 +0200)]
TabularDecView: Fix invalid assert()

2 years agoAdd metadata object handling
Soeren Apel [Mon, 27 Apr 2020 09:00:36 +0000 (11:00 +0200)]
Add metadata object handling

2 years agoTabularDecView: Implement "focus on latest"
Soeren Apel [Sun, 26 Apr 2020 13:26:59 +0000 (15:26 +0200)]
TabularDecView: Implement "focus on latest"

2 years agoTabularDecView: Implement "hide hidden rows/classes" checkbox
Soeren Apel [Sat, 25 Apr 2020 22:41:43 +0000 (00:41 +0200)]
TabularDecView: Implement "hide hidden rows/classes" checkbox

Also adds the non-functional view mode selector.

2 years agoTabularDecView: Hide vertical header
Soeren Apel [Fri, 24 Apr 2020 20:00:00 +0000 (22:00 +0200)]
TabularDecView: Hide vertical header

2 years agoTabularDecModel: Fix multi-row selection issue
Soeren Apel [Thu, 23 Apr 2020 22:10:53 +0000 (00:10 +0200)]
TabularDecModel: Fix multi-row selection issue

2 years agoTabularDecView: Implement saving as CSV
Soeren Apel [Thu, 23 Apr 2020 21:00:00 +0000 (23:00 +0200)]
TabularDecView: Implement saving as CSV

2 years agoTabularDecView-related bug fixes
Soeren Apel [Thu, 23 Apr 2020 19:43:49 +0000 (21:43 +0200)]
TabularDecView-related bug fixes

2 years agoTabularDecView: Column header context menu and focus-on-double-click
Soeren Apel [Thu, 23 Apr 2020 18:20:45 +0000 (20:20 +0200)]
TabularDecView: Column header context menu and focus-on-double-click

2 years agoTabularDecView: Visually indent annotations by PD stack level
Soeren Apel [Thu, 23 Apr 2020 11:54:29 +0000 (13:54 +0200)]
TabularDecView: Visually indent annotations by PD stack level

2 years agoDecodeSignal: Sort annotations by start sample and length
Soeren Apel [Wed, 22 Apr 2020 17:56:08 +0000 (19:56 +0200)]
DecodeSignal: Sort annotations by start sample and length

2 years agoAdd row colors and some fixes
Soeren Apel [Sun, 19 Apr 2020 13:44:58 +0000 (15:44 +0200)]
Add row colors and some fixes

2 years agoMove row/annotation color management out of DecodeTrace
Soeren Apel [Sat, 18 Apr 2020 15:09:52 +0000 (17:09 +0200)]
Move row/annotation color management out of DecodeTrace

2 years agoFix #811 by using a hashed annotation text backing storage
Soeren Apel [Sat, 18 Apr 2020 07:28:33 +0000 (09:28 +0200)]
Fix #811 by using a hashed annotation text backing storage

2 years agoTabularDecView: Increase robustness
Soeren Apel [Fri, 17 Apr 2020 17:44:16 +0000 (19:44 +0200)]
TabularDecView: Increase robustness

2 years agoTabularDecView: Make the model/view work
Soeren Apel [Fri, 10 Apr 2020 11:49:52 +0000 (13:49 +0200)]
TabularDecView: Make the model/view work

2 years agoAdd tabular decoder view
Soeren Apel [Tue, 7 Apr 2020 19:12:58 +0000 (21:12 +0200)]
Add tabular decoder view

2 years agoSignal: Reorganize predefined signal names and add more
Soeren Apel [Wed, 25 Mar 2020 20:25:17 +0000 (21:25 +0100)]
Signal: Reorganize predefined signal names and add more

2 years agotests: Fix a Boost header deprecation warning.
Uwe Hermann [Sat, 2 May 2020 22:47:37 +0000 (00:47 +0200)]
tests: Fix a Boost header deprecation warning.

2 years agoAdd stacktrace support
Wolfram Sang [Fri, 17 Apr 2020 13:43:27 +0000 (15:43 +0200)]
Add stacktrace support

Use backtrace when available, otherwise the basic stacktracer.

This fixes bug #1150.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2 years agobuild: Bump libsigrokcxx requirement to >= 0.5.2.
Uwe Hermann [Sat, 4 Apr 2020 20:44:45 +0000 (22:44 +0200)]
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!

2 years agomanual: Bump date to the date of the last change.
Uwe Hermann [Tue, 31 Mar 2020 19:48:27 +0000 (21:48 +0200)]
manual: Bump date to the date of the last change.

2 years agomanpage: Update list of supported key shortcuts.
Uwe Hermann [Tue, 31 Mar 2020 19:47:34 +0000 (21:47 +0200)]
manpage: Update list of supported key shortcuts.

2 years agoINSTALL: Revert libsigrokdecode requirement to >= 0.5.2.
Uwe Hermann [Tue, 31 Mar 2020 19:34:19 +0000 (21:34 +0200)]
INSTALL: Revert libsigrokdecode requirement to >= 0.5.2.

Since e352126 PulseView will handle all libsigrokdecode >= 0.5.2
versions correctly.

2 years agoINSTALL: Drop currently unused/experimental requirement.
Uwe Hermann [Tue, 31 Mar 2020 19:33:00 +0000 (21:33 +0200)]
INSTALL: Drop currently unused/experimental requirement.

2 years agoFix #1525 by increasing the allowed unit/div range
Soeren Apel [Thu, 26 Mar 2020 22:18:32 +0000 (23:18 +0100)]
Fix #1525 by increasing the allowed unit/div range

2 years agoUpdate translation
Soeren Apel [Tue, 3 Mar 2020 22:55:35 +0000 (23:55 +0100)]
Update translation

2 years agoclang-tidy fixes
Soeren Apel [Tue, 3 Mar 2020 22:17:32 +0000 (23:17 +0100)]
clang-tidy fixes

2 years agoclazy fixes
Soeren Apel [Tue, 3 Mar 2020 21:59:25 +0000 (22:59 +0100)]
clazy fixes

2 years agoQHexView: Also check for empty chunk list
Soeren Apel [Sun, 1 Mar 2020 13:43:25 +0000 (14:43 +0100)]
QHexView: Also check for empty chunk list

2 years agoUpdate manual
Soeren Apel [Sat, 29 Feb 2020 16:29:00 +0000 (17:29 +0100)]
Update manual

2 years agoRename decoder output view to binary decoder output view
Soeren Apel [Sat, 29 Feb 2020 21:50:21 +0000 (22:50 +0100)]
Rename decoder output view to binary decoder output view

2 years agoFix #1505 by always updating the DecodeTrace height when needed
Soeren Apel [Wed, 26 Feb 2020 08:22:34 +0000 (09:22 +0100)]
Fix #1505 by always updating the DecodeTrace height when needed

2 years agoFix two small decode bugs
Soeren Apel [Thu, 27 Feb 2020 08:31:46 +0000 (09:31 +0100)]
Fix two small decode bugs

2 years agoReset Run button state when closing the last session
Soeren Apel [Wed, 26 Feb 2020 19:13:50 +0000 (20:13 +0100)]
Reset Run button state when closing the last session

2 years agoUse ordered data types for signals and use first signal as fallback
Soeren Apel [Mon, 24 Feb 2020 08:38:20 +0000 (09:38 +0100)]
Use ordered data types for signals and use first signal as fallback

...for zoom-to-fit. This is only necessary when the user has hidden
all traces but wants to use zoom-to-fit. Before, this would yield
an invalid time range.

2 years agoTraceView: Prevent decode traces from changing order
Soeren Apel [Sun, 23 Feb 2020 18:30:19 +0000 (19:30 +0100)]
TraceView: Prevent decode traces from changing order

Before, decode traces sometimes switched places when opening a
class selector because max_visible_rows was reset to 0 which
makes v_extents() return a value so small that the next decode
trace would move up.

Also, triggering the lazy event handler was changed so that it
fires even when it's triggered several times. Before, it would
always reset and only fire once, after the triggering stopped.
That is undesirable when a class selector opens.

2 years agoSession: Use ordered container to preserve DecodeTrace order
Soeren Apel [Wed, 19 Feb 2020 21:46:13 +0000 (22:46 +0100)]
Session: Use ordered container to preserve DecodeTrace order

Without this, PDs appear in random order when a session setup is restored.

2 years agoSession: Save meta objs for all views
Soeren Apel [Fri, 14 Feb 2020 07:34:36 +0000 (08:34 +0100)]
Session: Save meta objs for all views

As meta objects however can be of a global type, we do not want to
have the views do this themselves. Instead, we save which view the
object is associated with.

2 years agoDecodeTrace: Perform delayed row initialization once the owner is set
Soeren Apel [Wed, 12 Feb 2020 08:17:02 +0000 (09:17 +0100)]
DecodeTrace: Perform delayed row initialization once the owner is set

2 years agoTraceView: Implement view scroll margins
Soeren Apel [Tue, 11 Feb 2020 18:06:11 +0000 (19:06 +0100)]
TraceView: Implement view scroll margins

2 years agoDecodeTrace: Prevent user from hiding the only row
Soeren Apel [Thu, 6 Feb 2020 19:15:35 +0000 (20:15 +0100)]
DecodeTrace: Prevent user from hiding the only row