ardour.git
8 years agoupdate Lua Binding Doc and html generator
Robin Gareus [Mon, 21 Mar 2016 18:06:51 +0000 (19:06 +0100)]
update Lua Binding Doc and html generator

8 years agoreturn values of reference params as Lua table
Robin Gareus [Mon, 21 Mar 2016 17:58:09 +0000 (18:58 +0100)]
return values of reference params as Lua table

8 years agomove std bindings out of "ARDOUR" into "C" namespace, fix Reference Params
Robin Gareus [Mon, 21 Mar 2016 17:57:20 +0000 (18:57 +0100)]
move std bindings out of "ARDOUR" into "C" namespace, fix Reference Params

8 years agoLua Array Documentation
Robin Gareus [Mon, 21 Mar 2016 17:56:16 +0000 (18:56 +0100)]
Lua Array Documentation

8 years agofirst steps towards formatting lua binding doc (JSON/HTML)
Robin Gareus [Mon, 21 Mar 2016 03:09:01 +0000 (04:09 +0100)]
first steps towards formatting lua binding doc (JSON/HTML)

8 years agoadd missing GUI lua binding classe
Robin Gareus [Mon, 21 Mar 2016 03:06:32 +0000 (04:06 +0100)]
add missing GUI lua binding classe

8 years agoadd some missing bindings (dep classes)
Robin Gareus [Mon, 21 Mar 2016 03:06:05 +0000 (04:06 +0100)]
add some missing bindings (dep classes)

8 years agorefine Lua Binding Documentation
Robin Gareus [Mon, 21 Mar 2016 03:05:43 +0000 (04:05 +0100)]
refine Lua Binding Documentation

8 years agoadd convenience lua API for looking up Plugins
Robin Gareus [Sun, 20 Mar 2016 20:16:18 +0000 (21:16 +0100)]
add convenience lua API for looking up Plugins

8 years agofix JSON luadoc format
Robin Gareus [Sun, 20 Mar 2016 19:58:52 +0000 (20:58 +0100)]
fix JSON luadoc format

8 years agohandle MidiBusses in channel-count
Robin Gareus [Sun, 20 Mar 2016 19:35:25 +0000 (20:35 +0100)]
handle MidiBusses in channel-count

8 years agoadd luadoc binary (developer tool) to dump lua bindings
Robin Gareus [Sun, 20 Mar 2016 19:52:12 +0000 (20:52 +0100)]
add luadoc binary (developer tool) to dump lua bindings

output is either JSON or lua-tables.
enable via  ./waf configure --luadoc ... , needs C++11

8 years agoPrepare Lua Binding Documentation (JSON)
Robin Gareus [Sun, 20 Mar 2016 19:54:15 +0000 (20:54 +0100)]
Prepare Lua Binding Documentation (JSON)

8 years agofix out-of-bounds array access in export report.
Colin Fletcher [Sun, 20 Mar 2016 11:19:31 +0000 (11:19 +0000)]
fix out-of-bounds array access in export report.

cppcheck reports "gtk2_ardour/export_report.cc:260: error: Array 'y0[4]'
accessed at index 4, which is out of bounds.", which seems indeed to be
the case.

8 years agocache LuaProc Parameters in Processor
Robin Gareus [Sat, 19 Mar 2016 17:59:10 +0000 (18:59 +0100)]
cache LuaProc Parameters in Processor

This prevents concurrent access to the lua interpreter to query them

8 years agoRevert "hotfix for concurrent lua interpreter calls"
Robin Gareus [Sat, 19 Mar 2016 17:08:38 +0000 (18:08 +0100)]
Revert "hotfix for concurrent lua interpreter calls"

This reverts commit 8f3a13d998e812e1c997bd8485b0d5c7b7ff9809.

8 years agohotfix for concurrent lua interpreter calls
Robin Gareus [Sat, 19 Mar 2016 17:03:36 +0000 (18:03 +0100)]
hotfix for concurrent lua interpreter calls

ToDo: localize parameter descriptor in init()

8 years agoindicate debug builds in About > Config and shorten the message to fit
Robin Gareus [Sat, 19 Mar 2016 16:33:54 +0000 (17:33 +0100)]
indicate debug builds in About > Config and shorten the message to fit

8 years agofix optimized build
Robin Gareus [Sat, 19 Mar 2016 16:14:23 +0000 (17:14 +0100)]
fix optimized build

