ardour.git
11 years agoDon't set TimeFXRequest done to true too early; it must only be set after Editor...
Carl Hetherington [Thu, 7 Jun 2012 20:57:21 +0000 (20:57 +0000)]
Don't set TimeFXRequest done to true too early; it must only be set after Editor::do_timefx has added its StatefulDiffCommands.  Should fix #4897 and duplicates.

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

11 years agofix typo
Todd Naugle [Wed, 6 Jun 2012 22:30:21 +0000 (22:30 +0000)]
fix typo

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

11 years agoPatch from epitech_user to fix crash on zooming out too
Carl Hetherington [Wed, 6 Jun 2012 18:21:02 +0000 (18:21 +0000)]
Patch from epitech_user to fix crash on zooming out too
far (#4806).

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

11 years agoUpdated Spanish translation from Pablo_F (#4912).
Carl Hetherington [Wed, 6 Jun 2012 17:54:56 +0000 (17:54 +0000)]
Updated Spanish translation from Pablo_F (#4912).

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

11 years agoremove beta page from startup wizard; use dbl-click to activate "what would you like...
Paul Davis [Wed, 6 Jun 2012 15:56:45 +0000 (15:56 +0000)]
remove beta page from startup wizard; use dbl-click to activate "what would you like to do?" radio buttons, rather than click

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

11 years agoadd "v" as a new MIDI editing key for velocity, add velocity dialog, fix crash when...
Paul Davis [Wed, 6 Jun 2012 13:17:53 +0000 (13:17 +0000)]
add "v" as a new MIDI editing key for velocity, add velocity dialog, fix crash when quitting with MIDI notes selected

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

11 years agoMCP: latest patch from Rodrigo:
Paul Davis [Wed, 6 Jun 2012 12:20:57 +0000 (12:20 +0000)]
MCP: latest patch from Rodrigo:
    * delays Mackie's led initialization until the Mackie is actually ready to receive messages;
    * at the button X function mapping customization interface in Preferences:
          o show specific device names instead of global ones;
          o mark the buttons that are actually available in the device with a *;
          o included a bottom text explaining what the * means;
    * created a DeviceInfo::get_global_button_name(Button::ID) method;
    * included several DEBUG_TRACE in mackies code;
    * renamed device buttons and groups according to the following logic: Mackie buttons are named exactly like a actual (mine) Mackie names them on the interface itself. Logic Control buttons are named exactly like they appear at Logic Pro 7.2.1 Dedicated Control Surface Support manual;
    * improved timecode display (new format);

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

11 years agoincomplete change to allow all selected MIDI notes to have their velocity set to...
Paul Davis [Wed, 6 Jun 2012 12:16:15 +0000 (12:16 +0000)]
incomplete change to allow all selected MIDI notes to have their velocity set to the same adjusted value (needs more work to find modifiers and/or add a dialog)

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

11 years agoCall PBD::EnumWriter::destroy in ARDOUR::cleanup (from
Carl Hetherington [Wed, 6 Jun 2012 11:58:38 +0000 (11:58 +0000)]
Call PBD::EnumWriter::destroy in ARDOUR::cleanup (from
Tim Mayberry).

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

11 years agoCall ARDOUR::cleanup at the end of libardour tests (from
Carl Hetherington [Wed, 6 Jun 2012 11:58:28 +0000 (11:58 +0000)]
Call ARDOUR::cleanup at the end of libardour tests (from
Tim Mayberry).

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

11 years agoPatch from Tim Mayberry:
Carl Hetherington [Wed, 6 Jun 2012 11:58:15 +0000 (11:58 +0000)]
Patch from Tim Mayberry:

Remove redundant init and cleanup code from common test code

Calling PBD::EnumWriter::destroy means ARDOUR::init and setup_libpbd_enums need to be called again
to register types. If the call to EnumWriter::destroy is removed then ARDOUR::init and setup_libpbd_enums
no longer need to be called. EnumWriter::destroy should probably be added to ARDOUR::cleanup(or better yet PBD::cleanup)
and then called at the end of main. __attribute__ ((destructor)) could be used but that is not portable between

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

11 years agoProvide dialogs to edit pan values numerically, at least for
Carl Hetherington [Wed, 6 Jun 2012 11:47:09 +0000 (11:47 +0000)]
Provide dialogs to edit pan values numerically, at least for
mono and stereo panners.

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

11 years agoSmall cleanup.
Carl Hetherington [Wed, 6 Jun 2012 11:24:07 +0000 (11:24 +0000)]
Small cleanup.

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

11 years agoCapitalisation tweak.
Carl Hetherington [Wed, 6 Jun 2012 11:24:00 +0000 (11:24 +0000)]
Capitalisation tweak.

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

11 years agoRemove some unused code.
Carl Hetherington [Wed, 6 Jun 2012 11:23:45 +0000 (11:23 +0000)]
Remove some unused code.

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

11 years agokludgy hack/fix for plugin windows reappearing at (0,0) after re-activating ardour...
Paul Davis [Wed, 6 Jun 2012 01:43:35 +0000 (01:43 +0000)]
kludgy hack/fix for plugin windows reappearing at (0,0) after re-activating ardour as app on OS X. having spent an entire day investigating the issue, this seems like an expedient though sad fix

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

11 years agowhen selecting one of a set of variable I/O configs for an AudioUnit so that its...
Paul Davis [Tue, 5 Jun 2012 04:25:53 +0000 (04:25 +0000)]
when selecting one of a set of variable I/O configs for an AudioUnit so that its output matches its input, be sure to define the output configuration before returning to continue with configuration of subsequent processors. Fixes crash when loading various non-apple AU's as the first pre-fader plugin (#4909)

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

11 years agoMarginal cleanup.
Carl Hetherington [Tue, 5 Jun 2012 01:03:36 +0000 (01:03 +0000)]
Marginal cleanup.

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

11 years agopatch from tim mayberry to fix crash when creating a new session after session close...
Paul Davis [Mon, 4 Jun 2012 16:48:53 +0000 (16:48 +0000)]
patch from tim mayberry to fix crash when creating a new session after session close (#4907)

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

11 years agorevert previous commit
Paul Davis [Mon, 4 Jun 2012 15:23:36 +0000 (15:23 +0000)]
revert previous commit

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

11 years agodon't create a TimeFX dialog unless we actually need one
Paul Davis [Mon, 4 Jun 2012 15:22:47 +0000 (15:22 +0000)]
don't create a TimeFX dialog unless we actually need one

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

11 years agomake ARDOUR::AutomationList state management full locale-independent
Paul Davis [Mon, 4 Jun 2012 15:22:24 +0000 (15:22 +0000)]
make ARDOUR::AutomationList state management full locale-independent

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

11 years agoTrim <PatchBank>s with unresolved <UsesPatchNameList>s
Carl Hetherington [Sun, 3 Jun 2012 15:47:28 +0000 (15:47 +0000)]
Trim <PatchBank>s with unresolved <UsesPatchNameList>s
to stop errors on startup (#4900).

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

11 years agoLook in the UsesPatchNameList for the name rather than
Carl Hetherington [Sun, 3 Jun 2012 15:47:23 +0000 (15:47 +0000)]
Look in the UsesPatchNameList for the name rather than
its parent.

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

11 years agoMake the speaker dialog graphic's area rectangular so that
Carl Hetherington [Sun, 3 Jun 2012 15:25:21 +0000 (15:25 +0000)]
Make the speaker dialog graphic's area rectangular so that
azimuth labels don't get chopped off.  Only display azimuth
for the selected speaker (#4470).

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

11 years agoDon't allow aux sends from MIDI tracks for the time
Carl Hetherington [Sun, 3 Jun 2012 14:19:44 +0000 (14:19 +0000)]
Don't allow aux sends from MIDI tracks for the time
being (#4866).

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

11 years agoSpeculative fix for timefx add_command calls happening after
Carl Hetherington [Sat, 2 Jun 2012 19:42:45 +0000 (19:42 +0000)]
Speculative fix for timefx add_command calls happening after
the commit_reversible command (#4864 and duplicates).

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

11 years agoPaste to the track under the mouse if we are using the mouse
Carl Hetherington [Sat, 2 Jun 2012 18:06:46 +0000 (18:06 +0000)]
Paste to the track under the mouse if we are using the mouse
as the edit point, otherwise use selected tracks (#4595).

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

11 years agoremember to disconnect the _notify object when an AU GUI is destroyed
Paul Davis [Sat, 2 Jun 2012 16:01:18 +0000 (16:01 +0000)]
remember to disconnect the _notify object when an AU GUI is destroyed

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

11 years agoPersist track MIDNAM settings via a GUI property. Fix a
Carl Hetherington [Sat, 2 Jun 2012 14:53:34 +0000 (14:53 +0000)]
Persist track MIDNAM settings via a GUI property.  Fix a
couple of crashes with the MIDNAM code.

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

11 years agoFix operator< so that strict weak ordering is
Carl Hetherington [Sat, 2 Jun 2012 14:53:26 +0000 (14:53 +0000)]
Fix operator< so that strict weak ordering is
maintained, so that key lookups work.

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

11 years agoMCP: another patch from rodrigo:
Paul Davis [Sat, 2 Jun 2012 14:51:53 +0000 (14:51 +0000)]
MCP: another patch from rodrigo:
    * setting a (arbitraty) limit to zoom out to prevent segfaults because out of memory condition;
    * setting initial update of master fader, and read, play and stop leds on the Mackie;
    * changed the timecode display char selection for update algorithm as chars are sent one by one and not all right most;
    * implemented method of showing timecode at the mackie to better deal with the differences between Ardour's foramts and Mackie's, i.e, use spaces in place of the zeros that had no meaning;
    * preventing timecode display updates when the surface isn't yet active.

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

11 years agocouple of fixes to enable building, and building with gtkmm 2.2(<4)
Paul Davis [Sat, 2 Jun 2012 14:50:09 +0000 (14:50 +0000)]
couple of fixes to enable building, and building with gtkmm 2.2(<4)

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

11 years agoPut MIDNAM stuff into the patch change dialog.
Carl Hetherington [Sat, 2 Jun 2012 13:02:01 +0000 (13:02 +0000)]
Put MIDNAM stuff into the patch change dialog.

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

11 years agoremove AU GUI debugging test in which arrow keys could be used to change GUI size
Paul Davis [Sat, 2 Jun 2012 12:04:29 +0000 (12:04 +0000)]
remove AU GUI debugging test in which arrow keys could be used to change GUI size

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

11 years agoFix non-updated ordinary fade-outs during trim drags
Carl Hetherington [Sat, 2 Jun 2012 10:44:29 +0000 (10:44 +0000)]
Fix non-updated ordinary fade-outs during trim drags
(#4903).

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

11 years agofinally, working AU plugin GUI resizing, at least in response to plugin-GUI driven...
Paul Davis [Fri, 1 Jun 2012 22:27:10 +0000 (22:27 +0000)]
finally, working AU plugin GUI resizing, at least in response to plugin-GUI driven changes

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

11 years agotweak splash destruction
Paul Davis [Fri, 1 Jun 2012 22:26:22 +0000 (22:26 +0000)]
tweak splash destruction

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

11 years agorevert part of earlier MCP patch from rodrigo
Paul Davis [Fri, 1 Jun 2012 21:25:12 +0000 (21:25 +0000)]
revert part of earlier MCP patch from rodrigo

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

11 years agoFix silly typo.
Carl Hetherington [Fri, 1 Jun 2012 20:01:37 +0000 (20:01 +0000)]
Fix silly typo.

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

11 years agoAdd GPL boilerplate; fix dangling instance pointer after
Carl Hetherington [Fri, 1 Jun 2012 19:49:40 +0000 (19:49 +0000)]
Add GPL boilerplate; fix dangling instance pointer after
Splash is deleted.

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

11 years agoClaim button release on patch change events so that
Carl Hetherington [Fri, 1 Jun 2012 19:49:33 +0000 (19:49 +0000)]
Claim button release on patch change events so that
editing a patch change does not also open the region
editor for any selected regions.

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

11 years agoPrevent latency measurement output buffer being silenced by
Carl Hetherington [Fri, 1 Jun 2012 18:24:38 +0000 (18:24 +0000)]
Prevent latency measurement output buffer being silenced by
cycle_end, to fix port insert latency measurement (#4504).

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

11 years agoMinor tidy-ups to MTDM code; add test.
Carl Hetherington [Fri, 1 Jun 2012 16:52:56 +0000 (16:52 +0000)]
Minor tidy-ups to MTDM code; add test.

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

11 years agodestroy splash when hiding it to workaround odd bug on OS X where the window will...
Paul Davis [Fri, 1 Jun 2012 16:27:47 +0000 (16:27 +0000)]
destroy splash when hiding it to workaround odd bug on OS X where the window will reappear as other windows get relayered or deleted

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

11 years agoWhen we rename a track, only rename its playlist if it
Carl Hetherington [Fri, 1 Jun 2012 15:19:30 +0000 (15:19 +0000)]
When we rename a track, only rename its playlist if it
has never contained any regions (#4759).

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

11 years agoFix capitalisation.
Carl Hetherington [Fri, 1 Jun 2012 15:19:19 +0000 (15:19 +0000)]
Fix capitalisation.

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

11 years agomore info when linux build goes wrong
Paul Davis [Fri, 1 Jun 2012 14:05:49 +0000 (14:05 +0000)]
more info when linux build goes wrong

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

11 years agouse patchelf to reset RPATH within bundled libraries so that the runtime linker will...
Paul Davis [Fri, 1 Jun 2012 13:27:38 +0000 (13:27 +0000)]
use patchelf to reset RPATH within bundled libraries so that the runtime linker will not go looking in places set by parts of the GTK build stack

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

11 years agoMCP: Patch from Rodrigo that:
Paul Davis [Fri, 1 Jun 2012 12:56:20 +0000 (12:56 +0000)]
MCP: Patch from Rodrigo that:

    * implements Metering on/off through Button::Read as per Seablade's suggestion. I choose this button as it's the "Show meters" button in Traktion;
    * removes redundant code from Meter::update_transport_rolling();
    * renames Meter::update_transport_rolling() to Meter::notify_metering_state_changed();
    * renamed Surface::notify_transport_state_changed() to Surface::notify_metering_state_changed();
    * renamed Strip::notify_transport_state_changed() to Strip::notify_metering_state_changed();
    * created MackieControlProtocol::notify_metering_state_changed() and made MackieControlProtocol::notify_transport_state_changed() use it;
    * implemented turning off of timecode display and two char display in Surface::zero_all ();
    * implemented master fader zeroing in Surface::zero_all ();
    * calling Surfaces->zero_all() at MackieControlProtocol destructor;
    * implemented restore of 2nd LCD line content after metering being active.

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

11 years agofix construction of new xfades from legacy xfades, and add a few comments here and...
Paul Davis [Fri, 1 Jun 2012 01:07:00 +0000 (01:07 +0000)]
fix construction of new xfades from legacy xfades, and add a few comments here and there

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

11 years agoMake faders visually desensitised when their tracks are in automation-play.
Carl Hetherington [Fri, 1 Jun 2012 00:41:28 +0000 (00:41 +0000)]
Make faders visually desensitised when their tracks are in automation-play.

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

11 years agoMove delta-to-edit-point options to the main clock context menus (#4472).
Carl Hetherington [Thu, 31 May 2012 23:14:03 +0000 (23:14 +0000)]
Move delta-to-edit-point options to the main clock context menus (#4472).

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

11 years agoRemove unused method.
Carl Hetherington [Thu, 31 May 2012 22:44:29 +0000 (22:44 +0000)]
Remove unused method.

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

11 years agoFix uninitialised variable causing garbage output from panners in some cases.
Carl Hetherington [Thu, 31 May 2012 20:58:29 +0000 (20:58 +0000)]
Fix uninitialised variable causing garbage output from panners in some cases.

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

11 years agoHopefully less bad version of Evoral::RangeList::subtract,
Carl Hetherington [Thu, 31 May 2012 20:23:31 +0000 (20:23 +0000)]
Hopefully less bad version of Evoral::RangeList::subtract,
with more tests.

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

11 years agoAdd primary-modifier click on monitor knobs to go to -inf dB (part
Carl Hetherington [Thu, 31 May 2012 18:04:54 +0000 (18:04 +0000)]
Add primary-modifier click on monitor knobs to go to -inf dB (part
of patch by emem in #4726).

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

11 years agoUse the same logic to decide on step size when scroll-wheeling faders in the mixer...
Carl Hetherington [Thu, 31 May 2012 18:04:47 +0000 (18:04 +0000)]
Use the same logic to decide on step size when scroll-wheeling faders in the mixer and knobs in the monitor section (part of #4726).

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

11 years agoFix incorrect automation point drags when a drag is started with push held and finish...
Carl Hetherington [Thu, 31 May 2012 17:08:39 +0000 (17:08 +0000)]
Fix incorrect automation point drags when a drag is started with push held and finished without it.

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

11 years agoPush of automation points is done on the GUI side, so no need to do it on sync as...
Carl Hetherington [Thu, 31 May 2012 17:08:32 +0000 (17:08 +0000)]
Push of automation points is done on the GUI side, so no need to do it on sync as well.

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

11 years agoRemove some more unwanted roundings from control point frame to pixel conversions.
Carl Hetherington [Thu, 31 May 2012 17:08:25 +0000 (17:08 +0000)]
Remove some more unwanted roundings from control point frame to pixel conversions.

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

11 years agoAllow movement of several vertically-colinear points at the same time.
Carl Hetherington [Thu, 31 May 2012 17:08:08 +0000 (17:08 +0000)]
Allow movement of several vertically-colinear points at the same time.

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

11 years agoHandle discontiguous control point selections properly when dragging.
Carl Hetherington [Thu, 31 May 2012 17:08:00 +0000 (17:08 +0000)]
Handle discontiguous control point selections properly when dragging.

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

11 years agoRemove suspect pixel-based control point x position clamping; this may cause issues...
Carl Hetherington [Thu, 31 May 2012 17:07:47 +0000 (17:07 +0000)]
Remove suspect pixel-based control point x position clamping; this may cause issues in libart, so may need reverting.

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

11 years agoDon't round conversions from frame to unit when setting up control points, as it...
Carl Hetherington [Thu, 31 May 2012 17:07:02 +0000 (17:07 +0000)]
Don't round conversions from frame to unit when setting up control points, as it will cause big inaccuracies when zoomed out.

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

11 years agoSlightly unpleasant hack to stop control points being
Carl Hetherington [Thu, 31 May 2012 14:39:48 +0000 (14:39 +0000)]
Slightly unpleasant hack to stop control points being
unselected when you ctrl-drag a selected point in order to
do a push drag.

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

11 years agofix comment regarding keyboard modifiers on OS X
Paul Davis [Thu, 31 May 2012 14:01:46 +0000 (14:01 +0000)]
fix comment regarding keyboard modifiers on OS X

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

11 years agoallow alt-drag on stereo panner to move just one side of the stereo field. this wiggl...
Paul Davis [Thu, 31 May 2012 13:58:59 +0000 (13:58 +0000)]
allow alt-drag on stereo panner to move just one side of the stereo field. this wiggles a bit, possibly because of rounding, and that probably needs to be addressed

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

11 years agorevert previous change
Paul Davis [Wed, 30 May 2012 21:19:28 +0000 (21:19 +0000)]
revert previous change

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

11 years agotry not thinning when loading old-school automation lists
Paul Davis [Wed, 30 May 2012 21:07:15 +0000 (21:07 +0000)]
try not thinning when loading old-school automation lists

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

11 years agorethink how to load legacy crossfades as new-style xfades
Paul Davis [Wed, 30 May 2012 19:30:38 +0000 (19:30 +0000)]
rethink how to load legacy crossfades as new-style xfades

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

11 years agodon't abort when loading legacy xfades if the constituent regions cannot be found
Paul Davis [Wed, 30 May 2012 16:16:27 +0000 (16:16 +0000)]
don't abort when loading legacy xfades if the constituent regions cannot be found

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

11 years agodebugging legacy xfade loading, part 2
Paul Davis [Wed, 30 May 2012 15:43:56 +0000 (15:43 +0000)]
debugging legacy xfade loading, part 2

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

11 years agodebugging legacy xfade loading
Paul Davis [Wed, 30 May 2012 15:36:09 +0000 (15:36 +0000)]
debugging legacy xfade loading

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

11 years agofix osx build script when the path to the plugin folder contains spaces
Paul Davis [Wed, 30 May 2012 15:34:25 +0000 (15:34 +0000)]
fix osx build script when the path to the plugin folder contains spaces

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

11 years agofixup previous commit for OS X
Paul Davis [Wed, 30 May 2012 15:33:56 +0000 (15:33 +0000)]
fixup previous commit for OS X

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

11 years agomore cleanups and standardization of fixup_bundle_environment() functions
Paul Davis [Wed, 30 May 2012 14:58:39 +0000 (14:58 +0000)]
more cleanups and standardization of fixup_bundle_environment() functions

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

11 years agoMCP: metering changes from rodrigo, makes metering work correctly on the MC Pro ...
Paul Davis [Wed, 30 May 2012 14:32:27 +0000 (14:32 +0000)]
MCP: metering changes from rodrigo, makes metering work correctly on the MC Pro (also checked on the nucleus)

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

11 years agoMCP: remove misleading and confusing and out of date comment
Paul Davis [Wed, 30 May 2012 00:01:15 +0000 (00:01 +0000)]
MCP: remove misleading and confusing and out of date comment

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

11 years agoMCP: correct display of timecode
Paul Davis [Tue, 29 May 2012 23:44:34 +0000 (23:44 +0000)]
MCP: correct display of timecode

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

11 years agoMCP: fix assigment of outbound sysex messages, and don't drain port->selectable(...
Paul Davis [Tue, 29 May 2012 23:30:13 +0000 (23:30 +0000)]
MCP: fix assigment of outbound sysex messages, and don't drain port->selectable() for ipMIDI devices, since this throws away all incoming data, which arrives on the same fd as port->selectable() (unlike JACK MIDI)

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

11 years agofix missing negation from previous MCP commit
Paul Davis [Tue, 29 May 2012 20:34:19 +0000 (20:34 +0000)]
fix missing negation from previous MCP commit

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

11 years agopatch from dave flick to tackle a variety of cursor issues
Paul Davis [Tue, 29 May 2012 20:29:47 +0000 (20:29 +0000)]
patch from dave flick to tackle a variety of cursor issues

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

11 years agopatch from rodrigo severo to make mackie timecode display work
Paul Davis [Tue, 29 May 2012 20:18:43 +0000 (20:18 +0000)]
patch from rodrigo severo to make mackie timecode display work

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

11 years agoarguably cleaner tweak to previous commit
Paul Davis [Tue, 29 May 2012 18:38:54 +0000 (18:38 +0000)]
arguably cleaner tweak to previous commit

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

11 years agosubstantive change to try to provide some rationality for region gain line visibility...
Paul Davis [Tue, 29 May 2012 18:30:10 +0000 (18:30 +0000)]
substantive change to try to provide some rationality for region gain line visibility (and automation line visibility in general

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

11 years agodon't reset region fades to default after a playlist op unless the fades used to...
Paul Davis [Tue, 29 May 2012 12:54:49 +0000 (12:54 +0000)]
don't reset region fades to default after a playlist op unless the fades used to be part of an xfade and now no longer are (should fix #4893)

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

11 years agoRemove duplicate include.
Carl Hetherington [Mon, 28 May 2012 23:28:42 +0000 (23:28 +0000)]
Remove duplicate include.

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

11 years agoExpand comment.
Carl Hetherington [Mon, 28 May 2012 21:01:55 +0000 (21:01 +0000)]
Expand comment.

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

11 years agoClear selection on starting a MIDI note rubberband
Carl Hetherington [Mon, 28 May 2012 21:01:49 +0000 (21:01 +0000)]
Clear selection on starting a MIDI note rubberband
selection drag; always emit SelectionCleared() from
clear_selection_except even if this region's selection
hasn't changed, as we still want to clear the selection
in other regions.  Part of #4669.

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

11 years agoEmit SelectionCleared() when unique-selecting the first
Carl Hetherington [Mon, 28 May 2012 21:01:43 +0000 (21:01 +0000)]
Emit SelectionCleared() when unique-selecting the first
note in a region, so that other regions clear their
selections.

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

11 years agoDeselect MIDI notes when leaving internal edit mode
Carl Hetherington [Mon, 28 May 2012 21:01:37 +0000 (21:01 +0000)]
Deselect MIDI notes when leaving internal edit mode
(part of #4669).

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

11 years agoMissing files.
Carl Hetherington [Mon, 28 May 2012 16:48:39 +0000 (16:48 +0000)]
Missing files.

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

11 years agoAdd path_is_within to decide if a path is within a given
Carl Hetherington [Mon, 28 May 2012 16:32:41 +0000 (16:32 +0000)]
Add path_is_within to decide if a path is within a given
directory, taking symlinks into account, and use it to
decide whether a file is within the session folder.  Should
fix #4552.

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

11 years agoexplicit checks for all components of the LV2 stack
Paul Davis [Mon, 28 May 2012 13:51:26 +0000 (13:51 +0000)]
explicit checks for all components of the LV2 stack

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

11 years agoRe-implement URIMap to tolerate broken plugins that use the wrong context to
David Robillard [Sun, 27 May 2012 23:05:45 +0000 (23:05 +0000)]
Re-implement URIMap to tolerate broken plugins that use the wrong context to
map MIDI event types (fix #4889).

All uri-map contexts are now just ignored, and equivalent to urid (which is
equivalent to uri-map with context NULL).  We now just hope that no event types
are mapped after UINT16_MAX URIs have been mapped, and die horribly otherwise.
This is exceedingly unlikely to happen any time in the next several years, if
ever.

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

11 years agoPrevent x movement of the end points of region gain
Carl Hetherington [Sun, 27 May 2012 21:02:36 +0000 (21:02 +0000)]
Prevent x movement of the end points of region gain
lines (should fix #4680).

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

11 years agoPatch from tophatdave to improve display of timestretch in
Carl Hetherington [Sun, 27 May 2012 20:07:13 +0000 (20:07 +0000)]
Patch from tophatdave to improve display of timestretch in
stacked layers mode (#4379).

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

11 years agoPatch from colinf to avoid splitting unselected regions
Carl Hetherington [Sun, 27 May 2012 19:36:27 +0000 (19:36 +0000)]
Patch from colinf to avoid splitting unselected regions
on the same track as a selected region; also make no
selection = all tracks button work (#4831).

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

11 years agoadd a fix for the one problem case from the last commit: region splitting, where...
Paul Davis [Sun, 27 May 2012 18:22:45 +0000 (18:22 +0000)]
add a fix for the one problem case from the last commit: region splitting, where we don't announce regions until the entire edit op is done, but for naming purpoes each new region created needs to be in the map. likely that i will commit a better, cleaner fix for this later

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