ardour.git
14 years agomaintain send names across session save/restore
Paul Davis [Thu, 19 Nov 2009 13:41:34 +0000 (13:41 +0000)]
maintain send names across session save/restore

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

14 years agosome plugin preset handling fixes from 2.X
Paul Davis [Thu, 19 Nov 2009 12:38:15 +0000 (12:38 +0000)]
some plugin preset handling fixes from 2.X

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

14 years agoadd track/bus now allows specifying aux or direct bus role; processor box menus sort...
Paul Davis [Thu, 19 Nov 2009 04:25:46 +0000 (04:25 +0000)]
add track/bus now allows specifying aux or direct bus role; processor box menus sort of kindof allow New Aux -> Aux Bus

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

14 years agoCleanup previous commit.
Carl Hetherington [Wed, 18 Nov 2009 20:45:06 +0000 (20:45 +0000)]
Cleanup previous commit.

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

14 years agoadd "custom" meter option which is the only option where the meter processor is visib...
Paul Davis [Wed, 18 Nov 2009 20:01:37 +0000 (20:01 +0000)]
add "custom" meter option which is the only option where the meter processor is visible in the UI; hide main outs always

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

14 years agoTrim cruft.
David Robillard [Wed, 18 Nov 2009 19:59:02 +0000 (19:59 +0000)]
Trim cruft.

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

14 years agoMake BufferSet::is_silent work so that session silent_buffers are correctly silenced...
Carl Hetherington [Wed, 18 Nov 2009 17:58:38 +0000 (17:58 +0000)]
Make BufferSet::is_silent work so that session silent_buffers are correctly silenced, preventing feedback from occurring with plugins that output non-zero values for zero inputs.

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

14 years agotwo more debug trace options
Paul Davis [Wed, 18 Nov 2009 17:23:34 +0000 (17:23 +0000)]
two more debug trace options

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

14 years agoPrimary-modifier click on a node in the port matrix toggles association for everythin...
Carl Hetherington [Wed, 18 Nov 2009 15:16:28 +0000 (15:16 +0000)]
Primary-modifier click on a node in the port matrix toggles association for everything in a diagonal line down and to the right of the clicked node.

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

14 years agolock processor list and reconfigure processors after moving meter or control outs...
Paul Davis [Wed, 18 Nov 2009 15:04:59 +0000 (15:04 +0000)]
lock processor list and reconfigure processors after moving meter or control outs around in the list

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

14 years agoFix dragging grid lines when you move the mouse outside of the grid during the drag.
Carl Hetherington [Wed, 18 Nov 2009 14:53:55 +0000 (14:53 +0000)]
Fix dragging grid lines when you move the mouse outside of the grid during the drag.

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

14 years agouse a simpler (and likely correct) round-to-nearest-bar implementation
Paul Davis [Wed, 18 Nov 2009 14:40:46 +0000 (14:40 +0000)]
use a simpler (and likely correct) round-to-nearest-bar implementation

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

14 years agoPort port group type labels in-line with the tabs.
Carl Hetherington [Wed, 18 Nov 2009 14:04:59 +0000 (14:04 +0000)]
Port port group type labels in-line with the tabs.

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

14 years agoRework port matrix to use Gtk notebook tabs to select visible groups.
Carl Hetherington [Wed, 18 Nov 2009 13:35:31 +0000 (13:35 +0000)]
Rework port matrix to use Gtk notebook tabs to select visible groups.

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

14 years agobring back full mute control (pre/post/control/main) via mute button context click
Paul Davis [Wed, 18 Nov 2009 13:25:13 +0000 (13:25 +0000)]
bring back full mute control (pre/post/control/main) via mute button context click

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

14 years agostart to make mouse modes better when in note edit mode by allowing mouse ops on...
Paul Davis [Wed, 18 Nov 2009 13:24:43 +0000 (13:24 +0000)]
start to make mouse modes better when in note edit mode by allowing mouse ops on non-MIDI objects to proceed normally. not finished

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

14 years agoenable ignore-sends-for-solo-propagation change
Paul Davis [Tue, 17 Nov 2009 23:11:42 +0000 (23:11 +0000)]
enable ignore-sends-for-solo-propagation change

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

