13
0
Commit Graph

40 Commits

Author SHA1 Message Date
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
685c4f8955 change action group owner pointer to be the relevant keybindings; reorder setting keybindings value and defining actions
The reorder is required so that the value of "bindings" has been set and is meaningful
2018-12-11 05:06:26 -05:00
5981b7f1b8 add nominal owners for all action groups
Note: this is not yet correct. The owner (pointer) values passed in are not yet usable
2018-12-10 18:44:05 -05:00
fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
efd75b7152 use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
e42699600b
Delete temporary Window Proxy for dialogs
There are two cases:
 (A) Proxy is created first, dialog is created later on demand
 (B) Dialog is created and directly registers its window as proxy

In (B) the dialog is usually on the stack and destroyed when the
ArdourDialog instances leaves scope. In that case ~ArdourDialog()
is called and the proxy remained.

Destroying the proxy does destroy the registered window in ~WindowProxy()
If ArdourDialog's d'tor itself deletes the proxy it would recurse into
itself. Existing APIs e.g. drop_window() likewise delete the window and
cannot be safely called from ~ArdourDialog.
2018-11-29 14:25:22 +01:00
46710a75de fix issue with WM close/delete ("X") button not working for window proxied dialogs (e.g. add route dialog) 2016-08-16 13:57:00 -04:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
dc43189c7e fix save/restore of preferences torn-off-window state 2016-07-13 16:39:26 -04:00
53274c5bae do not show windows derived from ArdourDialog at startup.
See code comment for more details
2016-07-12 10:27:19 -04:00
70898f92c7 use WindowProxy::signal_(map|unmap) to keep window toggle actions in their correct state 2016-06-12 22:49:47 -04:00
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 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
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
00933950b7 small rationalization of naming and code for managing plugin GUI visibility 2016-02-22 15:31:23 -05:00
40cdb01832 clean up registration of toggle window actions 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
552e995297 save/restore tabbable state 2016-02-22 15:31:21 -05:00
9010262bed 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
2016-02-22 15:31:21 -05:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +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
e10e9ca77f handle GUIs of missing or disabled plugins 2015-09-01 13:28:33 +02:00
09c7c5fb95 tweak API of WindowProxy, and remove all unnecessary get() calls in functions where, if we have no window, there is nothing to do 2013-10-14 09:54:38 -04:00
7ac849689d window proxy should delete its window during its destructor 2013-10-07 20:17:49 -04:00
fbfa0acebe remove compile errors (still will not link and JACKPortEngine is not close to done) 2013-07-30 23:26:46 -04:00
d03ec98ec3 fix ProxyBase::save_pos_and_size
win() may return NULL -- although if we get a size-request we
can be sure the window exists. -- NTL this feels better :)
2013-07-10 15:27:17 +02:00
07be5beee7 window delete/hide is managed by WMProxy (amend to cb6f16ac) 2013-07-07 22:29:45 +02:00
a22e20133d make window-manager session-aware 2013-07-07 19:29:50 +02:00
cb6f16ac2d fix save/restore [plugin] window pos&size (without save) 2013-07-07 19:29:42 +02:00
ce0aa96838 NOOP - use PBD's std::string to number functions 2013-06-08 09:03:26 +02:00
8d6dd9ecc0 some clarifying comments on WindowManager::set_transient_for 2013-06-07 11:58:57 -04:00
4341d675dc remember plugin-UI type (custom/basic) with session.
amend to 3.1-81-g1acf8bd
2013-05-21 21:23:10 +02:00
b08c71af02 don't set transient-for on OS X, where it is not necessary 2013-05-07 22:30:01 -04:00
bedc7b170e change namespace/naming of WindowManager classes; register all ArdourDialog and ArdourWindow classes as ProxyTemporary windows so that transient-for can be set for all such windows 2013-05-07 22:09:16 -04:00
87d502c15b work work on window mgmt: offer the change to mark all floating windows as Dialogs (in th theme manager), and mark ArdourWindow and ArdourDialog as transient-for on creation, based on current WindowManager (ardour-object) settings 2013-05-07 18:09:12 -04:00
a902737db9 various changes to window visibility mgmt, including use of the mixbus2 code for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause 2013-05-07 13:01:26 -04:00
81f86b11d1 drop WIN_POS_MOUSE on a managed window if we have stored coordinates and after the first present() call 2013-05-06 12:13:43 -04:00
40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
9267648e5d VisibilityTracker needs to inherit from sigc::tracker so that it can be used without combination with other sigc::trackable parents; fix partially_visible() logic 2013-05-04 22:01:13 -04:00