]> sigrok.org Git - pulseview.git/log
pulseview.git
10 years agoChange QApplication::translate to tr, removing deprecated UTF8 parameter
Marcus Comstedt [Thu, 15 May 2014 19:48:11 +0000 (21:48 +0200)]
Change QApplication::translate to tr, removing deprecated UTF8 parameter

10 years agoUpdate #include directives to work with Qt5 as well as Qt4
Marcus Comstedt [Thu, 15 May 2014 19:47:02 +0000 (21:47 +0200)]
Update #include directives to work with Qt5 as well as Qt4

10 years ago.gitignore: Added new Qt compiler intermediate
Joel Holdsworth [Thu, 5 Jun 2014 20:30:04 +0000 (21:30 +0100)]
.gitignore: Added new Qt compiler intermediate

10 years agoDecoderStack: Fixed thread dead-lock
Joel Holdsworth [Thu, 5 Jun 2014 20:28:59 +0000 (21:28 +0100)]
DecoderStack: Fixed thread dead-lock

10 years agoSigSession: Fixed std::thread joining
Joel Holdsworth [Thu, 29 May 2014 22:22:52 +0000 (23:22 +0100)]
SigSession: Fixed std::thread joining

10 years agoproperty: add the necessary include file for std::function
Aurelien Jacobs [Tue, 3 Jun 2014 15:07:27 +0000 (17:07 +0200)]
property: add the necessary include file for std::function

This fixes the following error:

/home/aurel/devel/sigrok/pulseview/pv/prop/property.h:39:15: error: ‘function’ in namespace ‘std’ does not name a template type
  typedef std::function<GVariant* ()> Getter;

10 years agoDon't use obsolete channel-based triggers.
Bert Vermeulen [Fri, 30 May 2014 21:09:38 +0000 (23:09 +0200)]
Don't use obsolete channel-based triggers.

10 years agoHeader: Do not clip away the selection.
Jens Steinhauser [Sat, 24 May 2014 15:36:17 +0000 (17:36 +0200)]
Header: Do not clip away the selection.

10 years agoCursorHeader: Do not clip away the selection.
Jens Steinhauser [Sat, 24 May 2014 14:41:22 +0000 (16:41 +0200)]
CursorHeader: Do not clip away the selection.

10 years agoCursorHeader: Use the same number format as the ruler.
Jens Steinhauser [Wed, 21 May 2014 13:02:13 +0000 (15:02 +0200)]
CursorHeader: Use the same number format as the ruler.

10 years agoCursorHeader: Make the size dependend on the used font.
Jens Steinhauser [Wed, 21 May 2014 10:16:03 +0000 (12:16 +0200)]
CursorHeader: Make the size dependend on the used font.

10 years agoUse a separate widget to hold the cursor labels.
Jens Steinhauser [Fri, 23 May 2014 19:36:54 +0000 (21:36 +0200)]
Use a separate widget to hold the cursor labels.

This way the cursor labels don't overlap with the ruler.

10 years agoMainWindow: Remember directory of last file that was opened/saved.
Jens Steinhauser [Fri, 23 May 2014 15:29:49 +0000 (17:29 +0200)]
MainWindow: Remember directory of last file that was opened/saved.

10 years agomain: Use only the domain, not the whole URL.
Jens Steinhauser [Fri, 23 May 2014 15:05:17 +0000 (17:05 +0200)]
main: Use only the domain, not the whole URL.

10 years agoDeviceOptions::print_vdiv: Replace C-style string formatting with QString arg formatting
Joel Holdsworth [Sat, 24 May 2014 10:23:08 +0000 (11:23 +0100)]
DeviceOptions::print_vdiv: Replace C-style string formatting with QString arg formatting

10 years agoReplaced boost::bind with C++11 lambdas
Joel Holdsworth [Sat, 24 May 2014 10:17:27 +0000 (11:17 +0100)]
Replaced boost::bind with C++11 lambdas

10 years agoReplaced boost::function with std::function
Joel Holdsworth [Fri, 23 May 2014 22:32:20 +0000 (23:32 +0100)]
Replaced boost::function with std::function

