Commit graph

15135 commits

Author SHA1 Message Date
Robin Gareus
72d9a93baa
Improve Lua unit-test report 2019-09-06 18:36:32 +02:00
Robin Gareus
6328f92665
Fix LuaProc script-parse return status 2019-09-06 15:39:54 +02:00
Robin Gareus
9052b29add
Remove ancient unit-test data
Evoral MIDI automation interpolation is tested separately,
there is no need to evaluate a complete old session
2019-09-06 03:09:39 +02:00
Robin Gareus
9630b148bc
Update template test session 2019-09-06 02:58:34 +02:00
Robin Gareus
212b445628
Shuttle Surface: handle libusb_init() failure
USB stack may not be available on some systems, e.g. unit-test VM.
When libusb_init(0) fails to create default context, further calls
into the libusb API will cause segfaults.
2019-09-06 01:37:00 +02:00
Robin Gareus
beccc53bb6
Unit-test: parameter ranges outside [0..1]
More updates after 3d15499cda

* set parameter-range for MIDI sequences
* set parameter-range for cubic spline
2019-09-05 22:42:08 +02:00
Robin Gareus
db063a6eb8
Unit test all RegionEquivalence options 2019-09-05 22:07:41 +02:00
Robin Gareus
772444d769
Unit-test update: honor FadeInAutomation parameter-range
Since 3d15499cda, libevoral enforces Parameter min/max
range. Ardour::ParameterDescriptor sets FadeInAutomation range to 0..2.
Hence all unit-test data needs to be in this range.
2019-09-05 21:03:50 +02:00
Robin Gareus
531ab8015c
Exclude Lua Convovler from unit-test (fails because of missing IR) 2019-09-05 20:17:57 +02:00
Robin Gareus
7731f768a6
Strict Ctrl surface unit-test: check re-activate. 2019-09-05 19:32:51 +02:00
Robin Gareus
1d49696379
Reduce stdout/stderr clutter, prefer DEBUG_TRACE 2019-09-05 19:29:19 +02:00
Robin Gareus
9bb2f2bb69
Prevent duplicate Ctrl-protocol instances
ControlProtocols are single instance.

Activating an already active protocol leads to crashes due to
various rasons (e.g. port already registered), re-used singleton
event_loop_name and request-buffers, duplicate free of
AbstractUI request buffers during deactivate,..
2019-09-05 18:59:26 +02:00
Robin Gareus
22e5c1de0d
Ignore <ExtendingDeviceNames> midnam during unit-test
So far Ardour only supports midnam descriptions that specify a
<MasterDeviceNames> directly.
2019-09-05 17:45:58 +02:00
Robin Gareus
973ff10273
Fix paths to .midnam file 2019-09-05 17:42:19 +02:00
Robin Gareus
dfdce83452
New sessions are saved implicitly, remove explicit call 2019-09-05 17:01:19 +02:00
Robin Gareus
51b2e305c4
Skip duplicate early session-save for new sessions
Identical code is called unconditionally at the end of
the Session c'tor via Session::session_loaded()
2019-09-05 17:00:14 +02:00
Robin Gareus
4949f9a0b3
Reset write-source only when necessary
When I/O port-counts do not change, plugin re-order happens
in sync in the process-thread. ::configure_io() is only called
to ensure that the current configuration is valid.

In case that the ChanCount does not change, the method must
be realtime-safe and not block.

DiskWriter::reset_write_sources() is not realtime-safe and
implicitly causes a session-save:

Write-sources are destroyed and re-created. This includes
a call to write_source->drop_references(), which triggers
ARDOUR::Session::remove_source(), which saves the session.

Furthermore adding/removing plugins will likewise call
::configure_io().

