ardour.git
13 years agoTweak transmission of MMC on locate. Should fix #3121.
Carl Hetherington [Mon, 28 Jun 2010 17:25:40 +0000 (17:25 +0000)]
Tweak transmission of MMC on locate.  Should fix #3121.

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

13 years agoHide region list toggle columns for whole file regions.
Carl Hetherington [Mon, 28 Jun 2010 17:25:32 +0000 (17:25 +0000)]
Hide region list toggle columns for whole file regions.

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

13 years agosplit when in range mode or object/range mode with a range defined will now split...
Paul Davis [Mon, 28 Jun 2010 15:01:14 +0000 (15:01 +0000)]
split when in range mode or object/range mode with a range defined will now split at teh range boundaries, rather than just the edit point

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

13 years agoclear region history in Playlist::notify_region_added() so that it has no apparent...
Paul Davis [Mon, 28 Jun 2010 14:59:38 +0000 (14:59 +0000)]
clear region history in Playlist::notify_region_added() so that it has no apparent history before being added to the Playlist.

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

13 years agofix basic logic problem in PropertyTemplate<T>::set so that current/old values are...
Paul Davis [Mon, 28 Jun 2010 14:56:40 +0000 (14:56 +0000)]
fix basic logic problem in PropertyTemplate<T>::set so that current/old values are properly managed

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

13 years agoGenerate undo record for crossfade edits, and provide signalling to update the view...
Carl Hetherington [Mon, 28 Jun 2010 02:40:09 +0000 (02:40 +0000)]
Generate undo record for crossfade edits, and provide signalling to update the view when such things are undone.  Partially fixes #3257.

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

13 years agoFix a couple of crashes on MIDI import.
Carl Hetherington [Mon, 28 Jun 2010 01:12:21 +0000 (01:12 +0000)]
Fix a couple of crashes on MIDI import.

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

13 years agoMake the L,G,M and O buttons in the region list respond to clicks. Fixes #3252.
Carl Hetherington [Mon, 28 Jun 2010 00:41:01 +0000 (00:41 +0000)]
Make the L,G,M and O buttons in the region list respond to clicks.  Fixes #3252.

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

13 years agoAdd an EnumProperty for enumerated properties and hence make Region::position_lock_st...
Carl Hetherington [Mon, 28 Jun 2010 00:34:09 +0000 (00:34 +0000)]
Add an EnumProperty for enumerated properties and hence make Region::position_lock_style a stateful property.

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

13 years agolots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI...
Paul Davis [Sat, 26 Jun 2010 13:45:59 +0000 (13:45 +0000)]
lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"

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

13 years agoMake MIDI region `automation' respect the automation mode so that it is
Carl Hetherington [Fri, 25 Jun 2010 20:47:09 +0000 (20:47 +0000)]
Make MIDI region `automation' respect the automation mode so that it is
only played back if the automation mode is set to "Play".  Munge AutoState
for AutomationRegionViews so that they reflect their AutomationTimeAxisView's
setting.  Fixes #3135.

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

13 years agostep back JACK dependency to 0.118
Paul Davis [Thu, 24 Jun 2010 22:44:48 +0000 (22:44 +0000)]
step back JACK dependency to 0.118

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

