ardour.git
13 years agobeat slicing patch #1 from lincoln spiteri
Paul Davis [Tue, 6 Jul 2010 11:33:27 +0000 (11:33 +0000)]
beat slicing patch #1 from lincoln spiteri

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

13 years agofix compiling file_manager.cc on osx
Taybin Rutkin [Tue, 6 Jul 2010 01:25:06 +0000 (01:25 +0000)]
fix compiling file_manager.cc on osx

clock_gettime() and CLOCK_MONOTONIC aren't implemented on osx.
Replaced with get_absolute_time() as suggested here:
http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/

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

13 years agoRemove file that should have gone earlier.
Carl Hetherington [Tue, 6 Jul 2010 01:18:14 +0000 (01:18 +0000)]
Remove file that should have gone earlier.

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

13 years agoRemove MMC thread protection which is pointless now that only JACK MIDI ports are...
Carl Hetherington [Tue, 6 Jul 2010 00:27:03 +0000 (00:27 +0000)]
Remove MMC thread protection which is pointless now that only JACK MIDI ports are used for output, which themselves can cope with multi-threaded access.

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

13 years agoRemove non-JACK midi++ ports.
Carl Hetherington [Tue, 6 Jul 2010 00:16:36 +0000 (00:16 +0000)]
Remove non-JACK midi++ ports.

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

13 years agorequire jack 0.118.2 for weakjack.h
Paul Davis [Mon, 5 Jul 2010 16:28:45 +0000 (16:28 +0000)]
require jack 0.118.2 for weakjack.h

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

13 years agorequire jack 0.118.2 for weakjack.h
Paul Davis [Mon, 5 Jul 2010 16:28:30 +0000 (16:28 +0000)]
require jack 0.118.2 for weakjack.h

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

13 years agoReestablish libmidi++ JACK ports on jack reconnection, so that control MIDI can still...
Carl Hetherington [Mon, 5 Jul 2010 15:41:05 +0000 (15:41 +0000)]
Reestablish libmidi++ JACK ports on jack reconnection, so that control MIDI can still be sent after a JACK disconnect/reconnect.  Fixes remainder of #3301.

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

13 years agoSet entered_regionview on entry into region view canvas item children. Should fix...
Carl Hetherington [Mon, 5 Jul 2010 01:55:07 +0000 (01:55 +0000)]
Set entered_regionview on entry into region view canvas item children.  Should fix #3300.

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

13 years agoPrevent assertion failure if _jack_output_port is 0, which can happen if JACK is...
Carl Hetherington [Mon, 5 Jul 2010 01:13:52 +0000 (01:13 +0000)]
Prevent assertion failure if _jack_output_port is 0, which can happen if JACK is disconnected.  Improves #3301.

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

13 years agoDo MMC on playhead drag more efficiently by not doing an actual locate.
Carl Hetherington [Mon, 5 Jul 2010 01:13:36 +0000 (01:13 +0000)]
Do MMC on playhead drag more efficiently by not doing an actual locate.

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

13 years agoFix possible problems with _pending_locate_request getting stuck at true and hence...
Carl Hetherington [Mon, 5 Jul 2010 01:13:18 +0000 (01:13 +0000)]
Fix possible problems with _pending_locate_request getting stuck at true and hence stopping playhead movement.

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

13 years agoForward port no-process-after-export fix from 2.X revs 7357 and 7361.
Carl Hetherington [Mon, 5 Jul 2010 01:13:03 +0000 (01:13 +0000)]
Forward port no-process-after-export fix from 2.X revs 7357 and 7361.

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

13 years agoFix up route group label updates.
Carl Hetherington [Mon, 5 Jul 2010 01:12:49 +0000 (01:12 +0000)]
Fix up route group label updates.

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

13 years agoZero-pad MMC timecodes in MIDI traces.
Carl Hetherington [Mon, 5 Jul 2010 01:12:31 +0000 (01:12 +0000)]
Zero-pad MMC timecodes in MIDI traces.

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

