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

11 years agoLTC slave port gets its own headline.
Robin Gareus [Sun, 18 Nov 2012 01:25:31 +0000 (01:25 +0000)]
LTC slave port gets its own headline.

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

11 years agofix LTC frame offset for video standards
Robin Gareus [Sun, 18 Nov 2012 00:29:50 +0000 (00:29 +0000)]
fix LTC frame offset for video standards

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

11 years agofix LTC frame alignment
Robin Gareus [Sun, 18 Nov 2012 00:24:06 +0000 (00:24 +0000)]
fix LTC frame alignment

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

11 years agosubstantive change to automation line dragging code to avoid O(N^4) behaviour. perfor...
Paul Davis [Sat, 17 Nov 2012 22:55:03 +0000 (22:55 +0000)]
substantive change to automation line dragging code to avoid O(N^4) behaviour. performance fixes are still required for realistically data-rich automation lines

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

11 years agoupdate to libltc-1.1.0
Robin Gareus [Sat, 17 Nov 2012 20:15:41 +0000 (20:15 +0000)]
update to libltc-1.1.0

add support for TV standard specific offset and
binary-group-flags

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

11 years agoSent precise transport information to LV2 plugins via events.
David Robillard [Sat, 17 Nov 2012 18:41:19 +0000 (18:41 +0000)]
Sent precise transport information to LV2 plugins via events.

We send the full transport state (frame position, BBT time, transport speed,
meter) to the plugin:

 * At the start of a cycle whenever a relocate or transport speed change has
   occurred

 * On every occurrence of a meter change within a cycle

This means the plugin gets a sample accurate meter/tempo map, even if the meter
changes in the middle of a cycle.  However, this is not quite right yet: things
can get wonky if the tempo map is edited while rolling, since this code will
not detect the change and fail to update the plugin at the start of the cycle.

Other changes:

 * Factor out TempoMetric::set_metric() and simplify some tempo functions
 * Clean up LV2 URID stuff

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

11 years agoTidy up tempo.h and add some documentation.
David Robillard [Fri, 16 Nov 2012 22:56:47 +0000 (22:56 +0000)]
Tidy up tempo.h and add some documentation.
Fix some const violating casts.
No functional changes.

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

11 years agonew button look
Ben Loftis [Fri, 16 Nov 2012 19:27:39 +0000 (19:27 +0000)]
new button look

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

11 years agoFix libardour test build.
Carl Hetherington [Thu, 15 Nov 2012 19:46:40 +0000 (19:46 +0000)]
Fix libardour test build.

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

11 years agomove internal edit button away from mouse mode buttons by a small distance, and chang...
Paul Davis [Thu, 15 Nov 2012 19:36:09 +0000 (19:36 +0000)]
move internal edit button away from mouse mode buttons by a small distance, and change its tooltip to match website terminology

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

11 years agochange semantics for select-all operation: if no track is selected, use the current...
Paul Davis [Thu, 15 Nov 2012 17:20:38 +0000 (17:20 +0000)]
change semantics for select-all operation: if no track is selected, use the current entered track, or if there is no entered track, use all tracks; if in internal edit mode, check first to see if any MIDI tracks are among those to be operated on, and only do the internal edit version of select-all if there are

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

11 years agoadd a "guard" point after a write/touch automation insertion, preserving the shape...
Paul Davis [Thu, 15 Nov 2012 16:22:43 +0000 (16:22 +0000)]
add a "guard" point after a write/touch automation insertion, preserving the shape of the later segment of the existing line

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

11 years agohotfix negative TC editing - problem was introduced in r13491
Robin Gareus [Thu, 15 Nov 2012 13:19:07 +0000 (13:19 +0000)]
hotfix negative TC editing - problem was introduced in r13491

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

11 years agoprovide the ability to enable + disable tooltips
Paul Davis [Wed, 14 Nov 2012 23:23:53 +0000 (23:23 +0000)]
provide the ability to enable + disable tooltips

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

11 years agoadd missing <<endmsg
Paul Davis [Wed, 14 Nov 2012 21:54:19 +0000 (21:54 +0000)]
add missing <<endmsg

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

11 years agodo not add 2.X search path if its already present in the search path
Paul Davis [Wed, 14 Nov 2012 21:54:04 +0000 (21:54 +0000)]
do not add 2.X search path if its already present in the search path

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

11 years agofix missing start-touch call on faders because button press handler that does this...
Paul Davis [Wed, 14 Nov 2012 20:39:27 +0000 (20:39 +0000)]
fix missing start-touch call on faders because button press handler that does this was not corrected to the signal in the correct way (before the default handler)

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