13
0
Commit Graph

11808 Commits

Author SHA1 Message Date
0034f246cb Fix some GUI side XML node mem-leaks 2017-08-20 22:26:54 +02:00
Johannes Mueller
258fa81d90 Strip trailing whitespace in template descriptions 2017-08-20 21:09:30 +02:00
Johannes Mueller
70addf1ed0 TemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"
Labeling it "Ok" would imply that by clicking it, descriptions would be saved
without further interaction. If we did so, we would also need to add a
cancel-button or handle simple closing of the dialog window appropriately.
2017-08-20 21:09:30 +02:00
Johannes Mueller
c6ecd2a6e1 TemplateDialog tweaks
* don't ask whether to save the description when renaming the template

* sane behavior when a template is deleted
2017-08-20 21:09:30 +02:00
Johannes Mueller
ea3f58a27f Clear and deactivate description editor widget when nothing is selected 2017-08-20 21:09:30 +02:00
Johannes Mueller
43b69e1fa3 TemplateDialog: keep private things private and header files simple 2017-08-20 21:09:30 +02:00
Johannes Mueller
c834e88e9e Ask user whether to save or discard unsaved template descriptions 2017-08-20 21:09:30 +02:00
Johannes Mueller
bd4db1e151 Remove the template description XMLNode before saving the template
... to avoid that the new template description is concatenated to the old one.
2017-08-20 21:09:30 +02:00
Johannes Mueller
bb20327959 Pass session description or route comment as default description
... to SaveTemplateDialog
2017-08-20 21:09:30 +02:00
Johannes Mueller
c5c3498e98 Use const wherever you can 2017-08-20 21:09:30 +02:00
Johannes Mueller
e5a41084f3 Name tweak (more consistent with other code) 2017-08-20 21:09:30 +02:00
Johannes Mueller
245154d06a Let user add a route template description on saving route templates 2017-08-20 21:09:30 +02:00
Johannes Mueller
ae51d5fd4e Let the user add a template description on saving session templates 2017-08-20 21:09:30 +02:00
Johannes Mueller
908369ab3e Save template description at toplevel rather than in <Metadata/> 2017-08-20 21:09:30 +02:00
Johannes Mueller
e933db1a12 Make template descriptions editable in template manager 2017-08-20 21:09:30 +02:00
7bd4a41cdb Tweak route-dialog layout & sensitivity 2017-08-20 03:46:36 +02:00
1a70a2f977 Cont'd work on route-templates 2017-08-20 00:18:58 +02:00
c44979566d remove unused header (fixes OSX builds)
cocoacarbon.mm -> ardour_ui.h -> LuaBridge.h
Apple's  "Nil" vs Lua "Nil"
2017-08-19 22:30:00 +02:00
91a2cf7901 Backwards compatible LuaDialog layout (+new colspan option) 2017-08-19 03:12:28 +02:00
d3b341d5c2 Fix copy/paste typo in e0a83a7 2017-08-19 02:36:36 +02:00
e3475f8ae8 NO-OP: whitespace & style 2017-08-19 01:39:43 +02:00
722ac7575a Revert non "aesthetic tweaks" from f614d10994 2017-08-19 01:34:27 +02:00
a07465ceaa NO-OP: whitespace 2017-08-19 01:29:27 +02:00
2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
d7cd457bdf Templates: basic support for columns in the script dialog. 2017-08-18 16:40:14 -05:00
f614d10994 Templates: aesthetic tweaks. 2017-08-18 16:40:14 -05:00
af103cf3c2 Remove old destructive API (non layered is a dynamic mode) 1/2 2017-08-18 20:59:52 +02:00
b98712ff5b amend e0a83a75 RouteDialog + script details 2017-08-18 20:56:30 +02:00
e0a83a758e Redesign Session+Route Template Meta Script API
Remove special-cased script types. Allow Action-Scripts to be re-used
for session-setup or route-templates.
2017-08-18 20:42:55 +02:00
91dcccb12b Fix quantization end-grid size. 2017-08-18 12:49:34 +02:00
013e3e84be Fix MIDI Quantization for internationalized Ardour.
Grid-settings are translatable, parsing a number from a translated string
e.g. "Quart de temps" for "Beats/4" failed.
2017-08-18 12:49:06 +02:00
f85c320759 Push user track-templates to the template list 2017-08-18 02:38:25 +02:00
bfee5a65d2 Fix typo in 952b8e1d74 2017-08-18 01:12:05 +02:00
952b8e1d74 Initialize an uninitialized variable 2017-08-18 00:18:59 +02:00
44657d8fc6 NO-OP: whitespace & scope 2017-08-18 00:18:18 +02:00
d2ad0a6c5f Consolidate add/track/route/bus wrappers -- step one. 2017-08-18 00:11:54 +02:00
4914b7feea Track templates: add some (unfinished) template files. Hide Created-With column in Ardour. 2017-08-17 15:31:30 -05:00
6042c60b05 NO-OP: whitespace & scope 2017-08-17 21:00:46 +02:00
a02d8d254a Fix merge error. 2017-08-17 13:49:41 -05:00
ed8b8ffc71 Track Templates: redesign of Add Track dialog. 2017-08-17 13:32:01 -05:00
91e684ceeb Templates: fix unintended commit from debugging 2017-08-17 13:31:32 -05:00
0ac2ea51a5 Templates: dialog tweaks. 2017-08-17 13:31:02 -05:00
e59b28de09 Templates: Dim the border around template description text. 2017-08-17 13:28:41 -05:00
8ecbf0486f Update GUI, session-format notifications, skip unusable in recent list 2017-08-17 18:52:07 +02:00
e62e040502 SessionDialog: hide created-with column in Ardour, use a tooltip. 2017-08-17 16:47:27 +02:00
431702ecbc Complete Lua-binding dump (after 8eb3b9d34b) 2017-08-16 21:00:23 +02:00
24cb141aa6 Revert "Revert ongoing SessionDialog changes for 5.11 release."
This reverts commit bd40b9132c.
2017-08-16 05:23:13 +02:00
bd40b9132c Revert ongoing SessionDialog changes for 5.11 release.
To be reverted again after the release. This temporarily reverts

26c88b2, c67d1d4, 5e41293, 8b7df13, ff61435, 1039894, 8717c0d
and GUI parts of 47d86cf
2017-08-16 01:17:35 +02:00
26c88b2a3e Replace advanced session-setup options with script 2017-08-16 00:51:20 +02:00
b3dc75fed3 Prepare for removal of Advanced Session Options (BusProfile) 2017-08-16 00:51:20 +02:00