ardour.git
11 years agoOS X-based fixes for splash screen mgmt
Paul Davis [Tue, 10 Jul 2012 01:04:36 +0000 (01:04 +0000)]
OS X-based fixes for splash screen mgmt

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

11 years agoremove extra unused argument to ::sync_model_with_view_point(s)
Paul Davis [Mon, 9 Jul 2012 22:03:32 +0000 (22:03 +0000)]
remove extra unused argument to ::sync_model_with_view_point(s)

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

11 years agocleaner version of splash display changes
Paul Davis [Mon, 9 Jul 2012 21:54:21 +0000 (21:54 +0000)]
cleaner version of splash display changes

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

11 years agofix transport controls in Korg NanoControl binding map (from jaaxxone)
Paul Davis [Mon, 9 Jul 2012 21:30:53 +0000 (21:30 +0000)]
fix transport controls in Korg NanoControl binding map (from jaaxxone)

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

11 years agonew Korg Nanocontrol2 maps from phdemartin
Paul Davis [Mon, 9 Jul 2012 21:28:30 +0000 (21:28 +0000)]
new Korg Nanocontrol2 maps from phdemartin

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

11 years agosome hacks to try to get the splash to function reliably, particularly on OS X
Paul Davis [Mon, 9 Jul 2012 21:25:22 +0000 (21:25 +0000)]
some hacks to try to get the splash to function reliably, particularly on OS X

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

