ardour.git
8 years agoConfirmation on overwrite for track and session templates. -fixes #6587
André Nusser [Mon, 12 Oct 2015 10:29:16 +0000 (12:29 +0200)]
Confirmation on overwrite for track and session templates. -fixes #6587

8 years agoAdd overwrite option to save_template. (default = false)
André Nusser [Mon, 12 Oct 2015 10:27:28 +0000 (12:27 +0200)]
Add overwrite option to save_template. (default = false)

Before it could not overwrite.

8 years agofix automation update at transport stop when in automation Play mode
Paul Davis [Thu, 22 Oct 2015 03:06:40 +0000 (23:06 -0400)]
fix automation update at transport stop when in automation Play mode

8 years agofix mute automation in Play automation state
Paul Davis [Thu, 22 Oct 2015 03:06:05 +0000 (23:06 -0400)]
fix mute automation in Play automation state

8 years agoAdd AutomationControl::set_value_unchecked() and AutomationControl::writable() and...
Paul Davis [Thu, 22 Oct 2015 02:31:30 +0000 (22:31 -0400)]
Add AutomationControl::set_value_unchecked() and AutomationControl::writable() and use them.

Classes derived from AutomationControl now check ::writable() in their ::set_value() methods to ensure that they
do not attempt to overwrite data sent to them while automation playback is underway.

8 years agoadd commentary and clean up blank lines
Paul Davis [Thu, 22 Oct 2015 02:30:13 +0000 (22:30 -0400)]
add commentary and clean up blank lines

8 years agoMore desktop file renaming.
nick_m [Wed, 21 Oct 2015 16:51:15 +0000 (03:51 +1100)]
More desktop file renaming.

8 years agoRemove old ardour3 desktop files.
nick_m [Wed, 21 Oct 2015 15:54:53 +0000 (02:54 +1100)]
Remove old ardour3 desktop files.

8 years agoAdd ardour4 desktop and mime type files.
nick_m [Wed, 21 Oct 2015 15:46:18 +0000 (02:46 +1100)]
Add ardour4 desktop and mime type files.
- looks like the install target for these has been removed, but
  the existence of these may be of help to packagers.

8 years agoUser interaction preferences tooltips clarify button names.
nick_m [Wed, 21 Oct 2015 14:23:36 +0000 (01:23 +1100)]
User interaction preferences tooltips clarify button names.

8 years agovariable name change: make purpose of formerly named "_values" in LV2 plugin UI code...
Paul Davis [Wed, 21 Oct 2015 12:10:25 +0000 (08:10 -0400)]
variable name change: make purpose of formerly named "_values" in LV2 plugin UI code more clear

And if this is wrong, then rename it again with the right one

8 years agovariable name change: percent is 0..100, 0..1.0 is a fraction
Paul Davis [Wed, 21 Oct 2015 12:09:40 +0000 (08:09 -0400)]
variable name change: percent is 0..100, 0..1.0 is a fraction

8 years agoensure that mutator function for CONFIG_VARIABLE_SPECIAL is used when assigning initi...
Paul Davis [Wed, 21 Oct 2015 11:53:21 +0000 (07:53 -0400)]
ensure that mutator function for CONFIG_VARIABLE_SPECIAL is used when assigning initial value during construction

8 years agoMake sure Mackie Control view modes start with route 1 except Mixer mode goes to...
Len Ovens [Wed, 21 Oct 2015 02:31:04 +0000 (19:31 -0700)]
Make sure Mackie Control view modes start with route 1 except Mixer mode goes to last position.

8 years agoAdded "Selected" view mode to Mackie Control.
Len Ovens [Wed, 21 Oct 2015 01:54:56 +0000 (18:54 -0700)]
Added "Selected" view mode to Mackie Control.

8 years agoFix crash in new CoreaudioSource code (on invalid file)
Robin Gareus [Wed, 21 Oct 2015 01:12:45 +0000 (03:12 +0200)]
Fix crash in new CoreaudioSource code (on invalid file)

8 years agoconfirm LV2 GUI changes
Robin Gareus [Tue, 20 Oct 2015 23:57:16 +0000 (01:57 +0200)]
confirm LV2 GUI changes

