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

11 years agoremove debug output
Paul Davis [Wed, 14 Nov 2012 20:38:48 +0000 (20:38 +0000)]
remove debug output

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

11 years agouse const static member instead of a magic number
Paul Davis [Wed, 14 Nov 2012 20:38:25 +0000 (20:38 +0000)]
use const static member instead of a magic number

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

11 years agomake startup window a dialog.
Robin Gareus [Wed, 14 Nov 2012 17:03:54 +0000 (17:03 +0000)]
make startup window a dialog.

improve behavior on tiling window managers

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

11 years agocenter Selection/Punch Clk titles over value-column
Robin Gareus [Wed, 14 Nov 2012 17:03:49 +0000 (17:03 +0000)]
center Selection/Punch Clk titles over value-column

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

11 years agolikely fixes for most remaining issues with data in automation/control lists, but...
Paul Davis [Wed, 14 Nov 2012 15:06:41 +0000 (15:06 +0000)]
likely fixes for most remaining issues with data in automation/control lists, but more testing needed

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

11 years agochange message displayed when there is an open file limit
Paul Davis [Wed, 14 Nov 2012 12:59:48 +0000 (12:59 +0000)]
change message displayed when there is an open file limit

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

11 years agoadd back definition of 2ndary clock delta text color
Paul Davis [Wed, 14 Nov 2012 12:44:46 +0000 (12:44 +0000)]
add back definition of 2ndary clock delta text color

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

11 years agofix #5025 part 2
Robin Gareus [Wed, 14 Nov 2012 05:01:28 +0000 (05:01 +0000)]
fix #5025 part 2

subscribe to route changes (track delete)

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

11 years agofix #5025 part 1
Robin Gareus [Wed, 14 Nov 2012 05:01:25 +0000 (05:01 +0000)]
fix #5025 part 1

cairo line may be rounded +-1 px, also invalidating area x<0 is a noop.

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

11 years agomark splash screen as such should fix #5069
Robin Gareus [Wed, 14 Nov 2012 03:35:25 +0000 (03:35 +0000)]
mark splash screen as such should fix #5069

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

11 years agoindicate negative TC when edit is positive.
Robin Gareus [Wed, 14 Nov 2012 03:35:23 +0000 (03:35 +0000)]
indicate negative TC when edit is positive.

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

11 years agoadd some meaning to the otherwise useless clock tooltips
Robin Gareus [Wed, 14 Nov 2012 03:35:20 +0000 (03:35 +0000)]
add some meaning to the otherwise useless clock tooltips

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

11 years agoput automation list into or out of Touch mode before adding an automation watch,...
Paul Davis [Wed, 14 Nov 2012 02:45:30 +0000 (02:45 +0000)]
put automation list into or out of Touch mode before adding an automation watch, so that ::touching() is correct when called from the add

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

11 years agoimprove negative [offset] TC entry
Robin Gareus [Wed, 14 Nov 2012 00:15:54 +0000 (00:15 +0000)]
improve negative [offset] TC entry

  * make mouse interaction work with negative TC
  * show minus-sign when edit is negative

TODO: ?minus? sign indicator when text editing a negative TC.

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

11 years agoadd tooltips to Offset config
Robin Gareus [Wed, 14 Nov 2012 00:15:52 +0000 (00:15 +0000)]
add tooltips to Offset config

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

11 years agoupdate BPM and Meter when changed, also change back labels for it.
Robin Gareus [Tue, 13 Nov 2012 23:29:57 +0000 (23:29 +0000)]
update BPM and Meter when changed, also change back labels for it.

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

11 years agoimplement TC offset for slave&generator.
Robin Gareus [Tue, 13 Nov 2012 20:29:28 +0000 (20:29 +0000)]
implement TC offset for slave&generator.

Many related changes that require atomic update, mostly
because ClockOption slots changed:

  * change offset config format to std:string (backwards compat - reads 0)
  * make Timecode offset independent from fps
  * sample_to_timecode() handle negative sample-num
  * audio-clock fix entry and edit of negative numbers
  * option editor:
    - remove old global internal offset
    - add slave & generator TC entry
    - still needs UI cleanup, tooltops, maybe sep. tab..
  * LTC & MTC slave& generator:
    - cache offset
    - subscribe to parameter changes

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

