Commit graph

29492 commits

Author SHA1 Message Date
Nikolaus Gullotta
06302e2e8b
Quell some compilation errors 2020-03-23 13:54:17 -05:00
Nikolaus Gullotta
7708b677d0
Remove defunct MixerSnapshotDialog class and associated menu items 2020-03-23 13:54:17 -05:00
Nikolaus Gullotta
f4db51d1e1
Undo commit 83b855e49e, not ready for prime-time 2020-03-23 13:54:17 -05:00
Nikolaus Gullotta
24ff335b3a
Initial work on getting MixerStrip representations for MixerSnapshots 2020-03-23 13:54:17 -05:00
Nikolaus Gullotta
3160904a5e
only add vca or group state IFF it has not been added before 2020-03-23 13:54:17 -05:00
Nikolaus Gullotta
54cd8e6368
more work on getting TemplateManager to use the SnapshotManager:
Create hookup, and use RenamedSnapshot signal
2020-03-23 13:54:16 -05:00
Nikolaus Gullotta
ef3f3d0f47
initial work on getting TemplateManager to use the SnapshotManager (and to hook up the correct signals) 2020-03-23 13:54:16 -05:00
Nikolaus Gullotta
2ea77a93ca
remove unnecessary check for lists 2020-03-23 13:54:16 -05:00
Nikolaus Gullotta
05a93ce6fd
add description handling to MixerSnapshots and save_as_template 2020-03-23 13:54:16 -05:00
Nikolaus Gullotta
daa274d12f
add name prop to MixerSnapshot root node 2020-03-23 13:53:50 -05:00
Nikolaus Gullotta
727ae70e3b
NO-OP: consistent writing 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
a30ef6d0b4
complain about new_from_external overwriting an existing row 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
426cbd0287
if snapshot is empty after creation, don't add it to the list 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
b14b9f352e
get_row_by_name should only use the snapshot's label to check against, as the row's name may have "..." appended to it (if it's long enough) 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
2aac61b509
if new_name is the row's name don't delete 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
0952a8d399
NO-OP: More whitespace changes 2020-03-23 13:53:39 -05:00
Nikolaus Gullotta
abe33ec069
use the remove_row function for removal, and add a few checks for rename_snapshot 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
a324a485e6
more whitespace changes 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
d3b53f62f2
whitespace, change new_from_session to new_from_external, reorder imports, and construct external dialog only once and hide/show as needed 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
afd9aae422
rename prompt_delete to prompt_overwrite and fix scenario where cancelling the prompt still went ahead with overwriting 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
86ebded286
fix typo 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
dee8f36e8b
complain about overwrites when creating new snapshots 2020-03-23 13:53:38 -05:00
Nikolaus Gullotta
bb9b4119e2
notify the user if a promoted snapshot will overwrite something in the global snapshots list 2020-03-23 13:53:37 -05:00
Nikolaus Gullotta
4a085b91f5
add PromotedSnapshot signal to manager, and subscribe to this this in the global MixerSnapshotList 2020-03-23 13:53:37 -05:00
Nikolaus Gullotta
132e895b18
fix GPL info 2020-03-23 13:53:30 -05:00
Nikolaus Gullotta
5e8e26713c
template picker window and template list are now only constructed once and updated as needed 2020-03-23 13:53:30 -05:00
Nikolaus Gullotta
c91870ee3f
NO-OP: cleanup code slightly 2020-03-23 13:53:23 -05:00
Nikolaus Gullotta
9b9e5b3da7
allow the user to set all selected to the same state... this code is ugly but it works for now 2020-03-23 13:53:23 -05:00
Nikolaus Gullotta
60a8a5178c
Change 'open session' with new 'external' language 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
9cfa021544
NO-OP: remove now defunct and commented out code 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
ff02990080
get substitutions into a working state 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
85ec750c70
fix button packer sizing issues, and change 'from session' to 'from external' 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
388aa3ab44
notify the user this is about to be overwritten 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
74160dbb0a
no-op whitespace 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
f33a841f54
prepare for signal handling and remove rows that have the same name of rows you're renaming (also have the manager manage culling of pointers) 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
344bf2e553
add popup confirmation for promote_snapshot 2020-03-23 13:53:04 -05:00
Nikolaus Gullotta
66ea7d69c6
small changes to dialog and widgets 2020-03-23 13:53:04 -05:00
Nikolaus Gullotta
650193995a
more work on 'Apply Template' 2020-03-23 13:52:52 -05:00
Nikolaus Gullotta
ae873ae32a
rough in "Apply Template" dialog for global mixer templates 2020-03-23 13:52:41 -05:00
Nikolaus Gullotta
4974333227
oops, this needs to default to false 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
3d0a362ccd
mixer snapshot list can be local *or* global. This will be controlled by it's constructor 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
e0ce2c00e5
SnapshotList belongs in ARDOUR namespace 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
59d8397c6b
general cleanup of code 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
85e9b8d91d
allow user to prevent removal confirmation popup 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
42fc3a2703
MixerSnapshotManager::create_snapshot needs to correctly set the path when it creates the snapshot 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
90b2249f97
fix button: the term is actually snapshots when local and template when global 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
de9fe2ec9a
mixer_snapshots now use the manager's functions 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4a658632b0
promoting twice may overwrite a current set member adn thus needs to be erased and re-inserted 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4342159c30
implement rename, remove and promote right-click functions for local snapshots 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
e64b1368e0
optimize create_snapshot to delete the item from the set and insert the new one rather than tossing out the whole set and starting from scratch 2020-03-23 13:52:25 -05:00