8 years agoexpose OSC bindings to luasession util
Robin Gareus [Sat, 19 Mar 2016 15:55:51 +0000 (16:55 +0100)]
expose OSC bindings to luasession util

8 years agoadd more lua examples/doc
Robin Gareus [Sat, 19 Mar 2016 15:40:02 +0000 (16:40 +0100)]
add more lua examples/doc

8 years agoadd some convenience lua functions for plugin management
Robin Gareus [Sat, 19 Mar 2016 15:39:24 +0000 (16:39 +0100)]
add some convenience lua functions for plugin management

8 years agofix plugin preset listing
Robin Gareus [Sat, 19 Mar 2016 15:36:44 +0000 (16:36 +0100)]
fix plugin preset listing

8 years agoprepare Instrument slots -- replace processor in place
Robin Gareus [Sat, 19 Mar 2016 15:36:20 +0000 (16:36 +0100)]
prepare Instrument slots -- replace processor in place

8 years agoreset autoscroll speed to minimum when scrolling stops
Colin Fletcher [Sat, 19 Mar 2016 13:40:27 +0000 (13:40 +0000)]
reset autoscroll speed to minimum when scrolling stops

Reset the autoscroll counter when scrolling stops, and correct the check
when vertical autoscrolling is permitted for whether scrolling has stopped.

8 years agoexpose Lua OSC transmitter
Robin Gareus [Sat, 19 Mar 2016 12:15:37 +0000 (13:15 +0100)]
expose Lua OSC transmitter

8 years agoremove cruft
Robin Gareus [Sat, 19 Mar 2016 12:13:43 +0000 (13:13 +0100)]
remove cruft

8 years agothe return of the Session::Exported signal
Robin Gareus [Sat, 19 Mar 2016 12:13:34 +0000 (13:13 +0100)]
the return of the Session::Exported signal

8 years agoadd Lua Bindings for ARDOUR::Region
Robin Gareus [Sat, 19 Mar 2016 12:13:08 +0000 (13:13 +0100)]
add Lua Bindings for ARDOUR::Region

8 years agoadd OSC Lua bindings
Robin Gareus [Sat, 19 Mar 2016 11:47:37 +0000 (12:47 +0100)]
add OSC Lua bindings

8 years agoplug a tiny memory leak
Robin Gareus [Sat, 19 Mar 2016 09:51:26 +0000 (10:51 +0100)]
plug a tiny memory leak

8 years agosuppress realloc-poll debug messages in optimized builds
Robin Gareus [Sat, 19 Mar 2016 09:51:15 +0000 (10:51 +0100)]
suppress realloc-poll debug messages in optimized builds

8 years agofix some plugin control name typos
Robin Gareus [Fri, 18 Mar 2016 23:31:04 +0000 (00:31 +0100)]
fix some plugin control name typos

8 years agoamend prev commit
Robin Gareus [Fri, 18 Mar 2016 23:16:30 +0000 (00:16 +0100)]
amend prev commit

8 years agogcc4 compat
Robin Gareus [Fri, 18 Mar 2016 23:14:42 +0000 (00:14 +0100)]
gcc4 compat

8 years agoFix blocked patch:Set messages.
Hanspeter Portner [Thu, 17 Mar 2016 22:01:33 +0000 (23:01 +0100)]
Fix blocked patch:Set messages.

8 years agoAdd a Lua Action Script to add scopes to all tracks
Robin Gareus [Fri, 18 Mar 2016 21:57:53 +0000 (22:57 +0100)]
Add a Lua Action Script to add scopes to all tracks

8 years agostart a dedicated ARDOUR lua function collection
Robin Gareus [Fri, 18 Mar 2016 21:52:19 +0000 (22:52 +0100)]
start a dedicated ARDOUR lua function collection

8 years agofix processor DnD from sidebar.
Robin Gareus [Fri, 18 Mar 2016 19:43:28 +0000 (20:43 +0100)]
fix processor DnD from sidebar.

(default move action removes an entry in the TreeView)

8 years agoadd a lua inline scope processor
Robin Gareus [Fri, 18 Mar 2016 20:34:22 +0000 (21:34 +0100)]
add a lua inline scope processor

8 years agospecial case LuaProc Inline Display UI: direct cairo context
Robin Gareus [Fri, 18 Mar 2016 20:33:45 +0000 (21:33 +0100)]
special case LuaProc Inline Display UI: direct cairo context

8 years agofix possible overflow (printing float)
Robin Gareus [Fri, 18 Mar 2016 20:19:05 +0000 (21:19 +0100)]
fix possible overflow (printing float)

