ardour.git
6 years agoremove debug output
Robin Gareus [Tue, 22 Aug 2017 00:11:56 +0000 (02:11 +0200)]
remove debug output

6 years agoRouteDialog: Move built-in types into template list experiment
Robin Gareus [Tue, 22 Aug 2017 00:03:47 +0000 (02:03 +0200)]
RouteDialog: Move built-in types into template list experiment

6 years agoOSC: /cue/enable feedback not changing fixed
Len Ovens [Mon, 21 Aug 2017 19:09:48 +0000 (12:09 -0700)]
OSC: /cue/enable feedback not changing fixed

6 years agoFix spacing in french usage strings
Julien "_FrnchFrgg_" RIVAUD [Mon, 21 Aug 2017 17:44:41 +0000 (19:44 +0200)]
Fix spacing in french usage strings

6 years agoOSC: aux bus detection fixed for mixbus
Len Ovens [Mon, 21 Aug 2017 15:40:22 +0000 (08:40 -0700)]
OSC: aux bus detection fixed for mixbus

6 years agoCatch Lua exception when scanning scripts
Robin Gareus [Mon, 21 Aug 2017 15:07:54 +0000 (17:07 +0200)]
Catch Lua exception when scanning scripts

6 years agoprh: Small fix to /cue/send/enable feedback string
Paul Hedderly [Mon, 21 Aug 2017 14:08:22 +0000 (15:08 +0100)]
prh: Small fix to /cue/send/enable feedback string

6 years agoAddRouteDialog: Indicate Type: template
Robin Gareus [Mon, 21 Aug 2017 14:10:20 +0000 (16:10 +0200)]
AddRouteDialog: Indicate Type: template

6 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Mon, 21 Aug 2017 08:22:44 +0000 (09:22 +0100)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

6 years agoFix some GUI side XML node mem-leaks
Robin Gareus [Sun, 20 Aug 2017 20:26:54 +0000 (22:26 +0200)]
Fix some GUI side XML node mem-leaks

6 years agoFix a tiny memory leak
Robin Gareus [Sun, 20 Aug 2017 20:23:10 +0000 (22:23 +0200)]
Fix a tiny memory leak

6 years agoStrip trailing whitespace in template descriptions
Johannes Mueller [Sun, 20 Aug 2017 17:53:42 +0000 (19:53 +0200)]
Strip trailing whitespace in template descriptions

6 years agoTemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"
Johannes Mueller [Sun, 20 Aug 2017 17:10:50 +0000 (19:10 +0200)]
TemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"

Labeling it "Ok" would imply that by clicking it, descriptions would be saved
without further interaction. If we did so, we would also need to add a
cancel-button or handle simple closing of the dialog window appropriately.

6 years agoTemplateDialog tweaks
Johannes Mueller [Sun, 20 Aug 2017 12:35:29 +0000 (14:35 +0200)]
TemplateDialog tweaks

* don't ask whether to save the description when renaming the template

* sane behavior when a template is deleted

6 years agoClear and deactivate description editor widget when nothing is selected
Johannes Mueller [Sat, 19 Aug 2017 23:36:11 +0000 (01:36 +0200)]
Clear and deactivate description editor widget when nothing is selected

6 years agoTemplateDialog: keep private things private and header files simple
Johannes Mueller [Sat, 19 Aug 2017 22:54:19 +0000 (00:54 +0200)]
TemplateDialog: keep private things private and header files simple

6 years agoMake literals in libs/ardour/template_utils.cc translatable
Johannes Mueller [Sat, 19 Aug 2017 22:39:50 +0000 (00:39 +0200)]
Make literals in libs/ardour/template_utils.cc translatable

6 years agoAsk user whether to save or discard unsaved template descriptions
Johannes Mueller [Sat, 19 Aug 2017 22:29:46 +0000 (00:29 +0200)]
Ask user whether to save or discard unsaved template descriptions

6 years agoRemove the template description XMLNode before saving the template
Johannes Mueller [Sat, 19 Aug 2017 17:45:08 +0000 (19:45 +0200)]
Remove the template description XMLNode before saving the template

... to avoid that the new template description is concatenated to the old one.

6 years agoExtract the route template descriptions
Johannes Mueller [Sat, 19 Aug 2017 17:42:38 +0000 (19:42 +0200)]
Extract the route template descriptions

... and put them into the template info list.

6 years agoPass session description or route comment as default description
Johannes Mueller [Sat, 19 Aug 2017 12:52:38 +0000 (14:52 +0200)]
Pass session description or route comment as default description

... to SaveTemplateDialog

