ardour.git
14 years agoFix repeated linear search on read when cached model iterator reaches end.
David Robillard [Thu, 22 Oct 2009 14:46:03 +0000 (14:46 +0000)]
Fix repeated linear search on read when cached model iterator reaches end.

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

14 years agoremember to reset inm1 each time around the interpolation loop
Paul Davis [Thu, 22 Oct 2009 13:29:09 +0000 (13:29 +0000)]
remember to reset inm1 each time around the interpolation loop

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

14 years agoFix compilation with -DDEBUG_MIDI_CLOCK
David Robillard [Wed, 21 Oct 2009 22:25:46 +0000 (22:25 +0000)]
Fix compilation with -DDEBUG_MIDI_CLOCK

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

14 years agoFix failed assertion when end_write is called multiple times.
David Robillard [Wed, 21 Oct 2009 22:21:44 +0000 (22:21 +0000)]
Fix failed assertion when end_write is called multiple times.

Bad logic, but oh well, doesn't hurt.

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

14 years agoMerge all BufferSet iterators using a single template (way less duplicatedish code).
David Robillard [Wed, 21 Oct 2009 17:24:14 +0000 (17:24 +0000)]
Merge all BufferSet iterators using a single template (way less duplicatedish code).

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

14 years agoFix unnecessarily type specific code, tidy, fix whitespace.
David Robillard [Wed, 21 Oct 2009 16:56:58 +0000 (16:56 +0000)]
Fix unnecessarily type specific code, tidy, fix whitespace.

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

