Paul Davis [Sat, 8 Aug 2015 12:36:29 +0000 (08:36 -0400)]
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.
Paul Davis [Thu, 6 Aug 2015 03:48:25 +0000 (23:48 -0400)]
various fixes for saving bindings state
Paul Davis [Thu, 6 Aug 2015 03:48:05 +0000 (23:48 -0400)]
fix memory lifetime management issue
Paul Davis [Thu, 6 Aug 2015 03:41:43 +0000 (23:41 -0400)]
fix typo in binding key name
Paul Davis [Wed, 5 Aug 2015 14:57:00 +0000 (10:57 -0400)]
use Bindings API for binding replacement
Paul Davis [Wed, 5 Aug 2015 14:56:36 +0000 (10:56 -0400)]
change/extend/rework Bindings API to allow replacement and provide stub/hook/call to save bindings
Paul Davis [Wed, 5 Aug 2015 02:44:41 +0000 (22:44 -0400)]
use X_() to mark binding names as non-translated
Paul Davis [Wed, 5 Aug 2015 02:44:20 +0000 (22:44 -0400)]
initial compilable version of saving key bindings with "new" scheme
Paul Davis [Wed, 5 Aug 2015 02:43:40 +0000 (22:43 -0400)]
add step entry bindings pointer to step entry window so that bindings will be used
Paul Davis [Tue, 4 Aug 2015 18:30:41 +0000 (14:30 -0400)]
small rationalization of naming and code for managing plugin GUI visibility
Paul Davis [Tue, 4 Aug 2015 18:00:57 +0000 (14:00 -0400)]
changes to support new key bindings editor design
Paul Davis [Tue, 4 Aug 2015 18:00:08 +0000 (14:00 -0400)]
clean up registration of toggle window actions
Paul Davis [Tue, 4 Aug 2015 17:59:32 +0000 (13:59 -0400)]
redesign key editor to work with tabbed notebook, one tab per set of bindings
Paul Davis [Tue, 4 Aug 2015 17:59:00 +0000 (13:59 -0400)]
fix double initialization of key bindings editor AND rename video import menu item correctly
Paul Davis [Tue, 4 Aug 2015 17:57:51 +0000 (13:57 -0400)]
bindings: prevent double registration and double signal connection, and provide get_all_actions() methods
Paul Davis [Sun, 2 Aug 2015 03:40:55 +0000 (23:40 -0400)]
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
Paul Davis [Sun, 2 Aug 2015 03:40:03 +0000 (23:40 -0400)]
remove all action-registering API from Gtkmm2ext::ActionManager
Paul Davis [Sun, 2 Aug 2015 02:40:36 +0000 (22:40 -0400)]
remove unused file
Paul Davis [Sun, 2 Aug 2015 02:39:53 +0000 (22:39 -0400)]
fix command used to build keyboard bindings
Paul Davis [Sun, 2 Aug 2015 02:38:46 +0000 (22:38 -0400)]
changes to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings
Paul Davis [Sun, 2 Aug 2015 01:43:20 +0000 (21:43 -0400)]
fix another XML typo
Paul Davis [Sun, 2 Aug 2015 01:36:06 +0000 (21:36 -0400)]
fix XML typo
Paul Davis [Sat, 1 Aug 2015 02:55:57 +0000 (22:55 -0400)]
adjust fixed bindings files for use with new fmt-bindings tool
Paul Davis [Sat, 1 Aug 2015 02:55:24 +0000 (22:55 -0400)]
redesign fmt-bindings to generate Ardour native binding files.
This replaces the old GTK accel map format.
Paul Davis [Mon, 27 Jul 2015 22:24:32 +0000 (18:24 -0400)]
correct fix previous merge conflict
Paul Davis [Mon, 27 Jul 2015 22:05:42 +0000 (18:05 -0400)]
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
Paul Davis [Mon, 27 Jul 2015 21:17:36 +0000 (17:17 -0400)]
remove debug output
Paul Davis [Mon, 27 Jul 2015 21:12:35 +0000 (17:12 -0400)]
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
Paul Davis [Mon, 27 Jul 2015 14:50:35 +0000 (10:50 -0400)]
handle main window delete events sensibly
Paul Davis [Sat, 25 Jul 2015 13:18:44 +0000 (09:18 -0400)]
more fixes for tabbable visibility management
Paul Davis [Sat, 25 Jul 2015 13:18:32 +0000 (09:18 -0400)]
extend API for tabbable visibility management
Paul Davis [Sat, 25 Jul 2015 12:41:52 +0000 (08:41 -0400)]
handle button events on main window notebook so that we can handle close button clicks
Paul Davis [Sat, 25 Jul 2015 12:41:26 +0000 (08:41 -0400)]
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
Paul Davis [Sat, 25 Jul 2015 12:40:40 +0000 (08:40 -0400)]
convert CairoIcon into a NO_WINDOW widget that just draws into its parent widget
Paul Davis [Thu, 23 Jul 2015 21:38:27 +0000 (17:38 -0400)]
clocks in selection/punch displays do actually need the background
Paul Davis [Thu, 23 Jul 2015 21:38:04 +0000 (17:38 -0400)]
if _need_bg is set to false in a CairoWidget, then don't actually draw the background
Paul Davis [Thu, 23 Jul 2015 21:22:05 +0000 (17:22 -0400)]
clean up tabbable state maintainance; drop Gtk::Button unintentionally used for close cross image
Paul Davis [Thu, 23 Jul 2015 21:13:31 +0000 (17:13 -0400)]
scale CairoIcon by Gtkmm2ext::UI::ui_scale
Paul Davis [Thu, 23 Jul 2015 21:09:01 +0000 (17:09 -0400)]
revert to thin lines for close cross icon
Paul Davis [Thu, 23 Jul 2015 21:08:44 +0000 (17:08 -0400)]
remove debug output
Paul Davis [Thu, 23 Jul 2015 12:59:32 +0000 (08:59 -0400)]
move ui_scale static member from ARDOUR_UI to GtkUI
Paul Davis [Thu, 23 Jul 2015 12:59:12 +0000 (08:59 -0400)]
remove unused lines
Paul Davis [Thu, 23 Jul 2015 12:42:05 +0000 (08:42 -0400)]
hide splash in a sensible and understandable way
Paul Davis [Thu, 23 Jul 2015 12:35:24 +0000 (08:35 -0400)]
hopefully get dynamic tabbable menu state right this time
Paul Davis [Thu, 23 Jul 2015 12:35:04 +0000 (08:35 -0400)]
thicken up lines of close cross icon
Paul Davis [Thu, 23 Jul 2015 01:14:08 +0000 (21:14 -0400)]
dynamically update menus/actions controlling tabbable show/hide/attach/detach operations
Paul Davis [Thu, 23 Jul 2015 01:13:33 +0000 (21:13 -0400)]
provide a sigc::signal to track display state changes for a Tabbable
Paul Davis [Wed, 22 Jul 2015 22:05:25 +0000 (18:05 -0400)]
add explanatory/reminder comment
Paul Davis [Wed, 22 Jul 2015 21:49:41 +0000 (17:49 -0400)]
remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables
Paul Davis [Wed, 22 Jul 2015 21:49:03 +0000 (17:49 -0400)]
changes to get show/hide/attach/detach working
Paul Davis [Wed, 22 Jul 2015 19:22:58 +0000 (15:22 -0400)]
break out window ops for Tabbables into show/hide/attach/detach
Paul Davis [Wed, 22 Jul 2015 19:22:23 +0000 (15:22 -0400)]
change/extend Tabbable API to allow for show/hide/attach/detach
Paul Davis [Wed, 22 Jul 2015 02:48:06 +0000 (22:48 -0400)]
re-run fmt-bindings to generate syntactically correct editor.bindings
Paul Davis [Wed, 22 Jul 2015 02:44:37 +0000 (22:44 -0400)]
fix typo in mnemonic key binding definition
Paul Davis [Wed, 22 Jul 2015 02:37:39 +0000 (22:37 -0400)]
use new CairoIcon to add a tab-close "button" to tabs
Paul Davis [Wed, 22 Jul 2015 02:37:19 +0000 (22:37 -0400)]
second part of: add new CairoWidget-derived class that does nothing but shown an ArdourIcon.
Paul Davis [Wed, 22 Jul 2015 02:36:46 +0000 (22:36 -0400)]
add new CairoWidget-derived class that does nothing but shown an ArdourIcon.
Somewhat necessary by placement of ArdourButton class in directory heirarchy. But these are also
much simpler
Paul Davis [Wed, 22 Jul 2015 01:10:46 +0000 (21:10 -0400)]
add tab-closing buttons to tabs.
Images are non-scalable, too big and ugly. Next commit ...
Paul Davis [Thu, 16 Jul 2015 20:19:36 +0000 (16:19 -0400)]
compile time fixes for top-menubar (i.e. OS X) systems
Paul Davis [Thu, 16 Jul 2015 19:56:32 +0000 (15:56 -0400)]
some changes for top menubar systems (i.e. OS X)
Paul Davis [Wed, 15 Jul 2015 20:24:12 +0000 (16:24 -0400)]
remove "toggle-foo" style actions related to editor/mixer windows and provide new methods that just use Tabbable::make_visible()
Paul Davis [Wed, 15 Jul 2015 20:23:11 +0000 (16:23 -0400)]
add ::make_visible() to Tabbable class
Paul Davis [Wed, 15 Jul 2015 19:37:01 +0000 (15:37 -0400)]
new global bindings file (created with fmt-bindings)
Paul Davis [Wed, 15 Jul 2015 19:36:43 +0000 (15:36 -0400)]
remove gtk2_ardour/*.bindings from .gitignore
Paul Davis [Wed, 15 Jul 2015 19:06:28 +0000 (15:06 -0400)]
new version of editor.bindings, generated by fmt-bindings
Paul Davis [Wed, 15 Jul 2015 19:06:06 +0000 (15:06 -0400)]
refactor key press handling to include a hack that continues to use GTK accelerators/bindings for now
Paul Davis [Wed, 15 Jul 2015 19:05:30 +0000 (15:05 -0400)]
tell the editor to try to load editor.bindings
Paul Davis [Wed, 15 Jul 2015 18:13:44 +0000 (14:13 -0400)]
remove debug output
Paul Davis [Wed, 15 Jul 2015 18:08:52 +0000 (14:08 -0400)]
classes derived from WindowProxy are responsible for their own window creation in ::set_state().
Fixes a crash reported by A.Prokoudine when opening a session with visible plugin GUIs
Paul Davis [Sat, 11 Jul 2015 13:43:38 +0000 (09:43 -0400)]
improve output format to include required XML boilerplate
Paul Davis [Sat, 11 Jul 2015 13:26:49 +0000 (09:26 -0400)]
place generated bindings files in gtk2_ardour/
This may have some potential cross-platform issues if fmt-bindings is
ever meant to run on Windows.
Paul Davis [Sat, 11 Jul 2015 13:21:38 +0000 (09:21 -0400)]
remove WINDOW modifier from mnemonic bindings file, and replace with SECONDARY which was already enforced by the substitution dictionary in fmt-bindings
Paul Davis [Sat, 11 Jul 2015 13:17:59 +0000 (09:17 -0400)]
hack up fmt-bindings so that it can generate native ardour bindings files
Paul Davis [Thu, 9 Jul 2015 23:22:06 +0000 (19:22 -0400)]
save & restore the main window geometry
Paul Davis [Thu, 9 Jul 2015 22:10:19 +0000 (18:10 -0400)]
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators
Paul Davis [Thu, 9 Jul 2015 17:56:12 +0000 (13:56 -0400)]
update main window title appropriately
Paul Davis [Thu, 9 Jul 2015 17:27:39 +0000 (13:27 -0400)]
add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable
Paul Davis [Thu, 9 Jul 2015 17:18:24 +0000 (13:18 -0400)]
remove debug output
Paul Davis [Thu, 9 Jul 2015 16:56:00 +0000 (12:56 -0400)]
remove debug output
Paul Davis [Thu, 9 Jul 2015 16:54:09 +0000 (12:54 -0400)]
hide tabs in main window when there's only 1 tab left.
This helps with space and also prevents tearing off the last tab
Paul Davis [Thu, 9 Jul 2015 16:40:51 +0000 (12:40 -0400)]
save/restore tabbable state
Paul Davis [Wed, 8 Jul 2015 19:38:04 +0000 (15:38 -0400)]
cleaner code to figure out which Tabbable was just torn off
Paul Davis [Wed, 8 Jul 2015 19:37:49 +0000 (15:37 -0400)]
better way to switch to a tab
Paul Davis [Wed, 8 Jul 2015 19:37:21 +0000 (15:37 -0400)]
make sure preferences are visible
Paul Davis [Wed, 8 Jul 2015 19:36:49 +0000 (15:36 -0400)]
make sure the prefs editor sets up its own window correctly
Paul Davis [Wed, 8 Jul 2015 17:22:29 +0000 (13:22 -0400)]
make tabs reorderable
Paul Davis [Wed, 8 Jul 2015 17:13:47 +0000 (13:13 -0400)]
when tearing off a tab, make the window be the same size as the allocation of the tab
Paul Davis [Wed, 8 Jul 2015 16:45:57 +0000 (12:45 -0400)]
get normal GTK accelerators working again
Paul Davis [Wed, 8 Jul 2015 16:45:36 +0000 (12:45 -0400)]
stop using C++11 structure initializer
Paul Davis [Wed, 8 Jul 2015 02:12:21 +0000 (22:12 -0400)]
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
Paul Davis [Fri, 3 Jul 2015 19:06:59 +0000 (15:06 -0400)]
compilable version of WindowProxy
Paul Davis [Fri, 3 Jul 2015 19:06:29 +0000 (15:06 -0400)]
initial versions of Tabbable object
Paul Davis [Wed, 1 Jul 2015 21:26:14 +0000 (17:26 -0400)]
first version of Gtkmm2ext::WindowProxy
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed
Robin Gareus [Mon, 29 Jun 2015 18:03:36 +0000 (20:03 +0200)]
initialize uninitialized var - possible fix for #6400
Robin Gareus [Fri, 26 Jun 2015 22:56:07 +0000 (00:56 +0200)]
consolidate code
Robin Gareus [Fri, 26 Jun 2015 21:42:11 +0000 (23:42 +0200)]
update Window > Mixer accordingly
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI