pulseview.git
8 months agoMerge RowItem() into ViewItem()
Soeren Apel [Mon, 25 Mar 2019 17:03:02 +0000 (18:03 +0100)]
Merge RowItem() into ViewItem()

8 months agoUse multiple drawLine() calls instead of drawPolyline()
Ryan Govostes [Mon, 25 Mar 2019 16:50:25 +0000 (17:50 +0100)]
Use multiple drawLine() calls instead of drawPolyline()

8 months agoFix variable naming
Soeren Apel [Wed, 20 Mar 2019 08:43:01 +0000 (09:43 +0100)]
Fix variable naming

8 months agoDisable antialiasing on high-DPI displays
Ryan Govostes [Tue, 19 Mar 2019 23:30:24 +0000 (19:30 -0400)]
Disable antialiasing on high-DPI displays

8 months agoDecoderSelector: Set alignment=top for the PD info text.
Uwe Hermann [Thu, 21 Mar 2019 22:28:26 +0000 (23:28 +0100)]
DecoderSelector: Set alignment=top for the PD info text.

8 months agoDecoderSelector: Make window as wide as necessary when opening
Soeren Apel [Tue, 19 Mar 2019 20:27:08 +0000 (21:27 +0100)]
DecoderSelector: Make window as wide as necessary when opening

8 months agoDecoderSelector: Put body label into a QScrollArea
Soeren Apel [Tue, 19 Mar 2019 09:14:12 +0000 (10:14 +0100)]
DecoderSelector: Put body label into a QScrollArea

8 months agoINSTALL: Bump libsigrokdecode requirement to >= 0.6.0.
Uwe Hermann [Sat, 16 Mar 2019 18:50:03 +0000 (19:50 +0100)]
INSTALL: Bump libsigrokdecode requirement to >= 0.6.0.

We now depend on the decoder tags feature introduced in the
libsigrokdecode 0.6.x series.

8 months agoDecoderSelector: Make first line of PD info italic too.
Uwe Hermann [Thu, 14 Mar 2019 21:25:29 +0000 (22:25 +0100)]
DecoderSelector: Make first line of PD info italic too.

8 months agoDecoderSelector: Avoid non-standard variable type.
Uwe Hermann [Thu, 14 Mar 2019 20:49:39 +0000 (21:49 +0100)]
DecoderSelector: Avoid non-standard variable type.

8 months agoDecoderSelector: Reduce indentation from 20 to 10.
Uwe Hermann [Thu, 14 Mar 2019 20:48:07 +0000 (21:48 +0100)]
DecoderSelector: Reduce indentation from 20 to 10.

This wastes a little less screen space.

8 months agoDecoderSelector: Make decoder tag names fully visible
Uwe Hermann [Thu, 14 Mar 2019 20:42:42 +0000 (21:42 +0100)]
DecoderSelector: Make decoder tag names fully visible

8 months agoDecoderSelector: Set alignment=top for the PD info text.
Uwe Hermann [Thu, 14 Mar 2019 20:40:52 +0000 (21:40 +0100)]
DecoderSelector: Set alignment=top for the PD info text.

This looks nicer if the text area is resized to be larger than the
PD info text itself.

8 months agoDecoderSelector: Make PD info text selectable.
Uwe Hermann [Thu, 14 Mar 2019 20:33:36 +0000 (21:33 +0100)]
DecoderSelector: Make PD info text selectable.

This allows for e.g. highlighting and copy-pasting.

8 months agoDecoderSelector: Allow word-wrap for PD header/footer as well.
Uwe Hermann [Thu, 14 Mar 2019 20:27:30 +0000 (21:27 +0100)]
DecoderSelector: Allow word-wrap for PD header/footer as well.

Without this, resizing would be unnecessarily limited by the header/footer
length in some cases.

