Commit graph

1190 commits

Author SHA1 Message Date
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
Robin Gareus
2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02: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
f85c320759 Push user track-templates to the template list 2017-08-18 02:38:25 +02:00
Robin Gareus
d2ad0a6c5f Consolidate add/track/route/bus wrappers -- step one. 2017-08-18 00:11:54 +02:00
Ben Loftis
ed8b8ffc71 Track Templates: redesign of Add Track dialog. 2017-08-17 13:32:01 -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
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
Robin Gareus
b3dc75fed3 Prepare for removal of Advanced Session Options (BusProfile) 2017-08-16 00:51:20 +02:00
Robin Gareus
c2afd958ba Re-add template script debugging (after 7d48e80e) 2017-08-15 17:46:04 +02:00
Robin Gareus
3ff352be79 Maybe fix crash on Close Session -> Quit (windows threading) 2017-08-11 19:45:49 +02:00
Robin Gareus
7d48e80e5f Fix MSVC builds (binding external static members)
This Revert "Lua GUI Instance update: prepare for template scripts"
commit c37cdf548d.
2017-08-11 18:01:28 +02:00
Robin Gareus
f27e53f485 Add support for scripted meta-templates. 2017-08-11 15:24:05 +02:00
Robin Gareus
80e0094ef4 Add support for templates to invoke one-time scripts 2017-08-10 02:26:08 +02:00
Robin Gareus
1b5354632f Fix Session > New (cancel retains the current session if any) 2017-08-03 19:25:14 +02:00
Robin Gareus
53565962b2 Ask user to save when using save-as or snapshot+switch. 2017-07-26 23:49:57 +02:00
Robin Gareus
1f5ebc5485 Remove ArdourPrompter wrapper 2017-07-17 21:06:04 +02:00
Robin Gareus
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
f6e182b937 Move Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Johannes Mueller
610d9fd3b9 First draft of a template management dialog
Goal is to a simple dialog that can rename and remove templates. This is
helpful in order to keep the template list tidy.

So far it works for session templates. Track templates tbd.
2017-07-12 16:15:03 +02:00
Robin Gareus
54aa82cd4b Another approach for stuck splash-screens:
Use Editor::first_idle() which is invoked every time when a session
is loaded (via set_session). This will catch ALL successful
session loads.

Failed session-loads explicitly pop down the splash in
ARDOUR_UI::load_session.

This only leaves "abort session open" which returns to the
session-open dialog (which pops back the splash).
2017-07-03 16:19:10 +02:00
Thomas Brand
218528dbe9 Fix some typos (closes GH PR #356) 2017-07-01 21:29:46 +02:00
Thomas Brand
63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
Robin Gareus
2b1b0aa240 Fix crash when rapidly switching snapshots
ARDOUR_UI::load_session() calls flush_pending() which runs
gtk_main_iteration()s until idle.

If a user selects another snapshot from the sidebar, load_session()
is called again (from a call to load session)
2017-07-01 03:10:50 +02:00
Robin Gareus
1e97c09eed Fix adding tracks/busses at the top 2017-06-17 04:37:10 +02:00
Daniel Sheeler
2c41df9474 add route dialog now has "Add" and "Add and Close" buttons. "Add" keeps dialog open so user can add multiple templates. 2017-06-03 21:44:48 -05:00
Paul Davis
b21c4b41a3 when creating a new session after working on one, the "Cancel" button should be a quit button.
This avoids ending up with a null Session pointer in the GUI (#7369)
2017-05-29 15:35:03 -04:00
Tim Mayberry
c72e3f16a1 Use correct property names for Editor transport controllable state
These are normalized in the PBD::XMLProperty ctor, which is why
Editor::get_transport_controllable_state() uses the hyphenated names to
retrieve the properties and will not result in any state format change.
2017-05-26 08:48:04 +10:00
Robin Gareus
24d5f1a624 Tweak/fix splash screen event-loop
Prevent possible endless loop in Splash::display() and handle
some related edge-cases and race conditions WRT expose_done
and is_visible().
2017-05-11 14:20:56 +02:00
Len Ovens
ba24f287ca Make -A open action list in a browser instead of command terminal. 2017-04-29 22:47:24 -07:00
Len Ovens
73e80b4429 Set -b to open in browser. 2017-04-29 15:37:31 -07:00
Len Ovens
620f3b9358 Change actions to -A and use -b to output keybindings 2017-04-28 08:19:20 -07:00
Robin Gareus
1ebf35f137 Allow to hide engine dialog w/o unloading session. 2017-04-27 21:10:37 +02:00
Len Ovens
68883cbb56 Changed "ardour" to PROGRAM_NAME 2017-04-22 15:32:48 -07:00
Len Ovens
b81d6a6160 Set -b switch to only two columns, correct options text. 2017-04-22 08:07:35 -07:00
Len Ovens
5d5642d6ec Add HTML output for -b so that output can replace actions page in manual. 2017-04-21 12:58:59 -07:00
Tim Mayberry
e15524cc64 Use PBD::to_string instead of std::ostream when setting up video server url
To avoid issues with locales that use grouping/thousands separators.
2017-04-19 09:36:59 +10:00
Tim Mayberry
41493d556a Use XMLNode::get/set_property API in ARDOUR_UI class 2017-04-19 09:36:55 +10:00
Tim Mayberry
fda05ac64b Use ID::to_s() in gtk2_ardour instead of ID::print() 2017-04-19 07:49:58 +10:00
Robin Gareus
47ea6534d0 Add option to disable blinking alert buttons. 2017-03-26 21:42:01 +02:00
Robin Gareus
4ae5737beb Add GUI-Idle debugging/profiling util 2017-03-15 11:34:05 +01:00
Robin Gareus
e8ea0548e0 Fix save-as progress dialog.
ScopedConnection and label,bar went out of scope.
2017-03-06 15:42:58 +01:00
Robin Gareus
5524bac04b Don't try to auto-start engine for new sessions
Work around logic-flow in EngineDialog which should already have
done that, but may no longer heed this special-case if sample-rate
dropdown is refreshed to only devices supported ones.
2017-03-02 20:01:48 +01:00
Robin Gareus
a1a2e088a5 Allow to switch master-meter type in the toolbar-meter 2017-02-24 23:41:22 +01:00
Paul Davis
e00d35f1e8 Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
This reverts commit 35f35ad662.

This commit was a mistake: the controllables are needed to allow MIDI binding
to transport buttons.
2017-02-21 15:49:31 +01:00