]> sigrok.org Git - pulseview.git/log
pulseview.git
11 years agoPrevent CPack from generating a source package with -Source appended to the name
Joel Holdsworth [Sat, 19 Jan 2013 21:52:22 +0000 (21:52 +0000)]
Prevent CPack from generating a source package with -Source appended to the name

11 years agoSet the package version number
Joel Holdsworth [Sat, 19 Jan 2013 21:51:52 +0000 (21:51 +0000)]
Set the package version number

11 years agoAdd a way to generate a tarball without requiring git
Alexandru Gagniuc [Wed, 24 Oct 2012 15:12:40 +0000 (10:12 -0500)]
Add a way to generate a tarball without requiring git

  $ make package_source

This will use CPack to generate tarballs of the source directory.

Signed-off-by: Alexandru Gagniuc <redacted>
11 years agoAdded axes to each signal
Joel Holdsworth [Sat, 19 Jan 2013 08:22:12 +0000 (08:22 +0000)]
Added axes to each signal

11 years agoEliminated get_nominal_offset
Joel Holdsworth [Fri, 18 Jan 2013 18:33:01 +0000 (18:33 +0000)]
Eliminated get_nominal_offset

11 years agoLower Boost dependency to 1.45, which is sufficient.
Uwe Hermann [Sat, 19 Jan 2013 20:05:53 +0000 (21:05 +0100)]
Lower Boost dependency to 1.45, which is sufficient.

FreeBSD 9.0 ships with Boost 1.45, and builds fine (without errors), so
lower the dependency to 1.45.

11 years agosamplingbar.cpp: Add missing "ULL".
Uwe Hermann [Sat, 19 Jan 2013 19:50:30 +0000 (20:50 +0100)]
samplingbar.cpp: Add missing "ULL".

10000000000 is too large for an int/long on 32bit systems, properly list it
as 10000000000ULL, otherwise the compile will fail.

samplingbar.cpp:48: error: integer constant is too large for 'long' type.

11 years agoAdd missing newlines in two header files.
Uwe Hermann [Sat, 19 Jan 2013 19:44:38 +0000 (20:44 +0100)]
Add missing newlines in two header files.

Without the newlines, some compilers will spew warnings such as:

  cursor.h:83:37: error: no newline at end of file

(which will break the build due to -Werror, which is default-enabled)

This has been (for example) observed on FreeBSD 9.0's (patched) gcc 4.2.1.

11 years agoCMakeLists.txt: Fix typo.
Uwe Hermann [Sat, 19 Jan 2013 19:09:07 +0000 (20:09 +0100)]
CMakeLists.txt: Fix typo.

11 years agoboost-thread: Use 'thread_win32' on Windows/MinGW.
Uwe Hermann [Sat, 19 Jan 2013 17:48:16 +0000 (18:48 +0100)]
boost-thread: Use 'thread_win32' on Windows/MinGW.

11 years agoAdded -Wextra, and an option to disable -Werror
Joel Holdsworth [Wed, 16 Jan 2013 19:04:08 +0000 (19:04 +0000)]
Added -Wextra, and an option to disable -Werror

11 years agoExplicitly initialise QObject in the copy constructor
Joel Holdsworth [Wed, 16 Jan 2013 18:56:16 +0000 (18:56 +0000)]
Explicitly initialise QObject in the copy constructor

11 years agoSupressed unused parameters
Joel Holdsworth [Wed, 16 Jan 2013 18:55:52 +0000 (18:55 +0000)]
Supressed unused parameters

11 years agopulseview.qrc: Add missing application-exit.png entry.
Uwe Hermann [Tue, 15 Jan 2013 22:48:55 +0000 (23:48 +0100)]
pulseview.qrc: Add missing application-exit.png entry.

Without this, the icon won't be shown in the menu.

11 years agoAdded File>Quit menu item
Joel Holdsworth [Tue, 15 Jan 2013 19:25:43 +0000 (19:25 +0000)]
Added File>Quit menu item

