Commit graph

29422 commits

Author SHA1 Message Date
Ben Loftis
f31e21e047
Rough-in new menu items and functions for track templates. 2020-03-23 13:50:36 -05:00
Ben Loftis
c3925a222f
Move save-track-template out of ROUTE_UI, since it will be effective on multiple routes. 2020-03-23 13:50:13 -05:00
Nikolaus Gullotta
29b8aad981
mv apparantly modifies creation time of a file, make this modified time only to preserve actual creation date 2020-03-23 13:49:43 -05:00
Nikolaus Gullotta
0dbb0b5ee3
some cosmetic changes to the dialog, make it shorter, make toggle columns check boxes and expandable 2020-03-23 13:49:43 -05:00
Nikolaus Gullotta
942b6e6afd
Fix crash: new_route_from_template can return an empty RouteList if contruction failed 2020-03-23 13:49:43 -05:00
Robin Gareus
da5081c059
NO-OP: remove trailing whitespace 2020-03-23 13:49:43 -05:00
Robin Gareus
ebae835434
NO-OP: remove trailing whitespace 2020-03-23 13:49:43 -05:00
Nikolaus Gullotta
c10394873f
midi routes have different playlists 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
7f2784a01f
we don't need an indicator for special routes since we aren't really interested in them anymore 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
c0403348d9
if the dialog closes, don't add it 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
a1965214d1
re-enable group settings according to it's state. for some reason, set_state doesn't work on this. Probably better to do it like this anyways. 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
be6249229e
we need to copy the top level playlist with an easy work around... alternate playlists will be harder 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
0016361e19
mixer snapshots can now be loaded form session and route templates 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
26344b324e
push back group state recall until after routes, so that routes who are the sole member of a group can resurrect their group for later 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
be5d9ace1f
load_from_session now notifies routes that they have a group and it loves them 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
0868e65cb1
supposed to add group name as property, not route name, and experiment with different ways to add groups and routes to groups 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
82651ab372
re-add group setting and fix a function name error 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
4a97792404
skip special routes for now and fix crash where bailing out of the dialog early would cause a ptr to stay around 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
99381e75f2
no-op: whitespace, remove unused deconstructor and redundant checks, rename a function... 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
f069e2f27d
no-op: clean use namespace PBD 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
a6f769d1dd
skip special routes for now until a proper setting mechanism is in place 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
0844140c90
recall now correctly restores order, and change a few variables around 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
92d81f5f54
re-add sanitize_node function to mixer_snapshot.h and add check + removal for plugins recall flag 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
edfcd57590
oops, that's not a pointer 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
f91fb4defa
get rid of sanitize function and use new_route_from_template instead of set_state 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
fa4fcd2e60
remove sanitize node function, and clear substitutions vector before recalling. Fixes issue with dangling ports 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
e42f5322b8
fix dialog bug where right click -> rename could be longer than 48 characters and try some size changes 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
3b85808c49
change RecallFlags enums to make way for new functionality 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
df92250525
do not honor aux send data in recall 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
4f53824e84
fixing some commentary 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
d5d96134d2
remove remnant of attempted bugfix 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
5a04577488
add timestamp to location and date sorting from timestamps to export_timespan_selector 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
9f068afe02
initial dirty work on a state substitution dialog - lots of cleanup and imporvement needed 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
7c6dbf3f6b
begin work on substitution dialog 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
0df52eecf2
add access to mixer_snapshot's session 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
427f9a1099
small optimization to refill 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
d12efc66da
NO-OP: Whitespace, variable names, general clean-up 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
d32a88d4fc
don't add the snapshot if it's empy 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
c4d472e094
delegate new_row function to create new rows in our models 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
2b45de8971
further performance enhancments, append new row instead of refilling 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
276c07f36e
provide Treemodel::iterator to popup_context_menu to enhance performance, instead of a total refill, we just operate on the row instead 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
42fe3f7c6e
split refill into refill_display which may speed things up slightly and add some small optimizations 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
645e53d796
replace gross in array with vector instead 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
40e5ad4e72
sanitize node is smarter about just removing 'important' nodes due to conflicts with mixbus's version of route.cc - now we try to simply remove the parts that overwrite them 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
2d77e99d29
add checks for MIXBUS for certain features, and reconcile that with the GUI parts as well 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
0f8702478e
add flag checks to sanitize_node 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
9e0030a900
NO-OP: rename functions to better reflect what they do 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
268d55a6ed
flags should start out all checked 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
574de9fa55
allow flags to be setable from the MixerSnapshotDialog 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
6dc4227cc4
set up recall flags for later usage 2020-03-23 13:49:37 -05:00