summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtk_ui.cc
AgeCommit message (Collapse)Author
2018-04-12Only update tooltips if there is an actual change -- #7268Robin Gareus
Changing a tooltip resets the timeout. In one particular case, while rolling, AudioClock::set() is calling set_tooltip() at a rate faster than the tooltip timeout and prevents tooltip from showing at all (even if there is no actual change to the tooltip text). Alas, there is no trivial fix for this UI side and there may be other such cases. A central check is more than practical.
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-05-05remove cruft (unused UI::ui_scale)Robin Gareus
2017-03-11Remove old modal get_color API.Robin Gareus
2016-07-25add a timeout to flush_pending()Robin Gareus
In some circumstances UI::flush_pending never returns, and all UI interactive ends up being driven by while (gtk_events_pending()) { gtk_main_iteration(); } This has various implications depending on the caller and usually results in a crash at session-close or exit.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-02-22replicate the remove-all-trailing whitespace commit(s) in masterPaul Davis
2016-02-22more changes to Bindings, Keyboard APIsPaul Davis
2016-02-22radically change Keyboard/Binding API design to disconnect Gtk::Action ↵Paul Davis
lookup from binding definition We need this because we need binding information/objects before all Actions have been defined.
2016-02-22move ui_scale static member from ARDOUR_UI to GtkUIPaul Davis
2015-12-29fix window-title (separate application name, thread name)Robin Gareus
2015-12-28redesign cross-thread registration/signalling systemPaul Davis
This new design will work even when threads that need to receive messages from RT threads are created *after* the RT threads. The existing design would fail because the RT thread(s) would never be known the later created threads, and so signals emitted by the RT thread and causing call_slot() in the receiver would end up being enqueued using a lock-protected list. The new design ensures that communication always uses a lock-free FIFO instead
2015-12-12use correct source for application name when labelling a windowPaul Davis
2015-12-12use EventLoop::event_loop_name()Paul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-06-29store all error/info/etc messages in a list inside Gtkmm2ext::UI, and ↵Paul Davis
provide a method to dump them all to a std::ostream
2015-03-14automatic error log window popup be gone.Robin Gareus
2015-02-05set name of GUI event loop threadPaul Davis
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-06-15plug some leaksRobin Gareus
2014-05-23fix for OSX 10.0/clang (missing symbol) by cthRobin Gareus
2013-10-18Merge remote-tracking branch 'remotes/origin/exportvis' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/wscript libs/ardour/ardour/audioregion.h libs/ardour/ardour/debug.h libs/ardour/ardour/directory_names.h libs/ardour/ardour/filesystem_paths.h libs/ardour/ardour/session_event.h libs/gtkmm2ext/gtkmm2ext/utils.h libs/panners/1in2out/wscript libs/panners/2in2out/wscript libs/panners/vbap/wscript libs/pbd/pbd/debug.h libs/pbd/pbd/file_utils.h libs/pbd/pbd/pathexpand.h libs/pbd/pbd/ringbuffer.h libs/pbd/pbd/ringbufferNPT.h libs/pbd/pbd/search_path.h libs/pbd/pbd/stacktrace.h libs/pbd/pbd/uuid.h libs/pbd/pbd/uuid_boost.h libs/surfaces/control_protocol/control_protocol/basic_ui.h libs/surfaces/control_protocol/control_protocol/control_protocol.h
2013-10-17add -fvisibility=hidden to libgtkmm2ext, and make things workPaul Davis
2013-10-09merge with master, fixing conflicts in 3 wscript filesPaul Davis
2013-10-07change tortured GtkUI startup process into something just a little more ↵Paul Davis
sane, and remove "stopping" code since that belongs in a destructor
2013-08-26'libs/gtkmm2ext' - Main body of changes required for building with MSVC ↵John Emmas
(mostly #includes and casting)
2013-07-11 Use timeout source to process ui requests on windowsPaul Davis
Using a timeout source to process ui events/requests is suboptimal but it works for the moment. Have to use g_source functions as glibmm functions are not thread safe AFAIK. Behaviour should be exactly the same on unix.
2013-07-11Hide UI request mechanism from inheriting classesPaul Davis
2012-12-07change presentation of shortcut in tooltips and fix include pathsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25convert from Glib:: to Glib::Threads for all thread-related APIPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14remove virtual inheritance of sigc::trackable by Receiver and AbstractUI<T>, ↵Paul Davis
done by changing Gtkmm2ext::UI to use composition (HAS-A) rather than inheritance (IS-A) for Receiver; use correct synchronization when starting up a BseUI event loop thread so that tests that start/stop quickly do not encounter a race condition git-svn-id: svn://localhost/ardour2/branches/3.0@12264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10stop crash if an error message is generated before the style RC file is loadedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09i18n-izationPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15A few tweaks to make Ardour build in GCC -std=c++0x mode.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02get that fix for accels in tooltips correct this timePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02fix message about markup elements by changing accel strings from <Mod> to Mod-Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30commit to the "new" tooltip API, use set_tooltip_markup() rather than ↵Paul Davis
set_tooltip_text() to allow for more creative tooltips git-svn-id: svn://localhost/ardour2/branches/3.0@10844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24Fix key bindings in tooltips for ArdourButton buttons.David Robillard
Sinced gtkmm2ext needs to get at the actions of widgets, I moved the action to Gtkmm2ext::Activatable. Not sure if the wisest thing to do here would be to use Gtkmm::Activatable, but figured there's a reason Paul didn't do so (the name set_related_action is from there so presumably it's known about), so this is the simplest change that allows access to the action in Gtkmm2ext. The vfunc calling stuff should probably move there as well... git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22remove some potential HCI confusion for Gtkmm2ext::UI::popup_error() by ↵Paul Davis
using a standard MessageDialog (as noticed by thorwil) git-svn-id: svn://localhost/ardour2/branches/3.0@9756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04always make log/error window visible when a non-info message is postedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15Update rc files to use unique rc variable names, update wscript to use the ↵Doug McLain
names, and re-enable theme switching git-svn-id: svn://localhost/ardour2/branches/3.0@8861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14patches from lincoln to speed up the regionlist and provide region removal ↵Paul Davis
(causes dangling shared ptrs to regions, fix to come git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14Disable theme changing untill we figure out whats brokenDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@8840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14Make light theme functional, add waf processing, and small change to ↵Doug McLain
UI::load_rcfile() that fixes a hang when switching between two rc files that are identical in style defs git-svn-id: svn://localhost/ardour2/branches/3.0@8839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07forward port thread/abstract_ui changes from 2.X to 3.0Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22Tidy up Window menu a bit; use ToggleActions for all relevant things, ↵Carl Hetherington
cleanup editor/mixer options a bit. git-svn-id: svn://localhost/ardour2/branches/3.0@7828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-17forward port 2.X changes up to and including rev 6842Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06don't try to look up the key info for actions that don't have accel pathsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-09Fix (in inverted commas) #2885.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7402 d708f5d6-7413-0410-9779-e7cbd77b26cf