10 years agoUsed a std::atomic for StoreSession::_units_stores and _unit_count
Joel Holdsworth [Fri, 23 May 2014 22:22:37 +0000 (23:22 +0100)]
Used a std::atomic for StoreSession::_units_stores and _unit_count

10 years agoReplaced boost::thread/mutex etc. with std equivalents
Joel Holdsworth [Tue, 20 May 2014 22:51:00 +0000 (23:51 +0100)]
Replaced boost::thread/mutex etc. with std equivalents

10 years agoReplaced boost::shared_ptr with std::shared_ptr
Joel Holdsworth [Tue, 20 May 2014 21:58:55 +0000 (22:58 +0100)]
Replaced boost::shared_ptr with std::shared_ptr

10 years agoReplaced BOOST_FOREACH with C++11 range-based for loops
Joel Holdsworth [Tue, 20 May 2014 21:15:50 +0000 (22:15 +0100)]
Replaced BOOST_FOREACH with C++11 range-based for loops

10 years agoReplaced lengthy iterator types with the auto keyword
Joel Holdsworth [Tue, 20 May 2014 18:21:06 +0000 (19:21 +0100)]
Replaced lengthy iterator types with the auto keyword

10 years agoEnabled C++11 build
Joel Holdsworth [Tue, 20 May 2014 18:20:29 +0000 (19:20 +0100)]
Enabled C++11 build

10 years agoHeader: Invisible traces shouldn't influence the width.
Jens Steinhauser [Thu, 22 May 2014 20:03:28 +0000 (22:03 +0200)]
Header: Invisible traces shouldn't influence the width.

10 years agoSamplingBar: Use nicer time format in the tooltip.
Jens Steinhauser [Thu, 22 May 2014 20:03:23 +0000 (22:03 +0200)]
SamplingBar: Use nicer time format in the tooltip.

10 years agoPut the time format function into a separate file.
Jens Steinhauser [Thu, 22 May 2014 20:03:22 +0000 (22:03 +0200)]
Put the time format function into a separate file.

10 years agoSamplingBar: Show total sampling time in a tooltip.
Jens Steinhauser [Thu, 22 May 2014 20:03:21 +0000 (22:03 +0200)]
SamplingBar: Show total sampling time in a tooltip.

10 years agoSigSession: Fix typo in comment.
Jens Steinhauser [Thu, 22 May 2014 20:03:20 +0000 (22:03 +0200)]
SigSession: Fix typo in comment.

10 years agoMainWindow: Add missing toolbar buttons.
Jens Steinhauser [Thu, 22 May 2014 20:03:18 +0000 (22:03 +0200)]
MainWindow: Add missing toolbar buttons.

10 years agoMainWindow: Add shortcuts for the open/save menu items.
Jens Steinhauser [Thu, 22 May 2014 20:03:16 +0000 (22:03 +0200)]
MainWindow: Add shortcuts for the open/save menu items.

10 years agoBump PulseView version to 0.2.0. pulseview-0.2.x pulseview-0.2.0
Uwe Hermann [Tue, 6 May 2014 21:43:20 +0000 (23:43 +0200)]
Bump PulseView version to 0.2.0.

10 years agoBump libsigrok/libsigrokdecode dependencies to 0.3.0 each.
Uwe Hermann [Tue, 6 May 2014 21:41:25 +0000 (23:41 +0200)]
Bump libsigrok/libsigrokdecode dependencies to 0.3.0 each.

10 years agoNEWS: Add list of user-visible changes so far.
Uwe Hermann [Tue, 6 May 2014 07:00:00 +0000 (09:00 +0200)]
NEWS: Add list of user-visible changes so far.

10 years agoFix polymorphic function lookup problem
Marcus Comstedt [Sun, 6 Apr 2014 15:04:42 +0000 (17:04 +0200)]
Fix polymorphic function lookup problem

Instead of taking min() of a qreal and a double, use two doubles.
(The result is assigned to a double anyway.)

Fixes build problem on Android

10 years agoINSTALL: Mention missing dependency libboost-filesystem.
Uwe Hermann [Sun, 13 Apr 2014 19:09:34 +0000 (21:09 +0200)]
INSTALL: Mention missing dependency libboost-filesystem.

