Commit graph

1015 commits

Author SHA1 Message Date
Tim Mayberry
463bd470e8 Don't hide Audio Setup dialog when clicking 'OK' if engine fails to start
This has to be handled in two places, in ARDOUR_UI::do_audio_midi_setup and in
the dialogs response handler and in as the window can also be triggered via the
window action manager.
2015-10-01 09:10:19 +10:00
Tim Mayberry
2768ce9b05 Use AudioSetupDialog as parent of the error message popup when failing to start engine
Without a session loaded this makes the message dialog appear in front of the
AudioSetup dialog instead of randomly up in the top left somewhere. This does
mean though that if the AudioSetup dialog is not visible the error message
popup will appear randomly up in the top left(at least on windows, it seems
fine on linux) but I will fix that shortly.
2015-10-01 09:10:19 +10:00
Tim Mayberry
d19605aeaa Use AudioEngine::get_last_backend_error in message dialog when failing to start engine
If a backend is not returning AudioBackend::ErrorCode values to indicate the
type of error then the default string will be returned which is the same as
what was previously displayed.
2015-10-01 09:10:19 +10:00
Paul Davis
9cf56aab84 fix the logic of the GUI "toggle roll" action as it pertains to loop recording 2015-09-28 17:42:11 -04:00
Robin Gareus
6c53ebc4c1 basic GUI support to auto-align video by LTC. 2015-09-20 18:37:39 +02:00
Robin Gareus
dfd7e80fda fix crash at exit, ctrl+s during quit. 2015-09-19 19:00:43 +02:00
Robin Gareus
f27800ea41 use pbd's gstdio compatibility wrapper (GUI) 2015-09-17 14:38:09 +02:00
Robin Gareus
4a10dbbc1b deleting pointers to incomplete types may cause undefined behavior 2015-09-17 00:13:43 +02:00
Tim Mayberry
c256075e63 Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip 2015-09-16 16:55:17 -04:00
Tim Mayberry
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Tim Mayberry
fc1e7dbb55 Move DPIReset and ColorsChanged signals into UIConfiguration 2015-09-16 16:55:17 -04:00
Tim Mayberry
2d47183dc9 Move util functions into UIConfiguration as they depend on it anyway 2015-09-16 16:55:17 -04:00
Tim Mayberry
2e8af0c917 Remove duplicate extern declaration
DPIReset signal is declared in global_signals.h
2015-09-16 16:55:17 -04:00
Robin Gareus
18afd09b3b unify recent session dialogs 2015-09-16 21:37:56 +02:00
Robin Gareus
93cd0d17e4 display active peak-builds 2015-09-15 17:50:27 +02:00
Robin Gareus
b05912b0cb GUI part: cleanup peak-files 2015-09-15 14:44:05 +02:00
Robin Gareus
4a1f5c7f28 GUI part of memleak fixes 2015-09-12 20:05:46 +02:00
Robin Gareus
fd17b40e6f trick ardour to print main-thead mem-pool stats. 2015-09-12 02:18:38 +02:00
Robin Gareus
f970022838 ditto for the announcement message 2015-09-10 17:39:32 +02:00
Robin Gareus
1ebe22eeed catch mem-leaks more easily. 2015-09-10 17:39:31 +02:00
Tim Mayberry
6e944121f6 Don't unload session with Session -> Open -> Cancel, Fixes #6568 2015-09-09 09:58:13 +10:00
Paul Davis
54d216429c offer up (when possible) MBWF, RF64 and RF64 (WAV) options 2015-09-08 17:40:29 -04:00
Guy Sherman
045b878bd1 NOOP, whitespace only 2015-09-08 22:30:36 +02:00
Robin Gareus
929db238c9 fix prev. commit 2015-09-08 22:27:15 +02:00
Robin Gareus
2f1878a6f7 portable c-code for reading pingback/announcement message 2015-09-08 21:21:28 +02:00
John Emmas
d0fdcf2848 Use glib to open our 'announcements' file, rather than opening directly with ofstream
(on Windows, std::ofstream doesn't support UTF8)
2015-09-08 15:45:33 +01:00
Robin Gareus
6ade16b38d Workaround to allow loading large sessions.
During session-load, ardour calls Route::SoloControllable::set_value() 
which calls Session::set_solo()  which in turn sends a session-rt event.

Along with other rt-events (locations,..) the current solo logic limits
Ardour to only load sessions with about >= 200 tracks.

now bumped to a few thousand tracks.. until a proper solution comes along.
2015-09-06 22:36:09 +02:00
Robin Gareus
2309bb2a7f Don't keep gtk-file-chooser around.
This fixes some odd-crashes in the gtk main-thread after loading a new
session in gtk_file_system_model_sort().
2015-09-06 18:15:13 +02:00
Robin Gareus
1c9bb7de66 display session create/open failure errors. 2015-09-05 15:45:59 +02:00
Robin Gareus
041b31d7c6 fix locate to wallclock fix for PM (>= 2^31 samples) 2015-08-15 00:15:55 +02:00
Robin Gareus
a9163e9208 save-as: default to current session name.
this allows to easily add suffixes or otherwise tweak
the current session-name.
2015-08-14 02:32:08 +02:00
Robin Gareus
8132a31606 don't resize plugin-scan-report window, use sensitivity. 2015-08-03 15:54:55 +02:00
John Emmas
a7508a9cf0 When printing an XML related error, guard against NULL pointers getting passed to our error stream 2015-07-23 17:55:14 +01:00
Robin Gareus
775a400007 amend a3c21ae, video-server localhost -> 127.0.0.1 2015-07-22 12:45:24 +02:00
Robin Gareus
edce75973c offer to scan for plugins at first start. 2015-07-16 21:11:22 +02:00
Robin Gareus
be14d600c9 windows announcements file name 2015-07-11 23:39:22 +02:00
Paul Davis
c3edce9a26 if a session cannot be loaded, dump the error stack to stderr 2015-06-29 16:28:04 -04:00
Paul Davis
b822a77193 handle libXML errors via our own error handling methods 2015-06-29 16:27:49 -04:00
Paul Davis
5c8e239f95 Revert "start work on auto return target dropdown rather than button"
This reverts commit d1cbb3fb0e.
2015-06-29 14:18:16 -04:00
Paul Davis
b531c878b0 Revert "properly track, update, maintain and set auto return state"
This reverts commit 07d0539526.
2015-06-29 14:18:16 -04:00
Paul Davis
745a235b9d properly track, update, maintain and set auto return state
Conflicts:
	gtk2_ardour/ardour_ui_options.cc
2015-06-29 14:18:13 -04:00
Paul Davis
eb791b7302 start work on auto return target dropdown rather than button
Conflicts:
	gtk2_ardour/ardour_ui.cc
2015-06-29 14:18:13 -04:00
YPozdnyakov
4465fb62f3 [Summary]: add keybindings Cmd-h (hide application) for mac
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_ed.cc
2015-06-29 14:16:43 -04:00
Robin Gareus
db2fc7e6c7 initialize uninitialized var - possible fix for #6400 2015-06-29 20:03:36 +02:00
Paul Davis
59dc0881fb remove left-over debugging code 2015-06-10 22:04:20 -04:00
Paul Davis
9edd8d4b3b no Save-As progress dialog if we're not copying media 2015-06-10 18:48:12 -04:00
Paul Davis
173b007779 rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
2015-05-28 12:46:43 -04:00
Paul Davis
4c92de0159 extend save-as dialog to allow crude but functional save-as-to-empty-session 2015-05-07 22:36:32 -04:00
Robin Gareus
9e489c20da further preparations for NSM (#6265) 2015-05-04 19:08:48 +02:00