pulseview.git
9 years agoView: Change the type of tick_period to pv::util::Timestamp
Jens Steinhauser [Wed, 2 Sep 2015 09:25:37 +0000 (11:25 +0200)]
View: Change the type of tick_period to pv::util::Timestamp

This makes the tick position/label calculation in the ruler more precise,
avoiding rounded values for zero which would yield to "+0" or "-0" labels.

9 years agoRuler: Factor out the calculation of the tick spacing
Jens Steinhauser [Thu, 3 Sep 2015 13:26:17 +0000 (15:26 +0200)]
Ruler: Factor out the calculation of the tick spacing

This avoids useless recalculations of the tick spacings on every mouse
pointer move and makes the function easier to test.

9 years agoRuler: Fix tick mark calculation
Jens Steinhauser [Sun, 30 Aug 2015 12:16:11 +0000 (14:16 +0200)]
Ruler: Fix tick mark calculation

Prior to this change, due to floating point errors the loop that
calculates the tick mark positions could loop thousands of iterations
while zooming in at high time values, blocking the whole UI and leading
to distorted text in the end.

9 years agoUse typesafe enum classes in pv::util
Jens Steinhauser [Sun, 30 Aug 2015 21:20:21 +0000 (23:20 +0200)]
Use typesafe enum classes in pv::util

9 years agoAdd a spin box widget for timestamp values
Jens Steinhauser [Sat, 29 Aug 2015 14:40:13 +0000 (16:40 +0200)]
Add a spin box widget for timestamp values

9 years agoformat_time(): Use the timestamp type in the calculation
Jens Steinhauser [Sun, 30 Aug 2015 21:11:31 +0000 (23:11 +0200)]
format_time(): Use the timestamp type in the calculation

9 years agoformat_si_value(): Use the timestamp type in the calculation
Jens Steinhauser [Sat, 29 Aug 2015 14:57:37 +0000 (16:57 +0200)]
format_si_value(): Use the timestamp type in the calculation

9 years agoUse a type with a greater resolution to represent time values
Jens Steinhauser [Sun, 30 Aug 2015 21:00:34 +0000 (23:00 +0200)]
Use a type with a greater resolution to represent time values

Fixes #627.

9 years agoRemove unused arguments from 'format_time()'
Jens Steinhauser [Fri, 28 Aug 2015 15:34:29 +0000 (17:34 +0200)]
Remove unused arguments from 'format_time()'

This function is already complicated enough (it tries to guess in what
context it is currently used and changes its behaviour accordingly), so
remove the unused parameters to make it somewhat comprehensible.

9 years agoFix #605 by closing current device when another is selected
Soeren Apel [Fri, 4 Sep 2015 01:34:08 +0000 (03:34 +0200)]
Fix #605 by closing current device when another is selected

As the device manager class holds a pointer to all devices
they will never be destroyed until PV exits. Devices are
opened with the first call to create() but only closed in
the destructor. Together, this results in devices never
being closed.

This patch fixes this by renaming create() to open()
and introducing a matching close() method that the
session class calls when a different device is to be
selected.

9 years agoFix #592 completely by showing the actual error message
Soeren Apel [Fri, 28 Aug 2015 06:35:56 +0000 (08:35 +0200)]
Fix #592 completely by showing the actual error message

Before, the supplied infoMessage was ignored (unnamed parameter)
and instead the local variable infoMessage was used, which was
empty. For this reason, the cause of the error never showed.

9 years agoDon't try to store a reference to a shared pointer.
Martin Ling [Tue, 25 Aug 2015 18:30:39 +0000 (19:30 +0100)]
Don't try to store a reference to a shared pointer.

Fixes #596.

9 years agoRuler scale calculation optimization
Soeren Apel [Mon, 24 Aug 2015 19:25:04 +0000 (21:25 +0200)]
Ruler scale calculation optimization

9 years agoFix wrong ruler scale after loading a file
Soeren Apel [Mon, 24 Aug 2015 19:23:32 +0000 (21:23 +0200)]
Fix wrong ruler scale after loading a file