If a parameter change is initiated by the UI, the host sends a
notifications to confirm (echo) or invalidates (replaces) the value.
(automation: touch, playback,...).

Stateless LV2 GUIs without internal data-model depend on this.

8 years agohack to keep UI responsive with heavy AU views.
Robin Gareus [Tue, 20 Oct 2015 17:14:14 +0000 (19:14 +0200)]
hack to keep UI responsive with heavy AU views.

8 years agoOSX copy/constraint mod tweak (amend 0675fe1)
Robin Gareus [Tue, 20 Oct 2015 14:15:38 +0000 (16:15 +0200)]
OSX copy/constraint mod tweak (amend 0675fe1)

8 years agodo not update LV2 output port displays unless the value has changed
Paul Davis [Tue, 20 Oct 2015 15:39:56 +0000 (11:39 -0400)]
do not update LV2 output port displays unless the value has changed

8 years agoadd commentary
Paul Davis [Tue, 20 Oct 2015 15:31:18 +0000 (11:31 -0400)]
add commentary

8 years agoalso update LV2 output port displays as part of periodic updates
Paul Davis [Tue, 20 Oct 2015 15:28:53 +0000 (11:28 -0400)]
also update LV2 output port displays as part of periodic updates

8 years agofix AudioUnit parameter listening to work with new ParameterChangedExternally semantics
Paul Davis [Tue, 20 Oct 2015 14:24:39 +0000 (10:24 -0400)]
fix AudioUnit parameter listening to work with new ParameterChangedExternally semantics

8 years agoClean up generic and LV2 plugin GUI to deal with ParameterChanged(Externally) alteration
Paul Davis [Tue, 20 Oct 2015 14:12:51 +0000 (10:12 -0400)]
Clean up generic and LV2 plugin GUI to deal with ParameterChanged(Externally) alteration

8 years agorename Plugin::ParameterChanged to ParameterChangedExternally to reflect its intent...
Paul Davis [Tue, 20 Oct 2015 14:12:21 +0000 (10:12 -0400)]
rename Plugin::ParameterChanged to ParameterChangedExternally to reflect its intent, and clean up the libardour side of result.

The signal exists to notify listeners that something outside of the host's control (e.g. a plugin's own GUI for AU or VST)
has modified a plugin parameter. Previous code had strange feedback loops and ambiguous semantics.

8 years agoRevert "rename ParameterChanged signal in Plugin to ParameterChangedExternally to...
Paul Davis [Tue, 20 Oct 2015 14:10:35 +0000 (10:10 -0400)]
Revert "rename ParameterChanged signal in Plugin to ParameterChangedExternally to reflect its intent, and clean up the result."

This reverts commit 336b2eb9a4a8634bae84a15e952d20335aa28c12.

8 years agopossible fix for invalid cleanup space calc on win32.
Robin Gareus [Tue, 20 Oct 2015 13:08:50 +0000 (15:08 +0200)]
possible fix for invalid cleanup space calc on win32.

8 years agoNOOP, re-indent
Robin Gareus [Tue, 20 Oct 2015 13:08:02 +0000 (15:08 +0200)]
NOOP, re-indent

8 years agoremove cruft
Robin Gareus [Tue, 20 Oct 2015 13:06:54 +0000 (15:06 +0200)]
remove cruft

8 years agorename ParameterChanged signal in Plugin to ParameterChangedExternally to reflect...
Paul Davis [Tue, 20 Oct 2015 13:07:51 +0000 (09:07 -0400)]
rename ParameterChanged signal in Plugin to ParameterChangedExternally to reflect its intent, and clean up the result.

The signal exists to notify listeners that something outside of the host's control (e.g. a plugin's own GUI for AU or VST)
has modified a plugin parameter. Previous code had strange feedback loops and ambiguous semantics.

Significant modification of LV2 GUI updating was required.

Still to be tested for feedback loop issues: AudioUnits

8 years agoremove unused "copy modifier hint"
Robin Gareus [Tue, 20 Oct 2015 09:12:36 +0000 (11:12 +0200)]
remove unused "copy modifier hint"

