pulseview.git
7 years agoCorrected signed/unsigned inconsistencies in Ruler::paintEvent
Joel Holdsworth [Sat, 13 Oct 2012 21:20:01 +0000 (22:20 +0100)]
Corrected signed/unsigned inconsistencies in Ruler::paintEvent

7 years agoRemoved unused return value from LogicSignal::paint_caps
Joel Holdsworth [Sat, 13 Oct 2012 21:18:29 +0000 (22:18 +0100)]
Removed unused return value from LogicSignal::paint_caps

7 years agoCorrected intializer order in LogicSignal
Joel Holdsworth [Sat, 13 Oct 2012 21:17:37 +0000 (22:17 +0100)]
Corrected intializer order in LogicSignal

7 years agoRemoved uneeded statements from LogicDataSnapshot
Joel Holdsworth [Sat, 13 Oct 2012 21:14:36 +0000 (22:14 +0100)]
Removed uneeded statements from LogicDataSnapshot

7 years agoCorrected signed/unsigned inconsistencies in LogicDataSnapshot
Joel Holdsworth [Sat, 13 Oct 2012 21:14:06 +0000 (22:14 +0100)]
Corrected signed/unsigned inconsistencies in LogicDataSnapshot

7 years agoOnly check for libboost-test if tests are enabled.
Uwe Hermann [Sat, 13 Oct 2012 13:55:32 +0000 (15:55 +0200)]
Only check for libboost-test if tests are enabled.

7 years agoAdd initial manpage.
Uwe Hermann [Fri, 12 Oct 2012 20:47:45 +0000 (22:47 +0200)]
Add initial manpage.

7 years agoAdd icons/sigrok-logo-notext.ico.
Uwe Hermann [Sat, 13 Oct 2012 13:12:10 +0000 (15:12 +0200)]
Add icons/sigrok-logo-notext.ico.

This is (will be) needed on Windows (and for the Windows installer).

7 years agoCosmetics.
Uwe Hermann [Sat, 13 Oct 2012 13:06:50 +0000 (15:06 +0200)]
Cosmetics.

7 years agoDo not pass -DBOOST_TEST_DYN_LINK to pulseview
Alexandru Gagniuc [Sat, 13 Oct 2012 00:11:16 +0000 (19:11 -0500)]
Do not pass -DBOOST_TEST_DYN_LINK to pulseview

-DBOOST_TEST_DYN_LINK is meant to be passed only to pulseview-test,
not to pulseview. When test were enabled, this flag was defined
globally, and as a result, also passed to pulseview.

Create a CMakeLists.txt for test, and add test as a subdirectory
when tests are enabled. This way, -DBOOST_TEST_DYN_LINK is only
defined for our test app.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
7 years agoAdded config.h to .gitignore
Joel Holdsworth [Sat, 13 Oct 2012 00:18:40 +0000 (01:18 +0100)]
Added config.h to .gitignore

7 years agoAdded --help option
Joel Holdsworth [Sat, 13 Oct 2012 00:15:47 +0000 (01:15 +0100)]
Added --help option

7 years agoUse ${PROJECT_NAME} instead of pulseview in CMakeLists.txt
Joel Holdsworth [Sat, 13 Oct 2012 00:04:52 +0000 (01:04 +0100)]
Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt

7 years agoAdded --version option
Joel Holdsworth [Fri, 12 Oct 2012 23:59:37 +0000 (00:59 +0100)]
Added --version option

7 years agoMade extdef.h a global include
Joel Holdsworth [Fri, 12 Oct 2012 23:36:12 +0000 (00:36 +0100)]
Made extdef.h a global include

7 years agoUse C++ style comments in main.cpp
Joel Holdsworth [Fri, 12 Oct 2012 23:13:44 +0000 (00:13 +0100)]
Use C++ style comments in main.cpp

7 years agoGenerate a config.h file for versioning
Alexandru Gagniuc [Fri, 12 Oct 2012 20:38:06 +0000 (15:38 -0500)]
Generate a config.h file for versioning

