ardour.git
6 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Sat, 30 Dec 2017 10:03:12 +0000 (10:03 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

6 years agoOSC: Check for no markers yet (crash fix)
Len Ovens [Fri, 29 Dec 2017 22:46:18 +0000 (14:46 -0800)]
OSC: Check for no markers yet (crash fix)

6 years agoFix initial transport-window state display
Robin Gareus [Thu, 28 Dec 2017 16:09:02 +0000 (17:09 +0100)]
Fix initial transport-window state display

6 years agoAdd DSP-load & x-run widget to the toolbar.
Robin Gareus [Thu, 28 Dec 2017 14:53:40 +0000 (15:53 +0100)]
Add DSP-load & x-run widget to the toolbar.

6 years agoremove unused line
Len Ovens [Sun, 24 Dec 2017 16:56:19 +0000 (08:56 -0800)]
remove unused line

6 years agoOSC: fix jog mode } in wrong place
Len Ovens [Sat, 23 Dec 2017 21:50:28 +0000 (13:50 -0800)]
OSC: fix jog mode } in wrong place

6 years agoOSC: Add feedback for /marker
Len Ovens [Sat, 23 Dec 2017 21:16:23 +0000 (13:16 -0800)]
OSC: Add feedback for /marker

6 years agoAdd Panic-button sensitivity for consistency
Robin Gareus [Sat, 23 Dec 2017 14:45:57 +0000 (15:45 +0100)]
Add Panic-button sensitivity for consistency

6 years agoAccommodate newly added/removed source(s) in our MSVC project (gtk2_ardour)
John Emmas [Sat, 23 Dec 2017 10:06:01 +0000 (10:06 +0000)]
Accommodate newly added/removed source(s) in our MSVC project (gtk2_ardour)

6 years agoAdd keyboard-shortcuts to Transport Window
Robin Gareus [Fri, 22 Dec 2017 23:59:01 +0000 (00:59 +0100)]
Add keyboard-shortcuts to Transport Window

6 years agoTweak size of transport-icons for consistent height+baseline
Robin Gareus [Fri, 22 Dec 2017 23:57:06 +0000 (00:57 +0100)]
Tweak size of transport-icons for consistent height+baseline

6 years agoBackport Mixbus transport-button profile
Robin Gareus [Fri, 22 Dec 2017 21:51:21 +0000 (22:51 +0100)]
Backport Mixbus transport-button profile

6 years agoUpdate Japanese translation
Hiroki Inagaki [Sun, 22 Oct 2017 14:29:06 +0000 (07:29 -0700)]
Update Japanese translation

6 years agoTweak icons (for non-square layout)
Robin Gareus [Fri, 22 Dec 2017 19:44:16 +0000 (20:44 +0100)]
Tweak icons (for non-square layout)

6 years agoAdd a separate, dedicated transport-control window
Robin Gareus [Fri, 22 Dec 2017 19:21:27 +0000 (20:21 +0100)]
Add a separate, dedicated transport-control window

6 years agoSeparate and consolidate Transport-Control-UI code
Robin Gareus [Fri, 22 Dec 2017 19:20:59 +0000 (20:20 +0100)]
Separate and consolidate Transport-Control-UI code

6 years agoOSC: add /marker to locate to a marker.
Len Ovens [Fri, 22 Dec 2017 20:03:18 +0000 (12:03 -0800)]
OSC: add /marker to locate to a marker.

6 years agoFP8/16: Ignore "black" a strip color, always light select-button
Robin Gareus [Thu, 21 Dec 2017 01:23:11 +0000 (02:23 +0100)]
FP8/16: Ignore "black" a strip color, always light select-button

6 years agoFP8/16 fix meter + no-pan display mode
Robin Gareus [Thu, 21 Dec 2017 00:52:36 +0000 (01:52 +0100)]
FP8/16 fix meter + no-pan display mode