8 years agosuggest primary-mod as default for copy
Robin Gareus [Tue, 20 Oct 2015 09:12:14 +0000 (11:12 +0200)]
suggest primary-mod as default for copy

fixes inconsistency on OSX.

8 years agoCtrl+shift functionality (toggle all) for plugin leds.
André Nusser [Wed, 14 Oct 2015 10:38:44 +0000 (12:38 +0200)]
Ctrl+shift functionality (toggle all) for plugin leds.

The Fader led has special behavior and is only toggled when clicked
explicitly.

8 years agoTest fix for further osx modifier ambiguity.
nick_m [Mon, 19 Oct 2015 17:08:28 +0000 (04:08 +1100)]
Test fix for further osx modifier ambiguity.

8 years agoFix incorrect display of "Command" modifier on osx.
nick_m [Mon, 19 Oct 2015 16:54:44 +0000 (03:54 +1100)]
Fix incorrect display of "Command" modifier on osx.

8 years agoRc option editor - don't translate "-".
nick_m [Mon, 19 Oct 2015 16:23:06 +0000 (03:23 +1100)]
Rc option editor - don't translate "-".

8 years agoFix typo for GTKOSX case.
nick_m [Mon, 19 Oct 2015 14:20:42 +0000 (01:20 +1100)]
Fix typo for GTKOSX case.

8 years agoSet toggled automation controller using a double.
nick_m [Mon, 19 Oct 2015 13:48:30 +0000 (00:48 +1100)]
Set toggled automation controller using a double.

8 years agoClarify user interaction preference tooltips. Also rebase branch on master.
nick_m [Thu, 15 Oct 2015 17:36:11 +0000 (04:36 +1100)]
Clarify user interaction preference tooltips. Also rebase branch on 

8 years agoRestored size of mixer list pane is at least 36 px. Revert default to 75.
nick_m [Thu, 15 Oct 2015 16:22:11 +0000 (03:22 +1100)]
Restored size of mixer list pane is at least 36 px. Revert default to 75.

8 years agoDefault to WIN_POS_MOUSE for dialogs also.
nick_m [Thu, 15 Oct 2015 16:06:49 +0000 (03:06 +1100)]
Default to WIN_POS_MOUSE for dialogs also.

8 years agoMixer list pane can shrink to zero width.
nick_m [Wed, 14 Oct 2015 18:24:17 +0000 (05:24 +1100)]
Mixer list pane can shrink to zero width.

8 years agoNew non-parented windows are initially positioned at WIN_POS_MOUSE again.
nick_m [Wed, 14 Oct 2015 15:37:11 +0000 (02:37 +1100)]
New non-parented windows are initially positioned at WIN_POS_MOUSE again.

8 years agoLegatize::name () reflects its type. Fixes confusing undo record name.
nick_m [Tue, 13 Oct 2015 17:46:33 +0000 (04:46 +1100)]
Legatize::name () reflects its type. Fixes confusing undo record name.

8 years agoFix snap modifier logic (again).
nick_m [Tue, 13 Oct 2015 17:09:23 +0000 (04:09 +1100)]
Fix snap modifier logic (again).

8 years agoRc option editor - alter restart message for user interaction tab.
nick_m [Wed, 7 Oct 2015 18:59:09 +0000 (05:59 +1100)]
Rc option editor - alter restart message for user interaction tab.

8 years agoNo-op - rename variable.
nick_m [Wed, 7 Oct 2015 18:41:41 +0000 (05:41 +1100)]
No-op - rename variable.

8 years agoAdd tooltips to user config preferences. clean up combo ordering.
nick_m [Wed, 7 Oct 2015 18:32:31 +0000 (05:32 +1100)]
Add tooltips to user config preferences. clean up combo ordering.

8 years agoArdourKeyboard - fix snap / delta logic for triple modifier combinations.
nick_m [Wed, 7 Oct 2015 14:46:52 +0000 (01:46 +1100)]
ArdourKeyboard - fix snap / delta logic for triple modifier combinations.

