Ben Loftis [Sat, 1 Apr 2017 14:56:56 +0000 (09:56 -0500)]
Fix set-*-from-edit-range actions, when accessed from control surfaces.
Robin Gareus [Sat, 1 Apr 2017 14:40:07 +0000 (16:40 +0200)]
Pop splash on dialog response - not d'tor.
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.
Robin Gareus [Sat, 1 Apr 2017 13:50:48 +0000 (15:50 +0200)]
NO-OP: whitespace
Robin Gareus [Sat, 1 Apr 2017 13:39:02 +0000 (15:39 +0200)]
Fix engine state ordering
Robin Gareus [Sat, 1 Apr 2017 12:37:24 +0000 (14:37 +0200)]
Properly desensitize various engine-controls.
MIDI system and channel-count cannot be changed while the engine is
running.
Tim Mayberry [Tue, 21 Mar 2017 10:32:38 +0000 (20:32 +1000)]
Fix crash when dragging playhead or mouse in ruler area
This can be hard to reproduce and I have not been able to work out the steps to
reproduce reliably, but as it is still occuring work around the issue by just
checking the variable is valid before dereferencing it.
Resolves: #7304
Robin Gareus [Sat, 1 Apr 2017 11:14:17 +0000 (13:14 +0200)]
Unregister ports at session close.
This fixes issues when re-loading a session without taking the
engine down.
Robin Gareus [Fri, 31 Mar 2017 17:53:14 +0000 (19:53 +0200)]
Connect route-template insert i/o ports #5778
Robin Gareus [Fri, 31 Mar 2017 12:11:49 +0000 (14:11 +0200)]
Reset Playhead interpolation when looping and locating
Robin Gareus [Fri, 31 Mar 2017 10:59:44 +0000 (12:59 +0200)]
Add an API to query if the audible frame is latent pending a locate
eg. at the end of a loop, the session may already be playing the
beginning of the loop. The TransportLooped signal was emitted.
Yet due to playback latency, the audible frame is still at the end of
the loop.
To interpolate the playhead position the UI needs to be able to know:
Relying on the TransportLooped signal is not sufficient because it
does not take playback latency into account.
Robin Gareus [Fri, 31 Mar 2017 00:21:38 +0000 (02:21 +0200)]
Hide eyedropper color-picker on mac
It not only does not work, but also locks up the Desktop/Window
manager in odd ways.
Robin Gareus [Thu, 30 Mar 2017 20:06:33 +0000 (22:06 +0200)]
NO-OP, semantic tweak
Robin Gareus [Thu, 30 Mar 2017 20:05:55 +0000 (22:05 +0200)]
Fix count-in for non 4/4 time signatures
Robin Gareus [Thu, 30 Mar 2017 19:22:14 +0000 (21:22 +0200)]
Count-in is a no-roll operation.
Ben Loftis [Thu, 30 Mar 2017 16:02:06 +0000 (11:02 -0500)]
Shortcut editor: include a raw list of the currently-available actions in the printout.
Robin Gareus [Thu, 30 Mar 2017 13:21:06 +0000 (15:21 +0200)]
Consistent Color Selection Dialog (incl RouteGroups)
Robin Gareus [Thu, 30 Mar 2017 13:20:48 +0000 (15:20 +0200)]
Add ColorButton drop-in replacement with palette support
Robin Gareus [Thu, 30 Mar 2017 03:06:34 +0000 (05:06 +0200)]
Fix hiding Lua __metatable -- prevent setmetatable() override
Robin Gareus [Thu, 30 Mar 2017 01:40:02 +0000 (03:40 +0200)]
Add proper Lua bindings for RouteGroupList
Robin Gareus [Thu, 30 Mar 2017 01:39:28 +0000 (03:39 +0200)]
Lua: make external (static) functions available for const objects.
This fixes iterators on const std::lists<>& and const std::map<>&
Len Ovens [Wed, 29 Mar 2017 23:24:43 +0000 (16:24 -0700)]
OSC: don't skip when deleting cue observers
Len Ovens [Wed, 29 Mar 2017 23:07:21 +0000 (16:07 -0700)]
OSC: Clear devices should clear cue observers as well.
Robin Gareus [Wed, 29 Mar 2017 21:52:00 +0000 (23:52 +0200)]
When adding a PC, use the channel given in the dialog.
Robin Gareus [Wed, 29 Mar 2017 21:41:10 +0000 (23:41 +0200)]
Remove expensive menu for sending immediate Patch Changes, use a dialog
Robin Gareus [Wed, 29 Mar 2017 21:39:41 +0000 (23:39 +0200)]
Fix Patch Change Naming when plugins change (Route::reset_instrument_info)
Len Ovens [Mon, 27 Mar 2017 04:16:45 +0000 (21:16 -0700)]
OSC: reduce feedback noise for surfaces using /strip/list
Robin Gareus [Mon, 27 Mar 2017 03:08:30 +0000 (05:08 +0200)]
Revert "profile instant.xml save"
This reverts commit
e965e5edcdd9fdc8a4c68b4d50656cd4e0c53f18.
Robin Gareus [Mon, 27 Mar 2017 02:59:20 +0000 (04:59 +0200)]
optimize LuaInstance::get_action_state, LuaInstance::get_hook_state
Lua serialize() is called recursively and concatenates strings.
(in Lua that results in a new string on the stack, with 2 unused old
strings). Collecting garbage every time becomes expensive, so do it
only once at the end. GUI scripts are not memory limited anyway.
Robin Gareus [Sun, 26 Mar 2017 19:42:01 +0000 (21:42 +0200)]
Add option to disable blinking alert buttons.
Paul Davis [Sun, 26 Mar 2017 14:13:11 +0000 (16:13 +0200)]
improve correct selection (in mixer) of newly added tracks/busses
Paul Davis [Sun, 26 Mar 2017 14:12:10 +0000 (16:12 +0200)]
make selection of tracks/busses after adding them slightly more efficient
Paul Davis [Sun, 26 Mar 2017 13:07:11 +0000 (15:07 +0200)]
whenever showing the add routes dialog, put focus in the SpinButton that determines how many <X> are added
Paul Davis [Sun, 26 Mar 2017 13:01:00 +0000 (15:01 +0200)]
make it possible to drop a group from a VCA
Paul Davis [Sun, 26 Mar 2017 12:42:28 +0000 (14:42 +0200)]
more fully disable gain adjustment sharing in a RouteGroup that is assigned to a VCA master
Robin Gareus [Sat, 25 Mar 2017 14:08:58 +0000 (15:08 +0100)]
profile instant.xml save
This does clutter up stderr, but only because instant.xml is arguably
saved much too often (and it's not really instant :)
Len Ovens [Fri, 24 Mar 2017 21:05:39 +0000 (14:05 -0700)]
OSC: tell surfaces using /strip/list they need to rebuild after strip add/remove
Len Ovens [Fri, 24 Mar 2017 20:07:03 +0000 (13:07 -0700)]
OSC: update /strip/list response to add aux, midi bus and VCAs
Robin Gareus [Fri, 24 Mar 2017 13:36:17 +0000 (14:36 +0100)]
Revert "consistent use of context-menu popups"
This reverts commit
b3722f7063699fafd0421d504e05a7300c70e0ec.
In some cases ardour shows context-menu on right-mouse-button
release. In this case selecting a menu-entry should happen
with the left-mouse button (or any button?!)
Using ev->button is only correct if the menu is temporary and only
visible while the button is held, button release then activates the
menu-item.
This needs further work, in some cases allowing any button (0) to work
makes sense and overall consistency needs to be improved.
Different places use different strategies for context-menus which
don't always match the button used in the event-handler.
This is a hotfix (to make TAV context menus work again with left-click)
Robin Gareus [Thu, 23 Mar 2017 18:21:50 +0000 (19:21 +0100)]
Improve playhead updates, reduce jitter for follow PH, stationary PH
* resolve rounding mistakes
* extrapolate and filter position using GUI timing
* track engine's position
Robin Gareus [Thu, 23 Mar 2017 18:05:53 +0000 (19:05 +0100)]
Increase mempool for session-scripts
(bindings alone require ~800kB these days)
Robin Gareus [Thu, 23 Mar 2017 00:53:31 +0000 (01:53 +0100)]
Disallow Selection, context-menu & drag-start on peak-display Button
Robin Gareus [Wed, 22 Mar 2017 15:59:02 +0000 (16:59 +0100)]
Special case const std::string& Lua binding.
since
6dc3bdf, a const string reference would leave scope with Lua code
fn("text")
calling a C++
fn (const std::string&)
before the C++ function is called.
Robin Gareus [Wed, 22 Mar 2017 15:55:19 +0000 (16:55 +0100)]
remove cruft (following
6dc3bdf)
Robin Gareus [Tue, 21 Mar 2017 21:21:02 +0000 (22:21 +0100)]
Improve plugin Ccategory consistency somewhat
Robin Gareus [Tue, 21 Mar 2017 21:20:17 +0000 (22:20 +0100)]
Top-up "Utils" plugin filter
* move Generators unto Utility groups
* all "MIDI" plugins (which are not Instruments) are Utils
* Anaylsis, Analyser, Analyzer
Robin Gareus [Tue, 21 Mar 2017 19:49:04 +0000 (20:49 +0100)]
Fix MB32C OSX package-name
Robin Gareus [Tue, 21 Mar 2017 18:44:22 +0000 (19:44 +0100)]
Relax LV2 plugin filter to substring (e.g. "Utility", "MIDI Utility")
Robin Gareus [Tue, 21 Mar 2017 14:53:17 +0000 (15:53 +0100)]
Debug NSView Exposure
Robin Gareus [Tue, 21 Mar 2017 14:45:21 +0000 (15:45 +0100)]
consolidate NSGLView
John Emmas [Tue, 21 Mar 2017 10:31:03 +0000 (10:31 +0000)]
Accommodate newly introduced sources in our build projects (gtkmm2ext)
John Emmas [Tue, 21 Mar 2017 10:28:53 +0000 (10:28 +0000)]
The new class 'Gtkmm2ext::EventBoxExt' needs to be exportable when building with MSVC
(previously the c'tor was private and nothing was getting exported anyway)
Robin Gareus [Tue, 21 Mar 2017 04:38:10 +0000 (05:38 +0100)]
Use NSGLView backed main editor canvas
Robin Gareus [Tue, 21 Mar 2017 04:37:44 +0000 (05:37 +0100)]
Allow to selectively use NSGLView Canvas
Various GdkEvents are not yet handled correctly, eg. unpacking a widget
from its container does not unmap it, nor are remaining widgets in the
contained re-positioned (size allocation does not change, nor does the
mapping). This affects eg. Mixbus Strips
Robin Gareus [Tue, 21 Mar 2017 02:46:32 +0000 (03:46 +0100)]
match name of synthesized property (fixed i386 builds)
Robin Gareus [Tue, 21 Mar 2017 02:43:00 +0000 (03:43 +0100)]
Fix gcc4 builds
Len Ovens [Tue, 21 Mar 2017 01:51:12 +0000 (18:51 -0700)]
MCP Add X-Touch Mini MCP map
Robin Gareus [Tue, 21 Mar 2017 00:58:45 +0000 (01:58 +0100)]
fix OSX/PPC compilation
Robin Gareus [Mon, 20 Mar 2017 16:11:56 +0000 (17:11 +0100)]
Towards a consistent render() API.
This fixes an -Woverloaded-virtual ambiguity introduced in
b5e613d45
void render (cairo_t*, cairo_rectagle*)
void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*)
ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context,
this improves overall API consistency.
Robin Gareus [Mon, 20 Mar 2017 15:32:05 +0000 (16:32 +0100)]
Use NSGLView for EditorSummary
Robin Gareus [Mon, 20 Mar 2017 15:31:42 +0000 (16:31 +0100)]
Forward un/map events to NSGLView
Robin Gareus [Mon, 20 Mar 2017 15:31:01 +0000 (16:31 +0100)]
NSGLView: default to hidden, add API to un/hide
Robin Gareus [Mon, 20 Mar 2017 15:30:33 +0000 (16:30 +0100)]
Editor: forward unmap events to widgets
Robin Gareus [Mon, 20 Mar 2017 15:30:01 +0000 (16:30 +0100)]
Add a EventBox wrapper to forward unmap events.
Len Ovens [Mon, 20 Mar 2017 06:09:45 +0000 (23:09 -0700)]
BasicUI moved toggle_click,toggle_roll and stop_forget from menu action to session calls
Robin Gareus [Mon, 20 Mar 2017 04:19:38 +0000 (05:19 +0100)]
Allow CairoWidget to be backed by NSGLView
Robin Gareus [Mon, 20 Mar 2017 03:21:08 +0000 (04:21 +0100)]
Move NSGlView into libgtkmm2ext
This allows to re-use the concept with CairoWidget
Robin Gareus [Mon, 20 Mar 2017 02:37:37 +0000 (03:37 +0100)]
Fix OSX canvas when used without openGL NSView
Robin Gareus [Mon, 20 Mar 2017 01:15:15 +0000 (02:15 +0100)]
Use NSGLView with patched gdk
Special case Ardour's Canvas NSView to forward gdk-events
which are otherwise special-cased to read AU-views..
Robin Gareus [Sun, 19 Mar 2017 21:40:58 +0000 (22:40 +0100)]
Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]
This avoids Coregraphics (cairo_quartz_surface..) competely.
The openGL texture bypasses CG's slow argb_image and CGSColorMask
methods.
Len Ovens [Sun, 19 Mar 2017 15:54:58 +0000 (08:54 -0700)]
OSC: add feedback for /monitor/mute,dim,mono
Len Ovens [Sun, 19 Mar 2017 14:27:24 +0000 (07:27 -0700)]
basic_ui send midi_panic directly to session rather than through GUI
Len Ovens [Sun, 19 Mar 2017 03:05:04 +0000 (20:05 -0700)]
OSC add /monitor/mute,dim,mono
Robin Gareus [Sat, 18 Mar 2017 22:05:22 +0000 (23:05 +0100)]
fix copy/paste issue, typename is not needed here
Robin Gareus [Sat, 18 Mar 2017 21:50:35 +0000 (22:50 +0100)]
Fix Group assign to new VCA
For reasons unknown[1], The vca-counter may not be in sync with
actual number of VCAs present.
[1] possibly some shared-ptr references at the time of session-save, or
old session compatibility.
Len Ovens [Sat, 18 Mar 2017 21:14:02 +0000 (14:14 -0700)]
OSC fix toggle_monitor_mute/dim/mono in basic_ui
Robin Gareus [Sat, 18 Mar 2017 20:31:34 +0000 (21:31 +0100)]
Resolve copy-c'tor and assignment issue with TempoMap
There are various issues with copy-construction: no readlock is taken,
Tempo/Metric Sections were static-cast to non-const pointers and passed
as references...
This remove the [now] unused copy-c'tor, and fixes various const issues.
Robin Gareus [Sat, 18 Mar 2017 18:10:19 +0000 (19:10 +0100)]
Add example script to access midi-region events
Robin Gareus [Sat, 18 Mar 2017 17:37:19 +0000 (18:37 +0100)]
Lua bindings to access MIDI region/source note-events
Robin Gareus [Sat, 18 Mar 2017 17:33:17 +0000 (18:33 +0100)]
Prefer const references: Beat-Converter does not modify the TempoMap
Robin Gareus [Sat, 18 Mar 2017 17:28:44 +0000 (18:28 +0100)]
Fix LuaBindings TypeList copy-ctor
Determining the class type copy constructed references.
Const-references passed to C++ functions were copies.
Robin Gareus [Sat, 18 Mar 2017 14:05:54 +0000 (15:05 +0100)]
Hide SoundCloud uploader in optimized builds until it's fixed
Robin Gareus [Sat, 18 Mar 2017 13:34:02 +0000 (14:34 +0100)]
Make Lua std::set bindings more generic, (prepare for multiset etc)
Robin Gareus [Sat, 18 Mar 2017 13:32:48 +0000 (14:32 +0100)]
Oh boy!
Robin Gareus [Sat, 18 Mar 2017 13:27:19 +0000 (14:27 +0100)]
Don't push WriteMemoryCallback into global namespace
Robin Gareus [Sat, 18 Mar 2017 13:26:53 +0000 (14:26 +0100)]
Add newline to DEBUG::Soundcloud so that it's readable & flushed
Hiroki Inagaki [Sun, 12 Mar 2017 08:28:17 +0000 (00:28 -0800)]
Update Japanese translation
Robin Gareus [Fri, 17 Mar 2017 17:27:45 +0000 (18:27 +0100)]
Lua VAMP plugin list: print value-names
Robin Gareus [Fri, 17 Mar 2017 17:13:16 +0000 (18:13 +0100)]
Add example Lua script to print region transients
Robin Gareus [Fri, 17 Mar 2017 17:12:50 +0000 (18:12 +0100)]
Lua bindings for libardour transient-analysis
Robin Gareus [Fri, 17 Mar 2017 15:54:16 +0000 (16:54 +0100)]
Snow White and the Pharaoh (mac rendering)
Once upon a time there was a beautiful Apple tree in palace of
GtkAnkhAmun in Cairo...
Robin Gareus [Fri, 17 Mar 2017 15:03:59 +0000 (16:03 +0100)]
NO-OP: whitespace
Robin Gareus [Thu, 16 Mar 2017 19:56:32 +0000 (20:56 +0100)]
drop lua documentation for deprecated "sameinstance()"
Robin Gareus [Thu, 16 Mar 2017 19:55:41 +0000 (20:55 +0100)]
Update scripts to use == operator
Robin Gareus [Thu, 16 Mar 2017 19:08:17 +0000 (20:08 +0100)]
Lua: provide instance-equal check as '==' comparator.
This deprecated explicit the "sameinstance()" method
Robin Gareus [Thu, 16 Mar 2017 13:22:00 +0000 (14:22 +0100)]
Sanitize cubic-interpolation code (NO-OP safe for float inaccuracies)
Prefer fmod(x, 1) over (x - floor (x))
John Emmas [Thu, 16 Mar 2017 10:20:27 +0000 (10:20 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
Robin Gareus [Thu, 16 Mar 2017 02:47:46 +0000 (03:47 +0100)]
Fix note-grid, canvas bounding-box offset.
Note lines on a MIDI-track were able to exceed the time-axis' height
towards the top. If a MIDI track was at the top, the TAV's canvas-group
would increase the overall bounding-box of the track-area and allow
tracks to visually bleed into the time markers group.
Robin Gareus [Thu, 16 Mar 2017 01:25:53 +0000 (02:25 +0100)]
consolidate context-menu popup methods
Robin Gareus [Thu, 16 Mar 2017 01:24:57 +0000 (02:24 +0100)]
consistent use of context-menu popups
Robin Gareus [Thu, 16 Mar 2017 00:50:30 +0000 (01:50 +0100)]
Plugin another menu memory leak.