11 years agoDo not fast_forward if there is no data at the minimum mip-map level
Joel Holdsworth [Tue, 15 Jan 2013 18:55:49 +0000 (18:55 +0000)]
Do not fast_forward if there is no data at the minimum mip-map level

11 years agoAdded Sixteen test case
Joel Holdsworth [Sun, 13 Jan 2013 19:24:31 +0000 (19:24 +0000)]
Added Sixteen test case

This test case is a replica of sixteen.sr attached to the Bug #33

11 years agoFixed LongPulses test packet setup
Joel Holdsworth [Sun, 13 Jan 2013 13:42:36 +0000 (13:42 +0000)]
Fixed LongPulses test packet setup

The length field is now populated with the number of bytes rather
than the number of samples

11 years agoFixed usage of sr_datafeed_logic::length
Joel Holdsworth [Sun, 13 Jan 2013 11:55:51 +0000 (11:55 +0000)]
Fixed usage of sr_datafeed_logic::length

The length field is a measure of bytes not samples. The previous
usage would fail unless the unitsize was set to 1.

11 years agoglobal: Do not assert >= 0 for unsigned values
Alexandru Gagniuc [Tue, 8 Jan 2013 20:25:56 +0000 (14:25 -0600)]
global: Do not assert >= 0 for unsigned values

Unsigned values are always >= 0. These assertions are redundant, so remove them.

$ grep assert -r ./ |grep ">=" |grep 0
shows the assert(something >= 0). Remove those which assert(unsigned >= 0).

Signed-off-by: Alexandru Gagniuc <redacted>
11 years agotests: Add check for handling of wide data (16 probes)
Alexandru Gagniuc [Tue, 8 Jan 2013 20:18:37 +0000 (14:18 -0600)]
tests: Add check for handling of wide data (16 probes)

The details of the test are explained in-source. This test is designed to
provide a test case for bug 33.

Signed-off-by: Alexandru Gagniuc <redacted>
11 years agoFixed pv::dialogs::About to accomodate 42515b0f in libsigrokdecode
Joel Holdsworth [Tue, 1 Jan 2013 19:47:24 +0000 (19:47 +0000)]
Fixed pv::dialogs::About to accomodate 42515b0f in libsigrokdecode

11 years agoAdded status icons to Run/Stop button
Joel Holdsworth [Mon, 31 Dec 2012 09:34:12 +0000 (09:34 +0000)]
Added status icons to Run/Stop button

11 years agoTidied pv::MainWindow menu setup
Joel Holdsworth [Sun, 30 Dec 2012 20:58:55 +0000 (20:58 +0000)]
Tidied pv::MainWindow menu setup

11 years agoRemoved status bar
Joel Holdsworth [Sun, 30 Dec 2012 20:47:40 +0000 (20:47 +0000)]
Removed status bar

11 years agoSet HwCap dialog title
Joel Holdsworth [Sat, 29 Dec 2012 13:49:59 +0000 (13:49 +0000)]
Set HwCap dialog title

11 years agoAdded fallback toolbar icons
Joel Holdsworth [Fri, 28 Dec 2012 11:44:42 +0000 (11:44 +0000)]
Added fallback toolbar icons

11 years agoAdded Tango configure icon
Joel Holdsworth [Fri, 28 Dec 2012 11:34:25 +0000 (11:34 +0000)]
Added Tango configure icon

11 years agoImplemented HwCap binding
Joel Holdsworth [Fri, 28 Dec 2012 10:03:51 +0000 (10:03 +0000)]
Implemented HwCap binding

11 years agoAdded commit support to HwCap dialog
Joel Holdsworth [Fri, 28 Dec 2012 10:17:50 +0000 (10:17 +0000)]
Added commit support to HwCap dialog

11 years agoAdded commit support to Binding
Joel Holdsworth [Fri, 28 Dec 2012 10:17:08 +0000 (10:17 +0000)]
Added commit support to Binding

11 years agoAdded get/set support to Property and Enum
Joel Holdsworth [Fri, 28 Dec 2012 10:15:54 +0000 (10:15 +0000)]
Added get/set support to Property and Enum

