13
0
Commit Graph

961 Commits

Author SHA1 Message Date
587439acf8 fix crash on OS X el capitan when using command line arguments 2016-09-29 13:05:38 -04:00
1f88b6d35f make error dump on stderr slightly more obvious 2016-09-28 11:28:45 -05:00
8e8a0a9ef4 GUI option to Exclude unused sources 2016-09-23 20:43:26 +02:00
03fe02703d GUI updates for archiving sessions 2016-09-21 04:06:23 +02:00
5232e0f2af GUI support to archive session 2016-09-20 19:52:56 +02:00
7fe91a7d1c fix another crash at exit #7033
Don't construct the bindings editor only to disconnect its signals
2016-09-18 10:03:37 +02:00
8e995be5cf copy demo sessions 2016-09-13 19:31:38 +02:00
835b874e1e add ActionManager::rec_sensitive_actions and put "add track/bus" in this group, which is disabled during active recording 2016-09-06 16:56:51 -04:00
07bb5ff347 move kbd focus reset method into ARDOUR_UI where it (probably) belongs 2016-09-06 16:17:08 -04:00
ab76a49b22 Fix a bug when formatting time strings
It seems that 'strftime()' (on Windows) works differently from its non-Windows counterparts. Specifically, some formatting options (e.g. %F) are not recognised in the Windows implementation.

Fortunately, glibmm comes to our rescue here! So let's use the glib implementation which will hopefully work the same on all platforms.
2016-09-01 12:31:33 +01:00
289ad1f3c7 use user-specified insertion point when adding new tracks/busses with a template 2016-08-22 09:44:48 -04:00
39e9add5c0 use insert at specification when duplicating tracks/busses 2016-08-22 09:41:59 -04:00
36f232d558 factor out "new route insertion point" enums so they can be shared by relevant dialogs 2016-08-22 08:40:12 -04:00
9e981367e2 Fix another crash at exit:
Collecting bindings after ::finish() has already destroyed half the GUI
will result in memory corruption invalid Glib::RefPtr<Gtk::Action>

 Gtkmm2ext::ActionMap::get_actions()
 Gtkmm2ext::Bindings::get_all_actions()
 KeyEditor::Tab::populate()
 KeyEditor::refresh()
 Editor::set_script_action_name()
 LuaInstance::session_going_away()
 PBD::Destructible::drop_references()
 ARDOUR::Session::destroy()
 ARDOUR::Session::~Session()
 ARDOUR_UI::finish()
2016-08-21 23:02:37 +02:00
Nils Philippsen
65c2e089ab workaround changes in glibmm 2.49.x
Glib::RefPtr defines the operator bool() as explicit which breaks
comparisons like "some_ref_ptr == 0" or "... != 0".

https://bugzilla.gnome.org/show_bug.cgi?id=769502
2016-08-04 09:52:22 +02:00
ac8f4baa00 add some flush_pending timeouts 2016-07-25 14:51:23 +02:00
1a55e83e98 move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2ext 2016-07-18 14:41:25 -04:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
dc43189c7e fix save/restore of preferences torn-off-window state 2016-07-13 16:39:26 -04:00
699d008e06 use Session::cancel_all_solo() 2016-07-13 14:33:46 -04:00
eab3c57b83 fix odd double conditional 2016-07-13 13:43:31 -04:00
11f8e3adc4 stop-and-forget-capture should not toggle transport state, only stop it 2016-07-04 09:41:21 -04:00
0809f088be Revert "remove unnecessary duplicate loading of GTK RC file"
This reverts commit 694d805bb0.
2016-06-29 17:38:40 -04:00
694d805bb0 remove unnecessary duplicate loading of GTK RC file 2016-06-29 01:23:12 -04:00
b027d9df42 BSD portability
Adopted from Michael Beer -- GH pull-request #232
2016-06-26 16:44:45 +02:00
40bb2a5a08 use running_from_source_tree() 2016-06-21 19:26:05 -04:00
d42f075408 stop AddRouteDialog from being modal and from using a recursive run loop 2016-06-12 14:54:01 -04:00
2814ff4866 use contextual translation macro for "Locations" 2016-06-07 12:32:57 -04:00
44c56fff6f add pre-release warning dialog. It wil not be shown when running via ardev etc. 2016-06-06 13:40:14 -04:00
260058a4a9 move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
bd43428a65 add route dialog should always show up wherever the mouse is, not in its last location 2016-05-31 15:30:43 -04:00
2c9c210213 manually fix rebase/merge issues caused by addition of plugin presets to methods which add a new track/bus 2016-05-31 15:30:42 -04:00
52d4cea712 fix dialog message shown when a backup of an old session file is made 2016-05-31 15:30:42 -04:00
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
b2b5c965c8 some tweaks for solo logic to get things working as they were before (correctly) 2016-05-31 15:30:40 -04:00
653ae4acd6 universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
33e56e58d7 initial part of vca assignment via context menu 2016-05-31 15:30:38 -04:00
99d251de7d first pass at making the GUI for a VCA visible 2016-05-31 15:30:38 -04:00
0e1190c555 extend add route dialog to include VCA masters 2016-05-31 15:30:38 -04:00
99b0712be4 remove the entire idea of a tabbable for VCA master faders
Conflicts:
	gtk2_ardour/master_faders.cc
2016-05-31 15:30:38 -04:00
5c658db4bf most of the changes required to add a new master faders tabbable
the visibility button isn't actually working correctly
2016-05-31 15:30:38 -04:00
026f8dd80f group Product/App specific resources
* only install icons relevant to product
 * use program-name (as-is) as prefix
 * keep icons/* for all products
2016-05-17 13:12:05 +02:00
2a25d25d34 add visibility tracking for main window 2016-05-10 10:03:45 -04:00
962dd96aea amend baca1fd3 (actually use preset) 2016-05-06 16:26:22 +02:00
baca1fd377 Create new track by dragging an instrument from the favorites sidebar 2016-05-06 16:04:05 +02:00
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