8237add6d2
Keep track of splash visibility behind dialogs
...
This fixes various issues, esp on macOS and Windows where
the window is only hidden, not re-stacked:
* plugin scan dialog hides the splash, but
the plugin-manager emits BootMessage
(this worked mostly because gtk event loop didn't
have time to catch up)
* More than one dialog can pop back/front the splash,
e.g. scripted session-setup or error messages when
loading recent sessions.
2021-06-23 17:55:01 +02:00
65afd57856
Remove debug message
2021-05-23 22:23:27 +02:00
f10d380d9a
RecorderUI: Tabbable Window Skeleton
2021-02-22 01:00:07 +01:00
241105b477
Revert "Add debug output for NSM"
...
This reverts commit ba9e310d4d
.
2020-12-17 16:15:33 +01:00
ba9e310d4d
Add debug output for NSM
...
Trying to track down
https://discourse.ardour.org/t/nsm-ardour-6-session-created-with-ardour-5-wont-open-correctly/105020
2020-11-26 01:29:35 +01:00
0f372e2785
Late to the party, relax 6.0 stringfreeze
2020-11-26 01:25:24 +01:00
cda2e004a8
Fix opening sessions using the Finder (OSX)
...
The ShouldLoad() signal is handled by flush_pending(). This is the first
time that normal application flow can be interrupted in ::starting()
after app->ready().
This calls ::load_from_application_api(), which in turn calls
startup_fsm->handle_path(). This sets off the complete initalization
process, loading the session, and concludes with ::sfsm_response(),
where there is a call to `delete startup_fsm;`
Previously execution continued in StartupFSM::start() which caused a
crash.
2020-06-12 22:13:58 +02:00
08d4350ddf
NSM: Use session's rate when starting JACK
...
Also log if jackd cannot be started or reached instead of
silently terminating.
2020-05-21 16:11:39 +02:00
5d0867ec10
NSM special-cases
...
Special cases to load-or-create session via NSM_Client::command_open
This bypasses most of the startup-FSM for NSM. Either a session
is loaded or created. JACK is mandatory.
2020-05-21 02:04:49 +02:00
bec9914f37
Continue without NSM if server does not respond
2020-05-13 18:34:00 +02:00
b6ca576832
Zero x-run counter after GUI completed loading a session
...
This re-introduces 4262d701eb
in a different manner.
2020-03-30 17:43:16 +02:00
591c219349
don't mark session as unnamed if -N name given on command line
2020-03-29 20:28:08 -06:00
nia
7e15496d5a
NetBSD has /etc/login.conf too.
2020-03-26 09:39:44 -06:00
f8b16e9e83
remove a few cerr outputs and change a couple to use cout, since they are not errors
2020-03-25 11:39:32 -06:00
5d4ad01b58
introduce the idea of an "unnamed" session (GUI edition)
2020-03-24 14:10:39 -06:00
86045fe526
move more or less all responsibility for ShouldLoad (macOS, NSM) back into ARDOUR_UI
2020-03-05 17:34:41 -07:00
8d6f6266d2
unfinished fix for handling desktop/NSM specifying session to load
...
More work needed to fix requirement in StartupFSM that ::load_from_application_api()
is called before ::start()
2020-03-01 21:36:07 -07:00
0ad9c3de1a
Fix another stuck splash screen
...
Don't allow dialogs to re-create the splash only to hide it.
2020-01-17 18:52:33 +01:00
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
2b55d6dce3
First batch of MessageDialog replacements
2019-12-14 23:44:01 +01:00
d574b6ff36
Enable Menu > Quit to work again after startup on macOS
2019-12-14 10:36:31 -07:00
ffc7bd122e
emit Application::ready() at a suitable time during startup
...
This causes macOS to deliver an "openFile" event which allows us
to function correctly when started by a click on a .ardour file
2019-12-14 10:20:55 -07:00
eeb57bfef1
clean up use of startupFSM
2019-10-24 21:32:46 -06:00
0d86819a2b
fix two thinkos with startup sequence
...
1) audio/MIDI setup was being shown unnecessarily
2) could crash if entire startup sequence passed without any dialogs being necessary
2019-10-18 00:07:31 -06:00
54acf6af6a
enforce singleton nature of Splash a little more rigorously, and slightly rationalize it's use
2019-10-11 14:29:55 -06:00
aaecba2116
move pre-release dialog into StartupFSM (and enlarge font sizing)
2019-10-10 21:24:52 -06:00
fe74488561
make ARDOUR_UI::load_session_from_startup_fsm() return a value, and use it
2019-10-10 16:52:00 -06:00
18b4a4213f
add initial version of StartupFSM along with its owners/users
2019-10-10 16:52:00 -06:00
2c5fcf24a5
rename ArdourStartup to NewUserWizard and rename source file(s)
2019-10-10 16:52:00 -06:00
dceca00a69
factor out NSM startup code
2019-10-03 17:23:57 -06:00
f470d3e856
remove all use of NO_PLUGIN_STATE #ifdef
...
We determined several years that we should never ever do this,
and changed the basis for the free/demo copy because of that.
2019-10-02 18:04:40 -06:00
6987196ea1
More i18n include order fixes
2019-09-26 06:11:30 +02:00
468731c14b
goodbye Profile->...trx
2019-09-25 13:02:31 -06:00
1f4b409d7e
Mixbus backports -- part one of many
...
Changes that are not explicitly #ifdef'ed should go to ardour-git.
2019-09-24 22:10:20 +02:00
5beeca2e95
split apart ardour_ui.cc into a series of distinct source modules.
...
Should be a 100% no-op - no code was altered, just moved
2019-09-23 14:49:06 -06:00