Joel Holdsworth [Mon, 29 Apr 2013 22:32:21 +0000 (23:32 +0100)]
Set the title of the main toolbar
Joel Holdsworth [Mon, 29 Apr 2013 17:22:54 +0000 (18:22 +0100)]
Added assertions to confirm that the session was terminated cleanly
Uwe Hermann [Wed, 1 May 2013 11:29:56 +0000 (13:29 +0200)]
manpage: Various fixes and updates.
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.
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.
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.
Joel Holdsworth [Thu, 25 Apr 2013 11:45:29 +0000 (12:45 +0100)]
Added missing virtual destructors
This fixes bug #106.
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.
Bert Vermeulen [Wed, 24 Apr 2013 19:56:01 +0000 (21:56 +0200)]
Open/close devices as needed
Joel Holdsworth [Wed, 24 Apr 2013 19:09:15 +0000 (20:09 +0100)]
Update the SigSession device, when it is selected by the user
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
Joel Holdsworth [Wed, 24 Apr 2013 17:47:42 +0000 (18:47 +0100)]
Made the sdi a persisent property of SigSession
Joel Holdsworth [Tue, 23 Apr 2013 22:22:46 +0000 (23:22 +0100)]
Added an accelerator for show/hide cursors
Joel Holdsworth [Tue, 23 Apr 2013 22:22:24 +0000 (23:22 +0100)]
Bring the cursors into view when they are shown
Uwe Hermann [Tue, 23 Apr 2013 19:20:31 +0000 (21:20 +0200)]
win32: Use -mwindows to avoid opening a "DOS box".
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.
Uwe Hermann [Sun, 21 Apr 2013 22:17:59 +0000 (00:17 +0200)]
Add NSIS file for use with cross-compiled PulseView.
Joel Holdsworth [Mon, 22 Apr 2013 20:43:00 +0000 (21:43 +0100)]
Added error handling to SignalHandler
Joel Holdsworth [Mon, 22 Apr 2013 20:42:26 +0000 (21:42 +0100)]
Added proper error handling to pv::SigSession::feed_in_header()
Joel Holdsworth [Mon, 22 Apr 2013 20:41:48 +0000 (21:41 +0100)]
Added missing braces in pv::dialogs::Connect::populate_drivers()
Joel Holdsworth [Sat, 20 Apr 2013 17:05:31 +0000 (18:05 +0100)]
Commit the samplerate before beginning to sample
Joel Holdsworth [Sat, 20 Apr 2013 16:29:00 +0000 (17:29 +0100)]
Renamed SamplingBar::configure to on_configure
Joel Holdsworth [Sat, 20 Apr 2013 13:25:46 +0000 (14:25 +0100)]
Added Cursors Delta display
Joel Holdsworth [Sat, 20 Apr 2013 12:01:03 +0000 (13:01 +0100)]
Added CursorPair::get_cursor_offsets()
Joel Holdsworth [Sat, 20 Apr 2013 11:59:01 +0000 (12:59 +0100)]
Moved Cursor markers to the outside
Joel Holdsworth [Sat, 20 Apr 2013 11:32:25 +0000 (12:32 +0100)]
Removed unneeded Cursor::Size constant
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
Joel Holdsworth [Thu, 18 Apr 2013 22:06:15 +0000 (23:06 +0100)]
Moved ruler 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
Joel Holdsworth [Thu, 18 Apr 2013 21:25:36 +0000 (22:25 +0100)]
Replaced std::pair<Cursor, Cursor> with CursorPair
Joel Holdsworth [Thu, 18 Apr 2013 20:17:47 +0000 (21:17 +0100)]
Made UNIX signals an optional feature
Joel Holdsworth [Tue, 16 Apr 2013 18:45:04 +0000 (19:45 +0100)]
Added ENABLE_SIGROKDECODE option, disabled for now
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>
Joel Holdsworth [Sat, 13 Apr 2013 14:30:01 +0000 (15:30 +0100)]
Draw numbers off the end of the ruler
Martin Ling [Mon, 15 Apr 2013 20:23:39 +0000 (21:23 +0100)]
Update for libsigrok datafeed callback API changes.
Joel Holdsworth [Sun, 7 Apr 2013 19:49:10 +0000 (20:49 +0100)]
Enum now allows the no-selection condition
Joel Holdsworth [Mon, 1 Apr 2013 07:46:02 +0000 (08:46 +0100)]
Padded data buffer so that reads do not overrun it.
Joel Holdsworth [Sun, 7 Apr 2013 19:20:55 +0000 (20:20 +0100)]
Moved get_property_form out of pv::prop::binding::Binding
Joel Holdsworth [Sun, 7 Apr 2013 18:27:56 +0000 (19:27 +0100)]
Added Int property and bound to SR_CONF_CAPTURE_RATIO
Joel Holdsworth [Sun, 7 Apr 2013 17:56:49 +0000 (18:56 +0100)]
Removed an uneeded include
Joel Holdsworth [Sun, 7 Apr 2013 17:56:20 +0000 (18:56 +0100)]
Added Bool property and bound to SR_CONF_RLE
Bert Vermeulen [Mon, 1 Apr 2013 15:07:44 +0000 (16:07 +0100)]
Ported pv::prop::binding::DeviceOptions to GVariants
Joel Holdsworth [Mon, 1 Apr 2013 15:09:44 +0000 (16:09 +0100)]
Make pv::prop objects run on GVariants
Bert Vermeulen [Mon, 1 Apr 2013 15:07:10 +0000 (16:07 +0100)]
Adjust pv:prop::Enum 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
Bert Vermeulen [Mon, 1 Apr 2013 15:01:48 +0000 (16:01 +0100)]
Adjust pv::SigSession 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
Joel Holdsworth [Sun, 24 Mar 2013 20:24:16 +0000 (20:24 +0000)]
Allow labels to be set to empty values
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.
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.
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.
Joel Holdsworth [Sun, 31 Mar 2013 10:42:07 +0000 (11:42 +0100)]
Corrected label layout when text is empty
Joel Holdsworth [Sun, 31 Mar 2013 09:45:44 +0000 (10:45 +0100)]
Adjusted SignalHandler style to match the rest of PulseView
Joel Holdsworth [Sun, 31 Mar 2013 09:31:51 +0000 (10:31 +0100)]
Integrated signal handler from qpdfview
Joel Holdsworth [Sun, 31 Mar 2013 08:29:30 +0000 (09:29 +0100)]
Set the colour of the ruler hover marker to the correct palette colour
Joel Holdsworth [Sun, 24 Mar 2013 16:50:49 +0000 (16:50 +0000)]
Added loglevel command line option
Joel Holdsworth [Sat, 23 Mar 2013 11:28:31 +0000 (11:28 +0000)]
Improved painting of cursor values
Joel Holdsworth [Sat, 23 Mar 2013 10:59:43 +0000 (10:59 +0000)]
Added a margin around ruler values
Joel Holdsworth [Sat, 23 Mar 2013 10:54:54 +0000 (10:54 +0000)]
Stopped ruler values colliding at high zoom
Joel Holdsworth [Sat, 23 Mar 2013 10:10:43 +0000 (10:10 +0000)]
Use Qt namespace to simplify Ruler::paintEvent
Joel Holdsworth [Wed, 20 Mar 2013 20:24:55 +0000 (20:24 +0000)]
Draw analog with a polyline rather than points
Joel Holdsworth [Mon, 18 Mar 2013 22:59:36 +0000 (22:59 +0000)]
Implemented Ctrl+Q quit shortcut
Joel Holdsworth [Sat, 16 Mar 2013 17:30:51 +0000 (17:30 +0000)]
Added analog envelope painting
Joel Holdsworth [Sat, 16 Mar 2013 15:54:47 +0000 (15:54 +0000)]
Make Snapshot::get_sample_count() a const function
Joel Holdsworth [Sat, 16 Mar 2013 15:03:48 +0000 (15:03 +0000)]
Implemented AnalogSnapshot::get_envelope_section
Joel Holdsworth [Sat, 16 Mar 2013 12:04:49 +0000 (12:04 +0000)]
Implemented Basic analog tests
Joel Holdsworth [Sat, 16 Mar 2013 10:11:50 +0000 (10:11 +0000)]
Added code to construct analog envelope levels
Joel Holdsworth [Sat, 16 Mar 2013 10:11:37 +0000 (10:11 +0000)]
Added a scale factor to AnalogSignal
Joel Holdsworth [Sat, 16 Mar 2013 10:11:18 +0000 (10:11 +0000)]
Various tidyups in LogicSnapshot
Joel Holdsworth [Sat, 16 Mar 2013 08:44:04 +0000 (08:44 +0000)]
Setup analog probe colours
Joel Holdsworth [Sat, 16 Mar 2013 08:32:02 +0000 (08:32 +0000)]
Renamed pv::view::LogicSignal::LogicSignalColours to SignalColours
Joel Holdsworth [Sat, 16 Mar 2013 08:22:29 +0000 (08:22 +0000)]
Moved SamplingBar into pv::toolbars namespace
Joel Holdsworth [Fri, 15 Mar 2013 19:42:40 +0000 (19:42 +0000)]
Tolerate unexpected packets rather than asserting
Joel Holdsworth [Fri, 15 Mar 2013 18:28:28 +0000 (18:28 +0000)]
Analog buffer sharing crash by memcpying for the AnanlogSignal::paint
Joel Holdsworth [Fri, 15 Mar 2013 18:11:15 +0000 (18:11 +0000)]
Added Enable/Disable All Buttons
Uwe Hermann [Sun, 17 Mar 2013 13:01:04 +0000 (14:01 +0100)]
INSTALL: Refer to new Building wiki page.
Joel Holdsworth [Mon, 11 Mar 2013 23:30:34 +0000 (23:30 +0000)]
Check that at least one probe is enabled before acquisition begins
Joel Holdsworth [Mon, 11 Mar 2013 23:26:39 +0000 (23:26 +0000)]
Corrected order of MainWindow class declaration
Joel Holdsworth [Mon, 11 Mar 2013 23:24:42 +0000 (23:24 +0000)]
Added UI error handling for file loading and capturing
Joel Holdsworth [Mon, 11 Mar 2013 20:41:04 +0000 (20:41 +0000)]
Added a probe selector
Joel Holdsworth [Sat, 9 Mar 2013 16:52:04 +0000 (16:52 +0000)]
Ensure sr_config_get is called even when assert is compiled out
Arkadiusz Miśkiewicz [Sat, 9 Mar 2013 16:35:20 +0000 (16:35 +0000)]
Added missing pthread linkage in tests
Joel Holdsworth [Sat, 9 Mar 2013 15:51:47 +0000 (15:51 +0000)]
Deleted unused pv::view::Viewport::mouseReleaseEvent handler
This resolves the compile failure reported by arekm
Joel Holdsworth [Sat, 9 Mar 2013 15:36:28 +0000 (15:36 +0000)]
Initialise sample_rate in pv::SigSession::feed_in_header
This resolves the compile failure reported by arekm
Uwe Hermann [Sat, 9 Mar 2013 10:41:41 +0000 (11:41 +0100)]
Whitespace fixes.
Matt Ranostay [Thu, 7 Mar 2013 23:51:08 +0000 (15:51 -0800)]
bugfix: Resolved -Werror message in main.cpp
pulseview/main.cpp: In function ‘int main(int, char**)’:
pulseview/main.cpp:91:13: error: comparison is always false due to limited range of data type [-Werror=type-limits]
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Joel Holdsworth [Thu, 7 Mar 2013 23:25:02 +0000 (23:25 +0000)]
Prevent Ok being pressed when no device is selected
Disable Ok until a device has been selected, and select the first device when scan is pressed
Joel Holdsworth [Thu, 7 Mar 2013 23:18:46 +0000 (23:18 +0000)]
Process selected device
Joel Holdsworth [Thu, 7 Mar 2013 22:41:04 +0000 (22:41 +0000)]
Added pv::SamplingBar::set_selected_device
Joel Holdsworth [Thu, 7 Mar 2013 22:39:55 +0000 (22:39 +0000)]
Moved device enumeration out of pv::SamplingBar into pv::MainWindow
Joel Holdsworth [Thu, 7 Mar 2013 22:40:45 +0000 (22:40 +0000)]
SamplingBar::update_sample_rate_selector should abort if no devices is selected
Joel Holdsworth [Thu, 7 Mar 2013 22:25:06 +0000 (22:25 +0000)]
Fixed indentation in SamplingBar::update_sample_rate_selector_value
Joel Holdsworth [Thu, 7 Mar 2013 21:23:11 +0000 (21:23 +0000)]
Implemented device probing
Joel Holdsworth [Wed, 30 Jan 2013 22:29:06 +0000 (22:29 +0000)]
Only allow monotonic devices in the device list
Joel Holdsworth [Sat, 29 Dec 2012 14:57:10 +0000 (14:57 +0000)]
Initial manual connect dialog with a serial port selector
Alexandru Gagniuc [Wed, 30 Jan 2013 16:54:46 +0000 (10:54 -0600)]
README: Explicitly state meaning of year ranges in copyright statements
Year ranges in copyright statements have no legal meaning. That's why we
explicitly state what they mean in README.
For details, see:
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Alexandru Gagniuc [Wed, 30 Jan 2013 16:34:29 +0000 (10:34 -0600)]
Separate the build/install instructions from the README.
Distros include the README in the package, and it doesn't make sense to have
build and install instructions in a binary package.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Joel Holdsworth [Sun, 3 Mar 2013 17:41:19 +0000 (17:41 +0000)]
Sampling bar now commits the sample rate into the device instance
Joel Holdsworth [Sun, 3 Mar 2013 17:05:46 +0000 (17:05 +0000)]
Removed sample_rate parameter from start_capture
We now rely on the statefulness of the device instance instead
Joel Holdsworth [Sun, 3 Mar 2013 16:33:16 +0000 (16:33 +0000)]
Added a binding for SR_CONF_SAMPLERATE