summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
AgeCommit message (Collapse)Author
2016-08-21Fix another crash at exit:Robin Gareus
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-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-06-24fix KeyEditor::print() for windows (hopefully, untested)Robin Gareus
2016-06-15initial working version of "printing" keybindings (via a browser)Paul Davis
2016-06-14wording change for key binding dialog remove shortcut button labelPaul Davis
2016-06-01fix windows builds & remove cruftRobin Gareus
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-05-31hacked up incomplete use of print-key-bindings-as-htmlPaul Davis
2016-04-24update keyeditor when action label changesRobin Gareus
2016-03-30Don't crash when keyeditor is emptyMathias Buhr
2016-03-15change the way the key editor gets populated; drop binding sets with no actionsPaul Davis
2016-03-15in key editor, attach key press/release handlers before other handlers so ↵Paul Davis
that normal treeview navigation keys (backspace, up, down etc.) can still be bound
2016-03-15extend API of key binding editor to allow for tab removalPaul Davis
2016-03-08Adds a tooltip to the iconMathias Buhr
2016-03-08Implements filtering in bindings editorMathias Buhr
2016-03-05edited keybindings should be stored in lower-case formPaul Davis
2016-03-05remove some uncharacteristic comments in codePaul Davis
2016-03-05Small refactoring of keyboard bindings (first part)Mathias Buhr
- 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-05Adds sorting the toe keyeditorMathias Buhr
2016-02-22remove all trace of SAE from source code.Paul Davis
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22replicate the remove-all-trailing whitespace commit(s) in masterPaul Davis
2016-02-22use Bindings API for binding replacementPaul Davis
2016-02-22redesign key editor to work with tabbed notebook, one tab per set of bindingsPaul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-04-02Window focus handling fixes.nick_m
Many windows were not getting key events. Use magic focus infrastructure (built for widgets) to deliver key events via window focus in/out.
2015-01-14Fix setting command key bindings on OSX.David Robillard
2015-01-07Redisplay key bindings when reset.David Robillard
2014-12-18This fixes a bug where an impossible keybinding assignment is possible.Paul Davis
It also makes it behave similar to the gtk keybinder. See Bug 5888 for more details. From pull request #82 @ github, from Domohawk
2014-07-10fix key editor resize behaviourPaul Davis
2014-07-10add reset bindings button to key bindings editorPaul Davis
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2013-09-17more excision of "JACK" from labels, menu items, etc.Paul Davis
NOTE: users will lose the sample rate/latency display in the status bar display. Not yet sure what to do about this
2012-07-25fix a SNAFU that occured when switch from ArdourDialog to ArdourWindow that ↵Paul Davis
removed the "Rmove shortcut" button from the keyeditor git-svn-id: svn://localhost/ardour2/branches/3.0@13079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unneeded header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
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-22remove, convert, comment several cerr statementsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13MCP: catch noteOff to see note-on+velocity=zero messages; more GUI tweaksPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-12remove menu items from the keybindings dialogBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@11654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04remove OS X specific code for key editor binding displaysPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04lets see what gtk/osx displays for key bindings without us editing themPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.David Robillard
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-02-20Use an action's tooltip in the key editor if its label is empty; add some ↵Carl Hetherington
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
2010-11-13make ardour3 build and link on OS X (tiger, at least)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25split out sndfile manager code into its own file; move a couple of utility ↵Paul Davis
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
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes ↵Paul Davis
modifiers available in libgtkmm2ext now git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17allow use of Return, KP_Enter and more in key binding editor; better display ↵Paul Davis
of such bindings; potential fix for "crashes" caused by an endless loop of enter/hide events involving the verbose canvas cursor git-svn-id: svn://localhost/ardour2/branches/3.0@6109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19Tidy up window titles, according to GNOME HIG and as suggested in mantis 2803.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21first part of fixing up send/return metering ; make send-controlling faders ↵Paul Davis
work ; fixes from 2.X for key editor and untranslatable string; use standard name for surfaces lib version in wiimote wscript git-svn-id: svn://localhost/ardour2/branches/3.0@5400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf