13
0
Commit Graph

24000 Commits

Author SHA1 Message Date
0aa631b6af Increase default size of script-editor pane 2017-02-20 03:57:53 +01:00
2157cd0e94 Lua binding for pango_cairo_layout_path (text outlines) 2017-02-20 03:56:32 +01:00
83aac1ce88 Add 2 more action-script icons 2017-02-20 00:53:09 +01:00
8d8666d041 NO-OP; clean up script spacing and remove goto 2017-02-20 00:52:40 +01:00
44852aa529 Add a Lua script to send multiple tracks to an aux-bus. 2017-02-20 00:30:15 +01:00
da8f49829f Allow to create aux sends from Lua scripts 2017-02-20 00:30:15 +01:00
226b2a526e Add Lua bindings for std::list ::front() and ::back() 2017-02-20 00:30:15 +01:00
542b789a42 probable fix for crash while dragging playhead 2017-02-19 19:44:37 +01:00
94ec54a3c4 Consistent dialog title (match "Show Protocol Settings" button) 2017-02-19 17:14:59 +01:00
13b1b607b5 Clean up create drum-tracks script (no global variables) 2017-02-19 16:03:17 +01:00
0653766f79 Allow to keep environment C/XXFLAGS with debug builds
this is needed for e.g. windows debug builds to pass mstackrealign
2017-02-19 16:01:25 +01:00
05149f9bc5 Connect Script Manager "Edit" -> Lua Scripting Window 2017-02-19 01:29:08 +01:00
ceb7884380 Build-in some doc (script types)
This should probably be optional, but there's space in the dialog.
2017-02-19 01:29:08 +01:00
b15bebd3c0 Remove unused ArdourUI code to add/remove Lua Session Scripts. 2017-02-19 01:29:08 +01:00
356a422531 Update menu for Lua
- remove "Session > Scripting" entry point
- change ActionScripts to LuaScripts (all of them sans DSP)
2017-02-19 01:29:08 +01:00
a732c7c9fa Allow to un/load Lua Session Scripts in the Script Manager 2017-02-19 01:29:08 +01:00
32fe5a083e Emit a signal when Lua session script change (prepare UI update to un/set) 2017-02-19 01:29:08 +01:00
nick_m
b066ad3164 fix missing command in Editor::snap_regions_to_grid ()
- fixes 7246
2017-02-19 07:13:26 +11:00
695554ab9b re-layout script-selector (only grow description vertically) 2017-02-18 19:01:00 +01:00
29ca1f7a67 Fix 32bit compilation 2017-02-18 16:22:34 +01:00
92e203a19e Consolidate ActionChanged callbacks, add tooltips 2017-02-18 16:14:41 +01:00
2d50871034 Remove LuaCairo.color_to_rgba (now Ardour.LuaAPI.color_to_rgba) 2017-02-18 16:13:49 +01:00
1ab3d33df7 Some more EditorAction icons & color API update 2017-02-18 16:12:59 +01:00
4755c703f4 move color_to_rgba to LuaAPI for consistency 2017-02-18 16:11:18 +01:00
c40ccd5aae 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.
2017-02-18 13:18:32 +11:00
0a40909655 Bundle Audio to MIDI Lua script 2017-02-18 02:25:28 +01:00
2c992c093f Allow to un-assign action-scripts via shift+right-click 2017-02-18 02:24:23 +01:00
c8d6ddfd10 Don't scroll-jump when selecting all tracks 2017-02-18 01:25:13 +01:00
85e3d2158e Prevent direct and indirect selection of VCAs
the ::selection_filter() does not cover select-all and various other
indirect selection operations.
2017-02-18 00:45:37 +01:00
4258bad19d VCA spill should not show hidden tracks 2017-02-18 00:09:52 +01:00
dcce5f0080 Allow to re-scan VST plugins after changing VST-paths 2017-02-17 23:30:30 +01:00
09bb0bf1e6 Add gcc suggested parentheses 2017-02-17 23:29:12 +01:00
b475a81f98 Update Lua action-icon doc 2017-02-17 23:28:53 +01:00
3bbb4b76f7 Add Lua API to convert Canvas::Color to Cairo RGBA 2017-02-17 23:28:03 +01:00
b4dd020139 ..and another action-button icon 2017-02-17 21:03:30 +01:00
b5b9e1d1e5 Fix button sizing for IconRenderCallback 2017-02-17 20:51:15 +01:00
144bfba2dd Example Lua action script icon 2017-02-17 18:58:11 +01:00
472f14c803 Allow Lua action scripts to provide a button icon 2017-02-17 18:58:11 +01:00
149634c2cf Allow to use any Lua function factory, produce bytecode 2017-02-17 18:58:11 +01:00
3b8348f009 Implement icon-render callback in ArdourButton 2017-02-17 18:58:11 +01:00
22d676c7b6 ptformat: Update lib to upstream 3b60276
bugfix: Empty out MIDI events per region

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-18 03:01:16 +11:00
4f4400b764 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>
2017-02-17 15:36:02 +01:00
cb0189845e 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>
2017-02-17 15:36:02 +01:00
64eb3bc724 Refine faders-to-trim script 2017-02-17 11:19:15 +01:00
cded378e17 Mark session dirty when changing scripts 2017-02-17 11:17:54 +01:00
61d038637a Allow binding Lua Action Scripts via right-click 2017-02-17 11:15:14 +01:00
83c9bb20b7 Don't bundle rewind example script 2017-02-17 11:14:43 +01:00
b5dbfc9931 leave a ToDo note for the mackie surface 2017-02-17 04:02:15 +01:00
9d8829f5bf Remove direct calls to set solo_control()
Changing solo-state needs to be done in rt-context to atomically
propagate solo/mute.

set_control() queues a rt-event, later Session::rt_set_control() calls
Session::update_route_solo_state() to propagate solo/mute.
2017-02-17 03:58:51 +01:00
fef0739a10 Update solo/mute example script (use sessions' set_control(s) 2017-02-17 03:38:15 +01:00