ardour.git
13 years agoRemove stub class.
Carl Hetherington [Tue, 13 Jul 2010 01:26:30 +0000 (01:26 +0000)]
Remove stub class.

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

13 years agoApply velocity change before looking up velocity value for the verbose cursor. Shoul...
Carl Hetherington [Mon, 12 Jul 2010 01:09:33 +0000 (01:09 +0000)]
Apply velocity change before looking up velocity value for the verbose cursor.  Should fix #3246.

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

13 years agoMake AutomationLine set up interpolation style for its list as appropriate.
Carl Hetherington [Mon, 12 Jul 2010 00:42:06 +0000 (00:42 +0000)]
Make AutomationLine set up interpolation style for its list as appropriate.

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

13 years agoMark Sequence as edited when one of its parent ControlSet's ControlLists is changed.
Carl Hetherington [Mon, 12 Jul 2010 00:41:45 +0000 (00:41 +0000)]
Mark Sequence as edited when one of its parent ControlSet's ControlLists is changed.

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

13 years agoFix up VST build and add basic support for VSTi
Carl Hetherington [Sun, 11 Jul 2010 21:55:11 +0000 (21:55 +0000)]
Fix up VST build and add basic support for VSTi

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

13 years agoFix (in inverted commas) #2885.
Carl Hetherington [Fri, 9 Jul 2010 02:45:15 +0000 (02:45 +0000)]
Fix (in inverted commas) #2885.

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

13 years agoHandle return from find_file_in_search_path in the correct sense.
Carl Hetherington [Fri, 9 Jul 2010 02:44:17 +0000 (02:44 +0000)]
Handle return from find_file_in_search_path in the correct sense.

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

13 years agoAdd missing file.
Carl Hetherington [Fri, 9 Jul 2010 01:15:26 +0000 (01:15 +0000)]
Add missing file.

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

13 years agoSend both MTC and MMC locates on auto-return. Should fix #3303.
Carl Hetherington [Fri, 9 Jul 2010 00:58:28 +0000 (00:58 +0000)]
Send both MTC and MMC locates on auto-return.  Should fix #3303.

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

13 years agoFix playhead behaviour on auto-return if follow playhead is not set.
Carl Hetherington [Fri, 9 Jul 2010 00:58:20 +0000 (00:58 +0000)]
Fix playhead behaviour on auto-return if follow playhead is not set.

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

13 years agoRemove some unused transport sub state enums.
Carl Hetherington [Fri, 9 Jul 2010 00:57:58 +0000 (00:57 +0000)]
Remove some unused transport sub state enums.

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

13 years agoGive internal edit mode its own cursor. Deselect everything when entering internal...
Carl Hetherington [Fri, 9 Jul 2010 00:57:22 +0000 (00:57 +0000)]
Give internal edit mode its own cursor.  Deselect everything when entering internal edit, and don't allow region selection during internal edit.

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

13 years agoMove all sync in / out options out of the menus and into the options dialogue.
Carl Hetherington [Fri, 9 Jul 2010 00:56:52 +0000 (00:56 +0000)]
Move all sync in / out options out of the menus and into the options dialogue.

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

13 years agoMove MIDI control port ownership into the MIDI Manager, since control port state...
Carl Hetherington [Thu, 8 Jul 2010 22:55:20 +0000 (22:55 +0000)]
Move MIDI control port ownership into the MIDI Manager, since control port state should be Ardour-wide, not per-session.  Fix up port connection state management.

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

13 years agoSend MTC/MMC on the initial playhead grab as well as on subsequent movement.
Carl Hetherington [Thu, 8 Jul 2010 01:26:33 +0000 (01:26 +0000)]
Send MTC/MMC on the initial playhead grab as well as on subsequent movement.

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

13 years agoAllow multiple MIDI tracer windows.
Carl Hetherington [Thu, 8 Jul 2010 01:21:22 +0000 (01:21 +0000)]
Allow multiple MIDI tracer windows.

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

13 years agoTrim midi++ port code to either do in or out, but not both in the same object.
Carl Hetherington [Thu, 8 Jul 2010 01:00:46 +0000 (01:00 +0000)]
Trim midi++ port code to either do in or out, but not both in the same object.

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

13 years agoTrace MTC more nicely.
Carl Hetherington [Wed, 7 Jul 2010 23:49:29 +0000 (23:49 +0000)]
Trace MTC more nicely.

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

13 years agoTransmit MTC on playhead drag, as per #3239.
Carl Hetherington [Wed, 7 Jul 2010 23:48:46 +0000 (23:48 +0000)]
Transmit MTC on playhead drag, as per #3239.

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

13 years agoFix Mackie surface after port rework.
Carl Hetherington [Wed, 7 Jul 2010 23:47:31 +0000 (23:47 +0000)]
Fix Mackie surface after port rework.

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

13 years agoSetup fixed ports for MIDI control data; hence remove configuration of those ports...
Carl Hetherington [Wed, 7 Jul 2010 00:40:58 +0000 (00:40 +0000)]
Setup fixed ports for MIDI control data; hence remove configuration of those ports.  Move MIDI tracer to the Windows menu.  Trim some unused code from the midi++ Manager.

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

13 years agogroup active status honor patch from lincoln spiteri
Paul Davis [Tue, 6 Jul 2010 11:34:00 +0000 (11:34 +0000)]
group active status honor patch from lincoln spiteri

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

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