ardour.git
11 years agoshrink height of plugin control faders (in-strip)
Paul Davis [Wed, 12 Dec 2012 01:36:44 +0000 (01:36 +0000)]
shrink height of plugin control faders (in-strip)

git-svn-id: svn://localhost/ardour2/branches/3.0@13644 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoif we're not going to use pixfbuf (images) for faders, then lets not create a whole...
Paul Davis [Wed, 12 Dec 2012 01:23:06 +0000 (01:23 +0000)]
if we're not going to use pixfbuf (images) for faders, then lets not create a whole bunch of them unnecessarily (for now, at least)

git-svn-id: svn://localhost/ardour2/branches/3.0@13643 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoprevent an endless loop when answering "no" regarding opening an existing session...
Paul Davis [Tue, 11 Dec 2012 17:57:54 +0000 (17:57 +0000)]
prevent an endless loop when answering "no" regarding opening an existing session when you specificed that you were creating a new one

git-svn-id: svn://localhost/ardour2/branches/3.0@13642 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotypo that led to incorrect tempo based ruler stuff ... thanks, valgrind
Paul Davis [Tue, 11 Dec 2012 17:29:31 +0000 (17:29 +0000)]
typo that led to incorrect tempo based ruler stuff ... thanks, valgrind

git-svn-id: svn://localhost/ardour2/branches/3.0@13641 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix uninitialized variable causing error delivering various MIDI messages at frame...
Paul Davis [Tue, 11 Dec 2012 15:54:41 +0000 (15:54 +0000)]
fix uninitialized variable causing error delivering various MIDI messages at frame zero

git-svn-id: svn://localhost/ardour2/branches/3.0@13640 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomake sure that JACK MIDI ports know about Jack halting in the "halted info" callback...
Paul Davis [Tue, 11 Dec 2012 14:23:55 +0000 (14:23 +0000)]
make sure that JACK MIDI ports know about Jack halting in the "halted info" callback as well a the normal "halted" callback

git-svn-id: svn://localhost/ardour2/branches/3.0@13639 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoremove TINY font size (unused) and tweak monitor section labels up in size
Paul Davis [Tue, 11 Dec 2012 13:11:03 +0000 (13:11 +0000)]
remove TINY font size (unused) and tweak monitor section labels up in size

git-svn-id: svn://localhost/ardour2/branches/3.0@13638 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomake "bold monospace" font spec platform specific, since OS X doesn't seem to like...
Paul Davis [Tue, 11 Dec 2012 01:43:25 +0000 (01:43 +0000)]
make "bold monospace" font spec platform specific, since OS X doesn't seem to like/provide such a thing

git-svn-id: svn://localhost/ardour2/branches/3.0@13637 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoredraw entire splash window if a new message is to be displayed but the window is...
Paul Davis [Tue, 11 Dec 2012 01:21:17 +0000 (01:21 +0000)]
redraw entire splash window if a new message is to be displayed but the window is not currently visible

git-svn-id: svn://localhost/ardour2/branches/3.0@13636 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodo not show the mixer window if the (current) screen height is < 700 pixels (since...
Paul Davis [Tue, 11 Dec 2012 01:17:23 +0000 (01:17 +0000)]
do not show the mixer window if the (current) screen height is < 700 pixels (since this results in a very, very irritating situation)

git-svn-id: svn://localhost/ardour2/branches/3.0@13635 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix binding generation for OS X
Paul Davis [Mon, 10 Dec 2012 22:16:27 +0000 (22:16 +0000)]
fix binding generation for OS X

git-svn-id: svn://localhost/ardour2/branches/3.0@13634 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agopixfader: don't change drawing state (prelight) just because a leave event arrives...
Paul Davis [Mon, 10 Dec 2012 21:52:55 +0000 (21:52 +0000)]
pixfader: don't change drawing state (prelight) just because a leave event arrives IF we are dragging

git-svn-id: svn://localhost/ardour2/branches/3.0@13633 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadd 10 pixels of track height to facilitate easier grabbing of the track headers...
Paul Davis [Mon, 10 Dec 2012 21:06:29 +0000 (21:06 +0000)]
add 10 pixels of track height to facilitate easier grabbing of the track headers for resizing

