Commit Graph

915 Commits

Author SHA1 Message Date
5c9660b62e re-introduce "add track/bus" from mixer window 2016-05-06 03:08:46 +02:00
17ace643e4 OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) 2016-05-04 23:09:45 -04:00
e6b95a3d65 fix a Wsigncompare and 2 -Wuninitialized 2016-05-01 13:35:30 +02:00
f8e05b6be3 remove the splash-screen when changing sessions
ARDOUR_UI::load_session()'s loading_message() shows the splash in
all cases. But only the initial ARDOUR_UI::starting() does destroy it.

In some cases we got away because the Engine Dialog pops back the
splash and the dialog is never destroyed (only hidden).
It's not until ~Dialog that the splash is displayed again (if it exists).
2016-04-26 13:03:47 +02:00
d30b901d8c save-as/snapshot tweaks:
* allow to take snapshots and save-as read-only session.
* change ambiguous "Save as" window title for "Snapshot & Switch"
* start save-as in configured session-dir
2016-04-23 14:45:19 +02:00
2c9b341722 Clarify my XML error printout from yesterday (see previous commit) 2016-04-22 07:18:15 +01:00
fba9dc8c05 When logging XML error messages, make sure we don't accidentally log an empty message
Amends my previous commit #a7508a9c from 23rd July 2015. If the filename and/or line number were NULL, we could end up logging a message with no text!
2016-04-21 16:45:15 +01:00
27335a2034 GUI part of 00169f1da (TRY_AUTOSTART_ENGINE) 2016-04-19 17:20:45 +02:00
e85680f5ca GUI samplerate Mismatch notification 2016-04-18 15:17:51 +02:00
652468a344 add a try-autostart-engine option (most recently used settings) 2016-04-18 14:11:22 +02:00
ea17875c36 show window title in DEBUG::Accelerator debug trace 2016-04-13 13:00:04 -04:00
a16c7a8a90 add option to create new routes with strict-i/o enabled. 2016-03-28 18:25:34 +02:00
a8943538ea Hide lua script selector before showing lua parameter dialog. 2016-03-23 17:00:10 +01:00
627f2aae48 UI part of lua code/header consolidation. 2016-03-23 17:00:10 +01:00
e7181c0cc4 Midi Busses? why yes! 2016-03-16 04:41:19 +01:00
c07bca3a62 fix capitalization of sections of key editor 2016-03-15 21:25:07 -04:00
08f9a439a7 fix segfaults/crashes when quitting under valgrind 2016-03-15 15:35:11 -04:00
3239876faf fix carelesslly deleted line that caused endless loop when missing 2016-03-15 13:14:35 -04:00
ad4ae69a1d when handling a keyboard event, if the current focus widget has ardour bindings attached, use them rather the ones for the main window content tab 2016-03-15 12:41:21 -04:00
3a2ba2e958 Rewrite commit 68e81a6, prefer forward declaration and includes in cc.
only MSVC requires the complete class for the templated c'tor in
window manager.h
2016-02-28 11:58:47 +01:00
68e81a6afc Move our #inclusions for "lua_script_manager.h"
For whatever reason, almost none of gtk2_ardour will compile (with MSVC) unless 'lua_script_manager.h' gets #included by 'gtk2_ardour/window_manager.h'. No idea why... :-(
2016-02-27 16:29:56 +00:00
8d81f121e5 fix compilation on OSX/PPC (old coreaudio) 2016-02-24 12:04:01 +01:00
2532911b18 Editor Actions Scripts & Manager 2016-02-23 15:42:53 +01:00
341758674b Add GUI to instantiate session-scripts 2016-02-23 15:42:26 +01:00
6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
c932c56233 cleanup post-rebase-against-master messes 2016-02-22 15:31:25 -05:00
51879285c5 tab-free tabbed display, part 1.2 2016-02-22 15:31:25 -05:00
fa31454688 tweak DEBUG_TRACE output for key_press_focus_accelerator 2016-02-22 15:31:25 -05:00
56770ff0af change GTKOSX macro constant to use __APPLE__ instead 2016-02-22 15:31:25 -05:00
aa71d60ab9 remove Bindings::ignored_state and use Keyboard::RelevantModifierMask 2016-02-22 15:31:24 -05:00
aba063bfaa remove Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator().
This is no longer needed because we can set the modifier to the actual bits that GTK uses for Command (META+MOD2)
2016-02-22 15:31:24 -05:00
6991a07902 remove all trace of SAE from source code.
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22 15:31:24 -05:00
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
589f2a1ab8 change suffix of keybinding files to ".keys" to avoid conflict with earlier versions.
Move some code around that should never have been inside libs/ardour to begin with.
2016-02-22 15:31:24 -05:00
9b9a7beb13 cleanup various merge conflict resolution errors/omissions 2016-02-22 15:31:24 -05:00
ec65e351ac ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window 2016-02-22 15:31:24 -05:00
ae88abff33 use newer API to show all actions and bindings with -b 2016-02-22 15:31:24 -05:00
20ba651af4 fix up code to print all available actions and existing key bindings 2016-02-22 15:31:24 -05:00
09f9020897 action maps now have names 2016-02-22 15:31:24 -05:00
949163f806 more changes to Bindings, Keyboard APIs 2016-02-22 15:31:24 -05:00
67e19c177f radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
We need this because we need binding information/objects before all
Actions have been defined.
2016-02-22 15:31:24 -05:00
6e55812535 use Bindings API for binding replacement 2016-02-22 15:31:23 -05:00
1b5247ebb9 use X_() to mark binding names as non-translated 2016-02-22 15:31:23 -05:00
0f748492b3 fix double initialization of key bindings editor AND rename video import menu item correctly 2016-02-22 15:31:23 -05:00
a13a8da8ac switch all action registration/binding code over to new API.
This removes the ability to change bindings via menus.

