Commit graph

884 commits

Author SHA1 Message Date
jean-emmanuel
b89d254386 docs: fix rpm dl link 2026-04-28 18:53:22 +02:00
jean-emmanuel
7fc5372ca1 scripting: add scrollIntoView() 2026-04-23 10:14:03 +02:00
jean-emmanuel
9d79e857f8 scripting: add fileUpload function 2026-04-09 14:59:03 +02:00
jean-emmanuel
27e3e6f1b3 client: add noWarning option 2026-03-02 10:48:36 +01:00
jean-emmanuel
4c008099ca docs: update browser requirements 2026-01-09 18:52:24 +01:00
jean-emmanuel
eddcbe5cd2 docs: link typo 2025-12-18 09:47:25 +01:00
jean-emmanuel
7ab8bcd78a docs: update contributors list 2025-12-17 11:38:46 +01:00
jean-emmanuel
d93b880330 docs: more links 2025-12-17 11:27:50 +01:00
jean-emmanuel
618fb3b01f docs: framagit migration 2025-12-17 11:16:37 +01:00
jean-emmanuel
e4eae76bdf midi: implement backend restart feature 2025-12-15 09:41:17 +01:00
jean-emmanuel
31f4119442 scripting: calling setFocus() without if now unfocuses active element 2025-12-14 14:41:05 +01:00
jean-emmanuel
fab78f98a4 scripting: add getToolbar() and make toolbar() accept string id 2025-12-10 09:50:05 +01:00
jean-emmanuel
6f46a813cc docs: fullscreen and wakelock don't always require user interaction to work 2025-12-10 09:04:56 +01:00
jean-emmanuel
71293de694 docs: scription: set() external flag implies send:false, not sync:false 2025-12-05 17:53:50 +01:00
jean-emmanuel
9e60de7243 misc: all recent node versions are supported 2025-10-24 21:13:51 +02:00
jean-emmanuel
48402e277d midi: add option to disable outgoing note_on,vel=0 to note_off conversion 2025-09-15 08:18:13 +02:00
jean-emmanuel
4c98442fed build: migrate widget doc generation script, ungit widget reference 2025-09-12 16:35:07 +02:00
jean-emmanuel
d70df6fb6d docs: update 2025-08-14 09:02:43 +02:00
jean-emmanuel
f38bcb9ea0 client: add title client option 2025-08-05 15:31:12 +02:00
jean-emmanuel
84bf487169 package: 1.29.7 & doc update 2025-07-23 08:33:30 +02:00
jean-emmanuel
0de9f239c8 docs: tray things 2025-07-22 19:58:29 +02:00
jean-emmanuel
65ebe938de docs: tray icon menu 2025-07-22 19:11:27 +02:00
jean-emmanuel
f29be8cc75 docs: update 2025-07-16 16:03:24 +02:00
jean-emmanuel
379031379e docs: update 2025-06-27 09:55:19 +02:00
jean-emmanuel
45b8794bf6 docs: update 2025-05-13 10:04:16 +02:00
jean-emmanuel
460d8718c9 docs: remote control detail 2025-05-13 09:21:40 +02:00
jean-emmanuel
bc52244c0b package: v1.29.0 2025-04-08 11:10:06 +02:00
jean-emmanuel
6fa3f9862e panel: expose useful event.firstTarget 2025-04-02 10:27:15 +02:00
jean-emmanuel
1595370be0 docs update 2025-03-26 13:23:27 +01:00
jean-emmanuel
2408353194 docs: update 2025-03-21 18:54:11 +01:00
jean-emmanuel
69fbefdb73 drag: safe user custom inertia and docs 2025-03-21 15:38:58 +01:00
jean-emmanuel
69a8d4b576 drag: let containers see all move events during traversing gestures 2025-03-21 14:46:17 +01:00
jean-emmanuel
4d30880d0f /!\ events: groundwork for containers onTouch scripts:
Drag events are now reverse-bubbling (from parents to child) to allow containers to monitor/control interaction inside them
2025-03-21 09:23:44 +01:00
jean-emmanuel
926550bac7 docs: update 2025-03-18 16:52:52 +01:00
jean-emmanuel
7f943aa89c docs: noop 2025-03-18 08:40:18 +01:00
jean-emmanuel
58acf3e0a7 editor: change r shortcut to y 2025-03-14 04:27:54 +01:00
jean-emmanuel
343a18541c tree: add "r" shortcut for "show widget in session" 2025-03-14 03:22:48 +01:00
jean-emmanuel
ecda3a05cf docs: update ref 2025-03-07 10:47:17 +01:00
jean-emmanuel
030446accd docs: missing fences 2025-01-13 10:53:25 +01:00
jean-emmanuel
697481e43a docs: update custom module example 2025-01-13 10:52:05 +01:00
jean-emmanuel
ebb6478021 package: v1.27.2 & update docs 2025-01-13 10:33:08 +01:00
jean-emmanuel
bdd83657c8 custom module: receive() and send() now accept host and port to be provided as a single string argument joined by a colon 2025-01-11 16:41:07 +01:00
jean-emmanuel
adb27b35fb docs: udpate ref 2024-07-26 12:41:43 +02:00
jean-emmanuel
abf943da5f ui: allow disabling notifications globally 2024-07-26 12:30:58 +02:00
jean-emmanuel
1510ebb80d ui: allow dismissing notifications with a click 2024-07-26 12:14:36 +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
c06107a07f remote control: ignore unsaved changes on /SESSION/CREATE 2024-06-22 12:08:22 +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
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