Paul Davis [Thu, 5 Jan 2012 21:26:54 +0000 (21:26 +0000)]
upgrade audiounit support to use the new tempomap API
git-svn-id: svn://localhost/ardour2/branches/3.0@11169
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 5 Jan 2012 21:24:26 +0000 (21:24 +0000)]
fix over-zealous optimization in tempo map, caused crash
git-svn-id: svn://localhost/ardour2/branches/3.0@11168
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 5 Jan 2012 17:42:48 +0000 (17:42 +0000)]
remove debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@11167
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 5 Jan 2012 17:31:24 +0000 (17:31 +0000)]
make extending the tempo map O(N) in the section to be filled in, rather than O(N) in the overall length of the map, and clean up some other details
git-svn-id: svn://localhost/ardour2/branches/3.0@11166
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 5 Jan 2012 15:56:14 +0000 (15:56 +0000)]
remove un-needed TempoMap::frame_time_rt()
git-svn-id: svn://localhost/ardour2/branches/3.0@11165
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 5 Jan 2012 05:05:31 +0000 (05:05 +0000)]
possibly fix deadlocking issues with tempo map by rearranging code and adding RT variants for a couple of functions that would normally try to rebuild the map when necessary; instead the variants throw an exception and the RT code that called them tries to do something reasonable
git-svn-id: svn://localhost/ardour2/branches/3.0@11164
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 4 Jan 2012 21:07:04 +0000 (21:07 +0000)]
Use Request::Pause rather than Request::Wait for
Butler::wait_until_finished. Otherwise the following bad
thing happens:
1. The export code wants to call some Butler functions, so it calls
calls Butler::wait_until_finished.
2. This (used to) write Request::Wake into the butler's request pipe.
3. Imagine that when this happens, the butler is already doing stuff.
4. Meanwhile, Butler::wait_until_finished is waiting on Butler::paused.
5. Some time later, the butler finishes its other stuff.
6. Then it signals "paused".
7. This causes Butler::wait_until_finished to return, so the export code
thinks everything's ok and starts calling butler functions.
8. Then the butler sees the Request::Wake, wakes up, and by unhappy coincidence
ends up calling read on the same diskstream that the export code has just called.
This causes corruption of the Diskstream buffers, resulting in mantis #4283.
Using Request::Pause instead means that the butler will still wake in step #8,
but should_run will be false, so nothing much will happen and the export code
will be unimpeded.
For future reference, this bug was easiest to track down after adding a debugging
mutex to AudioDiskstream and then try-locking it in AudioDiskstream::_do_refill;
as far as I can see, _do_refill should never be called by two threads at the
git-svn-id: svn://localhost/ardour2/branches/3.0@11163
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 20:40:06 +0000 (20:40 +0000)]
restore correct behaviour of undo/redo for tempo map drags
git-svn-id: svn://localhost/ardour2/branches/3.0@11162
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 20:29:56 +0000 (20:29 +0000)]
try to clean up locking issues with TempoMap
git-svn-id: svn://localhost/ardour2/branches/3.0@11161
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 20:29:34 +0000 (20:29 +0000)]
tweak constants that affect whether/where trimming cursors are shown for MIDI notes, to avoid making it so hard to drag relatively small notes
git-svn-id: svn://localhost/ardour2/branches/3.0@11160
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 18:48:32 +0000 (18:48 +0000)]
fix error in framepos_{plus,minus}_bbt() which miscounted beats while stepping through bars - stops dragged MIDI notes from ending up in the wrong place, and more
git-svn-id: svn://localhost/ardour2/branches/3.0@11159
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 17:55:42 +0000 (17:55 +0000)]
fix (?) tricky locking issues in the tempo map by adding a second lock and independently locking the metrics and the map itself
git-svn-id: svn://localhost/ardour2/branches/3.0@11157
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 4 Jan 2012 13:56:09 +0000 (13:56 +0000)]
Use a few shared_ptrs to make things slightly neater.
git-svn-id: svn://localhost/ardour2/branches/3.0@11156
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 03:27:55 +0000 (03:27 +0000)]
implement TempoMap::framepos_minus_beats() using new bar|beat map structure, and fix accuracy of TempoMap::framepos_plus_bbt()
git-svn-id: svn://localhost/ardour2/branches/3.0@11155
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 4 Jan 2012 02:49:01 +0000 (02:49 +0000)]
use BBTPoint::is_bar() rather than ::beat == 1 ; implement TempoMap::framepos_plus_{beats,bbt}() with new map structure (not totally finished or accurate yet); prevent crash when dragging a marker to replace the initial tempo/meter markers
git-svn-id: svn://localhost/ardour2/branches/3.0@11154
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 3 Jan 2012 21:13:16 +0000 (21:13 +0000)]
Remove unused variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@11153
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 3 Jan 2012 21:13:11 +0000 (21:13 +0000)]
Maybe fix initial run of tests with sources.
git-svn-id: svn://localhost/ardour2/branches/3.0@11152
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 3 Jan 2012 21:13:05 +0000 (21:13 +0000)]
Happy New Year
git-svn-id: svn://localhost/ardour2/branches/3.0@11151
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 3 Jan 2012 21:12:58 +0000 (21:12 +0000)]
Add valgrind option for tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@11150
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 3 Jan 2012 21:12:53 +0000 (21:12 +0000)]
Add TestNeedingPlaylistAndRegions
git-svn-id: svn://localhost/ardour2/branches/3.0@11149
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 19:20:54 +0000 (19:20 +0000)]
remove duplicated test conditions
git-svn-id: svn://localhost/ardour2/branches/3.0@11148
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 19:03:13 +0000 (19:03 +0000)]
save 4 bytes per Bar|Beat point in the tempo map
git-svn-id: svn://localhost/ardour2/branches/3.0@11147
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 18:43:58 +0000 (18:43 +0000)]
return two iterators into the Bars|Beats list of the tempo map rather than making a copy; use iterators in the GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11146
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 17:59:47 +0000 (17:59 +0000)]
more tempo fixes, including handling multiple metrics at the same place, and fixing round_to_beat_subdivision(). almost done now...
git-svn-id: svn://localhost/ardour2/branches/3.0@11145
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 17:58:46 +0000 (17:58 +0000)]
fix incorrect tempo test
git-svn-id: svn://localhost/ardour2/branches/3.0@11144
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 17:36:40 +0000 (17:36 +0000)]
remove body of no-longer-relevant tempo-related test
git-svn-id: svn://localhost/ardour2/branches/3.0@11143
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 3 Jan 2012 17:36:17 +0000 (17:36 +0000)]
add support for -D foobar when running tests
git-svn-id: svn://localhost/ardour2/branches/3.0@11142
d708f5d6-7413-0410-9779-
e7cbd77b26cf
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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