9 years agoFix #595 by correctly handling UINT64_MAX and INT_MAX boundaries
Soeren Apel [Mon, 24 Aug 2015 16:21:15 +0000 (18:21 +0200)]
Fix #595 by correctly handling UINT64_MAX and INT_MAX boundaries

By using an int64_t to hold UINT64_MAX, it was made to overflow
to -1. This lead to range_min=0 and range_max=-1, resulting in
a disabled spin button.

9 years agoFix #597 by disabling device-related toolbar buttons as necessary
Soeren Apel [Mon, 24 Aug 2015 14:56:05 +0000 (16:56 +0200)]
Fix #597 by disabling device-related toolbar buttons as necessary

9 years agoFix #510 by disabling removal of the last decoder from the popup
Soeren Apel [Mon, 24 Aug 2015 10:32:11 +0000 (12:32 +0200)]
Fix #510 by disabling removal of the last decoder from the popup

9 years agoProvide short-term fix for #627 by limiting zoom range to 100 ps
Soeren Apel [Sun, 23 Aug 2015 12:21:33 +0000 (14:21 +0200)]
Provide short-term fix for #627 by limiting zoom range to 100 ps

9 years agoUtil: Fix malformed time formatting
Soeren Apel [Sun, 23 Aug 2015 12:20:59 +0000 (14:20 +0200)]
Util: Fix malformed time formatting

9 years agoRestore the default of "pulseview foo.sr" opening the file.
Uwe Hermann [Fri, 21 Aug 2015 13:23:58 +0000 (15:23 +0200)]
Restore the default of "pulseview foo.sr" opening the file.

This used to work in e.g. the 0.2.0 release and is much more convenient
than having to supply "-i" for every file. It also allows for (easier, at
least) association of the .sr extension with PulseView on most OSes.

9 years agoPass unitsize to srd_session_send() directly.
Uwe Hermann [Thu, 20 Aug 2015 17:51:15 +0000 (19:51 +0200)]
Pass unitsize to srd_session_send() directly.

Follow an API change in libsigrokdecode where srd_inst_channel_set_all()
no longer gets passed a unitsize, but rather srd_session_send() gets it.

9 years agoFix #626 by stopping acquisition gracefully
Soeren Apel [Wed, 19 Aug 2015 19:34:11 +0000 (21:34 +0200)]
Fix #626 by stopping acquisition gracefully

9 years agoFix #622 by using the actual sample count per segment
Soeren Apel [Sun, 16 Aug 2015 12:25:55 +0000 (14:25 +0200)]
Fix #622 by using the actual sample count per segment

Currently, each segment is as big as the sample limit
(in the bug report: 1G samples), wasting huge amounts
of memory.

9 years agoView: Allow ScaleUnits[0] to actually be used
Soeren Apel [Sat, 15 Aug 2015 21:11:52 +0000 (23:11 +0200)]
View: Allow ScaleUnits[0] to actually be used

Without this patch, no major tick on the ruler will ever
begin with a '1' but only with '2' or '5'. This behavior
can also be observed with current sigrok git head, so it
is independent of my util/view/ruler patch set.

9 years agoView: Use max time to calculate label length, not offset_
Soeren Apel [Sat, 15 Aug 2015 21:05:18 +0000 (23:05 +0200)]
View: Use max time to calculate label length, not offset_

Using offset_ gives false results, in particular when
offset_ happens to be 0. With this fix, realistic values
are used for the label length calculation.

9 years agoUtil: Fix issue where t=0 randomly shows up as +0 or -0
Soeren Apel [Wed, 12 Aug 2015 15:34:09 +0000 (17:34 +0200)]
Util: Fix issue where t=0 randomly shows up as +0 or -0

9 years agoUtil: Refactor format_time()
Soeren Apel [Wed, 12 Aug 2015 15:32:57 +0000 (17:32 +0200)]
Util: Refactor format_time()