8 years agoadd LuaProc Plugin state (to allow state copy, indep from controllables)
Robin Gareus [Fri, 18 Mar 2016 20:18:44 +0000 (21:18 +0100)]
add LuaProc Plugin state (to allow state copy, indep from controllables)

8 years agoimplement LuaProc inline display
Robin Gareus [Fri, 18 Mar 2016 19:01:10 +0000 (20:01 +0100)]
implement LuaProc inline display

8 years agoAdd some convenient DSP methods for lua scripts
Robin Gareus [Fri, 18 Mar 2016 19:00:44 +0000 (20:00 +0100)]
Add some convenient DSP methods for lua scripts

8 years agoallow to bind functions with reference args in global lua namespace
Robin Gareus [Fri, 18 Mar 2016 18:59:37 +0000 (19:59 +0100)]
allow to bind functions with reference args in global lua namespace

8 years agoadd basic set of Cairo Lua bindings
Robin Gareus [Thu, 17 Mar 2016 14:53:19 +0000 (15:53 +0100)]
add basic set of Cairo Lua bindings

8 years agoI'm taking a guess that we need to pass 'this' at line 243 of 'gtkmm2ext/fader.cc'
John Emmas [Thu, 17 Mar 2016 13:38:39 +0000 (13:38 +0000)]
I'm taking a guess that we need to pass 'this' at line 243 of 'gtkmm2ext/fader.cc'

(makes it consistent with similar changes elsewhere).

8 years agoMake provision for building with the new LV2 extensions (when building with MSVC)
John Emmas [Thu, 17 Mar 2016 12:48:55 +0000 (12:48 +0000)]
Make provision for building with the new LV2 extensions (when building with MSVC)

8 years agoadd missing ifdef
Robin Gareus [Wed, 16 Mar 2016 18:39:13 +0000 (19:39 +0100)]
add missing ifdef

8 years agoMidi Busses? why yes!
Robin Gareus [Wed, 16 Mar 2016 03:41:19 +0000 (04:41 +0100)]
Midi Busses? why yes!

8 years agofix capitalization of sections of key editor
Paul Davis [Wed, 16 Mar 2016 01:25:02 +0000 (21:25 -0400)]
fix capitalization of sections of key editor

8 years agofix wscript to know about key binding dependencies
Paul Davis [Wed, 16 Mar 2016 01:24:39 +0000 (21:24 -0400)]
fix wscript to know about key binding dependencies

8 years agorelax inline display height constraint
Robin Gareus [Wed, 16 Mar 2016 00:24:13 +0000 (01:24 +0100)]
relax inline display height constraint

8 years agochange the way the key editor gets populated; drop binding sets with no actions
Paul Davis [Tue, 15 Mar 2016 23:46:28 +0000 (19:46 -0400)]
change the way the key editor gets populated; drop binding sets with no actions

8 years agoin key editor, attach key press/release handlers before other handlers so that normal...
Paul Davis [Tue, 15 Mar 2016 22:15:26 +0000 (18:15 -0400)]
in key editor, attach key press/release handlers before other handlers so that normal treeview navigation keys (backspace, up, down etc.) can still be bound

8 years agodo the safety dance
Paul Davis [Tue, 15 Mar 2016 20:46:52 +0000 (16:46 -0400)]
do the safety dance

8 years agosafety pointer resets in MonitorSection dtor. Not intended to fix any known bugs
Paul Davis [Tue, 15 Mar 2016 20:44:12 +0000 (16:44 -0400)]
safety pointer resets in MonitorSection dtor. Not intended to fix any known bugs

8 years agoadd and remove monitor section bindings as MS is created/destroyed
Paul Davis [Tue, 15 Mar 2016 20:43:52 +0000 (16:43 -0400)]
add and remove monitor section bindings as MS is created/destroyed

8 years agoallow access to ProcessorBox bindings
Paul Davis [Tue, 15 Mar 2016 20:43:26 +0000 (16:43 -0400)]
allow access to ProcessorBox bindings

8 years agoextend API of key binding editor to allow for tab removal
Paul Davis [Tue, 15 Mar 2016 20:42:45 +0000 (16:42 -0400)]
extend API of key binding editor to allow for tab removal

8 years agoshow processor box bindings in key binding editor
Paul Davis [Tue, 15 Mar 2016 20:42:23 +0000 (16:42 -0400)]
show processor box bindings in key binding editor

