pulseview.git
6 years agoUsed cotire to enhance build performance
Joel Holdsworth [Sun, 7 Jul 2013 15:15:42 +0000 (16:15 +0100)]
Used cotire to enhance build performance

Cotire (compile time reducer) is a CMake module that speeds up the
build process of CMake based build systems by fully automating
techniques as precompiled header usage and single compilation unit
builds for C and C++.

Cotire is released under the MIT license.

6 years agoAdded a comment to CMakeLists.txt
Joel Holdsworth [Sat, 8 Jun 2013 15:09:47 +0000 (16:09 +0100)]
Added a comment to CMakeLists.txt

7 years agoAdded property binding for SR_CONF_VOLTAGE_THRESHOLD.
Marcus Comstedt [Sun, 4 Aug 2013 14:35:35 +0000 (16:35 +0200)]
Added property binding for SR_CONF_VOLTAGE_THRESHOLD.

7 years agoUse g_variant_equal() instead of g_variant_compare() to compare enums.
Marcus Comstedt [Sun, 4 Aug 2013 14:32:37 +0000 (16:32 +0200)]
Use g_variant_equal() instead of g_variant_compare() to compare enums.

g_variant_compare() doesn't support tuples, and we're only interrested
in equality anyway.

7 years agoAdd missing libboost-system to test/CMakeLists.txt.
Uwe Hermann [Mon, 15 Jul 2013 14:01:01 +0000 (16:01 +0200)]
Add missing libboost-system to test/CMakeLists.txt.

This fixes bug #133.

Thanks to Arkadiusz Miskiewicz <arekm@maven.pl> for the patch.

7 years agoPut context bar back on the same row as the other toolbars
Joel Holdsworth [Tue, 28 May 2013 19:38:56 +0000 (20:38 +0100)]
Put context bar back on the same row as the other toolbars

7 years agoAdded AwaitTrigger capture state
Joel Holdsworth [Tue, 28 May 2013 19:36:11 +0000 (20:36 +0100)]
Added AwaitTrigger capture state

7 years agoSet trigger buttons as checked depending on the trigger type
Joel Holdsworth [Mon, 27 May 2013 11:24:37 +0000 (12:24 +0100)]
Set trigger buttons as checked depending on the trigger type

7 years agoAdded trigger selection handlers
Joel Holdsworth [Mon, 27 May 2013 11:06:06 +0000 (12:06 +0100)]
Added trigger selection handlers

7 years agoParse the trigger types supported by the device
Joel Holdsworth [Mon, 27 May 2013 09:58:53 +0000 (10:58 +0100)]
Parse the trigger types supported by the device

7 years agoAdded _session reference to Signal objects
Joel Holdsworth [Mon, 27 May 2013 09:36:33 +0000 (10:36 +0100)]
Added _session reference to Signal objects

7 years agoAdded trigger buttons to LogicSignal context bar.
Joel Holdsworth [Mon, 27 May 2013 08:24:48 +0000 (09:24 +0100)]
Added trigger buttons to LogicSignal context bar.

7 years agoFix build on systems with Qt5 installed
Bert Vermeulen [Sun, 5 May 2013 12:28:53 +0000 (14:28 +0200)]
Fix build on systems with Qt5 installed

The 'qmake' installed on systems with Qt5 will generally default to
using that version. Despite the Qt4 requirement in the find_package()
directive, this will break even if Qt4 is installed.

This overrides the qmake version used to the check.

7 years agoAdded a label context bar action
Joel Holdsworth [Sun, 19 May 2013 11:24:17 +0000 (12:24 +0100)]
Added a label context bar action

7 years agoInitial working context bar
Joel Holdsworth [Sun, 19 May 2013 09:37:52 +0000 (10:37 +0100)]
Initial working context bar

7 years agoAdded context widgets to TimeMarker
Joel Holdsworth [Sun, 19 May 2013 09:37:31 +0000 (10:37 +0100)]
Added context widgets to TimeMarker