Versioning was already handled in CMakeLists.txt, but it was handled
in a non-standard and unclear manner. We used
    set(VERSION
for starters. While this is valid CMake syntax, VERSION is also a
reserved word in cmake, depending on the context. We were
communicating the version information by a compile-time define, again,
not a recommended practice.

Change versioning to the more standard way of
    set(*VERSION_MAJOR
    set(*VERSION_MINOR
    set(*VERSION_MICRO
    set(*VERSION_STRING

Instead of defining the version at compile time, generate a config.h
file with the version information.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
7 years agoUnify the if(WIN32) defines
Alexandru Gagniuc [Fri, 12 Oct 2012 22:56:25 +0000 (23:56 +0100)]
Unify the if(WIN32) defines

The if(WIN32)/else(WIN32)/endif(WIN32) is an archaic cmake syntax.
Remove all the if(WIN32) clauses, and use an option to specify whether
we want to link to the static versions of libsigrok*. That's basically
what the WIN32 clauses were doing anyway. This makes the "what is
going on" more readeable.

On WIN32, automatically set this option to link to the static libraries.

7 years agoOffer unit tests with a cmake option
Joel Holdsworth [Fri, 12 Oct 2012 22:11:41 +0000 (23:11 +0100)]
Offer unit tests with a cmake option

7 years agoAdded section headers to CMakeLists.txt
Alexandru Gagniuc [Fri, 12 Oct 2012 22:51:14 +0000 (23:51 +0100)]
Added section headers to CMakeLists.txt

7 years agoIndented if statements in CMakeLists.txt
Joel Holdsworth [Fri, 12 Oct 2012 22:43:52 +0000 (23:43 +0100)]
Indented if statements in CMakeLists.txt

7 years agoMoved install rule out of test section in CMakeLists.txt
Joel Holdsworth [Fri, 12 Oct 2012 22:42:49 +0000 (23:42 +0100)]
Moved install rule out of test section in CMakeLists.txt

7 years agoMoved all classes into the pv namespace
Joel Holdsworth [Fri, 12 Oct 2012 21:41:01 +0000 (22:41 +0100)]
Moved all classes into the pv namespace

7 years agoAdd initial NSIS file for building a win installer.
Uwe Hermann [Fri, 12 Oct 2012 20:08:06 +0000 (22:08 +0200)]
Add initial NSIS file for building a win installer.

7 years agoSmall consistency fix in a header.
Uwe Hermann [Fri, 12 Oct 2012 20:32:39 +0000 (22:32 +0200)]
Small consistency fix in a header.

7 years agoCorrected project name in header comments
Joel Holdsworth [Fri, 12 Oct 2012 20:20:44 +0000 (21:20 +0100)]
Corrected project name in header comments

7 years agoAdded a copyright header to CMakeLists.txt
Joel Holdsworth [Fri, 12 Oct 2012 20:02:47 +0000 (21:02 +0100)]
Added a copyright header to CMakeLists.txt

7 years agoMade unit tests optional
Joel Holdsworth [Fri, 12 Oct 2012 19:53:47 +0000 (20:53 +0100)]
Made unit tests optional

7 years agoAdded install rule
Joel Holdsworth [Thu, 11 Oct 2012 21:10:10 +0000 (22:10 +0100)]
Added install rule

7 years agoAdd missing include.
Uwe Hermann [Thu, 11 Oct 2012 21:03:04 +0000 (23:03 +0200)]
Add missing include.

This breaks the build on Windows/MinGW otherwise, since stdlib.h is
needed for free().

7 years agoSet explicit BOOST_ROOT on Windows/MinGW.
Uwe Hermann [Thu, 11 Oct 2012 14:55:20 +0000 (16:55 +0200)]
Set explicit BOOST_ROOT on Windows/MinGW.

7 years agoInitial build fixes for Windows/MinGW.
Uwe Hermann [Thu, 11 Oct 2012 14:50:46 +0000 (16:50 +0200)]
Initial build fixes for Windows/MinGW.

All pkg-config --cflags and --libs invocations need an additional --static
on Windows/MinGW. As cmake runs pkg-config both, with and without the
--static option, and stores the results with --static in *_STATIC_*
variables, we simply use those variables instead of the usual ones.

7 years agoAdd COPYING file (PulseView is GPL, version 2 or later).
Uwe Hermann [Thu, 11 Oct 2012 20:59:40 +0000 (22:59 +0200)]
Add COPYING file (PulseView is GPL, version 2 or later).

7 years agoFixed ruler scale units
Joel Holdsworth [Thu, 11 Oct 2012 20:38:24 +0000 (21:38 +0100)]
Fixed ruler scale units

7 years agoFixed zero samplerate issue
Joel Holdsworth [Thu, 11 Oct 2012 20:19:08 +0000 (21:19 +0100)]
Fixed zero samplerate issue

7 years agoBump libsigrok dependency to >= 0.2.0.
Uwe Hermann [Wed, 10 Oct 2012 21:44:23 +0000 (23:44 +0200)]
Bump libsigrok dependency to >= 0.2.0.

Older versions (e.g. 0.1.1) will not work with the current PulseView code.

7 years agoAdd README file.
Uwe Hermann [Wed, 10 Oct 2012 21:43:00 +0000 (23:43 +0200)]
Add README file.

7 years agoFix application name in the About window.
Uwe Hermann [Sun, 7 Oct 2012 19:15:15 +0000 (21:15 +0200)]
Fix application name in the About window.

7 years agoPartial fix to scroll overflow issues
Joel Holdsworth [Sat, 6 Oct 2012 13:34:48 +0000 (14:34 +0100)]
Partial fix to scroll overflow issues

7 years agoOversample edges to prevent gaps
Joel Holdsworth [Sat, 6 Oct 2012 12:50:16 +0000 (13:50 +0100)]
Oversample edges to prevent gaps

7 years agoAdded tests for low scale
Joel Holdsworth [Sat, 6 Oct 2012 11:15:48 +0000 (12:15 +0100)]
Added tests for low scale

7 years agoAdded LisMUsbHid test
Joel Holdsworth [Sun, 30 Sep 2012 18:15:54 +0000 (19:15 +0100)]
Added LisMUsbHid test

7 years agoMade longpulses a 64-bit test
Joel Holdsworth [Sat, 29 Sep 2012 09:11:18 +0000 (10:11 +0100)]
Made longpulses a 64-bit test

7 years agoAdded missing delete to longpulses test
Joel Holdsworth [Sat, 29 Sep 2012 09:10:57 +0000 (10:10 +0100)]
Added missing delete to longpulses test

7 years agoAdded missing delete to pulses test
Joel Holdsworth [Sat, 29 Sep 2012 09:10:38 +0000 (10:10 +0100)]
Added missing delete to pulses test

7 years agoFixes for data sizes greater than zero
Joel Holdsworth [Sat, 29 Sep 2012 09:09:50 +0000 (10:09 +0100)]
Fixes for data sizes greater than zero

7 years agoFixes and optimizations to get_subsampled edges
Joel Holdsworth [Sun, 30 Sep 2012 19:31:19 +0000 (20:31 +0100)]
Fixes and optimizations to get_subsampled edges

7 years agoAdded LongPulses test
Joel Holdsworth [Sat, 29 Sep 2012 08:14:29 +0000 (09:14 +0100)]
Added LongPulses test

7 years agoAdded a sanity check to LogicSignal::paint
Joel Holdsworth [Sun, 16 Sep 2012 16:25:54 +0000 (17:25 +0100)]
Added a sanity check to LogicSignal::paint

7 years agoAdded Pulses test case for LogicDataSnapshot
Joel Holdsworth [Sun, 16 Sep 2012 12:15:47 +0000 (13:15 +0100)]
Added Pulses test case for LogicDataSnapshot

7 years agoFixes to LargeData test checks
Joel Holdsworth [Sun, 16 Sep 2012 12:15:14 +0000 (13:15 +0100)]
Fixes to LargeData test checks

7 years agoAdded LogicDataSnapshot::get_subsample helper function
Joel Holdsworth [Sun, 16 Sep 2012 09:34:31 +0000 (10:34 +0100)]
Added LogicDataSnapshot::get_subsample helper function

7 years agoAdded tests, and corrected behaviour of LogicDataSnapshot::pow2_ceil
Joel Holdsworth [Sat, 15 Sep 2012 12:31:14 +0000 (13:31 +0100)]
Added tests, and corrected behaviour of LogicDataSnapshot::pow2_ceil

7 years agoViewport no longer needs to be a friend
Joel Holdsworth [Sun, 9 Sep 2012 11:22:46 +0000 (12:22 +0100)]
Viewport no longer needs to be a friend

7 years agoMade pv::view::View::zoom public
Joel Holdsworth [Sun, 9 Sep 2012 11:21:28 +0000 (12:21 +0100)]
Made pv::view::View::zoom public

7 years agoRemoved OpenGL from pv::view::Viewport
Joel Holdsworth [Sun, 9 Sep 2012 10:13:50 +0000 (11:13 +0100)]
Removed OpenGL from pv::view::Viewport

7 years agoInitial work moving ruler into the pv::view::Ruler widget
Joel Holdsworth [Sun, 9 Sep 2012 09:44:43 +0000 (10:44 +0100)]
Initial work moving ruler into the pv::view::Ruler widget

7 years agoInitial work moving headers into the pv::view::Header widget
Joel Holdsworth [Sat, 8 Sep 2012 08:45:09 +0000 (09:45 +0100)]
Initial work moving headers into the pv::view::Header widget

7 years agoExposed View::_session with accessor function
Joel Holdsworth [Fri, 7 Sep 2012 16:25:44 +0000 (17:25 +0100)]
Exposed View::_session with accessor function

7 years agoRemoved spurious namespace declaration
Joel Holdsworth [Fri, 7 Sep 2012 14:26:49 +0000 (15:26 +0100)]
Removed spurious namespace declaration

7 years agoAdded backup files to git ignore list
Joel Holdsworth [Fri, 7 Sep 2012 14:25:15 +0000 (15:25 +0100)]
Added backup files to git ignore list

7 years agoMoved view classes into the pv::view:: namespace
Joel Holdsworth [Fri, 7 Sep 2012 14:24:33 +0000 (15:24 +0100)]
Moved view classes into the pv::view:: namespace

7 years agoAdd initial scrolling support with a QAbstractScrollArea
Joel Holdsworth [Wed, 5 Sep 2012 11:19:24 +0000 (12:19 +0100)]
Add initial scrolling support with a QAbstractScrollArea

7 years agoReplaced snapshots queue with a deque
Joel Holdsworth [Thu, 6 Sep 2012 12:45:55 +0000 (13:45 +0100)]
Replaced snapshots queue with a deque

7 years agoRenamed SigView to SigViewport
Joel Holdsworth [Tue, 4 Sep 2012 10:27:46 +0000 (11:27 +0100)]
Renamed SigView to SigViewport

7 years agoRenamed sigrok-qt2 to PulseView
Joel Holdsworth [Tue, 7 Aug 2012 22:07:20 +0000 (23:07 +0100)]
Renamed sigrok-qt2 to PulseView

7 years agoAdded large data set tests for append_payload_to_mipmap
Joel Holdsworth [Sun, 22 Jul 2012 16:22:21 +0000 (17:22 +0100)]
Added large data set tests for append_payload_to_mipmap

7 years agoImplemented O(log(N)) wave plotting
Joel Holdsworth [Sun, 22 Jul 2012 07:21:30 +0000 (08:21 +0100)]
Implemented O(log(N)) wave plotting

7 years agoAdded subsampling for fast lookup
Joel Holdsworth [Mon, 16 Jul 2012 19:45:19 +0000 (20:45 +0100)]
Added subsampling for fast lookup

7 years agoInitial tests for LogicDataSnapshot
Joel Holdsworth [Sun, 15 Jul 2012 16:08:21 +0000 (17:08 +0100)]
Initial tests for LogicDataSnapshot

7 years agoAdded empty unit testing framework
Joel Holdsworth [Sun, 15 Jul 2012 15:48:59 +0000 (16:48 +0100)]
Added empty unit testing framework

7 years agoAdded toolbar zoom buttons
Joel Holdsworth [Mon, 9 Jul 2012 22:23:47 +0000 (23:23 +0100)]
Added toolbar zoom buttons

7 years agoAdded initial toolbar
Joel Holdsworth [Mon, 9 Jul 2012 22:05:45 +0000 (23:05 +0100)]
Added initial toolbar

7 years agoReplaced mainwindow.ui XML with code
Joel Holdsworth [Sun, 8 Jul 2012 09:31:50 +0000 (10:31 +0100)]
Replaced mainwindow.ui XML with code

7 years agoAdded record length selector
Joel Holdsworth [Sat, 7 Jul 2012 08:41:17 +0000 (09:41 +0100)]
Added record length selector

7 years agoAdded zoom limits
Joel Holdsworth [Sat, 7 Jul 2012 07:54:32 +0000 (08:54 +0100)]
Added zoom limits

7 years agoClip signal painting with glScissor
Joel Holdsworth [Sat, 7 Jul 2012 07:16:38 +0000 (08:16 +0100)]
Clip signal painting with glScissor

7 years agoFixed signal ends to cover screen
Joel Holdsworth [Sat, 7 Jul 2012 07:16:07 +0000 (08:16 +0100)]
Fixed signal ends to cover screen

7 years agoMade naming scheme consistent
Joel Holdsworth [Mon, 2 Jul 2012 20:29:56 +0000 (21:29 +0100)]
Made naming scheme consistent

7 years agoDeal with the samplerate=0 case
Joel Holdsworth [Sun, 1 Jul 2012 14:51:29 +0000 (15:51 +0100)]
Deal with the samplerate=0 case

7 years agoImplemented dragging and zooming
Joel Holdsworth [Sat, 30 Jun 2012 12:49:56 +0000 (13:49 +0100)]
Implemented dragging and zooming

7 years agoAdded initial sampling support
Joel Holdsworth [Sat, 30 Jun 2012 11:06:24 +0000 (12:06 +0100)]
Added initial sampling support

7 years agoAdded sample rate selector
Joel Holdsworth [Sat, 30 Jun 2012 08:41:08 +0000 (09:41 +0100)]
Added sample rate selector

7 years agoAdded device selector combo box
Joel Holdsworth [Wed, 27 Jun 2012 21:36:23 +0000 (22:36 +0100)]
Added device selector combo box

7 years agoAdded empty SamplingBar object
Joel Holdsworth [Wed, 27 Jun 2012 21:24:48 +0000 (22:24 +0100)]
Added empty SamplingBar object

7 years agoAdded major and minor divisions
Joel Holdsworth [Sun, 24 Jun 2012 20:14:26 +0000 (21:14 +0100)]
Added major and minor divisions

7 years agoAdded ruler numbering
Joel Holdsworth [Sun, 24 Jun 2012 08:00:11 +0000 (09:00 +0100)]
Added ruler numbering

7 years agoInitial ruler painting
Joel Holdsworth [Sun, 24 Jun 2012 06:20:34 +0000 (07:20 +0100)]
Initial ruler painting

7 years agoAdded tango style highlights to labels
Joel Holdsworth [Sat, 23 Jun 2012 16:52:50 +0000 (17:52 +0100)]
Added tango style highlights to labels

7 years agoInitial implementation of labels
Joel Holdsworth [Sat, 23 Jun 2012 10:32:07 +0000 (11:32 +0100)]
Initial implementation of labels

7 years agoAdded extdef.h
Joel Holdsworth [Sat, 23 Jun 2012 09:30:55 +0000 (10:30 +0100)]
Added extdef.h

7 years agoPlot caps and edges with different colours
Joel Holdsworth [Sat, 23 Jun 2012 07:26:32 +0000 (08:26 +0100)]
Plot caps and edges with different colours

7 years agoMoved viewport from int64_ts to doubles, and added basic mouse zooming
Joel Holdsworth [Wed, 20 Jun 2012 21:35:05 +0000 (22:35 +0100)]
Moved viewport from int64_ts to doubles, and added basic mouse zooming

7 years agoInitial interractive zoom support
Joel Holdsworth [Sat, 16 Jun 2012 11:28:28 +0000 (12:28 +0100)]
Initial interractive zoom support

7 years agoInitial rendering of traces
Joel Holdsworth [Mon, 11 Jun 2012 21:17:34 +0000 (22:17 +0100)]
Initial rendering of traces

7 years agoInitial VBO code
Joel Holdsworth [Tue, 5 Jun 2012 12:11:44 +0000 (13:11 +0100)]
Initial VBO code

7 years agoAdded view scale and offset
Joel Holdsworth [Tue, 5 Jun 2012 10:20:06 +0000 (11:20 +0100)]
Added view scale and offset

7 years agoParse logic signals
Joel Holdsworth [Tue, 5 Jun 2012 08:19:43 +0000 (09:19 +0100)]
Parse logic signals

7 years agoPush data into data model
Joel Holdsworth [Tue, 5 Jun 2012 07:49:17 +0000 (08:49 +0100)]
Push data into data model

7 years agoAdded a .gitignore file
Joel Holdsworth [Sun, 2 Sep 2012 12:38:58 +0000 (13:38 +0100)]
Added a .gitignore file