Paul Davis [Mon, 3 Jan 2011 15:17:18 +0000 (15:17 +0000)]
fix or band-aid for #3649 (loading a session file might fail when using the session importer)
git-svn-id: svn://localhost/ardour2/branches/3.0@8414
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Mon, 3 Jan 2011 03:11:31 +0000 (03:11 +0000)]
Add option to show or hide zoom toolbar.
git-svn-id: svn://localhost/ardour2/branches/3.0@8413
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Mon, 3 Jan 2011 03:10:43 +0000 (03:10 +0000)]
Somewhat experimental fix to try to stop the editor window jumping around on small screens.
git-svn-id: svn://localhost/ardour2/branches/3.0@8412
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sun, 2 Jan 2011 23:30:57 +0000 (23:30 +0000)]
Revert completely broken recent attempted fix of mine; stops segfault on clicking in the tracks/busses windoww's track list.
git-svn-id: svn://localhost/ardour2/branches/3.0@8411
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sun, 2 Jan 2011 13:42:27 +0000 (13:42 +0000)]
Fix MIDI solo buttons in the editor route list, and improve AFL/PFL behaviour in there too. Should fix #3645 and #3644.
git-svn-id: svn://localhost/ardour2/branches/3.0@8410
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sun, 2 Jan 2011 12:45:29 +0000 (12:45 +0000)]
Fix some confusion about handling of route extra XML. Fixes #3574.
git-svn-id: svn://localhost/ardour2/branches/3.0@8409
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sun, 2 Jan 2011 12:45:20 +0000 (12:45 +0000)]
Allow AudioDiskstream to have 0 channels without crashing. Fixes crash on record with a track with no inputs.
git-svn-id: svn://localhost/ardour2/branches/3.0@8408
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 20:08:26 +0000 (20:08 +0000)]
Repeat of recent fix to EditorRoutes to improve behaviour when editing names.
git-svn-id: svn://localhost/ardour2/branches/3.0@8407
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 19:04:11 +0000 (19:04 +0000)]
Make editor route list rec enable work for MIDI tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8406
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 18:46:20 +0000 (18:46 +0000)]
Don't grab focus on enter if we are editing a name. Otherwise when the mouse pointer leaves the editing widget and re-enters the route list, the edit is aborted. Should fix #2920.
git-svn-id: svn://localhost/ardour2/branches/3.0@8405
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 17:43:53 +0000 (17:43 +0000)]
Fix template install properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@8404
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 1 Jan 2011 17:34:06 +0000 (17:34 +0000)]
fix reversed dragging in stereo panner when width is negative
git-svn-id: svn://localhost/ardour2/branches/3.0@8403
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 17:13:32 +0000 (17:13 +0000)]
Fix build. Disable template installation for a bit because I forgot that waf's subst builder doesn't like spaces in filenames.
git-svn-id: svn://localhost/ardour2/branches/3.0@8402
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 16:59:48 +0000 (16:59 +0000)]
Fix creation of MIDI tracks under some translations.
git-svn-id: svn://localhost/ardour2/branches/3.0@8401
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 1 Jan 2011 16:59:38 +0000 (16:59 +0000)]
Install templates.
git-svn-id: svn://localhost/ardour2/branches/3.0@8400
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Fri, 31 Dec 2010 14:55:33 +0000 (14:55 +0000)]
Fix install path for vamp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@8399
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 21:15:51 +0000 (21:15 +0000)]
resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
git-svn-id: svn://localhost/ardour2/branches/3.0@8398
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Thu, 30 Dec 2010 21:01:14 +0000 (21:01 +0000)]
Further i18n fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@8397
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Thu, 30 Dec 2010 20:45:15 +0000 (20:45 +0000)]
i18n fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8396
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Thu, 30 Dec 2010 20:45:06 +0000 (20:45 +0000)]
Use -f option to msgfmt to make it use fuzzy translations.
git-svn-id: svn://localhost/ardour2/branches/3.0@8395
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 20:17:44 +0000 (20:17 +0000)]
add back MIDI Learn for stereo panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8394
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 19:58:36 +0000 (19:58 +0000)]
better dbl click behaviour for stereo panner: width max is constrained by position; pos max is constrained by width
git-svn-id: svn://localhost/ardour2/branches/3.0@8393
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 19:32:33 +0000 (19:32 +0000)]
missed commit
git-svn-id: svn://localhost/ardour2/branches/3.0@8392
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 18:59:09 +0000 (18:59 +0000)]
better detent handling, and dbl-click behaviour for lower half improvements
git-svn-id: svn://localhost/ardour2/branches/3.0@8391
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 18:58:43 +0000 (18:58 +0000)]
revert 1in->2out panner to line style, not blob
git-svn-id: svn://localhost/ardour2/branches/3.0@8390
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 18:58:27 +0000 (18:58 +0000)]
force reset of panner UI when panner object changes
git-svn-id: svn://localhost/ardour2/branches/3.0@8389
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Thu, 30 Dec 2010 18:35:16 +0000 (18:35 +0000)]
Fix up midi ghost regions. Should fix #3629.
git-svn-id: svn://localhost/ardour2/branches/3.0@8388
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 16:14:37 +0000 (16:14 +0000)]
fix compiler warning
git-svn-id: svn://localhost/ardour2/branches/3.0@8387
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 15:45:48 +0000 (15:45 +0000)]
change Session::convert_to_frames_at() to Session::convert_to_frames() to reflect the fact that its argument is a position, not a duration; add Session::any_duration_to_frames(), which converts AnyTime representing a duration to frames; alter callers to use the right one of the two previously mentioned methods
git-svn-id: svn://localhost/ardour2/branches/3.0@8386
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 30 Dec 2010 15:44:22 +0000 (15:44 +0000)]
unfinished tweaks to stereo panner, before a bigger commit of other stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@8385
d708f5d6-7413-0410-9779-
e7cbd77b26cf
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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