7 years agoAdded View::selected_items
Joel Holdsworth [Wed, 15 May 2013 16:30:16 +0000 (17:30 +0100)]
Added View::selected_items

7 years agoMade TimeMarker::_view a non-const reference
Joel Holdsworth [Sat, 18 May 2013 17:33:05 +0000 (18:33 +0100)]
Made TimeMarker::_view a non-const reference

7 years agoAdded get_context_bar_actions
Joel Holdsworth [Sun, 12 May 2013 20:34:30 +0000 (21:34 +0100)]
Added get_context_bar_actions

7 years agoRemoved TimeMarker copy constructor
Joel Holdsworth [Sat, 18 May 2013 17:15:16 +0000 (18:15 +0100)]
Removed TimeMarker copy constructor

7 years agoWrapped Cursors in a shared_ptr
Joel Holdsworth [Sat, 18 May 2013 16:33:51 +0000 (17:33 +0100)]
Wrapped Cursors in a shared_ptr

7 years agoAdded selection_changed signal to pv::view::View
Joel Holdsworth [Wed, 15 May 2013 15:57:27 +0000 (16:57 +0100)]
Added selection_changed signal to pv::view::View

7 years agoAdd selection to Ruler items
Joel Holdsworth [Mon, 13 May 2013 22:11:19 +0000 (23:11 +0100)]
Add selection to Ruler items

7 years agoAdded selection_changed signal to Ruler and Header
Joel Holdsworth [Mon, 13 May 2013 21:53:26 +0000 (22:53 +0100)]
Added selection_changed signal to Ruler and Header

7 years agoAdded clear_selection to Ruler and Header
Joel Holdsworth [Mon, 13 May 2013 21:42:09 +0000 (22:42 +0100)]
Added clear_selection to Ruler and Header

7 years agoAdded pv::view::MarginWidget as a common base class of Header and Ruler
Joel Holdsworth [Sun, 12 May 2013 20:35:37 +0000 (21:35 +0100)]
Added pv::view::MarginWidget as a common base class of Header and Ruler

7 years agoAdded selection highlights to Cursor
Joel Holdsworth [Sun, 12 May 2013 18:50:31 +0000 (19:50 +0100)]
Added selection highlights to Cursor

7 years agoMoved highlight pen into SelectableItem
Joel Holdsworth [Mon, 13 May 2013 18:22:11 +0000 (19:22 +0100)]
Moved highlight pen into SelectableItem

7 years agoMoved Signal selection behaviour into SelectableItem
Joel Holdsworth [Sun, 12 May 2013 17:56:13 +0000 (18:56 +0100)]
Moved Signal selection behaviour into SelectableItem

7 years agoDerrived TimeMarker from SelectableItem
Joel Holdsworth [Sun, 12 May 2013 16:02:21 +0000 (17:02 +0100)]
Derrived TimeMarker from SelectableItem

7 years agoDerrived Signals from SelectableItem
Joel Holdsworth [Sat, 4 May 2013 10:25:19 +0000 (11:25 +0100)]
Derrived Signals from SelectableItem

7 years agoAdded empty context bar
Joel Holdsworth [Sat, 4 May 2013 08:44:22 +0000 (09:44 +0100)]
Added empty context bar

7 years agoLink signals to probes
Joel Holdsworth [Sat, 4 May 2013 08:13:43 +0000 (09:13 +0100)]
Link signals to probes

7 years agoCreate signals when device is selected
Joel Holdsworth [Sat, 4 May 2013 07:44:17 +0000 (08:44 +0100)]
Create signals when device is selected

7 years agoMake SigSession release it's device on destruction
Joel Holdsworth [Sun, 12 May 2013 16:53:59 +0000 (17:53 +0100)]
Make SigSession release it's device on destruction

7 years agoInitial support for input file formats
Joel Holdsworth [Thu, 9 May 2013 22:02:02 +0000 (23:02 +0100)]
Initial support for input file formats

7 years agoAdded All Files to the open file filter list
Joel Holdsworth [Sun, 12 May 2013 15:11:43 +0000 (16:11 +0100)]
Added All Files to the open file filter list