14 years agodisabled changes to make solo propagation ignore sends
Paul Davis [Tue, 17 Nov 2009 22:29:43 +0000 (22:29 +0000)]
disabled changes to make solo propagation ignore sends

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

14 years agoavoid .h pollution in last commit
Paul Davis [Tue, 17 Nov 2009 14:14:26 +0000 (14:14 +0000)]
avoid .h pollution in last commit

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

14 years agoallow use of Return, KP_Enter and more in key binding editor; better display of such...
Paul Davis [Tue, 17 Nov 2009 13:54:04 +0000 (13:54 +0000)]
allow use of Return, KP_Enter and more in key binding editor; better display of such bindings; potential fix for "crashes" caused by an endless loop of enter/hide events involving the verbose canvas cursor

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

14 years agoFix error in last commit.
Carl Hetherington [Tue, 17 Nov 2009 01:46:00 +0000 (01:46 +0000)]
Fix error in last commit.

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

14 years agoNon-ideal but functional fix for problems when adding processors which increase the...
Carl Hetherington [Tue, 17 Nov 2009 01:42:55 +0000 (01:42 +0000)]
Non-ideal but functional fix for problems when adding processors which increase the required number of scratch buffers.

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

14 years agoTiny optimisation.
Carl Hetherington [Tue, 17 Nov 2009 00:39:55 +0000 (00:39 +0000)]
Tiny optimisation.

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

14 years agoPanner2d::reset takes the number of inputs (== number of pans), not the number of...
Carl Hetherington [Tue, 17 Nov 2009 00:38:47 +0000 (00:38 +0000)]
Panner2d::reset takes the number of inputs (== number of pans), not the number of outputs.

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

14 years agoThe matrix used to highlight connections on click-hold on a row or column label;...
Carl Hetherington [Tue, 17 Nov 2009 00:30:42 +0000 (00:30 +0000)]
The matrix used to highlight connections on click-hold on a row or column label; now this happens, without a click, on any mouseover.  Also mouseover a bundle name highlights everything connected to that bundle.  Some cleanups along the way.

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

14 years agotentative fix for crash on roll
Paul Davis [Mon, 16 Nov 2009 23:21:53 +0000 (23:21 +0000)]
tentative fix for crash on roll

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

14 years agoAllow ardour to manipulate connections between two JACK ports that don't belong to us.
Carl Hetherington [Mon, 16 Nov 2009 22:32:58 +0000 (22:32 +0000)]
Allow ardour to manipulate connections between two JACK ports that don't belong to us.

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

14 years agodebug output+
Paul Davis [Mon, 16 Nov 2009 21:07:16 +0000 (21:07 +0000)]
debug output+

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

14 years agodebug output
Paul Davis [Mon, 16 Nov 2009 20:57:52 +0000 (20:57 +0000)]
debug output

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

14 years agolincoln's patch to show mute/solo in editor RHS track/bus list
Paul Davis [Mon, 16 Nov 2009 13:35:00 +0000 (13:35 +0000)]
lincoln's patch to show mute/solo in editor RHS track/bus list

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

14 years agoNeaten up option editor layouts a bit.
Carl Hetherington [Mon, 16 Nov 2009 02:18:51 +0000 (02:18 +0000)]
Neaten up option editor layouts a bit.

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

14 years agoUpgrade to waf 1.5.10.
David Robillard [Mon, 16 Nov 2009 02:10:50 +0000 (02:10 +0000)]
Upgrade to waf 1.5.10.

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

14 years agoBuild plugin menu only when plugins change, and build the first version of it before...
Carl Hetherington [Mon, 16 Nov 2009 01:06:33 +0000 (01:06 +0000)]
Build plugin menu only when plugins change, and build the first version of it before it is required to ensure that the first processor box popup menu appears fairly quickly.

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

14 years agoFix some memory leaks in the plugin menu.
Carl Hetherington [Sun, 15 Nov 2009 17:19:38 +0000 (17:19 +0000)]
Fix some memory leaks in the plugin menu.

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

14 years agoAdd script to run Ardour with callgrind.
Carl Hetherington [Sun, 15 Nov 2009 02:27:22 +0000 (02:27 +0000)]
Add script to run Ardour with callgrind.

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

