summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
AgeCommit message (Collapse)Author
2020-04-18Update French po files from codeJulien '_FrnchFrgg_' RIVAUD
2020-04-16if the action associated with a binding is insensitive, do not activate it, ↵Paul Davis
and return false from Bindings::activate() This allows "stacking" of bindings by desensitizing the actions associated with a "lower" level of bindings at certain times (e.g. MIDI editing bindings thare are sensitized in the appropriate editing modes
2020-04-16Update German translationEdgar Aichinger
2020-04-16Update french translation #8016Robin Gareus
2020-04-12update all *.po filesPaul Davis
2020-04-12some tweaks to Bindings API to allow ::is_bound() to indicate the action ↵Paul Davis
path for an existing binding Plus some minor comment additions and cleanups
2020-04-12add debug trace to code that actually saves bindings to diskPaul Davis
2020-04-12improve understanding by using an actions label, not its path, in the ↵Paul Davis
bindings collision dialog
2020-04-02Fix gcc-4.2/PPC buildsRobin Gareus
Old STL has an issue with ambiguity reverse_iterator rend(); const_reverse_iterator rend() const;
2020-03-31Tweak error-dump (when session load fails)Robin Gareus
When limiting the message count (e.g. for display in a dialog), use reverse order, and only print errors. When loading a session fails, the most recent error is more likely the real cause.
2020-03-24Allow to disable use of NSGLViewRobin Gareus
On recent Mac systems (Catalina) OpenGL is slower compared to directly using GTK's NSView. Furthermore when compiled on Catalina, and running on a system with a Retina screen, the initial size of the canvas may be wrong: libs/gtkmm2ext/nsglview.mm:175:1: warning: method possibly missing a [super reshape] call [-Wobjc-missing-super-calls] This is not an issue when running versions compiled on older systems.
2020-03-08Replace strftime() with Glib::DateTime()Robin Gareus
This is mainly for windows compatibility "%F" is not supported. An alternative would be to s/%F/%Y-%m-%d/ to produce the ISO date.
2020-02-28Allow to limit error dumpRobin Gareus
This is in preparation of displaying verbose errors to the user.
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