pulseview.git
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

9 years agoSession: Fixed header guard
Joel Holdsworth [Sun, 22 Feb 2015 20:20:31 +0000 (20:20 +0000)]
Session: Fixed header guard

9 years agoAdded pv::widgets::ImportMenu
Joel Holdsworth [Sat, 17 Jan 2015 17:03:56 +0000 (17:03 +0000)]
Added pv::widgets::ImportMenu

9 years agopv::binding::InputOutput: Bound up more integer types and Bool
Joel Holdsworth [Sun, 22 Feb 2015 14:56:56 +0000 (14:56 +0000)]
pv::binding::InputOutput: Bound up more integer types and Bool

9 years agoSession: Simplified logic of set_device
Joel Holdsworth [Mon, 2 Feb 2015 03:18:46 +0000 (20:18 -0700)]
Session: Simplified logic of set_device

9 years agoStoreSession: Use DeviceManager to get context
Joel Holdsworth [Sat, 28 Mar 2015 13:12:10 +0000 (13:12 +0000)]
StoreSession: Use DeviceManager to get context

9 years agoDeviceManager: Added const context accessor
Joel Holdsworth [Sat, 28 Mar 2015 13:08:03 +0000 (13:08 +0000)]
DeviceManager: Added const context accessor

9 years agoSession: Made update_signals non-destructive
Joel Holdsworth [Sat, 28 Mar 2015 12:54:41 +0000 (12:54 +0000)]
Session: Made update_signals non-destructive

9 years agoLogicSignal: Added set_logic_data
Joel Holdsworth [Sat, 28 Mar 2015 12:54:12 +0000 (12:54 +0000)]
LogicSignal: Added set_logic_data

9 years agoSignalData: Renamed get_max_sample_count
Joel Holdsworth [Sat, 28 Mar 2015 12:35:50 +0000 (12:35 +0000)]
SignalData: Renamed get_max_sample_count

9 years agopv::data::Logic: Renamed get_num_channels and fixed return types
Joel Holdsworth [Sat, 28 Mar 2015 12:30:42 +0000 (12:30 +0000)]
pv::data::Logic: Renamed get_num_channels and fixed return types

9 years agoSession: Store signals_ in an unordered_set
Joel Holdsworth [Sat, 28 Mar 2015 12:10:14 +0000 (12:10 +0000)]
Session: Store signals_ in an unordered_set

9 years agoDevice: Add bindings for SR_CONF_POWER_OFF and SR_CONF_PROBE_FACTOR.
Bartosz Golaszewski [Fri, 3 Apr 2015 13:04:38 +0000 (15:04 +0200)]
Device: Add bindings for SR_CONF_POWER_OFF and SR_CONF_PROBE_FACTOR.

These options are used by baylibre-acme driver and should be available
from pulseview configuration pop-up.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
9 years agoandroid: Add missing libintl.so to APK.
Uwe Hermann [Wed, 8 Apr 2015 23:56:04 +0000 (01:56 +0200)]
android: Add missing libintl.so to APK.

This fixes bug #575.

9 years agoAdd a workaround for QTBUG-22829.
Uwe Hermann [Sat, 28 Feb 2015 19:39:06 +0000 (20:39 +0100)]
Add a workaround for QTBUG-22829.

Qt4's MOC has issues parsing some C++ constructs, yielding errors like:

  [...]/include/boost/type_traits/detail/has_binary_operator.hp:50:
    Parse error at "BOOST_JOIN"

Full details:

  https://bugreports.qt.io/browse/QTBUG-22829

Use -DBOOST_NEXT_PRIOR_HPP_INCLUDED as MOC option to workaround these
issues. This is currently sufficient, however, depending on the future
PulseView code it may be necessary to add further options mentioned in the
above bugreport (e.g.  BOOST_TT_HAS_OPERATOR_HPP_INCLUDED,
BOOST_LEXICAL_CAST_INCLUDED, BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION).

This fixes bug #532 (fixing the build on at least Mac OS X and MinGW).

9 years agowin32: Fix the Windows build (namespace pollution via windows.h).
Vladislav Ivanov [Thu, 26 Feb 2015 18:29:59 +0000 (21:29 +0300)]
win32: Fix the Windows build (namespace pollution via windows.h).

