ardour.git
12 years agoAdd notes on running unit tests.
Carl Hetherington [Tue, 3 Jan 2012 16:10:34 +0000 (16:10 +0000)]
Add notes on running unit tests.

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

12 years agoAdd TestNeedingSession and add missing tempo_test.h
Carl Hetherington [Tue, 3 Jan 2012 16:05:25 +0000 (16:05 +0000)]
Add TestNeedingSession and add missing tempo_test.h

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

12 years agoNew test.
Carl Hetherington [Tue, 3 Jan 2012 14:32:51 +0000 (14:32 +0000)]
New test.

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

12 years agoMore test friends.
Carl Hetherington [Tue, 3 Jan 2012 14:32:22 +0000 (14:32 +0000)]
More test friends.

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

12 years agoReverse parameters to CPPUNIT_ASSERT_EQUAL so its assert
Carl Hetherington [Tue, 3 Jan 2012 14:32:17 +0000 (14:32 +0000)]
Reverse parameters to CPPUNIT_ASSERT_EQUAL so its assert
messages read the right way round.

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

12 years agoFix erroneous test.
Carl Hetherington [Tue, 3 Jan 2012 14:32:12 +0000 (14:32 +0000)]
Fix erroneous test.

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

12 years agoRemove unused variables.
Carl Hetherington [Tue, 3 Jan 2012 14:32:07 +0000 (14:32 +0000)]
Remove unused variables.

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

12 years agoFix test build.
Carl Hetherington [Tue, 3 Jan 2012 14:32:01 +0000 (14:32 +0000)]
Fix test build.

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

12 years agoReverse parameters to CPPUNIT_ASSERT_EQUAL so its assert
Carl Hetherington [Tue, 3 Jan 2012 14:31:55 +0000 (14:31 +0000)]
Reverse parameters to CPPUNIT_ASSERT_EQUAL so its assert
messages read the right way round.

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

12 years agoUse the correct flag for DAZ and default to using FTZ and DAZ denormal protection.
Carl Hetherington [Mon, 2 Jan 2012 23:52:28 +0000 (23:52 +0000)]
Use the correct flag for DAZ and default to using FTZ and DAZ denormal protection.

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

12 years agointermediate commit as all tempo/meter stuff starts to walk the precompute Bars|Beats...
Paul Davis [Mon, 2 Jan 2012 23:32:33 +0000 (23:32 +0000)]
intermediate commit as all tempo/meter stuff starts to walk the precompute Bars|Beats list. Still have ::round_to_beat_subdivision() to fix. haven't really done any thorough testing at this point, but basic stuff seems OK

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

