Robin Gareus [Fri, 24 Feb 2017 12:03:24 +0000 (13:03 +0100)]
Add some convenient public editor methods (for lua-bindings)
and s/get// in the old API for consistency.
Robin Gareus [Fri, 24 Feb 2017 11:59:07 +0000 (12:59 +0100)]
the daily dose of const'ness
Robin Gareus [Fri, 24 Feb 2017 11:53:49 +0000 (12:53 +0100)]
re-order inheritance
LuaBridge only allows one parent class, others need explicit casts.
Allowing RoutUI to be passed as Selectable argument is handy.
Paul Davis [Fri, 24 Feb 2017 09:18:57 +0000 (10:18 +0100)]
remove misleading/incorrect comment
The previously-commented code is precisely what gets invoked
when solo state changes, and had nothing to do with actually
changing solo state in any way.
Len Ovens [Thu, 23 Feb 2017 23:45:28 +0000 (15:45 -0800)]
OSC: remove invalid feedback for solo and pan az.
Paul Davis [Thu, 23 Feb 2017 21:53:50 +0000 (22:53 +0100)]
fix solo + mute controls when slaved
clamp/scale by masters only applies to non-boolean controls
Robin Gareus [Thu, 23 Feb 2017 21:31:50 +0000 (22:31 +0100)]
Add static Class-Keys for Windows build
Robin Gareus [Thu, 23 Feb 2017 21:31:03 +0000 (22:31 +0100)]
Lua bindings to access editor selection + region selection bindings
Robin Gareus [Thu, 23 Feb 2017 21:21:08 +0000 (22:21 +0100)]
LuaBridge: Dedicated type for pointer-lists and const version
"class C*" cannot be defined nor resolved, so STL containers
to class instance pointers need to be special-cased.
Robin Gareus [Thu, 23 Feb 2017 21:19:19 +0000 (22:19 +0100)]
luaBridge support const references to class-instance pointers
Support passing "T*" as as "const T* &" argument
e.g. std::list<T*>::push_back ( const T* & )
Robin Gareus [Thu, 23 Feb 2017 17:33:10 +0000 (18:33 +0100)]
Constrain VCA slave value to controllable range
This prevents overshoot e.g. when writing automation (and related oddities)
Robin Gareus [Thu, 23 Feb 2017 16:40:33 +0000 (17:40 +0100)]
remove explicit line-break (rely on wrap)
Robin Gareus [Thu, 23 Feb 2017 15:23:10 +0000 (16:23 +0100)]
Do not bundle default system_config (prefer built-in defaults)
Inside the bundle, those files are read-only, anyway.
This alleviates us from generating/updating the files with whenever
the built-in default changes and also makes architecture dependent
default-config (compile time #defines) work.
Robin Gareus [Thu, 23 Feb 2017 14:54:30 +0000 (15:54 +0100)]
Clarify prefs
nick_m [Thu, 23 Feb 2017 14:11:56 +0000 (01:11 +1100)]
also fix flying percussive hits while copy-dragging.
nick_m [Thu, 23 Feb 2017 13:36:58 +0000 (00:36 +1100)]
hotfix for flying percussive hits while dragging.
- Hit::position still may not be set correctly,
but this patch eliminates the error for now.
Robin Gareus [Thu, 23 Feb 2017 02:22:13 +0000 (03:22 +0100)]
Update lua-script to use new playlist-API
Ben Loftis [Wed, 22 Feb 2017 16:29:37 +0000 (10:29 -0600)]
Move Select-All-Tracks into the Selection category. Currently used only when printing keybindings. But we should also use this for categorizing the keybindings dialog IMHO.
Paul Davis [Wed, 22 Feb 2017 17:27:07 +0000 (18:27 +0100)]
fix deadlock when assigning a VCA master
Robin Gareus [Wed, 22 Feb 2017 14:24:33 +0000 (15:24 +0100)]
Update processor Lua bindings
Robin Gareus [Wed, 22 Feb 2017 11:28:56 +0000 (12:28 +0100)]
amend
a2d54c3d9710 (w64 debug builds)
Robin Gareus [Wed, 22 Feb 2017 09:38:43 +0000 (10:38 +0100)]
GUI support to re-locate missing external (abs-path) files
Robin Gareus [Wed, 22 Feb 2017 09:38:17 +0000 (10:38 +0100)]
Prepare re-locating missing external files.
Robin Gareus [Wed, 22 Feb 2017 09:26:58 +0000 (10:26 +0100)]
NO-OP: whitespace
Robin Gareus [Wed, 22 Feb 2017 09:25:58 +0000 (10:25 +0100)]
NO-OP; whitespace
Robin Gareus [Wed, 22 Feb 2017 09:17:33 +0000 (10:17 +0100)]
The return of the w64 debug build
Robin Gareus [Wed, 22 Feb 2017 09:13:26 +0000 (10:13 +0100)]
remove cruft
Paul Davis [Wed, 22 Feb 2017 08:35:49 +0000 (09:35 +0100)]
if a slave's masters are at zero, lock slave to zero and not NaN
Paul Davis [Tue, 21 Feb 2017 18:11:14 +0000 (19:11 +0100)]
fix crash when removing a TimeAxisView from the selection
Paul Davis [Tue, 21 Feb 2017 17:50:32 +0000 (18:50 +0100)]
fix thinko/typo which failed to notify when a VCA is unassigned
Paul Davis [Tue, 21 Feb 2017 17:45:16 +0000 (18:45 +0100)]
PBD::Signal<...>::connect() is already thread safe, so drop intermediate proxy/call_slot() invocation in handling Controllable::Changed within AutomationController
Robin Gareus [Tue, 21 Feb 2017 15:13:25 +0000 (16:13 +0100)]
Add Lua binding to query monotonic time (in microseconds)
Robin Gareus [Tue, 21 Feb 2017 15:12:24 +0000 (16:12 +0100)]
update plugin-utils Lua example script
Robin Gareus [Tue, 21 Feb 2017 15:11:34 +0000 (16:11 +0100)]
Allow to access/load LuaDSP plugins with default plugin lua-bindings API
Paul Davis [Tue, 21 Feb 2017 14:44:12 +0000 (15:44 +0100)]
Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
This reverts commit
35f35ad662933e30242c825fb5317f181e9a232c.
This commit was a mistake: the controllables are needed to allow MIDI binding
to transport buttons.
Robin Gareus [Tue, 21 Feb 2017 14:24:02 +0000 (15:24 +0100)]
Implementations for Plugin-Preset-Load to set automation
Robin Gareus [Tue, 21 Feb 2017 14:02:29 +0000 (15:02 +0100)]
Add API allowing plugin preset load to affect automation
Paul Davis [Tue, 21 Feb 2017 14:04:20 +0000 (15:04 +0100)]
redesign VCA control over gain (and theoretically other scalar controls)
master(s) value now just scales the control's own value; a trivial
bit of math at assign/deassign ensures that values do not change
during add/remove master operations
Robin Gareus [Tue, 21 Feb 2017 11:25:57 +0000 (12:25 +0100)]
better solution of
3c25d26e9
Robin Gareus [Tue, 21 Feb 2017 00:35:18 +0000 (01:35 +0100)]
Fix potential crash at exit/close.
~DisplaySuspender's PresentationInfo::unsuspend_change_signal
can try to update Stripable PresentationInfo for a session that's
no longer present.
Robin Gareus [Mon, 20 Feb 2017 23:11:38 +0000 (00:11 +0100)]
Group-Tabs keyboard shortcuts
* The return of the ctrl+right-click (edit)
* and consistent shift+right click (remove)
Robin Gareus [Mon, 20 Feb 2017 23:07:47 +0000 (00:07 +0100)]
fix typo in prev commit
Robin Gareus [Mon, 20 Feb 2017 21:55:46 +0000 (22:55 +0100)]
MB: prefs are detached initially
Robin Gareus [Mon, 20 Feb 2017 21:55:31 +0000 (22:55 +0100)]
Allow to pre-seed Tabbable detached state.
Robin Gareus [Mon, 20 Feb 2017 20:52:13 +0000 (21:52 +0100)]
fix thinko in prev commit
Robin Gareus [Mon, 20 Feb 2017 20:37:50 +0000 (21:37 +0100)]
Fix iterator off-by-one: Allow to move top-most track. via ctrl up/down
Robin Gareus [Mon, 20 Feb 2017 19:47:57 +0000 (20:47 +0100)]
First-time startup logic update.
When *not* copying old config, Ardour should display the "first time"
dialog.
Robin Gareus [Mon, 20 Feb 2017 15:50:42 +0000 (16:50 +0100)]
Consistent VCA naming (Ardour/Mixbus)
Robin Gareus [Mon, 20 Feb 2017 15:35:38 +0000 (16:35 +0100)]
consolidate Ardour+Mixbus code, fix duplicate SeparatorElem in MB.
Paul Davis [Mon, 20 Feb 2017 14:40:24 +0000 (15:40 +0100)]
use "VCA" rather than "Control Master" in the GUI
Paul Davis [Mon, 20 Feb 2017 11:58:09 +0000 (12:58 +0100)]
ensure that when mixer is shown in its own tab, it has a default focus widget, so that alt-m will always work
John Emmas [Mon, 20 Feb 2017 09:16:51 +0000 (09:16 +0000)]
Add a missing #define to our MSVC project (portaudio_backend)
Robin Gareus [Mon, 20 Feb 2017 02:58:52 +0000 (03:58 +0100)]
And some more action-script icons
Robin Gareus [Mon, 20 Feb 2017 02:57:53 +0000 (03:57 +0100)]
Increase default size of script-editor pane
Robin Gareus [Mon, 20 Feb 2017 02:56:32 +0000 (03:56 +0100)]
Lua binding for pango_cairo_layout_path (text outlines)
Robin Gareus [Sun, 19 Feb 2017 23:53:09 +0000 (00:53 +0100)]
Add 2 more action-script icons
Robin Gareus [Sun, 19 Feb 2017 23:52:40 +0000 (00:52 +0100)]
NO-OP; clean up script spacing and remove goto
Robin Gareus [Sun, 19 Feb 2017 23:29:39 +0000 (00:29 +0100)]
Add a Lua script to send multiple tracks to an aux-bus.
Robin Gareus [Sun, 19 Feb 2017 23:17:42 +0000 (00:17 +0100)]
Allow to create aux sends from Lua scripts
Robin Gareus [Sun, 19 Feb 2017 23:17:08 +0000 (00:17 +0100)]
Add Lua bindings for std::list ::front() and ::back()
Paul Davis [Sun, 19 Feb 2017 18:44:13 +0000 (19:44 +0100)]
probable fix for crash while dragging playhead
Robin Gareus [Sun, 19 Feb 2017 16:14:59 +0000 (17:14 +0100)]
Consistent dialog title (match "Show Protocol Settings" button)
Robin Gareus [Sun, 19 Feb 2017 15:03:17 +0000 (16:03 +0100)]
Clean up create drum-tracks script (no global variables)
Robin Gareus [Sun, 19 Feb 2017 15:01:25 +0000 (16:01 +0100)]
Allow to keep environment C/XXFLAGS with debug builds
this is needed for e.g. windows debug builds to pass mstackrealign
Robin Gareus [Sun, 19 Feb 2017 00:27:16 +0000 (01:27 +0100)]
Connect Script Manager "Edit" -> Lua Scripting Window
Robin Gareus [Sat, 18 Feb 2017 23:58:39 +0000 (00:58 +0100)]
Build-in some doc (script types)
This should probably be optional, but there's space in the dialog.
Robin Gareus [Sat, 18 Feb 2017 23:11:08 +0000 (00:11 +0100)]
Remove unused ArdourUI code to add/remove Lua Session Scripts.
Robin Gareus [Sat, 18 Feb 2017 23:09:52 +0000 (00:09 +0100)]
Update menu for Lua
- remove "Session > Scripting" entry point
- change ActionScripts to LuaScripts (all of them sans DSP)
Robin Gareus [Sat, 18 Feb 2017 23:07:16 +0000 (00:07 +0100)]
Allow to un/load Lua Session Scripts in the Script Manager
Robin Gareus [Sat, 18 Feb 2017 23:06:01 +0000 (00:06 +0100)]
Emit a signal when Lua session script change (prepare UI update to un/set)
nick_m [Sat, 18 Feb 2017 20:13:26 +0000 (07:13 +1100)]
fix missing command in Editor::snap_regions_to_grid ()
- fixes 7246
Robin Gareus [Sat, 18 Feb 2017 18:01:00 +0000 (19:01 +0100)]
re-layout script-selector (only grow description vertically)
Robin Gareus [Sat, 18 Feb 2017 15:22:34 +0000 (16:22 +0100)]
Fix 32bit compilation
Robin Gareus [Sat, 18 Feb 2017 15:14:41 +0000 (16:14 +0100)]
Consolidate ActionChanged callbacks, add tooltips
Robin Gareus [Sat, 18 Feb 2017 15:13:49 +0000 (16:13 +0100)]
Remove LuaCairo.color_to_rgba (now Ardour.LuaAPI.color_to_rgba)
Robin Gareus [Sat, 18 Feb 2017 15:12:59 +0000 (16:12 +0100)]
Some more EditorAction icons & color API update
Robin Gareus [Sat, 18 Feb 2017 15:11:18 +0000 (16:11 +0100)]
move color_to_rgba to LuaAPI for consistency
Damien Zammit [Sat, 18 Feb 2017 02:16:31 +0000 (13:16 +1100)]
ptformat: Update lib to upstream
624671c
Temporary measure to prevent bogus data being parsed:
Until .ptx decryption is fully solved, we protect
the MIDI data output against bogus values being parsed.
Robin Gareus [Sat, 18 Feb 2017 01:25:28 +0000 (02:25 +0100)]
Bundle Audio to MIDI Lua script
Robin Gareus [Sat, 18 Feb 2017 01:24:23 +0000 (02:24 +0100)]
Allow to un-assign action-scripts via shift+right-click
Robin Gareus [Sat, 18 Feb 2017 00:25:13 +0000 (01:25 +0100)]
Don't scroll-jump when selecting all tracks
Robin Gareus [Fri, 17 Feb 2017 23:45:37 +0000 (00:45 +0100)]
Prevent direct and indirect selection of VCAs
the ::selection_filter() does not cover select-all and various other
indirect selection operations.
Robin Gareus [Fri, 17 Feb 2017 23:09:52 +0000 (00:09 +0100)]
VCA spill should not show hidden tracks
Robin Gareus [Fri, 17 Feb 2017 22:30:30 +0000 (23:30 +0100)]
Allow to re-scan VST plugins after changing VST-paths
Robin Gareus [Fri, 17 Feb 2017 22:29:12 +0000 (23:29 +0100)]
Add gcc suggested parentheses
Robin Gareus [Fri, 17 Feb 2017 22:28:53 +0000 (23:28 +0100)]
Update Lua action-icon doc
Robin Gareus [Fri, 17 Feb 2017 22:28:03 +0000 (23:28 +0100)]
Add Lua API to convert Canvas::Color to Cairo RGBA
Robin Gareus [Fri, 17 Feb 2017 20:03:30 +0000 (21:03 +0100)]
..and another action-button icon
Robin Gareus [Fri, 17 Feb 2017 19:51:15 +0000 (20:51 +0100)]
Fix button sizing for IconRenderCallback
Robin Gareus [Fri, 17 Feb 2017 17:56:41 +0000 (18:56 +0100)]
Example Lua action script icon
Robin Gareus [Fri, 17 Feb 2017 17:56:18 +0000 (18:56 +0100)]
Allow Lua action scripts to provide a button icon
Robin Gareus [Fri, 17 Feb 2017 17:28:40 +0000 (18:28 +0100)]
Allow to use any Lua function factory, produce bytecode
Robin Gareus [Fri, 17 Feb 2017 17:26:30 +0000 (18:26 +0100)]
Implement icon-render callback in ArdourButton
Damien Zammit [Fri, 17 Feb 2017 16:01:16 +0000 (03:01 +1100)]
ptformat: Update lib to upstream
3b60276
bugfix: Empty out MIDI events per region
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Damien Zammit [Fri, 17 Feb 2017 09:03:21 +0000 (20:03 +1100)]
PT import: Add MIDI import functionality
This change adds support for importing all MIDI regions
from a PT session onto a single track.
Unfortunately, currently we don't know how to set the start
offset of MIDI regions reliably, therefore all midi regions
get dumped at the beginning of the Ardour session.
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Damien Zammit [Fri, 17 Feb 2017 08:43:04 +0000 (19:43 +1100)]
ptformat: Update the lib to
9d0b64f (upstream ptformat)
Adds MIDI region import support and simplifies XOR decryption.
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Robin Gareus [Fri, 17 Feb 2017 10:19:15 +0000 (11:19 +0100)]
Refine faders-to-trim script
Robin Gareus [Fri, 17 Feb 2017 10:17:54 +0000 (11:17 +0100)]
Mark session dirty when changing scripts
Robin Gareus [Fri, 17 Feb 2017 10:15:14 +0000 (11:15 +0100)]
Allow binding Lua Action Scripts via right-click
Robin Gareus [Fri, 17 Feb 2017 10:14:43 +0000 (11:14 +0100)]
Don't bundle rewind example script