]> sigrok.org Git - pulseview.git/log
pulseview.git
4 years agoTabularDecView: Some fixes and refactorings
Soeren Apel [Sun, 24 May 2020 17:23:32 +0000 (19:23 +0200)]
TabularDecView: Some fixes and refactorings

4 years 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

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

4 years 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".

4 years 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.

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

4 years 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

4 years 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.

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

4 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

4 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

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

4 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

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

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

4 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

4 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

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

4 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

4 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

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

4 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

4 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

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

4 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

4 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

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

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

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

4 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.

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

4 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

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

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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

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

4 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

4 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.

4 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 <redacted>
4 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!

4 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.

4 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.

4 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.

4 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.

4 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

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

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

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

4 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

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

4 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

4 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

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

4 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

4 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.

4 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.

4 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.

4 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.

4 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

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

4 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

4 years agoQHexView: Change background of hex digit header
Soeren Apel [Thu, 6 Feb 2020 08:27:24 +0000 (09:27 +0100)]
QHexView: Change background of hex digit header

4 years agoGlobalSettings: Use auto-detected language immediately
Soeren Apel [Sun, 2 Feb 2020 09:48:02 +0000 (10:48 +0100)]
GlobalSettings: Use auto-detected language immediately

Without this, the auto-detected language only takes effect
after a restart of PV, even though the language selector
shows that language already.

4 years agoDecodeTrace: Allow row hiding
Soeren Apel [Sat, 1 Feb 2020 20:59:50 +0000 (21:59 +0100)]
DecodeTrace: Allow row hiding

4 years agoDecodeTrace: Always show row if its class selector is showing
Soeren Apel [Fri, 31 Jan 2020 18:26:22 +0000 (19:26 +0100)]
DecodeTrace: Always show row if its class selector is showing

4 years agoUpdate translation
Soeren Apel [Fri, 31 Jan 2020 08:40:23 +0000 (09:40 +0100)]
Update translation

4 years agoDecodeTrace: Add "%c" to the format string
Soeren Apel [Thu, 30 Jan 2020 19:39:20 +0000 (20:39 +0100)]
DecodeTrace: Add "%c" to the format string

4 years agoFix an undesired side-effect of 3d6ff1cd
Soeren Apel [Thu, 30 Jan 2020 08:08:18 +0000 (09:08 +0100)]
Fix an undesired side-effect of 3d6ff1cd

4 years agoFix #1457 by adding markers, cursors and zero offset to session setup
Soeren Apel [Mon, 27 Jan 2020 16:50:38 +0000 (17:50 +0100)]
Fix #1457 by adding markers, cursors and zero offset to session setup

4 years agoFix build
Soeren Apel [Sat, 25 Jan 2020 22:51:39 +0000 (23:51 +0100)]
Fix build

4 years agoUpdate translation
Soeren Apel [Sat, 25 Jan 2020 22:50:07 +0000 (23:50 +0100)]
Update translation

4 years agoFix various focus- and hotkey-related issues
Soeren Apel [Sat, 25 Jan 2020 22:47:31 +0000 (23:47 +0100)]
Fix various focus- and hotkey-related issues

Also, the hotkeys '1' and '2' now show the cursor if it was hidden.

4 years agoRework channel selection popup
jaseg [Thu, 23 Jan 2020 08:28:52 +0000 (09:28 +0100)]
Rework channel selection popup

Change the channel selection popup to make select-multiple more
intuitive.

* Show select all/none buttons per group
* Show select all/none buttons per row of 8 channels

https://github.com/sigrokproject/pulseview/pull/18

4 years agonsis: Ship Python stdlib *.pyd files.
Uwe Hermann [Wed, 22 Jan 2020 21:55:39 +0000 (22:55 +0100)]
nsis: Ship Python stdlib *.pyd files.

This fixes bug #1409.

4 years agoUpdate translation
Soeren Apel [Sun, 19 Jan 2020 15:53:43 +0000 (16:53 +0100)]
Update translation