git-svn-id: svn://localhost/ardour2/branches/3.0@13632 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak to plugin parameter sliders in mixer strips
Ben Loftis [Mon, 10 Dec 2012 20:08:36 +0000 (20:08 +0000)]
tweak to plugin parameter sliders in mixer strips

git-svn-id: svn://localhost/ardour2/branches/3.0@13631 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix reversion of keyboard focus from gain display editing widget in both mixer and...
Paul Davis [Mon, 10 Dec 2012 02:03:45 +0000 (02:03 +0000)]
fix reversion of keyboard focus from gain display editing widget in both mixer and editor windows

git-svn-id: svn://localhost/ardour2/branches/3.0@13628 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodisable spline interpolation for curves - use linear interpolation; configuration...
Paul Davis [Sun, 9 Dec 2012 17:24:58 +0000 (17:24 +0000)]
disable spline interpolation for curves - use linear interpolation; configuration parameter pending for this, plus slightly cleaner reuse of existing ControlList methods

git-svn-id: svn://localhost/ardour2/branches/3.0@13627 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoremove debug output
Paul Davis [Sat, 8 Dec 2012 21:03:19 +0000 (21:03 +0000)]
remove debug output

git-svn-id: svn://localhost/ardour2/branches/3.0@13626 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agolocale/focus debug 3
Paul Davis [Sat, 8 Dec 2012 20:43:06 +0000 (20:43 +0000)]
locale/focus debug 3

git-svn-id: svn://localhost/ardour2/branches/3.0@13625 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agolocale/focus debug 2
Paul Davis [Sat, 8 Dec 2012 20:35:14 +0000 (20:35 +0000)]
locale/focus debug 2

git-svn-id: svn://localhost/ardour2/branches/3.0@13624 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agolocale/focus debug
Paul Davis [Sat, 8 Dec 2012 20:34:34 +0000 (20:34 +0000)]
locale/focus debug

git-svn-id: svn://localhost/ardour2/branches/3.0@13623 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadditional keycode for is-legal-as-numeric
Paul Davis [Sat, 8 Dec 2012 20:21:54 +0000 (20:21 +0000)]
additional keycode for is-legal-as-numeric

git-svn-id: svn://localhost/ardour2/branches/3.0@13622 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoaccept decimal point as well
Paul Davis [Sat, 8 Dec 2012 19:46:40 +0000 (19:46 +0000)]
accept decimal point as well

git-svn-id: svn://localhost/ardour2/branches/3.0@13621 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agolocale debugging
Paul Davis [Sat, 8 Dec 2012 19:33:48 +0000 (19:33 +0000)]
locale debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@13620 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix automation/control list behaviour when manually adding a point within existing...
Paul Davis [Sat, 8 Dec 2012 17:57:47 +0000 (17:57 +0000)]
fix automation/control list behaviour when manually adding a point within existing data

git-svn-id: svn://localhost/ardour2/branches/3.0@13619 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agocrash fix. looks like narrow mixer strips need more work again
Ben Loftis [Fri, 7 Dec 2012 23:34:55 +0000 (23:34 +0000)]
crash fix.  looks like narrow mixer strips need more work again

git-svn-id: svn://localhost/ardour2/branches/3.0@13618 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomore theming and layout tweaks. new faders that pre-light. fixed some spacing aroun...
Ben Loftis [Fri, 7 Dec 2012 22:38:49 +0000 (22:38 +0000)]
more theming and layout tweaks.  new faders that pre-light.  fixed some spacing around mixer buttons.  tweaked some colors (returned mutes to yellow).  removed group button at bottom of mixer strip and replaced it with fader automation mode.

git-svn-id: svn://localhost/ardour2/branches/3.0@13617 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoMake export type an enum and pass it to the profile manager instead of the xml node...
Sakari Bergen [Fri, 7 Dec 2012 21:58:33 +0000 (21:58 +0000)]
Make export type an enum and pass it to the profile manager instead of the xml node name.
Use this to always include the channel configuration name in stem exports.

git-svn-id: svn://localhost/ardour2/branches/3.0@13616 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix wierd rec-enable behaviour, at possible expense of adding more RT cost
Paul Davis [Fri, 7 Dec 2012 19:35:38 +0000 (19:35 +0000)]
fix wierd rec-enable behaviour, at possible expense of adding more RT cost