6 years agoUse const wherever you can
Johannes Mueller [Sat, 19 Aug 2017 12:52:14 +0000 (14:52 +0200)]
Use const wherever you can

6 years agoName tweak (more consistent with other code)
Johannes Mueller [Sat, 19 Aug 2017 12:51:14 +0000 (14:51 +0200)]
Name tweak (more consistent with other code)

6 years agoLet user add a route template description on saving route templates
Johannes Mueller [Sat, 19 Aug 2017 11:49:33 +0000 (13:49 +0200)]
Let user add a route template description on saving route templates

6 years agoLet the user add a template description on saving session templates
Johannes Mueller [Fri, 18 Aug 2017 17:53:46 +0000 (19:53 +0200)]
Let the user add a template description on saving session templates

6 years agoSave template description at toplevel rather than in <Metadata/>
Johannes Mueller [Fri, 18 Aug 2017 22:04:07 +0000 (00:04 +0200)]
Save template description at toplevel rather than in <Metadata/>

6 years agoMake template descriptions editable in template manager
Johannes Mueller [Thu, 17 Aug 2017 19:42:32 +0000 (21:42 +0200)]
Make template descriptions editable in template manager

6 years agoTweak generic audio-track template
Robin Gareus [Sun, 20 Aug 2017 17:15:37 +0000 (19:15 +0200)]
Tweak generic audio-track template

* Demo Factory method producing different functions
* Allow to run interactively as Action script

6 years agoDon't use references for constant c-types
Robin Gareus [Sun, 20 Aug 2017 17:02:17 +0000 (19:02 +0200)]
Don't use references for constant c-types

This fixes various Lua-scripts: There are no explicit bindings to
turn int64_t, uint64_t into a const reference.

Besides it doesn't make sense to use a reference for constant _t that can
be directly loaded in CPU register or on the stack.

6 years agoTweak route-dialog layout & sensitivity
Robin Gareus [Sun, 20 Aug 2017 01:46:36 +0000 (03:46 +0200)]
Tweak route-dialog layout & sensitivity

6 years agoCont'd work on route-templates
Robin Gareus [Sat, 19 Aug 2017 22:18:58 +0000 (00:18 +0200)]
Cont'd work on route-templates

6 years agoFix "Track Wizard" script
Robin Gareus [Sat, 19 Aug 2017 21:32:09 +0000 (23:32 +0200)]
Fix "Track Wizard" script

* do check if plugins are available
* only instantiate plugins if they're used (no dangling references)
* check if plugin instantiation worked, before adding them
* fix typos for stereo setup of drum-room & overhead
* add channel-count warning

6 years agoMore template re-naming
Robin Gareus [Sat, 19 Aug 2017 20:52:45 +0000 (22:52 +0200)]
More template re-naming

Unify "track-band" & "session-band" setup scripts

6 years agoremove unused header (fixes OSX builds)
Robin Gareus [Sat, 19 Aug 2017 20:30:00 +0000 (22:30 +0200)]
remove unused header (fixes OSX builds)

cocoacarbon.mm -> ardour_ui.h -> LuaBridge.h
Apple's  "Nil" vs Lua "Nil"

6 years agounify session-template names
Robin Gareus [Sat, 19 Aug 2017 20:28:25 +0000 (22:28 +0200)]
unify session-template names

6 years agoBackwards compatible LuaDialog layout (+new colspan option)
Robin Gareus [Sat, 19 Aug 2017 01:12:28 +0000 (03:12 +0200)]
Backwards compatible LuaDialog layout (+new colspan option)

6 years agoFix copy/paste typo in e0a83a7
Robin Gareus [Sat, 19 Aug 2017 00:36:36 +0000 (02:36 +0200)]
Fix copy/paste typo in e0a83a7

6 years agoNO-OP: whitespace & style
Robin Gareus [Fri, 18 Aug 2017 23:39:43 +0000 (01:39 +0200)]
NO-OP: whitespace & style

6 years agoRevert non "aesthetic tweaks" from f614d10994
Robin Gareus [Fri, 18 Aug 2017 23:32:28 +0000 (01:32 +0200)]
Revert non "aesthetic tweaks" from f614d10994

6 years agoNO-OP: whitespace
Robin Gareus [Fri, 18 Aug 2017 23:29:27 +0000 (01:29 +0200)]
NO-OP: whitespace

6 years agoLua may call C++ functions with throw. Catch them
Robin Gareus [Fri, 18 Aug 2017 23:05:08 +0000 (01:05 +0200)]
Lua may call C++ functions with throw. Catch them

