ardour.git
13 years agointroduce the notion that note additions and property changes can cause the removal...
Paul Davis [Sat, 12 Jun 2010 13:55:22 +0000 (13:55 +0000)]
introduce the notion that note additions and property changes can cause the removal of other notes because of overlaps; merge Diff and Delta commands in MidiModel; fix marshalling of notes to avoid float->int conversion of length+time properties; initial implementation (not tested much so far) of different policies for how to handle note overlaps

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

13 years agoIgnore core files.
Carl Hetherington [Fri, 11 Jun 2010 00:31:40 +0000 (00:31 +0000)]
Ignore core files.

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

13 years agoPreserve region state as well as playlist state in undo of bounce range. Fixes ...
Carl Hetherington [Thu, 10 Jun 2010 22:56:46 +0000 (22:56 +0000)]
Preserve region state as well as playlist state in undo of bounce range.  Fixes #3234.

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

13 years agoFix warning.
Carl Hetherington [Wed, 9 Jun 2010 22:37:31 +0000 (22:37 +0000)]
Fix warning.

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

13 years agodynamic playback & capture buffer resizing (though transport is stopped first)
Paul Davis [Wed, 9 Jun 2010 17:24:07 +0000 (17:24 +0000)]
dynamic playback & capture buffer resizing (though transport is stopped first)

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

13 years agoGUI control of playback & buffer sizes, but not dynamic (i.e. requires a restart)
Paul Davis [Wed, 9 Jun 2010 15:02:18 +0000 (15:02 +0000)]
GUI control of playback & buffer sizes, but not dynamic (i.e. requires a restart)

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

13 years agopermit different sizes for audio playback & capture buffers
Paul Davis [Wed, 9 Jun 2010 14:11:46 +0000 (14:11 +0000)]
permit different sizes for audio playback & capture buffers

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

13 years agobasically, fix all kinds of odds and ends with MIDI playback, including missed notes...
Paul Davis [Wed, 9 Jun 2010 13:00:54 +0000 (13:00 +0000)]
basically, fix all kinds of odds and ends with MIDI playback, including missed notes and applying gain

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

13 years agoClean up a bit. Fix non-relative note dragging mode to fit my understanding of its...
Carl Hetherington [Tue, 8 Jun 2010 23:45:58 +0000 (23:45 +0000)]
Clean up a bit.  Fix non-relative note dragging mode to fit my understanding of its correct behaviour.  Fixes #3189.

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

13 years agoFix handling of the mapping between parameters and automation CheckMenuItems. Should...
Carl Hetherington [Tue, 8 Jun 2010 21:48:38 +0000 (21:48 +0000)]
Fix handling of the mapping between parameters and automation CheckMenuItems.  Should fix #3206, #3215 and the remainder of #3228.

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

13 years agoCopy-edit.
Carl Hetherington [Tue, 8 Jun 2010 01:30:03 +0000 (01:30 +0000)]
Copy-edit.

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

13 years agoReduce default summary size and remember it across saves. Fixes #3205.
Carl Hetherington [Tue, 8 Jun 2010 01:29:33 +0000 (01:29 +0000)]
Reduce default summary size and remember it across saves.  Fixes #3205.

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

13 years agoSmall cleanup.
Carl Hetherington [Tue, 8 Jun 2010 01:21:24 +0000 (01:21 +0000)]
Small cleanup.

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

13 years agoUpdate ring buffer read pointer correctly in case of a failure to insert an event...
Carl Hetherington [Tue, 8 Jun 2010 01:21:01 +0000 (01:21 +0000)]
Update ring buffer read pointer correctly in case of a failure to insert an event into the MidiBuffer.

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

13 years agoBetter-define behaviour when relayering a playlist with a single zero-length region...
Carl Hetherington [Mon, 7 Jun 2010 12:44:15 +0000 (12:44 +0000)]
Better-define behaviour when relayering a playlist with a single zero-length region.  Fixes #3144.

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

14 years agoLincoln's patch from #3223 to add show/hide midi track options to the route list.
Carl Hetherington [Sun, 6 Jun 2010 00:56:19 +0000 (00:56 +0000)]
Lincoln's patch from #3223 to add show/hide midi track options to the route list.

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

14 years agoLincoln's patch from #3224 to colour midi stream view backgrounds properly.
Carl Hetherington [Sun, 6 Jun 2010 00:56:05 +0000 (00:56 +0000)]
Lincoln's patch from #3224 to colour midi stream view backgrounds properly.

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