9 years agoView/Ruler: Calculate and use tick precision
Soeren Apel [Mon, 10 Aug 2015 07:26:43 +0000 (09:26 +0200)]
View/Ruler: Calculate and use tick precision

9 years agoUtil: Introduce DD:HH:MM:SS.mmm nnn ppp fff format
Soeren Apel [Mon, 10 Aug 2015 07:11:43 +0000 (09:11 +0200)]
Util: Introduce DD:HH:MM:SS.mmm nnn ppp fff format

This also fixes bug #371.

9 years agoView: Separate data changed/capture state changed events
Soeren Apel [Mon, 10 Aug 2015 06:21:53 +0000 (08:21 +0200)]
View: Separate data changed/capture state changed events

9 years agoView: Determine time unit and use it in other classes
Soeren Apel [Sun, 9 Aug 2015 18:41:03 +0000 (20:41 +0200)]
View: Determine time unit and use it in other classes

9 years agoIntroduce time units
Soeren Apel [Sun, 9 Aug 2015 18:32:41 +0000 (20:32 +0200)]
Introduce time units

9 years agoFix #615 by opening the output stream only if needed
Soeren Apel [Sat, 15 Aug 2015 21:14:17 +0000 (23:14 +0200)]
Fix #615 by opening the output stream only if needed

9 years agonsis: Add start menu entries for Zadig.
Uwe Hermann [Sun, 9 Aug 2015 15:25:49 +0000 (17:25 +0200)]
nsis: Add start menu entries for Zadig.

This fixes bug #542.

9 years agoBump Boost requirement to >= 1.48.
Uwe Hermann [Sat, 8 Aug 2015 17:19:47 +0000 (19:19 +0200)]
Bump Boost requirement to >= 1.48.

Older versions of Boost have issues with C++11 due to boost::shared_ptr.

Details:
http://stackoverflow.com/questions/18900730/boostshared-ptrshared-ptrconst-boostshared-ptr-is-implicitly-declared
https://svn.boost.org/trac/boost/changeset/73202

This seems to have been fixed in Boost 1.48 (untested, though).

This closes bug #593.

9 years agoFix include guards and accidential const removal
Soeren Apel [Thu, 6 Aug 2015 18:44:13 +0000 (20:44 +0200)]
Fix include guards and accidential const removal

9 years agoFix #404 by only saving enabled signals
Soeren Apel [Fri, 31 Jul 2015 06:22:40 +0000 (08:22 +0200)]
Fix #404 by only saving enabled signals

9 years agoFix #599 by supplying correct length to create_logic_packet()
Soeren Apel [Fri, 31 Jul 2015 05:33:23 +0000 (07:33 +0200)]
Fix #599 by supplying correct length to create_logic_packet()

9 years agoStoreSession: Supply filename to the output module directly
Soeren Apel [Wed, 29 Jul 2015 19:28:17 +0000 (21:28 +0200)]
StoreSession: Supply filename to the output module directly

This fixes parts of bug #570.

9 years agoSimplify signal clearing in Session::start_capture
Soeren Apel [Wed, 29 Jul 2015 10:04:29 +0000 (12:04 +0200)]
Simplify signal clearing in Session::start_capture

9 years agoChange hotkey for sticky scrolling from 'r' to 's'
Soeren Apel [Wed, 29 Jul 2015 10:04:03 +0000 (12:04 +0200)]
Change hotkey for sticky scrolling from 'r' to 's'

9 years agobuild: Only try to read the VERSION file if it exists
Daniel Elstner [Sat, 25 Jul 2015 20:31:05 +0000 (22:31 +0200)]
build: Only try to read the VERSION file if it exists

9 years agoabout: Show the list of supported output formats.
Uwe Hermann [Sat, 25 Jul 2015 17:43:42 +0000 (19:43 +0200)]
about: Show the list of supported output formats.

PulseView now officially supports output formats, so list them too.

