Commit graph

571 commits

Author SHA1 Message Date
Paul Davis
900bab7271 basic pass at deleting scratch sessions 2020-03-24 21:15:32 -06:00
Paul Davis
97340a5c89 when saving an unnamed session, rename it (GUI edition)
Note that this is done at the GUI level, might need to double check if there are
other paths into a "save" that should be covered. Control surfaces use the action, but
Lua comes to mind
2020-03-24 14:10:39 -06:00
Paul Davis
5d4ad01b58 introduce the idea of an "unnamed" session (GUI edition) 2020-03-24 14:10:39 -06:00
Robin Gareus
5f27382b88
Remove Audio+MIDI track, and consolidate route creation methods
Audio+MIDI tracks were just MIDI tracks with an additional
audio input, and do not directly allow use of vocoders (an
instrument is loaded by default).

For pitch-correction or similar use-cases one would prefer an
audio-track (main data) with MIDI only being used as control-input.

Ardour 5/6 pin-connections and side-chain offer a much nicer
workflow for this setup.

Alternatively one can get those tracks-types by manually adding
an input port to an existing track, and creating a custom template.
2020-03-19 16:18:48 +01:00
Robin Gareus
e5c819956a
Punch/Loop GUI control sensitivity 2020-02-27 22:25:37 +01:00
Robin Gareus
44e55c501e
Add some const'ness 2020-01-30 23:35:37 +01:00
Robin Gareus
242774eada
Allow to configure sample-rate of new sessions
When creating a session from the Editor (after Session > Close,
or directly via Session > New) the engine-dialog needs to be displayed
to allow configuring the sample-rate.

This also consolidates scripted session setup: meta_session_setup()
is now called from build_session(), instead of all callers.
2020-01-09 23:53:07 +01:00
Robin Gareus
1881d73f43
Remove unused API (no more unconditional splash pop-back) 2019-12-14 23:44:04 +01:00
Paul Davis
ff7fe6d4d6 when loading a session into a running instance, if the SR doesn't match the engine, stop engine and show dialog 2019-12-11 14:53:00 -07:00
Robin Gareus
605a87f402
Improve toolbar layout consistency
Directly pack Lua Script buttons into top-level table,
use same size-constraints.