14 years agoFix O(n) search on MIDI rec region update (now O(log(n)) per update, but could be...
David Robillard [Wed, 21 Oct 2009 16:39:39 +0000 (16:39 +0000)]
Fix O(n) search on MIDI rec region update (now O(log(n)) per update, but could be O(1) with caching...)

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

14 years agoFix MIDI rec regions.
David Robillard [Wed, 21 Oct 2009 16:26:18 +0000 (16:26 +0000)]
Fix MIDI rec regions.

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

14 years agoTidy up region gain line drawing slightly so that it doesn't overhang its region.
Carl Hetherington [Wed, 21 Oct 2009 12:32:46 +0000 (12:32 +0000)]
Tidy up region gain line drawing slightly so that it doesn't overhang its region.

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

14 years agoFix MIDI thru, though why this is any different from audio (monitoring) I don't know.
David Robillard [Wed, 21 Oct 2009 00:53:26 +0000 (00:53 +0000)]
Fix MIDI thru, though why this is any different from audio (monitoring) I don't know.

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

14 years agoFix creation of plugin presets.
Carl Hetherington [Wed, 21 Oct 2009 00:21:02 +0000 (00:21 +0000)]
Fix creation of plugin presets.

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

14 years agoFix unused parameter warnings since GCC apparently doesn't feel like listening to...
David Robillard [Wed, 21 Oct 2009 00:15:42 +0000 (00:15 +0000)]
Fix unused parameter warnings since GCC apparently doesn't feel like listening to -Wno-unused-parameter

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

14 years agoDisable excessive debug printing.
David Robillard [Wed, 21 Oct 2009 00:00:56 +0000 (00:00 +0000)]
Disable excessive debug printing.

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

14 years agoFix various MIDI control and installation issues:
David Robillard [Tue, 20 Oct 2009 23:43:19 +0000 (23:43 +0000)]
Fix various MIDI control and installation issues:

 * Install ardour3_ui_default.conf to system config dir

 * Set -DDATA_DIR etc. defines to proper absolute paths

 * Set default MIDI control port name to "control"
   (it was "control" some places, "default" other, so the generic MIDI
   control surface didn't work.  The real problem here is probably that
   the name is hardcoded in the surface code, ick)

 * Install surfaces to correct system directory

 * Generate and install ardour_system.rc

User POV:

 * Installed versions not run from the source directory discover configuration
   files and surfaces, and generally work

 * Building and/or starting a fresh copy of ardour3 with no pre-existing
   configuration will run an ardour with a single MIDI "control" port, which
   you can plug a surface into and control MMC and controllers and such
   (after turning on the generic MIDI surface, which IMO should be loaded
    by default anyway, especially since it's no longer in a menu)

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

14 years agoDelete comment window in destructor to close mantis 1870.
Carl Hetherington [Tue, 20 Oct 2009 22:58:50 +0000 (22:58 +0000)]
Delete comment window in destructor to close mantis 1870.

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

14 years agoFix crash with input (not duplex) control MIDI ports.
David Robillard [Tue, 20 Oct 2009 22:33:08 +0000 (22:33 +0000)]
Fix crash with input (not duplex) control MIDI ports.

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

14 years agoEnsure that the loop/punch ruler is always visible when punch in/out is enabled;...
Carl Hetherington [Tue, 20 Oct 2009 21:58:46 +0000 (21:58 +0000)]
Ensure that the loop/punch ruler is always visible when punch in/out is enabled; closes mantis 1294.

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

14 years agoFixes to pointer constraints when copying in lock edit mode; make them behave the...
Carl Hetherington [Tue, 20 Oct 2009 20:43:23 +0000 (20:43 +0000)]
Fixes to pointer constraints when copying in lock edit mode; make them behave the same as when just dragging regions.  Fixes some or all of mantis 2573.

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

14 years agoSince add_property creates new XMLProperty objects, remove_property should probably...
Carl Hetherington [Tue, 20 Oct 2009 18:44:44 +0000 (18:44 +0000)]
Since add_property creates new XMLProperty objects, remove_property should probably delete them.  Although remove_property is only used in one place in Ardour that I can see.

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

14 years agoMake the behaviour zoom to region more intuitive (IMHO); ie always zoom to the select...
Carl Hetherington [Tue, 20 Oct 2009 18:20:38 +0000 (18:20 +0000)]
Make the behaviour zoom to region more intuitive (IMHO); ie always zoom to the selected region.  Not quite sure what the zoomed_to_region flag was intended to achieve.  Fixes mantis 2154.

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

14 years agohandle searching for a note in an empty note list
Paul Davis [Tue, 20 Oct 2009 12:16:30 +0000 (12:16 +0000)]
handle searching for a note in an empty note list

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

14 years agoTidy.
David Robillard [Tue, 20 Oct 2009 02:26:25 +0000 (02:26 +0000)]
Tidy.

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

14 years agoTidy.
David Robillard [Tue, 20 Oct 2009 02:17:28 +0000 (02:17 +0000)]
Tidy.

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

14 years agoFactor out more duplicated code.
David Robillard [Tue, 20 Oct 2009 02:14:53 +0000 (02:14 +0000)]
Factor out more duplicated code.

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

14 years agoFactor out duplicated code in AudioDiskstream and MidiDiskstream.
David Robillard [Tue, 20 Oct 2009 02:01:26 +0000 (02:01 +0000)]
Factor out duplicated code in AudioDiskstream and MidiDiskstream.

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

14 years agoImplement out-of-place MidiBuffer::merge.
David Robillard [Tue, 20 Oct 2009 01:50:15 +0000 (01:50 +0000)]
Implement out-of-place MidiBuffer::merge.
Completely untested.

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

14 years agoUse a template to merge PortSet::iterator and PortSet::const_iterator duplicated...
David Robillard [Tue, 20 Oct 2009 01:32:34 +0000 (01:32 +0000)]
Use a template to merge PortSet::iterator and PortSet::const_iterator duplicated code.

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

14 years agoConst-correct BufferSet.
David Robillard [Tue, 20 Oct 2009 01:24:31 +0000 (01:24 +0000)]
Const-correct BufferSet.

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

14 years agoOnly build unit tests if configure --test is passed.
David Robillard [Tue, 20 Oct 2009 01:07:15 +0000 (01:07 +0000)]
Only build unit tests if configure --test is passed.

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

14 years agoTidy up the popup region editor and fix a few bugs with it; should close mantis 2601...
Carl Hetherington [Tue, 20 Oct 2009 01:05:33 +0000 (01:05 +0000)]
Tidy up the popup region editor and fix a few bugs with it; should close mantis 2601 and 2602.

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

14 years agoWhitespace.
David Robillard [Tue, 20 Oct 2009 00:50:43 +0000 (00:50 +0000)]
Whitespace.

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

14 years agoFix 2074: setting the NSD to not connect outputs to anything is ignored.
Carl Hetherington [Mon, 19 Oct 2009 20:30:09 +0000 (20:30 +0000)]
Fix 2074: setting the NSD to not connect outputs to anything is ignored.

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

14 years agoAlways call set_width_enum after set_route on mixer strips, to ensure that width...
Carl Hetherington [Mon, 19 Oct 2009 19:20:48 +0000 (19:20 +0000)]
Always call set_width_enum after set_route on mixer strips, to ensure that width is correctly set to editor_mixer_strip_width (as set_route will probably call set_width_enum itself)

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

14 years agoRemove debug code from last commit.
Carl Hetherington [Mon, 19 Oct 2009 18:16:57 +0000 (18:16 +0000)]
Remove debug code from last commit.

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

14 years agoStop ardour exiting in the case where you have a loaded session, then select New...
Carl Hetherington [Mon, 19 Oct 2009 18:12:20 +0000 (18:12 +0000)]
Stop ardour exiting in the case where you have a loaded session, then select New Session, cancel.

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

14 years agoFix button labelling for >1 input / output routes.
Carl Hetherington [Mon, 19 Oct 2009 17:45:51 +0000 (17:45 +0000)]
Fix button labelling for >1 input / output routes.

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

14 years agoFix memory leak.
Carl Hetherington [Mon, 19 Oct 2009 17:44:20 +0000 (17:44 +0000)]
Fix memory leak.

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

14 years agoTidy up window titles, according to GNOME HIG and as suggested in mantis 2803.
Carl Hetherington [Mon, 19 Oct 2009 17:25:37 +0000 (17:25 +0000)]
Tidy up window titles, according to GNOME HIG and as suggested in mantis 2803.

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

14 years agotrack notes at the region level in MidiPlaylist; resolve them (deliver note offs...
Paul Davis [Mon, 19 Oct 2009 17:05:22 +0000 (17:05 +0000)]
track notes at the region level in MidiPlaylist; resolve them (deliver note offs) if a note spans the end of the region

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

14 years agoLogarithmic note seek for Sequence iterator.
David Robillard [Mon, 19 Oct 2009 16:23:08 +0000 (16:23 +0000)]
Logarithmic note seek for Sequence iterator.

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

14 years agoBetter test for iterator seek.
David Robillard [Mon, 19 Oct 2009 16:14:55 +0000 (16:14 +0000)]
Better test for iterator seek.

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

14 years agoAdd unit test for Sequence iterator seeking.
David Robillard [Mon, 19 Oct 2009 16:09:20 +0000 (16:09 +0000)]
Add unit test for Sequence iterator seeking.

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

14 years agoUse logarithmic search for MidiModel::find_note (used by DiffCommand).
David Robillard [Mon, 19 Oct 2009 15:44:58 +0000 (15:44 +0000)]
Use logarithmic search for MidiModel::find_note (used by DiffCommand).

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

14 years agoFix insane formatting/whitespace in evoral test stuff. C'mon Hans ;)
David Robillard [Mon, 19 Oct 2009 15:26:56 +0000 (15:26 +0000)]
Fix insane formatting/whitespace in evoral test stuff.  C'mon Hans ;)

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

14 years agoUse set over vector for Sequence::Notes, for logarithmic search by time.
David Robillard [Mon, 19 Oct 2009 15:23:42 +0000 (15:23 +0000)]
Use set over vector for Sequence::Notes, for logarithmic search by time.

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

14 years agoAdd mono switch to mixer strips (mantis 1068)
Carl Hetherington [Mon, 19 Oct 2009 14:46:15 +0000 (14:46 +0000)]
Add mono switch to mixer strips (mantis 1068)

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

14 years agoTidy.
David Robillard [Mon, 19 Oct 2009 14:13:03 +0000 (14:13 +0000)]
Tidy.

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

14 years agoFix set_notes prototype to use typedef.
David Robillard [Mon, 19 Oct 2009 14:08:20 +0000 (14:08 +0000)]
Fix set_notes prototype to use typedef.
Fix spacey tabs.

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

14 years agoFix warnings.
David Robillard [Mon, 19 Oct 2009 14:06:54 +0000 (14:06 +0000)]
Fix warnings.

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

14 years agofix conceptually broken cubic interpolator that failed to handle the i=0 case, and...
Paul Davis [Fri, 16 Oct 2009 19:53:25 +0000 (19:53 +0000)]
fix conceptually broken cubic interpolator that failed to handle the i=0 case, and don't rely on inlining for speed there

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

14 years agomore set_state() tweaks to aid with plugin state loading
Paul Davis [Fri, 16 Oct 2009 16:44:16 +0000 (16:44 +0000)]
more set_state() tweaks to aid with plugin state loading

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

14 years agotesting post-commit hook after DH server switch
Paul Davis [Fri, 16 Oct 2009 00:04:13 +0000 (00:04 +0000)]
testing post-commit hook after DH server switch

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

14 years agoanother set_state() related tweak for handling 2.X sessions
Paul Davis [Thu, 15 Oct 2009 20:33:05 +0000 (20:33 +0000)]
another set_state() related tweak for handling 2.X sessions

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

14 years agomore set_state() tweaks to get a 2.X session to load without aborting
Paul Davis [Thu, 15 Oct 2009 19:36:48 +0000 (19:36 +0000)]
more set_state() tweaks to get a 2.X session to load without aborting

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

14 years agorework Stateful::set_state() patch to avoid default version argument
Paul Davis [Thu, 15 Oct 2009 18:56:11 +0000 (18:56 +0000)]
rework Stateful::set_state() patch to avoid default version argument

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

14 years agoPart 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
Carl Hetherington [Thu, 15 Oct 2009 00:57:55 +0000 (00:57 +0000)]
Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.

LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE,
MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION.

So don't do that unless you make a backup of the session file first.

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

14 years agoFix assertion failure when switching from a 2-channel to 1-channel route with the...
Carl Hetherington [Wed, 14 Oct 2009 23:47:44 +0000 (23:47 +0000)]
Fix assertion failure when switching from a 2-channel to 1-channel route with the editor mixer open.

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

14 years agoFix crash on MIDI import.
David Robillard [Wed, 14 Oct 2009 23:45:06 +0000 (23:45 +0000)]
Fix crash on MIDI import.

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

14 years agoDon't raise errors on probe.
David Robillard [Wed, 14 Oct 2009 23:44:48 +0000 (23:44 +0000)]
Don't raise errors on probe.

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

14 years agoRemove deprecated clearlooks options from ardour3_ui_dark.rc
David Robillard [Wed, 14 Oct 2009 23:32:58 +0000 (23:32 +0000)]
Remove deprecated clearlooks options from ardour3_ui_dark.rc

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

14 years agoFix syntax error in ardour3_ui_dark.rc
David Robillard [Wed, 14 Oct 2009 23:31:02 +0000 (23:31 +0000)]
Fix syntax error in ardour3_ui_dark.rc

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

14 years agoSet the scratch bufs count up in passthru_silence, like it's done in passthru.
Carl Hetherington [Wed, 14 Oct 2009 22:29:33 +0000 (22:29 +0000)]
Set the scratch bufs count up in passthru_silence, like it's done in passthru.

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

14 years agoFix WackyTabs(TM).
David Robillard [Wed, 14 Oct 2009 21:28:37 +0000 (21:28 +0000)]
Fix WackyTabs(TM).

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

14 years agoFix display of tool button icons.
David Robillard [Wed, 14 Oct 2009 21:24:35 +0000 (21:24 +0000)]
Fix display of tool button icons.

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

14 years agoFix warnings.
David Robillard [Wed, 14 Oct 2009 20:41:54 +0000 (20:41 +0000)]
Fix warnings.
Hopefully that offset is an audio cycle offset, or someone's used the wrong type ;)

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

14 years ago(1) silence non-process FIFO message (2) move MIDI state tracking down to the MidiPor...
Paul Davis [Wed, 14 Oct 2009 17:35:33 +0000 (17:35 +0000)]
(1) silence non-process FIFO message (2) move MIDI state tracking down to the MidiPort level (3) forward port the PRIVATE_JACK pointer "fix" from 2.X

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

14 years agoStrip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing...
David Robillard [Wed, 14 Oct 2009 16:10:01 +0000 (16:10 +0000)]
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing).  Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red.  I don't know the emacs equivalent...

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

14 years agowritable session patch, forward ported from 2.X
Paul Davis [Tue, 13 Oct 2009 20:43:28 +0000 (20:43 +0000)]
writable session patch, forward ported from 2.X

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

14 years agoSet up the ControlProtocolManager singleton in a slightly more robust way.
Carl Hetherington [Mon, 12 Oct 2009 17:46:17 +0000 (17:46 +0000)]
Set up the ControlProtocolManager singleton in a slightly more robust way.

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

14 years agoSome thread safety for the previous commit.
Carl Hetherington [Sun, 11 Oct 2009 22:19:58 +0000 (22:19 +0000)]
Some thread safety for the previous commit.

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

14 years agoMake the port matrix notice if JACK ports are registered or unregistered.
Carl Hetherington [Sun, 11 Oct 2009 22:16:20 +0000 (22:16 +0000)]
Make the port matrix notice if JACK ports are registered or unregistered.

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

14 years agoStop fades being reset on dragging an audio region to a different track.
Carl Hetherington [Fri, 9 Oct 2009 16:33:25 +0000 (16:33 +0000)]
Stop fades being reset on dragging an audio region to a different track.

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

14 years agothree recent fixes from 2.0-ongoing (RT on by default, Mackie port name nonsense...
Paul Davis [Thu, 8 Oct 2009 21:56:16 +0000 (21:56 +0000)]
three recent fixes from 2.0-ongoing (RT on by default, Mackie port name nonsense; processor box no-redisplay flag reset on set_route()

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

14 years agosave & restore MIDI track note mode
Paul Davis [Wed, 7 Oct 2009 15:41:12 +0000 (15:41 +0000)]
save & restore MIDI track note mode

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

14 years agofix up dragging notes in percussive mode
Paul Davis [Wed, 7 Oct 2009 15:05:52 +0000 (15:05 +0000)]
fix up dragging notes in percussive mode

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

14 years agonew file
Paul Davis [Wed, 7 Oct 2009 13:01:38 +0000 (13:01 +0000)]
new file

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

14 years agoMake the mackie surface work again by initialising control surfaces after MIDI, so...
Carl Hetherington [Wed, 7 Oct 2009 01:55:32 +0000 (01:55 +0000)]
Make the mackie surface work again by initialising control surfaces after MIDI, so that the mcu port exists when the control surface is created.  In addition to this patch it is necessary to tweak the wscript to build with ALSA_MIDI.

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

14 years agoFix some compiler warnings.
Carl Hetherington [Tue, 6 Oct 2009 23:58:29 +0000 (23:58 +0000)]
Fix some compiler warnings.

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

14 years agoogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims...
Paul Davis [Tue, 6 Oct 2009 22:07:10 +0000 (22:07 +0000)]
ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW

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

14 years agofix use of connection_index
Paul Davis [Tue, 6 Oct 2009 16:07:48 +0000 (16:07 +0000)]
fix use of connection_index

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

14 years agoindustrial-strength-ifying of io connection name cleanup
Paul Davis [Tue, 6 Oct 2009 15:59:37 +0000 (15:59 +0000)]
industrial-strength-ifying of io connection name cleanup

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

14 years agoFixed uninitialised variable confusion.
Carl Hetherington [Tue, 6 Oct 2009 12:46:50 +0000 (12:46 +0000)]
Fixed uninitialised variable confusion.

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

14 years agoadd new files, derived from jack_delay by fons
Paul Davis [Mon, 5 Oct 2009 18:02:21 +0000 (18:02 +0000)]
add new files, derived from jack_delay by fons

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

14 years agoBuild clearlooks-newer for OSX
Carl Hetherington [Mon, 5 Oct 2009 02:43:30 +0000 (02:43 +0000)]
Build clearlooks-newer for OSX

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

14 years agoFix font name substitution in .rc files.
Carl Hetherington [Mon, 5 Oct 2009 02:05:31 +0000 (02:05 +0000)]
Fix font name substitution in .rc files.

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

14 years agostring_is_affirmative() fix for 3.0
Paul Davis [Fri, 2 Oct 2009 20:53:31 +0000 (20:53 +0000)]
string_is_affirmative() fix for 3.0

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

14 years agoadd file
Paul Davis [Fri, 2 Oct 2009 15:00:19 +0000 (15:00 +0000)]
add file

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

14 years agoFix posix_memalign check.
David Robillard [Fri, 2 Oct 2009 14:46:10 +0000 (14:46 +0000)]
Fix posix_memalign check.

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

14 years agoFix some trivial compiler warnings and add editor_imageframe.cc to gtk2_ardour/wscript
Sakari Bergen [Fri, 2 Oct 2009 11:16:15 +0000 (11:16 +0000)]
Fix some trivial compiler warnings and add editor_imageframe.cc to gtk2_ardour/wscript

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

14 years agoadd processor-same-as-route-name fix, modified from 2.X version; clean up CMT stuff...
Paul Davis [Fri, 2 Oct 2009 01:49:57 +0000 (01:49 +0000)]
add processor-same-as-route-name fix, modified from 2.X version; clean up CMT stuff so that it will compile, but continue to not compile it

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

14 years agovisual state patches from 2.X
Paul Davis [Thu, 1 Oct 2009 20:52:07 +0000 (20:52 +0000)]
visual state patches from 2.X

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

14 years agoi/o button naming patch and imported file BWF timecode retention patch from nickm...
Paul Davis [Thu, 1 Oct 2009 20:40:51 +0000 (20:40 +0000)]
i/o button naming patch and imported file BWF timecode retention patch from nickm, both reworked for 3.0

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

14 years agoi/o button renaming patch from nickm
Paul Davis [Thu, 1 Oct 2009 17:20:12 +0000 (17:20 +0000)]
i/o button renaming patch from nickm

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

14 years agoLADSPA logarithmic handling patches from nickm and robsch
Paul Davis [Thu, 1 Oct 2009 16:42:02 +0000 (16:42 +0000)]
LADSPA logarithmic handling patches from nickm and robsch

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

14 years agoLV2 epp log patch from nedko, via 2.X
Paul Davis [Thu, 1 Oct 2009 16:29:59 +0000 (16:29 +0000)]
LV2 epp log patch from nedko, via 2.X

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

14 years agoLV2 external UI patch from nedko via 2.X and a couple of .rej's
Paul Davis [Thu, 1 Oct 2009 16:28:02 +0000 (16:28 +0000)]
LV2 external UI patch from nedko via 2.X and a couple of .rej's

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

14 years agofreesound mootcher patch from donf, from 2.X
Paul Davis [Thu, 1 Oct 2009 16:21:23 +0000 (16:21 +0000)]
freesound mootcher patch from donf, from 2.X

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

14 years agomake MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track...
Paul Davis [Fri, 25 Sep 2009 19:00:34 +0000 (19:00 +0000)]
make MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track context menu); add "default channel" concept for MIDI tracks so that piano roll header events can send stuff on the right channel; add GUI control over this channel setting

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

14 years agoimplement MidiBuffer::merge_in_place() and use to support MIDI passthrough (control...
Paul Davis [Fri, 25 Sep 2009 05:08:23 +0000 (05:08 +0000)]
implement MidiBuffer::merge_in_place() and use to support MIDI passthrough (control over this feature to be added. historical note: implemented and debugged during keith packard's excellent presentation on X at 25 during LPC2009

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

14 years ago(full commit): fix MIDI playback by not writing into the playback buffer from MidiDis...
Paul Davis [Mon, 21 Sep 2009 15:43:11 +0000 (15:43 +0000)]
(full commit): fix MIDI playback by not writing into the playback buffer from MidiDiskStream::process() unless recording. This has a negative impact on "monitoring" MIDI, but that needs a different, somewhat more expansive solution anyway

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