8 months agoDecoderSelector: Fix catching polymorphic types by value.
Uwe Hermann [Thu, 14 Mar 2019 20:22:47 +0000 (21:22 +0100)]
DecoderSelector: Fix catching polymorphic types by value.

  [...]/pv/subwindows/decoder_selector/item.cpp: In member function ‘std::shared_ptr<pv::subwindows::decoder_selector::DecoderCollectionItem> pv::subwindows::decoder_selector::DecoderCollectionItem::subItem(int) const’:
  [...]/pv/subwindows/decoder_selector/item.cpp:44:11: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=]
    } catch (out_of_range) {
             ^~~~~~~~~~~~
  [...]/pv/subwindows/decoder_selector/item.cpp: In member function ‘QVariant pv::subwindows::decoder_selector::DecoderCollectionItem::data(int) const’:
  [...]/pv/subwindows/decoder_selector/item.cpp:88:11: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=]
    } catch (out_of_range) {
             ^~~~~~~~~~~~

8 months agoFix build without decoders enabled
Soeren Apel [Thu, 14 Mar 2019 21:45:03 +0000 (22:45 +0100)]
Fix build without decoders enabled

8 months agoDecoderSelector: Use srd_decoder_get_by_id()
Soeren Apel [Thu, 14 Mar 2019 18:50:24 +0000 (19:50 +0100)]
DecoderSelector: Use srd_decoder_get_by_id()

8 months agoDecoderSelector: Make PD names italic
Soeren Apel [Thu, 14 Mar 2019 18:47:02 +0000 (19:47 +0100)]
DecoderSelector: Make PD names italic

8 months agoDecoderSelector: Properly name utility methods
Soeren Apel [Thu, 14 Mar 2019 11:31:16 +0000 (12:31 +0100)]
DecoderSelector: Properly name utility methods

8 months agoDecoderSelector: Rework GSList usage to remove unnecessary list copying
Soeren Apel [Thu, 14 Mar 2019 11:24:04 +0000 (12:24 +0100)]
DecoderSelector: Rework GSList usage to remove unnecessary list copying

8 months agoManual: Add session save/restore, PD selector dialog
Soeren Apel [Thu, 14 Mar 2019 11:08:44 +0000 (12:08 +0100)]
Manual: Add session save/restore, PD selector dialog

9 months agoViewBase: Add missing constructor call
Soeren Apel [Mon, 11 Mar 2019 16:55:44 +0000 (17:55 +0100)]
ViewBase: Add missing constructor call

9 months agoDecoderSelector: Implement filtering
Soeren Apel [Sun, 10 Mar 2019 19:11:48 +0000 (20:11 +0100)]
DecoderSelector: Implement filtering

9 months agoDecoderSelector: Use proxy model to permit sorting
Soeren Apel [Sun, 10 Mar 2019 10:39:32 +0000 (11:39 +0100)]
DecoderSelector: Use proxy model to permit sorting

9 months agoDecodeSelector: Use custom treeview to hook into selection changes
Soeren Apel [Sun, 10 Mar 2019 10:23:04 +0000 (11:23 +0100)]
DecodeSelector: Use custom treeview to hook into selection changes

9 months agoFix #1309 by adding a PD info box
Soeren Apel [Sun, 10 Mar 2019 10:07:33 +0000 (11:07 +0100)]
Fix #1309 by adding a PD info box

9 months agoDecodeSignal: Use name of last stacked PD unless the name was changed
Soeren Apel [Sun, 10 Mar 2019 09:43:22 +0000 (10:43 +0100)]
DecodeSignal: Use name of last stacked PD unless the name was changed

9 months agoFix #1147 by implementing decoder selector subwindow
Soeren Apel [Sat, 9 Mar 2019 15:29:10 +0000 (16:29 +0100)]
Fix #1147 by implementing decoder selector subwindow

9 months agoviews: Increase precision on analog views
chrysn [Thu, 29 Nov 2018 12:36:27 +0000 (13:36 +0100)]
views: Increase precision on analog views

Closes #1335.

9 months agoAuto-load session setups if they exist and auto-save them if desired
Soeren Apel [Sun, 24 Feb 2019 14:20:24 +0000 (15:20 +0100)]
Auto-load session setups if they exist and auto-save them if desired

9 months agoFix #971: Allow saving/restoring of session setups
Soeren Apel [Sat, 23 Feb 2019 13:33:22 +0000 (14:33 +0100)]
Fix #971: Allow saving/restoring of session setups

9 months agoFix #1338 ("show time zero at the trigger" option)
Soeren Apel [Wed, 20 Feb 2019 08:40:42 +0000 (09:40 +0100)]
Fix #1338 ("show time zero at the trigger" option)

Before, successive runs were shifting the zero point for no valid reason
and markers created on the ruler/trace used the wrong time and thus
showed up at the wrong location.

9 months agoCMakeLists.txt: create NSIS file in binary directory not source
Gerhard Sittig [Thu, 10 Jan 2019 19:30:24 +0000 (20:30 +0100)]
CMakeLists.txt: create NSIS file in binary directory not source

The sigrok-util scripts (mingw and msys2) expect the pulseview_cross.nsi
file in the build directory, and it's good tradition to not write into
the source directory during build. Adjust the configure_file() call.

9 months agomainbar: fix build without libsigrokdecode
Bartosz Golaszewski [Mon, 3 Dec 2018 14:35:35 +0000 (15:35 +0100)]
mainbar: fix build without libsigrokdecode

We must not include decodesignal.hpp if we're not using libsigrokdecode
or the build will fail due to libsigrokdecode.hpp not being present in
the system.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
10 months agoSession: Enable logic data acquisition using gstreamer
Soeren Apel [Sat, 29 Dec 2018 21:58:57 +0000 (22:58 +0100)]
Session: Enable logic data acquisition using gstreamer

For now, reading data from /tmp/dummy_binary

11 months agoCMakeLists.txt: Set ENABLE_FLOW to FALSE by default.
Uwe Hermann [Thu, 10 Jan 2019 01:32:51 +0000 (02:32 +0100)]
CMakeLists.txt: Set ENABLE_FLOW to FALSE by default.

11 months agoflow: Call Srf::init() early in main().
Uwe Hermann [Thu, 10 Jan 2019 01:27:09 +0000 (02:27 +0100)]
flow: Call Srf::init() early in main().

11 months agoRename ENABLE_GSTREAMERMM to ENABLE_FLOW.
Uwe Hermann [Thu, 10 Jan 2019 01:26:18 +0000 (02:26 +0100)]
Rename ENABLE_GSTREAMERMM to ENABLE_FLOW.

11 months agoAdd libsigrokflow build system integration.
Uwe Hermann [Sat, 29 Dec 2018 17:21:19 +0000 (18:21 +0100)]
Add libsigrokflow build system integration.

11 months agoAdd ENABLE_GSTREAMERMM, make gstreamermm support optional.
Uwe Hermann [Fri, 28 Dec 2018 18:14:16 +0000 (19:14 +0100)]
Add ENABLE_GSTREAMERMM, make gstreamermm support optional.

11 months agoAdd new dependency: libgstreamermm >= 1.8.0.
Uwe Hermann [Fri, 28 Dec 2018 18:10:41 +0000 (19:10 +0100)]
Add new dependency: libgstreamermm >= 1.8.0.

Also, initialize gstreamermm in main().

11 months agoConnect dialog: add baud rate combobox for serial ports
Soeren Apel [Sat, 29 Dec 2018 09:32:56 +0000 (10:32 +0100)]
Connect dialog: add baud rate combobox for serial ports

11 months agoDon't use QMessageBox::setInformativeText()
Soeren Apel [Thu, 27 Dec 2018 20:22:15 +0000 (21:22 +0100)]
Don't use QMessageBox::setInformativeText()

When using it, the extended error message text is not reliably appended
to the dialog text.

11 months agoAbort acquisition if there are more than 64 logic channels
Soeren Apel [Thu, 27 Dec 2018 20:17:48 +0000 (21:17 +0100)]
Abort acquisition if there are more than 64 logic channels

12 months agologicsegment.cpp: Minor whitespace fix.
Uwe Hermann [Wed, 5 Dec 2018 21:23:47 +0000 (22:23 +0100)]
logicsegment.cpp: Minor whitespace fix.

12 months agocmake: Don't do a QUIET search for libsigrokcxx
Alexandru Gagniuc [Wed, 28 Nov 2018 20:36:37 +0000 (14:36 -0600)]
cmake: Don't do a QUIET search for libsigrokcxx

libsigrokcxx is the most important dependency. A QUIET search means we
can miss important information, such as a version mismatch, and the
"libsigrokcxx not found" message is not at all helpful in determining
the cause of the problem.

13 months agomanual: Bump date.
Uwe Hermann [Mon, 29 Oct 2018 10:26:51 +0000 (11:26 +0100)]
manual: Bump date.

13 months agoINSTALL: Mention both asciidoctor and asciidoctor-pdf.
Uwe Hermann [Mon, 29 Oct 2018 09:10:34 +0000 (10:10 +0100)]
INSTALL: Mention both asciidoctor and asciidoctor-pdf.

13 months agoUse more specific libsigrokcxx/libsigrokdecode minimum versions.
Uwe Hermann [Mon, 29 Oct 2018 09:03:35 +0000 (10:03 +0100)]
Use more specific libsigrokcxx/libsigrokdecode minimum versions.

We require libsigrokcxx >= 0.5.1 e.g. due to Analog::get_logic_via_threshold(),
and libsigrokdecode >= 0.5.2 due to e.g. srd_log_callback_get().

13 months agoRuler: Fix context menu for items on the ruler
Soeren Apel [Sun, 28 Oct 2018 22:26:25 +0000 (23:26 +0100)]
Ruler: Fix context menu for items on the ruler

13 months agoInstaller: Add links to manual
Soeren Apel [Sun, 28 Oct 2018 22:11:52 +0000 (23:11 +0100)]
Installer: Add links to manual

13 months agoINSTALL: Mention optional libboost-stacktrace.
Uwe Hermann [Sun, 28 Oct 2018 21:46:30 +0000 (22:46 +0100)]
INSTALL: Mention optional libboost-stacktrace.

13 months agomanual: allow manual conversion without source builds
Gerhard Sittig [Sun, 28 Oct 2018 21:15:49 +0000 (22:15 +0100)]
manual: allow manual conversion without source builds

Add a cmake_minimum_required() directive to the manual/ subdir's CMake
rules, such that the documentation can get built without involving the
application and its build dependencies.

13 months agoSignalBase: Make sure an invalid color isn't shown as "white"
Soeren Apel [Sun, 28 Oct 2018 19:27:07 +0000 (20:27 +0100)]
SignalBase: Make sure an invalid color isn't shown as "white"

While the color technically is black and not white, an alpha
value of 0 makes it appear as white.

13 months agoManual: Adjust wording
Soeren Apel [Sun, 28 Oct 2018 18:20:50 +0000 (19:20 +0100)]
Manual: Adjust wording

13 months agoINSTALL: Update instructions for building the manual.
Uwe Hermann [Sat, 27 Oct 2018 19:43:41 +0000 (21:43 +0200)]
INSTALL: Update instructions for building the manual.

13 months agomanual: Rename pulseview_manual.* to manual.*.
Uwe Hermann [Sat, 27 Oct 2018 19:38:49 +0000 (21:38 +0200)]
manual: Rename pulseview_manual.* to manual.*.

13 months agomanual: link from decoder troubleshooting to sigrok FAQ item
Gerhard Sittig [Thu, 25 Oct 2018 18:22:39 +0000 (20:22 +0200)]
manual: link from decoder troubleshooting to sigrok FAQ item

13 months agomanual: expand the protocol decoder troubleshooting subsection
Gerhard Sittig [Thu, 25 Oct 2018 17:26:27 +0000 (19:26 +0200)]
manual: expand the protocol decoder troubleshooting subsection

Expand the discussion that timing information is not required or
optional to some decoders, but essential to others (because of the very
protocol that gets interpreted). Mention that some oversampling is
typically required. Don't suggest that PD exceptions must be bugs,
incomplete configuration may be even more typical.

Separate the "you can ..." introduction from the first check list item,
to increase visibility of the entry. Existing text was not re-flown, to
reduce the diff size.

13 months agomanual: remove the generate script, got obsoleted by CMake rules
Gerhard Sittig [Sun, 14 Oct 2018 15:33:51 +0000 (17:33 +0200)]
manual: remove the generate script, got obsoleted by CMake rules

Instead of running the manual/generate(1) script, "make manual" executes
the conversion tools.

13 months agomanual: cosmetic nits, add comments to CMake rules
Gerhard Sittig [Sun, 14 Oct 2018 15:10:04 +0000 (17:10 +0200)]
manual: cosmetic nits, add comments to CMake rules

13 months agomanual: also install images/*.png with the HTML output
Gerhard Sittig [Sun, 14 Oct 2018 15:06:16 +0000 (17:06 +0200)]
manual: also install images/*.png with the HTML output

Extend the CMake rules for the manual. Do install the images/ subdir but
omit the *.xcf files. Prepare the CSS file although this seems to be not
strictly necessary (gets inlined, but we are prepared if it's external).
Only install these additional files when the asciidoctor(1) tool is
available, and thus the .html file can get generated (to not install
some questionable combination of a .pdf and unrelated .png files, or to
not install the resources when none of the manual files got created).

This approach was tested with the following command sequence:
  $ make manual
  $ make install
  $ xdg-open ~/share/doc/pulseview/*.html

13 months agomanual: accept absence of the asciidoctor-pdf exectuable
Gerhard Sittig [Sun, 14 Oct 2018 14:05:04 +0000 (16:05 +0200)]
manual: accept absence of the asciidoctor-pdf exectuable

The asciidoctor(1) executable is considered mandatory when building the
Pulseview manual. The asciidoctor-pdf(1) executable is not universally
available (is missing in Debian), accept its absence, avoid execution
failure in that case.

This implementation replaces the actual .txt to .pdf conversion with a
mere echo(1) message, which may go unnoticed in verbose build output.
"make --no-print-directories manual" may be required to remain aware.

13 months agomanual: install manual conversion result files generated by cmake
Gerhard Sittig [Sun, 14 Oct 2018 13:54:56 +0000 (15:54 +0200)]
manual: install manual conversion result files generated by cmake

Install the (optionally generated) HTML and PDF manual files. Absence of
the files is non-fatal.

13 months agomanual: introduce CMake logic for asciidoctor execution
Gerhard Sittig [Sun, 14 Oct 2018 13:30:46 +0000 (15:30 +0200)]
manual: introduce CMake logic for asciidoctor execution

Introduce new "manual", "manual-html" and "manual-pdf" make(1) targets
(the former depending on the latter). None of these targets are part of
"make all" by design, users decide whether to convert the manual text.
Execution will fail (fatally) in the absence of dependencies or tools.

13 months agoSettings::get_view_settings_form(): Fix an incorrect string.
Uwe Hermann [Sat, 27 Oct 2018 19:08:20 +0000 (21:08 +0200)]
Settings::get_view_settings_form(): Fix an incorrect string.

13 months agoSignalBase: Work around QColor serialization bug on OSX
Soeren Apel [Sat, 27 Oct 2018 15:06:07 +0000 (17:06 +0200)]
SignalBase: Work around QColor serialization bug on OSX

13 months agoAnalogSignal/LogicSignal: Internally cache settings used for painting
Soeren Apel [Sat, 27 Oct 2018 14:12:18 +0000 (16:12 +0200)]
AnalogSignal/LogicSignal: Internally cache settings used for painting

13 months agoImplement customizable cursor fill color
Soeren Apel [Sat, 27 Oct 2018 12:27:45 +0000 (14:27 +0200)]
Implement customizable cursor fill color

13 months agoMove meta type declaration out of MainWindow
Soeren Apel [Sat, 27 Oct 2018 08:14:59 +0000 (10:14 +0200)]
Move meta type declaration out of MainWindow

13 months agoAsk user about adjusting UI colors when choosing a theme
Soeren Apel [Fri, 26 Oct 2018 21:44:45 +0000 (23:44 +0200)]
Ask user about adjusting UI colors when choosing a theme

13 months agoThemes: Fix icon shift bug when opening QToolButton menu
Soeren Apel [Fri, 26 Oct 2018 20:49:31 +0000 (22:49 +0200)]
Themes: Fix icon shift bug when opening QToolButton menu

13 months agoSettings: Allow user to choose the Qt UI style
Soeren Apel [Fri, 26 Oct 2018 20:10:22 +0000 (22:10 +0200)]
Settings: Allow user to choose the Qt UI style

13 months agoDeviceManager: Prevent PV crashes when scanning for devices
Soeren Apel [Wed, 24 Oct 2018 20:08:13 +0000 (22:08 +0200)]
DeviceManager: Prevent PV crashes when scanning for devices

13 months agoManual: Add PD troubleshooting section
Soeren Apel [Wed, 24 Oct 2018 06:47:11 +0000 (08:47 +0200)]
Manual: Add PD troubleshooting section

13 months agoThemes: Attempt at working around wrong widget backgrounds on Windows
Soeren Apel [Mon, 22 Oct 2018 21:21:33 +0000 (23:21 +0200)]
Themes: Attempt at working around wrong widget backgrounds on Windows

13 months agoGlobalSettings: Always use Fusion style on Windows for dark themes
Soeren Apel [Mon, 22 Oct 2018 21:20:11 +0000 (23:20 +0200)]
GlobalSettings: Always use Fusion style on Windows for dark themes

13 months agoRuler: Add "Set as zero point" context menu entry
Soeren Apel [Mon, 22 Oct 2018 20:01:22 +0000 (22:01 +0200)]
Ruler: Add "Set as zero point" context menu entry

13 months agoMore clazy fixes
Soeren Apel [Sun, 21 Oct 2018 21:10:43 +0000 (23:10 +0200)]
More clazy fixes

13 months agoTypo fix
Soeren Apel [Sun, 21 Oct 2018 21:04:52 +0000 (23:04 +0200)]
Typo fix

13 months agoMake change performed in 79b53a1ae actually work
Soeren Apel [Sun, 21 Oct 2018 20:12:19 +0000 (22:12 +0200)]
Make change performed in 79b53a1ae actually work

ViewWidget::mouse_down_point_ indeed should contain the position
of the last mouse click but since we ignore right clicks, it
doesn't.

13 months agoFix random clazy warnings
Soeren Apel [Sun, 21 Oct 2018 19:47:42 +0000 (21:47 +0200)]
Fix random clazy warnings

Some of them are invalid, though, so we suppress them for
future clazy runs.

13 months agoFix clazy warnings regarding range-for references
Soeren Apel [Sun, 21 Oct 2018 19:22:01 +0000 (21:22 +0200)]
Fix clazy warnings regarding range-for references

The warnings that are fixed are of this type:
warning: Missing reference in range-for with non trivial type (std::__cxx11::string) [-Wclazy-range-loop]

13 months agoFix #1035 by checking for exceptions when accessing config
Soeren Apel [Sun, 21 Oct 2018 16:07:25 +0000 (18:07 +0200)]
Fix #1035 by checking for exceptions when accessing config

Also fixes #651 because it makes Device::read_config()
generic.

13 months agoFix for "fill logic signal high areas" feature
Soeren Apel [Sun, 21 Oct 2018 11:07:41 +0000 (13:07 +0200)]
Fix for "fill logic signal high areas" feature

At certain zoom levels, the algorithm wrongly fills areas where
the signal is low. This patch fixes this.

13 months agoFix #1222 by adding a tooltip for when there isn't enough space
Soeren Apel [Fri, 19 Oct 2018 21:36:13 +0000 (23:36 +0200)]
Fix #1222 by adding a tooltip for when there isn't enough space

Also fixes #870 by always using 12 digits for precision

13 months agoAdd generic "Create marker here" context menu entry
Soeren Apel [Tue, 16 Oct 2018 22:39:54 +0000 (00:39 +0200)]
Add generic "Create marker here" context menu entry

13 months agoREADME: List icon/theme licenses explicitly.
Uwe Hermann [Tue, 16 Oct 2018 21:31:49 +0000 (23:31 +0200)]
README: List icon/theme licenses explicitly.

13 months agoLogging: Adjust UI colors to suit both dark and bright themes
Soeren Apel [Tue, 16 Oct 2018 19:15:58 +0000 (21:15 +0200)]
Logging: Adjust UI colors to suit both dark and bright themes

13 months agoChannels: Make channel enable/disable options symmetric
Soeren Apel [Tue, 16 Oct 2018 19:01:35 +0000 (21:01 +0200)]
Channels: Make channel enable/disable options symmetric

13 months agoSpeed up MipMap downsampling in logicsegment
Jon Burgess [Sat, 13 Oct 2018 14:11:54 +0000 (15:11 +0100)]
Speed up MipMap downsampling in logicsegment

Make use of the segment chunk size to process samples
in contiguous blocks when possible.

Provide routines for downsampling with sample sizes
of 1, 2, 4 & 8 bytes which the compiler can optimize.

These changes halve the time taken to display the
23MB ws2812b_neopixel24_4mhz_verylong.sr from
40 seconds to 18 seconds.

13 months agoExpose length of valid data in segment chunk
Jon Burgess [Sat, 13 Oct 2018 21:26:25 +0000 (22:26 +0100)]
Expose length of valid data in segment chunk

13 months agoFix memory leak in DecoderMenu
Jon Burgess [Sun, 14 Oct 2018 22:52:24 +0000 (23:52 +0100)]
Fix memory leak in DecoderMenu

==214004== 1,536 (16 direct, 1,520 indirect) bytes in 1 blocks are definitely lost in loss record 6,288 of 6,442
==214004==    at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
==214004==    by 0x67D8435: g_malloc (in /usr/lib64/libglib-2.0.so.0.5600.3)
==214004==    by 0x67F0056: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.5600.3)
==214004==    by 0x67F14FA: g_slist_copy_deep (in /usr/lib64/libglib-2.0.so.0.5600.3)
==214004==    by 0x5584FC: pv::widgets::DecoderMenu::DecoderMenu(QWidget*, bool) (decodermenu.cpp:33)
==214004==

13 months agoImplement fixes proposed by clang-tidy
Soeren Apel [Sun, 14 Oct 2018 20:56:08 +0000 (22:56 +0200)]
Implement fixes proposed by clang-tidy

13 months agoAdd themes and implement theme support
Soeren Apel [Sun, 14 Oct 2018 20:27:33 +0000 (22:27 +0200)]
Add themes and implement theme support

13 months agoMake "fill logic signal high areas" feature more robust
Soeren Apel [Sun, 14 Oct 2018 14:04:05 +0000 (16:04 +0200)]
Make "fill logic signal high areas" feature more robust

13 months agodevice.cpp: SR_CONF_AVG_SAMPLES: Add support for list of values.
Uwe Hermann [Sat, 13 Oct 2018 22:24:42 +0000 (00:24 +0200)]
device.cpp: SR_CONF_AVG_SAMPLES: Add support for list of values.

13 months agoTrace: Force trace replaint when a setting changes
Soeren Apel [Sat, 13 Oct 2018 19:42:48 +0000 (21:42 +0200)]
Trace: Force trace replaint when a setting changes

13 months agoUse QMenu->popup() instead of QMenu->exec() everywhere
Soeren Apel [Sat, 13 Oct 2018 19:35:09 +0000 (21:35 +0200)]
Use QMenu->popup() instead of QMenu->exec() everywhere