10 years agoRename 'probe' to 'channel' (libsigrokdecode change).
Uwe Hermann [Sat, 5 Apr 2014 12:00:56 +0000 (14:00 +0200)]
Rename 'probe' to 'channel' (libsigrokdecode change).

Variables of type 'struct srd_channel *' are consistently named 'pdch' to
make them easily distinguishable from libsigrok's 'struct sr_channel *'
variables that are consistently named 'ch'.

10 years agonsis: Drop embedded Python installer, ship local DLL and modules.
Uwe Hermann [Fri, 4 Apr 2014 17:58:23 +0000 (19:58 +0200)]
nsis: Drop embedded Python installer, ship local DLL and modules.

10 years agoFixed test suite when ENABLE_DECODE=n
Joel Holdsworth [Tue, 25 Mar 2014 20:53:08 +0000 (20:53 +0000)]
Fixed test suite when ENABLE_DECODE=n

10 years agoDeviceOptions: Added an error handler for the case when a device exposes an enum...
Joel Holdsworth [Sun, 23 Mar 2014 14:24:58 +0000 (14:24 +0000)]
DeviceOptions: Added an error handler for the case when a device exposes an enum with no values list

10 years agoUpdate for 'probe' -> 'channel' rename in libsigrok.
Uwe Hermann [Mon, 24 Mar 2014 21:49:57 +0000 (22:49 +0100)]
Update for 'probe' -> 'channel' rename in libsigrok.

This is an update related to bug #259.

10 years agoUpdate for 'probe_group' -> 'channel_group' rename in libsigrok.
Uwe Hermann [Thu, 20 Mar 2014 22:19:35 +0000 (23:19 +0100)]
Update for 'probe_group' -> 'channel_group' rename in libsigrok.

This is an update related to bug #259.

10 years agoHeader/Viewport: Manually trigger the signals_changed event at construction
Joel Holdsworth [Sat, 22 Mar 2014 10:20:44 +0000 (10:20 +0000)]
Header/Viewport: Manually trigger the signals_changed event at construction

This fixes #338

10 years agonsis: Put sigrok-dumps *.sr files into the installer.
Uwe Hermann [Thu, 20 Mar 2014 12:18:36 +0000 (13:18 +0100)]
nsis: Put sigrok-dumps *.sr files into the installer.

These are useful for people to have around for conveniently testing
various frontend features and protocol decoders etc.

10 years agoReworked SamplingBar device selection logic
Joel Holdsworth [Sun, 16 Mar 2014 09:54:04 +0000 (10:54 +0100)]
Reworked SamplingBar device selection logic

  * Split on_device_selected into update_device_config_widgets. This allows
    the widgets to be updated with calling SigSession::set_device.

  * Don't rely on the on_device_selected event handler to update the device
    config widgets. If MainWindow selects a device, that device may be the
    0th drop-down element, and already selected in which case there will be
    no device_selected signal, because there was no change in the selection.
    We now surpress on_device_selected with _updating_device_selector, then
    set the selected device in the drop-down, then call
    update_device_config_widgets to manually update the widgets.

  * Combined set_selected_device into set_device_list, so that the two can
    be set in one operation.

  * This fixes bug #334

10 years agoSet PopupToolButton::_popup to NULL at construction
Joel Holdsworth [Sat, 15 Mar 2014 18:56:17 +0000 (19:56 +0100)]
Set PopupToolButton::_popup to NULL at construction

10 years agoRevert back to the default device if a session file failed to load
Joel Holdsworth [Sat, 15 Mar 2014 08:28:33 +0000 (09:28 +0100)]
Revert back to the default device if a session file failed to load

This fixes #331

10 years agoDon't show decoders with probes in the Stack Decoder menu
Joel Holdsworth [Sat, 15 Mar 2014 07:58:58 +0000 (08:58 +0100)]
Don't show decoders with probes in the Stack Decoder menu

This fixes #333

10 years agoDon't allow disabled probes to be selected
Joel Holdsworth [Sat, 15 Mar 2014 07:48:49 +0000 (08:48 +0100)]
Don't allow disabled probes to be selected

