summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
AgeCommit message (Collapse)Author
2020-01-25Explicitly use OSXRobin Gareus
Previously this was inherited via PBD. On MacOS/X, this adds "-undefined dynamic_lookup -flat_namespace" and various "-framework .." options to linkflags Without this flag, .dylibs fail to link usually because of missing `-lintl` (Undefined symbols: "_libintl_dgettext") On other systems this is a NO-OP: CFLAGS_OSX, CXXFLAGS_OSX and LINKFLAGS_OSX are only set on the darwin platform.
2020-01-18Fix ISO complianceRobin Gareus
2020-01-18Add timestamp to log -- #7877Robin Gareus
This adds the time when a log message is displayed. ARDOUR_UI::display_message() parses the prefix, so the timestamp cannot be prefixed in the beforehand. Still, UI::process_error_message() is called directly in the same thread, so this makes no significant difference.
2020-01-08Revert to use an image surface for CairoWidgetsRobin Gareus
This partially reverts 2edbda252619 and is a follow up to 0b266a54f, to fix performance issues with MS Windows graphics performance.
2019-12-27Replace explicit image-surface with cairo pattern/groupRobin Gareus
For MacOS/X this is equivalent, rendering happens using a CGBitmapContext + image-surface. Windows and Linux needs profiling for respective equivalent surfaces.
2019-12-27Allow for per-widget image-surface backingRobin Gareus
This is an intermediate commit, before replacing image surfaces with cairo pattern groups. The eventual goal is to reduce flickering and/or use CPU + bitblt for specific widgets instead of cairo graphics-cards accel. This also removes excessive calls to getenv() for every rendering operation.
2019-11-06add a signal to Gtkmm2ext::Keyboard to allow (possible) handling of ↵Paul Davis
close-current-dialog
2019-10-31Highlight the currently selected item in ArdourDropdown & coJulien "_FrnchFrgg_" RIVAUD
2019-10-31Workaround a GTKMenu bug in ArdourDropdown & co.Julien "_FrnchFrgg_" RIVAUD
2019-10-31Work around an initialization bug of GTK menusJulien "_FrnchFrgg_" RIVAUD
2019-10-31Update |offset| instead of changing the formulaJulien "_FrnchFrgg_" RIVAUD
So that the test to see if it fits also takes the new offset into account.
2019-10-31Align vertical centers of widget and active menuitemJulien "_FrnchFrgg_" RIVAUD
2019-10-31Fix a thinko in x position of menu popupsJulien "_FrnchFrgg_" RIVAUD
This has lasted without being noticed because menus that big are not common.
2019-10-31NO-OP: whitespaceRobin Gareus
2019-10-31Declare helper function static (don't export)Robin Gareus
2019-10-30Try harder to put the active item under the mouse (ArdourDropdown)Julien "_FrnchFrgg_" RIVAUD
2019-10-10remove unnecessary template methods (replicated in libs/gtkmm2ext/doi.hPaul Davis
2019-09-25goodbye USE_TRACKS_CODE_FEATURES and is_tracks_buildPaul Davis
2019-09-18NO-OP: fix some Wimplicit-fallthroughRobin Gareus
gcc can recognize various regexps in comments. Since C++17 provides [[fallthrough]], using /* fallthrough */ consistently seems appropriate until we switch to C++17. see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2019-08-03Update canvas/UI lib GPL boilerplate and (C) from git logRobin Gareus
2019-07-04Use exit-status macros for compatibility 2/3Robin Gareus
2019-04-21Add/remove source(s) in our MSVC project (gtkmm2ext)John Emmas
2019-04-20Provide ActionModel::build_custom_action_combo() for Control ProtcolsJohannes Mueller
to consolidate code that's identical in several control protocols.
2019-04-20Provide a function to fill a Gtk::ComboBox with all available actionsJohannes Mueller
2019-04-20Provide an API to get all available actions by one singleton classJohannes Mueller
The singleton ActionModel provides a Gtk::Treestore of all actions known to ardour. To be used for example by surface control editors to implement action bindings.
2019-04-11NO-OP: whitespaceRobin Gareus
2019-04-11Add API to render a reflectionRobin Gareus
This is to be used sparingly because the pattern is dynamically created every time. Mainly for the benefit of some Mixbus widgets -- compared to ArdourButton::convex_pattern
2019-03-20ActionManager::get_all_actions() no longer includes <Actions> in the paths ↵Paul Davis
it returns, part 1
2019-03-20make ::ardour_action_name() private to Bindings, because nothing else uses ↵Paul Davis
it and it semi-exposes the <Actions> nonsense
2019-03-19Compiler fix for 201110.Ben Loftis
2019-03-19use a new unhandled (thus far) exception rather than ::abort() when an ↵Paul Davis
action is undefined
2019-03-09Work-around crash when printing bindingsRobin Gareus
(ardour -b or Keyboard-Shortcuts > Print Bindings) see also https://github.com/Ardour/ardour/pull/447
2019-02-28NO-OP: whitespaceRobin Gareus
2019-02-28Abort when Action cast failedRobin Gareus
Previously the action-manager only called ::abort() when an action could no be found. This add a further restriction that the expected class must match.
2019-02-28Remove ancient, unmaintained xcode project filesRobin Gareus
2019-01-13adjust debug/trace output for key bindingsPaul Davis
2019-01-13additional API to make it nicer to get an existing action groupPaul Davis
2018-12-20Fix crash for external windowsRobin Gareus
eg. LV2 externalUI windows are not managed by ardour; Ardour cannot intercept mapped() or delete_event() signals and hence also not create a visibility-tracker. First call to WindowProxy::toggle() creates the window, and the 2nd call crashed since 6ca8ec5141c, due to missing vistracker. e.g. externalUI plugin windows, the processor-box uses WindowProxy for all plugin-UIs incl. externalUIs.
2018-12-12replace ::cast_dynamic() with relevant ActionManager::get_*_action() callsPaul Davis
2018-12-11add ActionManager::get_actions() to fetch all actions created in ↵Paul Davis
ActionGroups with a given "owner" value
2018-12-10add basic concept of an "owner" for an action group, to allow later groupingPaul Davis
2018-12-10add ActionManager::set_sensitive() for Gtk::ActionGroupPaul Davis
2018-12-10change ActionManager::find_action() back to ActionManager::get_action()Paul Davis
This avoids dozens or hundreds of unnecessary changes in gtk2_ardour code
2018-12-10consolidate ActionMap and ActionManager APIs into a single namespacePaul Davis
2018-12-10provide (Static)ActionMapOwner::action_map()Paul Davis
2018-12-08Properly keep track of Window Visibility, action stateRobin Gareus
This fixes inconsistent WM::Proxy state when a window is destroyed Specifically "session-options-editor" when the session is unloaded; previously "toggle-session-options-editor" was never unset.
2018-12-06add syntactic sugar for fetching toggle and radio actionsPaul Davis
2018-12-05some ActionMap infrastructure to start removing ActionManagerPaul Davis
2018-12-05add new variant of ActionMap::find_action()Paul Davis
This is more useful when replacing ActionManager::get_action
2018-11-29Fix uninitialized variableRobin Gareus