13
0
Commit Graph

19587 Commits

Author SHA1 Message Date
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
a47b3c4dc5 convert Splash dialog into Gtk::WINDOW_POPUP in the hope that it will float above all, in all WM's 2016-02-22 15:31:24 -05:00
3ff925fedb change name of default bindings to us.bindings (and thus binding definitions to us.bindings.in)
"us" indicates keyboard layout.
2016-02-22 15:31:24 -05:00
379bc35948 update Mackie code to use new API to get all actions 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
b944532f67 cleanup Bindings/ActionMap API to get all actions for various purposes 2016-02-22 15:31:24 -05:00
09c70ad37a clean up, edit, rationalize bindings definitions file.
This removes some non-existent actions and puts others into the right
binding set when building the actual bindings definitions
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
66e0328a93 create a two-way association between an action map and a bindings object, rather than just one way.
This helps us lookup bindings when printing out lists for the user
2016-02-22 15:31:24 -05:00
75e671b867 Window Manager object should use global action map, since bindings are part of the global set 2016-02-22 15:31:24 -05:00
f6721344bd merge once again with master 2016-02-22 15:31:24 -05:00
0e7ea01896 tweak to start addressing mis-classification of various editor commands as global 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
29b69b0ab4 various fixes for saving bindings state 2016-02-22 15:31:24 -05:00
f028a6bffb fix memory lifetime management issue 2016-02-22 15:31:24 -05:00
40cef0a09c fix typo in binding key name 2016-02-22 15:31:23 -05:00
6e55812535 use Bindings API for binding replacement 2016-02-22 15:31:23 -05:00
36023db8aa change/extend/rework Bindings API to allow replacement and provide stub/hook/call to save bindings 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
04a9ce757c initial compilable version of saving key bindings with "new" scheme 2016-02-22 15:31:23 -05:00
4d5cf08bb7 add step entry bindings pointer to step entry window so that bindings will be used 2016-02-22 15:31:23 -05:00
00933950b7 small rationalization of naming and code for managing plugin GUI visibility 2016-02-22 15:31:23 -05:00
2c6799f247 changes to support new key bindings editor design 2016-02-22 15:31:23 -05:00
40cdb01832 clean up registration of toggle window actions 2016-02-22 15:31:23 -05:00
e35e26fa9b redesign key editor to work with tabbed notebook, one tab per set of bindings 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
e13322e7f5 bindings: prevent double registration and double signal connection, and provide get_all_actions() methods 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
d0fc12bd22 remove all action-registering API from Gtkmm2ext::ActionManager 2016-02-22 15:31:23 -05:00
f48053b1fb remove unused file 2016-02-22 15:31:23 -05:00
e01d36a521 fix command used to build keyboard bindings 2016-02-22 15:31:23 -05:00
0f17508e6c changes to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings 2016-02-22 15:31:23 -05:00
ad220df6b7 fix another XML typo 2016-02-22 15:31:23 -05:00
50aa93b92e fix XML typo 2016-02-22 15:31:23 -05:00
ebcbc7bedc adjust fixed bindings files for use with new fmt-bindings tool 2016-02-22 15:31:23 -05:00
19fa64610b redesign fmt-bindings to generate Ardour native binding files.
This replaces the old GTK accel map format.
2016-02-22 15:31:23 -05:00
84de4246bb correct fix previous merge conflict 2016-02-22 15:31:23 -05:00
d5bcf90b1a remove all tearoffs except the monitor section.
We don't need this functionality anymore as we build on 15 years experience plus the new tabbed structure
2016-02-22 15:31:23 -05:00
dae303d220 remove debug output 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
1be30e0401 handle main window delete events sensibly 2016-02-22 15:31:23 -05:00
58757ebd38 more fixes for tabbable visibility management 2016-02-22 15:31:23 -05:00
077bb13e94 extend API for tabbable visibility management 2016-02-22 15:31:23 -05:00
1bdf6d8a68 handle button events on main window notebook so that we can handle close button clicks 2016-02-22 15:31:23 -05:00
d4664434f7 set "close-button" data on Tabbable contents.
I tried doing this in the constructor and got a segfault for reasons I don't understand
but probably should
2016-02-22 15:31:23 -05:00
5e0337a4a3 convert CairoIcon into a NO_WINDOW widget that just draws into its parent widget 2016-02-22 15:31:23 -05:00