d9b4c6be6a
Add a few test util functions and refactor existing test code
2015-02-15 12:53:41 +10:00
ef99814f7a
add john and todd to contributor list
2015-02-14 07:52:36 -06:00
deb4687d5d
fix testPathIsWithin unit-test:
...
* use absolute path
* fix copy/paste typo: bar->jim for symlink test
2015-02-14 05:50:40 +01:00
7f0cdc3967
hide terminal window for windows vst scanner
2015-02-14 05:50:40 +01:00
5b3ff655f1
Fix LV2 UIs with spacey paths (e.g. Pianoteq).
2015-02-13 22:00:38 -05:00
3cc0f59d51
fix regexp in prev commit (abs path)
2015-02-14 02:54:24 +01:00
fcecace421
linux packaging: ignore QT4 dependency
2015-02-14 02:46:55 +01:00
7a99bc5373
fix seamless looping after a locate out of the loop.
...
Something, somewhere has to tell tracks to refill their buffers with
the special loop-data-only magic
2015-02-13 18:42:41 -05:00
aa5cf04ca6
correctly set track loop status when locating away from loop range (and later, when coming back to the loop)
...
Conflicts:
libs/ardour/ardour/session.h
libs/ardour/session.cc
libs/ardour/session_transport.cc
2015-02-13 17:23:50 -05:00
cc7f9d7f46
fix up recent cherry-picks from waves' tracks
2015-02-13 17:08:25 -05:00
236f549caa
insanely complex fixes for dragging to and from the drop zone.
...
This probably breaks some of ardour's functionality (e.g. layered mode), but seems to
be either just right or very close to it for tracks
Conflicts:
gtk2_ardour/editor_routes.cc
2015-02-13 17:00:30 -05:00
8304471062
fix up recent cherry-picks from waves' tracks
2015-02-13 16:42:05 -05:00
6f98f91f18
prevent fade in/fade out on audio regions from overlapping each other
2015-02-13 16:22:08 -05:00
456374c995
implement axis-limited dragging
2015-02-13 16:21:57 -05:00
994dff91a2
detect if drags appear to be vertical or horizontal as we cross the move threshold
...
Conflicts:
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_drag.h
2015-02-13 16:21:37 -05:00
eb45b3baaa
fix behaviour of region-copy-drag when using the dropzone.
...
The copied regions all had a null playlist pointer, so they all ended up on
the same (new) track
2015-02-13 16:19:06 -05:00
78d76c197e
allow normal right trimming even if the start of a range is at zero
...
Conflicts:
gtk2_ardour/editor_drag.cc
2015-02-13 16:18:24 -05:00
bc2271b43e
After dragging from multiple tracks to the dropzone, create the right number of new tracks.
...
This does not address the visual flattening that occurs before the drop
is complete. Doing that is complex and there is no immediate solution
visible. The result after the drop is complete is correct, however.
2015-02-13 16:17:27 -05:00
193a276e22
add a common test-failed indicator
2015-02-13 16:10:47 +01:00
cb3961d953
Add a test for the constrained cubic interpolation of Evoral::Curve
...
Add a test, based on the worked example in www.korf.co.uk/spline.pdf, for
the constrained cubic spline interpolation.
The delta values for the float comparisons are rather arbitrary, I'm sorry
to say: they're basically chosen so that everything passes.
2015-02-13 12:25:51 +00:00
5ec93d18e1
When building with MSVC add a couple of new pragmas to cut down on the most frequent compiler warnings, namely:-
...
1) C4244 (conversion loses data) - e.g. when re-assigning a var of (say) int64_t to a lesser type, such as int32_t
2) C4275 (an exported class was derived from a class which is not exportable) - e.g. when deriving classes from std::set, std::exception or some other class which isn't declared with 'dllexport'
2015-02-13 11:37:00 +00:00
a3857b5d2c
When building with MSVC, follow Robin's lead and add support for a new env var (SUIL_MODULE_DIR)
2015-02-13 11:23:59 +00:00
74839190d9
win-pkg, ignore missing suil modules
2015-02-12 23:01:03 +01:00
bd6ef95989
add accessor methods for single_exposure
2015-02-12 11:35:35 -06:00
b8ec035b24
_single_exposure is now a member variable for each GtkCanvas.
...
Gtk coalesces multiple exposes into a single combined rect.
If _single_exposure is disabled, we break apart the individual expose rects for the canvas rendering.
2015-02-12 11:35:35 -06:00
16346296d3
windows: deploy suil modules
2015-02-12 17:37:24 +01:00
180b705643
Fix whitespace in pbd/debug.h
2015-02-12 22:10:51 +10:00
0550ec31bc
Add local PwdReset class to reset pwd in event of test failure
...
This fixes subsequent tests that rely on pwd but not PBD::path_is_within
breakage caused by commit 2689848e
2015-02-12 20:06:47 +10:00
9a7ae1ad99
Add some more test assertions so that tests fail when they should
2015-02-12 20:06:47 +10:00
0f0aebf26b
remove naive attempt to avoid drawing first vertical pixel line of Canvas::WaveView
...
And add commented out attempt at more subtle attempt to get it right
2015-02-11 21:59:38 -05:00
11cfdd4c6d
remove use of TimeRectangle
2015-02-11 21:59:38 -05:00
a992a2e6e0
simplify Canvas::Rectangle rendering to avoid unnecessary nonsense, and remove TimeRectangle
2015-02-11 21:59:38 -05:00
2a5921ecf1
Canvas::Rect::contains() should treat its right/left coordinates as exclusive
2015-02-11 21:59:38 -05:00
9090057f6e
When setting the duration of a TimeAxisViewItem, do not round before computing pixel width
2015-02-11 21:59:38 -05:00
baf10dc4e3
Editor::sample_to_pixel() always returns an integer value, but it should use explicit rounding
2015-02-11 21:59:38 -05:00
e8c24f1efd
fix midi-capture filter
...
diskstream reads directly from port, Route
use prefilled buffer-set.
2015-02-12 01:05:16 +01:00
d92608b05f
use magic strings instead of magic numbers (allow profiles to leave out some track type options)
2015-02-11 14:29:50 -06:00
b1f9b644fc
desensitize redirect-menu Send and Control items when they are not applicable
2015-02-11 11:13:24 -06:00
b2d4c731e8
properly activating MIDI parsing for traced ports
2015-02-10 19:48:47 -05:00
eddcd7128f
infrastructure to allow tracing of all MIDI ports
2015-02-10 19:48:47 -05:00
266ac60941
skip drawing the first pixel of waves in an audio region view.
...
This means that they do no overwrite the frame border of the time axis item
2015-02-10 19:48:47 -05:00
34779ee81e
add a sort-of hack to allow us to avoid drawing the first pixel of a waveview when necessary
2015-02-10 19:48:47 -05:00
99054ea415
fix previous commit
2015-02-10 14:54:43 -06:00
d273bb3de8
Track Mode is too vague; rename to Record Mode
2015-02-10 14:43:17 -06:00
e9e29bf2b0
flip the priority of input and output buttons and menus
...
left-click should show the simple input picker menu.
right-click shows the routing grid.
also reordered the menu to give lower precedence to {add/remove}-port
2015-02-10 14:43:17 -06:00
6cad07fc11
fix boot message always sticking on the last loaded route; it looked like an error
2015-02-10 14:43:16 -06:00
f131e15545
fixed collision with <SECONDARY>n binding
2015-02-10 14:43:16 -06:00
c679d616f6
correct drawing of rectangle borders.
...
They need to use fractional coordinates, and the border position needed
generalizing for other border widths. See verbose comment for details
2015-02-09 16:41:28 -05:00
736038556f
canvas items must be able to use fractional positions when rendering.
...
This is required to be able to draw precise single pixel lines, as described
in the Cairo FAQ
2015-02-09 16:40:10 -05:00
ef79d1c4d4
fix last cherry-pick
2015-02-09 14:46:20 -05:00