ardour.git
13 years agoLess code.
David Robillard [Wed, 22 Dec 2010 00:01:15 +0000 (00:01 +0000)]
Less code.

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

13 years agoConsistently mark all regions "interesting".
David Robillard [Tue, 21 Dec 2010 23:52:10 +0000 (23:52 +0000)]
Consistently mark all regions "interesting".

(I havn't used the shared_ptr debugging stuff, but presumably marking an arbitrary subset of allocated regions "interesting" is not the idea...).

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

13 years agoRemove confuzzling offset_relative stuff from region construction (pre-properties...
David Robillard [Tue, 21 Dec 2010 17:03:16 +0000 (17:03 +0000)]
Remove confuzzling offset_relative stuff from region construction (pre-properties "hangover").

This commit (in theory) only reorganizes code, not change actual functionality.
RegionFactory now uses a distinct Region constructor for each case, which is a bit easier to wrap around.
Note comment at region.cc:276, this case seems pretty weird to me (more hangover?).

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

13 years agoOnly calculate length_beats from length (in frames) if length property (in frames...
David Robillard [Tue, 21 Dec 2010 00:53:18 +0000 (00:53 +0000)]
Only calculate length_beats from length (in frames) if length property (in frames) is given, but length_beats property is not.

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

13 years agoFix more broken whitespace.
David Robillard [Tue, 21 Dec 2010 00:41:13 +0000 (00:41 +0000)]
Fix more broken whitespace.

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

13 years agoSet new (recorded) MIDI source length to length of entire capture (instead of length...
David Robillard [Tue, 21 Dec 2010 00:04:58 +0000 (00:04 +0000)]
Set new (recorded) MIDI source length to length of entire capture (instead of length from start to last actual recorded event).
Precisely set length_beats of newly captured MIDI regions to source length in beats (no conversion).

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

13 years agoRemove unused Region constructor.
David Robillard [Mon, 20 Dec 2010 23:24:43 +0000 (23:24 +0000)]
Remove unused Region constructor.

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

13 years agoFix more broken whitespace.
David Robillard [Mon, 20 Dec 2010 23:05:18 +0000 (23:05 +0000)]
Fix more broken whitespace.

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

13 years agoFix more broken whitespace.
David Robillard [Mon, 20 Dec 2010 22:51:17 +0000 (22:51 +0000)]
Fix more broken whitespace.

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

13 years agoFix more broken whitespace.
David Robillard [Mon, 20 Dec 2010 21:50:46 +0000 (21:50 +0000)]
Fix more broken whitespace.

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

13 years agoClean up region.h and trim include tree.
David Robillard [Mon, 20 Dec 2010 21:22:49 +0000 (21:22 +0000)]
Clean up region.h and trim include tree.

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

13 years agoFix converter origins for computing region length.
Carl Hetherington [Mon, 20 Dec 2010 19:06:58 +0000 (19:06 +0000)]
Fix converter origins for computing region length.

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

13 years agoFix split of midi regions after tempo / meter changes.
Carl Hetherington [Mon, 20 Dec 2010 18:47:18 +0000 (18:47 +0000)]
Fix split of midi regions after tempo / meter changes.

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

13 years agouse notification of what was changed in MidiRegion::post_set() call
Paul Davis [Mon, 20 Dec 2010 16:11:23 +0000 (16:11 +0000)]
use notification of what was changed in MidiRegion::post_set() call

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

13 years agoadd notification of what was changed in Stateful::post_set() call
Paul Davis [Mon, 20 Dec 2010 16:10:58 +0000 (16:10 +0000)]
add notification of what was changed in Stateful::post_set() call

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

13 years agoFix summary height scaling problems when there are not enough tracks to fill the...
Carl Hetherington [Mon, 20 Dec 2010 15:35:15 +0000 (15:35 +0000)]
Fix summary height scaling problems when there are not enough tracks to fill the editor window.

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

13 years agoAllow deletion of program changes in the same way as notes.
Carl Hetherington [Mon, 20 Dec 2010 13:30:31 +0000 (13:30 +0000)]
Allow deletion of program changes in the same way as notes.

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

13 years agoAllow dragging of program change flags in MIDI regions.
Carl Hetherington [Mon, 20 Dec 2010 03:42:59 +0000 (03:42 +0000)]
Allow dragging of program change flags in MIDI regions.

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

13 years agoMake sure that _POSIX_VERSION is available.
Carl Hetherington [Mon, 20 Dec 2010 01:17:24 +0000 (01:17 +0000)]
Make sure that _POSIX_VERSION is available.

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

13 years agoClean up plugin preset handling a bit.
Carl Hetherington [Sun, 19 Dec 2010 23:11:01 +0000 (23:11 +0000)]
Clean up plugin preset handling a bit.

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

13 years agoFix function pointer to void* cast (and vice-versa) related warnings on POSIX systems
Sakari Bergen [Sun, 19 Dec 2010 23:09:30 +0000 (23:09 +0000)]
Fix function pointer to void* cast (and vice-versa) related warnings on POSIX systems

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

13 years agoFix some spacey tabs.
Carl Hetherington [Sun, 19 Dec 2010 20:02:55 +0000 (20:02 +0000)]
Fix some spacey tabs.

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

13 years agoHopefully fix visual glitches on dragging fade ins/outs.
Carl Hetherington [Sat, 18 Dec 2010 23:53:37 +0000 (23:53 +0000)]
Hopefully fix visual glitches on dragging fade ins/outs.

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

13 years agoFurther fade handle twaeks.
Carl Hetherington [Sat, 18 Dec 2010 21:34:32 +0000 (21:34 +0000)]
Further fade handle twaeks.

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

13 years agoTweak positioning of fade handles.
Carl Hetherington [Sat, 18 Dec 2010 20:43:00 +0000 (20:43 +0000)]
Tweak positioning of fade handles.

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

13 years agoFinally implement position aware silence adding in export (i.e. bbt times are convert...
Sakari Bergen [Sat, 18 Dec 2010 19:27:04 +0000 (19:27 +0000)]
Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
This will work when Session::convert_to_frames_at is fixed :)

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

13 years agoAdd "session rate" as a possible sample rate for export formats
Sakari Bergen [Sat, 18 Dec 2010 17:56:41 +0000 (17:56 +0000)]
Add "session rate" as a possible sample rate for export formats

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

13 years agoFix comment. Fix believed erroneous add of ticks to a fractional beats value.
Carl Hetherington [Fri, 17 Dec 2010 19:20:34 +0000 (19:20 +0000)]
Fix comment.  Fix believed erroneous add of ticks to a fractional beats value.

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

13 years agopatch from lincoln to make mute controllable emit its Changed signal; note to self...
Paul Davis [Fri, 17 Dec 2010 04:14:24 +0000 (04:14 +0000)]
patch from lincoln to make mute controllable emit its Changed signal; note to self: should route really have a mute_changed() signal too?

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

13 years agofix BeatFramesConverter so that it at least works even if its not optimally named...
Paul Davis [Fri, 17 Dec 2010 01:51:12 +0000 (01:51 +0000)]
fix BeatFramesConverter so that it at least works even if its not optimally named/designed

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

13 years agoMissing i18n patch from prokoudine. Fixes #3610.
Carl Hetherington [Thu, 16 Dec 2010 21:25:17 +0000 (21:25 +0000)]
Missing i18n patch from prokoudine.  Fixes #3610.

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

13 years agoFix comment.
Carl Hetherington [Thu, 16 Dec 2010 21:25:04 +0000 (21:25 +0000)]
Fix comment.

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

13 years agoFix loading of PortInserts from 2.X sessions.
Carl Hetherington [Thu, 16 Dec 2010 12:48:50 +0000 (12:48 +0000)]
Fix loading of PortInserts from 2.X sessions.

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

13 years agoFix deadlock.
Carl Hetherington [Thu, 16 Dec 2010 12:48:11 +0000 (12:48 +0000)]
Fix deadlock.

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

13 years agomake track list solo-isolate column wide enough to show "SI" as its name
Paul Davis [Wed, 15 Dec 2010 03:38:52 +0000 (03:38 +0000)]
make track list solo-isolate column wide enough to show "SI" as its name

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

13 years agoFix a memory leak.
Carl Hetherington [Wed, 15 Dec 2010 03:38:44 +0000 (03:38 +0000)]
Fix a memory leak.

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

13 years agofix stupid variable naming issue in last BBT commit
Paul Davis [Wed, 15 Dec 2010 03:03:30 +0000 (03:03 +0000)]
fix stupid variable naming issue in last BBT commit

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

13 years agoRestore VST preset saving without chunks. Fixes #3602.
Carl Hetherington [Wed, 15 Dec 2010 02:58:55 +0000 (02:58 +0000)]
Restore VST preset saving without chunks.  Fixes #3602.

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

13 years agoGive VSTPluginUI its own header.
Carl Hetherington [Wed, 15 Dec 2010 02:21:44 +0000 (02:21 +0000)]
Give VSTPluginUI its own header.

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

13 years agoMake VST preset files pre-preset rather than global. Clean up VST preset handling...
Carl Hetherington [Wed, 15 Dec 2010 02:21:25 +0000 (02:21 +0000)]
Make VST preset files pre-preset rather than global.  Clean up VST preset handling to use more of the bas class' code.

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

13 years agoSave and Delete buttons for plugin presets, remove largely useless edit plugin preset...
Carl Hetherington [Wed, 15 Dec 2010 01:06:57 +0000 (01:06 +0000)]
Save and Delete buttons for plugin presets, remove largely useless edit plugin presets dialog.  Should fix #2662.

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

13 years agomove ticks per beat from Meter to Timecode::BBT_Time, add new constructor for BBT_Tim...
Paul Davis [Tue, 14 Dec 2010 20:28:37 +0000 (20:28 +0000)]
move ticks per beat from Meter to Timecode::BBT_Time, add new constructor for BBT_Time based on a double value; reduce BeatFramesConverted to 1 liners pending likely removal

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

13 years agominor safety check for symmetry
Paul Davis [Tue, 14 Dec 2010 20:28:11 +0000 (20:28 +0000)]
minor safety check for symmetry

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

13 years agoEXPERIMENTAL: allow GUI button clicks on transport controls to drive transport speed...
Paul Davis [Tue, 14 Dec 2010 20:27:54 +0000 (20:27 +0000)]
EXPERIMENTAL: allow GUI button clicks on transport controls to drive transport speed change initiation even when slaved

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

13 years agoimplement methods in TempoMap for walking a given distance along a tempo map and...
Paul Davis [Tue, 14 Dec 2010 20:03:40 +0000 (20:03 +0000)]
implement methods in TempoMap for walking a given distance along a tempo map and returning the resulting time; add a new property, _length_beats, to MidiRegion; use previously mentioned methods to keep _length_beats up to date as regions are moved AND as tempo map changes occur

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

13 years agofix some more incorrect casts to CanvasNote rather than CanvasNoteEvent (fixes crashe...
Paul Davis [Tue, 14 Dec 2010 20:01:18 +0000 (20:01 +0000)]
fix some more incorrect casts to CanvasNote rather than CanvasNoteEvent (fixes crashes when a track is in perc mode

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

13 years agoClean up libtimecode, make license of bbt_time.h LGPL.
David Robillard [Tue, 14 Dec 2010 19:07:50 +0000 (19:07 +0000)]
Clean up libtimecode, make license of bbt_time.h LGPL.

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

13 years agoRename libmusictime libtimecode (consistent with already used namespace "Timecode").
David Robillard [Tue, 14 Dec 2010 18:13:37 +0000 (18:13 +0000)]
Rename libmusictime libtimecode (consistent with already used namespace "Timecode").
Move BBT_Time to libtimecode.

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

13 years agoUpdated ru_RU.po for gtk2_ardour from Alexandre Prokoudine (#3605)
Carl Hetherington [Tue, 14 Dec 2010 15:12:03 +0000 (15:12 +0000)]
Updated ru_RU.po for gtk2_ardour from Alexandre Prokoudine (#3605)

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

13 years agomake global connection window inherit from ArdourDialog
Paul Davis [Tue, 14 Dec 2010 13:48:21 +0000 (13:48 +0000)]
make global connection window inherit from ArdourDialog

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

13 years agoFix some gettext plural forms. Should fix #3604.
Carl Hetherington [Tue, 14 Dec 2010 13:05:35 +0000 (13:05 +0000)]
Fix some gettext plural forms.  Should fix #3604.

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

13 years agoFix warning better.
Carl Hetherington [Tue, 14 Dec 2010 03:08:39 +0000 (03:08 +0000)]
Fix warning better.

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

13 years agoFix warning.
Carl Hetherington [Tue, 14 Dec 2010 03:06:53 +0000 (03:06 +0000)]
Fix warning.

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

13 years agoAdd dialogue to ask user about ambiguous source files. Fixes #3603.
Carl Hetherington [Tue, 14 Dec 2010 02:45:41 +0000 (02:45 +0000)]
Add dialogue to ask user about ambiguous source files.  Fixes #3603.

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

13 years agoUse DEBUG_TRACE for all of the MIDI clock ticker code.
Carl Hetherington [Tue, 14 Dec 2010 01:05:51 +0000 (01:05 +0000)]
Use DEBUG_TRACE for all of the MIDI clock ticker code.

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

13 years agoAdd missing files.
David Robillard [Mon, 13 Dec 2010 21:03:39 +0000 (21:03 +0000)]
Add missing files.

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

13 years agoEliminate circular dependency kludge for control_protocol/smpte.o.
David Robillard [Mon, 13 Dec 2010 20:46:07 +0000 (20:46 +0000)]
Eliminate circular dependency kludge for control_protocol/smpte.o.

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

13 years agoMore complete (but still incomplete) LV2 persist implementation.
David Robillard [Mon, 13 Dec 2010 19:27:59 +0000 (19:27 +0000)]
More complete (but still incomplete) LV2 persist implementation.

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

13 years agoOops, fix build.
Carl Hetherington [Mon, 13 Dec 2010 16:05:28 +0000 (16:05 +0000)]
Oops, fix build.

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

13 years agoRemove unnecessary assert from midi clock ticker code; MIDI::Port handles non-process...
Carl Hetherington [Mon, 13 Dec 2010 16:03:24 +0000 (16:03 +0000)]
Remove unnecessary assert from midi clock ticker code; MIDI::Port handles non-process thread sends using a ringbuffer.  Clean up some types.

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

13 years agoFix comment.
Carl Hetherington [Mon, 13 Dec 2010 16:03:13 +0000 (16:03 +0000)]
Fix comment.

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

13 years agoFix display of MIDI automation on regions with non-zero _start. Should fix #3504.
Carl Hetherington [Sun, 12 Dec 2010 22:25:27 +0000 (22:25 +0000)]
Fix display of MIDI automation on regions with non-zero _start.  Should fix #3504.

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

13 years agoClear existing data before reading new to make overwrite_existing_buffers() work...
Carl Hetherington [Sun, 12 Dec 2010 21:36:40 +0000 (21:36 +0000)]
Clear existing data before reading new to make overwrite_existing_buffers() work correctly.  Should fix #3481.

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

13 years agoSmall cleanups.
Carl Hetherington [Sun, 12 Dec 2010 20:14:19 +0000 (20:14 +0000)]
Small cleanups.

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

13 years agoMake adjust region gain work in 1dB steps with no upper limit. Should fix or help...
Carl Hetherington [Sun, 12 Dec 2010 01:03:56 +0000 (01:03 +0000)]
Make adjust region gain work in 1dB steps with no upper limit.  Should fix or help with #2843.

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

13 years agoMinor cleanup.
Carl Hetherington [Sun, 12 Dec 2010 01:03:17 +0000 (01:03 +0000)]
Minor cleanup.

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

13 years agoFix MIDI fork using a modified version of a patch from warrenfalk. Fixes #3595.
Carl Hetherington [Sun, 12 Dec 2010 00:41:47 +0000 (00:41 +0000)]
Fix MIDI fork using a modified version of a patch from warrenfalk.  Fixes #3595.

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

13 years agoFix a couple of i18n warnings.
Carl Hetherington [Sun, 12 Dec 2010 00:41:36 +0000 (00:41 +0000)]
Fix a couple of i18n warnings.

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

13 years agoNotice edits made to spinbuttons via numbers on the keyboard. Fixes #3413.
Carl Hetherington [Sat, 11 Dec 2010 23:59:34 +0000 (23:59 +0000)]
Notice edits made to spinbuttons via numbers on the keyboard.  Fixes #3413.

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

13 years agoAdd a null check to ports when loading an export channel from xml + fix indentation...
Sakari Bergen [Sat, 11 Dec 2010 20:56:53 +0000 (20:56 +0000)]
Add a null check to ports when loading an export channel from xml + fix indentation for commit r8247

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

13 years agobetter comment change
Paul Davis [Sat, 11 Dec 2010 20:48:18 +0000 (20:48 +0000)]
better comment change

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

13 years agofix thinko in AudioEngine::get_port_by_name()
Paul Davis [Sat, 11 Dec 2010 20:45:11 +0000 (20:45 +0000)]
fix thinko in AudioEngine::get_port_by_name()

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

13 years agoFix compiler warnings
Sakari Bergen [Sat, 11 Dec 2010 15:09:47 +0000 (15:09 +0000)]
Fix compiler warnings

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

13 years agoPrevent garbage preset names with VST plugins when the call to get preset name fails.
Carl Hetherington [Sat, 11 Dec 2010 02:35:31 +0000 (02:35 +0000)]
Prevent garbage preset names with VST plugins when the call to get preset name fails.

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

13 years agoFix a few tiny memory leaks.
Carl Hetherington [Sat, 11 Dec 2010 02:34:44 +0000 (02:34 +0000)]
Fix a few tiny memory leaks.

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

13 years agoReset PanControllable StreamPanners when they change.
Carl Hetherington [Sat, 11 Dec 2010 00:24:17 +0000 (00:24 +0000)]
Reset PanControllable StreamPanners when they change.

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

13 years agoComment a few things and add missing process lock when adding a route from a template.
Carl Hetherington [Sat, 11 Dec 2010 00:23:51 +0000 (00:23 +0000)]
Comment a few things and add missing process lock when adding a route from a template.

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

13 years agoFix crash.
Carl Hetherington [Sat, 11 Dec 2010 00:23:39 +0000 (00:23 +0000)]
Fix crash.

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

13 years agoFix deadlock on closing a send IO dialogue.
Carl Hetherington [Fri, 10 Dec 2010 22:46:53 +0000 (22:46 +0000)]
Fix deadlock on closing a send IO dialogue.

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

13 years agoStop bounce / freeze on tracks that have more outputs than inputs and so cannot recor...
Carl Hetherington [Fri, 10 Dec 2010 22:28:29 +0000 (22:28 +0000)]
Stop bounce / freeze on tracks that have more outputs than inputs and so cannot record all the outputs in their diskstreams.  Fix buffer shortage when bouncing tracks whose processing chains temporarily need more buffers than there are inputs.  Fixes #3573.

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

13 years agoFix thinko in previous commit.
Carl Hetherington [Fri, 10 Dec 2010 22:28:20 +0000 (22:28 +0000)]
Fix thinko in previous commit.

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

13 years agoRemove menu bar clock in fullscreen mode until someone comes up with an agreeable...
Carl Hetherington [Fri, 10 Dec 2010 17:38:58 +0000 (17:38 +0000)]
Remove menu bar clock in fullscreen mode until someone comes up with an agreeable look for it.

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

13 years agoFix crash on mouseover.
Carl Hetherington [Fri, 10 Dec 2010 17:27:13 +0000 (17:27 +0000)]
Fix crash on mouseover.

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

13 years agoprevent the monitor inputs from showing up in the port matrix, fo'real
Paul Davis [Fri, 10 Dec 2010 16:31:14 +0000 (16:31 +0000)]
prevent the monitor inputs from showing up in the port matrix, fo'real

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

13 years agodon't show monitor bus inputs in matrix(es); relabel tabs in port matrix; change...
Paul Davis [Fri, 10 Dec 2010 15:43:01 +0000 (15:43 +0000)]
don't show monitor bus inputs in matrix(es); relabel tabs in port matrix; change label for monitoring preference to be clearer

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

13 years agoHandle overlaps better when executing DiffCommands.
Carl Hetherington [Thu, 9 Dec 2010 21:37:14 +0000 (21:37 +0000)]
Handle overlaps better when executing DiffCommands.

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

13 years agoUndo for sys-ex movements in time.
Carl Hetherington [Thu, 9 Dec 2010 21:36:31 +0000 (21:36 +0000)]
Undo for sys-ex movements in time.

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

13 years agoFix a few bad iterator accesses.
Carl Hetherington [Thu, 9 Dec 2010 21:35:33 +0000 (21:35 +0000)]
Fix a few bad iterator accesses.

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

13 years agoFix uninitialised variable.
Carl Hetherington [Thu, 9 Dec 2010 21:35:25 +0000 (21:35 +0000)]
Fix uninitialised variable.

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

13 years agoAllow trim of midi regions to before the start of the source (better, this time)...
Carl Hetherington [Thu, 9 Dec 2010 21:34:46 +0000 (21:34 +0000)]
Allow trim of midi regions to before the start of the source (better, this time).  Fixes #3156.

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

13 years agoUse a weak_ptr rather than a bald pointer for _midi_source in MidiModel.
Carl Hetherington [Thu, 9 Dec 2010 21:34:31 +0000 (21:34 +0000)]
Use a weak_ptr rather than a bald pointer for _midi_source in MidiModel.

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

13 years agofix computation of silence text, and its display. it is still not on top of the canva...
Paul Davis [Thu, 9 Dec 2010 18:17:36 +0000 (18:17 +0000)]
fix computation of silence text, and its display. it is still not on top of the canvas, which is a small problem

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

13 years agomake strip silence work (again?)
Paul Davis [Thu, 9 Dec 2010 16:31:05 +0000 (16:31 +0000)]
make strip silence work (again?)

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

13 years agofix for Route::shift/insert-time
Paul Davis [Wed, 8 Dec 2010 23:22:01 +0000 (23:22 +0000)]
fix for Route::shift/insert-time

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

13 years agomove display of silence for strip-silence into regionviews, along with text to descri...
Paul Davis [Wed, 8 Dec 2010 21:02:37 +0000 (21:02 +0000)]
move display of silence for strip-silence into regionviews, along with text to describe impact on the region. this doesn't actually make strip-silence work any better, but the display is improving

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

13 years agominor panner debugging, cont'd
Paul Davis [Wed, 8 Dec 2010 21:01:20 +0000 (21:01 +0000)]
minor panner debugging, cont'd

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

13 years agonothing uses ARDOUR_DATA_PATH so remove it
Paul Davis [Wed, 8 Dec 2010 21:00:58 +0000 (21:00 +0000)]
nothing uses ARDOUR_DATA_PATH so remove it

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

13 years agorandom debugging stuff, need to get it out of the way for next commit
Paul Davis [Wed, 8 Dec 2010 20:56:48 +0000 (20:56 +0000)]
random debugging stuff, need to get it out of the way for next commit

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

13 years agotweak and rename timecode settings tab
Paul Davis [Wed, 8 Dec 2010 17:36:12 +0000 (17:36 +0000)]
tweak and rename timecode settings tab

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

13 years agoin compute_gains in case _speakers.n_tuples is 0. Prevent NaN gains if total power...
Carl Hetherington [Wed, 8 Dec 2010 01:52:06 +0000 (01:52 +0000)]
in compute_gains in case _speakers.n_tuples is 0.  Prevent NaN gains if total power is 0 in the same method.  Mark initially dirty so that the first call to do_distribute sets up desired_outputs.

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