7 years agocontrib: Add pulseview.desktop file
Alexandru Gagniuc [Tue, 7 May 2013 00:23:14 +0000 (19:23 -0500)]
contrib: Add pulseview.desktop file

A .desktop file is used to integrate a desktop application with the desktop
environment. For example, in KDE, this makes the application visible in
the Launcher, under Applications.

This is the .desktop file we use in Fedora, but it is usable by any distro.

7 years agoInstall the manpage upon 'make install'. pulseview-0.1.0
Uwe Hermann [Sat, 4 May 2013 12:11:29 +0000 (14:11 +0200)]
Install the manpage upon 'make install'.

This uses the cmake 'GNUInstallDirs' module, which has variables for
various installation directories, including CMAKE_INSTALL_MANDIR.

This closes bug #76.

7 years agomanpage: Document --loglevel and filename argument.
Uwe Hermann [Sat, 4 May 2013 10:19:05 +0000 (12:19 +0200)]
manpage: Document --loglevel and filename argument.

7 years agoAdd initial NEWS file.
Uwe Hermann [Fri, 3 May 2013 20:02:17 +0000 (22:02 +0200)]
Add initial NEWS file.

7 years agoREADME: Update in preparation of the 0.1.0 release.
Uwe Hermann [Fri, 3 May 2013 19:51:38 +0000 (21:51 +0200)]
README: Update in preparation of the 0.1.0 release.

7 years agoPulseView depends on libsigrokdecode >= 0.2.0 (optional).
Uwe Hermann [Fri, 3 May 2013 18:56:49 +0000 (20:56 +0200)]
PulseView depends on libsigrokdecode >= 0.2.0 (optional).

Currently libsigrokdecode support is not compiled in by default, though.

7 years agoAdapt to new <libsigrokdecode/libsigrokdecode.h> header.
Uwe Hermann [Fri, 3 May 2013 18:54:27 +0000 (20:54 +0200)]
Adapt to new <libsigrokdecode/libsigrokdecode.h> header.

7 years agoStop capture before connecting to a device
Joel Holdsworth [Wed, 1 May 2013 21:33:31 +0000 (22:33 +0100)]
Stop capture before connecting to a device

7 years agopv::DeviceManager now manages opening/closing devices
Joel Holdsworth [Wed, 1 May 2013 21:12:26 +0000 (22:12 +0100)]
pv::DeviceManager now manages opening/closing devices

It also notifies pv::SigSession objects when their devices are
going to be cleared.

7 years agoMake labels an even height
Joel Holdsworth [Tue, 30 Apr 2013 12:09:23 +0000 (13:09 +0100)]
Make labels an even height

This prevents some of the blurring effects to the label outline
that can be seen when the outline falls over a half-pixel.

7 years agoSet the title of the main toolbar
Joel Holdsworth [Mon, 29 Apr 2013 22:32:21 +0000 (23:32 +0100)]
Set the title of the main toolbar

7 years agoAdded assertions to confirm that the session was terminated cleanly
Joel Holdsworth [Mon, 29 Apr 2013 17:22:54 +0000 (18:22 +0100)]
Added assertions to confirm that the session was terminated cleanly

7 years agomanpage: Various fixes and updates.
Uwe Hermann [Wed, 1 May 2013 11:29:56 +0000 (13:29 +0200)]
manpage: Various fixes and updates.

7 years agoFactored device title printing code out into pv::DeviceManager::format_device_title
Joel Holdsworth [Mon, 29 Apr 2013 08:14:46 +0000 (09:14 +0100)]
Factored device title printing code out into pv::DeviceManager::format_device_title

This fixes the earlier bug where pv::DeviceManager::compare_devices
would crash if any of the device string fields were NULL.

7 years agoAdded DeviceManager
Joel Holdsworth [Sat, 27 Apr 2013 20:53:21 +0000 (21:53 +0100)]
Added DeviceManager