14 years agoLincoln's patch from #3225 to tweak crossfade rendering.
Carl Hetherington [Sun, 6 Jun 2010 00:55:53 +0000 (00:55 +0000)]
Lincoln's patch from #3225 to tweak crossfade rendering.

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

14 years agoFix signedness error.
Carl Hetherington [Sun, 6 Jun 2010 00:31:29 +0000 (00:31 +0000)]
Fix signedness error.

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

14 years agomore style-guidification
Paul Davis [Fri, 4 Jun 2010 12:11:18 +0000 (12:11 +0000)]
more style-guidification

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

14 years agomore style-guidification, plus do not run process threads RT if JACK is not RT
Paul Davis [Fri, 4 Jun 2010 12:09:09 +0000 (12:09 +0000)]
more style-guidification, plus do not run process threads RT if JACK is not RT

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

14 years agostyle-guide-ification
Paul Davis [Fri, 4 Jun 2010 12:03:14 +0000 (12:03 +0000)]
style-guide-ification

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

14 years agostyle-guide-ification
Paul Davis [Fri, 4 Jun 2010 12:02:00 +0000 (12:02 +0000)]
style-guide-ification

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

14 years agoadd DEBUG::ProcessThreads as a debug tag for parallelization (probably to be renamed)
Paul Davis [Thu, 3 Jun 2010 21:28:02 +0000 (21:28 +0000)]
add DEBUG::ProcessThreads as a debug tag for parallelization (probably to be renamed)

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

14 years agostart tracking note overlaps while moving notes
Paul Davis [Thu, 3 Jun 2010 21:27:36 +0000 (21:27 +0000)]
start tracking note overlaps while moving notes

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

14 years agomove route_graph->rechain( r ); into Session::resort_routes_using
Torben Hohn [Thu, 3 Jun 2010 20:38:01 +0000 (20:38 +0000)]
move route_graph->rechain( r ); into Session::resort_routes_using

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

14 years ago[3.0P] dont dump chain(1) in session.cc
Torben Hohn [Thu, 3 Jun 2010 20:09:27 +0000 (20:09 +0000)]
[3.0P] dont dump chain(1) in session.cc

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

14 years agoadd missing graph.cc and friends :S
Torben Hohn [Thu, 3 Jun 2010 20:09:17 +0000 (20:09 +0000)]
add missing graph.cc and friends :S

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

14 years agomerge 3.0P into trunk.
Torben Hohn [Thu, 3 Jun 2010 19:50:22 +0000 (19:50 +0000)]
merge 3.0P into trunk.

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

14 years agosession prefs editor gets renamed as session properties
Paul Davis [Thu, 3 Jun 2010 17:09:28 +0000 (17:09 +0000)]
session prefs editor gets renamed as session properties

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

14 years agopatch from lincoln to make MIDI track height changes no longer just grow note height...
Paul Davis [Thu, 3 Jun 2010 16:02:49 +0000 (16:02 +0000)]
patch from lincoln to make MIDI track height changes no longer just grow note height, but instead expand the visible note range once notes hit a given height

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

14 years agoSequence::contains() and Sequence::overlaps() now use pitch-based indexing to speed...
Paul Davis [Thu, 3 Jun 2010 15:58:15 +0000 (15:58 +0000)]
Sequence::contains() and Sequence::overlaps() now use pitch-based indexing to speed things up in pathological cases

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

14 years agomove computation of TimeAxisViewItem fixed heights into a static member function...
Paul Davis [Thu, 3 Jun 2010 15:57:31 +0000 (15:57 +0000)]
move computation of TimeAxisViewItem fixed heights into a static member function and call early in process life, because we need the values in MidiStreamview - fixes a bug with notes not aligning with note lines in a new session

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

14 years agocheck for gcc 4.5 and prohibit compilation with optimization if found
Paul Davis [Thu, 3 Jun 2010 15:32:37 +0000 (15:32 +0000)]
check for gcc 4.5 and prohibit compilation with optimization if found

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

14 years agomodified version of a patch from robin gareus to avoid leaving pointers to data buffe...
Paul Davis [Thu, 3 Jun 2010 12:37:32 +0000 (12:37 +0000)]
modified version of a patch from robin gareus to avoid leaving pointers to data buffers owned by Session as the buffer for a JACK MIDI event. Robin - it would be good if you could test and confirm (email?) that my modified version also works

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