8 years agoClick on a selected note unique selects it (as per regions, control points).
nick_m [Wed, 7 Oct 2015 13:48:03 +0000 (00:48 +1100)]
Click on a selected note unique selects it (as per regions, control points).

8 years agoAllow Alt-Shift-Windows modifier (nice for control point fine adjust).
nick_m [Sun, 4 Oct 2015 17:36:13 +0000 (04:36 +1100)]
Allow Alt-Shift-Windows modifier (nice for control point fine adjust).

- OSX equivalent to be decided.

8 years agoDon't snap if fine adjust modifier used.
nick_m [Sun, 4 Oct 2015 17:32:03 +0000 (04:32 +1100)]
Don't snap if fine adjust modifier used.

- permits non-alt modifier for fine adjust.

8 years agoUpdate ContrilList debug output.
nick_m [Sun, 4 Oct 2015 15:58:03 +0000 (02:58 +1100)]
Update ContrilList debug output.

8 years agoSelect the control point about to be deleted when using shift + right click.
nick_m [Sun, 4 Oct 2015 15:56:56 +0000 (02:56 +1100)]
Select the control point about to be deleted when using shift + right click.

- fixes incorrect selection changes when doing this.

8 years agoFix incorrect snap when adding region gain points.
nick_m [Sun, 4 Oct 2015 15:54:18 +0000 (02:54 +1100)]
Fix incorrect snap when adding region gain points.

8 years agoDon't use the all_route_group() in Editor::set_selected_track_as_side_effect ().
nick_m [Sun, 4 Oct 2015 13:42:09 +0000 (00:42 +1100)]
Don't use the all_route_group() in Editor::set_selected_track_as_side_effect ().

- we don't appear to actually use it.

8 years agoAllow adding / toggling rubber band selection of automation control points.
nick_m [Sun, 4 Oct 2015 13:39:24 +0000 (00:39 +1100)]
Allow adding / toggling rubber band selection of automation control points.

8 years agoShow verbose cursor control point values in MouseContent mode as well.
nick_m [Sat, 3 Oct 2015 18:29:45 +0000 (05:29 +1100)]
Show verbose cursor control point values in MouseContent mode as well.

8 years agoFix for fine adjust overriding snap modifiers.
nick_m [Sat, 3 Oct 2015 18:05:56 +0000 (05:05 +1100)]
Fix for fine adjust overriding snap modifiers.

8 years agoAdd error check to region gain control point selection undo.
nick_m [Sat, 3 Oct 2015 16:44:27 +0000 (03:44 +1100)]
Add error check to region gain control point selection undo.

8 years agoAdd missing diff to last commit.
nick_m [Sat, 3 Oct 2015 16:33:37 +0000 (03:33 +1100)]
Add missing diff to last commit.

8 years agoRegion gain point selection behaves as per track automation.
nick_m [Sat, 3 Oct 2015 16:29:16 +0000 (03:29 +1100)]
Region gain point selection behaves as per track automation.

8 years agoAdd region gain point selection undo.
nick_m [Sat, 3 Oct 2015 15:19:38 +0000 (01:19 +1000)]
Add region gain point selection undo.

8 years agoAmend last connit - don't use a bool to represent a double.
nick_m [Sat, 3 Oct 2015 13:55:26 +0000 (23:55 +1000)]
Amend last connit - don't use a bool to represent a double.

8 years agoFix incorrect initial point when recording toggled automation.
nick_m [Sat, 3 Oct 2015 13:47:52 +0000 (23:47 +1000)]
Fix incorrect initial point when recording toggled automation.

8 years agoAutomation - more toggled controller twiddling.
nick_m [Fri, 2 Oct 2015 19:08:26 +0000 (05:08 +1000)]
Automation - more toggled controller twiddling.

8 years agoAutomation - fix occasional inverted bool state after write.
nick_m [Fri, 2 Oct 2015 15:18:59 +0000 (01:18 +1000)]
Automation - fix occasional inverted bool state after write.

8 years agoFix redo action sensitivity for non-editor undo stack changes.
nick_m [Sat, 26 Sep 2015 14:59:44 +0000 (00:59 +1000)]
Fix redo action sensitivity for non-editor undo stack changes.

