Commit graph

1046 commits

Author SHA1 Message Date
Robin Gareus
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
John Emmas
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
Robin Gareus
8d81f121e5 fix compilation on OSX/PPC (old coreaudio) 2016-02-24 12:04:01 +01:00
Robin Gareus
2532911b18 Editor Actions Scripts & Manager 2016-02-23 15:42:53 +01:00
Robin Gareus
341758674b Add GUI to instantiate session-scripts 2016-02-23 15:42:26 +01:00
Robin Gareus
6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
Paul Davis
c932c56233 cleanup post-rebase-against-master messes 2016-02-22 15:31:25 -05:00
Paul Davis
51879285c5 tab-free tabbed display, part 1.2 2016-02-22 15:31:25 -05:00
Paul Davis
fa31454688 tweak DEBUG_TRACE output for key_press_focus_accelerator 2016-02-22 15:31:25 -05:00
Paul Davis
56770ff0af change GTKOSX macro constant to use __APPLE__ instead 2016-02-22 15:31:25 -05:00
Paul Davis
aa71d60ab9 remove Bindings::ignored_state and use Keyboard::RelevantModifierMask 2016-02-22 15:31:24 -05:00
Paul Davis
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
Paul Davis
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
Paul Davis
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
Paul Davis
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
Paul Davis
9b9a7beb13 cleanup various merge conflict resolution errors/omissions 2016-02-22 15:31:24 -05:00
Paul Davis
ec65e351ac ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window 2016-02-22 15:31:24 -05:00
Paul Davis
ae88abff33 use newer API to show all actions and bindings with -b 2016-02-22 15:31:24 -05:00
Paul Davis
20ba651af4 fix up code to print all available actions and existing key bindings 2016-02-22 15:31:24 -05:00
Paul Davis
09f9020897 action maps now have names 2016-02-22 15:31:24 -05:00
Paul Davis
949163f806 more changes to Bindings, Keyboard APIs 2016-02-22 15:31:24 -05:00
Paul Davis
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
Paul Davis
6e55812535 use Bindings API for binding replacement 2016-02-22 15:31:23 -05:00
Paul Davis
1b5247ebb9 use X_() to mark binding names as non-translated 2016-02-22 15:31:23 -05:00
Paul Davis
0f748492b3 fix double initialization of key bindings editor AND rename video import menu item correctly 2016-02-22 15:31:23 -05:00
Paul Davis
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
Paul Davis
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
Paul Davis
8c54142734 hide splash in a sensible and understandable way 2016-02-22 15:31:22 -05:00
Paul Davis
e2e75d8346 add explanatory/reminder comment 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
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
Paul Davis
e3db5c5c05 save & restore the main window geometry 2016-02-22 15:31:22 -05:00
Paul Davis
37fce09a18 widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators 2016-02-22 15:31:22 -05:00
Paul Davis
50e4ebff36 update main window title appropriately 2016-02-22 15:31:22 -05:00
Paul Davis
552e995297 save/restore tabbable state 2016-02-22 15:31:21 -05:00
Paul Davis
98b14ad0e6 get normal GTK accelerators working again 2016-02-22 15:31:21 -05:00
Paul Davis
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
Paul Davis
1a00e323e3 the basics of tabbed 2016-02-22 15:31:21 -05:00
Paul Davis
8774be86f7 prefer initialization to assignment for ARDOUR_UI 2016-02-22 15:31:21 -05:00
Paul Davis
9bac8dfaad the basics of tabbed 2016-02-22 15:31:21 -05:00
Robin Gareus
51234d6d09 initialize uninitialized var - possible fix for #6400 2016-02-22 15:31:21 -05:00
Paul Davis
9287a9ba8e prefer initialization to assignment for ARDOUR_UI 2016-02-22 15:31:21 -05:00
Paul Davis
02c8d6d648 the basics of tabbed 2016-02-22 15:31:21 -05:00
Paul Davis
60c4b30b7e manually revert most of previous commit related to dialog/main window focus management 2016-02-22 13:55:31 -05:00
Paul Davis
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
Paul Davis
9e5b7db89f first compiling, mostly working version of group controls changes 2016-01-22 11:58:31 -05:00
Ben Loftis
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
Paul Davis
df5c5d338a space bar action (Transport/ToggleRoll) should still start transport if synced to Engine (JACK) 2016-01-12 08:28:54 -05:00
Robin Gareus
727d6128f1 remove debug output 2016-01-07 13:38:48 +01:00
Paul Davis
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