One of the multiple build errors:

  In file included from [...]/windows.h:72:0,
                   from [...]/boost/detail/interlocked.hpp:27,
                   from [...]/boost/thread/win32/thread_primitives.hpp:18,
                   from [...]/boost/thread/win32/thread_data.hpp:11,
                   from [...]/boost/thread/thread_only.hpp:15,
                   from [...]/boost/thread/thread.hpp:12,
                   from [...]/boost/thread.hpp:13,
                   from [...]/pulseview/pv/session.hpp:32,
                   from [...]/pulseview/pv/devicemanager.cpp:22:
  [...]/libsigrok/enums.hpp:153:32: error: expected unqualified-id before numeric constant
    static const Quantity * const DIFFERENCE;
                                  ^

windows.h is included by boost/thread.hpp, hence the conflict can be avoided
by defining NOGDI and NORESOURCE before including thread.hpp.

This fixes bug #517.

9 years agoBring back sigrok-logo-notext.png (needed on Android).
Uwe Hermann [Thu, 26 Feb 2015 19:25:27 +0000 (20:25 +0100)]
Bring back sigrok-logo-notext.png (needed on Android).

On Android sigrok-logo-notext.png is used as app icon, and the build
thus fails if it is not available.

Changing android/custom_rules.xml to use the SVG version instead doesn't
seem to work. It appears Android doesn't really support SVGs as app
icons, or at least not without further changes. Continue using the PNG
for now to keep the Android build in a working state.

9 years agoDrop unneeded /* ENABLE_DECODE */ comments.
Uwe Hermann [Fri, 20 Feb 2015 10:25:45 +0000 (11:25 +0100)]
Drop unneeded /* ENABLE_DECODE */ comments.

(to match the rest of the code base where these are not used either)

9 years agomainwindow: add missing checks against ENABLE_DECODE
Bartosz Golaszewski [Wed, 18 Feb 2015 16:19:08 +0000 (17:19 +0100)]
mainwindow: add missing checks against ENABLE_DECODE

Pulseview doesn't compile with -DENABLE_DECODE=FALSE. Add missing
checks against ENABLE_DECODE in mainwindow.cpp/.hpp.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
9 years agodevice: ensure bind_enum() checks availability of Capability::LIST.
Aurelien Jacobs [Thu, 12 Feb 2015 14:46:42 +0000 (15:46 +0100)]
device: ensure bind_enum() checks availability of Capability::LIST.

This avoids a segfault calling bind_enum() with a non-initialized gvar_list.

This closes bug #453.

9 years agoFix the build for older glibmm versions.
Uwe Hermann [Fri, 30 Jan 2015 18:39:30 +0000 (19:39 +0100)]
Fix the build for older glibmm versions.