Use consistent Lua Action button width, in particular for buttons 10..12.
prefer "a" instead of "10" for default numeric label
2019-11-19 04:41:06 +01:00
Paul Davis
88c4158c03 remove unused API 2019-11-06 17:05:07 -07:00
Paul Davis
c3d68338ad fix logic error with contents of session dialog shown after "Close" 2019-11-01 15:48:16 -06:00
Paul Davis
f925611395 make ARDOUR_UI::gui_idle_handler() public and remove API that became part of PluginScanDialog 2019-10-24 21:32:46 -06:00
Paul Davis
be12af293d remove now-unused member variable 2019-10-24 21:32:46 -06:00
Robin Gareus
ebb89ba805
Super basic Virtual-Keyboard UI 2019-10-18 03:50:52 +02:00
Paul Davis
54acf6af6a enforce singleton nature of Splash a little more rigorously, and slightly rationalize it's use 2019-10-11 14:29:55 -06:00
Paul Davis
aaecba2116 move pre-release dialog into StartupFSM (and enlarge font sizing) 2019-10-10 21:24:52 -06:00
Paul Davis
fe74488561 make ARDOUR_UI::load_session_from_startup_fsm() return a value, and use it 2019-10-10 16:52:00 -06:00
Paul Davis
a608bf8c8b fix decl of method with const arg 2019-10-10 16:52:00 -06:00
Paul Davis
5109abcc50 changes to ARDOUR_UI to reflect new startupFSM and non-modal SessionDialog handling 2019-10-10 16:52:00 -06:00
Paul Davis
18b4a4213f add initial version of StartupFSM along with its owners/users 2019-10-10 16:52:00 -06:00
Paul Davis
dceca00a69 factor out NSM startup code 2019-10-03 17:23:57 -06:00
Robin Gareus
4f41367836
Add Latency Control Toolbar Widgets 2019-09-29 02:45:37 +02:00
Robin Gareus
b340dc7282
Increase available Lua action script slots
* Reserve 32 dedicated editor actions for scripts
* Limit number of toolbar buttons
* Use dedicated binding-group for keyboard-shortcuts
* Tweak Preferences layout of toolbar pane
2019-09-03 04:31:35 +02:00
Robin Gareus
cfc8a2c263
Push UI theme to backend, LV2 plugin options 2019-08-26 18:58:34 +02:00
Len Ovens
6bdf5cb0d7 Gui should allow foldback bus to be mono. 2019-08-06 13:16:44 -07: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
Robin Gareus
1cec6d1250
Remove toolbar meter (meter type) context-menu
This meter is follows in sync the master-bus meter. The type should
be set directly on the master-bus.
2019-06-09 19:45:01 +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
Paul Davis
c60d8cf747 (libs) call ARDOUR::init_post_engine() from within libardour rather than requiring "users" of the library to arrange for it 2019-01-16 15:29:38 -06:00
Paul Davis
9d1fa8f820 re-order startup process, registering actions early
Mostly to stop an error when UIConfiguration::map_parameters()
looks for an action that has not yet been registered
2019-01-13 12:01:18 -06:00
Paul Davis
154f9825ff remove method and inline its contents. Nothing gained by wrapping this up 2018-12-10 16:24:27 -05:00
Paul Davis
fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
Paul Davis
e8903a7590 use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
Ben Loftis
65bda27d42 Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon.  (thanks to: the_CLA)
Move monitor keybindings (mute, dim, mono) to be globally-accessible.

Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA)
Move monitor funcs (mute,dim,mono) to globally-accessible actions.
Make a new Monitor group insted of using Transport group.
Allow use-monitor-section to be controlled by both menu and session-options dialog.
2018-12-07 12:57:26 -06:00
Robin Gareus
4dc65e6613
Prefer testing the session instead of using a global variable 2018-12-06 02:24:31 +01:00
Len Ovens
9b2612f686 Make foldback bus match foldback sends namewise
to avoid confusion with listener sends or monitor bus
2018-11-12 22:30:32 -08:00
Len Ovens
287ce3d477 Allow ListenBus to be added by GUI 2018-11-01 13:13:48 -07:00
Robin Gareus
4d3cd732c9 Unhardcode and increase bindable Lua-script-action count 2018-10-04 03:57:09 +02:00
Robin Gareus
d71dfdfd6a Add a window that shows DSP usage of all plugins
Currently hidden, use
  Editor:access_action("Window", "toggle-plugin-dsp-load")
2018-09-25 00:13:08 +02:00
Paul Davis
d9de14aa63 rename transport masters dialog -> window 2018-09-23 13:48:19 -04:00
Paul Davis
db385c2e3c new transport slave/master implementation, gui edition 2018-09-18 19:06:04 -04:00
Robin Gareus
bf694199ab Add method to show/hide VCA (and Mixbus) Mixer pane 2018-08-08 22:42:12 +02:00
Robin Gareus
66732e4791 Use standard Labels again.
Since the Gauges become little more than text with colored background,
prepare their removal. If color is wanted, use named widget-style.
2018-02-20 12:15:29 +01:00
Robin Gareus
110317aad6 Keep track of unacknowledged log-level (error-indicator)
This code was incorrectly removed in 97fb3a5557.
2018-02-20 11:18:41 +01:00
Ben Loftis
fa22689b70 Consistently use Gauge to avoid the overloaded term Indicator. 2018-02-17 09:24:15 -06:00
Ben Loftis
cfed95fd0b Remove unused status labels. (using gauges instead) 2018-02-17 09:24:14 -06:00
Ben Loftis
309ca938e6 Add Disk IO gauge. 2018-02-17 09:24:14 -06:00
Ben Loftis
33bee41288 Move cpu and disk gauges into the status bar at top. 2018-02-17 09:13:05 -06:00
Ben Loftis
97fb3a5557 Remove display_message(); No more scary log message popups on osx. 2018-02-17 09:11:41 -06:00