Commit Graph

18145 Commits

Author SHA1 Message Date
nick_m
78f2b2885f Set toggled automation controller using a double. 2015-10-20 00:48:30 +11:00
nick_m
a4cf8e6afe Clarify user interaction preference tooltips. Also rebase branch on master. 2015-10-19 23:28:14 +11:00
nick_m
8767a4343f Restored size of mixer list pane is at least 36 px. Revert default to 75. 2015-10-19 23:28:14 +11:00
nick_m
c1f3f79454 Default to WIN_POS_MOUSE for dialogs also. 2015-10-19 23:28:14 +11:00
nick_m
19265e56a5 Mixer list pane can shrink to zero width. 2015-10-19 23:28:14 +11:00
nick_m
189d249efc New non-parented windows are initially positioned at WIN_POS_MOUSE again. 2015-10-19 23:28:14 +11:00
nick_m
f369be4769 Legatize::name () reflects its type. Fixes confusing undo record name. 2015-10-19 23:28:14 +11:00
nick_m
645b73c723 Fix snap modifier logic (again). 2015-10-19 23:28:14 +11:00
nick_m
cbf49753e6 Rc option editor - alter restart message for user interaction tab. 2015-10-19 23:28:14 +11:00
nick_m
e6ff5faa6c No-op - rename variable. 2015-10-19 23:28:13 +11:00
nick_m
3b22f5a204 Add tooltips to user config preferences. clean up combo ordering. 2015-10-19 23:28:13 +11:00
nick_m
a01113028c ArdourKeyboard - fix snap / delta logic for triple modifier combinations. 2015-10-19 23:28:13 +11:00
nick_m
749a3323de Click on a selected note unique selects it (as per regions, control points). 2015-10-19 23:28:13 +11:00
nick_m
432fc9acff Allow Alt-Shift-Windows modifier (nice for control point fine adjust).
- OSX equivalent to be decided.
2015-10-19 23:28:13 +11:00
nick_m
d6cd868ac2 Don't snap if fine adjust modifier used.
- permits non-alt modifier for fine adjust.
2015-10-19 23:28:13 +11:00
nick_m
49482e8a1c Update ContrilList debug output. 2015-10-19 23:28:13 +11:00
nick_m
c7a7876926 Select the control point about to be deleted when using shift + right click.
- fixes incorrect selection changes when doing this.
2015-10-19 23:28:13 +11:00
nick_m
39d993b43c Fix incorrect snap when adding region gain points. 2015-10-19 23:28:12 +11:00
nick_m
2d7a92b28b Don't use the all_route_group() in Editor::set_selected_track_as_side_effect ().
- we don't appear to actually use it.
2015-10-19 23:28:12 +11:00
nick_m
eb13eec529 Allow adding / toggling rubber band selection of automation control points. 2015-10-19 23:28:12 +11:00
nick_m
d6f509d4f5 Show verbose cursor control point values in MouseContent mode as well. 2015-10-19 23:28:12 +11:00
nick_m
19b512aed7 Fix for fine adjust overriding snap modifiers. 2015-10-19 23:28:12 +11:00
nick_m
528c8dc26f Add error check to region gain control point selection undo. 2015-10-19 23:28:12 +11:00
nick_m
133ce25be7 Add missing diff to last commit. 2015-10-19 23:28:12 +11:00
nick_m
041a2a4466 Region gain point selection behaves as per track automation. 2015-10-19 23:28:12 +11:00
nick_m
ec6ed64f48 Add region gain point selection undo. 2015-10-19 23:28:12 +11:00
nick_m
6b0b9de441 Amend last connit - don't use a bool to represent a double. 2015-10-19 23:28:11 +11:00
nick_m
674d96b80a Fix incorrect initial point when recording toggled automation. 2015-10-19 23:28:11 +11:00
nick_m
c566da76b6 Automation - more toggled controller twiddling. 2015-10-19 23:28:11 +11:00
nick_m
2693210d8b Automation - fix occasional inverted bool state after write. 2015-10-19 23:28:11 +11:00
nick_m
a2e862005e Fix redo action sensitivity for non-editor undo stack changes. 2015-10-19 23:28:11 +11:00
nick_m
3a5b41ec97 Make automation record undo per pass rather than per touch. 2015-10-19 23:28:11 +11:00
nick_m
44debc4483 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.
2015-10-19 23:28:11 +11:00
nick_m
ab49fea3df Amend last commit. 2015-10-19 23:28:11 +11:00
nick_m
05c7ebfde1 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).
2015-10-19 23:28:11 +11:00
48f91c6ef4 Add Audio Tracks and Busses too. 2015-10-18 19:55:56 -07:00
0185c9f25a Added Midi Tracks View mode. 2015-10-18 18:13:16 -07:00
bd6b4025de one less deprecated API 2015-10-18 23:29:58 +02:00
6ff50d2140 fix OS X system detection (amend 66704ee) 2015-10-18 23:19:52 +02:00
d17b73e989 GUI changes use new AppleUtility Library 2015-10-18 23:03:14 +02:00
38efd580b2 libs/* changes use new AppleUtility Library 2015-10-18 23:03:13 +02:00
66704eefcb alternative new version of the AppleUtility library 2015-10-18 23:03:13 +02:00
f7e3117c3b Only display Trim for tracks that have Trim. On the way:
-fixed flip mode.
	-fixed no controlable for vpot or fader
2015-10-18 07:38:40 -07:00
601d51ce71 amend prev commit. 2015-10-18 14:31:04 +02:00
17b18a593e fix additive linkflags 2015-10-18 14:22:55 +02:00
e7b8e98db2 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.
2015-10-17 22:15:07 -04:00
827c23bef3 Merge branch 'chaot4-fix_midi_menu_consistency_new' 2015-10-17 22:13:04 -04:00
André Nusser
a958770abd Remove all the now unused functions in the MidiModel class. 2015-10-17 22:12:55 -04:00
André Nusser
e807fe2b28 Introduce "Transpose..." also in the context menu of selected notes. 2015-10-17 22:12:55 -04:00
André Nusser
bd02a7f817 Add Transpose class that can be used by apply_midi_note_edit_op. 2015-10-17 22:12:55 -04:00