This fixes #313

10 years agoDo not attempt to draw text for small annotations
Joel Holdsworth [Wed, 5 Mar 2014 21:33:02 +0000 (22:33 +0100)]
Do not attempt to draw text for small annotations

10 years agoRemoved undefined Annotation::set_row and set_pd_index
Joel Holdsworth [Wed, 5 Mar 2014 20:25:07 +0000 (21:25 +0100)]
Removed undefined Annotation::set_row and set_pd_index

10 years agoEnum: Reference gvariants in the values list
Joel Holdsworth [Tue, 11 Mar 2014 23:17:45 +0000 (00:17 +0100)]
Enum: Reference gvariants in the values list

10 years agoEnum: Use an iterator instead of iterating by indexes
Joel Holdsworth [Wed, 12 Mar 2014 20:34:37 +0000 (21:34 +0100)]
Enum: Use an iterator instead of iterating by indexes

10 years agoAdded decoder options binding for double values
Joel Holdsworth [Tue, 11 Mar 2014 22:35:02 +0000 (23:35 +0100)]
Added decoder options binding for double values

10 years agoAddded support for decoder options with a values list
Joel Holdsworth [Mon, 10 Mar 2014 23:46:09 +0000 (00:46 +0100)]
Addded support for decoder options with a values list

10 years agoMoved print_gvariant into DeviceOptions
Joel Holdsworth [Mon, 10 Mar 2014 22:11:11 +0000 (23:11 +0100)]
Moved print_gvariant into DeviceOptions

10 years agonsis: Fix the "working dir" path for PulseView.
Uwe Hermann [Tue, 11 Mar 2014 22:19:28 +0000 (23:19 +0100)]
nsis: Fix the "working dir" path for PulseView.

This was previously incorrectly set to the firmware/ subdir which
resulted in PDs not showing up in PulseView's Decoders->Add menu.

Thanks to Peter Newman for bringing up this issue.

10 years agoFix typo in header guard causing warning
Priit Laes [Fri, 7 Mar 2014 12:21:52 +0000 (14:21 +0200)]
Fix typo in header guard causing warning

10 years agoAdded missing include for boost::hash_combine
Joel Holdsworth [Tue, 4 Mar 2014 22:40:58 +0000 (22:40 +0000)]
Added missing include for boost::hash_combine

10 years agoOnly show first-level decoders in the menu
Joel Holdsworth [Tue, 4 Mar 2014 19:10:21 +0000 (19:10 +0000)]
Only show first-level decoders in the menu

10 years agoRemoved assert from DecoderStack
Joel Holdsworth [Tue, 4 Mar 2014 19:04:41 +0000 (19:04 +0000)]
Removed assert from DecoderStack

10 years agoFixed non-painting decode
Joel Holdsworth [Mon, 3 Mar 2014 22:27:50 +0000 (22:27 +0000)]
Fixed non-painting decode

10 years agoOnly update the decode state when decoding
Joel Holdsworth [Mon, 3 Mar 2014 22:13:40 +0000 (22:13 +0000)]
Only update the decode state when decoding

10 years agoCheck required probes before starting the decode thread
Joel Holdsworth [Mon, 3 Mar 2014 22:03:57 +0000 (22:03 +0000)]
Check required probes before starting the decode thread

10 years agoAdded an error message there are some unspecified required probes
Joel Holdsworth [Mon, 3 Mar 2014 18:51:14 +0000 (18:51 +0000)]
Added an error message there are some unspecified required probes

10 years agoRemoved unused parameter in DecoderStack::decode_proc
Joel Holdsworth [Mon, 3 Mar 2014 09:10:37 +0000 (09:10 +0000)]
Removed unused parameter in DecoderStack::decode_proc

Change-Id: I6ac5ef33b616f8e15628eb8888148140b19ad8e1

10 years agoNotify repaint after decode_data instead of inside annotation_callback
Joel Holdsworth [Sun, 2 Mar 2014 21:40:13 +0000 (21:40 +0000)]
Notify repaint after decode_data instead of inside annotation_callback

10 years agoEnable decode support by default
Joel Holdsworth [Sun, 2 Mar 2014 19:50:52 +0000 (19:50 +0000)]
Enable decode support by default