This class now manages the application device list, scanning for
devices, and releasing them when they are no longer needed.

This fixes bug #108.

7 years agoFix "Failed to configure samplerate." warnings.
Joel Holdsworth [Sat, 27 Apr 2013 18:27:07 +0000 (19:27 +0100)]
Fix "Failed to configure samplerate." warnings.

We need to keep the sample rate selectors hidden until they have been
reconfigured and we need to ignore the samplerate when the device
selector is hidden.

This fixes bug #109.

7 years agoAdded missing virtual destructors
Joel Holdsworth [Thu, 25 Apr 2013 11:45:29 +0000 (12:45 +0100)]
Added missing virtual destructors

This fixes bug #106.

7 years agoHardcode maximum supported probes to 64 for now
Bert Vermeulen [Sat, 27 Apr 2013 16:20:14 +0000 (18:20 +0200)]
Hardcode maximum supported probes to 64 for now

SR_MAX_NUM_PROBES disappeared from libsigrok.h, along with that
limitation.

7 years agoOpen/close devices as needed
Bert Vermeulen [Wed, 24 Apr 2013 19:56:01 +0000 (21:56 +0200)]
Open/close devices as needed

7 years agoUpdate the SigSession device, when it is selected by the user
Joel Holdsworth [Wed, 24 Apr 2013 19:09:15 +0000 (20:09 +0100)]
Update the SigSession device, when it is selected by the user

7 years agoOnly the open the file if the user clicked ok in the dialog
Joel Holdsworth [Wed, 24 Apr 2013 19:08:24 +0000 (20:08 +0100)]
Only the open the file if the user clicked ok in the dialog

7 years agoMade the sdi a persisent property of SigSession
Joel Holdsworth [Wed, 24 Apr 2013 17:47:42 +0000 (18:47 +0100)]
Made the sdi a persisent property of SigSession

7 years agoAdded an accelerator for show/hide cursors
Joel Holdsworth [Tue, 23 Apr 2013 22:22:46 +0000 (23:22 +0100)]
Added an accelerator for show/hide cursors

7 years agoBring the cursors into view when they are shown
Joel Holdsworth [Tue, 23 Apr 2013 22:22:24 +0000 (23:22 +0100)]
Bring the cursors into view when they are shown

7 years agowin32: Use -mwindows to avoid opening a "DOS box".
Uwe Hermann [Tue, 23 Apr 2013 19:20:31 +0000 (21:20 +0200)]
win32: Use -mwindows to avoid opening a "DOS box".

7 years agoReplace GPLv2+ references with GPLv3+.
Uwe Hermann [Tue, 23 Apr 2013 19:09:29 +0000 (21:09 +0200)]
Replace GPLv2+ references with GPLv3+.

Most of the PulseView files may be licensed under the GPLv2+, but by linking
against libsigrok (which is GPLv3+) the binary as a whole is GPLv3+.

Reflect that in the COPYING file, the documentation, and the GUI.

7 years agoAdd NSIS file for use with cross-compiled PulseView.
Uwe Hermann [Sun, 21 Apr 2013 22:17:59 +0000 (00:17 +0200)]
Add NSIS file for use with cross-compiled PulseView.

7 years agoAdded error handling to SignalHandler
Joel Holdsworth [Mon, 22 Apr 2013 20:43:00 +0000 (21:43 +0100)]
Added error handling to SignalHandler

7 years agoAdded proper error handling to pv::SigSession::feed_in_header()
Joel Holdsworth [Mon, 22 Apr 2013 20:42:26 +0000 (21:42 +0100)]
Added proper error handling to pv::SigSession::feed_in_header()

7 years agoAdded missing braces in pv::dialogs::Connect::populate_drivers()
Joel Holdsworth [Mon, 22 Apr 2013 20:41:48 +0000 (21:41 +0100)]
Added missing braces in pv::dialogs::Connect::populate_drivers()

7 years agoCommit the samplerate before beginning to sample
Joel Holdsworth [Sat, 20 Apr 2013 17:05:31 +0000 (18:05 +0100)]
Commit the samplerate before beginning to sample

