13
0
Commit Graph

30543 Commits

Author SHA1 Message Date
Luciano Iam
176d803a55
WebSockets: move autoReconnect option in JS client to client ctor 2020-06-10 19:47:37 +02:00
Luciano Iam
a26a9018fd
WebSockets: code refactor
Terminology used by server and client was starting to diverge.

C++ classes ArdourStrips and ArdourGlobals classes have been
renamed to ArdourMixer and ArdourTransport respectively.

State node values for transport functionality have been simplified
and prefixed with 'transport_' to match what was done for strips.
2020-06-10 19:47:37 +02:00
Luciano Iam
ae4df127ad
WebSockets: implement a JavaScript object-oriented client API
Replace previous callback based basic client with an easier
to use object-oriented API that further abstracts the low level
details of the WebSockets Server surface messaging protocol.

All built-in web surface demos were updated to use the new API.
2020-06-10 19:47:37 +02:00
5296ed141f
Fix support for older libwebsocket versions
LWS_WITH_EXTERNAL_POLL a new optional define for libwebsocket 4.x.
Earlier versions always supported it, without the compile-time define.

This fixes support for libwesocket 2.x (Debian, Ubuntu), and 3.x.
Also for Windows, LWS_WITH_GLIB is not available.
2020-06-10 15:58:47 +02:00
f0d5d1323a
Fix MIDI tracer time display for async and transport-master ports 2020-06-10 00:16:54 +02:00
4c5ad08e81
Add mono separate regions to source-list
The "whole-file" property is now mainly used as indicator whether
a region should be in the source list.
2020-06-09 22:49:12 +02:00
Nils Philippsen
f6e38219bc
Don't refer to never used external variable
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2020-06-09 21:11:21 +02:00
Nils Philippsen
2a456c1921
Add cycles_t type definition on ppc64
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2020-06-09 21:11:21 +02:00
00346353a3
Prevent entering an illegal session name via copy/paste or otherwise 2020-06-09 20:30:57 +02:00
50e96a2135
Do not allow ctrl chars in session names (2/2)
The GUI applies this to new sessions only, old sessions that
may now have illegal names can still be loaded.
2020-06-09 20:30:55 +02:00
72d45c154a
Do not allow ctrl chars in file (or session) names (1/2) 2020-06-09 20:30:51 +02:00
Hiroki Inagaki
e848afe2ec
Update Japanese translation 2020-06-09 17:48:09 +02:00
Vincenzo Reale
c87edcbf04
Adding appdata and gtkmm2ext Italian translations 2020-06-09 17:44:15 +02:00
Vincenzo Reale
f27e7dadf5
Italian translation update 2020-06-09 17:43:28 +02:00
Matthias von Faber
e3dcd1f5d7
Only try using __pthread_get_minstack on glibc
This is a glibc-only extension, so don't bother on other platforms.
Also, according to POSIX, PTHREAD_STACK_MIN is defined in limits.h, so
include climits just to be safe.
2020-06-09 17:39:24 +02:00
Matthias von Faber
662ff1bd39
Fall back to non-realtime threads again
Makes Ardour start into sessions again when realtime scheduling is
unavailable.
2020-06-09 17:39:24 +02:00
Matthias von Faber
4b7efac3dc
Report true error when tasklist threads cannot be created
pthreads doesn't use errno, so the error message was misleading.
2020-06-09 17:39:24 +02:00
Peter Kovář
630a3d07d2
Added support for the original Contour Design ShuttlePRO 2020-06-09 17:29:01 +02:00
c822f0b370
Re-order windows installer options (non-optional first) 2020-06-09 17:27:32 +02:00
Nikolaus Gullotta
e6bbbe18c6
Skip recent sessions with empty strings for names
This can happen if the recent sessions file has new lines with no
characters on it which can be the direct loading sessions with wacky
names. For example, one that has a carriage return or newline in it.
2020-06-08 09:38:29 -05:00
c7edc28383
Keep aux-send names when duplicating tracks 2020-06-07 21:39:50 +02:00
c7bce4b685
NO-OP: whitespace 2020-06-07 18:25:18 +02:00
21b8885fe9
Remove debug output (also fix some builds, missing stdio.h) 2020-06-07 18:18:58 +02:00
b2c62db450
Fix initial action-button tooltip
The same string is used in ARDOUR_UI::action_script_changed()
when an action is un-assigned.
2020-06-07 18:13:23 +02:00
27e45c585f
Fix another stupid typo 2020-06-06 23:03:21 +02:00
e0548fa798
Offset stack-size by current TLS #8200
Some libraries use thread locals and hence increase the min
requirement.