10 years agoImplemented threaded decode
Joel Holdsworth [Sun, 2 Mar 2014 17:27:12 +0000 (17:27 +0000)]
Implemented threaded decode

10 years agoRenamed DecoderStack::_mutex to _output_mutex
Joel Holdsworth [Sun, 2 Mar 2014 16:26:29 +0000 (16:26 +0000)]
Renamed DecoderStack::_mutex to _output_mutex

10 years agoRenamed SigSession::data_updated signal to data_received, and added the frame_ended...
Joel Holdsworth [Sun, 16 Feb 2014 21:24:44 +0000 (21:24 +0000)]
Renamed SigSession::data_updated signal to data_received, and added the frame_ended signal

10 years agoMoved inner decode loop into DecoderStack::decode_data
Joel Holdsworth [Sun, 16 Feb 2014 15:22:25 +0000 (15:22 +0000)]
Moved inner decode loop into DecoderStack::decode_data

10 years agoBegin a new decode session when a new frame begins
Joel Holdsworth [Sun, 16 Feb 2014 11:46:21 +0000 (11:46 +0000)]
Begin a new decode session when a new frame begins

10 years agoAdded a reference to the SigSession in DecoderStack
Joel Holdsworth [Sun, 16 Feb 2014 11:01:30 +0000 (11:01 +0000)]
Added a reference to the SigSession in DecoderStack

10 years agoAdded LogicSignal::get_data
Joel Holdsworth [Sun, 16 Feb 2014 10:55:27 +0000 (10:55 +0000)]
Added LogicSignal::get_data

10 years agoSamplingBar: Only use DefaultSampleCount if the _sample_count widget is unset.
Joel Holdsworth [Sat, 1 Mar 2014 16:30:07 +0000 (16:30 +0000)]
SamplingBar: Only use DefaultSampleCount if the _sample_count widget is unset.

This fixes bug #324

10 years agoUse boost::filesystem::path to get the filename from a path
Joel Holdsworth [Sat, 1 Mar 2014 10:49:05 +0000 (10:49 +0000)]
Use boost::filesystem::path to get the filename from a path

10 years agoDon't attempt to set SR_CONF_LIMIT_SAMPLES when it's not supported
Joel Holdsworth [Wed, 26 Feb 2014 21:45:30 +0000 (22:45 +0100)]
Don't attempt to set SR_CONF_LIMIT_SAMPLES when it's not supported

10 years agoShow the file-device in the selector when a file is loaded
Joel Holdsworth [Wed, 26 Feb 2014 21:31:39 +0000 (22:31 +0100)]
Show the file-device in the selector when a file is loaded

10 years agoSamplingBar: Surpressed a spurious update loop
Joel Holdsworth [Sat, 1 Mar 2014 08:51:58 +0000 (08:51 +0000)]
SamplingBar: Surpressed a spurious update loop

10 years agoMoved default device functionality into SigSession
Joel Holdsworth [Sat, 1 Mar 2014 08:51:37 +0000 (08:51 +0000)]
Moved default device functionality into SigSession

10 years agoMoved session creation into DevInst objects
Joel Holdsworth [Sat, 22 Feb 2014 12:45:36 +0000 (12:45 +0000)]
Moved session creation into DevInst objects

10 years agoRemoved a redundant call to SigSession::set_device
Joel Holdsworth [Sat, 22 Feb 2014 17:24:21 +0000 (17:24 +0000)]
Removed a redundant call to SigSession::set_device

10 years agoMoved SigSession::is_trigger_enabled into DevInst
Joel Holdsworth [Sat, 22 Feb 2014 12:57:04 +0000 (12:57 +0000)]
Moved SigSession::is_trigger_enabled into DevInst

10 years agoMoved DevInst::_sdi down into Device
Joel Holdsworth [Sat, 22 Feb 2014 10:35:39 +0000 (10:35 +0000)]
Moved DevInst::_sdi down into Device

10 years agoMoved DeviceManager::use_device and release_device into DevInst
Joel Holdsworth [Sat, 22 Feb 2014 09:23:33 +0000 (09:23 +0000)]
Moved DeviceManager::use_device and release_device into DevInst