14 years agoTidy up a bit in the case where the port matrix has nothing to display.
Carl Hetherington [Sun, 15 Nov 2009 00:26:28 +0000 (00:26 +0000)]
Tidy up a bit in the case where the port matrix has nothing to display.

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

14 years agoSmall cleanups to port matrix context menu.
Carl Hetherington [Sat, 14 Nov 2009 23:48:26 +0000 (23:48 +0000)]
Small cleanups to port matrix context menu.

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

14 years agoAllow multiple bundles with the same ports in the bundle editor, otherwise sometimes...
Carl Hetherington [Sat, 14 Nov 2009 23:08:17 +0000 (23:08 +0000)]
Allow multiple bundles with the same ports in the bundle editor, otherwise sometimes important bundles can be incorrectly hidden.

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

14 years agoSet SVN executable property.
Carl Hetherington [Sat, 14 Nov 2009 15:15:41 +0000 (15:15 +0000)]
Set SVN executable property.

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

14 years agoFix some uninitialised variables in the port matrix code.
Carl Hetherington [Sat, 14 Nov 2009 15:12:13 +0000 (15:12 +0000)]
Fix some uninitialised variables in the port matrix code.

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

14 years agoKeep port matrix group labels on screen where possible.
Carl Hetherington [Sat, 14 Nov 2009 11:50:01 +0000 (11:50 +0000)]
Keep port matrix group labels on screen where possible.

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

14 years agofix stupid MIDI::Manager design to properly handle multiple MIDI ports with the same...
Paul Davis [Fri, 13 Nov 2009 19:50:39 +0000 (19:50 +0000)]
fix stupid MIDI::Manager design to properly handle multiple MIDI ports with the same "device" specification

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

14 years agotidy up (a bit) locations editing widget ; use pixbuf/string code from 2.0;remove...
Paul Davis [Thu, 12 Nov 2009 20:39:53 +0000 (20:39 +0000)]
tidy up (a bit) locations editing widget ; use pixbuf/string code from 2.0;remove edit point clock

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

14 years agomarkers are not allowed to have empty names, especially since it causes a crash in...
Paul Davis [Thu, 12 Nov 2009 14:21:20 +0000 (14:21 +0000)]
markers are not allowed to have empty names, especially since it causes a crash in the pixbuf code

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

14 years agocomments for BBT math methods; remove chunks from GUI; split location UI into a...
Paul Davis [Thu, 12 Nov 2009 05:47:05 +0000 (05:47 +0000)]
comments for BBT math methods;   remove chunks from GUI; split location UI into a widget and a window; add the widget part to the editor RHS notebook. this is unfinished - it looks absurd. but its the starting point for a reworking of the location UI in its rightful place

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

14 years agoFix uninitialised variable in BBT maths.
Carl Hetherington [Thu, 12 Nov 2009 02:21:11 +0000 (02:21 +0000)]
Fix uninitialised variable in BBT maths.

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

14 years agoCompact the port matrix slightly, and fix a couple of minor layout bugs.
Carl Hetherington [Thu, 12 Nov 2009 01:58:20 +0000 (01:58 +0000)]
Compact the port matrix slightly, and fix a couple of minor layout bugs.

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

14 years agoStop temporal zoom buttons being clipped (slightly). Add tooltip for MIDI panic...
Carl Hetherington [Thu, 12 Nov 2009 00:29:16 +0000 (00:29 +0000)]
Stop temporal zoom buttons being clipped (slightly).  Add tooltip for MIDI panic button.

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

14 years agoAllow route name edit from the right-hand-side editor list.
Carl Hetherington [Thu, 12 Nov 2009 00:17:45 +0000 (00:17 +0000)]
Allow route name edit from the right-hand-side editor list.

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

14 years agoFix uninitialised variable and remove bind of shared_ptr to a slot.
Carl Hetherington [Tue, 10 Nov 2009 23:54:04 +0000 (23:54 +0000)]
Fix uninitialised variable and remove bind of shared_ptr to a slot.

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