11 years agoIntegrated property widgets with dialog
Joel Holdsworth [Fri, 28 Dec 2012 10:03:34 +0000 (10:03 +0000)]
Integrated property widgets with dialog

11 years agoAdded Enum property
Joel Holdsworth [Fri, 28 Dec 2012 10:10:09 +0000 (10:10 +0000)]
Added Enum property

11 years agoAdded Property
Joel Holdsworth [Fri, 28 Dec 2012 10:09:41 +0000 (10:09 +0000)]
Added Property

11 years agoAdded empty HwCap dialog
Joel Holdsworth [Fri, 28 Dec 2012 09:51:12 +0000 (09:51 +0000)]
Added empty HwCap dialog

11 years agoAdded empty HwCap binding
Joel Holdsworth [Fri, 28 Dec 2012 09:52:56 +0000 (09:52 +0000)]
Added empty HwCap binding

11 years agoMoved data and snapshot classes into pv::data namespace
Joel Holdsworth [Thu, 20 Dec 2012 21:34:43 +0000 (21:34 +0000)]
Moved data and snapshot classes into pv::data namespace

11 years agoTidied include of view in mainwindow.cpp
Joel Holdsworth [Thu, 20 Dec 2012 20:28:19 +0000 (20:28 +0000)]
Tidied include of view in mainwindow.cpp

11 years agoMoved pv::About into the pv::dialogs::About namespace
Joel Holdsworth [Thu, 20 Dec 2012 20:27:54 +0000 (20:27 +0000)]
Moved pv::About into the pv::dialogs::About namespace

11 years agoViewport: Allow horizontal scrolling via mouse wheel tilting
Alexandru Gagniuc [Sun, 16 Dec 2012 06:01:47 +0000 (00:01 -0600)]
Viewport: Allow horizontal scrolling via mouse wheel tilting

On mice with a horizontal scroll wheel, or tilting wheel, enable the user to
scroll horizontally.

Signed-off-by: Alexandru Gagniuc <redacted>
11 years agoViewport: Only zoom in/out at vertical wheel events
Alexandru Gagniuc [Sun, 16 Dec 2012 01:16:32 +0000 (19:16 -0600)]
Viewport: Only zoom in/out at vertical wheel events

Viewport always zoomed the signals in and out on a wheel event. Moving the
scroll wheel up or down caused the intended effect of zooming in or zooming out,
respectively. This works flawlessly on mice with only a vertical wheel.

On mice with a horizontal or tilting wheel, horizontal scrolling or tilting was
still treated as zooming in and out. This created a non-intuitive experience,
as the user expects the signals to scroll left or right with this gesture.

Check to make sure the wheel event is a vertical one, and only then zoom in/out.
Do nothing if the wheel event is not vertical.

Signed-off-by: Alexandru Gagniuc <redacted>
11 years agoAdded basic analog signal plotting
Joel Holdsworth [Mon, 17 Dec 2012 21:54:48 +0000 (21:54 +0000)]
Added basic analog signal plotting

11 years agoAdded skeleton analog support
Joel Holdsworth [Mon, 17 Dec 2012 21:21:14 +0000 (21:21 +0000)]
Added skeleton analog support

11 years agoRenamed pv::SigSession::_state_mutex to pv::SigSession::_sampling_mutex
Joel Holdsworth [Mon, 17 Dec 2012 21:18:36 +0000 (21:18 +0000)]
Renamed pv::SigSession::_state_mutex to pv::SigSession::_sampling_mutex

11 years agoFactored out feed_in_logic
Joel Holdsworth [Thu, 13 Dec 2012 22:40:22 +0000 (22:40 +0000)]
Factored out feed_in_logic

11 years agoFactored out feed_in_meta_logic
Joel Holdsworth [Thu, 13 Dec 2012 21:45:54 +0000 (21:45 +0000)]
Factored out feed_in_meta_logic

11 years agoMake data_feed_in and data_feed_in_proc packet parameter a const pointer
Joel Holdsworth [Thu, 13 Dec 2012 21:30:50 +0000 (21:30 +0000)]
Make data_feed_in and data_feed_in_proc packet parameter a const pointer