10 years agoMade DeviceManager only handle Device objects
Joel Holdsworth [Sat, 22 Feb 2014 09:01:23 +0000 (09:01 +0000)]
Made DeviceManager only handle Device objects

10 years agoAdded pv::device::Device
Joel Holdsworth [Wed, 19 Feb 2014 22:50:07 +0000 (22:50 +0000)]
Added pv::device::Device

10 years agoMoved DevInst into the pv::device namespace
Joel Holdsworth [Wed, 19 Feb 2014 22:18:01 +0000 (22:18 +0000)]
Moved DevInst into the pv::device namespace

10 years agoIn View::zoom_one_to_one use View::get_visible_data
Joel Holdsworth [Sun, 16 Feb 2014 10:14:08 +0000 (10:14 +0000)]
In View::zoom_one_to_one use View::get_visible_data

10 years agoLogicSignal: Un-break trigger configuration. (bug #318)
Daniel Elstner [Thu, 27 Feb 2014 22:56:28 +0000 (23:56 +0100)]
LogicSignal: Un-break trigger configuration. (bug #318)

10 years agoDon't join with non-threads. Fixes 323
Marcus Comstedt [Sat, 22 Feb 2014 11:15:54 +0000 (12:15 +0100)]
Don't join with non-threads.  Fixes 323

10 years agoPass new unit_size argument to srd_inst_probe_set_all()
Daniel Elstner [Thu, 20 Feb 2014 05:33:21 +0000 (06:33 +0100)]
Pass new unit_size argument to srd_inst_probe_set_all()

10 years agodecode: Fix mixup of bytes vs samples
Daniel Elstner [Tue, 18 Feb 2014 22:41:33 +0000 (23:41 +0100)]
decode: Fix mixup of bytes vs samples

(DecoderStack::decode_proc): The final argument to srd_session_send()
is a byte count, not a sample count.
(LogicSnapshot::get_samples): Multiply start_sample by the unit size
to get the byte offset into the buffer.

10 years agomemaccess.cmake: Use STATUS instead of WARNING for output.
Uwe Hermann [Thu, 20 Feb 2014 13:35:28 +0000 (14:35 +0100)]
memaccess.cmake: Use STATUS instead of WARNING for output.

Using STATUS looks nicer here (and it's an informational message only).

Old:
CMake Warning at CMake/memaccess.cmake:39 (MESSAGE):
  Cross compiling - using portable code for memory access
Call Stack (most recent call first):
  CMakeLists.txt:93 (memaccess_check_unaligned_le)

New:
-- Cross compiling - using portable code for memory access

10 years agomemaccess.cmake: Cosmetics, whitespace, consistency fixes.
Uwe Hermann [Thu, 20 Feb 2014 13:34:47 +0000 (14:34 +0100)]
memaccess.cmake: Cosmetics, whitespace, consistency fixes.

Match the rest of PulseView's CMake file conventions more closely.

10 years agoSkip check for unportable sample pack/unpack when cross-compiling
Marcus Comstedt [Wed, 19 Feb 2014 18:40:34 +0000 (19:40 +0100)]
Skip check for unportable sample pack/unpack when cross-compiling

10 years agoCheck if unportable sample pack/unpack works and in that case use it.
Marcus Comstedt [Sun, 4 Aug 2013 22:35:02 +0000 (00:35 +0200)]
Check if unportable sample pack/unpack works and in that case use it.

10 years agoImplement portable LA sample packing and unpacking.
Marcus Comstedt [Sun, 4 Aug 2013 14:29:45 +0000 (16:29 +0200)]
Implement portable LA sample packing and unpacking.

10 years agoAdded row heading text
Joel Holdsworth [Thu, 13 Feb 2014 23:47:06 +0000 (23:47 +0000)]
Added row heading text

10 years agoFixed unit test CMakeLists.txt
Joel Holdsworth [Fri, 14 Feb 2014 17:29:28 +0000 (17:29 +0000)]
Fixed unit test CMakeLists.txt

Change-Id: Ib6f431ecc26e771ad18fb16118fe047eec8b734f