13
0
Commit Graph

8740 Commits

Author SHA1 Message Date
Carl Hetherington
070e724190 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
2012-06-06 11:58:15 +00:00
Carl Hetherington
46e448252f 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
2012-06-06 11:47:09 +00:00
Carl Hetherington
31f94b9b04 Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@12576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:24:07 +00:00
Carl Hetherington
f3e3ce1691 Capitalisation tweak.
git-svn-id: svn://localhost/ardour2/branches/3.0@12575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:24:00 +00:00
Carl Hetherington
f6e869d50d Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:23:45 +00:00
e5bb4c94ed 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
2012-06-06 01:43:35 +00:00
9a0b1cce07 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
2012-06-05 04:25:53 +00:00
Carl Hetherington
eaf58fdd50 Marginal cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@12565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-05 01:03:36 +00:00
9b2e242cb5 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
2012-06-04 16:48:53 +00:00
4ac444dad5 revert previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@12555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-04 15:23:36 +00:00
3077b251a1 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
2012-06-04 15:22:47 +00:00
ab9a1eb348 make ARDOUR::AutomationList state management full locale-independent
git-svn-id: svn://localhost/ardour2/branches/3.0@12553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-04 15:22:24 +00:00
Carl Hetherington
969f45876c 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
2012-06-03 15:47:28 +00:00
Carl Hetherington
d2f61e0f4c 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
2012-06-03 15:47:23 +00:00
Carl Hetherington
b07a93ee0f 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
2012-06-03 15:25:21 +00:00
Carl Hetherington
a936e96693 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
2012-06-03 14:19:44 +00:00
Carl Hetherington
08d7dff3d9 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
2012-06-02 19:42:45 +00:00
Carl Hetherington
e5024657fc 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
2012-06-02 18:06:46 +00:00
c1f46b15d2 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
2012-06-02 16:01:18 +00:00
Carl Hetherington
dcd6dbf14b 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
2012-06-02 14:53:34 +00:00
Carl Hetherington
fd89d52af5 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
2012-06-02 14:53:26 +00:00
6d46299df3 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
2012-06-02 14:51:53 +00:00
1cb5aed0ce 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
2012-06-02 14:50:09 +00:00
Carl Hetherington
2010c0489f Put MIDNAM stuff into the patch change dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@12539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 13:02:01 +00:00
e16bb2a078 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
2012-06-02 12:04:29 +00:00
Carl Hetherington
98e28bb54b 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
2012-06-02 10:44:29 +00:00
a025337960 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
2012-06-01 22:27:10 +00:00
2e5b6fc323 tweak splash destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@12535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 22:26:22 +00:00
bbcfffc2da revert part of earlier MCP patch from rodrigo
git-svn-id: svn://localhost/ardour2/branches/3.0@12534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 21:25:12 +00:00
Carl Hetherington
4073e5b7ab Fix silly typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@12533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 20:01:37 +00:00
Carl Hetherington
183d09d4af 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
2012-06-01 19:49:40 +00:00
Carl Hetherington
66af96b7cf 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
2012-06-01 19:49:33 +00:00
Carl Hetherington
c1c5151ca4 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
2012-06-01 18:24:38 +00:00
Carl Hetherington
162d672769 Minor tidy-ups to MTDM code; add test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 16:52:56 +00:00
98f44aa20c 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
2012-06-01 16:27:47 +00:00
Carl Hetherington
6930071cdb 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
2012-06-01 15:19:30 +00:00
Carl Hetherington
50aeca5fa5 Fix capitalisation.
git-svn-id: svn://localhost/ardour2/branches/3.0@12524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 15:19:19 +00:00
edee3c3293 more info when linux build goes wrong
git-svn-id: svn://localhost/ardour2/branches/3.0@12523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 14:05:49 +00:00
72decf24cd 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
2012-06-01 13:27:38 +00:00
ba5e71b50f 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
2012-06-01 12:56:20 +00:00
bc3aea6f93 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
2012-06-01 01:07:00 +00:00
Carl Hetherington
e39a8fc968 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
2012-06-01 00:41:28 +00:00
Carl Hetherington
6624f9be37 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
2012-05-31 23:14:03 +00:00
Carl Hetherington
06aa9c7435 Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 22:44:29 +00:00
Carl Hetherington
1db2be2fef 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
2012-05-31 20:58:29 +00:00
Carl Hetherington
a6786a6dd2 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
2012-05-31 20:23:31 +00:00
Carl Hetherington
19becdf7e0 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
2012-05-31 18:04:54 +00:00
Carl Hetherington
6a4628e50a 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
2012-05-31 18:04:47 +00:00
Carl Hetherington
556732df80 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
2012-05-31 17:08:39 +00:00
Carl Hetherington
a4ed608e4d 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
2012-05-31 17:08:32 +00:00