6 years agoLua may call C++ functions with throw. Catch them
Robin Gareus [Fri, 18 Aug 2017 23:05:18 +0000 (01:05 +0200)]
Lua may call C++ functions with throw. Catch them

6 years agoTemplates: Mostly working tabular script.
Ben Loftis [Fri, 18 Aug 2017 21:40:06 +0000 (16:40 -0500)]
Templates: Mostly working tabular script.

6 years agoTemplates: basic support for columns in the script dialog.
Ben Loftis [Fri, 18 Aug 2017 20:29:34 +0000 (15:29 -0500)]
Templates:  basic support for columns in the script dialog.

6 years agoTemplates: first stab at a dialog with tabular layout.
Ben Loftis [Fri, 18 Aug 2017 20:28:46 +0000 (15:28 -0500)]
Templates: first stab at a dialog with tabular layout.

6 years agoTemplates: aesthetic tweaks.
Ben Loftis [Fri, 18 Aug 2017 13:37:09 +0000 (08:37 -0500)]
Templates: aesthetic tweaks.

6 years agoprh: Added version 1b of my Mixbus Mix controller.
Paul Hedderly [Fri, 18 Aug 2017 20:36:27 +0000 (21:36 +0100)]
prh: Added version 1b of my Mixbus Mix controller.
- Much of it is directly applicable to Ardour obviously, but some parts
  wont do anything

6 years agoUpdate Route-template example script & documentation
Robin Gareus [Fri, 18 Aug 2017 20:45:47 +0000 (22:45 +0200)]
Update Route-template example script & documentation

6 years agoAdd Lua binding to un/assign VCAs
Robin Gareus [Fri, 18 Aug 2017 20:00:24 +0000 (22:00 +0200)]
Add Lua binding to un/assign VCAs

6 years agoRemove old destructive API (non layered is a dynamic mode) 2/2
Robin Gareus [Fri, 18 Aug 2017 19:12:45 +0000 (21:12 +0200)]
Remove old destructive API (non layered is a dynamic mode) 2/2

6 years agoRemove old destructive API (non layered is a dynamic mode) 1/2
Robin Gareus [Fri, 18 Aug 2017 18:59:52 +0000 (20:59 +0200)]
Remove old destructive API (non layered is a dynamic mode) 1/2

6 years agoamend e0a83a75 RouteDialog + script details
Robin Gareus [Fri, 18 Aug 2017 18:56:30 +0000 (20:56 +0200)]
amend e0a83a75 RouteDialog + script details

6 years agoRedesign Session+Route Template Meta Script API
Robin Gareus [Fri, 18 Aug 2017 18:41:35 +0000 (20:41 +0200)]
Redesign Session+Route Template Meta Script API

Remove special-cased script types. Allow Action-Scripts to be re-used
for session-setup or route-templates.

6 years agoAdd luaRef is Boolean
Robin Gareus [Fri, 18 Aug 2017 18:41:53 +0000 (20:41 +0200)]
Add luaRef is Boolean

6 years agoNO-OP: whitespace
Paul Davis [Fri, 18 Aug 2017 13:41:57 +0000 (09:41 -0400)]
NO-OP: whitespace

6 years agostrip <Actions>/ from displayed path when printing bindings to HTML
Paul Davis [Fri, 18 Aug 2017 13:41:45 +0000 (09:41 -0400)]
strip <Actions>/ from displayed path when printing bindings to HTML

6 years agoFix quantization end-grid size.
Robin Gareus [Fri, 18 Aug 2017 10:49:34 +0000 (12:49 +0200)]
Fix quantization end-grid size.

6 years agoFix MIDI Quantization for internationalized Ardour.
Robin Gareus [Fri, 18 Aug 2017 10:49:06 +0000 (12:49 +0200)]
Fix MIDI Quantization for internationalized Ardour.

Grid-settings are translatable, parsing a number from a translated string
e.g. "Quart de temps" for "Beats/4" failed.

6 years agoPush user track-templates to the template list
Robin Gareus [Thu, 17 Aug 2017 23:51:02 +0000 (01:51 +0200)]
Push user track-templates to the template list

6 years agoFix typo in 952b8e1d74
Robin Gareus [Thu, 17 Aug 2017 23:12:05 +0000 (01:12 +0200)]
Fix typo in 952b8e1d74

6 years agoInitialize an uninitialized variable
Robin Gareus [Thu, 17 Aug 2017 22:18:59 +0000 (00:18 +0200)]
Initialize an uninitialized variable