12 years agonew approach to tempo/meter: compute and store the entire map (every bar|beat point...
Paul Davis [Mon, 2 Jan 2012 04:04:14 +0000 (04:04 +0000)]
new approach to tempo/meter: compute and store the entire map (every bar|beat point), thus enabling us to use the same computation to set the BBT points AND the metric markers (tempo + meter) on the audio timeline. It is known that snapping to the BBT grid doesn't work correctly right now, but this probably caused by the separate code in TempoMap::round_to_type() and i'll dig into that tomorrow. Note that the Bar|beat point list is evaluated "lazily" - we'll never store more than anyone actually needs to display or know, other than 1 minute's worth starting from frame zero

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

12 years agoSlightly improve proxying of events by crossfade views; doesn't really have any posit...
Carl Hetherington [Sat, 31 Dec 2011 13:25:56 +0000 (13:25 +0000)]
Slightly improve proxying of events by crossfade views; doesn't really have any positive effect, unfortunately.

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

12 years agoEmit notify_layering_changed() more often; especially when we remove the only region...
Carl Hetherington [Sat, 31 Dec 2011 13:25:50 +0000 (13:25 +0000)]
Emit notify_layering_changed() more often; especially when we remove the only region on a top layer, and the StreamView needs to sort itself out.

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

12 years agoDon't round control list events when x-scaling them; prevents large loss of accuracy...
Carl Hetherington [Sat, 31 Dec 2011 13:25:29 +0000 (13:25 +0000)]
Don't round control list events when x-scaling them; prevents large loss of accuracy with xfades when they are scaled to be small and then expanded again (#4602).

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

12 years agoRestore update of coverage frames on playlist contents changed, which is needed for...
Carl Hetherington [Sat, 31 Dec 2011 00:19:08 +0000 (00:19 +0000)]
Restore update of coverage frames on playlist contents changed, which is needed for trim.

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

12 years agoAnywhere that deletes regions needs to use a rdiff() on the playlist
Carl Hetherington [Fri, 30 Dec 2011 23:41:17 +0000 (23:41 +0000)]
Anywhere that deletes regions needs to use a rdiff() on the playlist
for the undo history, so that changes to regions' layering_index
get stored in the undo record.  Make Playlist::update use add_region_internal
so that undone regions don't have their layering_index corrupted.
Setup layering indices on relayer() so that deletion of regions
causes an update.

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

12 years agoDebug code.
Carl Hetherington [Fri, 30 Dec 2011 23:41:11 +0000 (23:41 +0000)]
Debug code.

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

12 years agoMake coverage frames work slightly better; jury is still out on whether they are...
Carl Hetherington [Fri, 30 Dec 2011 21:56:11 +0000 (21:56 +0000)]
Make coverage frames work slightly better; jury is still out on whether they are any use, I think.

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

12 years agoSet up layering_index immediately on an explicit layer, so that undo
Carl Hetherington [Fri, 30 Dec 2011 20:05:48 +0000 (20:05 +0000)]
Set up layering_index immediately on an explicit layer, so that undo
works properly.  Stop the layer being a stateful property, as it is
always derived from layering_index, unambigiously, by relayer().

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

12 years agoAdd assert.
Carl Hetherington [Fri, 30 Dec 2011 20:05:40 +0000 (20:05 +0000)]
Add assert.

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

12 years agocentralize use of "from-context-menu" in Editor::get_preferred_edit_position(), and...
Paul Davis [Fri, 30 Dec 2011 17:28:05 +0000 (17:28 +0000)]
centralize use of "from-context-menu" in Editor::get_preferred_edit_position(), and use it when pasting as well

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

12 years agofix logic for context-menu-mouse-dependent actions so that if the edit point is not...
Paul Davis [Fri, 30 Dec 2011 16:21:10 +0000 (16:21 +0000)]
fix logic for context-menu-mouse-dependent actions so that if the edit point is not the mouse, we still use the edit point even from the context menu. klar?

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

12 years agoClean up comments to create_note_at, since it no longers snaps its length parameter...
Carl Hetherington [Fri, 30 Dec 2011 13:41:16 +0000 (13:41 +0000)]
Clean up comments to create_note_at, since it no longers snaps its length parameter.  Move the 1 tick shortening out of the method for the same reason.  Make sure that create drags make notes with a minimum length of 1 tick (#4600).

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

12 years agomake insert-patch-change from context menu use context click event for position ...
Paul Davis [Fri, 30 Dec 2011 01:50:34 +0000 (01:50 +0000)]
make insert-patch-change from context menu use context click event for position (fixes #4570)

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

12 years agofix default response behaviour of Gtkmm2ext::Prompter (from colinf)
Paul Davis [Fri, 30 Dec 2011 01:41:21 +0000 (01:41 +0000)]
fix default response behaviour of Gtkmm2ext::Prompter (from colinf)

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

12 years agoRevert internals of the last layering-related commit, and go back a slightly-cleaned...
Carl Hetherington [Thu, 29 Dec 2011 22:14:15 +0000 (22:14 +0000)]
Revert internals of the last layering-related commit, and go back a slightly-cleaned-up version of how it was before.  Remove all layering modes; only option now is add-is-higher.  Move-add-higher could easily be re-added if anyone uses it.

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

12 years agoclean up comments and commented code
Paul Davis [Thu, 29 Dec 2011 21:40:20 +0000 (21:40 +0000)]
clean up comments and commented code

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

12 years agonext iteration of tempo map stuff - fixes off-by-one issues with bar offset<->beat...
Paul Davis [Thu, 29 Dec 2011 21:34:46 +0000 (21:34 +0000)]
next iteration of tempo map stuff - fixes off-by-one issues with bar offset<->beat math

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

12 years agostupid hack to fix issues with OS X Carbon headers
Paul Davis [Thu, 29 Dec 2011 16:44:49 +0000 (16:44 +0000)]
stupid hack to fix issues with OS X Carbon headers

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

12 years agoOS X packagin fix to pick up surfaces
Paul Davis [Thu, 29 Dec 2011 16:44:23 +0000 (16:44 +0000)]
OS X packagin fix to pick up surfaces

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

12 years agoavoid crash on region drag end trying to access TimeAxisView::view() for TAV's that...
Paul Davis [Thu, 29 Dec 2011 14:48:42 +0000 (14:48 +0000)]
avoid crash on region drag end trying to access TimeAxisView::view() for TAV's that don't have one

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

12 years agotweak up size+spacing of main menu bar info box
Paul Davis [Thu, 29 Dec 2011 14:29:23 +0000 (14:29 +0000)]
tweak up size+spacing of main menu bar info box

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

12 years agoa huge set of changes to tempo+meter handling. testing feedback requested. the_CLA...
Paul Davis [Wed, 28 Dec 2011 21:02:31 +0000 (21:02 +0000)]
a huge set of changes to tempo+meter handling. testing feedback requested. the_CLA, you know who i mean :)

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

12 years agonew DEBUG_ENABLED(bits) macro, potentially useful here and there
Paul Davis [Wed, 28 Dec 2011 21:01:52 +0000 (21:01 +0000)]
new DEBUG_ENABLED(bits) macro, potentially useful here and there

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

12 years agoRemove unused variable.
Carl Hetherington [Wed, 28 Dec 2011 18:55:25 +0000 (18:55 +0000)]
Remove unused variable.

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

12 years agoRemove some unused stuff.
Carl Hetherington [Wed, 28 Dec 2011 02:34:22 +0000 (02:34 +0000)]
Remove some unused stuff.

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

12 years agoFix another bug wrt visual appearance of layered regions in
Carl Hetherington [Tue, 27 Dec 2011 21:10:20 +0000 (21:10 +0000)]
Fix another bug wrt visual appearance of layered regions in
overlaid mode.

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

12 years agoTry to make new layering stuff play nicely with undo.
Carl Hetherington [Tue, 27 Dec 2011 20:21:00 +0000 (20:21 +0000)]
Try to make new layering stuff play nicely with undo.

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

12 years agoHack around one case where satisfying all constraints in a
Carl Hetherington [Tue, 27 Dec 2011 19:10:31 +0000 (19:10 +0000)]
Hack around one case where satisfying all constraints in a
relayer is impossible.

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

12 years agoMore debugging.
Carl Hetherington [Tue, 27 Dec 2011 18:34:05 +0000 (18:34 +0000)]
More debugging.

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

12 years agoImprove debug slightly and fix raise/lower.
Carl Hetherington [Tue, 27 Dec 2011 18:33:59 +0000 (18:33 +0000)]
Improve debug slightly and fix raise/lower.

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

12 years agoUpdate layer order when switching back to overlaid mode.
Carl Hetherington [Tue, 27 Dec 2011 18:33:54 +0000 (18:33 +0000)]
Update layer order when switching back to overlaid mode.

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

12 years agoFix up confusion with relayering after movement drags in
Carl Hetherington [Tue, 27 Dec 2011 18:33:49 +0000 (18:33 +0000)]
Fix up confusion with relayering after movement drags in
overlaid mode.

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

12 years agoBasic DEBUG_TRACE for layering code.
Carl Hetherington [Tue, 27 Dec 2011 16:29:40 +0000 (16:29 +0000)]
Basic DEBUG_TRACE for layering code.

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

12 years agoCreate Freesound working directory a little more lazily so
Carl Hetherington [Tue, 27 Dec 2011 14:36:14 +0000 (14:36 +0000)]
Create Freesound working directory a little more lazily so
that a Freesound directory doesn't appear in /home/carl
without ever using Freesound.

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

12 years agoFix mistake in error checking of audio clock BBT times (#4589)
Carl Hetherington [Tue, 27 Dec 2011 02:15:28 +0000 (02:15 +0000)]
Fix mistake in error checking of audio clock BBT times (#4589)

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

12 years agoRe-work layering in possibly debatable ways. Sketchy docs in doc/layering.
Carl Hetherington [Tue, 27 Dec 2011 01:42:49 +0000 (01:42 +0000)]
Re-work layering in possibly debatable ways.  Sketchy docs in doc/layering.

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

12 years agoRemove some wrongly commited stuff. Sorry\!
Carl Hetherington [Tue, 27 Dec 2011 00:57:20 +0000 (00:57 +0000)]
Remove some wrongly commited stuff.  Sorry\!

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

12 years agoAdd configure option to raise a FP exception when a denormal
Carl Hetherington [Tue, 27 Dec 2011 00:48:31 +0000 (00:48 +0000)]
Add configure option to raise a FP exception when a denormal
is detected.

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

12 years agoFix comparison of beats to frames when deciding whether to show a patch change (shoul...
Carl Hetherington [Tue, 27 Dec 2011 00:22:26 +0000 (00:22 +0000)]
Fix comparison of beats to frames when deciding whether to show a patch change (should fix #4569).

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

12 years agoMove patch changes when inserting silence at the start of a model.
Carl Hetherington [Tue, 27 Dec 2011 00:22:21 +0000 (00:22 +0000)]
Move patch changes when inserting silence at the start of a model.

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

12 years agoadd a new name for the region-layering-editor-action that tells us we were started...
Paul Davis [Mon, 26 Dec 2011 23:38:56 +0000 (23:38 +0000)]
add a new name for the region-layering-editor-action that tells us we were started from a context menu; dialog does not position correctly on first show... grrr. should end fix of #4588, mostly

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

12 years agofix coloring of region layer order editor clock
Paul Davis [Mon, 26 Dec 2011 23:18:58 +0000 (23:18 +0000)]
fix coloring of region layer order editor clock

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

12 years agowhen a context click event occurs in the editor, store the event so we can use it...
Paul Davis [Mon, 26 Dec 2011 23:18:24 +0000 (23:18 +0000)]
when a context click event occurs in the editor, store the event so we can use it to determine position later during its handling, if necessary

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

12 years agomake the "with-parent" constructor for ArdourWindow actually work by calling set_tran...
Paul Davis [Mon, 26 Dec 2011 23:17:33 +0000 (23:17 +0000)]
make the "with-parent" constructor for ArdourWindow actually work by calling set_transient_for

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

12 years agoexplain MXCSR shenanigans in libs/pbd/fpu.cc
Paul Davis [Mon, 26 Dec 2011 22:32:21 +0000 (22:32 +0000)]
explain MXCSR shenanigans in libs/pbd/fpu.cc

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

12 years ago(1) do not write sequential same-value automation data into a ControlList (2) thin...
Paul Davis [Mon, 26 Dec 2011 22:13:54 +0000 (22:13 +0000)]
(1) do not write sequential same-value automation data into a ControlList (2) thin AutomationList data when reloading from disk (similar code as Ben's from ardour 2.X, but without user-adjustable thinning density at present). Should fix #4583 and maybe others caused by NaN's occuring from zero-slope lines

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

12 years agoFix warnings during test runs.
Carl Hetherington [Mon, 26 Dec 2011 19:01:57 +0000 (19:01 +0000)]
Fix warnings during test runs.

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

12 years agoClean up session after test.
Carl Hetherington [Mon, 26 Dec 2011 17:51:03 +0000 (17:51 +0000)]
Clean up session after test.

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

12 years agoRemove unused method.
Carl Hetherington [Mon, 26 Dec 2011 17:50:53 +0000 (17:50 +0000)]
Remove unused method.

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

12 years agoa grab bag of changes correcting and improving the way MIDI note on/off tracking...
Paul Davis [Mon, 26 Dec 2011 17:01:31 +0000 (17:01 +0000)]
a grab bag of changes correcting and improving the way MIDI note on/off tracking is done. may/should fix a number of problem with spurious note-offs under a variety of circumstances

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

12 years agoTidy up monitoring slightly so that it matches oofus' truth
Carl Hetherington [Mon, 26 Dec 2011 15:37:14 +0000 (15:37 +0000)]
Tidy up monitoring slightly so that it matches oofus' truth
table for the various different states.  Should fix #4533.

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

12 years agoShow panner drag information tool-tip style, and also show
Carl Hetherington [Mon, 26 Dec 2011 14:30:35 +0000 (14:30 +0000)]
Show panner drag information tool-tip style, and also show
it when the button is pressed to start a drag (#4584 and
#4585).

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

12 years agoMove some bits from MonoPanner and StereoPanner into a
Carl Hetherington [Mon, 26 Dec 2011 14:05:19 +0000 (14:05 +0000)]
Move some bits from MonoPanner and StereoPanner into a
common base class.

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

12 years agoComments.
Carl Hetherington [Mon, 26 Dec 2011 12:50:24 +0000 (12:50 +0000)]
Comments.

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

12 years agoremove overly-floodish debug message from MidiTrackers trace
Paul Davis [Fri, 23 Dec 2011 19:20:52 +0000 (19:20 +0000)]
remove overly-floodish debug message from MidiTrackers trace

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

12 years agoRename a few bits and fix a undeclared method.
Carl Hetherington [Fri, 23 Dec 2011 01:38:38 +0000 (01:38 +0000)]
Rename a few bits and fix a undeclared method.

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

12 years agoRemove unused declaration.
Carl Hetherington [Fri, 23 Dec 2011 01:38:32 +0000 (01:38 +0000)]
Remove unused declaration.

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

12 years agoClarify ensure vs. request for JACK monitoring, naming-wise.
Carl Hetherington [Fri, 23 Dec 2011 01:11:46 +0000 (01:11 +0000)]
Clarify ensure vs. request for JACK monitoring, naming-wise.

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

12 years agoMatch request in function names to the eventual call to jack_port_request_monitor.
Carl Hetherington [Fri, 23 Dec 2011 01:11:41 +0000 (01:11 +0000)]
Match request in function names to the eventual call to jack_port_request_monitor.

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

12 years agoDo some renaming in the ARDOUR::Port class tree.
Carl Hetherington [Fri, 23 Dec 2011 00:26:25 +0000 (00:26 +0000)]
Do some renaming in the ARDOUR::Port class tree.

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

12 years agoRemove unused header.
Carl Hetherington [Thu, 22 Dec 2011 23:50:08 +0000 (23:50 +0000)]
Remove unused header.

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

12 years agoRemove unused declaration.
Carl Hetherington [Thu, 22 Dec 2011 23:41:59 +0000 (23:41 +0000)]
Remove unused declaration.

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

12 years agomore tempo-related AU changes
Paul Davis [Thu, 22 Dec 2011 21:07:04 +0000 (21:07 +0000)]
more tempo-related AU changes

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

12 years agoswitch over audio_unit.cc to use divisions_per_bar() not beats_per_bar(). not sure...
Paul Davis [Thu, 22 Dec 2011 20:48:37 +0000 (20:48 +0000)]
switch over audio_unit.cc to use divisions_per_bar() not beats_per_bar(). not sure how this was missed

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

12 years agomain fix: when transport stops, clear per-region per-playlist note trackers even...
Paul Davis [Thu, 22 Dec 2011 20:14:47 +0000 (20:14 +0000)]
main fix: when transport stops, clear per-region per-playlist note trackers even if there is no capture data to process; side effects: remove unused MidiBuffer::merge() and add DEBUG::MidiTrackers as well as more and better MIDI debug tracing facilities

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

12 years agofix a build issue in Evoral that was preventing Sequencer<T>::dump() from being avail...
Paul Davis [Thu, 22 Dec 2011 02:09:39 +0000 (02:09 +0000)]
fix a build issue in Evoral that was preventing Sequencer<T>::dump() from being available, and expose operator<< for Sequence<T>

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

12 years agoremove extraneous debugging output from MidiBuffer::merge_in_place()
Paul Davis [Wed, 21 Dec 2011 19:56:40 +0000 (19:56 +0000)]
remove extraneous debugging output from MidiBuffer::merge_in_place()

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

12 years agoreorganize MidiBuffer::merge_in_place() to cover the cases i wasn't thinking about...
Paul Davis [Wed, 21 Dec 2011 19:33:41 +0000 (19:33 +0000)]
reorganize MidiBuffer::merge_in_place() to cover the cases i wasn't thinking about and be more logical to anyone else

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

12 years agolikely fix for crash in MidiBuffer::merge_in_place() due to unwarranted assumption...
Paul Davis [Wed, 21 Dec 2011 18:10:58 +0000 (18:10 +0000)]
likely fix for crash in MidiBuffer::merge_in_place() due to unwarranted assumption in the code

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

12 years agomerge-in-place debugging (to be removed later)
Paul Davis [Wed, 21 Dec 2011 17:30:08 +0000 (17:30 +0000)]
merge-in-place debugging (to be removed later)

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

12 years agofollowup to the previous tempo-dragging commit: use argument to Drag::aborted() to...
Paul Davis [Wed, 21 Dec 2011 14:21:05 +0000 (14:21 +0000)]
followup to the previous tempo-dragging commit: use argument to Drag::aborted() to know if we moved; update the frame position of tempo map metrics when we remove a tempo mark (should fix visual glitches when dragging tempo)

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

12 years agoPatch from Prokoudine to fix translators list (#4580).
Carl Hetherington [Wed, 21 Dec 2011 14:01:18 +0000 (14:01 +0000)]
Patch from Prokoudine to fix translators list (#4580).

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

12 years agosimilar to treatment of meter markers, remove tempo marks from the tempo map while...
Paul Davis [Wed, 21 Dec 2011 02:53:33 +0000 (02:53 +0000)]
similar to treatment of meter markers, remove tempo marks from the tempo map while dragging, to avoid wierd side effects

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

12 years agoprovide config parameter to allow non-quarter note pulses; off by default; no GUI...
Paul Davis [Wed, 21 Dec 2011 02:33:38 +0000 (02:33 +0000)]
provide config parameter to allow non-quarter note pulses; off by default; no GUI to reset it at this point

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

12 years agoremove comment
Paul Davis [Wed, 21 Dec 2011 02:11:03 +0000 (02:11 +0000)]
remove comment

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

12 years agoMissing file.
Carl Hetherington [Wed, 21 Dec 2011 00:58:12 +0000 (00:58 +0000)]
Missing file.

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

12 years agoSome tinkering with the docbook manual, just for more kicks.
Carl Hetherington [Wed, 21 Dec 2011 00:56:07 +0000 (00:56 +0000)]
Some tinkering with the docbook manual, just for more kicks.

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

12 years agoUn bit-rot the docbook manual build, just for kicks.
Carl Hetherington [Wed, 21 Dec 2011 00:55:57 +0000 (00:55 +0000)]
Un bit-rot the docbook manual build, just for kicks.

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

12 years agouse the same kludge-removal approach in the prior commit for the meter dialog too...
Paul Davis [Tue, 20 Dec 2011 16:56:07 +0000 (16:56 +0000)]
use the same kludge-removal approach in the prior commit for the meter dialog too, and fix a minor bug in the tempo dialog setup

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

12 years agorework tempo dialog to (a) allow selection of pulse note type (b) avoid awful kludge...
Paul Davis [Tue, 20 Dec 2011 16:29:44 +0000 (16:29 +0000)]
rework tempo dialog to (a) allow selection of pulse note type (b) avoid awful kludge to get note type from the combobox; show pulse note type in tempo markers

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

12 years agoNow that notify_length_changed() just calls
Carl Hetherington [Tue, 20 Dec 2011 02:03:44 +0000 (02:03 +0000)]
Now that notify_length_changed() just calls
ContentsChanged, its callers can be removed or changed
to just notify_contents_changed.

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

12 years agoRemove LengthChanged that no-one was listening to.
Carl Hetherington [Tue, 20 Dec 2011 02:03:38 +0000 (02:03 +0000)]
Remove LengthChanged that no-one was listening to.

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

12 years agorename Timecode::BBT_Time::ticks_per_beat to Timecode::BBT_Time::ticks_per_bar_divisi...
Paul Davis [Mon, 19 Dec 2011 19:44:43 +0000 (19:44 +0000)]
rename Timecode::BBT_Time::ticks_per_beat to Timecode::BBT_Time::ticks_per_bar_division which is a more accurate and informative name. The number doesn't describe the smallest division of a "beat" (which is only defined contextually anyway), but rather the smallest division of the the divisions of a bar. If using a meter of 4/8, there are 4 divisions per bar, and we can divide each one into ticks_per_bar_division pieces; in a separate meter (section) of 3/8, there are 3 divisions per bar, each of which can be divided into ticks_per_bar_division_pieces.

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

12 years agodo not convert from grid-type-beats to frames and back to beats when determining...
Paul Davis [Mon, 19 Dec 2011 18:32:57 +0000 (18:32 +0000)]
do not convert from grid-type-beats to frames and back to beats when determining the length of a ghost note or the actual note to be inserted on button-press: just use grid-type-beats as is

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

12 years agofix a number of errors with BBT time computations, mostly notably ones related to...
Paul Davis [Mon, 19 Dec 2011 18:32:06 +0000 (18:32 +0000)]
fix a number of errors with BBT time computations, mostly notably ones related to tempo-only change

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

12 years agoShow generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).
David Robillard [Sun, 18 Dec 2011 02:25:19 +0000 (02:25 +0000)]
Show generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).

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

12 years agoRemove unused code.
Carl Hetherington [Sat, 17 Dec 2011 18:46:54 +0000 (18:46 +0000)]
Remove unused code.

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

12 years agoupdated czech translation from pavel fric
Paul Davis [Sat, 17 Dec 2011 16:40:35 +0000 (16:40 +0000)]
updated czech translation from pavel fric

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