7 years agoRenamed SamplingBar::configure to on_configure
Joel Holdsworth [Sat, 20 Apr 2013 16:29:00 +0000 (17:29 +0100)]
Renamed SamplingBar::configure to on_configure

7 years agoAdded Cursors Delta display
Joel Holdsworth [Sat, 20 Apr 2013 13:25:46 +0000 (14:25 +0100)]
Added Cursors Delta display

7 years agoAdded CursorPair::get_cursor_offsets()
Joel Holdsworth [Sat, 20 Apr 2013 12:01:03 +0000 (13:01 +0100)]
Added CursorPair::get_cursor_offsets()

7 years agoMoved Cursor markers to the outside
Joel Holdsworth [Sat, 20 Apr 2013 11:59:01 +0000 (12:59 +0100)]
Moved Cursor markers to the outside

7 years agoRemoved unneeded Cursor::Size constant
Joel Holdsworth [Sat, 20 Apr 2013 11:32:25 +0000 (12:32 +0100)]
Removed unneeded Cursor::Size constant

7 years agoCall sr_session_destroy after loading the SigSession, rather than sr_session_stop
Joel Holdsworth [Sat, 20 Apr 2013 08:38:19 +0000 (09:38 +0100)]
Call sr_session_destroy after loading the SigSession, rather than sr_session_stop

7 years agoMoved ruler cursor draw functions into CursorsPair
Joel Holdsworth [Thu, 18 Apr 2013 22:06:15 +0000 (23:06 +0100)]
Moved ruler cursor draw functions into CursorsPair

7 years agoMoved viewport cursor draw functions into CursorsPair
Joel Holdsworth [Thu, 18 Apr 2013 21:49:50 +0000 (22:49 +0100)]
Moved viewport cursor draw functions into CursorsPair

7 years agoReplaced std::pair<Cursor, Cursor> with CursorPair
Joel Holdsworth [Thu, 18 Apr 2013 21:25:36 +0000 (22:25 +0100)]
Replaced std::pair<Cursor, Cursor> with CursorPair

7 years agoMade UNIX signals an optional feature
Joel Holdsworth [Thu, 18 Apr 2013 20:17:47 +0000 (21:17 +0100)]
Made UNIX signals an optional feature

7 years agoAdded ENABLE_SIGROKDECODE option, disabled for now
Joel Holdsworth [Tue, 16 Apr 2013 18:45:04 +0000 (19:45 +0100)]
Added ENABLE_SIGROKDECODE option, disabled for now

7 years agodeviceoptions.cpp make compile error on 32 bit systems
Joshua Frkuska [Tue, 16 Apr 2013 14:11:09 +0000 (23:11 +0900)]
deviceoptions.cpp make compile error on 32 bit systems

 fixes compile error: error: no matching function for call to ‘pv::prop::binding::DeviceOptions::bind_int(const QString&, const int&, const char [2], std::pair<long int, long int>)’

Signed-off-by: Joshua Frkuska <j.frkuska@gmail.com>
7 years agoDraw numbers off the end of the ruler
Joel Holdsworth [Sat, 13 Apr 2013 14:30:01 +0000 (15:30 +0100)]
Draw numbers off the end of the ruler

7 years agoUpdate for libsigrok datafeed callback API changes.
Martin Ling [Mon, 15 Apr 2013 20:23:39 +0000 (21:23 +0100)]
Update for libsigrok datafeed callback API changes.

7 years agoEnum now allows the no-selection condition
Joel Holdsworth [Sun, 7 Apr 2013 19:49:10 +0000 (20:49 +0100)]
Enum now allows the no-selection condition

7 years agoPadded data buffer so that reads do not overrun it.
Joel Holdsworth [Mon, 1 Apr 2013 07:46:02 +0000 (08:46 +0100)]
Padded data buffer so that reads do not overrun it.