6 years agoFP8/16 subscribe to panner changes (add/remove channel)
Robin Gareus [Thu, 21 Dec 2017 00:51:07 +0000 (01:51 +0100)]
FP8/16 subscribe to panner changes (add/remove channel)

6 years agoOSC: Add /surface/list option to setting GUI
Len Ovens [Sun, 17 Dec 2017 16:39:14 +0000 (08:39 -0800)]
OSC: Add /surface/list option to setting GUI

6 years agoFix video-timeline (request parameter is "frame=")
Robin Gareus [Tue, 19 Dec 2017 18:14:53 +0000 (19:14 +0100)]
Fix video-timeline (request parameter is "frame=")

6 years agoUse "Frames" for video-frames (NO-OP)
Robin Gareus [Tue, 19 Dec 2017 18:14:33 +0000 (19:14 +0100)]
Use "Frames" for video-frames (NO-OP)

6 years agoUpdate template list in Route Dialog
Robin Gareus [Tue, 19 Dec 2017 17:47:42 +0000 (18:47 +0100)]
Update template list in Route Dialog

6 years agoFix fp16 encoder (misleading doc on fp8)
Robin Gareus [Tue, 19 Dec 2017 16:56:57 +0000 (17:56 +0100)]
Fix fp16 encoder (misleading doc on fp8)

6 years agoRevert "Prototype to allow embedding sysex in midi-map"
Robin Gareus [Tue, 19 Dec 2017 16:43:06 +0000 (17:43 +0100)]
Revert "Prototype to allow embedding sysex in midi-map"

This reverts commit 561c8eea0cfa45f0b54461b149b4c330e0bbaa3b.
It is rare that a device needs sysex-initialization every time it is
connected, besides a single simple "Sysex" entry without options
is not very flexible.

6 years agoUpdate sysex upload script (allow up to 256 bytes)
Robin Gareus [Tue, 19 Dec 2017 16:42:24 +0000 (17:42 +0100)]
Update sysex upload script (allow up to 256 bytes)

6 years agoRelax max MIDI msg size to 256 (for long sysex)
Robin Gareus [Tue, 19 Dec 2017 16:41:57 +0000 (17:41 +0100)]
Relax max MIDI msg size to 256 (for long sysex)

(win-mme already used 256, CoreMIDI can handle up to 256 as can ALSA)

6 years agoFix faderport-16 touch on/off (fixes faders 9..16)
Robin Gareus [Tue, 19 Dec 2017 02:50:07 +0000 (03:50 +0100)]
Fix faderport-16 touch on/off (fixes faders 9..16)

6 years agoSanitize status-bar msg line layout
Robin Gareus [Mon, 18 Dec 2017 01:33:14 +0000 (02:33 +0100)]
Sanitize status-bar msg line layout

6 years agoOSC: Move /surface/list output to PBD::info
Len Ovens [Sat, 16 Dec 2017 20:42:32 +0000 (12:42 -0800)]
OSC: Move /surface/list output to PBD::info

6 years agoOSC: make custom strip lists work on linked surfaces too
Len Ovens [Sat, 16 Dec 2017 16:24:02 +0000 (08:24 -0800)]
OSC: make custom strip lists work on linked surfaces too

6 years agoFix gcc4 builds "GCC diagnostic not allowed inside functions"
Robin Gareus [Sat, 16 Dec 2017 16:08:36 +0000 (17:08 +0100)]
Fix gcc4 builds "GCC diagnostic not allowed inside functions"

6 years agoFix UI for Sends & Inserts (regression was in 0c59ba649e)
Robin Gareus [Sat, 16 Dec 2017 15:53:05 +0000 (16:53 +0100)]
Fix UI for Sends & Inserts (regression was in 0c59ba649e)

6 years agoDowngrade some undo-related error messages
Robin Gareus [Sat, 16 Dec 2017 14:38:02 +0000 (15:38 +0100)]
Downgrade some undo-related error messages

Missing undo isn't a error. There are valid cases for this to happen.
e.g. switching snapshots or deleting tracks or session-format changes

It's useful to know, but should not distract users showing up as "Errors"

