summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dialog.cc
AgeCommit message (Collapse)Author
2020-01-24add ArdourDialog::set_ui_sensitive() to provide a way to mark an arbitrary ↵Paul Davis
ArdourDialog as "should not respond to user input"
2020-01-17Fix another stuck splash screenRobin Gareus
Don't allow dialogs to re-create the splash only to hide it.
2019-10-24don't inadvertently create a Splash when a dialog is shownPaul Davis
2019-08-03Update GPL boilerplate and (C)Robin Gareus
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.
2018-11-29Delete temporary Window Proxy for dialogsRobin Gareus
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.
2017-07-03Fix another crash at exit.Robin Gareus
During ARDOUR_UI::finish(), after destroying various instances: close_all_dialogs() -> ArdourDialog::on_response() -> GUIIdle() The event loop recurses and may execute a previously scheduled Editor::idle_visual_changer()
2017-04-20Run gtk-main iteration after hiding dialogsRobin Gareus
2017-04-01Pop splash on dialog response - not d'tor.Robin Gareus
A Dialog Window may not be tightly scoped, and may be around for a while (query settings from the dialog instance). The destructor may only be called later.
2017-04-01NO-OP: whitespaceRobin Gareus
2016-06-07when destroying an ArdourDialog, be sure the Keyboard object knows about it.Paul Davis
It seems that there are ways to destroy a window without it emitting focus out
2015-10-20Default to WIN_POS_MOUSE for dialogs also.nick_m
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-04-01ArdourDialog and ArdourWindow don't change magic widget focusPaul Davis
2015-04-02Potential fix for AU window close crash.nick_m
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-03-15Non-transient ArdourDialogs and ArdourWindows appear in the centrenick_m
of the screen initially (first use in a new session) rather than at the mouse position.
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-14fix keyboard shorcuts in dialogs.Robin Gareus
actually, for most dialogs, key-presses should never be relayed. a get_modal() check might be the appropriate.
2013-05-07change namespace/naming of WindowManager classes; register all ArdourDialog ↵Paul Davis
and ArdourWindow classes as ProxyTemporary windows so that transient-for can be set for all such windows
2013-05-07work work on window mgmt: offer the change to mark all floating windows as ↵Paul Davis
Dialogs (in th theme manager), and mark ArdourWindow and ArdourDialog as transient-for on creation, based on current WindowManager (ardour-object) settings
2013-05-06make ArdourDialog and ArdourWindow call ::relay_key_press() which fixes the ↵Paul Davis
"not-toggleable-on-first-show" and other issues
2013-05-05more window management rationalizationPaul Davis
2013-05-02move CloseAllDialogs signal and associated method from ArdourDialog to ↵Paul Davis
ARDOUR_UI, and make ArdourWindow obey it too
2013-05-02remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything ↵Paul Davis
deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
2013-04-30improve relationship between ArdourDialog and Splash on OS X, where window ↵Paul Davis
restacking doesn't really work the way we need it to. more complex than anticipated because it seems that destroying a Gtk::Dialog does not emit its hide() or unmap() or unmap_event() signals
2012-01-10the return of the splash, with a few changes to help with window layering a ↵Paul Davis
little git-svn-id: svn://localhost/ardour2/branches/3.0@11222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18Add ArdourWindow class for non-dialog windows.David Robillard
Make IOSelector an ArdourWindow. It's debatable whether this one should actually be a window, cancel buttons might actually be useful on the IO selector. git-svn-id: svn://localhost/ardour2/branches/3.0@10691 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18Clean up ArdourDialog.David Robillard
Remove undefined static ArdourDialog::close_all_current_dialogs. Remove pointless ArdourDialog::on_key_press_event. Defer to Gtk::Dialog::on_[enter|leave]_notify_event. I'm not sure exactly what these currently do, but not calling it doesn't seem like a good idea. Trim include tree ever so slightly. git-svn-id: svn://localhost/ardour2/branches/3.0@10690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime git-svn-id: svn://localhost/ardour2/branches/3.0@6357 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-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-05-12Remove most using declarations from header files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12most of the 2.X->3.0 commit (up to rev 4299) except for ↵Paul Davis
gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-17merge Sakari's (sbergen) branch back into 3.0, removing libsndfile and ↵Paul Davis
adding taglib git-svn-id: svn://localhost/ardour2/branches/3.0@3736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02Merge with 2.0-ongoing R2988David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-11merge from 2.0-ongoing by hand, minus key binding editorPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@2539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-04Updates for set_type_hint() and the sfdb_ui.Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@239 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-12-24lots and lots of keybindings working again, with lots more menu itemsPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-12-02the usual blob of fixes. note the requirement for ↵Paul Davis
ComboBoxText::set_active_text() git-svn-id: svn://localhost/trunk/ardour2@160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-27slowly fixing up ArdourDialog nonsensePaul Davis
git-svn-id: svn://localhost/trunk/ardour2@132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-23strip keyboard.cc of noxious focus handling stuff, and cleanupPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-26rename all GTK signalsPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@42 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-26got ardour_dialog compilingPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@41 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-26fix all _impl member functions to be on_ insteadPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@38 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25Fly my pretties!Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@28 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25Initial import of gtk2_ardour.Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@24 d708f5d6-7413-0410-9779-e7cbd77b26cf