13 years agoLocate during playhead drag, the primary motive being to get MMC to be sent during...
Carl Hetherington [Sun, 4 Jul 2010 22:48:58 +0000 (22:48 +0000)]
Locate during playhead drag, the primary motive being to get MMC to be sent during the drag, fixing #3239.

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

13 years agoModified version of lincoln's patch to allow X-axis scrolling in the summary when...
Carl Hetherington [Sun, 4 Jul 2010 21:53:34 +0000 (21:53 +0000)]
Modified version of lincoln's patch to allow X-axis scrolling in the summary when the drag starts above or below (but to the left or right of) the view box.  Fixes #3299.

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

13 years agoFix up my previous buggy MMC cleanup.
Carl Hetherington [Sat, 3 Jul 2010 00:11:33 +0000 (00:11 +0000)]
Fix up my previous buggy MMC cleanup.

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

13 years agoa few more if (_mmc) tests
Paul Davis [Fri, 2 Jul 2010 13:39:46 +0000 (13:39 +0000)]
a few more if (_mmc) tests

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

13 years agoadd MidiModel::sync_to_source() to push model state into its existing source; mark...
Paul Davis [Thu, 1 Jul 2010 18:54:19 +0000 (18:54 +0000)]
add MidiModel::sync_to_source() to push model state into its existing source; mark SMFSource as non-removable after its called SMF::end_write(); some indentation fixes

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

13 years agofix assumption that Session::_mmc != 0
Paul Davis [Thu, 1 Jul 2010 15:03:49 +0000 (15:03 +0000)]
fix assumption that Session::_mmc != 0

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

13 years agofix gcc4.4 compile warnings
Paul Davis [Thu, 1 Jul 2010 15:02:54 +0000 (15:02 +0000)]
fix gcc4.4 compile warnings

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

13 years agoallow zero length MIDI files again and remove debug output
Paul Davis [Thu, 1 Jul 2010 15:02:18 +0000 (15:02 +0000)]
allow zero length MIDI files again and remove debug output

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

13 years agofix gcc4.4 compile warning
Paul Davis [Thu, 1 Jul 2010 15:01:25 +0000 (15:01 +0000)]
fix gcc4.4 compile warning

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

13 years agodebug output
Paul Davis [Thu, 1 Jul 2010 13:51:52 +0000 (13:51 +0000)]
debug output

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

13 years agoAllow port matrix to show both audio and midi ports at the same time, and use that...
Carl Hetherington [Thu, 1 Jul 2010 01:14:14 +0000 (01:14 +0000)]
Allow port matrix to show both audio and midi ports at the same time, and use that facility for route IO selectors.

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

13 years agoImprove behaviour of MIDI metering.
Carl Hetherington [Wed, 30 Jun 2010 15:08:18 +0000 (15:08 +0000)]
Improve behaviour of MIDI metering.

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

13 years agoBasic tweaks to make the bundles and the port matrix accept that MIDI tracks may...
Carl Hetherington [Wed, 30 Jun 2010 02:59:13 +0000 (02:59 +0000)]
Basic tweaks to make the bundles and the port matrix accept that MIDI tracks may have audio IO, and vice versa.  Allows connection of instrument tracks using the global port matrix.

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

13 years agoFix starting scratch buffer count.
Carl Hetherington [Wed, 30 Jun 2010 00:11:27 +0000 (00:11 +0000)]
Fix starting scratch buffer count.

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

13 years agoMake main out delivery expand its output ports if the processor chain requires it.
Carl Hetherington [Wed, 30 Jun 2010 00:10:56 +0000 (00:10 +0000)]
Make main out delivery expand its output ports if the processor chain requires it.

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

13 years agoFix feature specification on instantiation.
Carl Hetherington [Wed, 30 Jun 2010 00:09:56 +0000 (00:09 +0000)]
Fix feature specification on instantiation.

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

