README: Minor fixes, typos.
CPack: Only generate a .tar.gz file.

We don't need the tarball as additional *.tar.bz2 and .tar.Z files.
Add missing settings for boost-thread on MinGW.
MinGW: Drop hardcoded BOOST_ROOT.

This was somewhat useful when PulseView only needed header-only parts of
Boost, but since boost-thread is now also needed this is not sufficient
anymore and needs a different setup for native MinGW builds on Windows.

Cross-compile builds using 'sigrok-cross-mingw' from sigrok-util work
fine without it, though.
Lower Boost dependency to 1.42.

PulseView builds fine with Boost 1.42, too.
Add missing #include <limits.h>.

The file ruler.cpp uses INT_MAX from <limits.h>, so add the #include line.
Without this, the build would fail on some systems (due to -Werror).
buildsystem: Link against the platform's thread library

At least on Linux, boost-thread depends on pthread. The linking is not
automatic, and users have had issues with this.

We need to link against the platform's thread library, as it is needed for
boost-thread. CMake takes care of getting the exact settings to be passed
to the linker for us with ${CMAKE_THREAD_LIBS_INIT}.

This fixes bug #42.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
View: Decouple horizontal scrolling from the scoll bar

Scrolling horizontally, regardless if through the tilt wheel, dragging the
signals, or moving the scroll bar, updates the viewport and the scroll bar. This
triggered a valueChanged() signal from the scroll bar, causing the viewport to
be updated again (redundantly). The operation of the viewport became dependent
on the scroll bar. On high zoom levels, where the scroll bar's resolution is
limited, the coupling manifested as jitter. The view was rendered with the
proper resolution of, caused the mouse drag event, then immediately updated and
rendered with the limited resolution of the scroll bar.

Decouple the viewport from the valueChanged() signal, and use the sliderMoved()
signal instead. The scroll bar becomes a simple input element, and only causes
a viewport update when acted upon by the user. Using the scroll bar is still
limited in resolution, but other scrolling methods are no longer affected by the
limitations of the scroll bar.

This fixes bug 7.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
samplingbar: Replace sr_info_get(SR_DI_SAMPLERATES) with sr_config_list(SR_CONF_SAMPLERATE)
Ported pv::prop::binding::HwCap to new sigrok API
Renamed pv::prop::binding::HwCap to DeviceOptions
Renamed pv::dialogs::HwCap to DeviceOptions
Ported sampling to new sigrok API
Moved signal creation into feed_in_header
Get sample rate from device instance rather than storing it
buildsystem: Abort cmake config if Boost is not found

When cmake didn't find Boost, it would not abort; instead the linking
process after the build would fail with non-obvious error messages.

Thus, make Boost a required dependency (fixes bug 59).

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
main: Add signal handler for SIGINT

Add a SIGINT handler as requested here:
http://www.airwebreathe.org.uk/projects/index.php?title=PulseView#Make_PulseView_respond_properly_to_SIGINT

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
main: quit on SIGINT

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Cosmetics, typos.
.gitignore: Add missing CPack files.

Thanks R. Diez <rdiezmail-comparevcd@yahoo.de> for the patch!