9 years agoBuild: Make hardcoded version override git tag
Daniel Elstner [Thu, 23 Jul 2015 21:31:25 +0000 (23:31 +0200)]
Build: Make hardcoded version override git tag

Reintroduce the hard-coded version number in CMakeList.txt, but
still check for a tagged version. If the hard-coded version is
more recent than the latest tag, then use that but with a "-pre"
suffix in place of the patch level.

In either case, still append the revision hash and possibly the
dirty flag to the version, unless git HEAD exactly matches a tag.

9 years agoBuild: Use -dirty version suffix for local changes
Daniel Elstner [Sat, 18 Jul 2015 20:47:11 +0000 (22:47 +0200)]
Build: Use -dirty version suffix for local changes

Pass --dirty to git describe.  This needed a slight hack to
GetGitRevisionDescription.cmake to make it work.  Also pass
--tags to make git include lightweight tags in its search.

9 years agobuild: Derive PulseView version from git tags
Daniel Elstner [Sat, 18 Jul 2015 19:36:51 +0000 (21:36 +0200)]
build: Derive PulseView version from git tags

Derive the PulseView version numbers and suffix from the git
repository if available. In order to make builds from source
tarballs work, also include a generated VERSION file in the
source package generated by CPack.

The included GetGitRevisionDescription.cmake file is a copy
from the https://github.com/rpavlik/cmake-modules repository.

9 years agoMinor whitespace fixes.
Uwe Hermann [Sat, 25 Jul 2015 16:05:11 +0000 (18:05 +0200)]
Minor whitespace fixes.

9 years agoImplement "always zoom to fit" feature
Soeren Apel [Fri, 24 Jul 2015 05:55:29 +0000 (07:55 +0200)]
Implement "always zoom to fit" feature

9 years agoFix #121 by implementing sticky scrolling
Soeren Apel [Thu, 23 Jul 2015 21:30:44 +0000 (23:30 +0200)]
Fix #121 by implementing sticky scrolling

9 years agoTests: Add required files to CMakeLists.txt
Soeren Apel [Thu, 23 Jul 2015 18:48:42 +0000 (20:48 +0200)]
Tests: Add required files to CMakeLists.txt

9 years agoSession: Clear signal data before starting capture
Soeren Apel [Thu, 23 Jul 2015 18:48:21 +0000 (20:48 +0200)]
Session: Clear signal data before starting capture

9 years agodecoderstack: Fix incorrect end sample number.
Uwe Hermann [Thu, 23 Jul 2015 15:07:21 +0000 (17:07 +0200)]
decoderstack: Fix incorrect end sample number.

PulseView was invoking srd_session_send() with an incorrect end
sample number (and thus incorrect sample count).

Example 1: 5000000 samples, unitsize 1

