13
0
Commit Graph

62 Commits

Author SHA1 Message Date
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
008e51ed03 Minor tweak to bindings editor layout 2017-01-12 20:53:20 +01:00
d36f19ded9 Display name of conflicting keyboard binding 2017-01-12 20:53:20 +01:00
abe093dcc9 rename Bindings -> Keyboard Shortcuts 2017-01-12 11:51:43 -06:00
7b3579bd4d Un-bunch the bunched-up Keybindings editor widgets. 2017-01-05 14:31:27 -06: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
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
265c60126a fix KeyEditor::print() for windows (hopefully, untested) 2016-06-24 22:45:25 +02:00
321615e8ea initial working version of "printing" keybindings (via a browser) 2016-06-15 19:46:12 -04:00
66c25b2d73 wording change for key binding dialog remove shortcut button label 2016-06-14 09:53:48 -04:00
d9c98a51c2 fix windows builds & remove cruft
There's no mkstemp() for windows -> use Glib::file_open_tmp()
also ofstream should not be used (on windows it does not support UTF8 fn)
strstream + Glib::file_set_contents ()
2016-06-01 12:01:25 +02:00
eaddf752c7 hacked up incomplete use of print-key-bindings-as-html 2016-05-31 15:30:44 -04:00
55fb20f491 update keyeditor when action label changes 2016-04-24 22:20:44 +02:00
Mathias Buhr
1316e85d41 Don't crash when keyeditor is empty 2016-03-30 07:29:09 -04:00
a06a5ecfd6 change the way the key editor gets populated; drop binding sets with no actions 2016-03-15 19:46:28 -04:00
694c7254e1 in key editor, attach key press/release handlers before other handlers so that normal treeview navigation keys (backspace, up, down etc.) can still be bound 2016-03-15 18:15:26 -04:00
f83a7f4131 extend API of key binding editor to allow for tab removal 2016-03-15 16:42:45 -04:00
Mathias Buhr
720c68d7e1 Adds a tooltip to the icon 2016-03-08 08:44:58 -05:00
Mathias Buhr
1375c454fb Implements filtering in bindings editor 2016-03-08 08:44:58 -05:00
6aa7ca6d70 edited keybindings should be stored in lower-case form 2016-03-05 11:53:42 -05:00
b4ead1dda6 remove some uncharacteristic comments in code 2016-03-05 11:53:20 -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
Mathias Buhr
0a8b99fe6c Adds sorting the toe keyeditor 2016-03-05 16:27:48 +01: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
6e55812535 use Bindings API for binding replacement 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
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
nick_m
35f69656e8 Window focus handling fixes.
Many windows were not getting key events.
Use magic focus infrastructure (built for widgets) to deliver key events
via window focus in/out.
2015-04-02 02:41:49 +11:00
4166b05bda Fix setting command key bindings on OSX. 2015-01-14 20:31:38 -05:00
2ef8c06464 Redisplay key bindings when reset. 2015-01-07 21:02:13 -05:00
4453803c0c This fixes a bug where an impossible keybinding assignment is possible.
It also makes it behave similar to the gtk keybinder. See Bug 5888 for more
details. From pull request #82 @ github, from Domohawk
2014-12-18 11:14:41 -05:00
c39666dc5c fix key editor resize behaviour 2014-07-10 11:53:39 -04:00
d324f67cce add reset bindings button to key bindings editor 2014-07-10 11:04:24 -04:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
20fa19e69e more excision of "JACK" from labels, menu items, etc.
NOTE: users will lose the sample rate/latency display in the status bar display. Not yet sure what to do about this
2013-09-17 22:25:21 -04:00
a26827d3b7 fix a SNAFU that occured when switch from ArdourDialog to ArdourWindow that removed the "Rmove shortcut" button from the keyeditor
git-svn-id: svn://localhost/ardour2/branches/3.0@13079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 00:32:59 +00:00
22e478e7fc Remove unneeded header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:43 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
8d5065bc32 remove, convert, comment several cerr statements
git-svn-id: svn://localhost/ardour2/branches/3.0@12378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 12:57:05 +00:00
69830c477e MCP: catch noteOff to see note-on+velocity=zero messages; more GUI tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@11966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 21:46:26 +00:00
Ben Loftis
b4999fbc14 remove menu items from the keybindings dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-12 19:24:16 +00:00
678c41d05f remove OS X specific code for key editor binding displays
git-svn-id: svn://localhost/ardour2/branches/3.0@10895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:32:48 +00:00
97d74666e9 lets see what gtk/osx displays for key bindings without us editing them
git-svn-id: svn://localhost/ardour2/branches/3.0@10894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:03:52 +00:00
05283a6339 Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
Fixes #4364.

I havn't fully tested every single dialog and window (heck, I don't even know
how to get at half of them), and there may be some packing niggles, but this is
the bulk of the work.  The Gnome 3 kiddies can close their dialogs now, anyway
:)


git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 00:56:35 +00:00
Carl Hetherington
2304a51b85 Use an action's tooltip in the key editor if its label is empty; add some tooltips so that Solo / Monitor actions are not blank in the key editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 17:29:52 +00:00
b85b4d9e54 make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:14:48 +00:00
6b19aee3b5 split out sndfile manager code into its own file; move a couple of utility functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now
git-svn-id: svn://localhost/ardour2/branches/3.0@7160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25 16:45:21 +00:00
64dc5427e4 make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11 23:29:48 +00:00
7703f0a76a move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers available in libgtkmm2ext now
git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 22:51:32 +00:00