14 years agoadd channel+pitch indexing for notes in a Sequence
Paul Davis [Wed, 2 Jun 2010 19:55:37 +0000 (19:55 +0000)]
add channel+pitch indexing for notes in a Sequence

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

14 years agoforward port ConfigVariable<bool> fix from 2.X
Paul Davis [Wed, 2 Jun 2010 19:54:05 +0000 (19:54 +0000)]
forward port ConfigVariable<bool> fix from 2.X

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

14 years agoadd -P flag to the session command return value.
Torben Hohn [Wed, 2 Jun 2010 16:35:41 +0000 (16:35 +0000)]
add -P flag to the session command return value.

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

14 years agoadd -P flag blocking port connections while loading session
Torben Hohn [Wed, 2 Jun 2010 16:21:02 +0000 (16:21 +0000)]
add -P flag blocking port connections while loading session

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

14 years agoreenable loading of a statefile specified at commandline
Torben Hohn [Wed, 2 Jun 2010 14:36:50 +0000 (14:36 +0000)]
reenable loading of a statefile specified at commandline

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

14 years agofix missing break in options parsing.
Torben Hohn [Wed, 2 Jun 2010 14:36:40 +0000 (14:36 +0000)]
fix missing break in options parsing.

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

14 years agoadd template support to jack-session code. and also generate timestamped name
Torben Hohn [Wed, 2 Jun 2010 14:36:31 +0000 (14:36 +0000)]
add template support to jack-session code. and also generate timestamped name

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

14 years agobasic -T <load_template> option
Torben Hohn [Wed, 2 Jun 2010 14:36:10 +0000 (14:36 +0000)]
basic -T <load_template> option

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

14 years agozero-pad seconds field of verbose canvas cursor, fixes #3216
Paul Davis [Wed, 2 Jun 2010 13:01:22 +0000 (13:01 +0000)]
zero-pad seconds field of verbose canvas cursor, fixes #3216

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

14 years agorationale pathways that add notes to Sequence<T> so that there is only final insertio...
Paul Davis [Tue, 1 Jun 2010 20:40:45 +0000 (20:40 +0000)]
rationale pathways that add notes to Sequence<T> so that there is only final insertion step; when changing note properties that affect "indexing" within a Sequence<T> (i.e. via set<T,comparator> indexing/ordering/hashing), remove the note and add it back so that indexing stays consistent; fix marshalling of MidiModel::DiffCommand (boost::bind(&Object::method, reference_to_object) will COPY the reference, so use a pointer); fix MidiModel::find_note() to compare note properties not pointer addresses

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

14 years agoadd missing (new) file
Paul Davis [Tue, 1 Jun 2010 01:22:37 +0000 (01:22 +0000)]
add missing (new) file

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

14 years agoswitch Evoral::Sequence debugging to use DEBUG_TRACE(); Sequence uses multiset<....
Paul Davis [Mon, 31 May 2010 19:47:15 +0000 (19:47 +0000)]
switch Evoral::Sequence debugging to use DEBUG_TRACE(); Sequence uses multiset<...,EarlierNoteComparator> for _write_notes, does FIFO note resolution for overlapping notes in SMF file; implement Sequence::overlaps() ... current use is uncertain; ARDOUR::coverage() uses 64bit framepos_t

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

14 years agobuild fix
Paul Davis [Mon, 31 May 2010 15:55:30 +0000 (15:55 +0000)]
build fix

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

14 years agofinal use of "stop_signal.h" removed
Paul Davis [Mon, 31 May 2010 15:49:38 +0000 (15:49 +0000)]
final use of "stop_signal.h" removed

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

14 years agoremove almost-unusued stop_signal.h and clean up the one (unused) place where it...
Paul Davis [Mon, 31 May 2010 14:21:43 +0000 (14:21 +0000)]
remove almost-unusued stop_signal.h and clean up the one (unused) place where it was present (VisualTimeAxis, not used in current ardour)

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

14 years agomake trimming in region name (colored) highlight work even in internal edit mode...
Paul Davis [Sun, 30 May 2010 20:13:29 +0000 (20:13 +0000)]
make trimming in region name (colored) highlight work even in internal edit mode; change enter/leave handler to return true by default (MIGHT HAVE UNINTENDED EFFECTS on mouse response), thus avoiding multiple stacked canvas items fighting over enter/leave

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

14 years agolincoln's patch to make MIDI note lines go away at smaller track heights
Paul Davis [Sat, 29 May 2010 12:16:13 +0000 (12:16 +0000)]
lincoln's patch to make MIDI note lines go away at smaller track heights

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

14 years agocreate new MIDI regions on streamitem click in "note draw" mode as well as object...
Paul Davis [Sat, 29 May 2010 11:28:27 +0000 (11:28 +0000)]
create new MIDI regions on streamitem click in "note draw" mode as well as object mode

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

14 years agoheavy-handed and crude way to stop WM-stolen-alt keys from causing MidiRegionView...
Paul Davis [Fri, 28 May 2010 21:39:12 +0000 (21:39 +0000)]
heavy-handed and crude way to stop WM-stolen-alt keys from causing MidiRegionView from losing track of SelectTouchDraggingMode (may not be optimal or in the right place, but it works for now); add primary-click-on-MRV-blank-space and tertiary-click-on-MRV-blank-space to select all notes above or below the click, using recently committed methods for Sequence

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

14 years agoprovide a generalized Sequence::get_notes()-by-predicate method, and prototypes for...
Paul Davis [Fri, 28 May 2010 21:36:38 +0000 (21:36 +0000)]
provide a generalized Sequence::get_notes()-by-predicate method, and prototypes for 2 future methods

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