git-svn-id: svn://localhost/ardour2/branches/3.0@13615 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix flat button colors
Ben Loftis [Fri, 7 Dec 2012 17:00:49 +0000 (17:00 +0000)]
fix flat button colors

git-svn-id: svn://localhost/ardour2/branches/3.0@13614 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix issues with rec-enabling being done in RT context by splitting it into two parts...
Paul Davis [Fri, 7 Dec 2012 15:48:38 +0000 (15:48 +0000)]
fix issues with rec-enabling being done in RT context by splitting it into two parts, an RT-safe and RT-unsafe part. along the way, remove "do not record plugins" option which is just so 1999 and creates problems for various (all?) plugin APIs

git-svn-id: svn://localhost/ardour2/branches/3.0@13613 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agochange presentation of shortcut in tooltips and fix include paths
Paul Davis [Fri, 7 Dec 2012 13:43:45 +0000 (13:43 +0000)]
change presentation of shortcut in tooltips and fix include paths

git-svn-id: svn://localhost/ardour2/branches/3.0@13612 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoseveral theme changes. changed drawing of rounded_rectangle to be more correct....
Ben Loftis [Thu, 6 Dec 2012 20:48:44 +0000 (20:48 +0000)]
several theme changes.  changed drawing of rounded_rectangle to be more correct.  operation and feel should be more consistent.  rec-mute-solo buttons are now dull until enabled.  this might be debatable.  otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults

git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agovarious fixes for exporting, including correct handling of errors during export which...
Paul Davis [Thu, 6 Dec 2012 19:56:33 +0000 (19:56 +0000)]
various fixes for exporting, including correct handling of errors during export which previously would hang when using jack1 because jack_set_freewheel() was called from inside a process() callback; use shared_ptr<Route> in parts of export code that weren't using them before; fix up generation of export filenames so that Glib::build_filename() is used and non-existent folders are ignored

git-svn-id: svn://localhost/ardour2/branches/3.0@13610 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agonew look for transport shuttle box. still operates brokenly though
Ben Loftis [Thu, 6 Dec 2012 19:09:16 +0000 (19:09 +0000)]
new look for transport shuttle box.  still operates brokenly though

git-svn-id: svn://localhost/ardour2/branches/3.0@13609 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweaked some icons, hopefully more consistent looking. svg source now included
Ben Loftis [Thu, 6 Dec 2012 19:07:06 +0000 (19:07 +0000)]
tweaked some icons, hopefully more consistent looking.  svg source now included

git-svn-id: svn://localhost/ardour2/branches/3.0@13608 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix duplicate, and clarify its behaviour in smart mode; includes a fix for TimeSelect...
Paul Davis [Thu, 6 Dec 2012 15:59:01 +0000 (15:59 +0000)]
fix duplicate, and clarify its behaviour in smart mode; includes a fix for TimeSelection::length() which didn't account for "no selection" in its return value

