ardour.git
13 years agofix C99 compliance issue for winegcc
Paul Davis [Thu, 30 Dec 2010 15:06:58 +0000 (15:06 +0000)]
fix C99 compliance issue for winegcc

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

13 years agosplit tooltip and drag drag windows apart, for better functionality
Paul Davis [Thu, 30 Dec 2010 14:37:40 +0000 (14:37 +0000)]
split tooltip and drag drag windows apart, for better functionality

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

13 years agovarious improvements for stereo panner. note that dbl-click in "top" section will...
Paul Davis [Thu, 30 Dec 2010 03:14:13 +0000 (03:14 +0000)]
various improvements for stereo panner. note that dbl-click in "top" section will pan center, hard left and hard right

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

13 years agoclean up debugging
Paul Davis [Thu, 30 Dec 2010 03:13:19 +0000 (03:13 +0000)]
clean up debugging

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

13 years agoquantize conversion from L/R fraction to azimuth to 1 degree increments (given that...
Paul Davis [Thu, 30 Dec 2010 03:13:09 +0000 (03:13 +0000)]
quantize conversion from L/R fraction to azimuth to 1 degree increments (given that humans have this as their rough perceptual limit)

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

13 years agoAnother stab at the logic for selecting regions for operations, to ensure that edit...
Carl Hetherington [Thu, 30 Dec 2010 02:21:12 +0000 (02:21 +0000)]
Another stab at the logic for selecting regions for operations, to ensure that edit groups are taken into account at all times.

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

13 years agoGruesome-in-the-extreme VST hacks to attempt to allow presets to
Carl Hetherington [Thu, 30 Dec 2010 00:53:37 +0000 (00:53 +0000)]
Gruesome-in-the-extreme VST hacks to attempt to allow presets to
be loaded without an editor window.  You may need to clean your
Ethernet cable with soapy water after fetching this commit
(wireless users --- open the window).

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

13 years agoClean up VST plugin key handling slightly.
Carl Hetherington [Wed, 29 Dec 2010 23:31:02 +0000 (23:31 +0000)]
Clean up VST plugin key handling slightly.

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

13 years agoFix build.
Carl Hetherington [Wed, 29 Dec 2010 22:58:05 +0000 (22:58 +0000)]
Fix build.

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

13 years agoFix crash on saving session template (#3634).
Carl Hetherington [Wed, 29 Dec 2010 22:36:03 +0000 (22:36 +0000)]
Fix crash on saving session template (#3634).

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

13 years agoRemove debug code.
Carl Hetherington [Wed, 29 Dec 2010 22:35:43 +0000 (22:35 +0000)]
Remove debug code.

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

13 years agoAdd Save button to Save As Template dialogue.
Carl Hetherington [Wed, 29 Dec 2010 22:27:48 +0000 (22:27 +0000)]
Add Save button to Save As Template dialogue.

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

13 years agoAdd options to add sends from buses as well as tracks; remainder of #3637.
Carl Hetherington [Wed, 29 Dec 2010 22:07:34 +0000 (22:07 +0000)]
Add options to add sends from buses as well as tracks; remainder of #3637.

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

13 years agoExtremely hacky but somewhat functional passing of keys to VST plugin UIs. Sort...
Carl Hetherington [Wed, 29 Dec 2010 21:58:44 +0000 (21:58 +0000)]
Extremely hacky but somewhat functional passing of keys to VST plugin UIs.  Sort-of fixes #3630.

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

13 years agoFix plugin parameter updates (#3636).
Carl Hetherington [Wed, 29 Dec 2010 21:07:37 +0000 (21:07 +0000)]
Fix plugin parameter updates (#3636).

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

13 years agoMake 'copy track gains to sends' and 'set sends gains' work with sends from busses...
Carl Hetherington [Wed, 29 Dec 2010 21:07:22 +0000 (21:07 +0000)]
Make 'copy track gains to sends' and 'set sends gains' work with sends from busses.  Partially fixes #3637.

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

13 years agoUpdate mixer strip input/output button labels from the general JACK port connection...
Carl Hetherington [Wed, 29 Dec 2010 17:52:32 +0000 (17:52 +0000)]
Update mixer strip input/output button labels from the general JACK port connection / disconnection callback so that all changes are noticed.  Fixes #3638.

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

13 years agostereo panner tooltip tweaks & less debugging
Paul Davis [Wed, 29 Dec 2010 17:33:05 +0000 (17:33 +0000)]
stereo panner tooltip tweaks & less debugging

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

13 years agorest of lincoln's MIDI note edit via click outside of MIDI edit mode patch
Paul Davis [Wed, 29 Dec 2010 16:34:51 +0000 (16:34 +0000)]
rest of lincoln's MIDI note edit via click outside of MIDI edit mode patch

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

13 years agomove stereo panner lines to out edges of L/R boxes; fix display of center of image...
Paul Davis [Wed, 29 Dec 2010 16:28:46 +0000 (16:28 +0000)]
move stereo panner lines to out edges of L/R boxes; fix display of center of image info in tooltip; add hints on key actions for panner in tooltip

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

13 years agoadd static methods to Keyboard for keyboard modifier names
Paul Davis [Wed, 29 Dec 2010 16:27:43 +0000 (16:27 +0000)]
add static methods to Keyboard for keyboard modifier names

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

13 years agofix up ordering of rounding error handling for simpleline
Paul Davis [Wed, 29 Dec 2010 14:37:34 +0000 (14:37 +0000)]
fix up ordering of rounding error handling for simpleline

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

13 years agoprovide --optimize as a configure-time option to do the opposite of --debug, which...
Paul Davis [Wed, 29 Dec 2010 14:09:45 +0000 (14:09 +0000)]
provide --optimize as a configure-time option to do the opposite of --debug, which is now on by default

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

13 years agoremove line parent member from Marker, part 3
Paul Davis [Wed, 29 Dec 2010 13:48:25 +0000 (13:48 +0000)]
remove line parent member from Marker, part 3

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

13 years agoremove line parent member from Marker, part 2
Paul Davis [Wed, 29 Dec 2010 13:47:57 +0000 (13:47 +0000)]
remove line parent member from Marker, part 2

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

13 years agoremove line parent member from Marker
Paul Davis [Wed, 29 Dec 2010 13:47:36 +0000 (13:47 +0000)]
remove line parent member from Marker

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

13 years agofix up some basic conceptual errors with canvas-simpleline, mostly relating to coordi...
Paul Davis [Wed, 29 Dec 2010 13:46:52 +0000 (13:46 +0000)]
fix up some basic conceptual errors with canvas-simpleline, mostly relating to coordinate spaces

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

13 years agoClear displayed transients on closing the rhythm ferret dialogue. Fixes #3623.
Carl Hetherington [Wed, 29 Dec 2010 01:33:49 +0000 (01:33 +0000)]
Clear displayed transients on closing the rhythm ferret dialogue.  Fixes #3623.

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

13 years agoTry to ensure that the plugin loads its initial preset correctly. May fix #3602.
Carl Hetherington [Wed, 29 Dec 2010 01:18:05 +0000 (01:18 +0000)]
Try to ensure that the plugin loads its initial preset correctly.  May fix #3602.

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

13 years agoPut appropriate markings on MIDI meters.
Carl Hetherington [Wed, 29 Dec 2010 00:55:25 +0000 (00:55 +0000)]
Put appropriate markings on MIDI meters.

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

13 years agoRemember editor mixer size setting across close and reopen. Fixes #3624.
Carl Hetherington [Tue, 28 Dec 2010 21:29:36 +0000 (21:29 +0000)]
Remember editor mixer size setting across close and reopen.  Fixes #3624.

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

13 years agoindent
Paul Davis [Tue, 28 Dec 2010 20:37:44 +0000 (20:37 +0000)]
indent

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

13 years agoremove unnecessary line for marker drags (marker has its own)
Paul Davis [Tue, 28 Dec 2010 20:37:11 +0000 (20:37 +0000)]
remove unnecessary line for marker drags (marker has its own)

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

13 years agofix type error when resetting all tempo lines
Paul Davis [Tue, 28 Dec 2010 20:35:54 +0000 (20:35 +0000)]
fix type error when resetting all tempo lines

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

13 years agofix rounding errors and bbox glitches that led to lines missing redraws, plus a few...
Paul Davis [Tue, 28 Dec 2010 20:35:18 +0000 (20:35 +0000)]
fix rounding errors and bbox glitches that led to lines missing redraws, plus a few runtime+space efficiency tweaks for simpleline

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

13 years agomake --debug the default for building ardour3
Paul Davis [Tue, 28 Dec 2010 20:31:38 +0000 (20:31 +0000)]
make --debug the default for building ardour3

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

13 years agoRemove unnecessary _have_transaction flag in TrimDrag. Fix undo when a trim of one...
Carl Hetherington [Tue, 28 Dec 2010 19:17:37 +0000 (19:17 +0000)]
Remove unnecessary _have_transaction flag in TrimDrag.  Fix undo when a trim of one region affects the previous or next regions too (#3632).

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

13 years agoMissing files.
Carl Hetherington [Tue, 28 Dec 2010 18:43:22 +0000 (18:43 +0000)]
Missing files.

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

13 years agoUnify program change and bank handling so that they are manipulated together.
Carl Hetherington [Tue, 28 Dec 2010 18:19:40 +0000 (18:19 +0000)]
Unify program change and bank handling so that they are manipulated together.

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

13 years agoClarify commentary slightly. No functional changes.
Carl Hetherington [Tue, 28 Dec 2010 03:05:09 +0000 (03:05 +0000)]
Clarify commentary slightly.  No functional changes.

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

13 years agoUse the channel selector to decide which channel to add program changes to.
Carl Hetherington [Sun, 26 Dec 2010 16:19:32 +0000 (16:19 +0000)]
Use the channel selector to decide which channel to add program changes to.

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

13 years agoFix Ardour -> PROGRAM_NAME (#3627).
Carl Hetherington [Sun, 26 Dec 2010 02:43:00 +0000 (02:43 +0000)]
Fix Ardour -> PROGRAM_NAME (#3627).

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

13 years agoFix broken whitespace.
David Robillard [Fri, 24 Dec 2010 22:48:05 +0000 (22:48 +0000)]
Fix broken whitespace.

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

13 years agoa few more EPA tweaks (from 2.X)
Paul Davis [Thu, 23 Dec 2010 14:23:31 +0000 (14:23 +0000)]
a few more EPA tweaks (from 2.X)

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

13 years agoadd EPA stuff from 2.X
Paul Davis [Thu, 23 Dec 2010 04:17:56 +0000 (04:17 +0000)]
add EPA stuff from 2.X

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

13 years agoadd EPA stuff from 2.X
Paul Davis [Thu, 23 Dec 2010 04:17:45 +0000 (04:17 +0000)]
add EPA stuff from 2.X

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

13 years agoUse MTC instead of MIDI Timecode as the string for the external sync button. Fixes...
Carl Hetherington [Thu, 23 Dec 2010 00:26:54 +0000 (00:26 +0000)]
Use MTC instead of MIDI Timecode as the string for the external sync button.  Fixes #3621.

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

13 years agoRemove Program Change automation lane options.
Carl Hetherington [Thu, 23 Dec 2010 00:02:03 +0000 (00:02 +0000)]
Remove Program Change automation lane options.

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

13 years agoAdd menu option to insert program changes.
Carl Hetherington [Wed, 22 Dec 2010 23:45:04 +0000 (23:45 +0000)]
Add menu option to insert program changes.

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

13 years agoRefactor so that all the locate-related stuff in CursorDrag is in one method. Also...
Carl Hetherington [Wed, 22 Dec 2010 23:43:04 +0000 (23:43 +0000)]
Refactor so that all the locate-related stuff in CursorDrag is in one method.  Also, wait for timecode transmission to be suspended before sending MMC/MTC locates, rather than hoping it will be suspended in time.

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

13 years agoUpdate transport clocks on initial grab of the playhead cursor.
Carl Hetherington [Wed, 22 Dec 2010 23:27:42 +0000 (23:27 +0000)]
Update transport clocks on initial grab of the playhead cursor.

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

13 years agoAccount for the fact that CursorDrag only ever drags the playhead. Fix playhead...
Carl Hetherington [Wed, 22 Dec 2010 23:16:39 +0000 (23:16 +0000)]
Account for the fact that CursorDrag only ever drags the playhead.  Fix playhead misbehaviour when you start a drag from outside it.

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

13 years agoFix some i18n problems.
Carl Hetherington [Wed, 22 Dec 2010 01:44:00 +0000 (01:44 +0000)]
Fix some i18n problems.

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

13 years agoFix region resizing with grid snapping enabled (#3620).
Carl Hetherington [Wed, 22 Dec 2010 01:06:18 +0000 (01:06 +0000)]
Fix region resizing with grid snapping enabled (#3620).

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

13 years agoCalculate length_beats of split MIDI regions from 'parent' region.
David Robillard [Wed, 22 Dec 2010 00:48:59 +0000 (00:48 +0000)]
Calculate length_beats of split MIDI regions from 'parent' region.

This is probably less than ideal, since setting the properties later will
recompute from frames values.  It is, however, slightly more rightish :)

Seemingly correct cases (i.e. where length_beats is correct):
 * Recording a new MIDI region
 * Splitting said region

Broken:
 * Loading a region from XML

Untested:
 * Import

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

13 years agoRemove lying comment.
David Robillard [Wed, 22 Dec 2010 00:09:42 +0000 (00:09 +0000)]
Remove lying comment.

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

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