This patch corresponds to bf53457d in libsigrok.

11 years agoMoved file load into a thread
Joel Holdsworth [Wed, 12 Dec 2012 21:49:15 +0000 (21:49 +0000)]
Moved file load into a thread

11 years agoREADME: Document Boost system + thread requirement.
Uwe Hermann [Wed, 12 Dec 2012 21:21:48 +0000 (22:21 +0100)]
README: Document Boost system + thread requirement.

11 years agoSome smaller whitespace fixes.
Uwe Hermann [Wed, 12 Dec 2012 21:19:22 +0000 (22:19 +0100)]
Some smaller whitespace fixes.

11 years agocmake: Add boost-thread as explicit dependency.
Uwe Hermann [Wed, 12 Dec 2012 21:00:09 +0000 (22:00 +0100)]
cmake: Add boost-thread as explicit dependency.

Apparently boost-thread requires boost-system even if not explicitly
used in the code.

See also: https://svn.boost.org/trac/boost/ticket/7241

On Debian with libboost-thread1.50.0 and libboost-system1.50.0 the
following error occurs during linking:

  /usr/bin/ld: CMakeFiles/pulseview.dir/main.cpp.o: undefined reference to symbol 'boost::system::system_category()'
  /usr/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.50.0 so try adding it to the linker command line
  /usr/lib/libboost_system.so.1.50.0: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status

This commit fixes the issue.

It's unclear whether this is an issue that should be fixed in PulseView
in general, or whether it's a Boost issue.

11 years agoMade LogicDataSnapshot::get_sample private rather than mutex protecting it
Joel Holdsworth [Mon, 10 Dec 2012 21:24:17 +0000 (21:24 +0000)]
Made LogicDataSnapshot::get_sample private rather than mutex protecting it

11 years agoMutex protected snapshot data
Joel Holdsworth [Mon, 10 Dec 2012 20:37:23 +0000 (20:37 +0000)]
Mutex protected snapshot data

11 years agoKeep Run/Stop button state updated
Joel Holdsworth [Mon, 3 Dec 2012 23:25:59 +0000 (23:25 +0000)]
Keep Run/Stop button state updated

11 years agoAdded proof of concept start/stop support
Joel Holdsworth [Sun, 2 Dec 2012 16:25:13 +0000 (16:25 +0000)]
Added proof of concept start/stop support

11 years agoInitial real time display during capture
Joel Holdsworth [Sun, 2 Dec 2012 15:33:43 +0000 (15:33 +0000)]
Initial real time display during capture

11 years agoMutex protected SigSession::_signals
Joel Holdsworth [Sun, 2 Dec 2012 15:21:03 +0000 (15:21 +0000)]
Mutex protected SigSession::_signals

11 years agoAdded SigSession::signals_changed signals to indicate when signals are created
Joel Holdsworth [Sun, 2 Dec 2012 15:07:12 +0000 (15:07 +0000)]
Added SigSession::signals_changed signals to indicate when signals are created

11 years agoInitial threaded capture
Joel Holdsworth [Sun, 2 Dec 2012 14:32:48 +0000 (14:32 +0000)]
Initial threaded capture

11 years agoAdd struct sr_context * to sr_driver_init() calls
Peter Stuge [Mon, 3 Dec 2012 03:23:37 +0000 (04:23 +0100)]
Add struct sr_context * to sr_driver_init() calls

libsigrok.git commit 193691ae1590eb31025d943ffbb0ea5c1047e6ca changes
the API of sr_driver_init() to take a struct sr_context * parameter as
allocated by sr_init().

Move our struct sr_context *sr_ctx out of main() into file global scope
so that it can be used easily in all calls to sr_driver_init().

12 years agoremoved std namespace to build with llvm
Rene Hopf [Tue, 20 Nov 2012 12:41:14 +0000 (13:41 +0100)]
removed std namespace to build with llvm

12 years agoAdded pv::view::View::normalize_layout to normalize out-of-bounds drags
Joel Holdsworth [Sun, 18 Nov 2012 14:01:24 +0000 (14:01 +0000)]
Added pv::view::View::normalize_layout to normalize out-of-bounds drags