8 years agoMake automation record undo per pass rather than per touch.
nick_m [Sat, 26 Sep 2015 14:57:52 +0000 (00:57 +1000)]
Make automation record undo per pass rather than per touch.

8 years agoToggled automation fixes.
nick_m [Mon, 21 Sep 2015 17:20:39 +0000 (03:20 +1000)]
Toggled automation fixes.

- don't attempt to insert two points on toggle.
- remove forced touch->write mode change on toggle
- initial state still wrong, but works much better overall.

8 years agoAmend last commit.
nick_m [Sun, 13 Sep 2015 19:46:02 +0000 (05:46 +1000)]
Amend last commit.

8 years agoMake control point selection more consistent.
nick_m [Sun, 13 Sep 2015 19:24:28 +0000 (05:24 +1000)]
Make control point selection more consistent.

- disallow simultaneous events via ControlList::editor_add ()
- clicking on an automation line selects the points that define it.
- don't 'flash' a region selection when using mousedraw mode.
- cp click selection resembles region selection.
- region gain points respect snap modifier (a la automation points).

8 years agoremove cruft
Robin Gareus [Mon, 19 Oct 2015 13:44:46 +0000 (15:44 +0200)]
remove cruft

8 years agoAdd Audio Tracks and Busses too.
Len Ovens [Mon, 19 Oct 2015 02:55:56 +0000 (19:55 -0700)]
Add Audio Tracks and Busses too.

8 years agoAdded Midi Tracks View mode.
Len Ovens [Mon, 19 Oct 2015 01:13:16 +0000 (18:13 -0700)]
Added Midi Tracks View mode.

8 years agoone less deprecated API
Robin Gareus [Sun, 18 Oct 2015 21:29:58 +0000 (23:29 +0200)]
one less deprecated API

8 years agofix OS X system detection (amend 66704ee)
Robin Gareus [Sun, 18 Oct 2015 21:19:52 +0000 (23:19 +0200)]
fix OS X system detection (amend 66704ee)

8 years agoGUI changes use new AppleUtility Library
Robin Gareus [Sun, 18 Oct 2015 20:17:31 +0000 (22:17 +0200)]
GUI changes use new AppleUtility Library