Still to come: saving modified bindings, and reworking the key editor
2016-02-22 15:31:23 -05:00
8933d53271 get current tab on startup correct.
Note that Gtk::Notebook will not switch to a page with an invisible widget. This took me TOO LONG to discover.
Also move code around between files
2016-02-22 15:31:23 -05:00
8c54142734 hide splash in a sensible and understandable way 2016-02-22 15:31:22 -05:00
e2e75d8346 add explanatory/reminder comment 2016-02-22 15:31:22 -05:00
1158271f72 remove "toggle-foo" style actions related to editor/mixer windows and provide new methods that just use Tabbable::make_visible() 2016-02-22 15:31:22 -05:00
39ee7382e7 refactor key press handling to include a hack that continues to use GTK accelerators/bindings for now 2016-02-22 15:31:22 -05:00
e3db5c5c05 save & restore the main window geometry 2016-02-22 15:31:22 -05:00
37fce09a18 widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators 2016-02-22 15:31:22 -05:00
50e4ebff36 update main window title appropriately 2016-02-22 15:31:22 -05:00
552e995297 save/restore tabbable state 2016-02-22 15:31:21 -05:00
98b14ad0e6 get normal GTK accelerators working again 2016-02-22 15:31:21 -05:00
9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
1a00e323e3 the basics of tabbed 2016-02-22 15:31:21 -05:00
8774be86f7 prefer initialization to assignment for ARDOUR_UI 2016-02-22 15:31:21 -05:00
9bac8dfaad the basics of tabbed 2016-02-22 15:31:21 -05:00
51234d6d09 initialize uninitialized var - possible fix for #6400 2016-02-22 15:31:21 -05:00
9287a9ba8e prefer initialization to assignment for ARDOUR_UI 2016-02-22 15:31:21 -05:00
02c8d6d648 the basics of tabbed 2016-02-22 15:31:21 -05:00
60c4b30b7e manually revert most of previous commit related to dialog/main window focus management 2016-02-22 13:55:31 -05:00
3a08ac5e1f os x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog 2016-02-22 11:49:17 -05:00
9e5b7db89f first compiling, mostly working version of group controls changes 2016-01-22 11:58:31 -05:00
16623b1cb3 add more remote transport toggles for touchOSC: midi_panic, toggle_roll, stop_forget, set_X_range, quick snapshots. also add boilerplate for monitor controls, but those are not implemented yet 2016-01-18 18:24:14 +01:00
df5c5d338a space bar action (Transport/ToggleRoll) should still start transport if synced to Engine (JACK) 2016-01-12 08:28:54 -05:00
727d6128f1 remove debug output 2016-01-07 13:38:48 +01:00
9e3299f97d change Controllable::set_value() API to include grouped control consideration.
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
2016-01-02 04:58:30 -05:00
135eedc685 the return of the proper GUI window titles 2015-12-29 11:03:43 +01:00
74e4081ef4 save users who like to suffix snapshot names some typing. 2015-12-28 19:24:30 +01:00
4bc075fe7e correct name the event loop used by the GUI 2015-12-12 11:12:10 -05:00
7409d5f224 catch a potential segfault (unload session) 2015-12-10 12:46:24 +01:00
0f3c623a3f fix OSX openFile Application Delegate
allows to open Ardour via double-click on a .ardour file in Finder.
2015-11-29 17:04:40 +01:00
André Nusser
69229f74e0 Add more menu entries to the 'Help' menu.
* The functions were already implemented -- I just added the links in
ardour.menu.in, corrected spelling and the link to the tracker.
* The tracker link was corrected as I considered it confusing when one
is not already logged in.
2015-11-25 17:32:46 -05:00
61e22d9f11 fix logic errors in duplicate tracks dialog 2015-11-14 16:02:05 -05:00
ef810eacd8 move logic of track/bus duplication into DuplicateRouteDialog 2015-11-14 15:25:52 -05:00
456b6adf2b tweak duplicate routes dialog appearance depending on whether or not busses/tracks are the target 2015-11-14 11:05:15 -05:00
aeb7246977 partial dialog to control track duplication 2015-11-14 10:30:08 -05:00
100701cb23 initial/partial implementation of duplicate track/bus 2015-11-13 16:14:49 -05:00
André Nusser
14c2409f47 Show info dialog when opening chat via Help -> Chat.
This should clarify for users that in IRC you post your question and
wait, and not leave after a few minutes.
2015-11-04 17:53:03 -05:00
André Nusser
6ccffbaf09 Improve behavior of overwrite_file_dialog.
- Make overwrite file dialogs transient.
- Cancelling the overwrite dialog doesn't close initial dialog.
2015-11-04 17:52:00 -05:00
4a3413f2d4 suspend timers while flushing the gtk-event queue.
This fixes an issues where Ardour never completes to flush the GUI event
queue due to rapid updates for meters and similar events.