git-svn-id: svn://localhost/ardour2/branches/3.0@13607 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomake bus stem export possible (from colinf) (#4745)
Paul Davis [Thu, 6 Dec 2012 12:46:27 +0000 (12:46 +0000)]
make bus stem export possible (from colinf) (#4745)

git-svn-id: svn://localhost/ardour2/branches/3.0@13606 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak to make it more likely (hopefully 100% certain) that the splash window is fully...
Paul Davis [Wed, 5 Dec 2012 23:58:27 +0000 (23:58 +0000)]
tweak to make it more likely (hopefully 100% certain) that the splash window is fully drawn before we return control to the main event loop. do this by making sure that the idle handler that says "the expose happened" executes AFTER GDK's internal idle-update mechanism, not before it

git-svn-id: svn://localhost/ardour2/branches/3.0@13605 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoprevent Primary-click or Shift-click from deselecting when clicking on a track "backg...
Paul Davis [Wed, 5 Dec 2012 20:29:54 +0000 (20:29 +0000)]
prevent Primary-click or Shift-click from deselecting when clicking on a track "background"

git-svn-id: svn://localhost/ardour2/branches/3.0@13604 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak region layering editor to use only a single click to change layering
Paul Davis [Wed, 5 Dec 2012 18:29:07 +0000 (18:29 +0000)]
tweak region layering editor to use only a single click to change layering

git-svn-id: svn://localhost/ardour2/branches/3.0@13603 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotentative fix for MIDI monitoring bug - just use existing monitoring code, i.e. treat...
Paul Davis [Wed, 5 Dec 2012 16:08:17 +0000 (16:08 +0000)]
tentative fix for MIDI monitoring bug - just use existing monitoring code, i.e. treat MIDI tracks just like audio... needs feedback from MIDI users (also #5060 reporter)

git-svn-id: svn://localhost/ardour2/branches/3.0@13602 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoSession should disconnect from all signals during its destruction, early
Paul Davis [Wed, 5 Dec 2012 16:07:30 +0000 (16:07 +0000)]
Session should disconnect from all signals during its destruction, early

git-svn-id: svn://localhost/ardour2/branches/3.0@13601 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agobump version
Paul Davis [Tue, 4 Dec 2012 22:31:15 +0000 (22:31 +0000)]
bump version

git-svn-id: svn://localhost/ardour2/branches/3.0@13599 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years ago(re)fix for OS X 10.6 math.h breakage
Paul Davis [Tue, 4 Dec 2012 20:19:23 +0000 (20:19 +0000)]
(re)fix for OS X 10.6 math.h breakage

git-svn-id: svn://localhost/ardour2/branches/3.0@13598 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix for OS X 10.6 math.h breakage
Paul Davis [Tue, 4 Dec 2012 20:18:50 +0000 (20:18 +0000)]
fix for OS X 10.6 math.h breakage

git-svn-id: svn://localhost/ardour2/branches/3.0@13597 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodramatically speed up the addition of large numbers of busses + tracks. consists...
Paul Davis [Tue, 4 Dec 2012 14:32:28 +0000 (14:32 +0000)]
dramatically speed up the addition of large numbers of busses + tracks. consists of a backend part (ignore JACK graph/latency callbacks while we're adding tracks) and a GUI side (avoid O(N^N) behaviour while adding each new time axis view)

git-svn-id: svn://localhost/ardour2/branches/3.0@13595 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodo not try to write from JackMIDIPort::write() if we are disconnected from JACK....
Paul Davis [Mon, 3 Dec 2012 21:39:59 +0000 (21:39 +0000)]
do not try to write from JackMIDIPort::write() if we are disconnected from JACK. should fix erroneous behaviour when MMC tries to send stop messages after JACK disconnects

git-svn-id: svn://localhost/ardour2/branches/3.0@13594 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoallow button release events to be processed for region selection ops
Paul Davis [Sun, 2 Dec 2012 20:56:33 +0000 (20:56 +0000)]
allow button release events to be processed for region selection ops

git-svn-id: svn://localhost/ardour2/branches/3.0@13591 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoremove debugging/analysis output
Paul Davis [Sun, 2 Dec 2012 02:12:39 +0000 (02:12 +0000)]
remove debugging/analysis output

git-svn-id: svn://localhost/ardour2/branches/3.0@13589 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomake newly-added string translatable
Paul Davis [Sun, 2 Dec 2012 01:55:48 +0000 (01:55 +0000)]
make newly-added string translatable

git-svn-id: svn://localhost/ardour2/branches/3.0@13588 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix fmt-bindings' handling of > and < bindings
Paul Davis [Sun, 2 Dec 2012 01:45:31 +0000 (01:45 +0000)]
fix fmt-bindings' handling of > and < bindings

git-svn-id: svn://localhost/ardour2/branches/3.0@13587 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agorefuse to show the editor mixer is the screen is < 700 pixels high (makes the editor...
Paul Davis [Sun, 2 Dec 2012 01:44:09 +0000 (01:44 +0000)]
refuse to show the editor mixer is the screen is < 700 pixels high (makes the editor very hard to use)

git-svn-id: svn://localhost/ardour2/branches/3.0@13586 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoremove debugging output; properly handle cases in Curve::_get_vector() where the...
Paul Davis [Sun, 2 Dec 2012 00:23:03 +0000 (00:23 +0000)]
remove debugging output; properly handle cases in Curve::_get_vector() where the entire requested range for the vector is either before the first point in the curve (unlikely to happen because we typically add a guard point at zero) or entire after the last point in the curve

git-svn-id: svn://localhost/ardour2/branches/3.0@13582 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agostill more debugging output
Paul Davis [Fri, 30 Nov 2012 23:49:59 +0000 (23:49 +0000)]
still more debugging output

git-svn-id: svn://localhost/ardour2/branches/3.0@13581 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agostill more debugging output
Paul Davis [Fri, 30 Nov 2012 23:42:48 +0000 (23:42 +0000)]
still more debugging output

git-svn-id: svn://localhost/ardour2/branches/3.0@13580 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agostill more debugging output
Paul Davis [Fri, 30 Nov 2012 23:38:15 +0000 (23:38 +0000)]
still more debugging output

git-svn-id: svn://localhost/ardour2/branches/3.0@13579 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomore debugging output
Paul Davis [Fri, 30 Nov 2012 23:28:47 +0000 (23:28 +0000)]
more debugging output

git-svn-id: svn://localhost/ardour2/branches/3.0@13578 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodebugging output
Paul Davis [Fri, 30 Nov 2012 23:21:12 +0000 (23:21 +0000)]
debugging output

git-svn-id: svn://localhost/ardour2/branches/3.0@13577 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agorestore the post-export nag screen
Paul Davis [Fri, 30 Nov 2012 23:17:58 +0000 (23:17 +0000)]
restore the post-export nag screen

git-svn-id: svn://localhost/ardour2/branches/3.0@13576 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak binding descriptions so that the cheat sheet formats OK
Paul Davis [Fri, 30 Nov 2012 23:15:26 +0000 (23:15 +0000)]
tweak binding descriptions so that the cheat sheet formats OK

git-svn-id: svn://localhost/ardour2/branches/3.0@13575 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix x-fades (part one)
Robin Gareus [Fri, 30 Nov 2012 15:51:08 +0000 (15:51 +0000)]
fix x-fades (part one)

The data from the lower layer(s) was not faded out because
the reversed gain curve was incorrect because ControlList:add()
inserts anchor points.

a call to reverse_curve() for a linear fade produced:
 INPUT: [when,val]  {[0.0, 0.0], [300.0, 1.0]}
 OUTPUT: (reversed) {[0.0, 0.0], [0.0, 1.0], [1.0, 0,0], [300.0, 0.0]}

solution: use fast_simple_add() instead.

git-svn-id: svn://localhost/ardour2/branches/3.0@13572 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadd reverse iterator to event list (prepare x-fade fix)
Robin Gareus [Fri, 30 Nov 2012 15:51:05 +0000 (15:51 +0000)]
add reverse iterator to event list (prepare x-fade fix)

git-svn-id: svn://localhost/ardour2/branches/3.0@13571 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoedit operations should depend on the existence of an explicit range, NOT the mouse...
Ben Loftis [Wed, 28 Nov 2012 17:07:35 +0000 (17:07 +0000)]
edit operations should depend on the existence of an explicit range, NOT the mouse mode. this produces less confusion to the user.  For an edit (such as delete) the selection should be based on this priority:  explicit range selection, ojbect (region) selection, and then implicit range ( i.e.  mouse-to-marker)

git-svn-id: svn://localhost/ardour2/branches/3.0@13563 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak Auto Play behavior: dont auto-play a range selection if the auto-play option...
Ben Loftis [Wed, 28 Nov 2012 17:03:39 +0000 (17:03 +0000)]
tweak Auto Play behavior: dont auto-play a range selection if the auto-play option is on;  but note that this is still possible if both auto-play and follow-edits is on

git-svn-id: svn://localhost/ardour2/branches/3.0@13562 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix initial display of BBT ruler, i believe
Paul Davis [Wed, 28 Nov 2012 00:18:10 +0000 (00:18 +0000)]
fix initial display of BBT ruler, i believe

git-svn-id: svn://localhost/ardour2/branches/3.0@13560 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadjust the way we use a pair of iterators into the tempo map so that the iterators...
Paul Davis [Tue, 27 Nov 2012 22:48:59 +0000 (22:48 +0000)]
adjust the way we use a pair of iterators into the tempo map so that the iterators are always local to the scope where they are used, which fixes at least one tempo-map related crash; also fix correct setting of join-object-range parameter, where the property wasn't actually used

git-svn-id: svn://localhost/ardour2/branches/3.0@13559 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadd shift-f to default bindings for Follow Edits toggle
Paul Davis [Tue, 27 Nov 2012 18:45:50 +0000 (18:45 +0000)]
add shift-f to default bindings for Follow Edits toggle

git-svn-id: svn://localhost/ardour2/branches/3.0@13558 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomousehweel zoom should always operate like ZoomFocusMouse
Ben Loftis [Tue, 27 Nov 2012 17:04:42 +0000 (17:04 +0000)]
mousehweel zoom should always operate like ZoomFocusMouse

git-svn-id: svn://localhost/ardour2/branches/3.0@13557 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoa couple of extra tooltips for editor preferences
Paul Davis [Tue, 27 Nov 2012 14:47:59 +0000 (14:47 +0000)]
a couple of extra tooltips for editor preferences

git-svn-id: svn://localhost/ardour2/branches/3.0@13555 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotry another fix for the crash created by rev 13547
Paul Davis [Tue, 27 Nov 2012 13:21:21 +0000 (13:21 +0000)]
try another fix for the crash created by rev 13547

git-svn-id: svn://localhost/ardour2/branches/3.0@13554 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoavoid crash caused by referencing non-existent route in mixer strip button name setting
Paul Davis [Tue, 27 Nov 2012 13:07:43 +0000 (13:07 +0000)]
avoid crash caused by referencing non-existent route in mixer strip button name setting

git-svn-id: svn://localhost/ardour2/branches/3.0@13553 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoregion selections and moves should have optional preroll when playhead follows edits
Ben Loftis [Mon, 26 Nov 2012 23:07:21 +0000 (23:07 +0000)]
region selections and moves should have optional preroll when playhead follows edits

git-svn-id: svn://localhost/ardour2/branches/3.0@13552 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak Smart Mode to be more like Mixbus. Smart mode is just a modifier on Object...
Ben Loftis [Mon, 26 Nov 2012 22:43:10 +0000 (22:43 +0000)]
tweak Smart Mode to be more like Mixbus.  Smart mode is just a modifier on Object mode which provides Range selection in the top half of the waveform.  probably lots of corner cases to clear up before its all over, but at least we can use Mixbus as a consistent target rather than making it all up again.

git-svn-id: svn://localhost/ardour2/branches/3.0@13551 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoslightly tweak mute buttons for more contrast with white text
Ben Loftis [Mon, 26 Nov 2012 22:38:25 +0000 (22:38 +0000)]
slightly tweak mute buttons for more contrast with white text

git-svn-id: svn://localhost/ardour2/branches/3.0@13550 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoexplicitly enforce selection rules to avoid some corner cases and avoid user confusion
Ben Loftis [Mon, 26 Nov 2012 22:37:34 +0000 (22:37 +0000)]
explicitly enforce selection rules to avoid some corner cases and avoid user confusion

git-svn-id: svn://localhost/ardour2/branches/3.0@13549 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agodesensitize Follow Edits button if sync is external
Ben Loftis [Mon, 26 Nov 2012 22:35:57 +0000 (22:35 +0000)]
desensitize Follow Edits button if sync is external

git-svn-id: svn://localhost/ardour2/branches/3.0@13548 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agosome tweaks to make narrow mixer strips actually narrow
Paul Davis [Mon, 26 Nov 2012 22:05:45 +0000 (22:05 +0000)]
some tweaks to make narrow mixer strips actually narrow

git-svn-id: svn://localhost/ardour2/branches/3.0@13547 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofrom the depths of thorwil's dumpster diving comes a fix incorrect solo behaviour...
Paul Davis [Wed, 21 Nov 2012 23:16:02 +0000 (23:16 +0000)]
from the depths of thorwil's dumpster diving comes a fix incorrect solo behaviour in 2.X sessions loaded into 3.0 because master/monitor/auditioner routes are not told to ignore solo state; remove unnecessary error message

git-svn-id: svn://localhost/ardour2/branches/3.0@13543 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadd more DEBUG::Solo output ; fix assignment of remote control ID's from XML (#5079)
Paul Davis [Wed, 21 Nov 2012 19:56:55 +0000 (19:56 +0000)]
add more DEBUG::Solo output ; fix assignment of remote control ID's from XML (#5079)

git-svn-id: svn://localhost/ardour2/branches/3.0@13542 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak display of remote control id (dialog text)
Paul Davis [Wed, 21 Nov 2012 19:54:52 +0000 (19:54 +0000)]
tweak display of remote control id (dialog text)

git-svn-id: svn://localhost/ardour2/branches/3.0@13541 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoadd warning dialog if user tries to use audio+MIDI tracks
Paul Davis [Wed, 21 Nov 2012 17:14:05 +0000 (17:14 +0000)]
add warning dialog if user tries to use audio+MIDI tracks

git-svn-id: svn://localhost/ardour2/branches/3.0@13540 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix double escape in r13530
Robin Gareus [Tue, 20 Nov 2012 21:17:03 +0000 (21:17 +0000)]
fix double escape in r13530

git-svn-id: svn://localhost/ardour2/branches/3.0@13538 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoAlways Play Range is now Follow Edits, and is based on Mixbus implementation. Added...
Ben Loftis [Tue, 20 Nov 2012 19:43:43 +0000 (19:43 +0000)]
Always Play Range is now Follow Edits, and is based on Mixbus implementation. Added menu item.  Follow Edits button replaces Auto Play; removed the connector between play and play-range.  Some Smart Mode changes came along for the ride but will be cleaned up shortly

git-svn-id: svn://localhost/ardour2/branches/3.0@13537 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomake range ruler visible by default - costs a few mm, saves confusion among new users
Paul Davis [Tue, 20 Nov 2012 14:03:09 +0000 (14:03 +0000)]
make range ruler visible by default - costs a few mm, saves confusion among new users

git-svn-id: svn://localhost/ardour2/branches/3.0@13536 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoreset default automation interval to 30msec
Paul Davis [Mon, 19 Nov 2012 22:16:45 +0000 (22:16 +0000)]
reset default automation interval to 30msec

git-svn-id: svn://localhost/ardour2/branches/3.0@13535 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoremove unused Automatable::automation_interval and related code
Paul Davis [Mon, 19 Nov 2012 22:03:50 +0000 (22:03 +0000)]
remove unused Automatable::automation_interval and related code

git-svn-id: svn://localhost/ardour2/branches/3.0@13534 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agotweak config param for automation sampling interval, set to 500msec by default, and...
Paul Davis [Mon, 19 Nov 2012 21:31:44 +0000 (21:31 +0000)]
tweak config param for automation sampling interval, set to 500msec by default, and expose in prefs dialog

git-svn-id: svn://localhost/ardour2/branches/3.0@13533 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agominor tweaks
Paul Davis [Mon, 19 Nov 2012 18:18:09 +0000 (18:18 +0000)]
minor tweaks

git-svn-id: svn://localhost/ardour2/branches/3.0@13532 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agomarkup-escape track/playlist titles in tooltips.
Robin Gareus [Mon, 19 Nov 2012 16:18:03 +0000 (16:18 +0000)]
markup-escape track/playlist titles in tooltips.

git-svn-id: svn://localhost/ardour2/branches/3.0@13530 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix prev commit (stupid C++ needs explicit typecast)
Robin Gareus [Sun, 18 Nov 2012 21:48:29 +0000 (21:48 +0000)]
fix prev commit (stupid C++ needs explicit typecast)

git-svn-id: svn://localhost/ardour2/branches/3.0@13529 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoprevent subveclen to wrap at 2^31
Robin Gareus [Sun, 18 Nov 2012 21:22:58 +0000 (21:22 +0000)]
prevent subveclen to wrap at 2^31

fixes http://pastebin.com/X629ZE7F (Timecode 22h @48k, 512fpp)

git-svn-id: svn://localhost/ardour2/branches/3.0@13528 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agogrid/snap minimum selection length
Robin Gareus [Sun, 18 Nov 2012 15:35:05 +0000 (15:35 +0000)]
grid/snap minimum selection length

git-svn-id: svn://localhost/ardour2/branches/3.0@13527 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix compiler warning
Robin Gareus [Sun, 18 Nov 2012 15:35:02 +0000 (15:35 +0000)]
fix compiler warning

git-svn-id: svn://localhost/ardour2/branches/3.0@13526 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix O(N^M) behaviour of control point selection (N = number of control points, M...
Paul Davis [Sun, 18 Nov 2012 15:18:34 +0000 (15:18 +0000)]
fix O(N^M) behaviour of control point selection (N = number of control points, M = number of automatable parameters)

git-svn-id: svn://localhost/ardour2/branches/3.0@13525 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix LTC frame TVstandard offset
Robin Gareus [Sun, 18 Nov 2012 09:53:13 +0000 (09:53 +0000)]
fix LTC frame TVstandard offset

<pre>
       Ardour-
      transport
     01:00:00:01
          |
          |
    5   5 |           NTSC Line
    2   2 |                                     1
    4   5 v 1   2   3   4   5   6   7   8   9   0
  ____________________             ________________    TV
  |   |   | | | | | | |_|_|_|_|_|_| | | | | | |   |

                          ^
                          |
                          v

    +-+ +-+ + + +-+   +-+ +---+   +---+
  | | | | | | | | |   | | |   |   |   |   |            LTC
  +-+ +-+ +-+ +-+ +---+ +-+   +---+   +---+

           SYNC-WORD      |
              LTC       B | B       LTC
          01:00:00:00   I | I   01:00:00:01
                        T   T
                        7
                        9   0
</pre>

git-svn-id: svn://localhost/ardour2/branches/3.0@13524 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agofix drop-frame TC subframe rounding
Robin Gareus [Sun, 18 Nov 2012 09:53:11 +0000 (09:53 +0000)]
fix drop-frame TC subframe rounding

git-svn-id: svn://localhost/ardour2/branches/3.0@13523 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoDeliver MIDI events to atom ports that support it, merged with transport events.
David Robillard [Sun, 18 Nov 2012 04:35:31 +0000 (04:35 +0000)]
Deliver MIDI events to atom ports that support it, merged with transport events.
Eliminate delivery of non-MIDI events to Ardour MIDI buffers.
Fix the general mess of LV2 port flags and types.
Unify old MIDI API and new atom API MIDI stuff.

Making this work required changing the way we do LV2 MIDI slightly: instead of
BufferSet::get_lv2_midi doing the translation automatically, it returns an
empty buffer and the caller is responsible for actually filling it.  This
allows the LV2 code to iterate over the MIDI and transport changes in one go to
merge them into the buffer at the correct times.

Synth plugins using the new atom API now work and can get accurate transport
information along with the MIDI that drives them.

git-svn-id: svn://localhost/ardour2/branches/3.0@13522 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoDisable vulgar keep-above for plugin UIs.
David Robillard [Sun, 18 Nov 2012 04:23:45 +0000 (04:23 +0000)]
Disable vulgar keep-above for plugin UIs.

I vaguely recall it being mentioned that this was a kludge for OSX.  Maybe not and somebody will complain.  Oh well, this behaviour is incredibly obnoxious in some environments, and makes plugins that open dialogs (e.g. open file dialogs) completely unusable, and just generally wrong and evil.  I have to try.

git-svn-id: svn://localhost/ardour2/branches/3.0@13521 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoGracefully ignore plugins with no ports, or invalid ports.
David Robillard [Sun, 18 Nov 2012 01:48:28 +0000 (01:48 +0000)]
Gracefully ignore plugins with no ports, or invalid ports.
Remove crufty old LV2 debug printing stuff.

git-svn-id: svn://localhost/ardour2/branches/3.0@13520 d708f5d6-7413-0410-9779-e7cbd77b26cf

11 years agoBetter implementation of LV2 plugin<=>UI communication.
David Robillard [Sun, 18 Nov 2012 01:30:53 +0000 (01:30 +0000)]
Better implementation of LV2 plugin<=>UI communication.

This might use a bit more memory than it could, but it works reliably for me
loading a large Ingen patch inside Ardour as an LV2 plugin, which I'm pretty
sure is by far the most high volume such communication out there.

git-svn-id: svn://localhost/ardour2/branches/3.0@13519 d708f5d6-7413-0410-9779-e7cbd77b26cf