Previously any processor change on a track lead to
saving the session!
2019-09-05 16:57:19 +02:00
Robin Gareus
cff4332bcb
Report Lua script that failed a unit-test 2019-09-05 15:29:15 +02:00
Robin Gareus
97306e089b
Fix thinko/typo bug introduced in e6c9bcfd07 2019-09-05 14:56:39 +02:00
Robin Gareus
01c5aa34c6
Update MClk unit-test - new transportmaster API 2019-09-05 14:52:08 +02:00
Robin Gareus
5dfb729155
Remove unused header (superseded by libtemporal) 2019-09-05 14:09:22 +02:00
Robin Gareus
efec546035
Fix libevoal unit-test compilation 2019-09-05 14:08:31 +02:00
Robin Gareus
813ad4959d
Amend 69a3b0b46e, remove CCs not used by fluidsynth 2019-09-04 22:56:31 +02:00
Robin Gareus
fdcddc736b
Update Fluidsynth to v2.0.6-git 2019-09-04 04:35:59 +02:00
Robin Gareus
69a3b0b46e
Expose CCs that fluidsynth uses by default in midnam 2019-09-04 04:35:59 +02:00
Robin Gareus
a3673809cf
Fix -Wsign-compare 2019-09-03 05:01:59 +02:00
Robin Gareus
9970a243ec
Fix -Wnon-virtual-dtor 2019-09-03 04:55:08 +02:00
Robin Gareus
58ee66e924
NO-OP: remove trailing whitespace 2019-09-03 04:52:01 +02:00
Robin Gareus
215bc64455
Another windows build fix, declare LuaDialog::ProgressWindow 2019-09-02 21:20:06 +02:00
Robin Gareus
8ce9ac82ae
Fix windows build linking, declare bindings 2019-09-02 15:45:48 +02:00
Robin Gareus
c548333728
Fix pyin build, needs VAMPSDK 2019-09-02 05:44:00 +02:00
Robin Gareus
6edb649b53
Allow to cancel LuaAPI::Vamp::analyze 2019-09-02 05:18:17 +02:00
Robin Gareus
63994f3b82
Include vamp-pyin
In preparation for captainMorgan's pitch analysis script.
2019-09-02 03:12:22 +02:00
Robin Gareus
1c8b6e1b42
Initialize uninitialized variables
If a session with a feedback loop is loaded, Graph::rechain()
is never called, and _n_terminal_nodes[] remains unset.
2019-09-01 20:13:59 +02:00
Robin Gareus
45cf29b7c5
Use preferred pa_context_new_with_proplist API 2019-09-01 19:01:18 +02:00
Robin Gareus
7b3ca486a4
Allow to un-set custom Ardour-button colors 2019-09-01 16:57:48 +02:00
Robin Gareus
46bbe83400
Changing active-state needs no color lookup
Colors and patterns are cached, independent of active-state.
This didn't used to be the case in the distant ArdourButton past.
2019-09-01 16:52:24 +02:00
Robin Gareus
08644d8f2a
No-OP: move doxygen doc into header files 2019-08-29 17:57:22 +02:00
Robin Gareus
7f2bfa362f
Cont'd icon tweaks
* unify line-width calculation
* thin line-width, approximate thickness of
  glyph stroke width at same UI scale
* don't use outlines (except main tool buttons)
  This fixes issues of generic buttons with bright-theme
* pixel align some lines
2019-08-27 18:03:57 +02:00
Robin Gareus
79ac8215e9
Update Plugin-Tag policy
* Don't store tags from plugin's own metadata
  Those are set during plugin-scan every time
* Save user-tags even if they're not new
* Reset tags to factory-file tag (if any)

Old user tag files (prior to this commit) are interpreted
as "factory-file". This will auto-correct after the
first save_tags().
2019-08-27 13:43:09 +02:00
Robin Gareus
37caa11b52
NO-OP: whitespace 2019-08-27 13:22:53 +02:00
Robin Gareus
5a7659fbdb
Resetting a tag implies changing it 2019-08-27 12:18:44 +02:00
Len Ovens
220fa45d35 Add signal for foldback send add or remove 2019-08-26 17:48:22 -07:00
Robin Gareus
b01f6ead8b
Reduce girth of "plus" icon 2019-08-27 00:00:29 +02:00
Robin Gareus
b4addaaa0a
Tweak icon_strip_width icon lines to align to pixels 2019-08-26 23:34:20 +02:00
Robin Gareus
2dbeaaffa6
Add sample-rate as float option parameter for LV2 plugins and UIs 2019-08-26 23:30:21 +02:00
Robin Gareus
5e46108e95
Fix LV2 option size 2019-08-26 23:12:46 +02:00
Robin Gareus
646aded4f2
Add some scaleable "Latency" icon 2019-08-26 22:44:11 +02:00
Robin Gareus
80e30ea0d1
LV2 options for UI theme
Inform plugins about host theme (fg, bg colors) and UI scale-factor.
The latter follows an implementation already present in Carla and DPF.
These extension use proposed official URLs.
2019-08-26 18:57:47 +02:00
Robin Gareus
09a71b4392
Allow Icon + Text on ArdourButton
Allow placing an icon left of some text in Ardour-button.
This also tweaks some spacing and alignment of Icons when
a LED toggle indicator is used.
2019-08-26 16:04:22 +02:00