6 years agoSync weakjack with upstream https://github.com/x42/weakjack/
Robin Gareus [Fri, 15 Dec 2017 19:47:07 +0000 (20:47 +0100)]
Sync weakjack with upstream https://github.com/x42/weakjack/

6 years agoOSC: Add Sorted or not to custom strip list
Len Ovens [Fri, 15 Dec 2017 17:43:03 +0000 (09:43 -0800)]
OSC: Add Sorted or not to custom strip list
fix bug where processor_changed sometimes gets null address

6 years agoOSC: in custom strip list check all strips exist
Len Ovens [Tue, 12 Dec 2017 06:01:14 +0000 (22:01 -0800)]
OSC: in custom strip list check all strips exist

6 years agoOSC: initialize parameter correctly
Len Ovens [Thu, 7 Dec 2017 16:56:56 +0000 (08:56 -0800)]
OSC: initialize parameter correctly

6 years agoUS2400: Add us2400 profile.
Ben Loftis [Fri, 15 Dec 2017 15:26:49 +0000 (09:26 -0600)]
US2400: Add us2400 profile.

6 years agoCzech translation update #7526
Pavel Fric [Thu, 14 Dec 2017 22:45:01 +0000 (23:45 +0100)]
Czech translation update #7526

6 years agoFix FP8/16 port-names
Robin Gareus [Wed, 13 Dec 2017 22:44:39 +0000 (23:44 +0100)]
Fix FP8/16 port-names

6 years agoFix FP16 fader-touch release for faders 9..16
Robin Gareus [Wed, 13 Dec 2017 22:11:37 +0000 (23:11 +0100)]
Fix FP16 fader-touch release for faders 9..16

6 years agoFix FP16 select button 10..16
Robin Gareus [Wed, 13 Dec 2017 20:59:22 +0000 (21:59 +0100)]
Fix FP16 select button 10..16

6 years agoAdd FP17 to reserved I/O names
Robin Gareus [Tue, 12 Dec 2017 13:13:34 +0000 (14:13 +0100)]
Add FP17 to reserved I/O names

6 years agoAdd FP16 icon
Robin Gareus [Tue, 12 Dec 2017 13:12:26 +0000 (14:12 +0100)]
Add FP16 icon

6 years agoAdd FP16 control-surface
Robin Gareus [Tue, 12 Dec 2017 13:10:07 +0000 (14:10 +0100)]
Add FP16 control-surface

6 years agoNamespace FP8, FP16 to avoid symbol conflicts
Robin Gareus [Tue, 12 Dec 2017 13:09:40 +0000 (14:09 +0100)]
Namespace FP8, FP16 to avoid symbol conflicts

6 years agoPrepare for FaderPort16 (ctrl-protocol)
Robin Gareus [Tue, 12 Dec 2017 12:29:54 +0000 (13:29 +0100)]
Prepare for FaderPort16 (ctrl-protocol)

6 years agoFix a -Wreorder
Robin Gareus [Mon, 11 Dec 2017 23:24:00 +0000 (00:24 +0100)]
Fix a -Wreorder

6 years agomore NO-OP, comment and whitespace
Robin Gareus [Mon, 11 Dec 2017 23:19:36 +0000 (00:19 +0100)]
more NO-OP, comment and whitespace

6 years agoNO-OP: whitespace
Robin Gareus [Mon, 11 Dec 2017 23:13:12 +0000 (00:13 +0100)]
NO-OP: whitespace

6 years agoUS-2400: ignore joystick moves until the user clicks the joystick NULL button.
Ben Loftis [Mon, 11 Dec 2017 16:49:44 +0000 (10:49 -0600)]
US-2400: ignore joystick moves until the user clicks the joystick NULL button.

6 years agoFix another case where: a Range selection must enforce some tracks selected as well.
Ben Loftis [Mon, 11 Dec 2017 16:03:15 +0000 (10:03 -0600)]
Fix another case where: a Range selection must enforce some tracks selected as well.