This is seen on void-linux for example:

> linking a minimal program against cairo gives a
> __static_tls_size of 43008 bytes.
> Doing the same on Ubuntu focal and Debian bullseye,
> __static_tls_size is only 4608.
2020-06-06 19:04:26 +02:00
09aa0a3d1a
Consolidate code using pthread_attr_setstacksize
This also adds some stack constraint to rt and fallback threads
that didn't have those before (ALSA MIDI for example)
2020-06-06 18:35:44 +02:00
515ffbdfe2
Add API to create threads with given stacksize 2020-06-06 18:32:09 +02:00
9398a6f60a
Fix generic MIDI encoder off by one
Increment for CC values > 0x40, decrement control for values <= 40.
 - 0x41 increment by one
 - 0x40 decrement by one

previously: 0x3f decremented by one, 0x3e by two, .. 0x00 by 64,
but 0x40 also by 64.
2020-06-06 17:10:31 +02:00
d366b49447
Automation Line may not exist after session re-load #8207 2020-06-06 01:05:41 +02:00
dccb2b650e
Mark Prefs Tab action name un-translatable
This is used with  string_compose ("detach-%1") etc,
and "preferences" may be translated by gtk or 3rd party translations
(Ardour itself only has upper-case "Preferences" as translatable
string)
2020-06-05 22:52:36 +02:00
75404eaa64
Ignore NO-OP Latency changes
This also fixes an endless recursion when directly connecting
is_physical() ports to each other.
2020-06-05 20:44:57 +02:00
8f82ccd3aa
Add LatencyRange comparator, and explicit assignment operator 2020-06-05 20:44:57 +02:00
ab9f51d2d8
Downgrade LV1 error to warning
Failing to discover a plugin is not critical. If the plugin is
used by the session, an error message is displayed later.
2020-06-05 20:44:57 +02:00
John Emmas
743a3b1842 Add/remove source(s) in our MSVC project (audiographer) 2020-06-05 12:41:55 +01:00
ae3c8b19c6
Tweak PulseAudio re-initialization
This fixes an issue with pulse disconnecting after freewheeling,
and possibly also address #8193
2020-06-05 04:24:09 +02:00
25169d239d
Relax initial export-noise to 1/3 of interval 2020-06-05 03:19:47 +02:00
f8162339cf
GUI option to configure export noise watermark
This was inspired by Andy76 (item 24) at
http://mixbus.harrisonconsoles.com/forum/thread-8935-post-49751.html
2020-06-05 03:10:20 +02:00
f89e72d86d
Cont'd backend support for demo-noise 1e7207f9ec 2020-06-05 02:29:20 +02:00
40aa1b3c91
Fix typo in 54ffd92fde 2020-06-04 22:24:36 +02:00
a98094fcff remove accidentally added colon in euskara (basque) translation 2020-06-04 13:23:36 -06:00
54ffd92fde
Fix ATAV identification by Parameter (2/2) #8201, 8203
Allow to uniquely identify Processor ATAV using the control ID.
2020-06-04 21:20:32 +02:00
0ab13e7b29
Fix ATAV identification by Parameter (1/2) #8201, 8203
See also 72af571f0c, ATAV for Processors cannot be identified by
Parameter alone. STAV uses a std::map<Evoral::Parameter, ..>
that is only valid for unique parameters.

The map cannot store Evoral::Parameter(PluginAutomation)
because it its not unique.
2020-06-04 21:20:32 +02:00
1e7207f9ec
Add export spec support for watermark/demo-noise 2020-06-04 21:20:32 +02:00
820165d238
Add export demo noise watermarking 2020-06-04 21:20:32 +02:00
Nikolaus Gullotta
d147741ae3
Fix "Help" menu for Mixbus in wake of 9d9a00d2 2020-06-04 09:34:04 -05:00
378a0af4a7
Prevent locate while recording due to clock edits #7383
This follows Editor::button_press_handler() ignoring mouse-press
while recording: Limitation is in the GUI only.
2020-06-03 19:56:08 +02:00
1b3cca8a6d
Constrain missing file dialog list first 15 files only 2020-06-02 23:18:16 +02:00
d95d10eb55 sort control protocols in name order after discovery 2020-06-01 13:06:23 -06:00
72af571f0c
Fix automation lane visibility and indices - #8162
This fixes an issue with using
  StripableTimeAxisView::_automation_tracks
for PluginAutomation. The latter is indexed per-plugin in
  RouteTimeAxisView::processor_automation

Evoral::Parameter(PluginAutomation) is only unique per plugin,
and hence cannot be used in STAV.
2020-06-01 06:38:18 +02:00