With older glibmm versions the following error occured:

  pv/toolbars/mainbar.cpp:228:6: error: no match for ‘operator!’ (operand
  type is ‘Glib::VariantContainerBase’)
    if (!gvar_dict) {
        ^

Work around the above issue by using .gobj() and not relying on
"Glib::VariantBase::operator BoolExpr() const", which was only
added in glibmm 2.36.

This fixes bug #548.

Tested on a Debian stable system with glibmm 2.32.1 and Boost 1.49.

9 years agoMainWindow: Use extension to populate filter
Joel Holdsworth [Wed, 21 Jan 2015 06:53:29 +0000 (01:53 -0500)]
MainWindow: Use extension to populate filter

9 years agoAdded pv::dialogs::InputOutputOptions
Joel Holdsworth [Wed, 21 Jan 2015 01:14:43 +0000 (20:14 -0500)]
Added pv::dialogs::InputOutputOptions

9 years agoAdded InputOutput binding
Joel Holdsworth [Wed, 21 Jan 2015 01:11:22 +0000 (20:11 -0500)]
Added InputOutput binding

9 years agoAdded initial support for export
Joel Holdsworth [Sat, 17 Jan 2015 19:35:33 +0000 (19:35 +0000)]
Added initial support for export

9 years agopv::prop::Int: Fixed unsigned int binding
Joel Holdsworth [Wed, 21 Jan 2015 01:28:38 +0000 (20:28 -0500)]
pv::prop::Int: Fixed unsigned int binding

9 years agoModified header guards to match file names
Joel Holdsworth [Sat, 17 Jan 2015 22:00:52 +0000 (22:00 +0000)]
Modified header guards to match file names

9 years agoRenamed pv::binding::DeviceOptions and DecoderOptions to Device and Decoder
Joel Holdsworth [Sat, 17 Jan 2015 21:58:20 +0000 (21:58 +0000)]
Renamed pv::binding::DeviceOptions and DecoderOptions to Device and Decoder

9 years agoMoved pv::prop:bindings classes into pv::bindings namespace
Joel Holdsworth [Sat, 17 Jan 2015 21:45:04 +0000 (21:45 +0000)]
Moved pv::prop:bindings classes into pv::bindings namespace

9 years agoStoreSession: Support output formats other than srzip
Joel Holdsworth [Sat, 17 Jan 2015 21:03:37 +0000 (21:03 +0000)]
StoreSession: Support output formats other than srzip

9 years agoStoreSession: Added an OutputFormat parameter
Joel Holdsworth [Sat, 17 Jan 2015 20:00:03 +0000 (20:00 +0000)]
StoreSession: Added an OutputFormat parameter

9 years agoAdded pv::widgets::ExportMenu
Joel Holdsworth [Sat, 17 Jan 2015 19:35:18 +0000 (19:35 +0000)]
Added pv::widgets::ExportMenu

9 years agoMainBar: Removed unused run_stop signal
Joel Holdsworth [Sat, 17 Jan 2015 18:35:55 +0000 (18:35 +0000)]
MainBar: Removed unused run_stop signal

9 years agoSession: Tidied class declarations
Joel Holdsworth [Sat, 17 Jan 2015 18:35:12 +0000 (18:35 +0000)]
Session: Tidied class declarations

9 years agoSession: Use set_device to select session file devices
Joel Holdsworth [Sat, 17 Jan 2015 18:14:41 +0000 (18:14 +0000)]
Session: Use set_device to select session file devices

9 years agoMainWindow: Fixed sampling bar comment
Joel Holdsworth [Sat, 17 Jan 2015 18:03:16 +0000 (18:03 +0000)]
MainWindow: Fixed sampling bar comment

9 years agoSession: Renamed set_file to set_session_file
Joel Holdsworth [Sat, 17 Jan 2015 15:19:13 +0000 (15:19 +0000)]
Session: Renamed set_file to set_session_file

9 years agoLogicSignal: Hide the trigger selector, when there is no trigger support
Joel Holdsworth [Sat, 17 Jan 2015 15:09:57 +0000 (15:09 +0000)]
LogicSignal: Hide the trigger selector, when there is no trigger support

9 years agoLogicSignal: Check the TRIGGER_MATCH key before listing
Joel Holdsworth [Sat, 17 Jan 2015 15:04:57 +0000 (15:04 +0000)]
LogicSignal: Check the TRIGGER_MATCH key before listing

9 years agoMainBar: Don't list keys twice
Joel Holdsworth [Sat, 17 Jan 2015 15:04:17 +0000 (15:04 +0000)]
MainBar: Don't list keys twice

9 years agoicons: Improved application icon quality
Joel Holdsworth [Sun, 11 Jan 2015 20:05:12 +0000 (20:05 +0000)]
icons: Improved application icon quality

9 years agoINSTALL: Update build requirements list.
Uwe Hermann [Sat, 24 Jan 2015 19:55:37 +0000 (20:55 +0100)]
INSTALL: Update build requirements list.

9 years agoFix incorrect glibmm.h #includes.
Uwe Hermann [Sat, 17 Jan 2015 20:36:19 +0000 (21:36 +0100)]
Fix incorrect glibmm.h #includes.

As per upstream docs "#include <glibmm.h>" is the correct usage,
the "glibmm-2.4" directory is handled correctly via pkg-config:

 $ pkg-config --cflags glibmm-2.4
 -I/usr/include/glibmm-2.4 [...]

9 years agoUpdate for libsigrokcxx rename.
Uwe Hermann [Sat, 17 Jan 2015 18:29:12 +0000 (19:29 +0100)]
Update for libsigrokcxx rename.

9 years agoMainWindow: Hide the main menu unless Altt is pressed
Joel Holdsworth [Sat, 10 Jan 2015 17:18:32 +0000 (17:18 +0000)]
MainWindow: Hide the main menu unless Altt is pressed

9 years agoMainBar: Prevent context menu from appearing
Soeren Apel [Mon, 5 Jan 2015 20:28:04 +0000 (21:28 +0100)]
MainBar: Prevent context menu from appearing

A user can remove the main toolbar by using the right-click context
menu and clicking on the single entry in it, effectively hiding the
toolbar this way. There is no way to restore it except for closing
PV and deleting the stored session file in ~/.config/sigrok.

This patch prevents the context menu from appearing, thereby
removing the ability to hide the main tool bar.

9 years agoFix #489 by implementing device tool button tooltip
Soeren Apel [Mon, 5 Jan 2015 17:34:53 +0000 (18:34 +0100)]
Fix #489 by implementing device tool button tooltip

9 years agoMainBar: Replaced device selector combo-box with a split button
Joel Holdsworth [Sat, 10 Jan 2015 16:45:55 +0000 (16:45 +0000)]
MainBar: Replaced device selector combo-box with a split button

9 years agoMainBar: Added add-decoder button
Joel Holdsworth [Sat, 10 Jan 2015 16:20:43 +0000 (16:20 +0000)]
MainBar: Added add-decoder button

9 years agoMainWindow: Made menu_decoder_add into a member variable
Joel Holdsworth [Sat, 10 Jan 2015 16:18:33 +0000 (16:18 +0000)]
MainWindow: Made menu_decoder_add into a member variable

9 years agoMainWindow: Removed old main toolbar
Joel Holdsworth [Sat, 10 Jan 2015 16:04:41 +0000 (16:04 +0000)]
MainWindow: Removed old main toolbar

9 years agoMainBar: Added show cursors icon
Joel Holdsworth [Sat, 10 Jan 2015 16:01:57 +0000 (16:01 +0000)]
MainBar: Added show cursors icon

9 years agoMainWindow: Added icon to action_view_show_cursors
Joel Holdsworth [Sat, 10 Jan 2015 16:00:29 +0000 (16:00 +0000)]
MainWindow: Added icon to action_view_show_cursors

9 years agoMainBar: Added menu button
Joel Holdsworth [Sat, 10 Jan 2015 15:53:58 +0000 (15:53 +0000)]
MainBar: Added menu button

9 years agoMainBar: Make toolbar fixed
Joel Holdsworth [Sat, 10 Jan 2015 15:53:41 +0000 (15:53 +0000)]
MainBar: Make toolbar fixed

9 years agoMainWindow: Made QActions into member variables
Joel Holdsworth [Sat, 10 Jan 2015 15:30:52 +0000 (15:30 +0000)]
MainWindow: Made QActions into member variables

9 years agoMainWindow: Moved static constants to top of class definitions
Joel Holdsworth [Sat, 10 Jan 2015 14:57:03 +0000 (14:57 +0000)]
MainWindow: Moved static constants to top of class definitions

9 years agoMainBar: Renamed from SamplingBar
Joel Holdsworth [Tue, 30 Dec 2014 14:37:29 +0000 (14:37 +0000)]
MainBar: Renamed from SamplingBar

9 years agoicons: Added menu icon
Joel Holdsworth [Tue, 6 Jan 2015 22:49:11 +0000 (22:49 +0000)]
icons: Added menu icon

9 years agoSamplingBar: Handle a failure to list the LIMIT_SAMPLES key
Joel Holdsworth [Mon, 5 Jan 2015 20:11:12 +0000 (20:11 +0000)]
SamplingBar: Handle a failure to list the LIMIT_SAMPLES key

9 years agoSamplingBar: Handle a failure to list the SAMPLERATE key
Joel Holdsworth [Mon, 5 Jan 2015 20:10:44 +0000 (20:10 +0000)]
SamplingBar: Handle a failure to list the SAMPLERATE key

This fixes #529

9 years agoConnect: List available serial ports in a combobox.
Aurelien Jacobs [Sat, 6 Dec 2014 23:59:52 +0000 (00:59 +0100)]
Connect: List available serial ports in a combobox.

9 years agoicons: Resized icons to 24x24
Joel Holdsworth [Wed, 31 Dec 2014 10:47:13 +0000 (10:47 +0000)]
icons: Resized icons to 24x24

9 years agoutil: Fixed assertion
Joel Holdsworth [Wed, 31 Dec 2014 09:24:35 +0000 (09:24 +0000)]
util: Fixed assertion

9 years agoUse <cmath> in favor of <math.h> everywhere.
Uwe Hermann [Thu, 1 Jan 2015 19:45:59 +0000 (20:45 +0100)]
Use <cmath> in favor of <math.h> everywhere.

This is both for consistency reasons, as well as to reduce the
likelyhood of issues that may occur due to <math.h> / <cmath> mixups.

9 years agoFix an isnan() issue on (at least) MinGW and Mac OS X.
Uwe Hermann [Thu, 1 Jan 2015 19:43:53 +0000 (20:43 +0100)]
Fix an isnan() issue on (at least) MinGW and Mac OS X.

This closes bug #531.

9 years agoViewport: Mouse wheel scrolls vertically when the control key is pressed
Joel Holdsworth [Tue, 30 Dec 2014 14:22:30 +0000 (14:22 +0000)]
Viewport: Mouse wheel scrolls vertically when the control key is pressed

This fixes #497

9 years agoView: Added set_v_offset
Joel Holdsworth [Tue, 30 Dec 2014 14:21:24 +0000 (14:21 +0000)]
View: Added set_v_offset

9 years agoView: Use the slider value for the v-offset
Joel Holdsworth [Tue, 30 Dec 2014 14:20:56 +0000 (14:20 +0000)]
View: Use the slider value for the v-offset

9 years agoCursorPair: Added frequency indication
Joel Holdsworth [Tue, 30 Dec 2014 11:43:47 +0000 (11:43 +0000)]
CursorPair: Added frequency indication

This fixes #502

9 years agoutil: Added a space between the value and prefix
Joel Holdsworth [Tue, 30 Dec 2014 11:43:00 +0000 (11:43 +0000)]
util: Added a space between the value and prefix

9 years agoutil: Added support for more SI prefixes
Joel Holdsworth [Tue, 30 Dec 2014 10:49:43 +0000 (10:49 +0000)]
util: Added support for more SI prefixes

9 years agoutil: Added format_si_value
Joel Holdsworth [Tue, 30 Dec 2014 09:56:49 +0000 (09:56 +0000)]
util: Added format_si_value

9 years agoViewport: Removed broken using std::isnan
Joel Holdsworth [Tue, 30 Dec 2014 11:51:29 +0000 (11:51 +0000)]
Viewport: Removed broken using std::isnan

9 years agoMinGW: Fix a compile error due to missing std::isnan.
Uwe Hermann [Tue, 30 Dec 2014 10:10:10 +0000 (11:10 +0100)]
MinGW: Fix a compile error due to missing std::isnan.

pv/view/viewport.cpp: In member function 'virtual void pv::view::Viewport::drag_by(const QPoint&)':
pv/view/viewport.cpp:85:24: error: 'isnan' was not declared in this scope
  if (isnan(drag_offset_))
                        ^
pv/view/viewport.cpp:85:24: note: suggested alternative:
In file included from pv/view/viewport.cpp:22:0:
[...]/usr/lib/gcc/i686-w64-mingw32.static/4.9.2/include/c++/cmath:632:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^

9 years agodialogs::Connect: Adds shortcut keys for "Driver", "Serial Port" and "Scan for device...
Uffe Jakobsen [Sun, 28 Dec 2014 09:07:53 +0000 (09:07 +0000)]
dialogs::Connect: Adds shortcut keys for "Driver", "Serial Port" and "Scan for devices" GUI items.

9 years agoViewport: Implemented item hover cursors
Joel Holdsworth [Mon, 29 Dec 2014 11:18:37 +0000 (11:18 +0000)]
Viewport: Implemented item hover cursors

9 years agoViewWidget: Fixed glitching when drag is within the manhattan distance
Joel Holdsworth [Mon, 29 Dec 2014 10:55:02 +0000 (10:55 +0000)]
ViewWidget: Fixed glitching when drag is within the manhattan distance

9 years agoViewport: Implemented on-canvas drag
Joel Holdsworth [Mon, 29 Dec 2014 10:15:26 +0000 (10:15 +0000)]
Viewport: Implemented on-canvas drag

9 years agoViewport: Use fabs instead of branch
Joel Holdsworth [Sun, 28 Dec 2014 21:00:33 +0000 (21:00 +0000)]
Viewport: Use fabs instead of branch