13 years agoRemove debug output.
Carl Hetherington [Wed, 30 Jun 2010 00:08:49 +0000 (00:08 +0000)]
Remove debug output.

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

13 years agoallow zero-length SMF files on disk again; fix some gcc 4.X optimization-on compile...
Paul Davis [Tue, 29 Jun 2010 20:40:52 +0000 (20:40 +0000)]
allow zero-length SMF files on disk again; fix some gcc 4.X optimization-on compile warnings

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

13 years agotweak the monitor section part of the startup wizard
Paul Davis [Tue, 29 Jun 2010 20:39:44 +0000 (20:39 +0000)]
tweak the monitor section part of the startup wizard

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

13 years agoFix vertical canvas autoscroll when dragging track heights. Fixes #3240.
Carl Hetherington [Tue, 29 Jun 2010 19:08:19 +0000 (19:08 +0000)]
Fix vertical canvas autoscroll when dragging track heights.  Fixes #3240.

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

13 years agoFix comment
Carl Hetherington [Tue, 29 Jun 2010 19:07:22 +0000 (19:07 +0000)]
Fix comment

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

13 years agoRestore MMC registers.
Carl Hetherington [Tue, 29 Jun 2010 14:04:19 +0000 (14:04 +0000)]
Restore MMC registers.

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

13 years agoClean up MMC transmission a bit, and make sure that it is all done from one thread.
Carl Hetherington [Tue, 29 Jun 2010 13:47:53 +0000 (13:47 +0000)]
Clean up MMC transmission a bit, and make sure that it is all done from one thread.

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

13 years agoconst correctness.
Carl Hetherington [Tue, 29 Jun 2010 13:47:11 +0000 (13:47 +0000)]
const correctness.

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

13 years agoMore detail when tracing MMC.
Carl Hetherington [Tue, 29 Jun 2010 13:46:18 +0000 (13:46 +0000)]
More detail when tracing MMC.

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

13 years agopay attention to MIDI channel selector when creating notes with GUI (fixes #3233)
Paul Davis [Tue, 29 Jun 2010 13:20:09 +0000 (13:20 +0000)]
pay attention to MIDI channel selector when creating notes with GUI (fixes #3233)

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

13 years agoFix race causing MIDI tracer to stop working when master record state is changed.
Carl Hetherington [Mon, 28 Jun 2010 23:07:05 +0000 (23:07 +0000)]
Fix race causing MIDI tracer to stop working when master record state is changed.

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

13 years agorealtime_stop does not need to send MMC as realtime_stop will have already done it.
Carl Hetherington [Mon, 28 Jun 2010 21:34:50 +0000 (21:34 +0000)]
realtime_stop does not need to send MMC as realtime_stop will have already done it.

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

13 years agoFix crash due to uninitialised use of _note_lines.
Carl Hetherington [Mon, 28 Jun 2010 21:03:26 +0000 (21:03 +0000)]
Fix crash due to uninitialised use of _note_lines.

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

13 years agoHide verbose canvas cursor on midi region view destruction. Should fix #3250.
Carl Hetherington [Mon, 28 Jun 2010 21:03:12 +0000 (21:03 +0000)]
Hide verbose canvas cursor on midi region view destruction.  Should fix #3250.

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

13 years agoFix hang on session going away when there is nothing to process. Fixes #3284.
Carl Hetherington [Mon, 28 Jun 2010 20:49:15 +0000 (20:49 +0000)]
Fix hang on session going away when there is nothing to process.  Fixes #3284.

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

13 years agoDisable midi model updates during trim drags. Speeds the drags up at the cost of...
Carl Hetherington [Mon, 28 Jun 2010 18:43:40 +0000 (18:43 +0000)]
Disable midi model updates during trim drags.  Speeds the drags up at the cost of not updating notes in real-time.  Fixes #3162.

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

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