14 years agolots of tweaks relating to GUI sync management
Paul Davis [Tue, 10 Nov 2009 04:30:08 +0000 (04:30 +0000)]
lots of tweaks relating to GUI sync management

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

14 years agoVarious adjustments to user bundle handling, with the general aim of allowing the...
Carl Hetherington [Tue, 10 Nov 2009 03:16:57 +0000 (03:16 +0000)]
Various adjustments to user bundle handling, with the general aim of allowing the user to create meaningful bundles with respect to their sound card an outboard setup, and having those user bundles take priority over ardour-generated ones.

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

14 years agoFix update of the editor mixer when its route is removed; this stops routes (and...
Carl Hetherington [Mon, 9 Nov 2009 23:43:13 +0000 (23:43 +0000)]
Fix update of the editor mixer when its route is removed; this stops routes (and hence their JACK ports) hanging around after deletion in the UI.

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

14 years ago90% done with external sync design changes (GUI now has toggle switch for ext/int...
Paul Davis [Mon, 9 Nov 2009 20:05:18 +0000 (20:05 +0000)]
90% done with external sync design changes (GUI now has toggle switch for ext/int sync; source chosen separately, currently in ardour prefs dialog ; fix libmidi++ and compilation scripts to correctly build JACK+ALSA support; minor contiuing tweaks on transport stuff

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

14 years agomake PBD::stacktrace() actually work
Paul Davis [Mon, 9 Nov 2009 16:28:39 +0000 (16:28 +0000)]
make PBD::stacktrace() actually work

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

14 years agoFix syntax error.
David Robillard [Mon, 9 Nov 2009 14:13:59 +0000 (14:13 +0000)]
Fix syntax error.

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

14 years agoFix tabs in ardour-3.ttl. Oops.
David Robillard [Mon, 9 Nov 2009 00:58:20 +0000 (00:58 +0000)]
Fix tabs in ardour-3.ttl.  Oops.

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

14 years agoAdd metadata file with DOAP and LV2 Host Info information.
David Robillard [Mon, 9 Nov 2009 00:57:31 +0000 (00:57 +0000)]
Add metadata file with DOAP and LV2 Host Info information.

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

14 years agoas per freedesktop/XDG specs, ardour3 config files etc now live ~/.config/ardour3...
Paul Davis [Sun, 8 Nov 2009 20:01:26 +0000 (20:01 +0000)]
as per freedesktop/XDG specs, ardour3 config files etc now live ~/.config/ardour3 by default, or /ardour3 for those who are mentally ill; a previous commit put this in ~/.config/.ardour3 which was a mistake. you may want to copy over ~/.ardour3 contents and/or remove defunct directories. apologies for the inconvenience

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

14 years agoadd JAG to author list
Paul Davis [Sun, 8 Nov 2009 19:21:36 +0000 (19:21 +0000)]
add JAG to author list

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

14 years agoplugin menu/manager patch from J. Abelardo Gutierrez
Paul Davis [Sun, 8 Nov 2009 19:15:28 +0000 (19:15 +0000)]
plugin menu/manager patch from J. Abelardo Gutierrez

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

14 years agofix 2 action group registrations, and reorder initialization
Paul Davis [Sun, 8 Nov 2009 18:02:03 +0000 (18:02 +0000)]
fix 2 action group registrations, and reorder initialization

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

14 years agomonster commit: transport mgmt changes from 2.X (omnibus edition); make slave use...
Paul Davis [Sun, 8 Nov 2009 16:28:21 +0000 (16:28 +0000)]
monster commit: transport mgmt changes from 2.X (omnibus edition); make slave use nframes64_t ; avoid crashes in Drags when commiting reversible transactions that do not exist

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

14 years agoVarious tweaks to the bundle manager.
Carl Hetherington [Sat, 7 Nov 2009 20:33:41 +0000 (20:33 +0000)]
Various tweaks to the bundle manager.

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

14 years agoFix strange flipping of fade active state when undoing things.
Carl Hetherington [Thu, 5 Nov 2009 00:42:01 +0000 (00:42 +0000)]
Fix strange flipping of fade active state when undoing things.

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

14 years agoFix uninitialised variable.
Carl Hetherington [Thu, 5 Nov 2009 00:04:51 +0000 (00:04 +0000)]
Fix uninitialised variable.

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

14 years agoFix wacky tabs. Apologies to anybody actually compiling right now. :)
David Robillard [Sun, 1 Nov 2009 17:57:57 +0000 (17:57 +0000)]
Fix wacky tabs.  Apologies to anybody actually compiling right now. :)

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

14 years agoUse shared_ptr::unique() instead of shared_ptr::use_count() == 1.
David Robillard [Sun, 1 Nov 2009 17:25:38 +0000 (17:25 +0000)]
Use shared_ptr::unique() instead of shared_ptr::use_count() == 1.

use_count() can be slow (not constant time) depending on underlying implementation.
Similar situation to std::list::size() == 0 an std::list::empty(), the former
does a big traversal/computation only to check if the very first step went.
I think the current boost implementation is just a reference count anyway, but
hey.  In theory.

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

14 years agoDoxygen readable comments, tidy, fix whitespace.
David Robillard [Sun, 1 Nov 2009 17:12:41 +0000 (17:12 +0000)]
Doxygen readable comments, tidy, fix whitespace.

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

14 years agoadd lots of comments to rcu.h (with concomittant full recompile)
Paul Davis [Sun, 1 Nov 2009 16:25:52 +0000 (16:25 +0000)]
add lots of comments to rcu.h (with concomittant full recompile)

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

14 years agoallowup to 12 buttons in prefs editor, and allow for unmodified button ops there
Paul Davis [Sat, 31 Oct 2009 19:04:51 +0000 (19:04 +0000)]
allowup to 12 buttons in prefs editor, and allow for unmodified button ops there

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

14 years agomake it compile
Paul Davis [Fri, 30 Oct 2009 21:07:29 +0000 (21:07 +0000)]
make it compile

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

14 years agomake 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)
Paul Davis [Fri, 30 Oct 2009 18:14:25 +0000 (18:14 +0000)]
make 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)

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