11 years agoclock: pull-up/down display update
Robin Gareus [Tue, 13 Nov 2012 20:29:24 +0000 (20:29 +0000)]
clock: pull-up/down display update

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

11 years agorevert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note...
Paul Davis [Tue, 13 Nov 2012 19:23:16 +0000 (19:23 +0000)]
revert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note velocities as well as deccrease them (note: this will make the use of MIDI CC #7 a bit more complex)

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

11 years agorationalize text/base/bg/fg colors in all entry styles
Paul Davis [Tue, 13 Nov 2012 18:28:31 +0000 (18:28 +0000)]
rationalize text/base/bg/fg colors in all entry styles

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

11 years agodetermine whether or not to accept comma or period as a numeric character based on...
Paul Davis [Tue, 13 Nov 2012 18:05:09 +0000 (18:05 +0000)]
determine whether or not to accept comma or period as a numeric character based on locale settings (once per instance of ardour), related to #5027

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

11 years agochange handling of MIDI gain so that we present a linear fader spanning 0..127. this...
Paul Davis [Tue, 13 Nov 2012 17:47:39 +0000 (17:47 +0000)]
change handling of MIDI gain so that we present a linear fader spanning 0..127. this is based on the realization that we actually have no idea what the MIDI receiver will do with velocity and/or CC #7 values, and so trying to pretend that we can provide some kind of dB value in the display or the behaviour of the fader is completely wrong; ALSO: fix keyboard entry of fader levels for non EN locales (#5027)

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

11 years agoadd timecode format parser
Robin Gareus [Tue, 13 Nov 2012 16:14:25 +0000 (16:14 +0000)]
add timecode format parser

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

11 years agooiling the audio clock
Robin Gareus [Tue, 13 Nov 2012 16:14:22 +0000 (16:14 +0000)]
oiling the audio clock

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

11 years agoremove a bunch of cerr output and/or convert to use error<<
Paul Davis [Tue, 13 Nov 2012 15:11:07 +0000 (15:11 +0000)]
remove a bunch of cerr output and/or convert to use error<<

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

11 years agoparse keyboard entered drop-frame timecode delta
Robin Gareus [Tue, 13 Nov 2012 02:25:59 +0000 (02:25 +0000)]
parse keyboard entered drop-frame timecode delta

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

11 years agoadd alt-i as a binding in both the editor and mixer windows to toggle the state of...
Paul Davis [Tue, 13 Nov 2012 02:19:04 +0000 (02:19 +0000)]
add alt-i as a binding in both the editor and mixer windows to toggle the state of MIDI input on the selected track(s); in the mixer this will also operate on the strip under the mouse. fixes #4838

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

11 years agomake audio clock fill vertical space
Robin Gareus [Tue, 13 Nov 2012 02:00:51 +0000 (02:00 +0000)]
make audio clock fill vertical space

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

11 years agooverhaul timecode calculations
Robin Gareus [Tue, 13 Nov 2012 02:00:49 +0000 (02:00 +0000)]
overhaul timecode calculations

in particular proper SMPTE12M drop-frame support
and subframe rounding.

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

11 years agoshorten Metrum & Tempo label
Robin Gareus [Tue, 13 Nov 2012 02:00:47 +0000 (02:00 +0000)]
shorten Metrum & Tempo label

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

11 years agocomplete r13404 - use double for timecode fps.
Robin Gareus [Tue, 13 Nov 2012 02:00:45 +0000 (02:00 +0000)]
complete r13404 - use double for timecode fps.

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

11 years agochange Alt-b binding for toggle-track-rec-enable to Shift-b, to avoid conflicting...
Paul Davis [Mon, 12 Nov 2012 23:41:02 +0000 (23:41 +0000)]
change Alt-b binding for toggle-track-rec-enable to Shift-b, to avoid conflicting with the binding for toggle-big-clock-window

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

11 years agomove metronome button again
Paul Davis [Mon, 12 Nov 2012 23:39:43 +0000 (23:39 +0000)]
move metronome button again

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