14 years agochange color of note velocity text (and don't set it or justification repeatedly...
Paul Davis [Fri, 28 May 2010 17:39:28 +0000 (17:39 +0000)]
change color of note velocity text (and don't set it or justification repeatedly); make pianoroll button2 clicks select correctly rather than always being additive; hide note velocity text as soon as the mouse moves. the color change will require remvoing ~/.config/ardour2/ardour3_ui.conf to become effective

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

14 years agoclean up item event handling in MidiRegionViews by removing unnecessary InteractiveIt...
Paul Davis [Fri, 28 May 2010 16:37:04 +0000 (16:37 +0000)]
clean up item event handling in MidiRegionViews by removing unnecessary InteractiveItem inheritance, and keep child->parent event handling order consistent as much as possible

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

14 years agoreplaced gtk_idle_add() with g_idle_add()
Paul Davis [Fri, 28 May 2010 16:33:18 +0000 (16:33 +0000)]
replaced gtk_idle_add() with g_idle_add()

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

14 years agoreplace use of gdk_pixmap_unref() with g_object_unref
Paul Davis [Fri, 28 May 2010 15:20:39 +0000 (15:20 +0000)]
replace use of gdk_pixmap_unref() with g_object_unref

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

14 years agoTake route's processor lock for things called by the process thread. Prevents proble...
Carl Hetherington [Thu, 27 May 2010 17:10:08 +0000 (17:10 +0000)]
Take route's processor lock for things called by the process thread.  Prevents problems when processors are being reconfigured and a process callback occurs.

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

14 years agorefactor MidiRegionView event handling to avoid too much spaghetti as we move along
Paul Davis [Thu, 27 May 2010 15:07:15 +0000 (15:07 +0000)]
refactor MidiRegionView event handling to avoid too much spaghetti as we move along

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

14 years agoremove commented debug output
Paul Davis [Thu, 27 May 2010 15:06:39 +0000 (15:06 +0000)]
remove commented debug output

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

14 years agoFix crash on clear option for automation tracks (#3195). Also fix state change signa...
Carl Hetherington [Thu, 27 May 2010 12:26:00 +0000 (12:26 +0000)]
Fix crash on clear option for automation tracks (#3195).  Also fix state change signalling so that lines reappear on undoing a clear.

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

14 years agoFix crash on export selection range.
Carl Hetherington [Thu, 27 May 2010 02:20:22 +0000 (02:20 +0000)]
Fix crash on export selection range.

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

14 years agoAlways show region properties menu item, and offer the list editor even outside of...
Carl Hetherington [Thu, 27 May 2010 01:32:01 +0000 (01:32 +0000)]
Always show region properties menu item, and offer the list editor even outside of internal edit mode.

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

14 years agoFix hang on closing the editor.
Carl Hetherington [Thu, 27 May 2010 01:31:49 +0000 (01:31 +0000)]
Fix hang on closing the editor.

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

14 years agoFix show existing automation for audio tracks (part of #3193)
Carl Hetherington [Thu, 27 May 2010 01:08:53 +0000 (01:08 +0000)]
Fix show existing automation for audio tracks (part of #3193)

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

14 years agoAllow the region gain automation tool to create standard automation events. Fixes...
Carl Hetherington [Thu, 27 May 2010 01:08:37 +0000 (01:08 +0000)]
Allow the region gain automation tool to create standard automation events.  Fixes #3192.

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

14 years agoUse bbt_add and bbt_subtract to do proper BBT maths in round_to_beat_subdivision.
Carl Hetherington [Thu, 27 May 2010 00:26:32 +0000 (00:26 +0000)]
Use bbt_add and bbt_subtract to do proper BBT maths in round_to_beat_subdivision.

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

14 years agoOn resizing an unselected MIDI note, make it the only one to be resized during that...
Carl Hetherington [Wed, 26 May 2010 23:17:10 +0000 (23:17 +0000)]
On resizing an unselected MIDI note, make it the only one to be resized during that drag.  Fixes #3188.

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

14 years agoRestore Fader and Pan options to audio track automation menus. Hide the Amp processo...
Carl Hetherington [Wed, 26 May 2010 23:16:53 +0000 (23:16 +0000)]
Restore Fader and Pan options to audio track automation menus.  Hide the Amp processor from the plugin list.  Fixes #3184.

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

14 years agoDisable ghost note on note creation drag.
Carl Hetherington [Wed, 26 May 2010 19:08:49 +0000 (19:08 +0000)]
Disable ghost note on note creation drag.

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

14 years agoRemove empty MIDI regions which result from recordings made when no MIDI data is...
Carl Hetherington [Wed, 26 May 2010 16:03:47 +0000 (16:03 +0000)]
Remove empty MIDI regions which result from recordings made when no MIDI data is received.

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

14 years agogenerate knob pixbufs at run time but draw from the pixbufs; remove mfimg utility...
Paul Davis [Wed, 26 May 2010 15:18:04 +0000 (15:18 +0000)]
generate knob pixbufs at run time but draw from the pixbufs; remove mfimg utility and existing knob icon png files

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

14 years agoShow the verbose canvas cursor with the ghost note.
Carl Hetherington [Wed, 26 May 2010 11:54:49 +0000 (11:54 +0000)]
Show the verbose canvas cursor with the ghost note.

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

14 years agoRemove some unused methods.
Carl Hetherington [Wed, 26 May 2010 11:54:25 +0000 (11:54 +0000)]
Remove some unused methods.

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

14 years agoFix disappearing plugin menu (#3182)
Carl Hetherington [Tue, 25 May 2010 23:39:44 +0000 (23:39 +0000)]
Fix disappearing plugin menu (#3182)

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

14 years agoRudimentary ghost note when adding MIDI notes to a region, as per #3180.
Carl Hetherington [Tue, 25 May 2010 23:14:41 +0000 (23:14 +0000)]
Rudimentary ghost note when adding MIDI notes to a region, as per #3180.

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

14 years agosplit out sndfile manager code into its own file; move a couple of utility functions...
Paul Davis [Tue, 25 May 2010 16:45:21 +0000 (16:45 +0000)]
split out sndfile manager code into its own file; move a couple of utility functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now

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

14 years agoMake discrete mode work for MIDI automation views. Fixes #3178.
Carl Hetherington [Tue, 25 May 2010 16:40:35 +0000 (16:40 +0000)]
Make discrete mode work for MIDI automation views.  Fixes #3178.

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

14 years agoAllow region-based automation axes to report whether they
Carl Hetherington [Tue, 25 May 2010 15:51:32 +0000 (15:51 +0000)]
Allow region-based automation axes to report whether they
have automation data or not.  Should fix #3177.

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

14 years agoRemove some dead code. Clean up storage of automation axis menu
Carl Hetherington [Tue, 25 May 2010 14:50:45 +0000 (14:50 +0000)]
Remove some dead code.  Clean up storage of automation axis menu
items.  Fixes #3174.

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

14 years agoremove forward decl of non-existent ARDOUR::Menu
Paul Davis [Tue, 25 May 2010 12:49:30 +0000 (12:49 +0000)]
remove forward decl of non-existent ARDOUR::Menu

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

14 years agoImplement shift-right-click to delete MIDI note (#3170)
Carl Hetherington [Tue, 25 May 2010 01:39:45 +0000 (01:39 +0000)]
Implement shift-right-click to delete MIDI note (#3170)

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

14 years agostop range mode stuff from showing up when in internal edit mode
Paul Davis [Tue, 25 May 2010 01:13:45 +0000 (01:13 +0000)]
stop range mode stuff from showing up when in internal edit mode

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

14 years agoFix bug in a previous commit of mine; AutomationStreamViews create their own canvas...
Carl Hetherington [Tue, 25 May 2010 01:03:07 +0000 (01:03 +0000)]
Fix bug in a previous commit of mine; AutomationStreamViews create their own canvas background *and* display groups.  Should fix #3173.

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

14 years agoClean up snap-to code in various places. Fix a couple of typos. Should fix #3165...
Carl Hetherington [Tue, 25 May 2010 00:35:53 +0000 (00:35 +0000)]
Clean up snap-to code in various places.  Fix a couple of typos.  Should fix #3165 and #3172.

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

14 years agoEnsure a create note drag rectangle starts with both ends snapped,
Carl Hetherington [Tue, 25 May 2010 00:00:11 +0000 (00:00 +0000)]
Ensure a create note drag rectangle starts with both ends snapped,
otherwise it is possible to drag a note with a size large enough to
be considered valid and smaller than half the grid distance.  These
get snapped to zero length and thus appear infinitely long in the view.
A second try at fixing #3159.

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

14 years agoUse debug macros for SMFSource.
Carl Hetherington [Mon, 24 May 2010 22:39:36 +0000 (22:39 +0000)]
Use debug macros for SMFSource.

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

14 years agoPreserve source's model on clone() if it is not rebuilt. Should fix #3155.
Carl Hetherington [Mon, 24 May 2010 21:45:50 +0000 (21:45 +0000)]
Preserve source's model on clone() if it is not rebuilt.  Should fix #3155.

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

14 years agoNote the time of the last event that was read by read_unlocked, so that the current...
Carl Hetherington [Mon, 24 May 2010 15:42:27 +0000 (15:42 +0000)]
Note the time of the last event that was read by read_unlocked, so that the current time can be reset on a subsequent call.

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

14 years agoPrevent note creation drags with no movement of the pointer. May fix #3159.
Carl Hetherington [Mon, 24 May 2010 14:45:10 +0000 (14:45 +0000)]
Prevent note creation drags with no movement of the pointer.  May fix #3159.

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

14 years agoRevert my rev. 7140 and fix it better.
Carl Hetherington [Sun, 23 May 2010 02:42:37 +0000 (02:42 +0000)]
Revert my rev. 7140 and fix it better.

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

14 years agoPossibly fix non-appearing MIDI controls (#3143)
Carl Hetherington [Sun, 23 May 2010 02:41:08 +0000 (02:41 +0000)]
Possibly fix non-appearing MIDI controls (#3143)

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

14 years agoFix behaviour of route group list's visible checkbutton.
Carl Hetherington [Sun, 23 May 2010 01:51:17 +0000 (01:51 +0000)]
Fix behaviour of route group list's visible checkbutton.

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

14 years agoMake track Hide option work again.
Carl Hetherington [Sun, 23 May 2010 01:50:59 +0000 (01:50 +0000)]
Make track Hide option work again.

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

14 years agoPrevent brief, spurious `importing 2 of 1' type messages.
Carl Hetherington [Sun, 23 May 2010 01:08:41 +0000 (01:08 +0000)]
Prevent brief, spurious `importing 2 of 1' type messages.

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

14 years agoFix canvas_rect positioning with automation tracks. May fix #3145.
Carl Hetherington [Sun, 23 May 2010 00:53:14 +0000 (00:53 +0000)]
Fix canvas_rect positioning with automation tracks.  May fix #3145.

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

14 years agoAdd missing file.
Carl Hetherington [Sat, 22 May 2010 12:18:32 +0000 (12:18 +0000)]
Add missing file.

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

14 years agoHandle automation modes better with region-based (MIDI) automation. Should fix ...
Carl Hetherington [Sat, 22 May 2010 01:33:13 +0000 (01:33 +0000)]
Handle automation modes better with region-based (MIDI) automation.  Should fix #3135.

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