13 years agochange the way MIDI note colors are defined (2 3-point color ranges, one for selected...
Paul Davis [Thu, 24 Jun 2010 21:22:00 +0000 (21:22 +0000)]
change the way MIDI note colors are defined (2 3-point color ranges, one for selected, one for unselected); change default scroll action on selected midi notes to "fine" adjustment rather than "coarse" (now alt-scroll)

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

13 years agochange note colors on the fly, to permit user-definition of colors more easily; remov...
Paul Davis [Thu, 24 Jun 2010 19:46:28 +0000 (19:46 +0000)]
change note colors on the fly, to permit user-definition of colors more easily; remove some debug output

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

13 years agoadd and use Source::empty() since it can be done more efficiently than length(pos...
Paul Davis [Thu, 24 Jun 2010 18:04:38 +0000 (18:04 +0000)]
add and use Source::empty() since it can be done more efficiently than length(pos) == 0

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

13 years agouse condvar and exception-proof mutex for chain swaps in graph
Paul Davis [Thu, 24 Jun 2010 18:04:02 +0000 (18:04 +0000)]
use condvar and exception-proof mutex for chain swaps in graph

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

13 years agoclear activation_sets component of Graph, thus restoring full Route deletion
Paul Davis [Thu, 24 Jun 2010 16:20:32 +0000 (16:20 +0000)]
clear activation_sets component of Graph, thus restoring full Route deletion

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

13 years agofix math bug with numthreads computation
Paul Davis [Thu, 24 Jun 2010 14:17:09 +0000 (14:17 +0000)]
fix math bug with numthreads computation

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

13 years agouse JACK thread creation functions to create process-graph threads; provide GUI contr...
Paul Davis [Thu, 24 Jun 2010 14:13:45 +0000 (14:13 +0000)]
use JACK thread creation functions to create process-graph threads; provide GUI control over number of threads-relative-to-number-of-CPUS

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

13 years agoGUI-created MIDI regions now steal the pending MIDISource from the track's diskstream...
Paul Davis [Thu, 24 Jun 2010 01:37:24 +0000 (01:37 +0000)]
GUI-created MIDI regions now steal the pending MIDISource from the track's diskstream, to keep numbering sane; don't create any new MIDI regions if capture collected no data (fixes a crash in my previous commit, and is just logically much more sensible

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

13 years agoTweak some colours as per Chris' suggestions in #3254.
Carl Hetherington [Thu, 24 Jun 2010 00:00:31 +0000 (00:00 +0000)]
Tweak some colours as per Chris' suggestions in #3254.

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

13 years agofix some non-debug compile warnings
Paul Davis [Wed, 23 Jun 2010 21:43:40 +0000 (21:43 +0000)]
fix some non-debug compile warnings

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

13 years agouse new Source::used() rather than SessionPlaylists::source_use_count() to determine...
Paul Davis [Wed, 23 Jun 2010 21:43:16 +0000 (21:43 +0000)]
use new Source::used() rather than SessionPlaylists::source_use_count() to determine if a file can be removed

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

13 years agomidway snapshot of work done on managing Region & Source lifetimes correctly. may...
Paul Davis [Wed, 23 Jun 2010 20:14:07 +0000 (20:14 +0000)]
midway snapshot of work done on managing Region & Source lifetimes correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source

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

13 years agoUpdate locations GUI more efficiently by avoiding a rebuild when a location is remove...
Carl Hetherington [Wed, 23 Jun 2010 01:51:55 +0000 (01:51 +0000)]
Update locations GUI more efficiently by avoiding a rebuild when a location is removed.  Fixes #3263.

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

13 years agoTrim includes.
Carl Hetherington [Wed, 23 Jun 2010 01:50:37 +0000 (01:50 +0000)]
Trim includes.

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

13 years agoAllow range selections to be started in non-region areas. Fixes #3255.
Carl Hetherington [Tue, 22 Jun 2010 01:28:49 +0000 (01:28 +0000)]
Allow range selections to be started in non-region areas.  Fixes #3255.

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

13 years agoStop attempts to connect new MIDI tracks to bad ports when there is no MIDI IOs on...
Carl Hetherington [Mon, 21 Jun 2010 23:45:30 +0000 (23:45 +0000)]
Stop attempts to connect new MIDI tracks to bad ports when there is no MIDI IOs on the master buss.

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

13 years agoCoding style.
Carl Hetherington [Mon, 21 Jun 2010 23:45:15 +0000 (23:45 +0000)]
Coding style.

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

13 years agofix some warnings that come from a non-debug build, some of which are actually errors...
Paul Davis [Mon, 21 Jun 2010 15:26:03 +0000 (15:26 +0000)]
fix some warnings that come from a non-debug build, some of which are actually errors in handling return values from boost::signal emissions

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

13 years agoGUI control of insert merge policy for overlapping MIDI notes; quite a bit of whitesp...
Paul Davis [Mon, 21 Jun 2010 14:46:17 +0000 (14:46 +0000)]
GUI control of insert merge policy for overlapping MIDI notes; quite a bit of whitespace reformatting for some reason

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

13 years agoRemove unused variable.
Carl Hetherington [Mon, 21 Jun 2010 01:02:47 +0000 (01:02 +0000)]
Remove unused variable.

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

13 years agoReturn delta time even for metadata events. Should fix #3244.
Carl Hetherington [Sun, 20 Jun 2010 22:49:35 +0000 (22:49 +0000)]
Return delta time even for metadata events.  Should fix #3244.

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

13 years agoWhen creating notes with the pencil tool, make them 1 frame shorter than the grid...
Carl Hetherington [Sun, 20 Jun 2010 21:24:48 +0000 (21:24 +0000)]
When creating notes with the pencil tool, make them 1 frame shorter than the grid subdivision to prevent overlaps.  Fixes #3237.

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

13 years agoInvalidate old sources before forgetting about them. I think this prevents the possi...
Carl Hetherington [Sun, 20 Jun 2010 01:33:16 +0000 (01:33 +0000)]
Invalidate old sources before forgetting about them.  I think this prevents the possibility of an old source keeping a lock on the MidiModel via its iterator.  May fix #3249.

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

13 years agouse the new left/right trim cursor for the editor summary
Paul Davis [Fri, 18 Jun 2010 02:15:43 +0000 (02:15 +0000)]
use the new left/right trim cursor for the editor summary

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

13 years agoBack to real-time zoom.
Carl Hetherington [Fri, 18 Jun 2010 02:07:13 +0000 (02:07 +0000)]
Back to real-time zoom.

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

13 years agoRemove unnecessary height changed notification for streamviews, now that the summary...
Carl Hetherington [Fri, 18 Jun 2010 02:06:58 +0000 (02:06 +0000)]
Remove unnecessary height changed notification for streamviews, now that the summary doesn't need to know.

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

13 years agoFix restore of track visibility from state files (#3245)
Carl Hetherington [Fri, 18 Jun 2010 00:54:18 +0000 (00:54 +0000)]
Fix restore of track visibility from state files (#3245)

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

13 years agoMake summary zoom happen based on where the drag is started, rather than
Carl Hetherington [Fri, 18 Jun 2010 00:05:44 +0000 (00:05 +0000)]
Make summary zoom happen based on where the drag is started, rather than
needing a modifier.  Change mouse pointer shape in the summary to indicate
what will happen on a drag.  Allow vertical zoom in the summary, which modifies
track heights accordingly.

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

13 years ago2nd fix for hot spots for fade in/out cursors
Paul Davis [Thu, 17 Jun 2010 22:40:51 +0000 (22:40 +0000)]
2nd fix for hot spots for fade in/out cursors

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

13 years agofix hot spots for fade in/out cursors
Paul Davis [Thu, 17 Jun 2010 22:28:30 +0000 (22:28 +0000)]
fix hot spots for fade in/out cursors

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

13 years agonew fade in/fade out colors from chrisg
Paul Davis [Thu, 17 Jun 2010 22:20:37 +0000 (22:20 +0000)]
new fade in/fade out colors from chrisg

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

13 years agonew fade in/out handle cursors from chrisg (maybe to be improved); show MIDI note...
Paul Davis [Thu, 17 Jun 2010 22:09:07 +0000 (22:09 +0000)]
new fade in/out handle cursors from chrisg (maybe to be improved); show MIDI note velocities; try to show note length while dragging notes (in progress); some debugging output

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

13 years agonew trim cursors from chrisg, fix up hotspots for said cursors, make Editor cursors...
Paul Davis [Thu, 17 Jun 2010 15:06:30 +0000 (15:06 +0000)]
new trim cursors from chrisg, fix up hotspots for said cursors, make Editor cursors public; note draw mode now trims existing notes (but without trim cursor :(

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

13 years agouse image cursors for left/right trim cursors
Paul Davis [Thu, 17 Jun 2010 13:35:42 +0000 (13:35 +0000)]
use image cursors for left/right trim cursors

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

13 years agoadd left/right side trim cursors and use them for region trimming, as appropriate
Paul Davis [Thu, 17 Jun 2010 12:45:51 +0000 (12:45 +0000)]
add left/right side trim cursors and use them for region trimming, as appropriate

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

13 years agoMake summary arrow buttons auto-repeat.
Carl Hetherington [Thu, 17 Jun 2010 00:02:45 +0000 (00:02 +0000)]
Make summary arrow buttons auto-repeat.

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

13 years agoprevent removal of master/monitor busses without explicit (and hard to set) approval
Paul Davis [Wed, 16 Jun 2010 16:59:20 +0000 (16:59 +0000)]
prevent removal of master/monitor busses without explicit (and hard to set) approval

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

13 years agoavoid needless errors when redoing an operation involving adding notes that were...
Paul Davis [Wed, 16 Jun 2010 16:58:50 +0000 (16:58 +0000)]
avoid needless errors when redoing an operation involving adding notes that were not added because of overlap exclusion preferences

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

13 years agoStop summary showing hidden tracks.
Carl Hetherington [Tue, 15 Jun 2010 23:43:51 +0000 (23:43 +0000)]
Stop summary showing hidden tracks.

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

13 years agoHopefully fix slight vertical movements on attempts to drag horizontally.
Carl Hetherington [Tue, 15 Jun 2010 23:36:40 +0000 (23:36 +0000)]
Hopefully fix slight vertical movements on attempts to drag horizontally.

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

13 years agoPlot tracks at a constant height in the summary.
Carl Hetherington [Tue, 15 Jun 2010 17:37:44 +0000 (17:37 +0000)]
Plot tracks at a constant height in the summary.

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

13 years agoSummary tweaks: plot tracks as well as regions (as suggested by Chris);
Carl Hetherington [Mon, 14 Jun 2010 23:59:21 +0000 (23:59 +0000)]
Summary tweaks: plot tracks as well as regions (as suggested by Chris);
remove the restriction on maximum track height; represent empty editor
space in the summary.

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

13 years agomake note overlap resolution store side effects in a DiffCommand, and add its changes...
Paul Davis [Mon, 14 Jun 2010 23:43:10 +0000 (23:43 +0000)]
make note overlap resolution store side effects in a DiffCommand, and add its changes to the DiffCommand being executed, so as to retain "internal" note property changes across undo

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

13 years agoMTC drift patch from robin gareus, plus two related cleanups to the tracer & debug...
Paul Davis [Sat, 12 Jun 2010 16:11:33 +0000 (16:11 +0000)]
MTC drift patch from robin gareus, plus two related cleanups to the tracer & debug messages

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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