17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
yonideshi
cb900dc8e4
inability to save non single character key binding with modifier eg. Ctrl-F5
2016-03-30 07:26:36 -04:00
48c70b60d8
remove uncharacteristic comments
2016-03-08 08:37:13 -05:00
add6c7b480
fix up indentation in libs/gtkmm2ext/bindings code, probably messed up by emacs on OS X
2016-03-08 08:36:05 -05:00
73333350cc
don't downcase Home, End and other non-single-key keycode names
2016-03-05 11:54:02 -05:00
Mathias Buhr
290d9e5e66
Small refactoring of keyboard bindings (first part)
...
- Adds collision detection for keybindings
- Fixes a bug that prevented newly created bindings to be deleted properly (reproduction: add a binding, remove it, restart ardour, binding is still there but can now be deleted).
2016-03-05 16:27:48 +01:00
9b55550f0b
force all KeyboardKeys in Bindings to be lower case
2016-03-02 16:18:03 -05:00
e5340dc258
when looking up a key event, switch to the lowercase keyval
...
Our bindings always use the lowercase form. Shift-e generates the GDK keyval for 'E'
rather than 'e' (with the event state including GDK_SHIFT_MODIFIER). So we have to
take this into account when doing the lookup
2016-02-26 15:47:50 -05:00
a598c5d4ac
fix inadvertent case change
2016-02-22 15:31:25 -05:00
329c096066
add a clarifying comment
2016-02-22 15:31:25 -05:00
b23c5264f2
change operator<< for Keyboardkey to show state in hex
2016-02-22 15:31:25 -05:00
2cc44e7668
no more munging with keyvals/accels on OS X
2016-02-22 15:31:24 -05:00
aa71d60ab9
remove Bindings::ignored_state and use Keyboard::RelevantModifierMask
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
b944532f67
cleanup Bindings/ActionMap API to get all actions for various purposes
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
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
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
04a9ce757c
initial compilable version of saving key bindings with "new" scheme
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
0f17508e6c
changes to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings
2016-02-22 15:31:23 -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
2397429e99
use quotes for in-tree pbd/glib wrapper include
2015-10-05 22:15:18 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
7ac691ec82
use pbd's gstdio compatibility wrapper
2015-09-17 14:37:57 +02:00
15be154515
use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files
2013-07-15 14:29:00 -04:00
22cb8bfb34
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:27:41 +00:00
07eadf68f3
quiten down in the back
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:51:34 +00:00
0938a42440
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
3d1fc33abb
extend Gtkmm2ext::Bindings system to handle mouse buttons as well as keyboard events
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 03:10:17 +00:00
4b23fe7a7e
Bindings save release bindings as well as press bindings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 21:48:09 +00:00
9196535878
lotsa keybindings for nearly everything in the step editor
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12 21:02:01 +00:00
71970fb881
part 2 of the OMG-make-radio-buttons-and-actions-work-properly commit for the step editor
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 21:27:19 +00:00
c333b19422
start using new keybinding stuff in step editor dialog
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 19:02:21 +00:00
e2965cd138
new files for new per-window/action-driven key binding mechanism
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 18:44:55 +00:00