6 years agoNO-OP: whitespace & scope
Robin Gareus [Thu, 17 Aug 2017 22:18:18 +0000 (00:18 +0200)]
NO-OP: whitespace & scope

6 years agoNO-OP: whitespace
Robin Gareus [Thu, 17 Aug 2017 22:09:10 +0000 (00:09 +0200)]
NO-OP: whitespace

6 years agoExpose Lua bindings to create/delete VCAs
Robin Gareus [Thu, 17 Aug 2017 21:50:34 +0000 (23:50 +0200)]
Expose Lua bindings to create/delete VCAs

6 years agoConsolidate add/track/route/bus wrappers -- step one.
Robin Gareus [Thu, 17 Aug 2017 21:41:22 +0000 (23:41 +0200)]
Consolidate add/track/route/bus wrappers -- step one.

6 years agoTrack Templates: shorten some of the track names.
Ben Loftis [Thu, 17 Aug 2017 21:44:52 +0000 (16:44 -0500)]
Track Templates: shorten some of the track names.

6 years agoSome initial track templates.
Ben Loftis [Thu, 17 Aug 2017 21:17:12 +0000 (16:17 -0500)]
Some initial track templates.

6 years agoTrack templates: add some (unfinished) template files. Hide Created-With column...
Ben Loftis [Thu, 17 Aug 2017 20:31:17 +0000 (15:31 -0500)]
Track templates: add some (unfinished) template files.  Hide Created-With column in Ardour.

6 years agoAdd an example script for prototyping
Robin Gareus [Thu, 17 Aug 2017 19:12:29 +0000 (21:12 +0200)]
Add an example script for prototyping

6 years agoNO-OP: whitespace & scope
Robin Gareus [Thu, 17 Aug 2017 18:52:16 +0000 (20:52 +0200)]
NO-OP: whitespace & scope

6 years agoFix merge error.
Ben Loftis [Thu, 17 Aug 2017 18:49:41 +0000 (13:49 -0500)]
Fix merge error.

6 years agoTrack Templates: redesign of Add Track dialog.
Ben Loftis [Thu, 17 Aug 2017 18:24:49 +0000 (13:24 -0500)]
Track Templates: redesign of Add Track dialog.

6 years agoTrack Templates: initial lua backend support.
Ben Loftis [Wed, 16 Aug 2017 23:04:45 +0000 (18:04 -0500)]
Track Templates: initial lua backend support.

6 years agoTemplates: fix unintended commit from debugging
Ben Loftis [Wed, 16 Aug 2017 15:25:53 +0000 (10:25 -0500)]
Templates:  fix unintended commit from debugging

6 years agoTemplates: dialog tweaks.
Ben Loftis [Wed, 16 Aug 2017 15:17:30 +0000 (10:17 -0500)]
Templates:  dialog tweaks.

6 years agoTemplates: Dim the border around template description text.
Ben Loftis [Thu, 17 Aug 2017 18:28:41 +0000 (13:28 -0500)]
Templates: Dim the border around template description text.

6 years agoCatch some exceptions during session loading.
Robin Gareus [Thu, 17 Aug 2017 17:28:14 +0000 (19:28 +0200)]
Catch some exceptions during session loading.

6 years agoUpdate GUI, session-format notifications, skip unusable in recent list
Robin Gareus [Thu, 17 Aug 2017 16:52:07 +0000 (18:52 +0200)]
Update GUI, session-format notifications, skip unusable in recent list

6 years agoCheck major session file format version.
Robin Gareus [Thu, 17 Aug 2017 16:32:49 +0000 (18:32 +0200)]
Check major session file format version.

Don't allow to load sessions created with a newer version of Ardour
with an old one (no forward compatibility).

6 years agoSessionDialog: hide created-with column in Ardour, use a tooltip.
Robin Gareus [Thu, 17 Aug 2017 14:47:27 +0000 (16:47 +0200)]
SessionDialog: hide created-with column in Ardour, use a tooltip.

6 years agoExpose enums used in RCConfig and other missing classes to Lua.
Robin Gareus [Wed, 16 Aug 2017 23:13:28 +0000 (01:13 +0200)]
Expose enums used in RCConfig and other missing classes to Lua.

6 years agoFix unit-test data (XML attributes changed)
Robin Gareus [Wed, 16 Aug 2017 21:45:58 +0000 (23:45 +0200)]
Fix unit-test data (XML attributes changed)

6 years agoComplete Lua-binding dump (after 8eb3b9d34b)
Robin Gareus [Wed, 16 Aug 2017 19:00:23 +0000 (21:00 +0200)]
Complete Lua-binding dump (after 8eb3b9d34b)