14 years agoTrim session.h include dependency tree.
David Robillard [Fri, 30 Oct 2009 15:30:22 +0000 (15:30 +0000)]
Trim session.h include dependency tree.

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

14 years agoFix angle bracket project-local include paths.
David Robillard [Fri, 30 Oct 2009 00:21:40 +0000 (00:21 +0000)]
Fix angle bracket project-local include paths.

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

14 years agoRemove pointless and broken PluginInfo copy constructor.
David Robillard [Thu, 29 Oct 2009 18:26:03 +0000 (18:26 +0000)]
Remove pointless and broken PluginInfo copy constructor.
Never do this...

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

14 years agoOn second though, just remove that define entirely.
David Robillard [Wed, 28 Oct 2009 23:56:05 +0000 (23:56 +0000)]
On second though, just remove that define entirely.

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

14 years agoFix really weird brace mismatchey way of ifdeffing.
David Robillard [Wed, 28 Oct 2009 23:53:16 +0000 (23:53 +0000)]
Fix really weird brace mismatchey way of ifdeffing.

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

14 years agoRemove empty/unused session_feedback.cc
David Robillard [Wed, 28 Oct 2009 23:46:33 +0000 (23:46 +0000)]
Remove empty/unused session_feedback.cc

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

14 years agoPatch from oofus to fix mantis 1867.
Carl Hetherington [Wed, 28 Oct 2009 22:00:45 +0000 (22:00 +0000)]
Patch from oofus to fix mantis 1867.

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

14 years agoanother small commit and a reminder: rev 5961 or this one requires you to remove...
Paul Davis [Wed, 28 Oct 2009 21:38:00 +0000 (21:38 +0000)]
another small commit and a reminder: rev 5961 or this one requires you to remove ~/.ardour3/ardour.rc

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

14 years ago* libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headers
Paul Davis [Wed, 28 Oct 2009 21:36:40 +0000 (21:36 +0000)]
* libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headers
* use explicit operator<< and operator>> that in turn use PBD::EnumWriter when serializing and deserializing to/from rc files
* adds scrolling in mixer window (from 2.X)
* BBT math stuff - untested, but basically operational
* move LocaleGuard into its own file(s) in libs/pbd
* Tempo now uses nframes64_t everywhere (except for sample rate values)
* as in 2.X, use mkstemp and hack to avoid temp file nonsense, and remove erroneous free() from disk stats output

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

