]> sigrok.org Git - pulseview.git/log
pulseview.git
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

4 years agoIgnore touch events generated by a TrackPad.
Scott Shawcroft [Sun, 12 Jan 2020 20:10:39 +0000 (12:10 -0800)]
Ignore touch events generated by a TrackPad.

This improves two finger drag trackpad zooming and panning on a
Macbook Pro immensely because it used to redraw every touch event.
This change makes it rely on the mouse wheel events instead.

Pinch-to-zoom no longer works. Two finger drag up and down is an
alternative.

This fixes bug #1056.

4 years agoFix #1488 by clearing the labels when categories are clicked
Soeren Apel [Sat, 11 Jan 2020 23:12:58 +0000 (00:12 +0100)]
Fix #1488 by clearing the labels when categories are clicked

4 years agoDecoderOutputView: Change caption "complete" to "canonical"
Soeren Apel [Sat, 11 Jan 2020 21:32:44 +0000 (22:32 +0100)]
DecoderOutputView: Change caption "complete" to "canonical"

4 years agoMainWindow: Remove QSignalMapper usage
Soeren Apel [Sat, 11 Jan 2020 21:24:23 +0000 (22:24 +0100)]
MainWindow: Remove QSignalMapper usage

4 years agoFix #1448 by using different captions for the Run button
Soeren Apel [Fri, 10 Jan 2020 22:01:18 +0000 (23:01 +0100)]
Fix #1448 by using different captions for the Run button

4 years agoMinor decode refactorizations
Soeren Apel [Fri, 10 Jan 2020 21:19:57 +0000 (22:19 +0100)]
Minor decode refactorizations

4 years agoSignalBase: Fix display_name() for empty internal names
Soeren Apel [Wed, 8 Jan 2020 21:41:57 +0000 (22:41 +0100)]
SignalBase: Fix display_name() for empty internal names

4 years agoDecodeSignal: Save/restore row and column visibilities
Soeren Apel [Wed, 8 Jan 2020 21:26:25 +0000 (22:26 +0100)]
DecodeSignal: Save/restore row and column visibilities

4 years agoclang-tidy and clazy proposals
Soeren Apel [Mon, 6 Jan 2020 20:22:31 +0000 (21:22 +0100)]
clang-tidy and clazy proposals

4 years agomanual: Add double-quotes around wget URLs.
Uwe Hermann [Mon, 6 Jan 2020 19:50:04 +0000 (20:50 +0100)]
manual: Add double-quotes around wget URLs.

This will do the right thing for both the PDF and HMTL manual.

Without the double-quotes, copy-pasting the command-line invocations
will not work as expected.

4 years agomanual: fix command line word order for wget downloads
Gerhard Sittig [Mon, 6 Jan 2020 19:09:37 +0000 (20:09 +0100)]
manual: fix command line word order for wget downloads

It's good tradition to put options right after the command name, and
list positional arguments after the list of options. Putting options
late only works by coincidence and trains bad habits. Adjust the wget
command lines accordingly.

Reported-By: Peter Mortensen via IRC
4 years agoRowData: Include fix
Soeren Apel [Sun, 5 Jan 2020 23:29:45 +0000 (00:29 +0100)]
RowData: Include fix

4 years agoRow: Include fix
Soeren Apel [Sun, 5 Jan 2020 23:15:10 +0000 (00:15 +0100)]
Row: Include fix

4 years agoDecodeTrace: Disallow row hiding for the time being
Soeren Apel [Sun, 5 Jan 2020 19:48:13 +0000 (20:48 +0100)]
DecodeTrace: Disallow row hiding for the time being

4 years agoDecodeTrace: Add FlowLayout and integrate it
Soeren Apel [Sun, 5 Jan 2020 19:44:37 +0000 (20:44 +0100)]
DecodeTrace: Add FlowLayout and integrate it

4 years agoDecodeTrace: Add class color to selector checkboxes
Soeren Apel [Sat, 4 Jan 2020 19:05:12 +0000 (20:05 +0100)]
DecodeTrace: Add class color to selector checkboxes

4 years agoDecodeTrace: Calculate row and annotation colors only once
Soeren Apel [Sat, 4 Jan 2020 18:10:52 +0000 (19:10 +0100)]
DecodeTrace: Calculate row and annotation colors only once

4 years agoDecodeTrace: Add profiling and some optimizations
Soeren Apel [Wed, 1 Jan 2020 18:08:25 +0000 (19:08 +0100)]
DecodeTrace: Add profiling and some optimizations

4 years agoRename Decoder::shown() and such
Soeren Apel [Wed, 1 Jan 2020 14:56:28 +0000 (15:56 +0100)]
Rename Decoder::shown() and such

4 years agoFix some DecodeTrace UI issues
Soeren Apel [Wed, 1 Jan 2020 09:15:57 +0000 (10:15 +0100)]
Fix some DecodeTrace UI issues

4 years agoDecodeTrace: Fix some UI bugs
Soeren Apel [Tue, 31 Dec 2019 15:36:12 +0000 (16:36 +0100)]
DecodeTrace: Fix some UI bugs

4 years agoDecodeTrace: Highlight row expand markers when a class is hidden
Soeren Apel [Mon, 30 Dec 2019 18:15:31 +0000 (19:15 +0100)]
DecodeTrace: Highlight row expand markers when a class is hidden

4 years agoDecodeSignal: Warn when the annotation class is invalid
Soeren Apel [Mon, 30 Dec 2019 17:22:50 +0000 (18:22 +0100)]
DecodeSignal: Warn when the annotation class is invalid

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