4 years agoTraceView: Add shortcuts for attaching the cursor edges to the mouse
Miklos Marton [Sun, 19 Jan 2020 15:40:47 +0000 (16:40 +0100)]
TraceView: Add shortcuts for attaching the cursor edges to the mouse

See https://github.com/sigrokproject/pulseview/pull/19

4 years agoFix #1290 by allowing the cursor to show samples
Soeren Apel [Sun, 19 Jan 2020 13:14:43 +0000 (14:14 +0100)]
Fix #1290 by allowing the cursor to show samples

4 years agoTraceView: Add context menu to the cursor
Miklos Marton [Sun, 19 Jan 2020 12:16:15 +0000 (13:16 +0100)]
TraceView: Add context menu to the cursor

See https://github.com/sigrokproject/pulseview/pull/15

4 years agoDecodeTrace: Add buttons to show/hide all classes in a row
Soeren Apel [Sat, 18 Jan 2020 23:10:35 +0000 (00:10 +0100)]
DecodeTrace: Add buttons to show/hide all classes in a row

4 years agoTraceView: Fix still-highlighted trace after closing popup
Soeren Apel [Sat, 18 Jan 2020 22:01:15 +0000 (23:01 +0100)]
TraceView: Fix still-highlighted trace after closing popup

4 years agoHexView: Don't send out an extra byte when exporting all data
Soeren Apel [Tue, 14 Jan 2020 18:04:34 +0000 (19:04 +0100)]
HexView: Don't send out an extra byte when exporting all data

4 years agoHexView: Add top row with offsets
Soeren Apel [Tue, 14 Jan 2020 17:37:29 +0000 (18:37 +0100)]
HexView: Add top row with offsets

4 years agoINSTALL: Drop currently unused/experimental requirement.
Uwe Hermann [Sat, 18 Jan 2020 13:23:10 +0000 (14:23 +0100)]
INSTALL: Drop currently unused/experimental requirement.

4 years agoINSTALL: Mention new Qt5LinguistTools requirement.
Uwe Hermann [Sat, 18 Jan 2020 13:22:14 +0000 (14:22 +0100)]
INSTALL: Mention new Qt5LinguistTools requirement.

4 years agocmake: avoid redundant source list in Android lib vs executable check
user [Tue, 14 Jan 2020 17:42:02 +0000 (18:42 +0100)]
cmake: avoid redundant source list in Android lib vs executable check

Factor out a common list of input files (sources, and resources) in
the conditional instructions which either build a shared object or an
executable from the same list of input files.

4 years agocmake: don't mangle in-source .qrc file
user [Tue, 14 Jan 2020 17:29:30 +0000 (18:29 +0100)]
cmake: don't mangle in-source .qrc file

Only copy the .qrc file for out-of-source builds. For in-source builds
the file is already present, and not touching it avoids data loss.

4 years agoTranslations: Fix OOT build
Soeren Apel [Sun, 12 Jan 2020 19:35:47 +0000 (20:35 +0100)]
Translations: Fix OOT build

4 years agoTranslation update
Soeren Apel [Sun, 12 Jan 2020 15:19:25 +0000 (16:19 +0100)]
Translation update

4 years agoTranslations: Use Qt translations
Soeren Apel [Sun, 12 Jan 2020 13:02:10 +0000 (14:02 +0100)]
Translations: Use Qt translations

4 years agoTranslations: Include improvements from Uwe
Soeren Apel [Sun, 12 Jan 2020 13:00:55 +0000 (14:00 +0100)]
Translations: Include improvements from Uwe

4 years agoRefine translatable sentences and translate to German
Soeren Apel [Wed, 13 Nov 2019 20:56:34 +0000 (21:56 +0100)]
Refine translatable sentences and translate to German

4 years agoAdd language chooser widget and handling
Soeren Apel [Mon, 11 Nov 2019 20:18:42 +0000 (21:18 +0100)]
Add language chooser widget and handling

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