8 years agolibs/* changes use new AppleUtility Library
Paul Davis [Sun, 18 Oct 2015 01:37:33 +0000 (21:37 -0400)]
libs/* changes use new AppleUtility Library

8 years agoalternative new version of the AppleUtility library
Paul Davis [Sun, 18 Oct 2015 00:46:58 +0000 (20:46 -0400)]
alternative new version of the AppleUtility library

8 years agoOnly display Trim for tracks that have Trim. On the way:
Len Ovens [Sun, 18 Oct 2015 14:38:40 +0000 (07:38 -0700)]
Only display Trim for tracks that have Trim. On the way:
-fixed flip mode.
-fixed no controlable for vpot or fader

8 years agoamend prev commit.
Robin Gareus [Sun, 18 Oct 2015 12:31:04 +0000 (14:31 +0200)]
amend prev commit.

8 years agofix additive linkflags
Robin Gareus [Sun, 18 Oct 2015 12:22:55 +0000 (14:22 +0200)]
fix additive linkflags

8 years agoReplace static PBD::Signal in NoteBase with direct call to MidiRegionView
Tim Mayberry [Wed, 14 Oct 2015 10:37:07 +0000 (20:37 +1000)]
Replace static PBD::Signal in NoteBase with direct call to MidiRegionView

NoteBaseDeleted signal is static so each MidiRegionView(MRV) gets notified
about the deletion of each NodeBase instance even if it is contained in another
MRV

The NoteBase and MRV classes are currently coupled anyway, so this change uses
the reference to the MRV parent to directly call the parent when the NoteBase
is deleted. This is all in the GUI thread so I'm not sure why a PBD::Signal was
being used?

If the MRV class is the only reference holder to the NoteBase class
then I'm not sure if a callback is needed, perhaps the MRV should just remove
the note from the selection before deleting it but I'm not that familiar with
the code.

Signal emission/calls static NoteBaseDeleted signal vs direct with 10540
NoteBase instances.

static:

After Load Session: 6360638
After Unload Session: 12221026(5860388)

direct:

After load Session: 10540
After unload Session: 21080

Session Load/Unload time in master, debug/release with ~10000 Notes(seconds)

Load Debug: 32, 26
Unload Debug: 83
Load Release 32, 20, 42
Unload Release 26, 25

Session Load/Unload time with direct call debug/release(seconds)

Load Debug: 21.7, 18.1
Unload Debug: 69.4, 71
Load Release: 22.6, 13.4, 17.7
Unload Release: 24, 23.5

This is not a large Session, 1500 regions, 10000 notes so there is probably
some other funky stuff going on that needs fixing.

8 years agoMerge branch 'chaot4-fix_midi_menu_consistency_new'
Paul Davis [Sun, 18 Oct 2015 02:13:04 +0000 (22:13 -0400)]
Merge branch 'chaot4-fix_midi_menu_consistency_new'

8 years agoRemove all the now unused functions in the MidiModel class.
André Nusser [Thu, 15 Oct 2015 13:49:41 +0000 (15:49 +0200)]
Remove all the now unused functions in the MidiModel class.

8 years agoIntroduce "Transpose..." also in the context menu of selected notes.
André Nusser [Thu, 15 Oct 2015 13:44:09 +0000 (15:44 +0200)]
Introduce "Transpose..." also in the context menu of selected notes.

8 years agoAdd Transpose class that can be used by apply_midi_note_edit_op.
André Nusser [Thu, 15 Oct 2015 13:41:11 +0000 (15:41 +0200)]
Add Transpose class that can be used by apply_midi_note_edit_op.

8 years agoSplit transpose in MidiModel into two functions.
André Nusser [Thu, 15 Oct 2015 13:36:17 +0000 (15:36 +0200)]
Split transpose in MidiModel into two functions.

8 years agoFix tiny memory leak.
André Nusser [Thu, 15 Oct 2015 13:24:46 +0000 (15:24 +0200)]
Fix tiny memory leak.

8 years agoInclude "Transform..." into MIDI region menu.
André Nusser [Mon, 12 Oct 2015 16:04:52 +0000 (18:04 +0200)]
Include "Transform..." into MIDI region menu.

Everything has already been done except the including.

8 years agofftw-3.3.5/windows .dll includes threads lib
Robin Gareus [Sun, 18 Oct 2015 00:44:26 +0000 (02:44 +0200)]
fftw-3.3.5/windows .dll includes threads lib

8 years agodisable follow-edits with external sync #6577
Robin Gareus [Sun, 18 Oct 2015 00:01:45 +0000 (02:01 +0200)]
disable follow-edits with external sync #6577

8 years agodisable auto-return with external sync #6577
Robin Gareus [Sat, 17 Oct 2015 23:59:01 +0000 (01:59 +0200)]
disable auto-return with external sync #6577

8 years agoAssign Global view to get back to Mixer.
Len Ovens [Sat, 17 Oct 2015 23:23:46 +0000 (16:23 -0700)]
Assign Global view to get back to Mixer.

8 years agoand another "f"
Robin Gareus [Sat, 17 Oct 2015 18:51:21 +0000 (20:51 +0200)]
and another "f"

8 years agofour f* f's.
Robin Gareus [Sat, 17 Oct 2015 18:30:24 +0000 (20:30 +0200)]
four f* f's.

8 years agothread-safe fftw (needs fftw-3.3.5)
Robin Gareus [Sat, 17 Oct 2015 17:23:39 +0000 (19:23 +0200)]
thread-safe fftw (needs fftw-3.3.5)

see https://github.com/FFTW/fftw3/issues/16

8 years agolinux wrapper script: load session with spaces - #6395
Robin Gareus [Sat, 17 Oct 2015 00:01:02 +0000 (02:01 +0200)]
linux wrapper script: load session with spaces - #6395

8 years agofix #6640 (snapshot clears "dirty" flag)
Robin Gareus [Fri, 16 Oct 2015 19:10:21 +0000 (21:10 +0200)]
fix #6640 (snapshot clears "dirty" flag)

empty name indicates current-session name.