14 years agoRemove unused source reference count.
David Robillard [Wed, 28 Oct 2009 15:34:07 +0000 (15:34 +0000)]
Remove unused source reference count.

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

14 years agoAdd bbt_add that does not take Metric parameter.
David Robillard [Wed, 28 Oct 2009 15:33:54 +0000 (15:33 +0000)]
Add bbt_add that does not take Metric parameter.

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

14 years agoGuaranteed to be the most robust test, ever (*).
David Robillard [Wed, 28 Oct 2009 15:33:06 +0000 (15:33 +0000)]
Guaranteed to be the most robust test, ever (*).

(* Offer void everywhere)

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

14 years agoMake ARDOUR::init safer.
David Robillard [Tue, 27 Oct 2009 18:00:45 +0000 (18:00 +0000)]
Make ARDOUR::init safer.

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

14 years agoUpdate BBT_Time add and subtract interfaces (stubs, just for unit test building).
David Robillard [Tue, 27 Oct 2009 17:47:54 +0000 (17:47 +0000)]
Update BBT_Time add and subtract interfaces (stubs, just for unit test building).
Build unit tests against libardour itself rather than compiling in bits.

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

14 years agoFix spacey tab.
David Robillard [Tue, 27 Oct 2009 17:47:02 +0000 (17:47 +0000)]
Fix spacey tab.

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

14 years agoAdd test running script in source directory.
David Robillard [Tue, 27 Oct 2009 16:18:57 +0000 (16:18 +0000)]
Add test running script in source directory.

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

14 years agoFix wacky indentation.
David Robillard [Tue, 27 Oct 2009 16:18:13 +0000 (16:18 +0000)]
Fix wacky indentation.

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

14 years agoConsistent test source file naming (not the Ardour convention though, maybe should...
David Robillard [Tue, 27 Oct 2009 16:17:07 +0000 (16:17 +0000)]
Consistent test source file naming (not the Ardour convention though, maybe should change, whatever).

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

14 years agoAaaaaaaaaaaand actually add those files.
David Robillard [Tue, 27 Oct 2009 16:15:33 +0000 (16:15 +0000)]
Aaaaaaaaaaaand actually add those files.

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

14 years agoSkeleton tests for BBT_Time.
David Robillard [Tue, 27 Oct 2009 16:15:12 +0000 (16:15 +0000)]
Skeleton tests for BBT_Time.

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

14 years agoardour/tests => ardour/test (consistency with evoral).
David Robillard [Tue, 27 Oct 2009 16:07:03 +0000 (16:07 +0000)]
ardour/tests => ardour/test (consistency with evoral).

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

14 years agoAdd OK/Cancel buttons to quantize dialog.
David Robillard [Tue, 27 Oct 2009 02:36:42 +0000 (02:36 +0000)]
Add OK/Cancel buttons to quantize dialog.

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

14 years agoadd file
Paul Davis [Tue, 27 Oct 2009 02:32:11 +0000 (02:32 +0000)]
add file

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

14 years agoadd file
Paul Davis [Tue, 27 Oct 2009 02:29:49 +0000 (02:29 +0000)]
add file

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

14 years agonew SnapBBT debug option, split out BBT_time and start work on BBT arithmetic framewo...
Paul Davis [Tue, 27 Oct 2009 02:24:56 +0000 (02:24 +0000)]
new SnapBBT debug option, split out BBT_time and start work on BBT arithmetic framework. this will cause a full recompile, so find something else to do

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

14 years agoFix 2884 and also potential crash if there are no control outs.
Carl Hetherington [Tue, 27 Oct 2009 00:53:24 +0000 (00:53 +0000)]
Fix 2884 and also potential crash if there are no control outs.

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

14 years agoprovide accessors to Editor::snap_{type,mode} ; when nudging notes, use grid in prefe...
Paul Davis [Mon, 26 Oct 2009 23:43:04 +0000 (23:43 +0000)]
provide accessors to Editor::snap_{type,mode} ; when nudging notes, use grid in preference to nudge clock

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