6 years agozoom-to-selection should clear the selection, afterwards.
Ben Loftis [Mon, 11 Dec 2017 15:13:37 +0000 (09:13 -0600)]
zoom-to-selection should clear the selection, afterwards.

6 years agoLua scripting: add convenience function Editor::trigger_script_by_name().
Ben Loftis [Thu, 7 Dec 2017 17:05:57 +0000 (11:05 -0600)]
Lua scripting: add convenience function Editor::trigger_script_by_name().

6 years agoDrop the "Lua" in Lua Action Buttons:
Ben Loftis [Thu, 7 Dec 2017 15:17:53 +0000 (09:17 -0600)]
Drop the "Lua" in Lua Action Buttons:
Removed the term "Lua", because users were turned off by something they didn't understand.
A special-case Lua script ("Shortcut") allows the user to select an arbitrary Action.
The "Shortcut" script is selected by default, and in this case there is no "Type" or "Author" displayed.
Action-Buttons may still trigger Lua scripts, as a secondary function.

6 years agoPrototype to allow embedding sysex in midi-map
Robin Gareus [Wed, 6 Dec 2017 15:32:53 +0000 (16:32 +0100)]
Prototype to allow embedding sysex in midi-map

6 years agoAccommodate newly added/removed source(s) in our MSVC project (libardour)
John Emmas [Wed, 6 Dec 2017 10:51:53 +0000 (10:51 +0000)]
Accommodate newly added/removed source(s) in our MSVC project (libardour)

6 years agoAdd example Lua script to send raw MIDI (sysex) from file
Robin Gareus [Tue, 5 Dec 2017 15:09:19 +0000 (16:09 +0100)]
Add example Lua script to send raw MIDI (sysex) from file

6 years agoAdd Lua bindings for MIDI-parser and Async ports
Robin Gareus [Tue, 5 Dec 2017 15:08:02 +0000 (16:08 +0100)]
Add Lua bindings for MIDI-parser and Async ports

6 years agoIncrease ALSA max MIDI msg size to 128 bytes (same as OSX) for long sysex
Robin Gareus [Tue, 5 Dec 2017 15:07:36 +0000 (16:07 +0100)]
Increase ALSA max MIDI msg size to 128 bytes (same as OSX) for long sysex

6 years agoAdd a Raw MIDI parser (based on ALSA raw MIDI)
Robin Gareus [Tue, 5 Dec 2017 15:00:21 +0000 (16:00 +0100)]
Add a Raw MIDI parser (based on ALSA raw MIDI)

6 years agoAdd an action script to call access actions..
Robin Gareus [Tue, 5 Dec 2017 00:53:54 +0000 (01:53 +0100)]
Add an action script to call access actions..

6 years agoSort LuaDialog dropdown entries by key-name
Robin Gareus [Tue, 5 Dec 2017 00:53:03 +0000 (01:53 +0100)]
Sort LuaDialog dropdown entries by key-name

6 years agoAdd Lua binding to query action-list
Robin Gareus [Tue, 5 Dec 2017 00:42:44 +0000 (01:42 +0100)]
Add Lua binding to query action-list