8 years agoadd new API to ARDOUR_UI to allow dynamic add/remove of keyboard bindings to key...
Paul Davis [Tue, 15 Mar 2016 20:41:15 +0000 (16:41 -0400)]
add new API to ARDOUR_UI to allow dynamic add/remove of keyboard bindings to key binding editor

8 years agofix segfaults/crashes when quitting under valgrind
Paul Davis [Tue, 15 Mar 2016 19:31:41 +0000 (15:31 -0400)]
fix segfaults/crashes when quitting under valgrind

8 years agoavoid memcpy if it's not needed.
Robin Gareus [Tue, 15 Mar 2016 17:47:39 +0000 (18:47 +0100)]
avoid memcpy if it's not needed.

besides, memcpy areas may not overlap

8 years agofix carelesslly deleted line that caused endless loop when missing
Paul Davis [Tue, 15 Mar 2016 17:14:35 +0000 (13:14 -0400)]
fix carelesslly deleted line that caused endless loop when missing

8 years agogive monitor section its own bindings
Paul Davis [Tue, 15 Mar 2016 16:41:14 +0000 (12:41 -0400)]
give monitor section its own bindings

8 years agogive ProcessorBox its own bindings
Paul Davis [Tue, 15 Mar 2016 16:40:53 +0000 (12:40 -0400)]
give ProcessorBox its own bindings

8 years agonew two new "pre-coded" bindings file, for the monitor section and the processor box
Paul Davis [Tue, 15 Mar 2016 16:40:27 +0000 (12:40 -0400)]
new two new "pre-coded" bindings file, for the monitor section and the processor box

8 years agowhen handling a keyboard event, if the current focus widget has ardour bindings attac...
Paul Davis [Tue, 15 Mar 2016 16:39:13 +0000 (12:39 -0400)]
when handling a keyboard event, if the current focus widget has ardour bindings attached, use them rather the ones for the main window content tab

8 years agoafter showing a ProcessorBox context menu, resensitize all actions that it may have...
Paul Davis [Tue, 15 Mar 2016 16:38:19 +0000 (12:38 -0400)]
after showing a ProcessorBox context menu, resensitize all actions that it may have made insensitive

This allows them to be invoked via other means (e.g. bindings)

8 years agochange API for CairoWidget::focus_handler
Paul Davis [Tue, 15 Mar 2016 16:34:26 +0000 (12:34 -0400)]
change API for CairoWidget::focus_handler

This functor/closure is responsible for stealing focus from any existing text entry (or whatever else may have focus)
when clicking on a CairoWidget or derived class.

The old implementation just gave focus back to the editor canvas. The new version walks up the widget packing
heirarchy to find a focusable parent (from the CairoWidget for which it is invoked). If no focusable parent
is found, it cancels keyboard focus in the toplevel window containing the CairoWidget

8 years agono need for an noop method
Paul Davis [Mon, 14 Mar 2016 21:42:44 +0000 (17:42 -0400)]
no need for an noop method

8 years agoremove plugin ui settings from rc-config
Robin Gareus [Tue, 15 Mar 2016 14:15:40 +0000 (15:15 +0100)]
remove plugin ui settings from rc-config

8 years agomigrate plugin-ui settings to ui-config
Robin Gareus [Tue, 15 Mar 2016 14:15:23 +0000 (15:15 +0100)]
migrate plugin-ui settings to ui-config

8 years agoremove superfluous ceil()
Robin Gareus [Tue, 15 Mar 2016 10:55:44 +0000 (11:55 +0100)]
remove superfluous ceil()

8 years agofix a Wsign-compare
Robin Gareus [Mon, 14 Mar 2016 23:27:13 +0000 (00:27 +0100)]
fix a Wsign-compare

8 years agoimplementation for "prefer inline over GUI"
Robin Gareus [Mon, 14 Mar 2016 23:27:03 +0000 (00:27 +0100)]
implementation for "prefer inline over GUI"

8 years agonew preference: don't open plugin GUI when there's an inline display
Robin Gareus [Mon, 14 Mar 2016 23:26:30 +0000 (00:26 +0100)]
new preference: don't open plugin GUI when there's an inline display

8 years agoinline-display, scrollbars and fixed aspect ratio = fun
Robin Gareus [Mon, 14 Mar 2016 21:32:21 +0000 (22:32 +0100)]
inline-display, scrollbars and fixed aspect ratio = fun

