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

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

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

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

13 days 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

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

13 days 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

13 days 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

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

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

5 weeks 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.

5 weeks 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.

5 weeks 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.

6 weeks 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.

6 weeks 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

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

7 weeks 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

7 weeks 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

8 weeks 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.

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

8 weeks 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

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

8 weeks 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

8 weeks 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

2 months 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

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

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

2 months 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.

2 months 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

2 months 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.

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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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.

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

2 months 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.

2 months 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.

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

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

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

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

2 months 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

2 months 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

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

2 months 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.

2 months 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

2 months 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"

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

2 months 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

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

2 months 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

2 months 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

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

2 months 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.

2 months 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
2 months agoRowData: Include fix
Soeren Apel [Sun, 5 Jan 2020 23:29:45 +0000 (00:29 +0100)]
RowData: Include fix

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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

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

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

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

2 months 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

2 months 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

2 months agoRework decoder infrastructure
Soeren Apel [Tue, 24 Dec 2019 22:13:03 +0000 (23:13 +0100)]
Rework decoder infrastructure

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

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

2 months 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

3 months 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.

3 months 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

3 months 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

3 months 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

3 months 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

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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

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

3 months 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

3 months 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

3 months 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

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

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

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

3 months 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

3 months 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

3 months 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.

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

3 months 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