7 years agoMoved get_property_form out of pv::prop::binding::Binding
Joel Holdsworth [Sun, 7 Apr 2013 19:20:55 +0000 (20:20 +0100)]
Moved get_property_form out of pv::prop::binding::Binding

7 years agoAdded Int property and bound to SR_CONF_CAPTURE_RATIO
Joel Holdsworth [Sun, 7 Apr 2013 18:27:56 +0000 (19:27 +0100)]
Added Int property and bound to SR_CONF_CAPTURE_RATIO

7 years agoRemoved an uneeded include
Joel Holdsworth [Sun, 7 Apr 2013 17:56:49 +0000 (18:56 +0100)]
Removed an uneeded include

7 years agoAdded Bool property and bound to SR_CONF_RLE
Joel Holdsworth [Sun, 7 Apr 2013 17:56:20 +0000 (18:56 +0100)]
Added Bool property and bound to SR_CONF_RLE

7 years agoPorted pv::prop::binding::DeviceOptions to GVariants
Bert Vermeulen [Mon, 1 Apr 2013 15:07:44 +0000 (16:07 +0100)]
Ported pv::prop::binding::DeviceOptions to GVariants

7 years agoMake pv::prop objects run on GVariants
Joel Holdsworth [Mon, 1 Apr 2013 15:09:44 +0000 (16:09 +0100)]
Make pv::prop objects run on GVariants

7 years agoAdjust pv:prop::Enum to GVariant-based sr_config_* functions
Bert Vermeulen [Mon, 1 Apr 2013 15:07:10 +0000 (16:07 +0100)]
Adjust pv:prop::Enum to GVariant-based sr_config_* functions

7 years agoAdjust pv::toolbars::SamplingBar to GVariant-based sr_config_* functions
Bert Vermeulen [Mon, 1 Apr 2013 15:02:17 +0000 (16:02 +0100)]
Adjust pv::toolbars::SamplingBar to GVariant-based sr_config_* functions

7 years agoAdjust pv::SigSession to GVariant-based sr_config_* functions
Bert Vermeulen [Mon, 1 Apr 2013 15:01:48 +0000 (16:01 +0100)]
Adjust pv::SigSession to GVariant-based sr_config_* functions

7 years agoAdjust pv::dialogs::Connect to GVariant-based sr_config_* functions
Bert Vermeulen [Mon, 1 Apr 2013 15:01:14 +0000 (16:01 +0100)]
Adjust pv::dialogs::Connect to GVariant-based sr_config_* functions

7 years agoAllow labels to be set to empty values
Joel Holdsworth [Sun, 24 Mar 2013 20:24:16 +0000 (20:24 +0000)]
Allow labels to be set to empty values

7 years agoFixed the H-scroll page width to half a screen rather than a full screen.
Joel Holdsworth [Sun, 31 Mar 2013 17:58:41 +0000 (18:58 +0100)]
Fixed the H-scroll page width to half a screen rather than a full screen.

7 years agoIgnore H-scroll events while scrollbar is begin updated.
Joel Holdsworth [Sun, 31 Mar 2013 17:57:38 +0000 (18:57 +0100)]
Ignore H-scroll events while scrollbar is begin updated.

This is an alternative approach to resolving bug 7.

7 years agoRevert "View: Decouple horizontal scrolling from the scoll bar"
Joel Holdsworth [Sun, 31 Mar 2013 17:30:50 +0000 (18:30 +0100)]
Revert "View: Decouple horizontal scrolling from the scoll bar"

This reverts commit 149e359e48ede480f3734cfc5c04bd1399d0d4be.

The original commit fixed the scrolling jitter at high zoom, but
breaks scrollbar paging behaviour.

7 years agoCorrected label layout when text is empty
Joel Holdsworth [Sun, 31 Mar 2013 10:42:07 +0000 (11:42 +0100)]
Corrected label layout when text is empty

7 years agoAdjusted SignalHandler style to match the rest of PulseView
Joel Holdsworth [Sun, 31 Mar 2013 09:45:44 +0000 (10:45 +0100)]
Adjusted SignalHandler style to match the rest of PulseView