8 years agoGUI update for non-cairo Plugin Inline Display
Robin Gareus [Mon, 14 Mar 2016 15:44:51 +0000 (16:44 +0100)]
GUI update for non-cairo Plugin Inline Display

8 years agoupdate [LV2] Plugin Inline Display API: drop cairo dependency
Robin Gareus [Mon, 14 Mar 2016 15:44:20 +0000 (16:44 +0100)]
update [LV2] Plugin Inline Display API: drop cairo dependency

8 years agoRouteUI solo buttons should trigger group actions
Paul Davis [Mon, 14 Mar 2016 14:49:24 +0000 (10:49 -0400)]
RouteUI solo buttons should trigger group actions

8 years agouse ForGroup to flag and detect route-group based control changes
Paul Davis [Mon, 14 Mar 2016 14:42:01 +0000 (10:42 -0400)]
use ForGroup to flag and detect route-group based control changes

8 years agoadd new Controllable::GroupDisposition value, ForGroup, to identify changes being...
Paul Davis [Mon, 14 Mar 2016 14:41:33 +0000 (10:41 -0400)]
add new Controllable::GroupDisposition value, ForGroup, to identify changes being made *for* a RouteGroup

8 years agoadd GUI support for Plugin Mixer Inline Display
Robin Gareus [Mon, 14 Mar 2016 10:48:22 +0000 (11:48 +0100)]
add GUI support for Plugin Mixer Inline Display

8 years agoImplement LV2 Inline Display Extension
Robin Gareus [Sun, 13 Mar 2016 22:52:48 +0000 (23:52 +0100)]
Implement LV2 Inline Display Extension

8 years agoprototype online self-automating LV2 plugin interface
Robin Gareus [Sun, 13 Mar 2016 22:20:45 +0000 (23:20 +0100)]
prototype online self-automating LV2 plugin interface

goes along with https://github.com/x42/automate.lv2

8 years agoprepare custom LV2 extensions
Robin Gareus [Sun, 13 Mar 2016 23:17:08 +0000 (00:17 +0100)]
prepare custom LV2 extensions

8 years agoSome AudioGrapher classes need to be exportable now, to support newly introduced...
John Emmas [Sat, 12 Mar 2016 13:59:44 +0000 (13:59 +0000)]
Some AudioGrapher classes need to be exportable now, to support newly introduced 'AnalysisGraph' class

(not entirely sure why - but it might be because 'ProcessContext<Sample>' is now used in multiple sources within libardour).

8 years agoMake sure that class 'ARDOUR::AnalysisGraph' is exportable (since it gets used outsid...
John Emmas [Sat, 12 Mar 2016 13:44:10 +0000 (13:44 +0000)]
Make sure that class 'ARDOUR::AnalysisGraph' is exportable (since it gets used outside of libardour)

8 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Sat, 12 Mar 2016 13:41:44 +0000 (13:41 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

8 years agoAccommodate newly introduced source(s) in our MSVC project (libardour)
John Emmas [Sat, 12 Mar 2016 13:41:00 +0000 (13:41 +0000)]
Accommodate newly introduced source(s) in our MSVC project (libardour)

8 years agocleaner version of ac3da53
Robin Gareus [Sat, 12 Mar 2016 09:11:06 +0000 (10:11 +0100)]
cleaner version of ac3da53

8 years agoreset export status when not normalizing - fixes #6816
Robin Gareus [Sat, 12 Mar 2016 02:02:31 +0000 (03:02 +0100)]
reset export status when not normalizing - fixes #6816

8 years agoand without typo :)
Robin Gareus [Fri, 11 Mar 2016 21:46:19 +0000 (22:46 +0100)]
and without typo :)

8 years agoand now without debug printf()
Robin Gareus [Fri, 11 Mar 2016 21:40:58 +0000 (22:40 +0100)]
and now without debug printf()

8 years agoallow to copy processor state (drag processor on another of same type)
Robin Gareus [Fri, 11 Mar 2016 21:00:12 +0000 (22:00 +0100)]
allow to copy processor state (drag processor on another of same type)

8 years agoprepare DnD for copying processor state
Robin Gareus [Fri, 11 Mar 2016 20:59:36 +0000 (21:59 +0100)]
prepare DnD for copying processor state

8 years agoConfigurable export-silence trim threshold (no GUI yet)
Robin Gareus [Fri, 11 Mar 2016 17:11:36 +0000 (18:11 +0100)]
Configurable export-silence trim threshold (no GUI yet)