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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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