From f1d7e1759a3d5f18ca7a517e451782dbbdf93962 Mon Sep 17 00:00:00 2001 From: Luciano Iam Date: Mon, 14 Jun 2021 01:07:40 +0200 Subject: [PATCH] WebSockets: repeat 8baf275 for JS files Like ec131fc does --- libs/surfaces/websockets/feedback.cc | 5 ++++- share/web_surfaces/builtin/mixer/js/main.js | 2 +- share/web_surfaces/builtin/mixer/js/scale.js | 2 +- share/web_surfaces/builtin/mixer/js/tkloader.js | 2 +- share/web_surfaces/builtin/mixer/js/tkwidget.js | 2 +- share/web_surfaces/builtin/mixer/js/widget.js | 2 +- share/web_surfaces/builtin/protocol/main.js | 2 +- share/web_surfaces/builtin/transport/main.js | 2 +- share/web_surfaces/index/main.js | 2 +- share/web_surfaces/shared/ardour.js | 2 +- share/web_surfaces/shared/base/channel.js | 2 +- share/web_surfaces/shared/base/component.js | 2 +- share/web_surfaces/shared/base/observable.js | 2 +- share/web_surfaces/shared/base/protocol.js | 2 +- share/web_surfaces/shared/components/mixer.js | 2 +- share/web_surfaces/shared/components/parameter.js | 2 +- share/web_surfaces/shared/components/plugin.js | 2 +- share/web_surfaces/shared/components/strip.js | 2 +- share/web_surfaces/shared/components/transport.js | 2 +- 19 files changed, 22 insertions(+), 19 deletions(-) diff --git a/libs/surfaces/websockets/feedback.cc b/libs/surfaces/websockets/feedback.cc index d26980dea4..59d37355ca 100644 --- a/libs/surfaces/websockets/feedback.cc +++ b/libs/surfaces/websockets/feedback.cc @@ -100,8 +100,11 @@ struct PluginParamValueObserver { }; FeedbackHelperUI::FeedbackHelperUI() - : AbstractUI ("feedback_helper") + : AbstractUI ("WS_FeedbackHelperUI") { + char name[16]; + snprintf (name, sizeof(name), "WS-%p", (void*)pthread_self ()); + pthread_set_name (name); set_event_loop_for_thread (this); } diff --git a/share/web_surfaces/builtin/mixer/js/main.js b/share/web_surfaces/builtin/mixer/js/main.js index b166182c50..9ba686e3c0 100644 --- a/share/web_surfaces/builtin/mixer/js/main.js +++ b/share/web_surfaces/builtin/mixer/js/main.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/mixer/js/scale.js b/share/web_surfaces/builtin/mixer/js/scale.js index 4682df1d9a..ebc1394cd2 100644 --- a/share/web_surfaces/builtin/mixer/js/scale.js +++ b/share/web_surfaces/builtin/mixer/js/scale.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/mixer/js/tkloader.js b/share/web_surfaces/builtin/mixer/js/tkloader.js index e80bb884e3..552c4023d0 100644 --- a/share/web_surfaces/builtin/mixer/js/tkloader.js +++ b/share/web_surfaces/builtin/mixer/js/tkloader.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/mixer/js/tkwidget.js b/share/web_surfaces/builtin/mixer/js/tkwidget.js index 602a44cafc..ac1f494fcd 100644 --- a/share/web_surfaces/builtin/mixer/js/tkwidget.js +++ b/share/web_surfaces/builtin/mixer/js/tkwidget.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/mixer/js/widget.js b/share/web_surfaces/builtin/mixer/js/widget.js index f31dc5ec0e..5712598548 100644 --- a/share/web_surfaces/builtin/mixer/js/widget.js +++ b/share/web_surfaces/builtin/mixer/js/widget.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/protocol/main.js b/share/web_surfaces/builtin/protocol/main.js index d88fc6612e..f8db28ec6f 100644 --- a/share/web_surfaces/builtin/protocol/main.js +++ b/share/web_surfaces/builtin/protocol/main.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/builtin/transport/main.js b/share/web_surfaces/builtin/transport/main.js index 99026f1822..cfadefa1d6 100644 --- a/share/web_surfaces/builtin/transport/main.js +++ b/share/web_surfaces/builtin/transport/main.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/index/main.js b/share/web_surfaces/index/main.js index 2796ee1b71..9569dea45a 100644 --- a/share/web_surfaces/index/main.js +++ b/share/web_surfaces/index/main.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/ardour.js b/share/web_surfaces/shared/ardour.js index 8d682d0779..a3ac1b90e3 100644 --- a/share/web_surfaces/shared/ardour.js +++ b/share/web_surfaces/shared/ardour.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/base/channel.js b/share/web_surfaces/shared/base/channel.js index 26f3f5534e..5fc03ff49e 100644 --- a/share/web_surfaces/shared/base/channel.js +++ b/share/web_surfaces/shared/base/channel.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/base/component.js b/share/web_surfaces/shared/base/component.js index 5f9fc30e0c..110003dec1 100644 --- a/share/web_surfaces/shared/base/component.js +++ b/share/web_surfaces/shared/base/component.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/base/observable.js b/share/web_surfaces/shared/base/observable.js index 1707c973f9..f68507313a 100644 --- a/share/web_surfaces/shared/base/observable.js +++ b/share/web_surfaces/shared/base/observable.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/base/protocol.js b/share/web_surfaces/shared/base/protocol.js index d2d487c1cb..63cb52fb37 100644 --- a/share/web_surfaces/shared/base/protocol.js +++ b/share/web_surfaces/shared/base/protocol.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/components/mixer.js b/share/web_surfaces/shared/components/mixer.js index ed12f656e7..b6dcfa581c 100644 --- a/share/web_surfaces/shared/components/mixer.js +++ b/share/web_surfaces/shared/components/mixer.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/components/parameter.js b/share/web_surfaces/shared/components/parameter.js index dcb98260b3..eb69cfd783 100644 --- a/share/web_surfaces/shared/components/parameter.js +++ b/share/web_surfaces/shared/components/parameter.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/components/plugin.js b/share/web_surfaces/shared/components/plugin.js index be69a77c3e..5c5784b880 100644 --- a/share/web_surfaces/shared/components/plugin.js +++ b/share/web_surfaces/shared/components/plugin.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/components/strip.js b/share/web_surfaces/shared/components/strip.js index efb4fd9d2f..63851959d6 100644 --- a/share/web_surfaces/shared/components/strip.js +++ b/share/web_surfaces/shared/components/strip.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/share/web_surfaces/shared/components/transport.js b/share/web_surfaces/shared/components/transport.js index a4087b90b9..b46d94b55e 100644 --- a/share/web_surfaces/shared/components/transport.js +++ b/share/web_surfaces/shared/components/transport.js @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Luciano Iam + * Copyright © 2020 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by