11 years agoshift-click on shuttle controller in wheel mode resets it to 1.0 (100%) (#4994)
Paul Davis [Mon, 9 Jul 2012 19:51:09 +0000 (19:51 +0000)]
shift-click on shuttle controller in wheel mode resets it to 1.0 (100%) (#4994)

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

11 years agocomment out some unused parameter arguments
Paul Davis [Mon, 9 Jul 2012 19:43:29 +0000 (19:43 +0000)]
comment out some unused parameter arguments

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

11 years agoredisplay mixer strips when visibility of one of them changes (makes X (hide) button...
Paul Davis [Mon, 9 Jul 2012 19:26:22 +0000 (19:26 +0000)]
redisplay mixer strips when visibility of one of them changes (makes X (hide) button work)

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

11 years agoautomation fixes/changes: when add a new control point, create necessary points to...
Paul Davis [Mon, 9 Jul 2012 18:32:53 +0000 (18:32 +0000)]
automation fixes/changes: when add a new control point, create necessary points to construct a flat default-valued line from zero the first point, and revert to the default value at the end of the write (breaks value-holds-after-write behaviour); fix bug in data elimination when recording flat-line data

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

11 years agoset fader and plugin parameter automation curve default values - what else needs...
Paul Davis [Mon, 9 Jul 2012 18:31:09 +0000 (18:31 +0000)]
set fader and plugin parameter automation curve default values - what else needs this?

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

11 years agorestore functionality of show/hide column in mixer track/bus list
Paul Davis [Sun, 8 Jul 2012 19:03:20 +0000 (19:03 +0000)]
restore functionality of show/hide column in mixer track/bus list

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

11 years agoReport correct time instead of old time when locating as Jack transport master.
David Robillard [Sun, 8 Jul 2012 03:40:15 +0000 (03:40 +0000)]
Report correct time instead of old time when locating as Jack transport 

I encountered this today writing a transport slave, but it seems to be the same
problem as issue #743 from 8 years ago.  The issue is easier to see with a
transport slave client that prints any transport change whatsoever, for example
if the current location is some point well into the session and rewind to start
is pressed, Ardour reports the old position, not zero.  With this change, it
reports zero as expected.

See comment about why this was happening.  If locating here is evil for some
reason, then some other way of making jack_timebase_callback report the target
position is required.  Contrary to what the old comment below this change
suggests, follow_slave() does not update _transport_frame in time.

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

11 years agoFix Jack transport master after session load.
David Robillard [Sat, 7 Jul 2012 21:00:47 +0000 (21:00 +0000)]
Fix Jack transport master after session load.

Transport master was not being taken because when the configuration variable is
set, AudioEngine::set_session() has not been called yet so
AudioEngine::reset_timebase() did nothing (the transport stuff at the beginning
of Session::when_engine_running() is questionable for the same reasons).

I am not sure if this is correct, but I have failed to more thoroughly figure
out the issue.  At least Ardour actually sets Jack transport information now.
However, there are some discrepancies between Ardour time and Jack time, as
reported by Session::jack_timebase_callback().

Perhaps related, the transport master menu item does not restore correctly.
Previous to this commit, the only way to make a loaded session take transport
master was to "set" this out of sync item (which did nothing), then unset it,
then set it again, which would finally actually cause the configuration change.

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

11 years agodo not deactivate the meter in a frozen track
Paul Davis [Fri, 6 Jul 2012 19:18:33 +0000 (19:18 +0000)]
do not deactivate the meter in a frozen track

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

11 years agoDon't rename playlists on rename track if the track has >1
Carl Hetherington [Thu, 5 Jul 2012 00:02:13 +0000 (00:02 +0000)]
Don't rename playlists on rename track if the track has >1
playlist; hopefully helps with the confusion in mantis
#4977.

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

11 years agoFix crash on trying to snap to markers when there aren't
Carl Hetherington [Wed, 4 Jul 2012 21:53:44 +0000 (21:53 +0000)]
Fix crash on trying to snap to markers when there aren't
any (#4988).

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

11 years agoRename Editor::duplicate_dialog to Editor::duplicate_range
Carl Hetherington [Wed, 4 Jul 2012 21:31:06 +0000 (21:31 +0000)]
Rename Editor::duplicate_dialog to Editor::duplicate_range

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

11 years agoDon't show previously hidden xfades when finishing a region
Carl Hetherington [Wed, 4 Jul 2012 21:09:32 +0000 (21:09 +0000)]
Don't show previously hidden xfades when finishing a region
drag; should fix #4982.

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

11 years agoRevert erroneous commit 12922 and replace with a better fix
Carl Hetherington [Wed, 4 Jul 2012 19:56:14 +0000 (19:56 +0000)]
Revert erroneous commit 12922 and replace with a better fix
(should fix #4947, #4963, #4987).

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

11 years agoFix the ProcessContext copy-ctor stuff for older compilers, which don't support templ...
Sakari Bergen [Mon, 2 Jul 2012 15:48:29 +0000 (15:48 +0000)]
Fix the ProcessContext copy-ctor stuff for older compilers, which don't support template base class initialization without template parameters

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

11 years agoProbably fix warnings on Apple's gcc
Sakari Bergen [Sun, 1 Jul 2012 10:23:44 +0000 (10:23 +0000)]
Probably fix warnings on Apple's gcc

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

11 years agofurther efforts at cleaning up the design of the interaction/relationship between...
Paul Davis [Thu, 28 Jun 2012 22:27:37 +0000 (22:27 +0000)]
further efforts at cleaning up the design of the interaction/relationship between route sort order keys and remote control IDs

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

11 years agoFix missing lock causing erroneous disk space reports when dragging audio clocks.
Carl Hetherington [Thu, 28 Jun 2012 16:08:48 +0000 (16:08 +0000)]
Fix missing lock causing erroneous disk space reports when dragging audio clocks.

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

11 years agoDon't start a clock drag if we drag to the right of the numbers.
Carl Hetherington [Thu, 28 Jun 2012 15:56:51 +0000 (15:56 +0000)]
Don't start a clock drag if we drag to the right of the numbers.

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

11 years agoConnect to controllable->Destroyed in all cases; fixes crash on route removal.
Carl Hetherington [Thu, 28 Jun 2012 15:38:07 +0000 (15:38 +0000)]
Connect to controllable->Destroyed in all cases; fixes crash on route removal.

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

11 years agoAdd what I think is a missing lock when reading controllables.
Carl Hetherington [Thu, 28 Jun 2012 15:37:54 +0000 (15:37 +0000)]
Add what I think is a missing lock when reading controllables.

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

11 years agofix MIDI binding stuff when the controllable does actually exist the first time we...
Paul Davis [Thu, 28 Jun 2012 14:44:29 +0000 (14:44 +0000)]
fix MIDI binding stuff when the controllable does actually exist the first time we go looking for it (#4950)

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

11 years agominor cleanups from 12952
Paul Davis [Thu, 28 Jun 2012 14:32:26 +0000 (14:32 +0000)]
minor cleanups from 12952

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

11 years agoreorder #includes to avoid the usual Apple BS with un-namespaced typenames like Style
Paul Davis [Thu, 28 Jun 2012 02:11:26 +0000 (02:11 +0000)]
reorder #includes to avoid the usual Apple BS with un-namespaced typenames like Style

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

11 years agofirst pass at the big rethink of managing sort order keys for editor and mixer. this...
Paul Davis [Wed, 27 Jun 2012 22:57:06 +0000 (22:57 +0000)]
first pass at the big rethink of managing sort order keys for editor and mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor)

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

11 years agoA (hopefully) better fix for toggle-mixer-on-top, using gtk_window_is_active() to...
Colin Fletcher [Wed, 27 Jun 2012 12:21:23 +0000 (12:21 +0000)]
A (hopefully) better fix for toggle-mixer-on-top, using gtk_window_is_active() to work out whether the mixer is already on top.

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

11 years agosome generic midi debugging plus an assert
Paul Davis [Tue, 26 Jun 2012 20:49:52 +0000 (20:49 +0000)]
some generic midi debugging plus an assert

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

11 years agofix up some issues introduced by lifecycle tracking of Controllable in Generic MIDI...
Paul Davis [Tue, 26 Jun 2012 19:10:11 +0000 (19:10 +0000)]
fix up some issues introduced by lifecycle tracking of Controllable in Generic MIDI control code

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

11 years agocorrectly(?) set number of process thread buffers based on run-time-discovered num...
Paul Davis [Tue, 26 Jun 2012 18:58:39 +0000 (18:58 +0000)]
correctly(?)  set number of process thread buffers based on run-time-discovered num-cpus (#4951)

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

11 years agoAdd test for loading sessions, and a session with a
Carl Hetherington [Tue, 26 Jun 2012 18:47:20 +0000 (18:47 +0000)]
Add test for loading sessions, and a session with a
rec-enabled track that currently crashes.

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

11 years agoFix uninitialised variable.
Carl Hetherington [Tue, 26 Jun 2012 17:58:20 +0000 (17:58 +0000)]
Fix uninitialised variable.

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

11 years agoAlternate Korg nanoKONTROL map from JaaxxOne (#4954).
Carl Hetherington [Tue, 26 Jun 2012 17:14:49 +0000 (17:14 +0000)]
Alternate Korg nanoKONTROL map from JaaxxOne (#4954).

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

11 years agoPatch from JaaxxOne to fix rec-enable toggle with the
Carl Hetherington [Tue, 26 Jun 2012 17:13:13 +0000 (17:13 +0000)]
Patch from JaaxxOne to fix rec-enable toggle with the
Korg nanoKONTROL (#4953).

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

11 years agoNudge the time axis view gain slider up a bit.
Carl Hetherington [Tue, 26 Jun 2012 17:03:38 +0000 (17:03 +0000)]
Nudge the time axis view gain slider up a bit.

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

11 years agoRemove unused named selection / chunk code.
Carl Hetherington [Tue, 26 Jun 2012 02:11:06 +0000 (02:11 +0000)]
Remove unused named selection / chunk code.

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

11 years agodisconnect from a Controllable when it is destroyed
Paul Davis [Tue, 26 Jun 2012 01:55:53 +0000 (01:55 +0000)]
disconnect from a Controllable when it is destroyed

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

11 years agoFix some oddities with playhead movement when locating
Carl Hetherington [Tue, 26 Jun 2012 01:40:34 +0000 (01:40 +0000)]
Fix some oddities with playhead movement when locating
during roll.

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

11 years agoSome spelling mistake fixes from Debian.
Carl Hetherington [Tue, 26 Jun 2012 01:40:27 +0000 (01:40 +0000)]
Some spelling mistake fixes from Debian.

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

11 years agoadd rodrigo to the authors list
Paul Davis [Tue, 26 Jun 2012 01:29:27 +0000 (01:29 +0000)]
add rodrigo to the authors list

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

11 years agoAllow new idle visual changer calls to be requested while
Carl Hetherington [Tue, 26 Jun 2012 00:07:45 +0000 (00:07 +0000)]
Allow new idle visual changer calls to be requested while
the current changer is executing; fixes #4567.

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

11 years agoPatch from johan_mattsson_m to be more graceful if there
Carl Hetherington [Mon, 25 Jun 2012 21:19:21 +0000 (21:19 +0000)]
Patch from johan_mattsson_m to be more graceful if there
is an undo record which references a non-existant
object; this shouldn't happen, of course, but there was
a bug in some early betas which made it occur (#4920).

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

11 years agoPatch from tophatdave to prevent exit from note edit
Carl Hetherington [Mon, 25 Jun 2012 21:19:06 +0000 (21:19 +0000)]
Patch from tophatdave to prevent exit from note edit
mode on double-click with a modifier held down;
prevents creation of malformed notes (#4664).

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

11 years agoTry slightly narrower faders in the track controls area
Carl Hetherington [Mon, 25 Jun 2012 20:32:14 +0000 (20:32 +0000)]
Try slightly narrower faders in the track controls area
(#4445).

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

11 years agoPatch from royvegard to add a set-bank midi function
Carl Hetherington [Mon, 25 Jun 2012 19:26:00 +0000 (19:26 +0000)]
Patch from royvegard to add a set-bank midi function
(#4949).

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

11 years agoDon't specify real-time priority when starting JACK (#4946).
Carl Hetherington [Mon, 25 Jun 2012 14:41:03 +0000 (14:41 +0000)]
Don't specify real-time priority when starting JACK (#4946).

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

11 years agodrastic rethink of the relationship between remote control ID and route order keys...
Paul Davis [Mon, 25 Jun 2012 12:46:13 +0000 (12:46 +0000)]
drastic rethink of the relationship between remote control ID and route order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window

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

11 years agoCreate diskstream before calling Route::set_state, the
Carl Hetherington [Mon, 25 Jun 2012 12:39:25 +0000 (12:39 +0000)]
Create diskstream before calling Route::set_state, the
set_state causes muted MIDI tracks to look up their
diskstream (#4947).

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

11 years agoadd late/lazy binding between generic MIDI bindings and controllable elements in...
Paul Davis [Mon, 25 Jun 2012 12:33:13 +0000 (12:33 +0000)]
add late/lazy binding between generic MIDI bindings and controllable elements in the session. this allows you to load a binding map that refers to elements that have not yet been created in the session, and when they are created, the binding will work

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

11 years agoRemove some excess commas from the export format description
Sakari Bergen [Sun, 24 Jun 2012 20:00:30 +0000 (20:00 +0000)]
Remove some excess commas from the export format description

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

11 years agoInrease the export "chunk size" to speed it up over 10% at least in some situations
Sakari Bergen [Sun, 24 Jun 2012 19:45:20 +0000 (19:45 +0000)]
Inrease the export "chunk size" to speed it up over 10% at least in some situations

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

11 years agoRevert to using SSE mix-buffers-with-gain rather than simple
Carl Hetherington [Sun, 24 Jun 2012 17:12:06 +0000 (17:12 +0000)]
Revert to using SSE mix-buffers-with-gain rather than simple
one.

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

12 years agoChange logic for compiling export format descriptions from incomplete formats
Sakari Bergen [Sun, 24 Jun 2012 13:57:20 +0000 (13:57 +0000)]
Change logic for compiling export format descriptions from incomplete formats

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

12 years agoFix stem export. The capturing processor of routes was never removed, and was restore...
Sakari Bergen [Sun, 24 Jun 2012 13:38:42 +0000 (13:38 +0000)]
Fix stem export. The capturing processor of routes was never removed, and was restored inactive, which made stem export fail.

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

12 years agounused variable warning
Paul Davis [Sun, 24 Jun 2012 12:57:08 +0000 (12:57 +0000)]
unused variable warning

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

12 years agoput patch chnage dialog under the mouse cursor when it appears
Paul Davis [Sun, 24 Jun 2012 12:56:56 +0000 (12:56 +0000)]
put patch chnage dialog under the mouse cursor when it appears

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

12 years agostring fix, plus a tweak to handling variable i/o AUs
Paul Davis [Sun, 24 Jun 2012 12:50:38 +0000 (12:50 +0000)]
string fix, plus a tweak to handling variable i/o AUs

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

12 years agostring fix
Paul Davis [Sun, 24 Jun 2012 12:49:53 +0000 (12:49 +0000)]
string fix

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

12 years agoIn export format dialog, show preview of generated part of description. Fix to #0004941
Sakari Bergen [Sun, 24 Jun 2012 11:36:33 +0000 (11:36 +0000)]
In export format dialog, show preview of generated part of description. Fix to #0004941

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

12 years agoFix build.
Carl Hetherington [Sat, 23 Jun 2012 12:54:11 +0000 (12:54 +0000)]
Fix build.

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

12 years agoRemove unused utility function ARDOUR::create_session_directory
Tim Mayberry [Sat, 23 Jun 2012 07:33:36 +0000 (07:33 +0000)]
Remove unused utility function ARDOUR::create_session_directory

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

12 years agoUse SessionDirectory class directly rather than ARDOUR::create_session_directory
Tim Mayberry [Sat, 23 Jun 2012 07:33:34 +0000 (07:33 +0000)]
Use SessionDirectory class directly rather than ARDOUR::create_session_directory

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

12 years agoChange the meaning of the return value in SessionDirectory::create
Tim Mayberry [Sat, 23 Jun 2012 07:33:31 +0000 (07:33 +0000)]
Change the meaning of the return value in SessionDirectory::create

return true if the session directories were successfully created, not
if the session directory was previously invalid(new directory).

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

12 years agoRemove unused pbd/filesystem.h/cc
Tim Mayberry [Sat, 23 Jun 2012 05:09:54 +0000 (05:09 +0000)]
Remove unused pbd/filesystem.h/cc

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

12 years agoRemove unused or unnecessary header includes
Tim Mayberry [Sat, 23 Jun 2012 05:09:51 +0000 (05:09 +0000)]
Remove unused or unnecessary header includes

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

12 years agoUse std::string and Glib::build_filename in UIConfiguration::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:48 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in UIConfiguration::save_state

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

12 years agoUse std::string and Glib::build_filename in gtk2_ardour
Tim Mayberry [Sat, 23 Jun 2012 05:09:46 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in gtk2_ardour

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

12 years agoUse std::string and Glib instead of pbd/filesystem.h in DeviceProfile
Tim Mayberry [Sat, 23 Jun 2012 05:09:44 +0000 (05:09 +0000)]
Use std::string and Glib instead of pbd/filesystem.h in DeviceProfile

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

12 years agoUse Glib instead of pbd/filesystem.h in GenericMidiControlProtocol
Tim Mayberry [Sat, 23 Jun 2012 05:09:42 +0000 (05:09 +0000)]
Use Glib instead of pbd/filesystem.h in GenericMidiControlProtocol

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

12 years agoRemove unused header include
Tim Mayberry [Sat, 23 Jun 2012 05:09:39 +0000 (05:09 +0000)]
Remove unused header include

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

12 years agoUse std::string and Glib::build_filename in Session::save_template
Tim Mayberry [Sat, 23 Jun 2012 05:09:37 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::save_template

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

12 years agoUse std::string and Glib::build_filename in Session::path_from_region_name
Tim Mayberry [Sat, 23 Jun 2012 05:09:35 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::path_from_region_name

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

12 years agoUse std::string and Glib::build_filename in Session::load_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:33 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::load_state

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

12 years agoUse std::string and Glib::build_filename in Session::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:31 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::save_state

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

12 years agoUse std::string instead of sys::path in Session::jack_session_event
Tim Mayberry [Sat, 23 Jun 2012 05:09:28 +0000 (05:09 +0000)]
Use std::string instead of sys::path in Session::jack_session_event

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

12 years agoUse std::string instead of PBD::sys::path in Session::restore_history
Tim Mayberry [Sat, 23 Jun 2012 05:09:26 +0000 (05:09 +0000)]
Use std::string instead of PBD::sys::path in Session::restore_history

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

12 years agoUse Glib::build_filename in Session::new_midi_source_name()
Tim Mayberry [Sat, 23 Jun 2012 05:09:24 +0000 (05:09 +0000)]
Use Glib::build_filename in Session::new_midi_source_name()

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

12 years agoRemove unused PBD:sys::create_directory/ies functions
Tim Mayberry [Sat, 23 Jun 2012 05:09:22 +0000 (05:09 +0000)]
Remove unused PBD:sys::create_directory/ies functions

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

12 years agoUse g_mkdir_with_parents instead of sys::create_directories
Tim Mayberry [Sat, 23 Jun 2012 05:09:19 +0000 (05:09 +0000)]
Use g_mkdir_with_parents instead of sys::create_directories

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

12 years agoRemove unnecessary code to create user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:09:17 +0000 (05:09 +0000)]
Remove unnecessary code to create user_config_directory

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

12 years agoAdd doc note about postcondition of ARDOUR::user_config_directory()
Tim Mayberry [Sat, 23 Jun 2012 05:09:15 +0000 (05:09 +0000)]
Add doc note about postcondition of ARDOUR::user_config_directory()

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

12 years agoRemove unnecessary creation of user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:09:13 +0000 (05:09 +0000)]
Remove unnecessary creation of user_config_directory

calling user_config_directory ensures it exists

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

12 years agoRemove PBD::sys::is_directory and use Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:09:11 +0000 (05:09 +0000)]
Remove PBD::sys::is_directory and use Glib equivalent

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

12 years agoReplace use of pbd/filesystem.h with Glib equivalent in Mootcher class
Tim Mayberry [Sat, 23 Jun 2012 05:09:08 +0000 (05:09 +0000)]
Replace use of pbd/filesystem.h with Glib equivalent in Mootcher class

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

12 years agoReplace use of PBD::sys::exists with Glib::file_test
Tim Mayberry [Sat, 23 Jun 2012 05:09:06 +0000 (05:09 +0000)]
Replace use of PBD::sys::exists with Glib::file_test

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

12 years agoRemove unused PBD::sys::exists function
Tim Mayberry [Sat, 23 Jun 2012 05:09:04 +0000 (05:09 +0000)]
Remove unused PBD::sys::exists function

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

12 years agoUse Glib::file_test instead of PBD::sys::exists
Tim Mayberry [Sat, 23 Jun 2012 05:09:02 +0000 (05:09 +0000)]
Use Glib::file_test instead of PBD::sys::exists

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

12 years agoReplace use of PBD::sys::exists with Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:09:00 +0000 (05:09 +0000)]
Replace use of PBD::sys::exists with Glib equivalent

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

12 years agoUse Glib::file_test instead of sys::exists
Tim Mayberry [Sat, 23 Jun 2012 05:08:57 +0000 (05:08 +0000)]
Use Glib::file_test instead of sys::exists

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

12 years agoRemove unused method PBD::sys::path::leaf
Tim Mayberry [Sat, 23 Jun 2012 05:08:55 +0000 (05:08 +0000)]
Remove unused method PBD::sys::path::leaf

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

12 years agoRemove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:08:53 +0000 (05:08 +0000)]
Remove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent

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

12 years agoRemove use of pbd/filesystem.h in SessionDirectory, use Glib equivalents
Tim Mayberry [Sat, 23 Jun 2012 05:08:51 +0000 (05:08 +0000)]
Remove use of pbd/filesystem.h in SessionDirectory, use Glib equivalents

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

12 years agoRemove unused method PBD::sys::path::branch_path
Tim Mayberry [Sat, 23 Jun 2012 05:08:49 +0000 (05:08 +0000)]
Remove unused method PBD::sys::path::branch_path

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

12 years agoRemove unused function PBD::sys::rename
Tim Mayberry [Sat, 23 Jun 2012 05:08:46 +0000 (05:08 +0000)]
Remove unused function PBD::sys::rename

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

12 years agoUse g_rename instead of PBD::sys::rename in Session::save_history
Tim Mayberry [Sat, 23 Jun 2012 05:08:44 +0000 (05:08 +0000)]
Use g_rename instead of PBD::sys::rename in Session::save_history

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