6 years agoLua Script-Selector update
Robin Gareus [Tue, 5 Dec 2017 00:32:48 +0000 (01:32 +0100)]
Lua Script-Selector update

 * register bindings for action_param
 * honor pre-seeded value (don't ask)
 * allow to pre-seed a script-name
 * allow to cancel interactive script load at parameter-stage

6 years agoAllow to pre-seed Lua action script params
Robin Gareus [Tue, 5 Dec 2017 00:30:07 +0000 (01:30 +0100)]
Allow to pre-seed Lua action script params

6 years agoAllow to pass interpreter to evaluate action-script parameters
Robin Gareus [Mon, 4 Dec 2017 23:12:42 +0000 (00:12 +0100)]
Allow to pass interpreter to evaluate action-script parameters

This allows to add bindings, in particular GUI dialog, to be registered
before evaluating the parameters.

6 years agoOSC: Add custom bank creation and use
Len Ovens [Sat, 2 Dec 2017 16:17:42 +0000 (08:17 -0800)]
OSC: Add custom bank creation and use

6 years agoA couple of minor changes when #including <utime.h>
John Emmas [Sat, 2 Dec 2017 11:46:20 +0000 (11:46 +0000)]
A couple of minor changes when #including <utime.h>

6 years agoAdd some devices to the reserved list of midi controllers.
Ben Loftis [Fri, 10 Nov 2017 14:24:49 +0000 (08:24 -0600)]
Add some devices to the reserved list of midi controllers.

6 years agoFix error when $PATH contains whitespaces
Markus Seeber [Thu, 30 Nov 2017 12:28:44 +0000 (13:28 +0100)]
Fix error when $PATH contains whitespaces

Previously, if $PATH contains whitespaces the startup script would split
the new exported $PATH on the first whitespace. This was observed on an
Ubuntu system where $PATH contained a directory with whitespaces.

The change adds weak quotation around the new path to prevent expansion
of whitespaces. $PATH though, is still expanded.

6 years agoFix Windows builds (amend a3ec16)
Robin Gareus [Wed, 29 Nov 2017 17:53:06 +0000 (18:53 +0100)]
Fix Windows builds (amend a3ec16)

Since scanner.cc defines NO_OLDNAMES, utime.h needs to be included
first.

6 years agoSet VST cache file mtime to be at least as new as the plugin
Robin Gareus [Wed, 29 Nov 2017 14:08:25 +0000 (15:08 +0100)]
Set VST cache file mtime to be at least as new as the plugin

Fixes issues with timezones when installing pluins from a .zip

6 years agoOSX packaging: don't create empty Plugins dir
Robin Gareus [Wed, 29 Nov 2017 11:05:21 +0000 (12:05 +0100)]
OSX packaging: don't create empty Plugins dir

6 years agoArdourButton: ignore double+tripple clicks
Robin Gareus [Wed, 29 Nov 2017 11:04:19 +0000 (12:04 +0100)]
ArdourButton: ignore double+tripple clicks

6 years agoUpdate LuaProc GC stat calc
Robin Gareus [Wed, 29 Nov 2017 11:03:47 +0000 (12:03 +0100)]
Update LuaProc GC stat calc

6 years agoTweak Lua GC
Robin Gareus [Wed, 29 Nov 2017 11:03:18 +0000 (12:03 +0100)]
Tweak Lua GC

6 years agoupdate to lua-5.3.4
Robin Gareus [Wed, 29 Nov 2017 03:22:26 +0000 (04:22 +0100)]
update to lua-5.3.4

6 years agoOSC: add /select/plugin/activate cause some add deactivated
Len Ovens [Tue, 28 Nov 2017 20:16:36 +0000 (12:16 -0800)]
OSC: add /select/plugin/activate cause some add deactivated
And clean up plugin code as well

6 years agoFix "open folder" for non-ASCII paths on Windows
Robin Gareus [Sun, 26 Nov 2017 23:42:29 +0000 (00:42 +0100)]
Fix "open folder" for non-ASCII paths on Windows

6 years agoRemove unused API
Robin Gareus [Sun, 26 Nov 2017 08:50:35 +0000 (09:50 +0100)]
Remove unused API

6 years agoSidechain latency compensation - part one
Robin Gareus [Sun, 26 Nov 2017 08:48:54 +0000 (09:48 +0100)]
Sidechain latency compensation - part one

This properly sets the port-latencies of PluginInsert owned ports as well
as handles external sends (send-target playback latency).

NB. This needs more work to ensure that Sidechain input port playback
latency is set before the feeding send queries it the connected latency.
Re-ordering process may change sidechain or external-send latencies,
but since re-ordering does not change the route's latency,
engine.update_latency() may not be called.

6 years agoAdd convenience methods to set port latencies
Robin Gareus [Sun, 26 Nov 2017 08:38:32 +0000 (09:38 +0100)]
Add convenience methods to set port latencies

6 years agoOSC: Only send new select send values
Len Ovens [Thu, 23 Nov 2017 20:04:21 +0000 (12:04 -0800)]
OSC: Only send new select send values
no clear first, no double send

6 years agoOSC personal monitor fix off by one bug.
Len Ovens [Tue, 14 Nov 2017 17:23:39 +0000 (09:23 -0800)]
OSC personal monitor fix off by one bug.

6 years agoRemove duplicate assignment (amend 867460cd3)
Robin Gareus [Thu, 23 Nov 2017 14:34:21 +0000 (15:34 +0100)]
Remove duplicate assignment (amend 867460cd3)

6 years agoExample Lua script to move regions (insert gaps)
Robin Gareus [Thu, 23 Nov 2017 14:27:29 +0000 (15:27 +0100)]
Example Lua script to move regions (insert gaps)

6 years agoMake static analysis happy..
Robin Gareus [Thu, 23 Nov 2017 10:29:07 +0000 (11:29 +0100)]
Make static analysis happy..

If the copy c'tor of ProcessorSelection was actually used,
assigning the XMLProcessorSelection
    processors = other.processors;
would lead to duplicate free() of the XMLNode*
XMLProcessorSelection would need a dedicated copy c'tor that
duplicates allocates a new XMLNode.
see also #10 at https://www.viva64.com/en/b/0540/

Anyway, the copy c'tor and assignment is never used. This commit makes
this explicit.

6 years agoRemove unreachable code.
Robin Gareus [Thu, 23 Nov 2017 09:51:20 +0000 (10:51 +0100)]
Remove unreachable code.

if (working_on_selection) {
  ...
} else {
  if (working_on_selection) { .. never reached .. }
}

Found by PVS: https://www.viva64.com/en/b/0540/

6 years agoNO-OP: cleaner syntax
Robin Gareus [Thu, 23 Nov 2017 09:46:44 +0000 (10:46 +0100)]
NO-OP: cleaner syntax

6 years agoConsistent default argument for virtual fn.
Robin Gareus [Thu, 23 Nov 2017 09:45:04 +0000 (10:45 +0100)]
Consistent default argument for virtual fn.

6 years agoCatch exceptions by const reference
Robin Gareus [Thu, 23 Nov 2017 09:38:52 +0000 (10:38 +0100)]
Catch exceptions by const reference

6 years agoFix a potential(?) nullptr dereference
Robin Gareus [Thu, 23 Nov 2017 09:38:05 +0000 (10:38 +0100)]
Fix a potential(?) nullptr dereference

6 years agofix call to std::unique; to actually erase dups.
Robin Gareus [Thu, 23 Nov 2017 09:23:54 +0000 (10:23 +0100)]
fix call to std::unique; to actually erase dups.

6 years agoFix potentially ambiguous printf()
Robin Gareus [Thu, 23 Nov 2017 09:12:34 +0000 (10:12 +0100)]
Fix potentially ambiguous printf()

Not a real issue, since it's just supposed to be some unique number.
but still.

Reported by PVS-Studio - https://www.viva64.com/en/b/0540/

6 years agoNo need for memset to clear a byte.
Robin Gareus [Thu, 23 Nov 2017 09:10:32 +0000 (10:10 +0100)]
No need for memset to clear a byte.

6 years agoremove useless test, fgets() already ensures MAX_STRING_LEN
Robin Gareus [Thu, 23 Nov 2017 08:56:57 +0000 (09:56 +0100)]
remove useless test, fgets() already ensures MAX_STRING_LEN

Found by PVS-Studio - https://www.viva64.com/en/b/0540/

6 years agoFix another duplicate if from session/system config consolidation
Robin Gareus [Thu, 23 Nov 2017 08:53:50 +0000 (09:53 +0100)]
Fix another duplicate if from session/system config consolidation

Found by PVS-Studio - https://www.viva64.com/en/b/0540/