12 years agoMoved signal margin out of signal rendering into initial layout
Joel Holdsworth [Sun, 18 Nov 2012 13:24:34 +0000 (13:24 +0000)]
Moved signal margin out of signal rendering into initial layout

12 years agoImproved propagation of drag event so that the scroll bars can be updated
Joel Holdsworth [Sat, 17 Nov 2012 12:48:27 +0000 (12:48 +0000)]
Improved propagation of drag event so that the scroll bars can be updated

12 years agoDon't highlight when dragging
Joel Holdsworth [Sat, 17 Nov 2012 12:33:42 +0000 (12:33 +0000)]
Don't highlight when dragging

12 years agoImproved drag selection logic
Joel Holdsworth [Sat, 17 Nov 2012 12:31:40 +0000 (12:31 +0000)]
Improved drag selection logic

12 years agoAdded snap to grid drag behaviour
Joel Holdsworth [Sat, 17 Nov 2012 09:08:41 +0000 (09:08 +0000)]
Added snap to grid drag behaviour

12 years agoAdded initial support for dragging
Joel Holdsworth [Sat, 17 Nov 2012 08:54:39 +0000 (08:54 +0000)]
Added initial support for dragging

12 years agoAdded signal (multi) selection
Joel Holdsworth [Sat, 17 Nov 2012 08:13:31 +0000 (08:13 +0000)]
Added signal (multi) selection

12 years agoUse static signal offsets instead of offsets calculated on-the-fly
Joel Holdsworth [Sat, 17 Nov 2012 08:08:40 +0000 (08:08 +0000)]
Use static signal offsets instead of offsets calculated on-the-fly

This will be needed for dragging

12 years agoMoved forward declaration of SignalData to correct namespace
Joel Holdsworth [Sat, 17 Nov 2012 07:24:50 +0000 (07:24 +0000)]
Moved forward declaration of SignalData to correct namespace

12 years agoMoved Signal and LogicSignal into pv::view
Joel Holdsworth [Sat, 3 Nov 2012 09:18:16 +0000 (09:18 +0000)]
Moved Signal and LogicSignal into pv::view

12 years agoAdded a label colour chooser dialog
Joel Holdsworth [Sat, 3 Nov 2012 08:46:09 +0000 (08:46 +0000)]
Added a label colour chooser dialog

12 years agoAdd struct sr_context to the sr_init() and sr_exit() calls
Peter Stuge [Sun, 21 Oct 2012 23:12:52 +0000 (01:12 +0200)]
Add struct sr_context to the sr_init() and sr_exit() calls

libsigrok.git commit b8072700c1bc7d13ba004fd897668b56cec4ac62 adds
struct sr_context to the public API, and changes sr_init() and sr_exit()
to take a struct sr_context ** and struct sr_context * parameter
respectively.

struct sr_context is opaque, and all sr_init() and sr_exit() calls must
be balanced.

12 years agoChange main() to have only one exit code flow, used also on errors
Joel Holdsworth [Fri, 2 Nov 2012 00:11:21 +0000 (00:11 +0000)]
Change main() to have only one exit code flow, used also on errors

12 years agoPixel aligned signal labels
Joel Holdsworth [Thu, 1 Nov 2012 23:17:02 +0000 (23:17 +0000)]
Pixel aligned signal labels

12 years agoInitial code to render text inside cursor markers
Joel Holdsworth [Thu, 1 Nov 2012 23:08:45 +0000 (23:08 +0000)]
Initial code to render text inside cursor markers

12 years agoMoved LabelPadding into View
Joel Holdsworth [Thu, 1 Nov 2012 23:06:24 +0000 (23:06 +0000)]
Moved LabelPadding into View

12 years agoAdded cursor dragging
Joel Holdsworth [Thu, 1 Nov 2012 22:00:06 +0000 (22:00 +0000)]
Added cursor dragging

12 years agoMade TimeMarker and Cursor QObjects
Joel Holdsworth [Thu, 1 Nov 2012 22:16:11 +0000 (22:16 +0000)]
Made TimeMarker and Cursor QObjects

