Robin Gareus
5c579ed52d
Remove unused #include<> (1/2)
...
PBD::stacktrace() is not used nor needed by default.
It should be used sparingly.
2021-05-05 17:43:28 +02:00
Robin Gareus
00346353a3
Prevent entering an illegal session name via copy/paste or otherwise
2020-06-09 20:30:57 +02:00
Nikolaus Gullotta
e6bbbe18c6
Skip recent sessions with empty strings for names
...
This can happen if the recent sessions file has new lines with no
characters on it which can be the direct loading sessions with wacky
names. For example, one that has a carriage return or newline in it.
2020-06-08 09:38:29 -05:00
Robin Gareus
606d6de4b1
Consistent Lua script error and print() output 2/2
2020-04-18 18:16:12 +02:00
Robin Gareus
41ea63cead
Keep string markdown untranslatable
2020-04-14 19:01:10 +02:00
Paul Davis
4b40243f2b
fix two poorly-formed uses of Glib::DateTime
2020-03-25 10:45:00 -06:00
Robin Gareus
4d9017a1fb
Also allow scratch sessions via Session > New
2020-03-25 02:43:20 +01:00
Robin Gareus
993cba5a7c
NO-OP: whitespace
2020-03-25 02:34:17 +01:00
Paul Davis
ccc9042bf2
detect whether or not user edited the name for a new session
...
Suprisingly hard/irritating. Thanks, GTK! (Gtk::Entry::set_text() emits all
the same signals that actual user interaction can trigger, except for key events)
2020-03-24 14:10:39 -06:00
Paul Davis
78cf1ed119
prefill new session name with a date-based default
...
Select it, so that typing will immediately replace it
2020-03-24 14:10:39 -06:00
Robin Gareus
efb9f3c54e
NO-OP: cleanup includes
2020-03-15 20:19:13 +01:00
Nikolaus Gullotta
a13fabf344
Resize session dialog back to initial height and width on "back"
...
This fixes an issue where the size of the window stayed much larger
than its content if there are no sessions in the session search path
after attempting to make a new session and then pressing "back"
2020-02-06 14:45:09 -06:00
Paul Davis
3b1ec8a43b
NOOP: move brace
2019-10-10 16:52:00 -06:00
Paul Davis
cafae1663e
modify API of SessionDialog to reflect that it is never used with command line parameters anymore
2019-10-10 16:52:00 -06:00
Paul Davis
195245fdb0
add SessionDialog::clear_name()
2019-10-10 16:52:00 -06:00
Paul Davis
0ea5344be6
change SessionDialog::meta_master_bus_profile() to be a static method
2019-10-10 16:52:00 -06:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
...
Copyright-holder and year information is extracted from git log.
git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Paul Davis
b058356d1e
reverse part of a previous change to session dialog
...
Back-button sensitive has a more complex semantic than the change
took into account
2019-07-18 13:39:56 -06:00
Paul Davis
4679439af9
some cleanups to the use of "require_new" in the SessionDialog
...
This removes some redundant code and makes the logic slightly
easier to read
2019-07-18 10:54:06 -06:00
Robin Gareus
473fd45ca2
Allow to use session-init/setup scripts from the commandline
2019-07-18 16:30:08 +02:00
Robin Gareus
aebdf5f00b
Fix --template commandline option
...
This fixed an issue with incorrect ".template" suffix on path itself,
and also correctly hides the dialog's template list.
2019-07-18 16:16:11 +02:00
Robin Gareus
59fe1e5bdd
Consolidate code: use libardour API to sort scripts
2019-07-18 15:52:32 +02:00
Robin Gareus
5f18d8ddfd
Clarify default template description
2019-04-10 00:22:39 +02:00
Robin Gareus
7b96fa1c5e
Fix some Gtk::Menu memory leaks
...
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.
The solution here is to use a shared Gtk::Menu pointer that is
centrally de/re-allocated.
This works because the GUI is single-threaded and at most one
context menu is visible at a time.
2019-03-07 23:50:50 +01:00
Robin Gareus
4dc65e6613
Prefer testing the session instead of using a global variable
2018-12-06 02:24:31 +01:00
Robin Gareus
b81fdeaa66
Work around tooltips in treeviews selection issue #7678
...
When tooltips are disabled, but a tooltip column is set for a treeview,
the treeview selection behaves inconsistently. It requires a 3rd click
after expanding any child-rows to select a child.
2018-11-01 23:21:23 +01:00
Robin Gareus
b844e3f45a
Remove debug output from 39f65bbce
2018-10-05 00:56:59 +02:00
Robin Gareus
39f65bbce2
Sort Factory/Lua-script session-templates
2018-10-04 03:36:40 +02:00
Robin Gareus
b73eac450a
Fix session-archive file extension filter
2017-10-03 03:09:25 +02:00
Robin Gareus
f9710f4624
Update Session-Archive Dialog: add compression-option
2017-10-03 02:24:19 +02:00
Robin Gareus
0fd861d8de
s/created with/modified with/
...
Once a session has been saved by a more recent version or a different
variant, the session file is tied to that version/variant.
The created-with version is only for debug purposes and internal use.
2017-09-21 02:01:12 +02:00
Paul Davis
ea5fa64c0b
manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample
2017-09-18 14:59:11 -04:00
Paul Davis
30b087ab3d
globally change all use of "frame" to refer to audio into "sample".
...
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Ben Loftis
3c81351413
Mixbus needs to show Created-With on the recent sessions list
2017-09-10 15:33:12 -05:00
Robin Gareus
08e564dc2e
Fix session-open after selecting new, template, then back
2017-08-24 02:08:32 +02:00
Robin Gareus
1a70a2f977
Cont'd work on route-templates
2017-08-20 00:18:58 +02:00
Robin Gareus
722ac7575a
Revert non "aesthetic tweaks" from f614d10994
2017-08-19 01:34:27 +02:00
Robin Gareus
2cc32456ab
Lua may call C++ functions with throw. Catch them
2017-08-19 01:06:44 +02:00
Ben Loftis
f614d10994
Templates: aesthetic tweaks.
2017-08-18 16:40:14 -05:00
Robin Gareus
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
Robin Gareus
6042c60b05
NO-OP: whitespace & scope
2017-08-17 21:00:46 +02:00
Ben Loftis
a02d8d254a
Fix merge error.
2017-08-17 13:49:41 -05:00
Ben Loftis
91e684ceeb
Templates: fix unintended commit from debugging
2017-08-17 13:31:32 -05:00
Ben Loftis
0ac2ea51a5
Templates: dialog tweaks.
2017-08-17 13:31:02 -05:00
Robin Gareus
8ecbf0486f
Update GUI, session-format notifications, skip unusable in recent list
2017-08-17 18:52:07 +02:00
Robin Gareus
e62e040502
SessionDialog: hide created-with column in Ardour, use a tooltip.
2017-08-17 16:47:27 +02:00
Robin Gareus
24cb141aa6
Revert "Revert ongoing SessionDialog changes for 5.11 release."
...
This reverts commit bd40b9132c .
2017-08-16 05:23:13 +02:00
Robin Gareus
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
Robin Gareus
26c88b2a3e
Replace advanced session-setup options with script
2017-08-16 00:51:20 +02:00
Paul Davis
c67d1d477e
tone down frame color and use a better widget name
2017-08-15 10:48:29 -04:00