Commit graph

6093 commits

Author SHA1 Message Date
jean-emmanuel
9d21bdc2b5 clone: fix target prop update check 2024-12-28 14:24:39 +01:00
jean-emmanuel
da4252c6da clone: avoid some unnecessary property checks 2024-12-28 12:10:27 +01:00
jean-emmanuel
e56340fd11 misc: expand prop default value is a boolean 2024-12-28 12:08:35 +01:00
jean-emmanuel
51f2e64968 scrpiting: httpGet: provide error code 2024-12-02 08:34:59 +01:00
jean-emmanuel
20d29f8111 multixy: fix default props when points are named 2024-11-14 13:32:22 +01:00
jean-emmanuel
32803f3f31 lint: quotes 2024-11-12 13:26:43 +01:00
jean-emmanuel
d00987402e matrix: don't implicitely override children's label, do it explicitely in props' default 2024-11-12 13:22:04 +01:00
jean-emmanuel
6eb8b73c77 canvas: attempt to mitigate memory issue on ios (bis) 2024-11-05 16:04:16 +01:00
jean-emmanuel
f3b2b8900c canvas: attempt to mitigate memory issue on ios 2024-11-05 15:31:28 +01:00
jean-emmanuel
e6882ee90a misc: fix build 2024-11-05 15:31:15 +01:00
jean-emmanuel
89c6967961 client: show partially accessible menu in readonly mode; disable console in readonly mode 2024-11-02 11:01:12 +01:00
jean-emmanuel
e239b35a7e package: v1.27.1 2024-10-17 10:37:21 +02:00
jean-emmanuel
df8e4bbcbf file browser: fallback to home directory when last visited directory is not accessible 2024-10-17 10:34:27 +02:00
jean-emmanuel
6f26e53f82 mobile: unnecessary try/catch in theme update routine 2024-10-05 22:40:39 +02:00
jean-emmanuel
2344fc0a81 mobile: wrong fastdom usage in theme color update routine 2024-10-05 22:39:40 +02:00
jean-emmanuel
c945b8decf mobile: fix build for real 2024-10-05 17:50:58 +02:00
jean-emmanuel
8fb4662bd1 mobile: fix build (broken in f891442e28) 2024-10-05 17:30:01 +02:00
jean-emmanuel
f891442e28 mobile: apply root's (or themes) background color the the browser's topbar when possible 2024-10-04 15:46:11 +02:00
jean-emmanuel
4451cffd36 editor: missing position dot in color picker pad (since f93056d21e) 2024-10-04 15:02:25 +02:00
jean-emmanuel
b194519071 patchbay: fix ìgnoreDefaults 2024-09-05 19:38:07 +02:00
jean-emmanuel
98ed962976 doc: patchbay scripting 2024-09-05 19:29:09 +02:00
jean-emmanuel
5d3f770e3b patchbay: address not working properly when set to auto 2024-09-05 19:22:42 +02:00
jean-emmanuel
04b7994e9a led, text: fix client sync 2024-08-29 10:43:17 +02:00
jean-emmanuel
f2b2dbe9f6 server: fix read-only + fullscreen option combo 2024-08-10 10:07:56 +02:00
jean-emmanuel
8878c9283b noop: typo 2024-08-09 12:48:34 +02:00
jean-emmanuel
0bc7848b06 log: fix formatting 2024-07-26 12:45:31 +02:00
jean-emmanuel
adb27b35fb docs: udpate ref 2024-07-26 12:41:43 +02:00
jean-emmanuel
359d467f4d docs: fix build 2024-07-26 12:41:27 +02:00
jean-emmanuel
abf943da5f ui: allow disabling notifications globally 2024-07-26 12:30:58 +02:00
jean-emmanuel
30ee07c52b clean 2024-07-26 12:17:09 +02:00
jean-emmanuel
1510ebb80d ui: allow dismissing notifications with a click 2024-07-26 12:14:36 +02:00
jean-emmanuel
31700de021 package: next is 1.27 2024-07-25 09:20:06 +02:00
jean-emmanuel
3547da8bdf client: file browser now remembers the last displayed directory 2024-07-24 11:59:54 +02:00
jean-emmanuel
8a34f9c81c clean 2024-07-24 11:57:51 +02:00
jean-emmanuel
026230d8e1 custom module: add stop() callback (runs when the server stops 2024-07-15 11:03:07 +02:00
jean-emmanuel
c56a5bfbeb log: latest changes 2024-06-22 12:11:13 +02:00
jean-emmanuel
c06107a07f remote control: ignore unsaved changes on /SESSION/CREATE 2024-06-22 12:08:22 +02:00
jean-emmanuel
ed6489a794 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2024-06-22 12:04:58 +02:00
jean-emmanuel
92d71019c6
Merge pull request #852 from matthijskooijman/create-session-osc-command
remote control: Add `/SESSION/CREATE` command
2024-06-22 12:04:53 +02:00
jean-emmanuel
118c064e86 custom module: error message formatting 2024-06-22 12:03:47 +02:00
jean-emmanuel
a21e789437
Merge pull request #851 from matthijskooijman/custom-module-reload-function
custom-module: Call reload() function on auto-reload
2024-06-22 12:00:52 +02:00
jean-emmanuel
f93056d21e pads: expose/clean --point-size css var, make pointSize property dynamic 2024-06-20 14:30:08 +02:00
jean-emmanuel
da6c5d02c7 clean 2024-06-20 13:38:04 +02:00
jean-emmanuel
dad35b6166 package lock update 2024-06-20 13:37:38 +02:00
jean-emmanuel
0e3119226b theme: fix issues with autoreload (correctly detect when stylesheet is reloaded) 2024-06-19 14:03:29 +02:00
jean-emmanuel
0e1ef27eb5 server/launcher: app address / qr code not updating when network changes 2024-06-19 12:53:44 +02:00
jean-emmanuel
33d0b54dad osc/custom module: more error backtraces 2024-06-19 12:51:24 +02:00
Matthijs Kooijman
c02146c9b1 remote control: Add /SESSION/CREATE command
This allows creating a new empty session. This is useful for projects
that want to dynamically create the entire session using a custom module.

Without this, you can also create an empty session json file and load
that with `--load`, but then you would have to manage that file, and if
you accidentaly press control-s, it gets overwritten to contain any
dynamically created widgets.

With this commit, such a custom module can just create a new session on
startup and then populate it. This takes a bit of fiddling to get the
order of events correct, this commit also adds an example showing how to
do this.
2024-06-18 09:41:10 +02:00
Matthijs Kooijman
c5314fe17a custom-module: Call reload() function on auto-reload
This allows modules to re-initialize any state they need whenever the
module is reloaded.

Without this, any such initialization can also be done in the top
level of the custom module, but this has two problems:

 1. Top-level module code runs on load and reload, and for the initial
    load, it runs *before* the connections are set up, so trying to use
    send() would produce an error on load (not reload).

 2. Top-level module code runs for the primary custom module, but also
    for any nested modules, removing control about the process and
    ordering from the primary custom module. In addition, a module that
    can be used both as primary and nested module, there is no clean way
    to distinguish between these cases.

Both of these problems can be solved by doing some bookkeeping in the
global object, but that produces messy code.

This commit allows modules to define a reload() function, which is
called (for the primary module only) after the module is reloaded. This
means that any initialization for the first load can be done in init()
and for reloads in reload(), and in both cases all connections will
already have been set up solving issue 1. In addition, neither of these
functions are called for nested modules, solving issue 2 (and the
primary module can then stil explicitly call a reload function on nested
modules if needed, as shown in the examples).
2024-06-18 09:37:01 +02:00
Matthijs Kooijman
a3194a3bb8 custom-module: Fix example for unload with nested modules
The unload method is actually called on all modules, not just the main
one, so it makes no sense to have the module merger example call it
explicitly on its submodules.
2024-06-18 09:32:35 +02:00