summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2017-08-25OSC: same fix for /select/*Len Ovens
2017-08-25OSC: account for user sending the wrong number of paramters gracefullyLen Ovens
2017-08-24Remove all manual accounting of connected user bundlesJulien "_FrnchFrgg_" RIVAUD
IO used to manually keep a list of user bundles it was connected to, but it didn't work correctly: sometimes it didn't notice that a bundle wasn't connected anymore, and the list wasn't correctly persisted across save/reloads among other things. Moreover, it wasn't needed at all, since the user bundles are correctly listed by _session.bundles() and IO already notices they are connected ! Remove all occurrences of |_bundles_connected| and |check_bundles_connected|.
2017-08-23Make IO::connect_ports_to_bundle able to partially connectJulien "_FrnchFrgg_" RIVAUD
Forward the optional |allow_partial| boolean to |Bundle::connect|.
2017-08-23Make Bundle::connect able to connect only some DataTypesJulien "_FrnchFrgg_" RIVAUD
When |allow_partial| is true, only when the number of channels of a given DataType is the same for both bundles are the corresponding channels connected together. When |allow_partial| is false (the default), the number of channels must match for each DataType (the ChanCounts must be equal) for the connection to be attempted. This also fixes the logic in case two bundles have the same number of channels, or even the same ChanCounts, but not with the DataTypes in the same order (so connecting the ith channel of the bundle to the ith channel of the other bundle makes no sense).
2017-08-23Improve getting a Bundle total channel countJulien "_FrnchFrgg_" RIVAUD
|Bundle::nchannels()| creates a ChanCount on demand, by iterating over the |_channel| member variable. The sum of all |nchannels().n(t)| over all non-NIL DataTypes |t| is thus equal to |_channel.size()|. Consequently, calling |nchannels().n_total()| is a convoluted (and slow) way of getting |_channel.size()|. Add a method |Bundle::n_total()| that directly returns the latter.
2017-08-23Add a method to get the first DataTypeJulien "_FrnchFrgg_" RIVAUD
Also put a comment about the ordering of DataTypes.
2017-08-23Use DataType iteration instead of assuming integersJulien "_FrnchFrgg_" RIVAUD
2017-08-23Update "separate_by_channel" API & add Lua bindingsRobin Gareus
This breaks compilation (GUI)
2017-08-23Use literal for compatibilityRobin Gareus
2017-08-23backends: jack: display playback only devicesStefan Müller-Klieser
When starting ardour using the jack backend, playback only devices currently do not get displayed. Mixing and Mastering only workspaces with e.g. a single USB Dac should be a common use case. Take this use case into account by adding them to the device list. Tested on Linux with jack-alsa.
2017-08-22Remove cruftRobin Gareus
2017-08-21OSC cue button up events should not be errors, fixedLen Ovens
2017-08-21OSC: /cue/enable feedback not changing fixedLen Ovens
2017-08-21OSC: aux bus detection fixed for mixbusLen Ovens
2017-08-21Catch Lua exception when scanning scriptsRobin Gareus
2017-08-21prh: Small fix to /cue/send/enable feedback stringPaul Hedderly
2017-08-20Fix a tiny memory leakRobin Gareus
2017-08-20Make literals in libs/ardour/template_utils.cc translatableJohannes Mueller
2017-08-20Remove the template description XMLNode before saving the templateJohannes Mueller
... to avoid that the new template description is concatenated to the old one.
2017-08-20Extract the route template descriptionsJohannes Mueller
... and put them into the template info list.
2017-08-20Let user add a route template description on saving route templatesJohannes Mueller
2017-08-20Let the user add a template description on saving session templatesJohannes Mueller
2017-08-20Save template description at toplevel rather than in <Metadata/>Johannes Mueller
2017-08-20Don't use references for constant c-typesRobin Gareus
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.
2017-08-19Lua may call C++ functions with throw. Catch themRobin Gareus
2017-08-18Add Lua binding to un/assign VCAsRobin Gareus
2017-08-18Remove old destructive API (non layered is a dynamic mode) 2/2Robin Gareus
2017-08-18Redesign Session+Route Template Meta Script APIRobin Gareus
Remove special-cased script types. Allow Action-Scripts to be re-used for session-setup or route-templates.
2017-08-18Add luaRef is BooleanRobin Gareus
2017-08-18NO-OP: whitespacePaul Davis
2017-08-18strip <Actions>/ from displayed path when printing bindings to HTMLPaul Davis
2017-08-18NO-OP: whitespaceRobin Gareus
2017-08-18Expose Lua bindings to create/delete VCAsRobin Gareus
2017-08-17Track Templates: initial lua backend support.Ben Loftis
2017-08-17Catch some exceptions during session loading.Robin Gareus
2017-08-17Check major session file format version.Robin Gareus
Don't allow to load sessions created with a newer version of Ardour with an old one (no forward compatibility).
2017-08-17Expose enums used in RCConfig and other missing classes to Lua.Robin Gareus
2017-08-17Fix unit-test data (XML attributes changed)Robin Gareus
2017-08-16Add RCConfiguration Lua BindingsRobin Gareus
2017-08-16The Auditioner is not in the Session's RouteListRobin Gareus
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)
2017-08-16Separate "add master bus" (and add Lua bindings)Robin Gareus
This is in preparation for "advanced session setup" allow a SessionSetup Lua script to create the master-bus.
2017-08-16Clean up BusProfile:Robin Gareus
* 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)
2017-08-14Change the template pulldown menu into a tree list. Populate the ↵Ben Loftis
Description view when a template is selected.
2017-08-14Session Metadata: add a Description field.Ben Loftis
* This is a multi-line text field. * If the session is a template, we might show this in the New Session dialog.
2017-08-12use a lock to set/get AutomationList automation statePaul Davis
It isn't 100% clear that we should use the list's data lock, but it seems quite likely that this is the correct design, because of the interlock between data being present and automation state
2017-08-11yet another Windows build fix (LV2 preset 89475b2c9)Robin Gareus
2017-08-11Fix Windows builds (amend 89475b2c)Robin Gareus
2017-08-11Fix LV2 Preset path for windowRobin Gareus
2017-08-11Prepare for templates w/descriptionRobin Gareus