ARDOUR_UI::load_session() never returned and the complete session
ran inside Gtkmm2ext::UI::flush_pending(), this later causes a crash
at exit.

as side effect, this also speeds up session load.
2015-10-30 15:55:27 +01:00
nick_m
72556cdd7a Amend last commit. 2015-10-23 02:14:03 +11:00
nick_m
410d4316b9 Center some windows known to be presented by ardour. 2015-10-23 01:10:56 +11:00
André Nusser
5d50abed75 Confirmation on overwrite for track and session templates. -fixes #6587 2015-10-21 23:28:44 -04:00
f307080808 disable follow-edits with external sync #6577 2015-10-18 02:03:41 +02:00
619900e333 fix #6640 (snapshot clears "dirty" flag)
empty name indicates current-session name.
2015-10-16 21:10:21 +02:00
23b975e172 use API to add system-specific volumes - #6643 2015-10-16 19:07:25 +02:00
5ad63bd3f8 re-enable engine sensitive actions..
..after an engine stop/start cycle.
e.g "New Insert", "New External Send"
2015-10-15 21:50:01 +02:00
696b89b71a rework 8b80fe0, use std::string, not char* 2015-10-15 11:24:15 +02:00
8b80fe04ad Avoid calls to Glib::ustring << operator at all cost.
Glib::operator<<(std::ostream&, Glib::ustring const&) involves
loadlocale which is not thread-safe on OSX.

This fixes various seemingly random crashes on OSX.
2015-10-14 22:46:15 +02:00
6b00e149d2 cancel-solo always clears all solo-state, just in case. 2015-10-06 20:06:25 +02:00
528ad3416a Remove unused methods in ARDOUR_UI for starting/stopping engine 2015-10-06 13:29:57 +10:00
5ed05218e6 Update sample rate and CPU load in status bar when AudioEngine stopped 2015-10-06 13:29:57 +10:00
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
eebbf64484 provide Main/cancel-solo as an action and make rude solo button(s) use it 2015-10-02 07:32:56 -04:00
520b78b841 Add parent window argument to ARDOUR_UI::check_audioengine
Ensures relevant placement of the dialog when presented
2015-10-01 09:10:19 +10:00