Before the fix:
srd: Calling decode(), start sample 0, end sample 5000000 (5000000 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4096, end sample 5004096 (5000000 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 8192, end sample 5008192 (5000000 samples, 4096 bytes, unitsize = 1), instance am230x.
[...]
srd: Calling decode(), start sample 4988928, end sample 9988928 (5000000 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4993024, end sample 9993024 (5000000 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4997120, end sample 9997120 (5000000 samples, 2880 bytes, unitsize = 1), instance am230x.

After the fix:
srd: Calling decode(), start sample 0, end sample 4096 (4096 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4096, end sample 8192 (4096 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 8192, end sample 12288 (4096 samples, 4096 bytes, unitsize = 1), instance am230x.
[...]
srd: Calling decode(), start sample 4988928, end sample 4993024 (4096 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4993024, end sample 4997120 (4096 samples, 4096 bytes, unitsize = 1), instance am230x.
srd: Calling decode(), start sample 4997120, end sample 5000000 (2880 samples, 2880 bytes, unitsize = 1), instance am230x.

Example 2: 5000 samples, unitsize 5

Before the fix:
srd: Calling decode(), start sample 0, end sample 5000 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 819, end sample 5819 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 1638, end sample 6638 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 2457, end sample 7457 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 3276, end sample 8276 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 4095, end sample 9095 (5000 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 4914, end sample 9914 (5000 samples, 430 bytes, unitsize = 5), instance z80.

After the fix:
srd: Calling decode(), start sample 0, end sample 819 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 819, end sample 1638 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 1638, end sample 2457 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 2457, end sample 3276 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 3276, end sample 4095 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 4095, end sample 4914 (819 samples, 4095 bytes, unitsize = 5), instance z80.
srd: Calling decode(), start sample 4914, end sample 5000 (86 samples, 430 bytes, unitsize = 5), instance z80.

9 years agoMainBar: Re-check sample count/rate when needed
Soeren Apel [Tue, 14 Jul 2015 16:30:22 +0000 (18:30 +0200)]
MainBar: Re-check sample count/rate when needed

9 years agoHardwareDevice: Whitespace fix
Soeren Apel [Wed, 1 Jul 2015 14:36:32 +0000 (16:36 +0200)]
HardwareDevice: Whitespace fix

9 years agoFix #602 by keeping track of device state internally
Soeren Apel [Wed, 1 Jul 2015 14:35:29 +0000 (16:35 +0200)]
Fix #602 by keeping track of device state internally

9 years agoAdded initial Doxygen configuration
Joel Holdsworth [Sat, 4 Jul 2015 23:35:09 +0000 (00:35 +0100)]
Added initial Doxygen configuration

9 years agoBuild-depend on the upcoming libsigrok + libsigrokdecode 0.4.0.
Uwe Hermann [Sat, 18 Jul 2015 16:08:24 +0000 (18:08 +0200)]
Build-depend on the upcoming libsigrok + libsigrokdecode 0.4.0.

9 years agoBump version to 0.3.0 (the upcoming next major release).
Uwe Hermann [Sat, 18 Jul 2015 15:47:44 +0000 (17:47 +0200)]
Bump version to 0.3.0 (the upcoming next major release).

9 years agoAppend "-git" to the version string.
Uwe Hermann [Sat, 18 Jul 2015 15:46:04 +0000 (17:46 +0200)]
Append "-git" to the version string.

This avoids confusion with the released tarballs.

This fixes bug #609.

9 years agoMainBar: Change calling order and flag usage for sample count, too
Soeren Apel [Tue, 14 Jul 2015 16:27:27 +0000 (18:27 +0200)]
MainBar: Change calling order and flag usage for sample count, too

9 years agoMainBar: Fix #594 by changing calling order and flag usage
Soeren Apel [Mon, 13 Jul 2015 19:00:10 +0000 (21:00 +0200)]
MainBar: Fix #594 by changing calling order and flag usage

The reason that the sampling rate button disappears after a
sampling rate was selected is that there's a flaw in the
chain of events:

on_sample_rate_changed() which calls
commit_sample_rate() which sets updating_sample_rate_ and calls
on_config_changed() which calls
update_sample_rate_selector() which...
...clears the list and exits because updating_sample_rate_ is set.

9 years agoView: Update signals without destroying layout
Joel Holdsworth [Sun, 28 Jun 2015 09:23:29 +0000 (10:23 +0100)]
View: Update signals without destroying layout

This fixes bug #536

9 years agoRowItemOwner: Added list_by_type
Joel Holdsworth [Sat, 13 Jun 2015 09:46:39 +0000 (10:46 +0100)]
RowItemOwner: Added list_by_type

9 years agoRowItemOwner: Added list_row_item_owners
Joel Holdsworth [Sat, 13 Jun 2015 09:19:14 +0000 (10:19 +0100)]
RowItemOwner: Added list_row_item_owners

9 years agoInputOutput: replace nullptr with boost::none in Double()
Bartosz Golaszewski [Mon, 29 Jun 2015 13:17:54 +0000 (15:17 +0200)]
InputOutput: replace nullptr with boost::none in Double()

Passing nullptr as the fourth argument in Double's constructor
seems to build fine on x86, but causes build failures on many
other architectures.

Replace it with boost::none.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
9 years agoSignal: Fix index variable declaration
Soeren Apel [Sat, 27 Jun 2015 11:33:59 +0000 (13:33 +0200)]
Signal: Fix index variable declaration

9 years agoFix #501 by deactivating the autocompleter for the signal popup
Soeren Apel [Sat, 27 Jun 2015 11:33:14 +0000 (13:33 +0200)]
Fix #501 by deactivating the autocompleter for the signal popup

9 years agoDevice: Fix bug introduced by b48daed which broke analog channels
Soeren Apel [Sat, 27 Jun 2015 11:31:35 +0000 (13:31 +0200)]
Device: Fix bug introduced by b48daed which broke analog channels

9 years agoFix #590 by adding menu actions to main window also
Soeren Apel [Sat, 27 Jun 2015 11:31:03 +0000 (13:31 +0200)]
Fix #590 by adding menu actions to main window also

9 years agoView: Use more reasonable default time scale
Soeren Apel [Sat, 27 Jun 2015 11:30:28 +0000 (13:30 +0200)]
View: Use more reasonable default time scale

9 years agoimportmenu: Fix libsigrokcxx.hpp #include.
Uwe Hermann [Thu, 11 Jun 2015 18:19:09 +0000 (20:19 +0200)]
importmenu: Fix libsigrokcxx.hpp #include.

9 years agotest: session: Fix a compiler warning/error.
Uwe Hermann [Thu, 11 Jun 2015 18:17:56 +0000 (20:17 +0200)]
test: session: Fix a compiler warning/error.

 [ 30%] Building CXX object
 test/CMakeFiles/pulseview-test.dir/__/pv/storesession.cpp.o
 [...]/pv/session.cpp:408:62: error: unused parameter ‘device’ [-Werror=unused-parameter]
  void Session::sample_thread_proc(shared_ptr<devices::Device> device,

9 years agoSupport specifying input formats on the command line
Joel Holdsworth [Sun, 12 Apr 2015 14:08:51 +0000 (15:08 +0100)]
Support specifying input formats on the command line

Also removes the signal dispatch that was previously used to delay
the file loading until after the constructor.

9 years agoMoved default device selection into MainWindow
Joel Holdsworth [Sun, 12 Apr 2015 15:32:38 +0000 (16:32 +0100)]
Moved default device selection into MainWindow

9 years agoMainWindow: Tidied restore_ui_settings
Joel Holdsworth [Sun, 12 Apr 2015 15:24:06 +0000 (16:24 +0100)]
MainWindow: Tidied restore_ui_settings

9 years agoView: Support having no selected device
Joel Holdsworth [Sun, 12 Apr 2015 15:12:55 +0000 (16:12 +0100)]
View: Support having no selected device

9 years agoDeviceToolButton: Support having no selected device
Joel Holdsworth [Sun, 12 Apr 2015 15:10:05 +0000 (16:10 +0100)]
DeviceToolButton: Support having no selected device

9 years agoMainBar: Support having no selected device
Joel Holdsworth [Sun, 12 Apr 2015 15:03:55 +0000 (16:03 +0100)]
MainBar: Support having no selected device

9 years agoReplaced NULL with nullptr
Joel Holdsworth [Sun, 12 Apr 2015 14:54:29 +0000 (15:54 +0100)]
Replaced NULL with nullptr

9 years agoReordered argument handling
Joel Holdsworth [Sun, 12 Apr 2015 13:24:58 +0000 (14:24 +0100)]
Reordered argument handling

9 years agoMainWindow: Added import options dialog
Joel Holdsworth [Thu, 22 Jan 2015 02:48:19 +0000 (21:48 -0500)]
MainWindow: Added import options dialog

9 years agoMainWindow: Added initial import menu with no options
Joel Holdsworth [Sat, 17 Jan 2015 15:58:21 +0000 (15:58 +0000)]
MainWindow: Added initial import menu with no options

9 years agoMainWindow: Added format parameters to load_file
Joel Holdsworth [Sat, 28 Mar 2015 13:25:41 +0000 (13:25 +0000)]
MainWindow: Added format parameters to load_file

9 years agoAdded InputFile
Joel Holdsworth [Fri, 3 Apr 2015 14:54:22 +0000 (15:54 +0100)]
Added InputFile

9 years agoSession: Support capture before the sigrok::Device object has been created
Joel Holdsworth [Fri, 17 Apr 2015 17:15:12 +0000 (18:15 +0100)]
Session: Support capture before the sigrok::Device object has been created

9 years agoSession: Use Device::read_config to read sample limit
Joel Holdsworth [Fri, 17 Apr 2015 23:22:02 +0000 (00:22 +0100)]
Session: Use Device::read_config to read sample limit

9 years agoDevice: Replaced Session::read_sample_rate with read_config
Joel Holdsworth [Fri, 17 Apr 2015 23:09:03 +0000 (00:09 +0100)]
Device: Replaced Session::read_sample_rate with read_config

9 years agoSession: Converted data_mutex_ into a std::recursive_mutex
Joel Holdsworth [Fri, 17 Apr 2015 17:08:39 +0000 (18:08 +0100)]
Session: Converted data_mutex_ into a std::recursive_mutex

9 years agoSession: Removed device parameter from update_signals
Joel Holdsworth [Fri, 17 Apr 2015 17:23:04 +0000 (18:23 +0100)]
Session: Removed device parameter from update_signals

9 years agoSession: Made update_signals handle having a missing device gracefully
Joel Holdsworth [Mon, 6 Apr 2015 09:14:30 +0000 (10:14 +0100)]
Session: Made update_signals handle having a missing device gracefully

9 years agoSession: Catch errors listing the config keys
Joel Holdsworth [Mon, 6 Apr 2015 09:11:59 +0000 (10:11 +0100)]
Session: Catch errors listing the config keys

9 years agobinding::Device: Catch errors listing the config keys
Joel Holdsworth [Mon, 6 Apr 2015 09:08:40 +0000 (10:08 +0100)]
binding::Device: Catch errors listing the config keys

9 years agoMainBar: Catch errors listing the config keys
Joel Holdsworth [Mon, 6 Apr 2015 09:06:34 +0000 (10:06 +0100)]
MainBar: Catch errors listing the config keys

9 years agoAdded devices::File as a common base of file devices
Joel Holdsworth [Fri, 3 Apr 2015 15:11:55 +0000 (16:11 +0100)]
Added devices::File as a common base of file devices

9 years agoDeviceManager: Deprecated build_display_name and friends
Joel Holdsworth [Sat, 28 Mar 2015 18:54:21 +0000 (18:54 +0000)]
DeviceManager: Deprecated build_display_name and friends

9 years agodevices::Device: Moved in full_name and display_name
Joel Holdsworth [Fri, 3 Apr 2015 10:35:49 +0000 (11:35 +0100)]
devices::Device: Moved in full_name and display_name

9 years agoUse device::Devices to represent sigrok Devices
Joel Holdsworth [Sun, 22 Feb 2015 20:21:15 +0000 (20:21 +0000)]
Use device::Devices to represent sigrok Devices

9 years agoLogicSignal: Tidied up forward declarations
Joel Holdsworth [Sat, 28 Mar 2015 22:03:23 +0000 (22:03 +0000)]
LogicSignal: Tidied up forward declarations

9 years agoConnect: Tidied up forward declarations
Joel Holdsworth [Sat, 28 Mar 2015 21:13:29 +0000 (21:13 +0000)]
Connect: Tidied up forward declarations

9 years agoDeviceManager: Tidied up forward declarations
Joel Holdsworth [Sat, 28 Mar 2015 19:59:48 +0000 (19:59 +0000)]
DeviceManager: Tidied up forward declarations