12 years agoAdded cursors show/hide menu action
Joel Holdsworth [Sat, 27 Oct 2012 15:25:08 +0000 (16:25 +0100)]
Added cursors show/hide menu action

12 years agoAdded cursors
Joel Holdsworth [Sun, 28 Oct 2012 18:00:50 +0000 (18:00 +0000)]
Added cursors

12 years agoDocumented scale, offset, set_scale_offset, _scale and _offset in pv::view::View
Joel Holdsworth [Sun, 28 Oct 2012 17:33:21 +0000 (17:33 +0000)]
Documented scale, offset, set_scale_offset, _scale and _offset in pv::view::View

12 years agoAdded Cursor class
Joel Holdsworth [Sun, 28 Oct 2012 16:47:09 +0000 (16:47 +0000)]
Added Cursor class

12 years agoAdded TimeMarker base class
Joel Holdsworth [Sun, 28 Oct 2012 16:22:37 +0000 (16:22 +0000)]
Added TimeMarker base class

12 years agoAdded header time hover arrow
Joel Holdsworth [Sun, 28 Oct 2012 15:56:06 +0000 (15:56 +0000)]
Added header time hover arrow

12 years agoAdded hover point to pv::view::View
Joel Holdsworth [Sun, 28 Oct 2012 15:53:29 +0000 (15:53 +0000)]
Added hover point to pv::view::View

12 years agoRender ruler and signals with sub-pixel accuracy
Joel Holdsworth [Wed, 24 Oct 2012 20:22:58 +0000 (21:22 +0100)]
Render ruler and signals with sub-pixel accuracy

12 years agoMoved unit test build commands into test/CMakeLists.txt
Joel Holdsworth [Sat, 20 Oct 2012 18:01:58 +0000 (19:01 +0100)]
Moved unit test build commands into test/CMakeLists.txt

12 years agoFix #include guards.
Uwe Hermann [Sun, 21 Oct 2012 14:03:08 +0000 (16:03 +0200)]
Fix #include guards.

 - Add missing #include guards.

 - Fix incorrect #endif comments for some #include guards.

 - Use consistent naming for them, as per HACKING.

12 years agoAdd a HACKING file.
Uwe Hermann [Tue, 16 Oct 2012 13:18:01 +0000 (15:18 +0200)]
Add a HACKING file.

12 years agoAdded a context menu for set name
Joel Holdsworth [Sat, 20 Oct 2012 10:10:54 +0000 (11:10 +0100)]
Added a context menu for set name

12 years agoCache signal label text size at draw time for later use
Joel Holdsworth [Wed, 17 Oct 2012 20:11:41 +0000 (21:11 +0100)]
Cache signal label text size at draw time for later use

12 years agoFixed timeline scale
Joel Holdsworth [Wed, 17 Oct 2012 19:40:44 +0000 (20:40 +0100)]
Fixed timeline scale

12 years agoAdded mouse-over behaviour to signal labels
Joel Holdsworth [Wed, 17 Oct 2012 19:31:21 +0000 (20:31 +0100)]
Added mouse-over behaviour to signal labels

12 years agoMoved Signal label layout to get_label_rect
Joel Holdsworth [Sun, 14 Oct 2012 14:46:43 +0000 (15:46 +0100)]
Moved Signal label layout to get_label_rect

12 years agoEnable -Werror -Wall
Joel Holdsworth [Sat, 13 Oct 2012 21:29:20 +0000 (22:29 +0100)]
Enable -Werror -Wall

12 years agoRemoved uneeded statements in LogicDataSnapshot test
Joel Holdsworth [Sat, 13 Oct 2012 21:29:07 +0000 (22:29 +0100)]
Removed uneeded statements  in LogicDataSnapshot test

12 years agoCorrected more signed/unsigned inconsistencies in LogicDataSnapshot test
Joel Holdsworth [Sat, 13 Oct 2012 21:27:53 +0000 (22:27 +0100)]
Corrected more signed/unsigned inconsistencies in LogicDataSnapshot test