6 years agoRevert "Revert ongoing SessionDialog changes for 5.11 release."
Robin Gareus [Wed, 16 Aug 2017 03:02:26 +0000 (05:02 +0200)]
Revert "Revert ongoing SessionDialog changes for 5.11 release."

This reverts commit bd40b9132cbac2d2b79ba0ef480bd41d837f8f71.

6 years agoRevert ongoing SessionDialog changes for 5.11 release. 5.11
Robin Gareus [Tue, 15 Aug 2017 23:13:00 +0000 (01:13 +0200)]
Revert ongoing SessionDialog changes for 5.11 release.

To be reverted again after the release. This temporarily reverts

26c88b2c67d1d45e412938b7df13ff6143510398948717c0d
and GUI parts of 47d86cf

6 years agoReplace advanced session-setup options with script
Robin Gareus [Tue, 15 Aug 2017 22:13:56 +0000 (00:13 +0200)]
Replace advanced session-setup options with script

6 years agoAdd RCConfiguration Lua Bindings
Robin Gareus [Tue, 15 Aug 2017 21:51:51 +0000 (23:51 +0200)]
Add RCConfiguration Lua Bindings

6 years agoThe Auditioner is not in the Session's RouteList
Robin Gareus [Tue, 15 Aug 2017 21:24:32 +0000 (23:24 +0200)]
The Auditioner is not in the Session's RouteList

Remove various checks, add assert() for now (perhaps some old sessions?)
This fixes an off-by one issue when adding tracks (presentation
info order in add_routes_inner)

6 years agoSeparate "add master bus" (and add Lua bindings)
Robin Gareus [Tue, 15 Aug 2017 21:17:08 +0000 (23:17 +0200)]
Separate "add master bus" (and add Lua bindings)

This is in preparation for "advanced session setup" allow a SessionSetup
Lua script to create the master-bus.

6 years agoClean up BusProfile:
Robin Gareus [Tue, 15 Aug 2017 18:38:24 +0000 (20:38 +0200)]
Clean up BusProfile:

 * requested_physical_in/out was unused
 * input/output Autoconnect just overrides Preference/Config
   (can be done by a template script)
 * master_out_channels is kept for compatibility (allow to create
   new empty session)

6 years agoPrepare for removal of Advanced Session Options (BusProfile)
Robin Gareus [Tue, 15 Aug 2017 18:36:31 +0000 (20:36 +0200)]
Prepare for removal of Advanced Session Options (BusProfile)

6 years agoonly button 1 click in mouse draw mode on MIDI automation regions should add events
Paul Davis [Tue, 15 Aug 2017 21:36:50 +0000 (17:36 -0400)]
only button 1 click in mouse draw mode on MIDI automation regions should add events

6 years agoSimplify code of PluginDisplay::update_height_alloc()
Johannes Mueller [Tue, 15 Aug 2017 16:18:44 +0000 (18:18 +0200)]
Simplify code of PluginDisplay::update_height_alloc()

Partly irrelevant code. A more elaborated resize height allocation behavior
won't be needed before the widget layout in the generic GUI is improved.

6 years agoMake PluginDisplay::update_height_alloc() virtual
Johannes Mueller [Tue, 15 Aug 2017 16:17:00 +0000 (18:17 +0200)]
Make PluginDisplay::update_height_alloc() virtual

... so that it no longer hides
ProcessorBox::PluginInlineDisplay::update_height_alloc()

6 years agoRe-add template script debugging (after 7d48e80e)
Robin Gareus [Tue, 15 Aug 2017 15:45:36 +0000 (17:45 +0200)]
Re-add template script debugging (after 7d48e80e)

6 years agoclean up 7aaaae8
Robin Gareus [Tue, 15 Aug 2017 15:44:53 +0000 (17:44 +0200)]
clean up 7aaaae8

6 years agotone down frame color and use a better widget name
Paul Davis [Tue, 15 Aug 2017 14:48:29 +0000 (10:48 -0400)]
tone down frame color and use a better widget name

6 years agoNO-OP: indent and remove whitespace
Paul Davis [Tue, 15 Aug 2017 14:46:31 +0000 (10:46 -0400)]
NO-OP: indent and remove whitespace

6 years agoput a frame around template description, change background color
Paul Davis [Tue, 15 Aug 2017 14:45:47 +0000 (10:45 -0400)]
put a frame around template description, change background color

6 years agoInitial checkin of a Full Band template script.
Ben Loftis [Tue, 15 Aug 2017 03:03:57 +0000 (22:03 -0500)]
Initial checkin of a Full Band template script.