Compare commits

..

4316 commits

Author SHA1 Message Date
1af30141d0 package: make sure entrypoint.sh is runnable in docker container 2026-11-15 02:10:46 +01:00
d81da1acd3 ci: forgejo docker build 2026-11-15 02:01:00 +01:00
c97416b2c3 package: docker init 2026-11-15 01:16:56 +01:00
jean-emmanuel
c3d993e46a docs: bump version 2026-11-08 01:40:00 +01:00
jean-emmanuel
f1dd12c601 misc: lint 2026-11-08 01:39:12 +01:00
jean-emmanuel
82edcfe282 log: 1.31.2 changes 2026-11-08 01:37:19 +01:00
jean-emmanuel
cd4e3b35bb editor: fix call stack overflow caused by commit c1720b4a 2026-11-08 01:24:26 +01:00
jean-emmanuel
2790b7d86e server: serve dev files for client src debugging 2026-11-08 00:30:32 +01:00
jean-emmanuel
a47050e7ad server: send state open error to appropriate client instead of all 2026-10-21 10:09:40 +02:00
jean-emmanuel
9eab8ce38b server: send session open error to appropriate client instead of all 2026-10-21 10:08:07 +02:00
jean-emmanuel
dd3ca188ab server: ipc: deduplicate packet serialization when sending to multiple clients 2026-10-21 10:06:26 +02:00
jean-emmanuel
aec5ba9d9c canvas: allow onResize to send and trigger widget synchronization and scripts 2026-10-06 09:10:36 +02:00
jean-emmanuel
000714d22b image: ensure default value is a string 2026-09-08 16:36:09 +02:00
jean-emmanuel
3263cf2ff1 server: fix allowed extension regexp, explicitely allow mjs src files 2026-08-30 17:18:27 +02:00
jean-emmanuel
db85c42989 docs: 1.31.1 2026-08-30 16:09:07 +02:00
jean-emmanuel
a73e2755dc clone: regression causing error when some widgets have a non-string id 2026-08-30 16:04:29 +02:00
jean-emmanuel
aee968cba9 package: v1.31.0 2026-08-24 14:21:48 +02:00
jean-emmanuel
dcfde67d71 console: only hint focus when editor is enabled 2026-08-24 10:59:52 +02:00
jean-emmanuel
81d5e84044 console: visually indicate focus and blur with escape key 2026-08-24 10:49:43 +02:00
jean-emmanuel
883fb811e8 client: make console message area focusable and prevent editor kbd shortcuts when focused 2026-08-24 10:40:19 +02:00
jean-emmanuel
54d32c4c3f log: scrollbar init fix 2026-08-14 12:52:42 +02:00
jean-emmanuel
e7baf46890 scrollbar: rm debug log 2026-08-14 12:50:26 +02:00
jean-emmanuel
ce0ae02c8b scrollbar: fix initial value in vertical mode 2026-08-14 12:50:05 +02:00
jean-emmanuel
efe5629396 log: typo 2026-08-14 12:37:43 +02:00
jean-emmanuel
7c38dedcc7 log: latest changes 2026-08-14 09:31:49 +02:00
jean-emmanuel
af6cc4b911 tray: keep alive when closing if the server is running 2026-08-14 09:31:11 +02:00
jean-emmanuel
64642274d8 mac: quit app when last window is destroyed 2026-08-14 09:30:29 +02:00
jean-emmanuel
af1a8a8715 log: fix typo 2026-08-13 19:52:20 +02:00
jean-emmanuel
6605f1d2b3 log: phrasing 2026-08-13 19:50:34 +02:00
jean-emmanuel
4d1b8e924a scope: rename property, and log new feature 2026-08-13 19:29:25 +02:00
jean-emmanuel
d69d3b7f13 scope: tweakedy tweakeda fonk 2026-08-13 19:14:29 +02:00
jean-emmanuel
83090d2e06 scrollbar: typo 2026-08-13 18:09:18 +02:00
jean-emmanuel
83456acbff scopes: fix some issues in clone and adapt scrollbar 2026-08-13 18:08:29 +02:00
jean-emmanuel
08b837ff98 scope: continue implementation, adjust clone target acquire mechanism, add scoped linkId 2026-08-13 17:50:57 +02:00
jean-emmanuel
0e8c77a700 widgets: fix widget removal from linkId table when '<<' or '>>' prefixes are present 2026-08-13 16:55:33 +02:00
jean-emmanuel
a36811954d widgets: amend not_editable clean 2026-08-13 15:17:52 +02:00
jean-emmanuel
39c9d4a46d scoping: first id scoping implementation 2026-08-12 16:10:31 +02:00
jean-emmanuel
593ec4c53d widget: clean not-editable css class 2026-08-12 16:09:43 +02:00
jean-emmanuel
8c22384ddb widgets: better not_editable widget flag implementation 2026-08-09 10:30:11 +02:00
jean-emmanuel
7981b6fdd6 osc: avoid object serialization from custom module to client 2026-08-06 12:43:23 +02:00
jean-emmanuel
27d87f2238 stacktrace: missing indentation 2026-07-09 09:08:11 +02:00
jean-emmanuel
c49a731134 midi: fix unrecognized no_auto_note_off option 2026-07-08 11:38:57 +02:00
jean-emmanuel
ac7b0323e2 package: 1.30.4 2026-07-06 17:50:13 +02:00
jean-emmanuel
fe5bbb4713 AI: update policy 2026-07-06 17:45:35 +02:00
jean-emmanuel
e44cf615b5 clone: fix @{parent} bindings 2026-07-06 17:37:56 +02:00
jean-emmanuel
cdea67809f Merge branch 'master' of framagit.org:jean-emmanuel/open-stage-control 2026-07-04 14:34:09 +02:00
jean-emmanuel
79c04cc69a editor: fix moving/resing widgets inside folders when using percent units 2026-07-04 14:05:32 +02:00
jean-emmanuel
045be39e87 knob: add encoder design (& DRY) 2026-06-22 10:02:20 +02:00
jean-emmanuel
c1d692ffba knob: add encoder design (& DRY) 2026-06-20 23:04:18 +02:00
jean-emmanuel
c40d30aa2b encoder: add horizontal mode 2026-06-20 19:08:43 +02:00
jean-emmanuel
d22f850598 notificaion: support icon transform suffixes (use utils.icons()) 2026-06-07 16:20:37 +02:00
jean-emmanuel
7e7c3f43e7 ai: let's make things clear 2026-05-20 09:50:38 +02:00
jean-emmanuel
614b0c237f docs: remove git bug tracker 2026-05-10 19:09:43 +02:00
jean-emmanuel
b89d254386 docs: fix rpm dl link 2026-04-28 18:53:22 +02:00
jean-emmanuel
26a3d4ce60 docs: bump v 2026-04-28 18:49:00 +02:00
jean-emmanuel
a7708f6cd5 package: v1.30.3 2026-04-28 18:28:58 +02:00
jean-emmanuel
ed722923d9 log: tcp regression 2026-04-28 18:27:40 +02:00
jean-emmanuel
9d7087b6e7 Merge branch 'fix/tcp-server-on-binding' into 'master'
fix: tcp incoming messages being silently dropped

See merge request jean-emmanuel/open-stage-control!886
2026-04-28 16:25:11 +00:00
Xavier
e163308e35 fix: tcp incoming messages being silently dropped 2026-04-28 16:25:10 +00:00
jean-emmanuel
19a86aa31b docs: axisLock in multixy.pointsAttr 2026-04-23 15:21:33 +02:00
jean-emmanuel
c84bbee02e scrollbar: methodize target scroll handler and watch for target resize 2026-04-23 11:14:41 +02:00
jean-emmanuel
7fc5372ca1 scripting: add scrollIntoView() 2026-04-23 10:14:03 +02:00
jean-emmanuel
22068ab47e log: update 2026-04-21 16:43:51 +02:00
jean-emmanuel
6dbbc9318d plot, eq: unclip line on y axis 2026-04-21 16:43:12 +02:00
jean-emmanuel
9d79e857f8 scripting: add fileUpload function 2026-04-09 14:59:03 +02:00
jean-emmanuel
892cbd6886 eq: easy optimisation (don't compute response more than needed) 2026-04-07 12:47:19 +02:00
jean-emmanuel
3407568b5f knob: add horizontal mode 2026-03-30 19:11:10 +02:00
jean-emmanuel
51e33c0230 file: remember last visited directory per widget 2026-03-26 18:44:25 +01:00
jean-emmanuel
dfe45cac01 file: dedupe leading "/" when no root is set 2026-03-26 18:44:20 +01:00
jean-emmanuel
d9c23bc672 eq: doc typo 2026-03-03 09:46:14 +01:00
jean-emmanuel
013b7faf9e fader/range: fix compact mode drawing mistake 2026-03-03 09:10:27 +01:00
jean-emmanuel
8bec0552d4 scrollbar: fix drawing issue 2026-03-03 08:29:24 +01:00
jean-emmanuel
3730aa7199 scrollbar: prevent another error 2026-03-03 08:29:09 +01:00
jean-emmanuel
e4311271e9 misc: detailed comment 2026-03-02 17:28:18 +01:00
jean-emmanuel
43d18647b2 linux: workaround gtk conflict 2026-03-02 16:36:46 +01:00
jean-emmanuel
12508f8994 docs: bump version 2026-03-02 13:57:38 +01:00
jean-emmanuel
e2c48bd6ac script: escape html elements in widget log to avoid cyclic json error 2026-03-02 11:21:18 +01:00
jean-emmanuel
3d12e85e56 scrollbar: prevent error 2026-03-02 10:53:45 +01:00
jean-emmanuel
a0fed34edb misc: space 2026-03-02 10:49:41 +01:00
jean-emmanuel
27e3e6f1b3 client: add noWarning option 2026-03-02 10:48:36 +01:00
jean-emmanuel
91fb688d9d button: amend click doc 2026-03-02 10:41:38 +01:00
jean-emmanuel
99578d3be5 log: update 2026-03-02 10:38:56 +01:00
jean-emmanuel
6b37c4521e button: add click option & add missing move events to onTouch 2026-03-02 10:37:29 +01:00
jean-emmanuel
b016724d04 modal, file: add click option 2026-03-02 10:28:05 +01:00
jean-emmanuel
9961fb73b4 menu: use click event in *toggle modes 2026-03-02 10:27:42 +01:00
jean-emmanuel
270eb77802 log: modal click handler fix 2026-03-01 11:44:56 +01:00
jean-emmanuel
84474499c7 modal: use draginit as click handler (allows preventing touch event from parent container) 2026-03-01 11:23:09 +01:00
jean-emmanuel
bfc1d182be patchbay: interaction and rendering issues + use draginit instead of fast-click 2026-03-01 11:12:40 +01:00
jean-emmanuel
e682455872 log: rgb fix 2026-02-10 13:07:47 +01:00
jean-emmanuel
09aa7e8a63 rgb: don't break pad styling when updating hue (use correct method to update styles) 2026-02-05 13:28:14 +01:00
jean-emmanuel
3da569700a code editor: add content changed hint 2026-01-22 12:04:50 +01:00
jean-emmanuel
daa4fbfecf code editor: keep fullscreen code editor focused and opened upon validation 2026-01-22 11:57:37 +01:00
jean-emmanuel
5bf5ab8754 editor: preserve code editor undo history between consecutive edits of a same widget's property 2026-01-22 10:52:20 +01:00
jean-emmanuel
c59c4a8065 widgets: resolveProp: preserve numbers and booleans as strings in object values 2026-01-20 10:01:22 +01:00
jean-emmanuel
4c008099ca docs: update browser requirements 2026-01-09 18:52:24 +01:00
jean-emmanuel
08d4139844 server: define sendFile as server method once and for all 2026-01-09 09:41:36 +01:00
jean-emmanuel
a425d8156c server: fix @imports from theme (don't serve it from osc_asset dir to let imports load from user locations) 2026-01-09 09:28:32 +01:00
jean-emmanuel
750f89b6ce docs: fix biuld for node 22 2026-01-08 22:56:39 +01:00
jean-emmanuel
bf72d38fcf docs: bump 2026-01-08 22:53:26 +01:00
jean-emmanuel
11af5edc70 package: 1.30.1 2026-01-08 22:42:00 +01:00
jean-emmanuel
0bfbf59f0f custom module: fix nativeRequire resolve path (somehow broke during esm migration) 2026-01-08 22:40:29 +01:00
jean-emmanuel
b8c59db5f3 server: fix user asset loading from folder named "assets" (or "client"). This also makes osc asset urls more clear 2026-01-08 21:24:58 +01:00
jean-emmanuel
c3f526070f log: electron version 2026-01-07 00:49:43 +01:00
jean-emmanuel
d0a76d4ce3 server: don't use path.resove on assets (fails on windows) and fix regexp 2026-01-03 10:07:49 +01:00
jean-emmanuel
665515b626 widget: fix typo 2025-12-30 18:17:43 +01:00
jean-emmanuel
2758a79ff5 widget: last minute regression in updateProps 2025-12-30 18:04:18 +01:00
jean-emmanuel
43ac672d94 docs: new downloads 2025-12-30 17:55:42 +01:00
jean-emmanuel
1aa3fbfef5 script-vm: fix setTimeout/setInterval override 2025-12-30 17:34:05 +01:00
jean-emmanuel
f4af775a98 package: 1.30 2025-12-30 17:08:29 +01:00
jean-emmanuel
8cf854af2e noop: rename internal event for better clarity 2025-12-29 18:38:53 +01:00
jean-emmanuel
4627fa9c02 log: value state/prop change 2025-12-29 14:03:19 +01:00
jean-emmanuel
5b3d3e671c widget: amend c1720b4a52 to keep things as unchanged as possible 2025-12-29 13:56:32 +01:00
jean-emmanuel
c1720b4a52 widget: updateProps: add a special case for value property, when edited (remotely or from the editor), check against the value state instead to decide whether to update the state or not. The regular behavior that works well for other properties is otherwise confusing for the value as it is not ovious to the user that there are two values (the property and the state) 2025-12-29 13:47:13 +01:00
jean-emmanuel
80e5b048ea switch: make values prop dynamic 2025-12-29 12:50:34 +01:00
jean-emmanuel
414195c621 editor: rename changedProps vars and flag to editedProps to disambiguate 2025-12-29 12:40:14 +01:00
jean-emmanuel
c3002b99c3 value events: remove some useless flags 2025-12-29 10:55:51 +01:00
jean-emmanuel
93d3b159ca package: beta10 2025-12-28 12:47:52 +01:00
jean-emmanuel
3613dd9901 log 1.29.9 backport 2025-12-27 11:38:05 +01:00
jean-emmanuel
5ea192d5d4 build: regenerate package lock to fix dependency fetching 2025-12-26 23:36:07 +01:00
jean-emmanuel
9abfb85739 editor: fix regression in code editor making global variables unrecognized 2025-12-23 16:41:56 +01:00
jean-emmanuel
5785a5e026 misc: lint 2025-12-19 12:20:51 +01:00
jean-emmanuel
2a4412e726 client: don't request storage access at all, it's not needed for toplevel site 2025-12-19 09:14:37 +01:00
jean-emmanuel
89b68c8009 client: log full error if storage access is denied 2025-12-19 08:17:08 +01:00
jean-emmanuel
eddcbe5cd2 docs: link typo 2025-12-18 09:47:25 +01:00
jean-emmanuel
5070ec8421 package: update lock file 2025-12-17 12:54:18 +01:00
jean-emmanuel
eff4ddea8a package: move some gh links 2025-12-17 12:53:44 +01:00
jean-emmanuel
1b3ab562da launcher: update download link 2025-12-17 12:13:52 +01:00
jean-emmanuel
4857a20b61 launcher: query new repo instead of gh 2025-12-17 12:12:36 +01:00
jean-emmanuel
6de4b1ac5c repo: rm github files 2025-12-17 11:54:46 +01:00
jean-emmanuel
db5d087425 readme: update link 2025-12-17 11:53:20 +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
199b6241aa log: escape double brackets for mkdocs macros 2025-12-17 11:19:48 +01:00
jean-emmanuel
70be6fedfa docs: update bug tracker url 2025-12-17 11:19:31 +01:00
jean-emmanuel
618fb3b01f docs: framagit migration 2025-12-17 11:16:37 +01:00
jean-emmanuel
dc85311b54 deps: ditch osc.js fork 2025-12-17 10:03:34 +01:00
jean-emmanuel
6bd1293959 log: update 2025-12-16 12:36:23 +01:00
jean-emmanuel
422c84d42e package: beta 9 2025-12-16 12:34:09 +01:00
jean-emmanuel
37b305eaea client: delay access storage denial error log 2025-12-16 12:24:32 +01:00
jean-emmanuel
b27d381324 client: better storage access error log 2025-12-16 12:21:52 +01:00
jean-emmanuel
3777b1fcbb client: make app more resilient to storage access denial 2025-12-16 12:16:20 +01:00
jean-emmanuel
8af432933c ipc: fix an old regression preventing uuid from being reused 2025-12-16 10:30:12 +01:00
jean-emmanuel
55d5f440be ipc: dedupe 'connected' response to 'open' request (no functionnal effect) 2025-12-15 13:00:36 +01:00
jean-emmanuel
ce48146bdb launcher: fix regression 2025-12-15 09:41:33 +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
42b71ef6fc package: beta 8 2025-12-13 19:27:21 +01:00
jean-emmanuel
d4cd2ec666 imports: use some black magic **** to please safari/ios and fix dynamic imports order 2025-12-13 19:24:10 +01:00
jean-emmanuel
9b58f4e365 server: more reliable url check for client assets requests 2025-12-13 11:44:35 +01:00
jean-emmanuel
b064b8f3a8 button: add onTouch 2025-12-13 11:30:10 +01:00
jean-emmanuel
934550c942 events: make sure event.offsetX/Y works the same for touch & mouse 2025-12-13 11:20:58 +01:00
jean-emmanuel
58c1fc3c32 client: init timeout should not be needed anymore; preload js modules asap if supported 2025-12-12 18:32:31 +01:00
jean-emmanuel
8737385a0e package: rm debug line 2025-12-12 18:31:36 +01:00
jean-emmanuel
7cda8e4670 package: raise min chromium version, to remove some polyfills and speed up loading time 2025-12-12 13:22:28 +01:00
jean-emmanuel
a441bd628b iframe: remove useless error string from the past 2025-12-11 19:56:33 +01:00
jean-emmanuel
fa15187c2c client: extra safe chunk loading before notifying server 2025-12-11 15:04:42 +01:00
jean-emmanuel
45dd19494f package: beta 7 2025-12-10 17:22:59 +01:00
jean-emmanuel
3bba80d2f0 client: ensure html no-cache policy 2025-12-10 17:21:51 +01:00
jean-emmanuel
fab78f98a4 scripting: add getToolbar() and make toolbar() accept string id 2025-12-10 09:50:05 +01:00
jean-emmanuel
67669d4ff2 package-lock: update 2025-12-10 09:49:42 +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
dc023def19 client: update toolbar toggle when user agent releases the wakelock by itself 2025-12-10 08:59:30 +01:00
jean-emmanuel
02cc18395a misc: lint 2025-12-09 22:17:45 +01:00
jean-emmanuel
931827fc72 server: silence not found errors for apple requests 2025-12-09 22:05:40 +01:00
jean-emmanuel
891239658c ios: use 3rd party to better detect iOS versions and mobile devices 2025-12-09 21:59:50 +01:00
jean-emmanuel
972ecdfae3 server: issue a warning when a cached/expired version of the app is requested 2025-12-09 12:31:26 +01:00
jean-emmanuel
92ef3b7ac1 server/client: tidy up cache control, enforce server validation and remove version from build assets file names 2025-12-09 12:17:26 +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
acf5f74ea2 client: ensure a proper init order for server-client communication 2025-12-04 17:56:12 +01:00
jean-emmanuel
dc7ac2bcd3 electron: prevent possible error when stopping server 2025-11-10 23:27:21 +01:00
jean-emmanuel
3451feef24 package: update 2025-11-09 09:52:16 +01:00
jean-emmanuel
0a6dd34575 package: see if electron 36 solves some mac issues 2025-11-09 09:51:19 +01:00
jean-emmanuel
1129fe42cf build: chmod 2025-11-05 09:38:47 +01:00
jean-emmanuel
e18ad7774c package: beta3 2025-11-05 09:37:35 +01:00
jean-emmanuel
e7a864d84e input: numeric: select all content when focused (doesn't work on all browsers though) 2025-11-05 09:13:48 +01:00
jean-emmanuel
2a4c9d96fe xy: add clipX and clipY proprties (allows multixy to set per-pads anges limits) 2025-11-01 13:57:32 +01:00
jean-emmanuel
9e60de7243 misc: all recent node versions are supported 2025-10-24 21:13:51 +02:00
jean-emmanuel
bedca678fb pakcage: beta2 2025-10-19 10:09:02 +02:00
jean-emmanuel
75bbdf59a6 electron: clear browser cache when an update is detected 2025-10-15 08:34:16 +02:00
jean-emmanuel
ad2c87910c events: fix dom 'change' event (typo) 2025-10-13 09:24:36 +02:00
jean-emmanuel
bcf42b178e package lock update 2025-10-12 09:01:23 +02:00
jean-emmanuel
a34192caab package: prepare beta1 2025-10-11 18:19:50 +02:00
jean-emmanuel
1f1b56607b docs: color properties must use css syntax 2025-10-09 21:23:33 +02:00
jean-emmanuel
d3870d74f2 log: typos 2025-09-29 12:04:01 +02:00
jean-emmanuel
0d7c052feb input: add noCanvas option 2025-09-29 11:06:15 +02:00
jean-emmanuel
8d62fe0801 package: update rpm & package-lock 2025-09-27 10:42:38 +02:00
jean-emmanuel
2069311450 packaging: stop using CI, build packages at home 2025-09-27 10:41:34 +02:00
jean-emmanuel
cec0604445 package: used fixed electron-rpm fork until upstream updates 2025-09-27 10:41:03 +02:00
jean-emmanuel
39eb82f73d build: update client shim to fix docs script 2025-09-24 18:10:59 +02:00
jean-emmanuel
4872e3019f build: consistent chunk naming 2025-09-24 08:48:56 +02:00
jean-emmanuel
3fb8dee637 matrix: back to the old value behavior since scrolling isn't related anymore 2025-09-24 08:44:55 +02:00
jean-emmanuel
5dde5a7f9f build: same sourcemaps for all 2025-09-24 08:27:33 +02:00
jean-emmanuel
96f5cd0cf5 client: fix sourcemaps (stacktrace-js doesn't like when sourcecode is included in maps, good news for file size!) 2025-09-24 08:22:27 +02:00
jean-emmanuel
af2a771b7d inspector: restore missing separator label 2025-09-23 22:30:22 +02:00
jean-emmanuel
e8ecb121f5 tree: fix small error 2025-09-23 15:54:36 +02:00
jean-emmanuel
859f583ad1 editor: auto show widget on selection 2025-09-23 09:20:40 +02:00
jean-emmanuel
36c2f90ec1 theme: autoreload got lost during migration 2025-09-23 09:19:04 +02:00
jean-emmanuel
02465d9cdf ui: increase default sidepanel size 2025-09-23 08:44:03 +02:00
jean-emmanuel
361fdccda5 tree: better scrollIntoView on showWidget 2025-09-23 08:36:11 +02:00
jean-emmanuel
4a915659d4 electron: correct background color 2025-09-22 18:29:37 +02:00
jean-emmanuel
f7b42fbfb2 launcher: fix build / avoid editor import 2025-09-22 18:07:06 +02:00
jean-emmanuel
6322d91478 build: revert diff import change 2025-09-22 13:06:19 +02:00
jean-emmanuel
f8b34ed71e client: lint & clean 2025-09-22 12:47:41 +02:00
jean-emmanuel
4acc92a607 build: import issue 2025-09-22 12:46:00 +02:00
jean-emmanuel
9aaa114fdb scrollbar: prevent negative radius error and clean property list 2025-09-22 12:41:45 +02:00
jean-emmanuel
d20030311c scrollbar: revert last commit 2025-09-22 12:10:23 +02:00
jean-emmanuel
fe1ae44e60 scrollbar: simplify thumbsize code 2025-09-22 12:04:18 +02:00
jean-emmanuel
edca21bb99 scrollbar: fix init state when recreating panel 2025-09-22 11:50:34 +02:00
jean-emmanuel
9c5ad33944 scrollbar: roundrect knob when browser supports it 2025-09-22 11:38:11 +02:00
jean-emmanuel
4c754bfaf4 scrollbar: fix locking mechanism 2025-09-22 11:24:34 +02:00
jean-emmanuel
b53af33b09 server/client: prevent client sync request when clientSync option is 0 2025-09-22 10:06:35 +02:00
jean-emmanuel
15002baf6b scrollbar: iron out some sync issues 2025-09-21 22:48:48 +02:00
jean-emmanuel
6bdcef119c panels: remove onScroll, the scrollbar widget should suffice 2025-09-21 18:37:47 +02:00
jean-emmanuel
5eae65a0aa scrollbar: set a min size for the scrollthumb and continue implimentatiob 2025-09-21 18:21:46 +02:00
jean-emmanuel
a95697045a widgets: add scrollbar widget 2025-09-21 13:22:07 +02:00
jean-emmanuel
de62a7ca0e fader: fix touchZone == knob for compact design 2025-09-21 09:46:54 +02:00
jean-emmanuel
3f972838b0 panels: on the way to a clean and consistent scrolling handling 2025-09-20 14:01:02 +02:00
jean-emmanuel
96cb90ed0d zoom: prevent changing editor zoom level when it's disabled 2025-09-20 09:19:32 +02:00
jean-emmanuel
3e14c46c8c client: prevent editor zoom level from affecting drag events when the editor is disabled 2025-09-20 09:17:13 +02:00
jean-emmanuel
12f6253de7 menu: change default layout to vertical 2025-09-20 09:03:55 +02:00
jean-emmanuel
781a1b1d14 package-lock: update 2025-09-19 10:38:28 +02:00
jean-emmanuel
714bdddb96 matrix: if scroll is true, children's values no longer feed the matrix' value and onValue script, it will be used for scrolling state, like with panels 2025-09-19 10:35:38 +02:00
jean-emmanuel
de9b5db120 package: update to electron 32
- ships with node 20
- supports macos  >= catalina (dropped in v33)
- supports standard css scrollbar styling (previous versions that do have an annoying menu color bug)
2025-09-19 09:51:28 +02:00
jean-emmanuel
4b7c11c301 log: system scrollbar 2025-09-19 09:06:29 +02:00
jean-emmanuel
b93f3e57ac client: restore dynamic scrollbar alpha, continue removing old scrollbar styling 2025-09-19 08:53:52 +02:00
jean-emmanuel
c5243126ee electron: prepare electron update 2025-09-19 08:38:48 +02:00
jean-emmanuel
3ca713ecf6 client: remove iOS scrollbar shim 2025-09-19 08:38:44 +02:00
jean-emmanuel
007ff1e7fd electron: fix window icon path 2025-09-18 01:21:03 +02:00
jean-emmanuel
20b81b99f5 electron: fix tray icon path 2025-09-18 01:20:26 +02:00
jean-emmanuel
ed7a562b36 electron: rm useless import 2025-09-18 01:11:45 +02:00
jean-emmanuel
d78d54d062 launcher: fix some changed globals 2025-09-18 01:10:59 +02:00
jean-emmanuel
cfc000a2cd package: fix watch-launcher and dep alpha-order 2025-09-18 00:42:32 +02:00
jean-emmanuel
cddca97378 launcher: fix charset issue 2025-09-18 00:37:25 +02:00
jean-emmanuel
53f941c1e7 packaging: update electron packager, it doesn't require wine anymore to build win pacakge from linux 2025-09-18 00:23:12 +02:00
jean-emmanuel
55ea9f5f0b client: use JSON5 as exported 2025-09-18 00:11:33 +02:00
jean-emmanuel
ca2fce8d05 package: next will be 1.30 2025-09-17 10:59:13 +02:00
jean-emmanuel
22a4236485 package: rm old dependency 2025-09-17 10:57:44 +02:00
jean-emmanuel
85b10cf280 lintrc: rm useless key 2025-09-17 10:46:10 +02:00
jean-emmanuel
27bdcdc023 lint: make things a bit tighter (no cond assign, no implicit switch fall through) 2025-09-17 10:24:06 +02:00
jean-emmanuel
6f563f4492 lint: forbid undef 2025-09-17 10:15:01 +02:00
jean-emmanuel
c71b9fb48e client: stop using window-based globals 2025-09-17 10:14:03 +02:00
jean-emmanuel
b2b3bcb1b6 client: global var assign mistake 2025-09-17 09:36:01 +02:00
jean-emmanuel
f5091b9267 all: catch some undef errors 2025-09-17 09:19:11 +02:00
jean-emmanuel
4dbc572ea1 file: honor server's remote-root option (remove root path from displayed path and returned value) 2025-09-15 09:05:37 +02:00
jean-emmanuel
9ef97ca1c3 server: function scope error 2025-09-15 08:29:42 +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
74faac7baf python: update rtmidi 2025-09-13 17:27:11 +02:00
jean-emmanuel
8d2c5ff171 build: rm option that should have been saved 2025-09-13 16:07:45 +02:00
jean-emmanuel
fb6c2897bb server: file structure fix 2025-09-13 16:02:03 +02:00
jean-emmanuel
51f46b8034 build: safari10 bugfix no longer required 2025-09-13 16:01:48 +02:00
jean-emmanuel
283c340f16 build: ship client script as esm, drop ios 10.3 and lift some protections in user scripts 2025-09-13 15:38:56 +02:00
jean-emmanuel
12bf4db1b6 client: fix some errors 2025-09-13 11:27:20 +02:00
jean-emmanuel
0b52921181 build: put licenses in separate file 2025-09-13 11:07:27 +02:00
jean-emmanuel
563414226a server: consistent import ordering (local files last) 2025-09-13 10:53:37 +02:00
jean-emmanuel
37f3ee0378 server: fix some var regressions 2025-09-13 10:30:52 +02:00
jean-emmanuel
11d2588395 misc: lint 2025-09-12 22:33:38 +02:00
jean-emmanuel
c43f970720 misc: rm test script for now 2025-09-12 22:19:25 +02:00
jean-emmanuel
00a6428b9f client: fix init order for custom events (migration side effect) 2025-09-12 20:10:51 +02:00
jean-emmanuel
7e69d7d9d0 build: faster client build in watch mode (bypass babel and terser) 2025-09-12 20:10:24 +02:00
jean-emmanuel
4c98442fed build: migrate widget doc generation script, ungit widget reference 2025-09-12 16:35:07 +02:00
jean-emmanuel
6b68237f41 migration: explicit extension in relative imports & generic name for js assets 2025-09-12 15:52:46 +02:00
jean-emmanuel
7836db8327 misc mjs lint script 2025-09-12 15:51:35 +02:00
jean-emmanuel
43a7a37ee6 migration: rename js src to mjs 2025-09-12 12:48:48 +02:00
jean-emmanuel
b303485a87 build: only copy py files to python/ dir 2025-09-12 12:19:16 +02:00
jean-emmanuel
b44fe5a086 build: rm app folder in src 2025-09-12 11:48:45 +02:00
jean-emmanuel
34de7420e2 midi: move python src to server folder to be as consistent as possible with the build result 2025-09-12 11:45:21 +02:00
jean-emmanuel
18568d40c6 server: fix var name 2025-09-12 10:48:52 +02:00
jean-emmanuel
45f5ae870b midi: move dist bin to python folder 2025-09-12 10:47:47 +02:00
jean-emmanuel
9d9462685b midi: only freeze python loader and keep python source editable to reduce future need for midi bin rebuild 2025-09-12 10:38:21 +02:00
jean-emmanuel
3a2a186e42 electron: clean 2025-09-12 02:51:41 +02:00
jean-emmanuel
fb3def071f server: use electron as node for server process 2025-09-12 02:49:44 +02:00
jean-emmanuel
3a1a05636b server: migrate to esm, split node and electron code 2025-09-12 02:44:06 +02:00
jean-emmanuel
7ec9e64dc0 launcher: cjs -> esm 2025-09-11 19:57:17 +02:00
jean-emmanuel
034542f5e2 client: lint 2025-09-11 16:18:32 +02:00
jean-emmanuel
7ce651cad0 client: rm debug log 2025-09-11 16:12:52 +02:00
jean-emmanuel
d24c973fff build: restore babel 2025-09-11 16:11:37 +02:00
jean-emmanuel
a638f96455 client: migrate from commonjs to esm 2025-09-11 16:10:05 +02:00
jean-emmanuel
f4fb4e7d2c midi: check if midi should be there without eval 2025-09-10 16:07:06 +02:00
jean-emmanuel
5aed82f366 eslint: remove babel dep 2025-09-10 13:22:21 +02:00
jean-emmanuel
282adab337 build: preserve class & function in client script, disable terser for server script 2025-09-10 12:31:21 +02:00
jean-emmanuel
788f86f83e package-lock: update 2025-09-10 12:18:59 +02:00
jean-emmanuel
803fa2a4e9 build: remove main ace lib from bundle, just copy 2025-09-10 12:15:01 +02:00
jean-emmanuel
63101c965f build: disable treeshaking 2025-09-10 11:38:09 +02:00
jean-emmanuel
d6812f0cbe inputs/textarea/select: only reset appearance in editor 2025-09-10 11:16:21 +02:00
jean-emmanuel
4e4481cf96 widget: unrestrict html property (yes, let users break the app eventually), speeds up build times 2x 2025-09-10 11:06:15 +02:00
jean-emmanuel
4696275047 build: ignore babelrc 2025-09-10 10:54:14 +02:00
jean-emmanuel
ee416e344d build: exclude serialport from build 2025-09-10 02:48:46 +02:00
jean-emmanuel
f4927f67d3 build: rm more old bits 2025-09-10 02:41:26 +02:00
jean-emmanuel
f1b15733f1 build: rm obsolte dependency 2025-09-10 02:39:08 +02:00
jean-emmanuel
4be8911f55 build: cleanup client script 2025-09-10 02:37:47 +02:00
jean-emmanuel
a5934a5555 test: restore missing dep for eslint 2025-09-10 02:22:11 +02:00
jean-emmanuel
8a632e7519 Merge branch 'rollup' 2025-09-10 02:11:34 +02:00
jean-emmanuel
11b362a513 package-lock update 2025-09-10 02:01:14 +02:00
jean-emmanuel
bdfade96a7 build: migrate build system to rollup & rm app/ from repository 2025-09-10 02:00:56 +02:00
jean-emmanuel
5b38c79318 canvas: autoClear is only for 2d mode 2025-09-09 17:03:13 +02:00
jean-emmanuel
291b1a0752 canvas: autoClear is only for 2d mode 2025-09-09 17:02:28 +02:00
jean-emmanuel
93ba5d7397 canvas: add webgl2 context type as an option 2025-09-09 15:04:05 +02:00
jean-emmanuel
4cde746a74 server: fix resolving absolute file urls containing the remote-root path 2025-08-27 22:47:13 +02:00
jean-emmanuel
f2189e29ce firefox: better fix for out of page events 2025-08-14 14:13:33 +02:00
jean-emmanuel
7fd668bdf9 travis: focal fails now 2025-08-14 09:08:00 +02:00
jean-emmanuel
d70df6fb6d docs: update 2025-08-14 09:02:43 +02:00
jean-emmanuel
3b792d2431 rgb: fix long standing (presumably) issue with touchstate, affecting editor' colorpicker as well 2025-08-13 22:21:43 +02:00
jean-emmanuel
c450c6133c editor: fix colorpicker dragend handler (dragend doesn't bubble up anymore, it needs to be caught for all 3 subwidgets) 2025-08-12 14:31:18 +02:00
jean-emmanuel
7d38418a66 dropdown: fix label init, make it dynamic prop, refresh it when values are parsed 2025-08-12 09:20:26 +02:00
jean-emmanuel
5b9bcd63ce firefox: onTouch error when the cursor goes outside the page 2025-08-11 13:52:31 +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
83fd78e322 tray: fix (?) quit menu action 2025-07-23 08:17:09 +02:00
jean-emmanuel
0de9f239c8 docs: tray things 2025-07-22 19:58:29 +02:00
jean-emmanuel
28c0877dc9 launcher: add hide action if using tray 2025-07-22 19:34:30 +02:00
jean-emmanuel
5cf59ea97c tray: make it optional and disabled by default 2025-07-22 19:24:50 +02:00
jean-emmanuel
89b82d3c9b log: tray menu should have wait for 1.30 2025-07-22 19:13:56 +02:00
jean-emmanuel
65ebe938de docs: tray icon menu 2025-07-22 19:11:27 +02:00
jean-emmanuel
015736486c tray: only quit if server is stopped; hide in tray when starting minimzed 2025-07-22 19:02:41 +02:00
jean-emmanuel
374ef68028 log: silicon builds 2025-07-17 10:18:26 +02:00
jean-emmanuel
f119189fe1 package: silicon bins ! 2025-07-16 23:44:09 +02:00
jean-emmanuel
14f8a0bf29 midi: allow arm64/darwin midi 2025-07-16 20:02:30 +02:00
jean-emmanuel
f29be8cc75 docs: update 2025-07-16 16:03:24 +02:00
jean-emmanuel
9176e0caa2 log: border radius update 2025-07-16 14:30:17 +02:00
jean-emmanuel
bf1e4ec2e7 fader: limit radius 2025-07-16 14:23:20 +02:00
jean-emmanuel
63cfcb1b1d fader: compact radius tweaks 2025-07-16 14:20:50 +02:00
jean-emmanuel
1ade3d4392 fader: make compact design honor borderRadius 2025-07-16 14:04:45 +02:00
jean-emmanuel
01e447ac60 menu: make popup menu inherit border radius 2025-07-15 12:36:14 +02:00
jean-emmanuel
687564cb6f switch: fix border radius inheritance 2025-07-15 11:47:43 +02:00
jean-emmanuel
b06b2b8643 $Merge branch 'wicast-TrayIcon' 2025-07-08 17:14:46 +02:00
jean-emmanuel
a5d5586dc3 tray: code lint, retina icon for mac, keep alive launcher and tray when closing if there's a client window 2025-07-08 16:58:02 +02:00
jean-emmanuel
aa2d5029be package-lock: update 2025-07-08 09:45:33 +02:00
jean-emmanuel
bde7039d25 build: use sass instead of node-sass to fix mac builds 2025-07-08 09:45:33 +02:00
jean-emmanuel
55618fe5c3 package: 1.29.6 2025-07-08 09:45:33 +02:00
jean-emmanuel
b23c062e07 docs: update 2025-07-08 09:45:33 +02:00
jean-emmanuel
3b887d7a15 package-lock: update 2025-07-08 09:44:50 +02:00
jean-emmanuel
2532ab6764 build: use sass instead of node-sass to fix mac builds 2025-07-08 09:43:48 +02:00
wicast
a89f24d2f1 fix: macos tray icon size 2025-07-08 11:53:37 +08:00
wicast
0666d4677e feat: add tray icon 2025-07-08 11:00:47 +08:00
jean-emmanuel
5e06f5cf94 package: 1.29.6 2025-06-27 09:55:32 +02:00
jean-emmanuel
379031379e docs: update 2025-06-27 09:55:19 +02:00
jean-emmanuel
802e1780b1 docs: canvas: ctx.clear() is not a thing 2025-06-26 15:30:13 +02:00
jean-emmanuel
dedb82bb86 multixy/xy: add stepsX and stepsY properties 2025-06-23 13:54:27 +02:00
jean-emmanuel
69c52921c4 pads: send value when setting spring to true, but only if there's a value change 2025-06-12 12:42:03 +02:00
jean-emmanuel
faba19e94c matrix: sanitise quantity property (avoid error when NaN or < 0) 2025-06-07 13:57:48 +02:00
jean-emmanuel
aa666f0738 package: v1.29.5 2025-05-24 13:23:33 +02:00
jean-emmanuel
84cba42d86 cli: regression (1.28) preventing from setting options from a terminal on windows 2025-05-24 13:22:29 +02:00
jean-emmanuel
54b7bf7a63 code editor: correctly detect tab-focus to reset scroll / cursor position 2025-05-19 17:19:53 +02:00
jean-emmanuel
e5d5d0aa06 code editor: fix available globals for onResize 2025-05-19 15:28:13 +02:00
jean-emmanuel
e7ffec8c03 keyboard: regression (1.27.5) breaking velocity property 2025-05-16 16:00:05 +02:00
jean-emmanuel
296ba343c4 package: hot patched 1.29.4 on the way 2025-05-16 11:26:59 +02:00
jean-emmanuel
32c3bf2abd widget: regression breaking widget recreation routine (all properties seen as invalid because of wrong default property cache) 2025-05-16 11:23:41 +02:00
jean-emmanuel
f5ee7f5df1 package: 1.29.3 2025-05-13 10:04:28 +02:00
jean-emmanuel
45b8794bf6 docs: update 2025-05-13 10:04:16 +02:00
jean-emmanuel
870d3e3445 patchbay: missing preArgs implementation 2025-05-13 09:44:16 +02:00
jean-emmanuel
460d8718c9 docs: remote control detail 2025-05-13 09:21:40 +02:00
jean-emmanuel
f49fb43ec3 lint: var -> let 2025-05-07 11:26:58 +02:00
jean-emmanuel
b071189c65 matrix: make quantity a dynamic property to avoid losing widget state when it changes 2025-05-07 11:21:40 +02:00
jean-emmanuel
c860bc1959 widget: ignore invalid properties (avoid recreating if matrix/clone child has an override for an invalid property) 2025-05-07 09:42:12 +02:00
jean-emmanuel
6c2e500135 log: mising widget type 2025-05-05 14:41:41 +02:00
jean-emmanuel
6a055c620b frame: add allow property 2025-05-05 14:41:24 +02:00
jean-emmanuel
4fdcfd7f05 log: update 2025-04-20 15:25:02 +02:00
jean-emmanuel
c037064f57 package: v1.29.2 2025-04-20 15:24:35 +02:00
jean-emmanuel
c092951052 canvas: more safe check before drawing 2025-04-20 15:23:48 +02:00
jean-emmanuel
ccba528cbf package: update package-lock 2025-04-20 11:24:18 +02:00
jean-emmanuel
950f862f2c package: bump 2025-04-20 11:24:11 +02:00
jean-emmanuel
c124c3826f fader/range: reuse pips offscreen canvas instead of creating a new one 2025-04-20 10:35:04 +02:00
jean-emmanuel
5abaf7fbb3 fader/range: really check if pips are ready to be drawn before drawing them 2025-04-20 10:34:20 +02:00
jean-emmanuel
4c9eecd0af scripting: setFocus not working on iOS 2025-04-17 09:07:59 +02:00
jean-emmanuel
bc52244c0b package: v1.29.0 2025-04-08 11:10:06 +02:00
jean-emmanuel
4487b6bc4f ranger: missing call for pips drawing 2025-04-08 11:08:42 +02:00
jean-emmanuel
dc9f1435e3 misc: combining --read-only and --fullscreen now disables F11 on built-in client 2025-04-08 10:48:46 +02:00
jean-emmanuel
98e5670011 root: hideMenu not working when --read-only is set 2025-04-08 10:32:34 +02:00
jean-emmanuel
c65d4ed648 package: beta3 2025-04-03 15:40:06 +02:00
jean-emmanuel
36c89648b8 win: fix drive listing 2025-04-03 15:39:33 +02:00
jean-emmanuel
afc7d677e5 win: attempt to use powershell to lst drives 2025-04-03 15:20:19 +02:00
jean-emmanuel
6fa3f9862e panel: expose useful event.firstTarget 2025-04-02 10:27:15 +02:00
jean-emmanuel
bdf3ad1958 misc: on win32 display full error when failing to list disks 2025-04-02 10:20:34 +02:00
jean-emmanuel
1595370be0 docs update 2025-03-26 13:23:27 +01:00
jean-emmanuel
b5e4add855 eq/plot/visualizer/text/led: unhide interaction property (defaults to false) to allow custom container touch handling 2025-03-25 09:09:22 +01:00
jean-emmanuel
c26c5aaed2 widget base class: deeper defaults extend to allow simpler overrides 2025-03-25 09:07:48 +01:00
jean-emmanuel
720799633b lint: indent fix 2025-03-23 12:18:12 +01:00
jean-emmanuel
5c662ed7ae fader: dynamic knobSize 2025-03-23 12:12:30 +01:00
jean-emmanuel
9f006ad42e canvas: consistent onTouch method with Panel 2025-03-23 01:18:23 +01:00
jean-emmanuel
58febaeb9f panel: avoid error in onTouch if event has no target 2025-03-23 01:15:54 +01:00
jean-emmanuel
636b58c39a package: bump beta 2025-03-22 15:05:26 +01:00
jean-emmanuel
bbfe558353 multixy: typo in npoints fix 2025-03-22 15:01:20 +01:00
jean-emmanuel
2408353194 docs: update 2025-03-21 18:54:11 +01:00
jean-emmanuel
e645a98a5e package: cut a beta release 2025-03-21 18:51:37 +01:00
jean-emmanuel
38d6dbbd3d log: latest changes 2025-03-21 15:41:05 +01:00
jean-emmanuel
69fbefdb73 drag: safe user custom inertia and docs 2025-03-21 15:38:58 +01:00
jean-emmanuel
0b3590278c drag: handle 2-fingers / ctrlKey inertia at widget level and allow changing event inertia in containers onTouch 2025-03-21 15:32:33 +01:00
jean-emmanuel
de39b2fbed inspector: hide ace mobile menu 2025-03-21 14:49:53 +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
a737020492 drag: change tranversering gesture reference container to let traversing containers onTouch see move events (unless captured by a nested traversing container) 2025-03-21 09:47:12 +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
e001d3be10 package: v1.28.4 2025-03-21 09:20:22 +01:00
jean-emmanuel
5b8047889b events: a few more errors to suppress 2025-03-20 12:11:36 +01:00
jean-emmanuel
be90e02935 multixy: better npoints safe check 2025-03-20 09:14:13 +01:00
jean-emmanuel
fae6614d4e multixy: set npoints to minimum 1 to avoid errors 2025-03-19 22:57:46 +01:00
jean-emmanuel
7d0d368a78 script: let console.log take multiple args and format objects correctly 2025-03-19 17:52:27 +01:00
jean-emmanuel
790d83433d misc: prevent sidepanels from catching events on 1px-wide zone at the left/right of the workspace 2025-03-19 17:50:19 +01:00
jean-emmanuel
aede97cf24 package: 1.28.3 all right 2025-03-19 13:47:09 +01:00
jean-emmanuel
8d76386604 log: update 2025-03-19 13:46:55 +01:00
jean-emmanuel
973654b2d7 multixy: fix touch state vs feedback filtering order (dragend event handler sorting) 2025-03-19 13:35:52 +01:00
jean-emmanuel
c0a331ece6 touchstate: misc cleanup 2025-03-19 13:35:36 +01:00
jean-emmanuel
8912854262 event/drag: prevent error when multi-touching single-touch widget 2025-03-19 13:34:40 +01:00
jean-emmanuel
6dfa97343d package: v1.28.2 2025-03-19 11:24:18 +01:00
jean-emmanuel
9e82075990 log: regression fix 2025-03-19 11:24:00 +01:00
jean-emmanuel
29bcc5fe66 Revert "multixy/range: simultaneous touch releases not working correctly when spring is set and feedback values are received shortly after being sent"
This reverts commit 911c318cc1.
2025-03-19 11:21:48 +01:00
jean-emmanuel
2802b3955a eq: use 1p1z lowpass 2025-03-19 10:13:10 +01:00
jean-emmanuel
662fcf1322 Revert "eq: pointsAttr not updating dynamically" (was already ok)
This reverts commit 0de59ae70e.
2025-03-19 10:00:04 +01:00
jean-emmanuel
0de59ae70e eq: pointsAttr not updating dynamically 2025-03-19 09:55:48 +01:00
jean-emmanuel
1cc3dac24c fader: take user scripts into account when filtering feedback while touched 2025-03-19 09:47:52 +01:00
jean-emmanuel
9343258464 package: v1.28.1 2025-03-19 09:47:32 +01:00
jean-emmanuel
cd4a8fc3a1 lint: semi colons 2025-03-19 09:47:22 +01:00
jean-emmanuel
b5db1fc276 log: missing fix 2025-03-19 09:47:12 +01:00
jean-emmanuel
8a5790f2f5 fader: fix touch state regression 2025-03-19 09:27:50 +01:00
jean-emmanuel
315f1de6c9 fader: apply touchZone to doubleTap & (partially) mousewheel 2025-03-19 09:15:26 +01:00
jean-emmanuel
be7d472414 eq: use 1p1z highpass 2025-03-19 09:05:49 +01:00
jean-emmanuel
926550bac7 docs: update 2025-03-18 16:52:52 +01:00
jean-emmanuel
b73f1b2057 package: next is 1.28.0 2025-03-18 16:52:34 +01:00
jean-emmanuel
7f943aa89c docs: noop 2025-03-18 08:40:18 +01:00
jean-emmanuel
5c631c0a6f console: px fix 2025-03-17 18:27:55 +01:00
jean-emmanuel
d4297dd4ab multixy: methodize handle hit test 2025-03-17 18:27:24 +01:00
jean-emmanuel
911c318cc1 multixy/range: simultaneous touch releases not working correctly when spring is set and feedback values are received shortly after being sent 2025-03-17 18:22:48 +01:00
jean-emmanuel
6310a6171e multixy: restore rm'ed draw call 2025-03-14 17:18:28 +01:00
jean-emmanuel
1002e5a011 ui: console msg line color 2025-03-14 04:33:22 +01:00
jean-emmanuel
58acf3e0a7 editor: change r shortcut to y 2025-03-14 04:27:54 +01:00
jean-emmanuel
2a9ce79ecf lint: quotes and spaces 2025-03-14 04:22:00 +01:00
jean-emmanuel
8e6a3a9f03 ui: console style tweaks 2025-03-14 04:20:09 +01:00
jean-emmanuel
57f169e365 inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs 2025-03-14 03:53:21 +01:00
jean-emmanuel
a4f7439c5d tree: show sidepanel when focusing search input 2025-03-14 03:32:34 +01:00
jean-emmanuel
df3962ff60 editor: prevent misc error 2025-03-14 03:26:01 +01:00
jean-emmanuel
343a18541c tree: add "r" shortcut for "show widget in session" 2025-03-14 03:22:48 +01:00
jean-emmanuel
03eaab432a client console: rm poor heuristic error message detection 2025-03-14 03:09:06 +01:00
jean-emmanuel
f8e4a3eb1e misc: remaining useless line 2025-03-14 03:08:36 +01:00
jean-emmanuel
00b2dbed4d log: recent changes 2025-03-14 03:08:04 +01:00
jean-emmanuel
89b8daa35a editor: proper tab navigation in inspector + keyboard category fold/unfold with enter/space when focused
editor: add mod + f to focus tree search
code editor: fix nasty bug when focusing field using tab key
editor: f2 focuses "html" property when "label" is not present
2025-03-14 03:00:46 +01:00
jean-emmanuel
1c984a57e0 editor: disable f2 shortcut if selected widget has no label property 2025-03-13 20:13:33 +01:00
jean-emmanuel
8655a2866c advanced syntax/script: print widget id in console.log messages 2025-03-13 11:51:49 +01:00
jean-emmanuel
e84c1d0435 vm: move widget-aware context logic to base vm 2025-03-13 11:49:11 +01:00
jean-emmanuel
fba35f1b84 pads: support percents in `pointSize 2025-03-13 08:04:33 +01:00
jean-emmanuel
8c5eea6bd0 panel: tabsPosition can now be hidden 2025-03-13 07:47:56 +01:00
jean-emmanuel
71fc6c3253 lint: unused var 2025-03-12 18:47:51 +01:00
jean-emmanuel
431b762331 xy: restore optimized clear 2025-03-12 16:50:07 +01:00
jean-emmanuel
848f591930 pads: per-point customization on the way 2025-03-12 15:44:03 +01:00
jean-emmanuel
542c0629fb log: typos 2025-03-12 10:25:33 +01:00
jean-emmanuel
79e0eee721 sliders/pads: doubleTap can now be "script", in which case onTouch will be called with event.type set to doubleTap 2025-03-12 10:13:49 +01:00
jean-emmanuel
c829d87eae eq/plot: smoother curves 2025-03-11 08:16:04 +01:00
jean-emmanuel
f9902e01e0 ui: another non-working key, keyCode was not so bad 2025-03-10 21:40:03 +01:00
jean-emmanuel
395d4786c4 file: extension can now be an array of strings 2025-03-10 19:55:07 +01:00
jean-emmanuel
f31cc2091c button: locals.touchCoords not updated upon release and incorrect when doubleTap is set 2025-03-10 19:34:26 +01:00
jean-emmanuel
1a564f8458 xy/multixy: change axisLock choices order 2025-03-10 09:05:01 +01:00
jean-emmanuel
0f60d212fa xy/multixy: add auto choice to to axisLock (locks on the first moved axis) 2025-03-10 09:00:45 +01:00
jean-emmanuel
a8a49d4e4e eq: fix indent & add poles to db examples 2025-03-09 13:32:03 +01:00
jean-emmanuel
52012d1ed3 eq: add support for n-poles lowpass and highpass filters with the filter's poles property
eq: adapt sampling frequency to the x-axis range
2025-03-09 13:28:37 +01:00
jean-emmanuel
36bf7197c7 eq: hide logScale props 2025-03-08 13:21:17 +01:00
jean-emmanuel
3766767cb1 canvas: never draw if size is 0 2025-03-08 13:20:51 +01:00
jean-emmanuel
0e703d95e3 server: missing coma 2025-03-07 10:51:51 +01:00
jean-emmanuel
ecda3a05cf docs: update ref 2025-03-07 10:47:17 +01:00
jean-emmanuel
1138933aa9 server: fix ELECTRON_RUN_AS_NODE 2025-03-07 10:46:46 +01:00
jean-emmanuel
e65e928f88 server: fix debug log for outgoing rgba messages 2025-02-28 13:58:27 +01:00
jean-emmanuel
da3b7ff2d2 fader: implement touchZone for compact design 2025-02-28 12:48:58 +01:00
jean-emmanuel
9e4d1419e3 fader: touchZone tweaks 2025-02-27 16:27:25 +01:00
jean-emmanuel
70fe736314 fader: touchZone wrong value name 2025-02-27 15:51:04 +01:00
jean-emmanuel
7c2a85f7d8 fader: add touchZone property 2025-02-27 15:44:01 +01:00
jean-emmanuel
9e97e06834 drag events: allow widgets to cancel dragging and let touch scrolling happen 2025-02-27 15:42:22 +01:00
jean-emmanuel
60655dc896 ui: keep some keycodes around for zoom kb ctrls 2025-02-23 18:47:43 +01:00
jean-emmanuel
1286acc2a3 ui: zoom tweaks (limit zoom wheel rate, bypass native browser zoom on ctrl + / - / 0) 2025-02-23 18:40:23 +01:00
jean-emmanuel
b9edeca691 matrix: tabsPosition should be hidden 2025-02-22 23:53:24 +01:00
jean-emmanuel
dd8da47085 script widget: sometimes e.preventDefault is not defined 2025-02-22 10:05:10 +01:00
jean-emmanuel
c554a23c99 ui: use event.key instead of event.keyCode for various keybindings 2025-02-22 10:04:28 +01:00
jean-emmanuel
107ca1d295 package: next is 1.27.5 2025-02-16 17:32:38 +01:00
jean-emmanuel
389badb113 modal/menu: position issues in scrolled containers 2025-02-16 17:32:16 +01:00
jean-emmanuel
a48e0c173f modal: hide unused property 2025-02-16 17:31:57 +01:00
jean-emmanuel
70e242f3ca log: correct fix msg 2025-02-16 15:15:02 +01:00
jean-emmanuel
2a509adfa8 widget: fix css regression 2025-02-16 15:13:57 +01:00
jean-emmanuel
0ab928efc2 pachbay: fix layout 2025-02-13 19:12:42 +01:00
jean-emmanuel
ed23fb4e0f package: rm erroneously included m1 package 2025-02-13 19:08:28 +01:00
jean-emmanuel
8fa4263016 package: v1.27.4 2025-02-12 09:19:17 +01:00
jean-emmanuel
2dce5c4338 widget: remove style node when it's not needed 2025-02-12 09:14:42 +01:00
jean-emmanuel
b81acd87fa package: next is just a patch release actually 2025-02-11 18:42:41 +01:00
jean-emmanuel
432919befa package: postpone electron update 2025-02-11 18:40:57 +01:00
jean-emmanuel
2d19a60854 script: fix setFocus for textarea 2025-02-11 18:39:26 +01:00
jean-emmanuel
e8774c2607 Revert "package: start electron upgrade"
This reverts commit c844f778e3.
2025-02-11 18:39:08 +01:00
jean-emmanuel
9ddd4a9970 Revert "midi: update rtmidi"
This reverts commit f7422f5614.
2025-02-09 22:19:44 +01:00
jean-emmanuel
cbeeef1d67 packaging: new api key 2025-02-08 17:26:44 +01:00
jean-emmanuel
f7422f5614 midi: update rtmidi 2025-02-08 13:45:51 +01:00
jean-emmanuel
f4264c56f2 package: next will be 1.28.0 2025-02-08 12:39:40 +01:00
jean-emmanuel
a001c75570 package: prepare apple m1 packaging 2025-02-08 12:38:41 +01:00
jean-emmanuel
af9c4c5fb0 launcher: fix electron-remote for recent electron 2025-02-08 12:36:06 +01:00
jean-emmanuel
c844f778e3 package: start electron upgrade 2025-02-08 12:35:47 +01:00
jean-emmanuel
16da4bbada fader: draw pips during batched draw call (fixes a glitch and an error) 2025-02-08 10:57:33 +01:00
jean-emmanuel
24629f302d docs: iframe vs cross-origin policy 2025-01-29 16:32:10 +01:00
jean-emmanuel
1ec0d7822d package: v1.27.3 2025-01-22 15:40:53 +01:00
jean-emmanuel
b3b08c3af5 widget: amend 1bfc558f83 & 857e0408be to only affect clones and fix circular loop regression 2025-01-22 15:38:36 +01:00
jean-emmanuel
67bb888a45 log: fix indent 2025-01-21 18:04:04 +01:00
jean-emmanuel
5c65d4d594 fader: glitch with large lineWidth values in default design mode 2025-01-21 18:04:01 +01:00
jean-emmanuel
85c393d184 package: good travis 2025-01-13 13:40:42 +01:00
jean-emmanuel
ac2ff2cc8b package: good to go ? 2025-01-13 13:31:11 +01:00
jean-emmanuel
f9fcb20d91 package: going on fixing 2025-01-13 13:21:06 +01:00
jean-emmanuel
1d16bf7c67 package: fixing deploy 2 2025-01-13 13:06:26 +01:00
jean-emmanuel
b1a7282dc9 package: fixing deploy 2025-01-13 12:56:53 +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
857e0408be editor: rewrite 1bfc558f83 2025-01-11 14:48:17 +01:00
jean-emmanuel
1bfc558f83 editor: force property update to prevent advanced syntax change from being unnoticed by clone widgets
For instance, a VAR{} may be renamed without its return value to change immediately
2025-01-11 14:32:18 +01:00
jean-emmanuel
6ed34736f7 Revert "canvas: further investigation"
This reverts commit 845a93a052.
2024-12-30 21:38:59 +01:00
jean-emmanuel
845a93a052 canvas: further investigation 2024-12-29 19:03:08 +01:00
jean-emmanuel
06e14a57c2 canvas: css: provide a way to bypass resize and css vars checks 2024-12-28 17:00:23 +01:00
jean-emmanuel
4ea2e0b50a widget: remove potential perf-hurting try/catch that is useless now (element.style is readonly) 2024-12-28 14:40:05 +01:00
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
jean-emmanuel
71182cfd2e
Merge pull request #850 from matthijskooijman/udp-backtraces
server: Print backtraces for errors in UDP handler
2024-06-17 09:17:14 +02:00
Matthijs Kooijman
dfeb30a57d server: Print backtraces for errors in UDP handler
This applies to errors in e.g. the oscInFilter defined by a custom
plugin module. Previously, just the exception backtrace was shown,
without any indication of the exception type or where the error
occurred, e.g.:

    (ERROR, UDP) links is not defined

With this commit, the full exception including backtrace is printed,
making debugging a lot easier, e.g.:

    (ERROR, UDP) ReferenceError: links is not defined
	at CustomModule.oscInFilter (/app/custom-module.js:221:83)
	at OscServer.oscInFilter (/open-stage-control/app/server/src/server/osc/index.js:148:1)
	at OscServer.oscInHandler (/open-stage-control/app/server/src/server/osc/index.js:162:1)
	at OscServer.oscInHandlerWrapper (/open-stage-control/app/server/src/server/osc/index.js:174:1)
	at osc.UDPPort.emit (node:events:394:28)
	at Object.osc.firePacketEvents (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:25:1)
	at osc.UDPPort.p.decodeOSC (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:85:1)
2024-06-16 22:57:23 +02:00
jean-emmanuel
a8f9c263a2 package: update package.lock 2024-04-12 18:30:34 +02:00
jean-emmanuel
a4f27e32d4 package: fix building with node <= 20 2024-04-12 18:30:06 +02:00
jean-emmanuel
ac995b2dd1 lint 2024-04-03 10:01:05 +02:00
jean-emmanuel
a71df8177f advanced syntaxes: display an error in the console in some unsupported advanced syntaxes use cases 2024-04-03 09:50:28 +02:00
jean-emmanuel
b31b911a15 package: next is 1.26.2 2024-04-03 08:48:25 +02:00
jean-emmanuel
20d5091622 server: fix cookie parsing (user resources not loading when using an external browser) 2024-04-03 08:47:19 +02:00
jean-emmanuel
ededaee55b misc: lint 2024-03-13 18:17:41 +01:00
jean-emmanuel
0e68557b85 advanced syntaxes: restore stupid-simple resolution order, deduping value changes brings more problem than it solves
history: fe682693b1, 0e54c11f13, 182941a22c, 3a5fdf17c7, 8b92400c1e
2024-03-13 18:04:43 +01:00
jean-emmanuel
1a4b971b18 mac: unable to show launcher windows when starting minimized 2024-02-22 09:29:35 +01:00
jean-emmanuel
b63402fce8 docs: update widget ref 2024-02-21 11:06:09 +01:00
jean-emmanuel
fb09616030 package: v1.26 2024-02-21 11:05:30 +01:00
jean-emmanuel
0ecc104f4b lint 2024-02-21 11:02:49 +01:00
jean-emmanuel
e87891cb7c switch: allow resubmitting the same value 2024-02-21 11:01:50 +01:00
jean-emmanuel
3ed11f3894 custom-module: expose tcpServer 2024-02-21 10:52:40 +01:00
jean-emmanuel
fbfa41bd5a launcher: allow dropping files into file fields 2024-02-21 10:31:24 +01:00
jean-emmanuel
f78814ba45 launcher: start hidden on mac is "start minimized" is set 2024-02-21 10:10:55 +01:00
jean-emmanuel
d387397c14 modal: ios 15+ layering issue 2024-02-18 17:03:34 +01:00
jean-emmanuel
dfcf158808 range: colorKnob 2024-02-18 15:35:17 +01:00
jean-emmanuel
476f07ec60 sliders: knob color property ok 2024-02-18 15:29:38 +01:00
jean-emmanuel
ebd14015de docs: client sync dets 2024-02-15 08:34:31 +01:00
jean-emmanuel
f63bb0f24d fader: add colorKnob property 2024-02-14 20:06:28 +01:00
jean-emmanuel
11fc7d2b56 multixy: add axisLock; bypass axisLock with Shift 2024-02-14 19:53:01 +01:00
jean-emmanuel
0f2cb1b0af xy: add axisLock property; allow locking one the axis by holding Shift while dragging 2024-02-14 19:35:17 +01:00
jean-emmanuel
48c78a1d12 plot: missing logScaleX and logScaleY properties 2024-02-14 14:23:55 +01:00
jean-emmanuel
b555169cef dropdown: allow resubmitting the same value 2024-02-14 14:19:37 +01:00
jean-emmanuel
5f4c2c60be ipc: prevent stuck disconnected notif 2024-02-13 21:31:46 +01:00
jean-emmanuel
5184498b9a package: version bump 2024-02-13 21:31:19 +01:00
jean-emmanuel
8b92400c1e widgets: solve multi-value-dependency pattern resolution using a single queue instead of timeouts 2024-02-13 17:38:45 +01:00
jean-emmanuel
e2215b865a docs: python-rtmidi manual install update 2024-02-13 14:31:33 +01:00
jean-emmanuel
87ad29fa23 scripting: getProp() now correctly returns a copy of the property if it is an object 2024-02-13 14:24:26 +01:00
jean-emmanuel
690add4b38 server: fix config file read/write initial check 2024-02-04 09:57:22 +01:00
jean-emmanuel
bf8d9799cc modal: remove debug log 2024-01-22 18:50:59 +01:00
jean-emmanuel
8c77ab7ca6 docs: update ref 2024-01-17 16:43:22 +01:00
jean-emmanuel
bc4e1952e9 package: next is 1.25.7 2024-01-17 16:41:10 +01:00
jean-emmanuel
86e819870c root: add onPreload scripting property 2024-01-17 16:31:27 +01:00
jean-emmanuel
a04c658bb5 input: allow using a number in numeric to specify stepping value for mousewheel interaction 2024-01-17 16:16:09 +01:00
jean-emmanuel
9181c2a3aa remote control: /EDIT* commands sent by a custom module are not affected by the server's read-only option anymore 2024-01-17 16:05:03 +01:00
jean-emmanuel
3a5fdf17c7 widgets: prevent value update event from interfering with a container creating its children 2024-01-17 15:40:57 +01:00
jean-emmanuel
0d66f2b8a8 docs: add tutorial, rm cpu warning for /EDIT (mostly irrelevant today) 2023-11-30 13:21:20 +01:00
jean-emmanuel
4ef3595125 server: print config file read error 2023-11-23 09:42:32 +01:00
jean-emmanuel
e4db027085 sliders: steps error (#835) 2023-11-23 09:38:15 +01:00
jean-emmanuel
a6237a0aac scripting: stateSet: add optional {send: false} flag 2023-11-22 10:15:40 +01:00
jean-emmanuel
2c97ac662c docs: small fix 2023-10-14 11:51:31 +02:00
jean-emmanuel
91507ff3a9 misc: rm old files 2023-09-25 11:30:34 +02:00
jean-emmanuel
e4b45b1a6b sliders: round steps to avoid errors 2023-09-14 08:07:09 +02:00
jean-emmanuel
4d7ef455ce log: phrasing 2023-09-13 21:58:35 +02:00
jean-emmanuel
58540eda0c modal: fix closing when doubleTap is true 2023-09-13 21:54:30 +02:00
jean-emmanuel
07b921d157 button: issue with value init (see previous commit) 2023-09-13 20:25:51 +02:00
jean-emmanuel
cac9fb7abc widget: when possible, init value as soon as possible to avoid undefined when an array is expected. 2023-09-13 08:10:28 +02:00
jean-emmanuel
98a27de0df sliders: prevent error when steps is not a number, add auto mode for using ranges values as steps (it did not work before) 2023-09-11 09:22:11 +02:00
jean-emmanuel
1fd8523885 misc: update package-lock 2023-09-08 18:15:26 +02:00
jean-emmanuel
1e0dc41abc package: next is 1.25.5 2023-09-08 18:15:13 +02:00
jean-emmanuel
7d751c6982 dev: fix hot reload 2023-09-08 18:14:34 +02:00
jean-emmanuel
3e74271e12 code editor: update ace (use upstream), update syntax (es7), do some cleanup, prevent middle clicking (causes issues on linux) 2023-09-08 18:08:54 +02:00
jean-emmanuel
3b1f075fb3 package: 1.25.4 2023-09-06 23:46:50 +02:00
jean-emmanuel
04e4e95c04 ipc: fix --authentication on iOS clients (don't rely on headers to pass credentials)
misc: remove "new Buffer()" deprecation warning
2023-09-06 23:44:21 +02:00
jean-emmanuel
6b96d208c9 editor: display current widget value in the value property's help modal 2023-08-30 13:20:56 +02:00
jean-emmanuel
90b34d7475 custom module: receive() not passing boolean arguments properly 2023-08-30 13:13:29 +02:00
jean-emmanuel
f2f1949053 docs: update 2023-08-22 00:37:12 +02:00
jean-emmanuel
6122b7cabd package: 1.25.3 2023-08-22 00:35:19 +02:00
jean-emmanuel
95097d549e button: hand push+decoupled scripting issue in script-vm directly 2023-08-22 00:12:31 +02:00
jean-emmanuel
6498e0c6f6 button: inconsistent value in push mode with decoupled enabled when setting value from script 2023-08-21 23:44:18 +02:00
jean-emmanuel
c766370db7 scripting: using external: true in set() should prevent affected widget from sending any message 2023-08-21 23:33:22 +02:00
jean-emmanuel
cb009e64e0 docs: remove old button mode description 2023-08-21 23:23:22 +02:00
jean-emmanuel
aa1ee85f62 scripting: scripting functions not working inside browseFile() callback 2023-08-19 07:38:06 +02:00
jean-emmanuel
28d06cc14a docs: typo in syntax example 2023-08-16 10:36:23 +02:00
jean-emmanuel
bd2a4f3bed panel: minor style issue in tab navigation bar 2023-07-24 14:33:04 +02:00
jean-emmanuel
bce4c10acf panel: tab rendering issue when initialized with a non-numeric value 2023-07-16 17:47:15 +02:00
jean-emmanuel
19a4a62a3e docs: minor change 2023-07-05 17:29:49 +02:00
jean-emmanuel
8c0dfb7c4f misc: lint 2023-07-03 16:52:02 +02:00
jean-emmanuel
2ecb510cb1 input: rendering issues with big font sizes 2023-07-03 16:40:59 +02:00
jean-emmanuel
ff5800a814 package: 1.25.2 2023-07-03 12:35:37 +02:00
jean-emmanuel
413c04f244 log: missing changes 2023-07-03 12:34:52 +02:00
jean-emmanuel
86f80b0265 led, text, variable: value not synchronized between different clients 2023-07-03 12:31:41 +02:00
jean-emmanuel
d00b22d35e scripting: setFocus(id) not affecting textarea widgets 2023-07-03 12:30:12 +02:00
jean-emmanuel
f206369ef0 textarea: escape key not restoring previous value 2023-07-03 12:29:28 +02:00
jean-emmanuel
afeb726ddb cli: electron might take a capital E, take it into account when parsing args 2023-07-02 16:09:12 +02:00
jean-emmanuel
60b66c80fd package: 1.25.1 2023-06-05 17:50:08 +02:00
jean-emmanuel
ee98a20068 textarea: display nothing instead of "null" when receing no value, null or an empty string 2023-06-05 17:49:07 +02:00
jean-emmanuel
bb222a11ae log: latest changes 2023-06-05 17:44:17 +02:00
jean-emmanuel
182941a22c widgets: regression in inter-widget sync mechanism 2023-06-03 06:53:38 +02:00
jean-emmanuel
15c38fa78e scripting: don't attempt to deep copy widget object 2023-06-03 06:52:16 +02:00
jean-emmanuel
617cc915bf docs: update 2023-05-13 14:39:05 +02:00
jean-emmanuel
06b1a2243a package: 1.25.0 2023-05-13 14:38:59 +02:00
jean-emmanuel
a11e296921 panel: mitigate client synchronization issue with panel scrollbars 2023-05-13 13:49:17 +02:00
jean-emmanuel
eda9881d22 log: missing colon 2023-05-13 12:22:18 +02:00
jean-emmanuel
d0d73e4d44 remote control: /STATE/SET add optional argument to prevent widgets from sending their value 2023-05-13 12:21:44 +02:00
jean-emmanuel
fe9df9c2d9 menu: merge different interaction modes into a single mode property
menu: add `swipe` mode
2023-05-13 12:14:05 +02:00
jean-emmanuel
3af1d4ad1c menu: add item background 2023-05-13 11:43:45 +02:00
jean-emmanuel
5b981996fd client: keyboard shortcut issues 2023-05-13 11:19:56 +02:00
jean-emmanuel
59689d8f16 advanced syntax: update issue with clones using their own value in their properties 2023-05-13 11:07:13 +02:00
jean-emmanuel
5126125dba doubletap: missing offsetX & offsetY on touch devices 2023-05-09 16:18:05 +02:00
jean-emmanuel
94d791e4cf package: 1.24.2 2023-04-26 19:23:43 +02:00
jean-emmanuel
1797dfb692 misc: client shim update 2023-04-26 19:23:25 +02:00
jean-emmanuel
078fa94408 misc: lint 2023-04-26 15:09:45 +02:00
jean-emmanuel
908a543d8b event: only enable dom observer while touched 2023-04-26 10:55:56 +02:00
jean-emmanuel
dfabf25223 events: misc guard 2023-04-22 19:26:40 +02:00
jean-emmanuel
fae6448a5b touch devices: touchend event not fired on elements removed/detached during touchstart/touchmove callbacks (caused issues when switching tabs using a button inside a tab) 2023-04-22 19:22:08 +02:00
jean-emmanuel
e7dfa453e4 editor: regression breaking widget context menu actions under "Position" submenu 2023-04-22 17:10:38 +02:00
jean-emmanuel
640e30f766 package: 1.24.1 2023-04-17 00:06:32 +02:00
jean-emmanuel
6954727196 server: --client-size and --client-position options not parsed correctly 2023-04-15 13:23:12 +02:00
jean-emmanuel
808b8b3176 docs: new langs 2023-04-15 10:42:52 +02:00
jean-emmanuel
0e54c11f13 widgets: regression incurring a small delay before resolving a property that depends on a widget's own value (see fe682693b1) 2023-04-14 19:40:32 +02:00
jean-emmanuel
22927983b8 advanced syntaxes: support @{} inside IMPORT{} 2023-04-14 07:24:31 +02:00
jean-emmanuel
968af3994b launcher: fix ctrl+m 2023-04-10 15:45:30 +02:00
jean-emmanuel
7f07109bd3 packaging: move deb file before making rpm 2023-04-06 01:28:56 +02:00
jean-emmanuel
2b84e5dd9e docs: fix pretty download names 2023-04-06 01:25:07 +02:00
jean-emmanuel
5251bcd152 log: typo 2023-04-06 01:03:46 +02:00
jean-emmanuel
5f39ae3e9e docs: update refs 2023-04-06 01:00:57 +02:00
jean-emmanuel
645bba0402 docs: fix opening url with anchors to widget properties 2023-04-06 01:00:23 +02:00
jean-emmanuel
68fa054610 package: 1.24.0 2023-04-06 00:36:05 +02:00
jean-emmanuel
a93d27f08e server: print multiple qrcodes if multiple network interfaces are available and prevent printing a qrcode for the localhost address 2023-04-06 00:35:11 +02:00
jean-emmanuel
afcd9787db panel: replace verticalTabs property with tabsPosition (supports 4 directions) 2023-04-06 00:16:49 +02:00
jean-emmanuel
13ce9ebe0d lint: spaces and quotes 2023-04-05 23:56:39 +02:00
jean-emmanuel
0fae72664d mobile: fix noSleep usage and use wakeLock api when available 2023-04-05 23:52:26 +02:00
jean-emmanuel
c0face2e2f patchbay: add in/out/both modes to exclusive property 2023-04-05 23:24:35 +02:00
jean-emmanuel
b480889b70 custom module: add optional errorCallback argument toloadJSON and saveJSON 2023-04-05 22:57:50 +02:00
jean-emmanuel
3d36f3e4d7 editor: ctrl + e not working when hitm multiple times without releasing ctrl 2023-04-05 19:52:42 +02:00
jean-emmanuel
4b4c9f0c5b log: rpm packages 2023-04-05 18:57:22 +02:00
jean-emmanuel
92c1b7ce00 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2023-04-05 18:56:44 +02:00
jean-emmanuel
fe682693b1 widgets: circular value feedback issues 2023-04-05 18:56:12 +02:00
jean-emmanuel
380d179ecb
Merge pull request #816 from stefanboca/master
Build rpm packages
2023-03-29 06:56:09 +02:00
Stefan Boca
7d7ec962b9 package: build rpm packages 2023-03-26 09:29:31 -07:00
jean-emmanuel
42088de140 traavis: messing around 2023-03-15 18:10:54 +01:00
jean-emmanuel
cc953f6434 travis: missing mkdocs apparently 2023-03-15 10:25:53 +01:00
jean-emmanuel
9497259322 lint: bad space 2023-03-15 10:20:00 +01:00
jean-emmanuel
bb42439caf docs: update widget ref 2023-03-15 08:42:54 +01:00
jean-emmanuel
abd51a323a package: bump version 2023-03-15 08:42:31 +01:00
jean-emmanuel
9b2fa156ac midi: bump version 2023-03-15 08:42:05 +01:00
jean-emmanuel
8861c3d3a9 docs: midi rpn nrpn 2023-03-15 08:41:30 +01:00
jean-emmanuel
ba07e014ac canvas: onDraw() called twice when calling updateCanvas() 2023-03-11 23:04:23 +01:00
jean-emmanuel
3a9882313c keyboard: incoming values different than the off property are now interpreted as on 2023-03-10 11:18:09 +01:00
jean-emmanuel
8546ce6dee editor: display the id of selected widget in the inspector's header 2023-03-10 10:59:05 +01:00
jean-emmanuel
b337432651 ui: rm extra border on buttons in code editor header 2023-03-10 10:35:48 +01:00
jean-emmanuel
79c67a2bbb editor: preserve scroll position in code editor when validating 2023-03-10 10:33:18 +01:00
jean-emmanuel
e36e4cfdc8 typo 2023-03-10 10:17:36 +01:00
jean-emmanuel
dd58f1849f editor: when focusing the label property with F2, select all text in the text area 2023-03-10 10:11:59 +01:00
jean-emmanuel
23ca4ac9a7 misc: add css classes to some notification popups to allow targetting them with css themes 2023-03-10 10:09:06 +01:00
jean-emmanuel
ccf3613424 state: don't attempt to apply state on value-less widgets 2023-03-05 01:28:36 +01:00
jean-emmanuel
81b6ca0557 custom module:don't restrict file extension in loadJSON() and saveJSON functions 2023-03-05 01:27:12 +01:00
jean-emmanuel
f5b615566a docs: id footnote 2023-02-23 10:39:17 +01:00
jean-emmanuel
28bc7d87b5 docs: relative link 2023-02-20 17:47:25 +01:00
jean-emmanuel
2b207e5762 fader: gradient breakpoints not positioned correctly 2023-02-20 17:35:17 +01:00
jean-emmanuel
bcb8f45505 docs: user-contrib tutorial 2023-02-07 13:10:28 +01:00
jean-emmanuel
e95cad07dd docs: v0 is too old 2023-02-07 12:47:36 +01:00
jean-emmanuel
0ea2c49860 scripting: expose file browser (from the file widget) as a scripting function 2023-02-02 10:56:04 +01:00
jean-emmanuel
ce73b5d374 midi: missing file 2023-01-31 17:50:57 +01:00
jean-emmanuel
885886d0c9 midi: optional nrpn/rpn packing/unpacking 2023-01-31 16:10:20 +01:00
jean-emmanuel
0ac4bd60df docs: restore tabs 2023-01-30 19:40:10 +01:00
jean-emmanuel
b3a45860c5 log: pl locales 2023-01-29 12:07:31 +01:00
jean-emmanuel
b0f09cd547 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2023-01-29 12:05:57 +01:00
jean-emmanuel
a6a4941999 encoder: fix linkId 2023-01-29 11:27:20 +01:00
jean-emmanuel
07e98f99d7
Merge pull request #812 from manz4rk/master
misc: pl translation and other translation fixes
2023-01-24 15:22:59 +01:00
Manz4rk
80211951e4 misc: special characters fixes 2023-01-24 13:06:01 +01:00
Manz4rk
e727922a16 misc: pl translation and other translation fixes 2023-01-24 13:02:48 +01:00
jean-emmanuel
d9b1342e1d docs: midi conf disambiguation 2023-01-09 10:08:42 +01:00
jean-emmanuel
403a1d5578 package: fix travis order 2023-01-03 09:17:35 +01:00
jean-emmanuel
1a511edfbc pacage: 1.22 2023-01-03 09:06:59 +01:00
jean-emmanuel
10efd5bd94 docs: update 2023-01-03 09:06:12 +01:00
jean-emmanuel
5f1081a835 docs: dead link 2023-01-03 09:05:59 +01:00
jean-emmanuel
1070ccb812 slider: prevent issues with decimal keys 2023-01-03 09:03:12 +01:00
jean-emmanuel
fe9e988d3e docs: small changes 2023-01-03 09:02:12 +01:00
jean-emmanuel
71af0641ba launcher:mac: change "List MIDI devices" keyboard shortcut to `Ctrl+m 2022-12-31 14:59:21 +01:00
jean-emmanuel
bc6428e553 keyboard: setValue: accept full length array (fixes linkId) 2022-12-27 10:54:40 +01:00
jean-emmanuel
6f16b819c8 doc: frame is not limiter to local network 2022-12-25 18:28:15 +01:00
jean-emmanuel
abcd214114 lint 2022-12-25 17:37:13 +01:00
jean-emmanuel
3fd9c694ce image: add support for special value "qrcode" 2022-12-25 17:33:18 +01:00
jean-emmanuel
cebca61e30 qrcode: optional (cli) and on demand (launcher) 2022-12-25 17:17:08 +01:00
jean-emmanuel
a12593224d package: follow debian naming 2022-12-25 10:52:37 +01:00
jean-emmanuel
a11296e19c locales: enable german locales 2022-12-20 18:22:54 +01:00
jean-emmanuel
b293932921
Merge pull request #807 from MagnusReichel/master
misc: doc update & locales
2022-12-20 18:21:00 +01:00
MagnusReichel
46a3274f68
Add files via upload
misc: doc update & locales
2022-12-20 11:17:33 +01:00
jean-emmanuel
e11e56ce38 console: disable mouseover trap when editor is off 2022-12-03 22:22:22 +01:00
jean-emmanuel
d4d0d18de1 docs: update 2022-11-29 17:00:28 +01:00
jean-emmanuel
454884eb81 custom module: fix autoreload on nested submodules 2022-11-29 16:58:48 +01:00
jean-emmanuel
07beecc9db package: next is 1.21.0 2022-11-29 09:00:52 +01:00
jean-emmanuel
c6b9ef5205 package: add package lock 2022-11-29 09:00:15 +01:00
jean-emmanuel
5230eb2d4b scripting: onCreate: expose value and call onCreate after default value is applied 2022-11-29 08:57:38 +01:00
jean-emmanuel
6ef1d412f9 custom module: expose global object that persists accross module reloads. 2022-11-29 08:36:09 +01:00
jean-emmanuel
9197eea0ac switch/menu/dropdown: add a syntax that supports duplicate labels in values property 2022-11-29 08:24:14 +01:00
jean-emmanuel
e7aa598f8b editor: horizontal scrolling issues with maximized code editor 2022-11-29 08:05:01 +01:00
jean-emmanuel
ddcf186a66 custom module: prevent error when module.exports is not defined 2022-11-29 08:02:11 +01:00
jean-emmanuel
c2e07e6ae0 log: qrcode 2022-11-29 07:50:47 +01:00
jean-emmanuel
d72539c184 package: fixed qrcode dep 2022-11-26 18:38:20 +01:00
jean-emmanuel
738df79708 qrcode pr: refactor for terminal compatibility 2022-11-26 18:34:36 +01:00
jean-emmanuel
924b3c924e misc: rename launcher>->server event 2022-11-26 18:33:53 +01:00
ameisso
b2dced4cda New : adapted colors 2022-11-26 02:39:00 +01:00
ameisso
76aef5cb96 New : print all addresses 2022-11-26 02:27:44 +01:00
ameisso
07c89b1af3 New : QRCode module 2022-11-25 19:22:31 +01:00
ameisso
c78cda3c40 New : print qrCode of the last IP 2022-11-25 19:22:06 +01:00
jean-emmanuel
72d6e2dc49
Merge pull request #803 from erictheise/20221113-typos
A few new typos.
2022-11-14 11:01:09 +01:00
Eric Theise
89da9d5417 Typos. 2022-11-13 09:12:24 -08:00
jean-emmanuel
de10481a9b package: 1.20 2022-11-09 10:27:03 +01:00
jean-emmanuel
c4b8aea5f7 docs: update 2022-11-09 10:23:42 +01:00
jean-emmanuel
56bf3e8471 lint: single quotes 2022-11-09 10:21:45 +01:00
jean-emmanuel
2552dd187e fragment: add fallback property 2022-11-09 10:14:54 +01:00
jean-emmanuel
c7ce398632 terminal: colorize debug messages for in/out messages 2022-11-09 09:22:53 +01:00
jean-emmanuel
aea55d45ca scss: osc icon not found 2022-11-09 08:49:35 +01:00
jean-emmanuel
d6a864fe71 launcher: add Start minimized menu option 2022-11-09 08:45:22 +01:00
jean-emmanuel
37130c22d0 lint: fix var name 2022-11-07 15:06:41 +01:00
jean-emmanuel
865147477f scripting: expose Navigator object with `getNavigator() 2022-11-07 15:01:15 +01:00
jean-emmanuel
a90211223f scripting: soft and hard reload 2022-11-07 13:07:02 +01:00
jean-emmanuel
a77a9c01dd scripting: add reload() function 2022-11-07 13:02:01 +01:00
jean-emmanuel
2164964116 cli: add --client-size & --client-position options 2022-11-07 10:26:05 +01:00
jean-emmanuel
5af6abb06d advanced syntaxes: ignores quotes around file path in IMPORT{} 2022-11-06 12:29:44 +01:00
jean-emmanuel
4de6c33f5a log: typo 2022-11-05 12:06:29 +01:00
jean-emmanuel
da3eecfdd4 scripting: prevent some functions to be marked as undefined 2022-11-04 14:09:41 +01:00
jean-emmanuel
0ec4c9e2fb package: next is v1.19.3 2022-11-03 11:41:00 +01:00
jean-emmanuel
95d8d92bcd log: wrong version 2022-11-02 23:06:20 +01:00
jean-emmanuel
74f6c289e5 builtin client:change noFocus client option behavior: the defalt client window now doesn't take the focus at all, even when a text input is clicked. 2022-11-01 18:11:49 +01:00
jean-emmanuel
dca6d2c889 log: +accurate 2022-10-31 19:06:20 +01:00
jean-emmanuel
dccff415a8 events:regression breaking touch move events 2022-10-31 18:55:29 +01:00
jean-emmanuel
5c0636345a editor zoom: small zoomout issue when root height is not auto 2022-10-30 19:33:43 +01:00
jean-emmanuel
32d0e539c3 package: 1.19.1 2022-10-30 18:56:08 +01:00
jean-emmanuel
99db67dd5d editor zoom: adjust root widget size when zooming out 2022-10-30 18:55:51 +01:00
jean-emmanuel
ed63e2c063 misc: minor css change 2022-10-30 16:04:12 +01:00
jean-emmanuel
88ef6d1cd9 misc: doc update & locales 2022-10-30 15:58:36 +01:00
jean-emmanuel
0d06d49e50 log: update 2022-10-30 14:58:29 +01:00
jean-emmanuel
e52a4c224e ui: clean keyboard code, add unselect btn, tidyup style 2022-10-30 14:56:15 +01:00
jean-emmanuel
63e7a4fa5c keyboard: text selection more or less ok 2022-10-29 23:34:12 +02:00
jean-emmanuel
d607c1f447 keyboard: oups 2022-10-29 20:47:41 +02:00
jean-emmanuel
2e43f9086d misc: disable input spellcheck globally 2022-10-29 20:34:28 +02:00
jean-emmanuel
3f2828ab65 docs: update 2022-10-29 20:22:53 +02:00
jean-emmanuel
fa07be621f ui keyboard: disable for code editors 2022-10-29 20:20:59 +02:00
jean-emmanuel
f427f2ecaf ui: take localZoom into account for all drag events 2022-10-29 19:02:05 +02:00
jean-emmanuel
94ffd52215 keyboard: working on it 2022-10-29 12:37:04 +02:00
jean-emmanuel
3defca2a7c keyboard: wip cursor attempt 2022-10-29 11:05:07 +02:00
jean-emmanuel
6ebed6a6ce ui: minor fix 2022-10-29 11:04:58 +02:00
jean-emmanuel
ba4360e028 uikeyboard: don't scroll input into view 2022-10-29 00:59:28 +02:00
jean-emmanuel
08bcf902d4 editor: fix drag resize + local zoom 2022-10-29 00:45:07 +02:00
jean-emmanuel
8bb2813a49 editor: ui tweaks and inspector toolbar 2022-10-29 00:34:16 +02:00
jean-emmanuel
e43c6fea22 script: prevent infinite loop issue 2022-10-28 21:56:27 +02:00
jean-emmanuel
c916f5dd6a ui: local zoom only in editor mode 2022-10-28 08:04:06 +02:00
jean-emmanuel
fe6a8f7af2 ui: allow local zoom under 1 2022-10-27 19:16:41 +02:00
jean-emmanuel
f64f344a76 uikeyboard: key repeat issue 2022-10-27 15:05:45 +02:00
jean-emmanuel
2de1f99ab3 ui keyboard: add key repeat 2022-10-27 12:59:46 +02:00
jean-emmanuel
9da39ef4eb package: beta1 2022-10-27 12:35:01 +02:00
jean-emmanuel
de4dcd16ef ui keyboard: arrow navigation 2022-10-27 12:33:15 +02:00
jean-emmanuel
0a147189d4 ui-keyboard: horsin around 2022-10-27 11:48:55 +02:00
jean-emmanuel
327d461aab multixy: allow setting its own value from onValue script while touched 2022-10-27 09:54:05 +02:00
jean-emmanuel
f478e463fc keyboard: tweaks an fixes 2022-10-27 01:38:11 +02:00
jean-emmanuel
0c6d6cc12c next is v1.19 2022-10-26 10:54:46 +02:00
jean-emmanuel
75bfc99758 misc: lint and log update 2022-10-26 10:53:59 +02:00
jean-emmanuel
d7bdb092c2 docs: new local zoom behavior 2022-10-26 10:46:28 +02:00
jean-emmanuel
757dd23063 folder: proper description 2022-10-26 10:38:09 +02:00
jean-emmanuel
55afba8178 log:update 2022-10-26 10:36:24 +02:00
jean-emmanuel
5ba7de9861 file widget: avoid error with non-string values 2022-10-26 10:35:55 +02:00
jean-emmanuel
d68c0f6c0a widgets: folder container 2022-10-26 10:31:45 +02:00
jean-emmanuel
4868ef77d9 misc: clean unused dep 2022-10-25 18:44:48 +02:00
jean-emmanuel
13a2d125cf wip: lint 2022-10-25 18:26:23 +02:00
jean-emmanuel
4b24c9ba8d misc: dedupe keys 2022-10-25 18:19:29 +02:00
jean-emmanuel
0716eae53c wip: static, widget-only local zoom 2022-10-25 18:18:49 +02:00
jean-emmanuel
903eb82324 log update 2022-10-25 18:14:14 +02:00
jean-emmanuel
a19a6ac22d editor: add keyboard shortcut "h" to hide selection and widget drag / resize handles while pressed 2022-10-25 18:12:19 +02:00
jean-emmanuel
3022ee4703 ui: flat keyboard; disabled except on desktop 2022-10-25 16:58:23 +02:00
jean-emmanuel
3f30ec32d3 ui: add virtual keyboard for keyboard-less desktop clients 2022-10-25 14:04:14 +02:00
jean-emmanuel
7b06f7e1a8 input: add maxLength property 2022-10-24 11:59:27 +02:00
jean-emmanuel
0bb3652898 package: v1.18.3 2022-10-23 10:29:50 +02:00
jean-emmanuel
bf97ebceb5 button: decoupled push mode returning wrong value when activated from a widget script 2022-10-23 10:29:29 +02:00
jean-emmanuel
6cbddbd2b6 button: regression in push mode (on value not passed to onValue script when triggered from another widget 2022-10-23 10:09:02 +02:00
jean-emmanuel
74198c07d7 theme: avoid server-side parsing error with --color-background 2022-10-22 21:31:09 +02:00
jean-emmanuel
7ffe125623 ios: attempt to fix rendering glitch when waking up after sleep 2022-10-22 18:58:13 +02:00
jean-emmanuel
782491282c switch: interaction issue when value labels contain icons 2022-10-22 18:31:19 +02:00
jean-emmanuel
33e1d0a16b docs: small fix 2022-10-21 16:15:05 +02:00
jean-emmanuel
edb014e1da canvas: ios: different touch.force implementation 2022-10-21 13:07:56 +02:00
jean-emmanuel
4984777dd8 button: tweak pulse in decoupled mode 2022-10-21 11:13:25 +02:00
jean-emmanuel
65120d54ad package: beta 2 2022-10-21 09:25:37 +02:00
jean-emmanuel
06132d2005 canvas: ios: still fiddling 2022-10-21 09:24:07 +02:00
jean-emmanuel
47694ee6c5 package: more beta 2022-10-19 23:09:11 +02:00
jean-emmanuel
38588f2cca canvas: io touch data polling tweak 2022-10-19 23:08:41 +02:00
jean-emmanuel
4887aed82a canvas: still working on ios data polling 2022-10-19 17:48:04 +02:00
jean-emmanuel
428e5d7d12 canvas: reduce ios data polling frequency 2022-10-19 16:31:56 +02:00
jean-emmanuel
86e86378e6 canvas: attempt to fix ios data polling 2022-10-19 16:24:23 +02:00
jean-emmanuel
e3b7edd895 docs: update 2022-10-19 16:24:17 +02:00
jean-emmanuel
1e36e6ae7c button: refactor decoupled mode 2022-10-19 12:46:33 +02:00
jean-emmanuel
35e593be37 docs: updateref 2022-10-19 11:09:02 +02:00
jean-emmanuel
919678fea9 button: expose locals.external 2022-10-19 11:08:34 +02:00
jean-emmanuel
9f00ec6efc misc: missing coma 2022-10-19 10:49:27 +02:00
jean-emmanuel
da026001df button: decoupled mode 2022-10-19 10:46:06 +02:00
jean-emmanuel
0481691c7e Revert "button: decoupled: fix toggle mode so that it always send requested value"
This reverts commit 2f3aab546d.
2022-10-19 09:30:14 +02:00
jean-emmanuel
2f3aab546d button: decoupled: fix toggle mode so that it always send requested value 2022-10-19 09:11:56 +02:00
jean-emmanuel
8a9c05cf83 misc: bool conversion 2022-10-19 08:40:33 +02:00
jean-emmanuel
ad27753b69 docs: update widget ref 2022-10-18 15:18:52 +02:00
jean-emmanuel
744c791a08 log: missing space 2022-10-18 15:18:18 +02:00
jean-emmanuel
018ce8481d log: oneway traversing 2022-10-18 15:16:18 +02:00
jean-emmanuel
60a2997365 package: next is 1.18.0 2022-10-18 15:07:22 +02:00
jean-emmanuel
48ad73911d server: fix loading client script source map 2022-10-18 15:07:01 +02:00
jean-emmanuel
c0a3953a0a editor: add F2 keyboard shortcut to bring label property input into viewif selected widget has one 2022-10-18 15:05:05 +02:00
jean-emmanuel
6a0471c8fd misc: client_sync global as bool 2022-10-18 10:20:50 +02:00
jean-emmanuel
e07322a520 button: add client option altTraversing to allow one-way response to traversing gestures 2022-10-18 10:18:50 +02:00
jean-emmanuel
d962c1efe0 canvas: ios: disable touch data polling unless data is used in onTouch 2022-10-18 09:03:17 +02:00
jean-emmanuel
582c29027a doc: link to client sync option 2022-10-18 08:41:01 +02:00
jean-emmanuel
1eec9833f0 client-options: add client-sync option to allow disabling client synchronization 2022-10-17 20:18:28 +02:00
jean-emmanuel
5df9c436b2 widgets: add borderRadius property 2022-10-17 20:01:15 +02:00
jean-emmanuel
f2b1f42d51 package: missing version update 2022-10-16 15:24:17 +02:00
jean-emmanuel
3c0c2dd74d ios: proper getter for ios touch event data 2022-10-16 14:58:36 +02:00
jean-emmanuel
61a8968923 knob: add snap-alt mode (snap mode that allows jumping between range.min and range.max) 2022-10-16 10:33:23 +02:00
jean-emmanuel
cd70fd60dc
Merge pull request #792 from erictheise/typos-src
src: typos and grammatical (English) cleanups.
2022-10-15 23:09:00 +02:00
jean-emmanuel
f2ea5ebf74 log :update 2022-10-15 23:05:28 +02:00
jean-emmanuel
f4b6a226dc Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2022-10-15 21:12:24 +02:00
jean-emmanuel
7765fb066a canvas: attempt to poll touch azimuth, altitude and force on iOS that otherwise don't trigger onTouch as expected 2022-10-15 16:27:11 +02:00
Eric Theise
e5d3ccf7b5 Change occurrences of 'catched' to 'caught'. 2022-10-13 06:12:39 -07:00
Eric Theise
ca777f3274 A few typos fixed, fewer grammatical (English) cleanups. 2022-10-13 06:12:39 -07:00
jean-emmanuel
e21a252eb8
Merge pull request #791 from erictheise/typos-docs
docs: a few typos fixed, fewer grammatical (English) cleanups.
2022-10-13 08:30:10 +02:00
Eric Theise
5301e2507a Typos and grammatical (English) cleanups. Changes made to comments and text output, not css classes or variable names. 2022-10-12 13:01:18 -07:00
Eric Theise
bc1234cbd2 A few typos fixed, fewer grammatical (English) cleanups. 2022-10-12 11:56:06 -07:00
jean-emmanuel
796ee2fdc6 editor: prevent edge case error 2022-10-05 20:40:20 +02:00
jean-emmanuel
3b695509e9 lint 2022-10-04 12:50:21 +02:00
jean-emmanuel
7cc67e6b59 button: add decoupled mode
script: add external option for set()
2022-10-04 12:15:42 +02:00
jean-emmanuel
d208644e39 midi: on Mac, name virtual ports after the device name to avoid confusion 2022-10-04 11:38:29 +02:00
bordun
1751f721e8 log: next is 1.17.1 2022-08-29 16:14:00 +02:00
bordun
0b2fb7ea4a scripting: add updateCanvas() function (forces a canvas widget to redraw 2022-08-29 15:51:28 +02:00
bordun
2ab69d29fb remote control: /NOTIFY: if multiple arguments are provided, interpret the first one as the icon's name for the client notification 2022-08-29 15:40:46 +02:00
bordun
7789e5322d travis: still not good 2022-07-04 13:48:39 +02:00
bordun
c685074667 travis: python v 2022-07-04 13:46:36 +02:00
bordun
5f1e6c5a29 travis: wine package 2022-07-04 13:42:03 +02:00
bordun
4c604ee989 travis: python version 2022-07-04 13:39:57 +02:00
bordun
290164ea21 travis: update dist 2022-07-04 13:36:43 +02:00
bordun
92cb9cbb07 log: could not fix old osx midi build 2022-07-04 13:33:26 +02:00
bordun
6fa547f92c docs: copyleft 2022 2022-07-04 13:16:50 +02:00
bordun
b70300246a docs: update 2022-07-04 12:08:34 +02:00
bordun
257d8121c6 package: make it 1.17.0 2022-07-04 12:08:12 +02:00
bordun
4cc2abe2a0 midi: update rtmidi 2022-07-04 11:54:41 +02:00
bordun
262e1861a9 midi: bump version 2022-07-04 11:38:14 +02:00
bordun
2ca83ccf29 patchbay: add exclusive option and remove some seamingly wrong code 2022-07-04 11:28:31 +02:00
bordun
a5c1725028 range: multitouch interaction issue 2022-07-04 11:05:43 +02:00
bordun
1b10dc7ca0 editor: allow interacting with a widget without selecting it by using the middle mouse button or by holding shift+win (shift+cmd on mac). 2022-07-04 10:55:25 +02:00
bordun
aa2b9fea08 encoder: apply knob sensibility change 2022-07-04 10:39:23 +02:00
bordun
fb621a6f9c knob: sensitivity and ctrl+drag preserve circular mode behavior
knob: `snap` mode now works like `circular` mode except for the touch start event (value can't jump from start to end anymore)
2022-07-04 10:35:34 +02:00
bordun
99a2652d09 editor: error when ctrl+clicking on a root's child 2022-07-04 10:23:25 +02:00
bordun
ad6916b609 package: v1.16.6 2022-06-08 09:52:12 +02:00
bordun
437db2eada widget: use computed visibility instead of the property value to determine style 2022-06-08 09:48:08 +02:00
bordun
ccf44e7ff6 package: v1.16.5 with font loading hot fix 2022-06-01 16:39:25 +02:00
bordun
73e4dadf26 docs: update 2022-06-01 15:02:24 +02:00
bordun
6321e99a11 lint: indent 2022-06-01 15:00:44 +02:00
bordun
b7e7530c12 main: hide no gui message when running osc server process 2022-06-01 14:59:36 +02:00
bordun
b5e7a3d43f launcher: woops 2022-06-01 14:59:26 +02:00
bordun
3884188df9 server: solve file resolving issue (osc assets vs user assets) 2022-06-01 14:56:50 +02:00
bordun
3bd7492591 patchbay: outputs property not handling object value properly 2022-06-01 14:33:29 +02:00
bordun
60877f86ae patchbay: trigger onValue script when a connection changes 2022-06-01 14:28:52 +02:00
bordun
34602bc45e modal: display issue when a modal receives the same value mutliple times 2022-06-01 11:59:02 +02:00
bordun
275ea3c14b windows: allow accessing other drives than the default one (list drives when the file browser reaches the filesystem's root) 2022-05-31 15:16:17 +02:00
bordun
37ee994dab package: revert sanitize html update 2022-05-30 16:02:18 +02:00
bordun
976c2c2040 server: yargs update breaking things again 2022-05-30 15:40:11 +02:00
bordun
5228444b59 package: no package-lock after all 2022-05-30 15:07:00 +02:00
bordun
8bb9be157a package: node 16 2022-05-30 14:48:44 +02:00
jean-emmanuel
f61560d4cf lint: no return outside function 2022-05-22 18:28:04 +02:00
jean-emmanuel
dd8166f2ab lint: use babel parser 2022-05-22 18:27:55 +02:00
jean-emmanuel
37c3559100 docs: node v16 2022-05-22 18:23:00 +02:00
jean-emmanuel
395876443e packaging: node v16 2022-05-22 18:22:14 +02:00
jean-emmanuel
15361f67b7 package: upate most dependencies 2022-05-22 16:44:32 +02:00
jean-emmanuel
ad78141b11 package: 1.16.3 2022-05-22 15:28:09 +02:00
jean-emmanuel
a628663ae1 docs: update 2022-05-22 15:21:05 +02:00
jean-emmanuel
23dadaaf7d scripting: expose Image()
canvas: typo
2022-05-22 12:58:49 +02:00
jean-emmanuel
c84067c456 canvas: add onResize script property 2022-05-22 12:43:26 +02:00
jean-emmanuel
c2bc99b2b3 log: misc 2022-05-22 12:36:07 +02:00
jean-emmanuel
1368a109c2 server: put app assets in a private folder to let users use "client" and "assets" as folder names 2022-05-22 12:32:10 +02:00
jean-emmanuel
534b6e90fc server: typo 2022-05-22 12:30:29 +02:00
jean-emmanuel
4d8a4a37b0 server: comment 2022-05-22 12:25:39 +02:00
jean-emmanuel
f896aa8d0c custom-module: clean 2022-05-22 12:24:46 +02:00
jean-emmanuel
020bda16ba server: harmless error message when importing css files from the main theme file 2022-05-22 12:24:09 +02:00
jean-emmanuel
0bdebc1357 custom module: proper submodule and circular require resolution 2022-05-22 12:13:53 +02:00
jean-emmanuel
c1061071bb Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2022-05-22 12:12:55 +02:00
bordun
9c8dcf76c4 package: 1.16.2 2022-05-04 18:22:02 +02:00
bordun
429a434687 log: visibility fix 2022-05-04 16:36:35 +02:00
bordun
0f458cf841 widget: cast visibility attribute as boolean to avoid comparison mistakes 2022-05-04 16:27:59 +02:00
bordun
9179419e88 misc: log method in widget base class 2022-05-04 16:27:46 +02:00
bordun
9388ad3d36 tabs: detach hidden tabs from the DOM (reduces lag caused by heavy tabs) 2022-05-02 19:31:36 +02:00
bordun
4bcd53e97c travis: update dist 2022-05-01 13:10:13 +02:00
bordun
180e5307f6 docs: update 2022-05-01 13:00:32 +02:00
bordun
cd13328dff widget: typo 2022-05-01 13:00:23 +02:00
bordun
76aaeb625c package: bump version 2022-05-01 12:58:15 +02:00
bordun
c2d58a7454 - image paths with url queries not loaded properly
- @{} syntax not returning truncated value according to the widget's precision property (fixed for primitive values only, object values are still returned as is)
2022-05-01 12:57:16 +02:00
jean-emmanuel
56a88e0d98 log: missing words 2022-04-22 07:40:54 +02:00
bordun
5bea089ba1 session: eq widgets not properly converted when importing v0 sessions 2022-04-21 21:36:15 +02:00
bordun
51ce3d0322 log: multixy 2022-04-21 09:35:17 +02:00
jean-emmanuel
6f7d0fba2a
Merge pull request #780 from stefanboca/multixy-doubletap
multixy: add doubleTap like xy pad
2022-04-21 09:32:30 +02:00
jean-emmanuel
ffd8c6f17f package: next is v1.16.0 2022-04-16 10:19:21 +02:00
jean-emmanuel
d9fed4fdf9 widget: comments property flagged as dynamic 2022-04-16 10:18:40 +02:00
jean-emmanuel
887ea569db advanced syntaxes: @{} and VAR{} do not return a copy of their value anymore as it may introduce a significant overhead when used extensively. Mutating these objects in #{} and JS{} scripts will now affect the actual values and should be avoided at all cost. 2022-04-16 10:17:29 +02:00
jean-emmanuel
cafb8b904a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2022-04-13 22:34:53 +02:00
jean-emmanuel
985a2cec79 docs: setTimeout specifics 2022-04-13 20:22:00 +02:00
bordun
eb4c166f2b docs: update 2022-04-09 17:36:47 +02:00
bordun
39e9e4af7c package: 1.15.8 2022-04-09 17:34:25 +02:00
bordun
8c7df3744a editor: some variables not appearing as defined in onKeyboard 2022-04-09 17:16:05 +02:00
bordun
8faaf997a1 script: onKeyboard script not cleaned upon edition / removal 2022-04-09 17:05:06 +02:00
jean-emmanuel
753a6d5128 cripting: send(): ignore ignoreDefaults property 2022-04-02 15:29:06 +02:00
jean-emmanuel
adaf42bb61 range: value update issue (internal touch state not updated properly) 2022-03-31 11:36:50 +02:00
jean-emmanuel
f033dbb2bd package: 1.15.7 2022-03-31 11:12:38 +02:00
jean-emmanuel
5c6d065f9b menu/dropdown: display label when value is undefined 2022-03-31 11:12:04 +02:00
jean-emmanuel
fd9f703bcf bypass client option nofocus=1 when the editor is enabled 2022-03-31 11:01:33 +02:00
jean-emmanuel
32b21bc6e6 log: midi bridge update 2022-03-31 10:55:46 +02:00
jean-emmanuel
11b251bfcf midi: increment version 2022-03-31 10:52:55 +02:00
jean-emmanuel
28430cdd55 matrix: fix props resolution issue with object properties 2022-03-31 10:50:19 +02:00
jean-emmanuel
6146007500 midi: help debugging when loading fails 2022-03-29 09:10:44 +02:00
StefanBoca
ac6a230da8
xy: simplify doubleTap 2022-03-28 17:38:38 -07:00
StefanBoca
cc78357901
multixy: add doubleTap 2022-03-28 17:37:10 -07:00
jean-emmanuel
d025582825 docs: send() examples 2022-03-23 10:13:05 +01:00
jean-emmanuel
2e944c6ea6 log: update 2022-03-21 08:18:29 +01:00
jean-emmanuel
c239c2f213 server: one too many test 2022-03-20 22:41:17 +01:00
jean-emmanuel
37ecc41826 server: typo 2022-03-20 22:20:47 +01:00
jean-emmanuel
9bd3b9d186 scripting: deep copy custom variables to avoid unwanted mutations 2022-03-20 22:17:36 +01:00
jean-emmanuel
86abea7a3a server: better cookie fail-safe (only skip client session path) 2022-03-20 22:05:58 +01:00
jean-emmanuel
a60c1423a7 ios: attempt to fix cookie related issue
server: fail-safe in case client id is not found in http cookies
2022-03-20 18:59:21 +01:00
jean-emmanuel
85b7b43928 docs: fix link 2022-03-20 10:51:36 +01:00
jean-emmanuel
210fbdd8a3 docs: minor changes 2022-03-15 08:40:37 +01:00
jean-emmanuel
1f9ddedcb8 docs: running from source & midi 2022-03-14 18:21:30 +01:00
jean-emmanuel
a6c438a6aa lint 2022-03-11 00:23:17 +01:00
jean-emmanuel
1a063f20d6 package: 1.15.5 2022-03-11 00:17:07 +01:00
jean-emmanuel
b5ffaa269f matrix: avanced property issue inprops property (bis) #777 2022-03-11 00:16:46 +01:00
jean-emmanuel
d5efa693bf docs: inspector category solo mode 2022-03-08 08:55:29 +01:00
jean-emmanuel
8257c9019c inspector: add solo mode with alt+click for category panels 2022-03-08 08:50:32 +01:00
jean-emmanuel
a9c1f01e8e editor: (mac) remove dangling kb shortcuts in code editor 2022-03-06 15:43:50 +01:00
jean-emmanuel
12beb37b53 package: v1.15.4 2022-03-03 09:09:09 +01:00
jean-emmanuel
1563dd12a5 matrix: avanced property issue inprops property 2022-03-02 15:28:20 +01:00
jean-emmanuel
7960aa7048 osc: use fork until new upstream release (fixes unicode chars in osc messages) 2022-03-01 15:21:57 +01:00
jean-emmanuel
ab02280956 log: update 2022-03-01 11:08:19 +01:00
jean-emmanuel
a9699f2e27 root: better lazy loading of menu component 2022-03-01 11:03:10 +01:00
jean-emmanuel
8a5cfa459d events: interaction issue ("deadzone") on touch screens 2022-03-01 11:01:21 +01:00
jean-emmanuel
b6ea4e7d9f root: hideMenu should be ignored when --read-only is set 2022-03-01 10:02:14 +01:00
jean-emmanuel
f291b5e475 docs: update 2022-02-27 22:46:28 +01:00
jean-emmanuel
3713e39d07 package: v1.15.2 2022-02-27 22:40:29 +01:00
jean-emmanuel
6fa7e9ebed server: allow spaces and accentuated characters in client id 2022-02-27 22:38:39 +01:00
jean-emmanuel
25f7b3e4aa panel: prevent delayed setScroll call to fail in edge case 2022-02-27 22:15:24 +01:00
jean-emmanuel
1175374341 modal: fix restoring state when recreated 2022-02-27 09:13:18 +01:00
jean-emmanuel
d12716d18f package: v1.15.1 2022-02-26 08:55:19 +01:00
jean-emmanuel
0e22ca0589 remote control: add /RELOAD command 2022-02-26 08:49:08 +01:00
jean-emmanuel
97fccdc7f5 editor: code editor for css/html 2022-02-26 08:48:25 +01:00
jean-emmanuel
4dde0834cf lint 2022-02-20 10:58:34 +01:00
jean-emmanuel
6f6d0ed121 canvas: prevent flickering on canvas based widgets when they are recreated 2022-02-19 11:42:32 +01:00
jean-emmanuel
1ae1937112 multixy: regression causing interaction issue 2022-02-18 19:15:53 +01:00
jean-emmanuel
7a24fb16a2 scripting: add runAs() 2022-02-18 09:31:56 +01:00
jean-emmanuel
c8a361b765 docs: typo 2022-02-18 08:48:40 +01:00
jean-emmanuel
a630bc0d67 update font awesome bin 2022-02-17 10:23:12 +01:00
jean-emmanuel
3e2e34bd27 ui: fontawesome 6 2022-02-17 10:05:25 +01:00
jean-emmanuel
5e94eb04fb button: momentary: prevent unneeded setvalue call 2022-02-14 16:04:56 +01:00
jean-emmanuel
349fafa10c editor: don't attempt to restore value state on widgets that should not hold one 2022-02-14 16:03:07 +01:00
jean-emmanuel
7da90e07e1 button: momentary: accept undefined value 2022-02-14 14:00:00 +01:00
jean-emmanuel
5ecab00cec docs: oncreate warning 2022-02-14 12:02:09 +01:00
jean-emmanuel
37bc6519a2 docs: update ref 2022-02-13 16:51:31 +01:00
jean-emmanuel
8cffda6503 docs: var syntax limitation 2022-02-13 16:43:59 +01:00
jean-emmanuel
feb59f2c7a launcher: add Autostart menu option 2022-02-12 12:25:44 +01:00
jean-emmanuel
87842dbd12 editor: lint 2022-02-12 12:22:00 +01:00
jean-emmanuel
46ba4115af widgets/editor: add lock property 2022-02-12 12:16:29 +01:00
jean-emmanuel
fb223eb08c editor: prevent accessing non-editable widgets with right arrow 2022-02-11 08:24:24 +01:00
jean-emmanuel
efa92ddff0 package: next is 1.14.6 2022-02-10 09:59:51 +01:00
jean-emmanuel
24019c7203 modal: regression on android that prevents focusing input widgets in modals 2022-02-10 09:59:46 +01:00
jean-emmanuel
06f2c1b0c8 clone: prevent freeze and print an error when attempting to create a circular clone 2022-02-08 18:35:45 +01:00
jean-emmanuel
3f7c30df95 inspector: script editor: cursor alignment issue in indented lines 2022-02-08 14:40:01 +01:00
jean-emmanuel
c0165c2222 log: 1.14.5 2022-02-08 08:57:30 +01:00
jean-emmanuel
b0e9642af7 misc: avoid some more errors with malformed properties vs match() that expects strings 2022-02-08 08:54:37 +01:00
jean-emmanuel
0cf8d1e42f button: prevent error in case mode property is malformed 2022-02-08 08:49:39 +01:00
jean-emmanuel
bd0518293c docs: update ref 2022-02-05 14:12:00 +01:00
jean-emmanuel
34373b9094 package: v1.14.4 2022-02-05 14:11:32 +01:00
jean-emmanuel
00f116b26b code editor: validate with cmd+enter on Mac 2022-02-05 14:08:28 +01:00
jean-emmanuel
bcb74dc0b6 scripting: add screen.orientation and make screen.height/width dynamic 2022-02-05 13:51:27 +01:00
jean-emmanuel
29e18ef23c keyboard: setValue: prevent error if index doesn't match a key 2022-02-02 13:35:51 +01:00
jean-emmanuel
1c69c029dc clean 2022-01-31 09:49:17 +01:00
jean-emmanuel
f28326c882 inspector: modularize code editor a bit 2022-01-31 09:08:41 +01:00
jean-emmanuel
01f1c630fd inspector: code editor: prevent issue on middle click 2022-01-30 17:16:00 +01:00
jean-emmanuel
f42900058d inspector: prevent code editor oddities 2022-01-30 17:08:14 +01:00
jean-emmanuel
6c33a5736e events: one more missing rename 2022-01-30 14:43:44 +01:00
jean-emmanuel
a486b55e59 events: still some tweaks needed 2022-01-30 13:40:57 +01:00
jean-emmanuel
06571ea7c6 events: last missing rename 2022-01-28 16:47:52 +01:00
jean-emmanuel
03c46d421f widget: better event listener cleanup 2022-01-28 16:46:10 +01:00
jean-emmanuel
317216bfdc misc clean 2022-01-28 16:42:56 +01:00
jean-emmanuel
975601dae6 event: some clean 2022-01-28 16:38:35 +01:00
jean-emmanuel
1bda72cd12 events: missing renames 2022-01-28 16:30:15 +01:00
jean-emmanuel
1930f5465c fastdom: exception in dragresize ui 2022-01-28 16:08:45 +01:00
jean-emmanuel
459a37960c events: use delegated events as much as possible to avoid adding dom listeners when creating widgets 2022-01-28 16:06:26 +01:00
jean-emmanuel
a7683787d2 log: more accurate 2022-01-27 10:07:21 +01:00
jean-emmanuel
9cc750e0e6 misc: rm useless event trigger 2022-01-26 18:38:09 +01:00
jean-emmanuel
71cb7f6b55 inspector: adaptive color picker size 2022-01-26 18:35:36 +01:00
jean-emmanuel
2f38353483 fastdom: clean 2022-01-26 16:40:39 +01:00
jean-emmanuel
df74279db2 button: add momentary mode for sending messages with no value; prevent button from getting stuck when on and off are equal in momentary and tap modes 2022-01-26 16:33:55 +01:00
jean-emmanuel
9a1628853f remote-control: fix /SCRIPT cmd 2022-01-26 15:58:24 +01:00
jean-emmanuel
6efd4da092 tabs: tiny css error 2022-01-26 15:54:44 +01:00
jean-emmanuel
80e1ad7271 log: update 2022-01-26 15:50:32 +01:00
jean-emmanuel
759b6360dd console: fix broken console... 2022-01-26 15:48:49 +01:00
jean-emmanuel
58b1f0d025 inspector: prevent error 2022-01-26 15:15:32 +01:00
jean-emmanuel
910c0e2468 fader/fastdom: fix redraw upon resize in horizontal mode 2022-01-26 15:09:39 +01:00
jean-emmanuel
fd5421b929 fastdom: prevent some errors 2022-01-26 14:14:23 +01:00
jean-emmanuel
f4a28dbec7 Merge branch 'master' into fastdom 2022-01-26 13:56:33 +01:00
jean-emmanuel
5e51760c9e editor: rm undefined function call 2022-01-26 12:13:48 +01:00
jean-emmanuel
5e90b86bfa inspector: lint/clean 2022-01-26 12:11:22 +01:00
jean-emmanuel
795142adfe inspector: commit color picker changes on dragend and remove action buttons (#771) 2022-01-26 12:06:51 +01:00
jean-emmanuel
e4846688c8 inspector: color picker overhaul (#771) 2022-01-26 11:57:33 +01:00
jean-emmanuel
05aa6bf998 script-vm: setInterval callback error handling 2022-01-24 12:05:05 +01:00
jean-emmanuel
41237d5bc8 package: v1.14.3 2022-01-24 11:25:58 +01:00
jean-emmanuel
09812748d3 button: locals.touchCoords not updated since v1.14.0 2022-01-24 11:24:59 +01:00
jean-emmanuel
6eeeffee99 modal: rendering issue on iOS (#770) 2022-01-23 14:53:39 +01:00
jean-emmanuel
52147ba0a6 osc receivers: apply the same rule as widgets regarding midi messages (only receive if the message's origin matches one of the host widget's midi targets) 2022-01-22 13:10:12 +01:00
jean-emmanuel
26207f0e70 clone/fragment: remove scripting properties as theyr are supposed to bo overriden in props 2022-01-22 11:40:58 +01:00
jean-emmanuel
6abedd948b package: v1.14.2 2022-01-21 20:09:20 +01:00
jean-emmanuel
feab5194d8 clone/fragment: broken onDraw / onTouch scripts if cloned widget is a canvas 2022-01-21 20:08:54 +01:00
jean-emmanuel
d673cb1e3a context-menu: double click issue in submenus on small touch screens 2022-01-21 17:33:34 +01:00
jean-emmanuel
6b50e40aef fastdom: canvas resize fix 2022-01-21 09:42:14 +01:00
jean-emmanuel
87c4b9777b docs: wrong header tag 2022-01-21 09:29:23 +01:00
jean-emmanuel
e7693d2277 fastdom: toying around with what works and what doesn't 2022-01-21 01:21:22 +01:00
jean-emmanuel
3e06e52948 fastdom: more batch 2022-01-20 20:23:55 +01:00
jean-emmanuel
e33d7263ee fastdom: unneeded measure 2022-01-20 19:32:09 +01:00
jean-emmanuel
334fda7c0d widget manager: keeping a list of scrolling widgets is useless now 2022-01-20 19:31:28 +01:00
jean-emmanuel
9f0319ec75 script: panel.scroll has changed 2022-01-20 19:25:15 +01:00
jean-emmanuel
876c3277b2 dom: batch dom operations that trigger layout calculation
panel: store raw scroll when scrolling and use that value when the editor needs it (avoids many layout trashing)
2022-01-20 19:21:42 +01:00
jean-emmanuel
2225a3f760 docs: formatting 2022-01-19 14:27:11 +01:00
jean-emmanuel
7f2d35f88c docs: formatting 2022-01-19 14:23:16 +01:00
jean-emmanuel
5de8dae2c4 code editor regression: misplaced tooltips 2022-01-18 13:12:26 +01:00
jean-emmanuel
f64947c5ee log 2022-01-18 12:33:55 +01:00
jean-emmanuel
5e85baa278 scripting: regression: missing try catch on code compilation 2022-01-18 12:32:34 +01:00
jean-emmanuel
291eb669c5 fragment-server: oops, missing else case: 2022-01-18 09:45:26 +01:00
jean-emmanuel
a8d356e22a server-fragment-manager: avoid reading files multiple times 2022-01-18 09:31:02 +01:00
jean-emmanuel
e0cac2a91c package: cache buster 2022-01-18 09:25:42 +01:00
jean-emmanuel
adf0895706 doc: rm ambiguity 2022-01-18 00:39:26 +01:00
jean-emmanuel
a01668fc07 fragment: don't call session/fragment constructor twice 2022-01-18 00:17:57 +01:00
jean-emmanuel
f419ac8bc7 fragment: avoid emitting unnecessary fragment-update event (may cause update loops when loading the same fragment simultaneously, see #767) 2022-01-18 00:12:24 +01:00
jean-emmanuel
ddd94d377c docs: update 2022-01-17 18:16:57 +01:00
jean-emmanuel
66592fc68b lint 2022-01-16 23:09:59 +01:00
jean-emmanuel
c956d0d1e9 scripting: special keyword this now returns the string "this" 2022-01-16 23:04:04 +01:00
jean-emmanuel
e83f12eac4 widget: missing custom variables in a prop update routing 2022-01-16 20:25:34 +01:00
jean-emmanuel
cfa6bd7645 scripting: setVar not affecting all widgets when mutliple widgets match provided id 2022-01-16 20:25:24 +01:00
jean-emmanuel
1ae5a33dcd docs: link 2022-01-16 12:03:47 +01:00
jean-emmanuel
740d1d874a docs: warn fragment vs import compat 2022-01-16 12:02:46 +01:00
jean-emmanuel
3d7586a189 inspector: code editor fs tweaks 2022-01-16 11:51:40 +01:00
jean-emmanuel
f06d9bb2ac editor: tweak fullscreen mode 2022-01-15 13:03:40 +01:00
jean-emmanuel
b496383413 editor: fullscreen button 2022-01-15 12:24:46 +01:00
jean-emmanuel
ce86c41531 widget: prop update routine misses fragment check 2022-01-15 11:14:47 +01:00
jean-emmanuel
9917a024dd vm; avoid error with non string codes 2022-01-14 21:25:24 +01:00
jean-emmanuel
bf6719d2c9 docs: advanced syntaxes in scripts 2022-01-14 13:55:41 +01:00
jean-emmanuel
286cf2fbd2 widget: updatea dvanced syntax update routine 2022-01-14 13:55:18 +01:00
jean-emmanuel
8ac1c1991f update docs and log 2022-01-14 12:40:30 +01:00
jean-emmanuel
47c6ea6cfc log: update 2022-01-13 13:56:26 +01:00
jean-emmanuel
5c08c7167e missing file 2022-01-13 13:56:07 +01:00
jean-emmanuel
e712e1b144 session: dont display version warning on fragment load 2022-01-13 13:54:54 +01:00
jean-emmanuel
73231ec5d4 scripting: fix legacy touch state 2022-01-13 13:16:24 +01:00
jean-emmanuel
f58d266902 log: script changes 2022-01-13 11:56:42 +01:00
jean-emmanuel
df6f9e110a scripting: refactor script to reduce heap (builtin script are not widgets anymore)
script widget: add onKeyboard and remove onEvent
2022-01-13 11:53:58 +01:00
jean-emmanuel
233c9c8920 server: remove BOM when loading json files 2022-01-13 10:22:13 +01:00
jean-emmanuel
0412ba2c28 custom-module: loadJSON: ignore BOM 2022-01-13 01:14:34 +01:00
jean-emmanuel
6e6c0adc56 canvas: props order 2022-01-12 16:02:19 +01:00
jean-emmanuel
3c6a0a047b widget: remove some dangling handlers 2022-01-12 14:54:24 +01:00
jean-emmanuel
24db0ed984 scrpting: restore legacy touch state feature, deprecate it and replace with a more generic onTouch handler 2022-01-12 14:42:39 +01:00
jean-emmanuel
d478de49f6 docs: update widget ref 2022-01-11 19:21:58 +01:00
jean-emmanuel
25bf5d6755 session: session convert warning 2022-01-11 19:12:03 +01:00
jean-emmanuel
6b1f782d33 canvas: expose additional touch event informations (radiusX, radiusY, rotationAngle and iOS-only altitudeAngle, azimuthAngle and touchType) 2022-01-11 19:00:25 +01:00
jean-emmanuel
e466c66052 multixy: prevent leaving empty elements to be consumed by canvas ctx.clearRect() 2022-01-11 17:51:33 +01:00
jean-emmanuel
0178079fb8 import fragment syntax: always import as raw text 2022-01-10 15:41:25 +01:00
jean-emmanuel
db86449b9a docs: settimeout note 2022-01-10 13:43:16 +01:00
jean-emmanuel
708a62613d clean file import syntax bindings 2022-01-10 11:26:06 +01:00
jean-emmanuel
9addc60df6 session: fix accessing session converters by version number 2022-01-10 10:44:39 +01:00
jean-emmanuel
697f3e8acc wip ext file import syntax 2022-01-10 10:43:59 +01:00
jean-emmanuel
e11f994b8f script-vm: rm debug log 2022-01-09 18:10:55 +01:00
jean-emmanuel
7a216a5da7 fragment: unbind fragment-update listener at removal 2022-01-09 17:45:26 +01:00
jean-emmanuel
518bcbb39b docs: prop rename 2022-01-09 16:11:53 +01:00
jean-emmanuel
346fb4fb9c docs: draw -> onDraw 2022-01-09 12:08:49 +01:00
jean-emmanuel
467b2cd4c2 - renamed script to onValue, draw to onDraw, touch to onTouch
- added `onCreate` script property to all widgets
2022-01-09 12:07:55 +01:00
jean-emmanuel
e8ce280308 script: setTimeout and clearTimeout should return an id 2022-01-08 17:40:33 +01:00
jean-emmanuel
52ecafd04b button.script: fix nasty bug where old value script may be called upon modification validated with a click on the button 2022-01-08 01:33:34 +01:00
jean-emmanuel
58af556065 electron client: add "cut" action to context menu 2022-01-03 12:51:52 +01:00
jean-emmanuel
19bbc1216c misc: sending typed arguments ({type, value} objects) should override the widget's typeTags definition 2021-12-31 12:12:18 +01:00
jean-emmanuel
ab39eff992 package: v1.13.2 2021-12-22 11:46:29 +01:00
jean-emmanuel
4ce9506e91 canvas: expose touch events for extra elements added with the html propery 2021-12-22 11:46:09 +01:00
jean-emmanuel
6b76631003 editor: update widget selection rectangle when the widget's size changes 2021-12-20 11:30:46 +01:00
jean-emmanuel
ac33640a42 lint 2021-12-20 11:25:41 +01:00
jean-emmanuel
98b1e05478 editor: keep relative sizes and positions when resizing multiple widgets at a time 2021-12-20 11:21:52 +01:00
jean-emmanuel
447729443f canvas: expose touch pressure (as event.force) in the touch script. 2021-12-19 17:41:17 +01:00
jean-emmanuel
cb68a80309 editor: data loss when leaving the editor's focus with no modifications 2021-12-19 14:28:14 +01:00
jean-emmanuel
490577b8a4 package: release v1.13.0 2021-12-18 18:50:17 +01:00
jean-emmanuel
67b28fae37 update docs 2021-12-18 18:50:03 +01:00
jean-emmanuel
1b60756ce1 github: ext browser may be firefox 2021-12-18 17:30:06 +01:00
jean-emmanuel
818375c57f ui: prevent conflicting alt key binding 2021-12-17 09:56:22 +01:00
jean-emmanuel
80c0f40106 editor: 2 spaces indent; add editor without syntax checking for containter.props 2021-12-17 09:26:20 +01:00
jean-emmanuel
7dcf4afe52 ui: change fragment warning style 2021-12-16 12:15:50 +01:00
jean-emmanuel
db0fd1af05 ui: color scheme balance 2021-12-16 11:29:05 +01:00
jean-emmanuel
fdbf0a561e docs:add custom module merger example 2021-12-15 17:06:07 +01:00
jean-emmanuel
6ef10f7b89 release beta 2021-12-15 14:26:24 +01:00
jean-emmanuel
681c6f3292 lint 2021-12-15 14:26:06 +01:00
jean-emmanuel
a697eb659d ui: code editor help modal, revert checkboxes margin change 2021-12-15 14:22:49 +01:00
jean-emmanuel
1bed4962e4 ui: tree: change fragment warning position
ui: inspector: change help cursor
2021-12-15 11:37:51 +01:00
jean-emmanuel
ac74d28d0e ui: widget tree tweaks 2021-12-15 11:31:07 +01:00
jean-emmanuel
21982b6bc7 ui: cancel last change 2021-12-14 19:54:35 +01:00
jean-emmanuel
e88908fde4 tabs: style tweak 2021-12-14 19:48:19 +01:00
jean-emmanuel
bfefba5819 ui: remove some accent-color borders 2021-12-14 19:36:47 +01:00
jean-emmanuel
f04c506ce3 root: add hideMenu option 2021-12-14 19:36:33 +01:00
jean-emmanuel
2577a6ea72 editor: minor changes 2021-12-14 18:16:29 +01:00
jean-emmanuel
53bc910853 edutor: use colors instead of icons to indicate lint errors 2021-12-14 15:58:39 +01:00
jean-emmanuel
9cba47f401 editor: quircks 2021-12-14 15:40:56 +01:00
jean-emmanuel
6c8a0dbe55 editor:tooltip style 2021-12-14 13:15:58 +01:00
jean-emmanuel
58872c2814 inspector: better layout for editor 2021-12-14 13:04:08 +01:00
jean-emmanuel
661b2d60b0 ui: reduce ui font weight and tweak inspector 2021-12-14 12:12:28 +01:00
jean-emmanuel
dd89273ce0 package: fixed brace version 2021-12-14 10:04:17 +01:00
jean-emmanuel
3213dfdbce editor: getting there 2021-12-14 09:59:21 +01:00
jean-emmanuel
fc09b2d444 editor: fix quirck on blur 2021-12-14 09:36:35 +01:00
jean-emmanuel
cd50f76cb4 editor: more tweaks 2021-12-13 23:52:01 +01:00
jean-emmanuel
99dc837cfd log: wrong name 2021-12-13 19:47:05 +01:00
jean-emmanuel
941252f728 inspector: clean editor theme 2021-12-13 19:15:50 +01:00
jean-emmanuel
7c654e6412 console: attempt to fix line numbers in script errors 2021-12-13 18:56:49 +01:00
jean-emmanuel
9aade43059 package: next will be 1.13 2021-12-13 18:56:39 +01:00
jean-emmanuel
a46f9ee2f0 log: latests changes 2021-12-13 18:56:17 +01:00
jean-emmanuel
fa27696b6f scripting: fix stateGet() 2021-12-13 18:54:11 +01:00
jean-emmanuel
e61202f147 inspector: reset code editor undo history at init 2021-12-13 18:53:50 +01:00
jean-emmanuel
8872d68b7c inspector: code editor tweaks 2021-12-13 17:55:12 +01:00
jean-emmanuel
dfdce7d12c code editor: fix context menu 2021-12-13 13:32:24 +01:00
jean-emmanuel
14604b9d5a editor: prevent error when right clicking on widget from inspector field 2021-12-13 13:25:36 +01:00
jean-emmanuel
55502844c7 lint 2021-12-13 13:00:53 +01:00
jean-emmanuel
3aefa6935f lint< 2021-12-13 12:50:43 +01:00
jean-emmanuel
1058cb551c inspector: code editor for script/touch/draw properties 2021-12-13 12:40:09 +01:00
jean-emmanuel
0a1b30416f button: safe script string search 2021-12-13 10:20:04 +01:00
jean-emmanuel
21bcea4f74 log: set() script flag 2021-12-08 18:53:34 +01:00
jean-emmanuel
f173bc20d4 scripting: set(): add script flag to prevent script execution 2021-12-07 08:00:42 +01:00
jean-emmanuel
97a754c047 docs: valueLength example 2021-12-07 07:43:02 +01:00
jean-emmanuel
c09f529703 more docs 2021-12-06 22:01:59 +01:00
jean-emmanuel
2b82b13d05 package: v1.12.0 2021-12-06 17:25:09 +01:00
jean-emmanuel
11f02acdf3 ipc: lesser aggressive client disconnection dectection 2021-12-06 17:23:55 +01:00
jean-emmanuel
2f8f15939e canvas: doc links & better value length check 2021-12-06 17:18:01 +01:00
jean-emmanuel
4a0ada5c3d canvas widget: change default alpha-fill-on 2021-12-06 14:34:19 +01:00
jean-emmanuel
7b7ed29fbb docs: typo 2021-12-06 14:27:06 +01:00
jean-emmanuel
dc8aa1941b docs: some typos & clean 2021-12-06 14:23:32 +01:00
jean-emmanuel
31605085dd canvas widget: add valueLength option and multislider example 2021-12-06 14:06:51 +01:00
jean-emmanuel
383e5b9cb1 docs: canvas widget 2021-12-06 12:26:16 +01:00
jean-emmanuel
6478d3362b canvas widget: call sync/script before send because we might need to reupdate the value before sending occurs 2021-12-06 12:20:33 +01:00
jean-emmanuel
3a872f6920 canvas widget: pretty much working 2021-12-06 12:01:05 +01:00
jean-emmanuel
df101eac0e lint 2021-12-05 16:45:07 +01:00
jean-emmanuel
8167f2c588 button: invert touchCoords y-axis for consistency with xy pads 2021-12-05 16:41:39 +01:00
jean-emmanuel
5371989084 button: touchCoords typos 2021-12-05 16:39:55 +01:00
jean-emmanuel
d11fd0c366 button: expose generic normalized touchCoords instead of velocity 2021-12-05 16:31:45 +01:00
jean-emmanuel
16a87b5b0b script: print warning when using advanced syntaxes in scripts. 2021-12-05 16:16:05 +01:00
jean-emmanuel
74fdf17efd button: early implementation of velocity property (maps touch y-coord to off-on value and expose it in script) 2021-11-21 15:49:25 +01:00
jean-emmanuel
57959bcdf6 panel: fix initial scroll 2021-11-20 12:40:43 +01:00
jean-emmanuel
461953be0d package: update node sass 2021-11-20 12:23:48 +01:00
jean-emmanuel
eeca745aaa add comment 2021-11-20 12:22:35 +01:00
jean-emmanuel
5521e0ade2 client: make disconnection detection less aggressive 2021-11-20 12:10:27 +01:00
jean-emmanuel
4b56e99074 update docs 2021-11-05 16:51:09 +01:00
jean-emmanuel
bcf8954d9c client options specified in server config not working unless lowercased 2021-11-05 16:50:49 +01:00
jean-emmanuel
3a66388335 server: print explicit error if a file is not foundin assets/ or client/ 2021-10-26 19:54:13 +02:00
jean-emmanuel
0c57702a5b theme: relative url not resolved correctly 2021-10-26 19:51:47 +02:00
jean-emmanuel
c97372739c containers: prevent errors with some color formats in colorWidget 2021-10-25 08:42:04 +02:00
jean-emmanuel
509fcb7f2f log: typo 2021-10-22 12:42:54 +02:00
jean-emmanuel
897db8108d misc: print full debug stack in browser debug console in case widget.errorProp() is not precise enough 2021-10-22 12:39:48 +02:00
jean-emmanuel
899c40bdc2 script: print explicit error when script functions are called in the wrong scope (ie when leaked using the globals object) 2021-10-22 12:39:42 +02:00
jean-emmanuel
54776212e8 menu: interaction issue on iOS 2021-10-21 10:08:48 +02:00
jean-emmanuel
bcb02201ea lint 2021-10-19 11:45:24 +02:00
jean-emmanuel
f6f56398e3 panel: expose scroll position in value if it contains widgets and scroll is true 2021-10-19 11:36:47 +02:00
jean-emmanuel
3fee5367ad project tree: pinned filter input 2021-10-09 13:15:52 +02:00
jean-emmanuel
8e3ed213e2 log: missing version 2021-10-07 13:13:03 +02:00
jean-emmanuel
2c54dff74c server: allow widgets without typeTags to send messages 2021-10-07 11:22:42 +02:00
jean-emmanuel
99b043433d script: uncaught exceptions in timeout callbacks 2021-10-07 11:16:36 +02:00
jean-emmanuel
11c3e3324e read-only mode: hide & disable main menu 2021-10-07 11:11:08 +02:00
jean-emmanuel
c39f4670b4 launcher: prevent erasing config file when closing window 2021-10-07 10:42:36 +02:00
jean-emmanuel
ca627678db server: windows electron vs node detection fix #2 2021-10-03 23:10:41 +02:00
jean-emmanuel
53497f2cd8 package: 1.10.2 2021-10-03 22:02:11 +02:00
jean-emmanuel
fbab1d13c5 server: node vs electron mode distinction not working on windows 2021-10-03 22:01:33 +02:00
jean-emmanuel
c90fec4285 regression breaking colors in canvas-based widgets 2021-10-03 22:01:17 +02:00
jean-emmanuel
4dc6b46145 lint 2021-10-02 13:29:04 +02:00
jean-emmanuel
b872d2a286 server: electron 15 compat 2021-10-02 13:24:32 +02:00
jean-emmanuel
46efc82315 package: electron version bis 2021-10-02 12:40:10 +02:00
jean-emmanuel
9538b3c6fb package: 1.10.1 2021-10-02 11:26:27 +02:00
jean-emmanuel
bea0a2fdc6 package: update electron (fix root certificate error) 2021-10-02 11:24:34 +02:00
jean-emmanuel
bf402da20d log: correct version 2021-09-29 13:27:35 +02:00
jean-emmanuel
99ed31be38 lint 2021-09-29 13:19:07 +02:00
jean-emmanuel
40d2f3a820 package: 1.10.0 2021-09-29 13:14:40 +02:00
jean-emmanuel
04af3e79b5 add Save backup menu action (saves a backup copy of current session with an incremented suffix appended to the file name) 2021-09-29 13:13:12 +02:00
jean-emmanuel
ba08aa628e console: fix command history behavior and increase history size 2021-09-29 09:56:29 +02:00
jean-emmanuel
241f36d499 textarea: clean 2021-09-29 09:45:59 +02:00
jean-emmanuel
e8004e2db5 doc: better explaination of css vars 2021-09-29 09:41:05 +02:00
jean-emmanuel
55cc2bdab3 canvas: force computation of css var containing calc() or var() 2021-09-29 09:37:49 +02:00
jean-emmanuel
9e16fff2fa expose the computed dimensions of canvas-based widgets in css (as --widget-width and --widget-height) and script (as locals.width and locals.height) 2021-09-29 09:37:37 +02:00
jean-emmanuel
ce353d1b59 inspector: allow scrolling in the help modal 2021-09-29 09:37:17 +02:00
jean-emmanuel
4a91fc77c1 log: missing entry 2021-09-29 09:24:49 +02:00
jean-emmanuel
1587165c62 widgets: textarea proto 2021-09-27 11:25:11 +02:00
jean-emmanuel
51260d98e6 encoder: missing coma 2021-09-27 10:49:47 +02:00
jean-emmanuel
fa9dffdfcb encoder: expose angle in script (as locals.angle) 2021-09-27 10:39:53 +02:00
jean-emmanuel
ef5cc4e227 sliders: ignore key order in range 2021-09-22 08:28:04 +02:00
jean-emmanuel
5c700965f7 sliders: handle stepped mousewheel increment when starting from a value between two steps 2021-09-20 13:58:12 +02:00
jean-emmanuel
d98e00ece7 server: add some comments to addWidgets and sendOsc 2021-09-20 10:38:07 +02:00
jean-emmanuel
5b89f9dd00 docs: sliders.step default is empty, not "auto" 2021-09-20 10:37:28 +02:00
jean-emmanuel
5c7dea61ad html widget: add html class to inner wrapper for consistency with other widgets 2021-09-20 09:56:39 +02:00
jean-emmanuel
8a113b5905 docs: html is unstyled by default 2021-09-20 09:56:20 +02:00
jean-emmanuel
5f9f725310 matrix: nested property inheritance (eg. @{id_@{id_x}}) not working in props 2021-09-14 09:29:23 +02:00
jean-emmanuel
91d018f06e modal: remove html property 2021-09-07 09:29:08 +02:00
bordun
f3fa8cc7dd package: 1.9.13 2021-08-26 12:58:02 +02:00
bordun
1e0f3fedfd canvas based widgets not updating when hidden 2021-08-26 12:57:16 +02:00
bordun
fc39312588 advanced syntax: nested property inheritance (eg. @{id_@{id_x}}) not updating properly 2021-08-26 12:42:50 +02:00
jean-emmanuel
59ddfac7a9
Merge pull request #747 from erictheise/typos
Another batch of documentation typos.
2021-08-26 09:52:17 +02:00
Eric Theise
7b9caa3d00 Another round of documentation typo cleanup. 2021-08-25 21:49:09 -07:00
Eric Theise
a4c5b6adc0 Typo: chile -> while. 2021-08-07 15:11:32 -07:00
jean-emmanuel
e713541c4f package: 1.9.12 2021-08-05 09:16:42 +02:00
jean-emmanuel
ac9846a1fd sliders: prevent errors for some edge-case range values 2021-08-05 09:16:11 +02:00
jean-emmanuel
cc31377a06 docs: typo 2021-08-02 10:56:11 +02:00
jean-emmanuel
fb26ec39af log: 1.9.12 fix 2021-08-02 10:54:45 +02:00
jean-emmanuel
4ff6352fb3
Merge pull request #742 from erictheise/doc-typos
Fix for #741; documentation typos.
2021-08-02 10:54:03 +02:00
Eric Theise
81427b4e3d Fix for #741; documentation typos. 2021-08-01 17:18:03 -07:00
jean-emmanuel
a5ce37e51f
Create FUNDING.yml 2021-07-03 11:15:57 +02:00
jean-emmanuel
684bb33070 clientoptions: fix case sensitivity 2021-06-27 22:43:36 +02:00
jean-emmanuel
4ba34040ca package: 1.9.11 2021-06-26 09:46:19 +02:00
bordun
638244d6c0 client-options: make them case-insensitive & fix typo in docs 2021-06-23 22:35:52 +02:00
bordun
7528f702aa built-in client: add nofocus client option to prevent the client window from taking focus unless a text input or a dropdown is clicked 2021-06-23 22:32:24 +02:00
bordun
13c7f80052 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-06-22 19:57:09 +02:00
jean-emmanuel
7ffa07282a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-06-15 20:10:22 +02:00
jean-emmanuel
6e8a79ea90 range: value not properly updated with set() 2021-06-15 20:09:28 +02:00
bordun
cd289b27d1 script: inform how to bypass infinite loop protection 2021-06-15 19:19:20 +02:00
bordun
af4f0d63aa docs: phrasing 2021-06-12 17:37:28 +02:00
bordun
e300d6187c lint: fix 2021-06-12 14:39:41 +02:00
bordun
c369b73549 package: v1.9.10 2021-06-12 14:29:29 +02:00
bordun
ee675a7dbd midi: detect missing binary (eg when deleted by antivirus) and print a message 2021-06-12 14:28:23 +02:00
bordun
c5c3c992f2 readme: irc server 2021-06-11 12:49:04 +02:00
bordun
261f3c6105 log: matrix fix 2021-06-11 12:48:15 +02:00
bordun
db734493b2 matrix: broken nested @{} syntax in props property 2021-06-11 12:47:58 +02:00
bordun
0d420101ae package v1.9.9 2021-06-03 20:48:33 +02:00
bordun
6f772c94bd matrix: regression from 1.9.8 2021-06-03 20:47:26 +02:00
bordun
43fb94ca9d log: format 2021-05-20 11:25:08 +02:00
bordun
ad96b9741b package: 1.9.8 2021-05-20 11:16:20 +02:00
bordun
69d3bbb0e5 docs: update 2021-05-20 11:12:08 +02:00
bordun
12a88787f2 docs: setVar link to VAR{} syntax 2021-05-20 11:11:00 +02:00
bordun
422cec2ba4 panel: scrollbar issue on iOS 13+ 2021-05-20 11:10:54 +02:00
bordun
c89252f4cc tree: blink selection when hitting "t" too 2021-05-16 11:15:19 +02:00
bordun
c3f466d652 log: update 2021-05-16 11:11:54 +02:00
bordun
4939ab1964 fragments: fragment widgets empty when reloading 2021-05-16 11:11:49 +02:00
bordun
2e8299c5df Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-15 23:33:52 +02:00
bordun
a477d202ed widget: slightly optimize css property update 2021-05-15 23:33:24 +02:00
jean-emmanuel
ae5ee833b1 widgets: reduce scope of commit 073bf9e857 2021-05-14 10:22:27 +02:00
jean-emmanuel
74ac95bca5 lint 2021-05-14 00:33:57 +02:00
jean-emmanuel
073bf9e857 matrix: resolve, cache and compare 'props' against all possible values for $ (needs testing) 2021-05-14 00:32:13 +02:00
bordun
fc8c843e84 scripting: expose console.clear() 2021-05-10 20:26:35 +02:00
bordun
19624c36d3 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-10 20:26:31 +02:00
bordun
9ae6329690 editor: extra separator in context menu in some cases 2021-05-10 20:23:01 +02:00
bordun
aac8952ecc editor: hide position actions when more than 1 widget are selected 2021-05-10 20:22:30 +02:00
jean-emmanuel
b033ddec40 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-09 18:34:59 +02:00
bordun
4fd618ae65 package: 1.9.7 2021-05-08 19:26:16 +02:00
bordun
fc89416653 docs: dead link
editor: partly revert 866890d7ab (contains unfinished changes)
2021-05-08 19:22:18 +02:00
bordun
cd55407e40 input: improve numeric mode on iOS 2021-05-08 19:04:27 +02:00
bordun
ccd11ad569 misc: syntax error 2021-05-08 16:27:55 +02:00
bordun
c1669cd03d advanced syntaxes (VAR{}): ignore quotes around variable name 2021-05-08 16:17:43 +02:00
bordun
41ff331235 misc: JS{} error log 2021-05-08 16:09:04 +02:00
bordun
15b52a5d25 advanced syntaxes (VAR{}): avoid storing default value as string if it can be parsed as a javascript primitive (boolean, number, etc) 2021-05-08 16:04:44 +02:00
bordun
e98f270690 matrix: advanced syntax blocks can be passed to children without being resolved at the matrix\' scope by adding an underscore before the opening bracket 2021-05-08 12:42:50 +02:00
bordun
6a2b69bad7 text: add soft mode for the wrap property 2021-05-08 12:35:27 +02:00
jean-emmanuel
16c3ac203d docs: typo 2021-05-07 13:19:18 +02:00
bordun
827ea47b6f matrix: removed ambiguous start property 2021-05-07 08:52:34 +02:00
bordun
38c2750b14 script: bypass keyboard shortcuts already used by the editor if it is enabled 2021-05-07 08:47:47 +02:00
bordun
b39477dd12 docs: editor arrow shortcuts 2021-05-07 08:45:57 +02:00
bordun
9dc123f3e3 editor: change keyboard shortcuts for moving widgets (now mod + arrows) and navigating in widgets (now arrows) to feel more natural with the project tree view 2021-05-07 08:28:12 +02:00
bordun
1987f900a0 issue when resizing widget using keyboard shortcuts 2021-05-07 08:25:52 +02:00
bordun
8b1d09116d misc: remove debug log 2021-05-07 08:11:02 +02:00
jean-emmanuel
92355257fe package: 1.9.6 2021-05-06 22:38:36 +02:00
jean-emmanuel
47df8ec5e8 mac: missing cmd + a accelerator 2021-05-06 22:38:13 +02:00
bordun
70c19d1706 panel: choices for traversing property in inspector 2021-05-06 21:28:35 +02:00
bordun
3eba3f636a inspector: display dropdown and checkbox for boolean properties with extra choices 2021-05-06 21:26:34 +02:00
bordun
a3c3c640fa log: wrap 2021-05-06 21:11:09 +02:00
bordun
3e97e84943 button, switch: add soft wrap mode 2021-05-06 20:27:50 +02:00
bordun
231f5c8312 docs: gridTemplate 2021-05-06 20:17:45 +02:00
bordun
8370f350e8 ui: add keyboard shortcuts mod + "+" and mod + "-" to control zoom level 2021-05-06 18:24:10 +02:00
jean-emmanuel
9d74c0e279 advanced syntax: when editing VAR{} default value, make sure to update other properties using that VAR 2021-05-06 14:33:38 +02:00
jean-emmanuel
5744b33daf Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-06 14:29:29 +02:00
jean-emmanuel
60621203e5 advanced syntaxes: VAR{} not updating when the default value is edited 2021-05-06 14:27:31 +02:00
jean-emmanuel
16442b664f editor: fix "Bring to front" and "Send to back" context menu actions 2021-05-06 13:57:05 +02:00
bordun
99cd75c83f input: add numeric property (allows numeric values only and displays numeric keyboard on mobile devices) 2021-05-05 18:05:56 +02:00
bordun
ab6ea54528 package: 1.9.5 2021-05-05 17:33:52 +02:00
jean-emmanuel
2aea8c6cf0 gh: issue template title hint 2021-05-05 15:18:48 +02:00
jean-emmanuel
b36496bf4b log: format 2021-05-05 13:06:08 +02:00
jean-emmanuel
98a3a21e0a editor: preserve advanced syntaxes in left and top when pasting a widget 2021-05-05 12:59:11 +02:00
jean-emmanuel
13573b7092 advanced syntaxes: various isses and regressions 2021-05-05 12:47:49 +02:00
jean-emmanuel
0b2f72db92 advanced syntaxes: yet another regression fixed 2021-05-05 12:38:48 +02:00
jean-emmanuel
5296eda80d log: update 2021-05-05 10:13:12 +02:00
jean-emmanuel
7185160e18 log: update 2021-05-05 10:11:18 +02:00
jean-emmanuel
e08b73aba0 tree: update widget visibility when it changes dynamically 2021-05-05 10:09:05 +02:00
jean-emmanuel
9844804d98 remote control: add /SCRIPT command to run scripts remotely 2021-05-05 09:48:22 +02:00
jean-emmanuel
e417399158 advanced syntaxes: fix nested bracket regression, remove need for 2 brackets in JS{} 2021-05-05 09:41:06 +02:00
jean-emmanuel
88ce77ab70 custom vars: reset links when edited; force update when editing only the default value 2021-05-04 09:22:16 +02:00
jean-emmanuel
05854c7ad8 make tree item blink when hitting "Show in tree" 2021-05-03 09:00:00 +02:00
jean-emmanuel
6439cddfa6 docs: typo 2021-05-02 22:22:53 +02:00
jean-emmanuel
d209f2d285 lint 2021-05-02 11:14:55 +02:00
jean-emmanuel
ca4ccf181b scripting: expose session path as globals.session 2021-05-02 11:04:22 +02:00
jean-emmanuel
e80711e2da log: indent 2021-05-02 11:02:33 +02:00
jean-emmanuel
41209c4d70 docs: fix toolbar() example 2021-05-02 09:17:33 +02:00
jean-emmanuel
eea4e11cf0 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-01 17:57:05 +02:00
jean-emmanuel
99ae34103c advanced syntax: VAR{} 2021-05-01 17:56:47 +02:00
bordun
9605cdc978 log: custom variables 2021-05-01 17:12:15 +02:00
bordun
b56d05713d docs: VAR{}, getVar, setVar 2021-05-01 17:08:32 +02:00
bordun
fbc2eda1cd Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-05-01 16:15:57 +02:00
bordun
75f600d200 docs: fancy download links 2021-05-01 16:15:09 +02:00
jean-emmanuel
daa9038dfe props: prevent error with empty OSC{} blocks 2021-05-01 09:20:39 +02:00
bordun
e0cd1bf163 docs: add changelog 2021-04-30 18:32:29 +02:00
bordun
866890d7ab package: v1.9.3 2021-04-30 14:38:25 +02:00
bordun
e02cc3de24 dropdown: reset the underlying dropdown when the widget's value is undefined 2021-04-30 14:37:42 +02:00
bordun
dab6093c4b Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-04-30 14:29:18 +02:00
bordun
c28eadb6da console: make built-in script error clickable 2021-04-30 14:27:13 +02:00
jean-emmanuel
9b0e8e6b50 log: fix 2021-04-29 22:15:35 +02:00
bordun
ac2f0d9950 tree: add "Show in session" context menu action 2021-04-29 21:03:49 +02:00
bordun
9470aba0ec editor: fix "ID + 1" paste for widgets with numeric ids 2021-04-29 14:05:26 +02:00
bordun
1a822416f8 editor: don't show project tree when creating a new widget (1.9.2 regression) 2021-04-29 14:03:01 +02:00
bordun
5b63b686e5 lint: allow cond assign 2021-04-29 14:02:48 +02:00
bordun
385ed003de widget: use balanced-match instead of regexp to parse advanced syntaxes (fixes #714) 2021-04-29 13:48:43 +02:00
bordun
d72dad50e1 editor: tabs not sending messages / triggering scripts when clicked in editing mode (regression in 4ca8d0129a) 2021-04-29 09:22:57 +02:00
bordun
d802345f23 tree: allow specifying multiple type filters 2021-04-29 09:14:27 +02:00
bordun
55a5e4d751 scripting: set() not working from a slider to a pad 2021-04-29 09:06:10 +02:00
bordun
1e9530625c docs: update 2021-04-28 17:05:11 +02:00
bordun
72a8b87ca9 package: v1.9.2 2021-04-28 12:43:34 +02:00
bordun
aa7c19dc86 editor: select newly created widgets/tab except when copy-pasting 2021-04-28 12:42:09 +02:00
bordun
5f83b062a6 tree: add support for filtering widgets by type (by typing type:fader for example) (wip) 2021-04-28 09:15:58 +02:00
bordun
a402cd4aa0 tree: misc 2021-04-28 08:59:39 +02:00
bordun
f5705fe39b tree: expand container when a new widget is created inside it 2021-04-28 08:55:02 +02:00
bordun
9bc8dab374 menu: prevent clipping in container on iOS 2021-04-27 20:16:56 +02:00
bordun
977da06db4 docs: absolute position phrasing 2021-04-27 19:57:59 +02:00
bordun
591a996fd6 osc listener: default value should always be parsed as json (regression in 7e0921fb89) 2021-04-27 19:29:48 +02:00
bordun
acc405c100 editor: keep editor open when loading a session 2021-04-27 19:22:59 +02:00
bordun
ff7385d516 tree: show widget in tree after drag-sorting 2021-04-26 19:57:51 +02:00
bordun
930ecebbe6 lint 2021-04-26 19:54:30 +02:00
bordun
51791ea6d8 tree: dragging: add placeholder and display a thin ghost at new index 2021-04-26 19:53:07 +02:00
bordun
8568c72a8b tree: allow dragging widgets from a container to another 2021-04-26 18:44:43 +02:00
bordun
7ea95702e8 editor: smarter shift+drag selection: allow selecting widgets in the area when the event started on the parent container 2021-04-26 11:43:40 +02:00
bordun
d402a473c9 tree: prevent selecting widgets from different levels with shift 2021-04-26 11:08:07 +02:00
bordun
de99c8577e Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-04-26 10:55:48 +02:00
bordun
0b97c1b37d editor: drag area improvement (wip) 2021-04-26 10:55:26 +02:00
bordun
35fab73b88 tree: tab activation causing error on shift click 2021-04-26 10:54:03 +02:00
jean-emmanuel
61af2a1970 lint 2021-04-26 10:07:32 +02:00
jean-emmanuel
1b807374d2 tree: mode icons 2021-04-26 10:02:46 +02:00
jean-emmanuel
dde39a9c35 docs: arm64 build 2021-04-26 09:11:45 +02:00
jean-emmanuel
4ca8d0129a server: fix serving files from paths containing accents 2021-04-25 20:18:35 +02:00
bordun
6f6ef4aa5a remote control: add /STATE/SEND command 2021-04-24 11:54:37 +02:00
bordun
02ba090baf log: tree icons 2021-04-24 10:27:47 +02:00
bordun
39a156c898 text: add vertical alignment choices to align 2021-04-24 10:25:50 +02:00
bordun
cbcbfab3d1 tree: widget icons 2021-04-24 10:10:02 +02:00
bordun
e893e7bf09 tree: activate tab when selecting it in the project tree 2021-04-24 09:52:42 +02:00
jean-emmanuel
2d5ae8219d visualizer: remove bars and dots option; plot: fix bars option 2021-04-24 09:27:35 +02:00
jean-emmanuel
1c3812bb05 project tree: clear filter input when loading a session 2021-04-24 09:12:38 +02:00
jean-emmanuel
8017c7a0f7 docs: typo 2021-04-24 09:02:38 +02:00
jean-emmanuel
f356541e58 visualizer: remove bars option 2021-04-23 18:36:29 +02:00
jean-emmanuel
d3df6cc024 inspector: disable root.id input 2021-04-23 14:01:45 +02:00
jean-emmanuel
18d8f36d60 console: don't insert whitespaces on tab keydown if input is empty 2021-04-23 13:59:13 +02:00
jean-emmanuel
81ef063c9a tree: widget icons (wip) 2021-04-23 13:54:09 +02:00
jean-emmanuel
a0df774ced image: add pre defined values for size, position and repeat properties 2021-04-23 13:50:29 +02:00
jean-emmanuel
e6c7631d20 docs: update 2021-04-23 10:30:16 +02:00
jean-emmanuel
6cc1a26127 scripting: expose instance of navigator as globals.clipboard 2021-04-23 10:28:25 +02:00
jean-emmanuel
f3acec538f scripting: prevent crash (built-in client only) when using the variable navigator 2021-04-23 10:28:15 +02:00
jean-emmanuel
6813be50fb launcher: regression preventing server halt when built-in client is closed manually beforehand 2021-04-23 10:18:54 +02:00
bordun
5459eb1950 package: update dependencies 2021-04-22 14:54:25 +02:00
bordun
3b7d4b77e1 doc: preArgs details 2021-04-22 14:51:31 +02:00
bordun
5bdbf2b637 v0 compat: regexp fix 2021-04-22 14:32:45 +02:00
jean-emmanuel
381232b934 log: fix 2021-04-22 10:07:46 +02:00
jean-emmanuel
7a4e978264 log: typo 2021-04-22 10:07:08 +02:00
jean-emmanuel
1e3aab0541 session: v0->v1 session conversion: remove JS{{}} in script property 2021-04-21 23:16:29 +02:00
bordun
5d37ba109a menu/switch/dropdown: reset value to undefined when receiving a value that's not defined in values 2021-04-21 16:58:31 +02:00
bordun
db165faa9f editor: use css variable --grid-width at startup (allow overriding) and after disabling & enabling the grid 2021-04-21 16:45:44 +02:00
bordun
1c5876246b button: all writing strings like "1.0" in label without removing the decimals 2021-04-21 16:17:02 +02:00
bordun
824a62aaa8 inspector: revert 8de0318612, it's unnecessary (#515) 2021-04-21 16:10:33 +02:00
bordun
7e0921fb89 osc listener: only json-parse stringified objects/arrays/bool/null, not stringified primitives 2021-04-21 15:55:34 +02:00
bordun
1946549514 package: bump version 2021-04-21 15:44:07 +02:00
bordun
92878c1541 midi: bump version 2021-04-21 15:43:50 +02:00
bordun
a6e60e172c midi: allow sending note off with velocity, add option for receiving note off with velocity 2021-04-21 15:43:12 +02:00
bordun
996537d60b package: v1.9.0 2021-04-18 18:01:45 +02:00
bordun
c07ba5335d tree: show project tree if minimzed when clicking on "Show in tree" 2021-04-18 12:20:11 +02:00
bordun
16a0d68dc6 widgets: add comments property to all widgets 2021-04-18 12:10:14 +02:00
bordun
54ea332ad6 launcher: cancel stopping the server when there are unsaved changes in the built-in client 2021-04-18 12:03:58 +02:00
bordun
44f43cb144 fragment: dome doc + save as fragment mode 2021-04-15 16:32:54 +02:00
bordun
f35c3cf523 remote control: /LOG 2021-04-15 16:24:44 +02:00
bordun
b28d7faf5b input: display issue when resizing the window 2021-04-15 11:22:21 +02:00
bordun
9756e8923d launcher: add Always on top menu toggle 2021-04-08 15:31:29 +02:00
bordun
95c0103a85 fragment: compat fix 2021-04-08 11:24:49 +02:00
bordun
eba8eb2df6 midi: make sure to ignore non-parameters cli args 2021-04-08 11:24:39 +02:00
bordun
ee3a24e6fc fragment: dynamic "props" property 2021-04-04 11:34:24 +02:00
bordun
972d48cf48 clone: clean 2021-04-04 11:34:16 +02:00
bordun
75a9173fcb dev: persistent fragments upon auto reload 2021-04-04 11:33:50 +02:00
bordun
1ab5291f63 docs: update 2021-04-04 11:07:53 +02:00
bordun
7ff2bb156c fragments: fix & clean 2021-04-04 11:04:38 +02:00
bordun
f3666f5acf fragment: dry 2021-04-03 19:57:18 +02:00
bordun
493b47a259 clean 2021-04-03 18:34:05 +02:00
bordun
d5456b80ec fragment: log 2021-04-03 18:30:15 +02:00
bordun
e5bbb15071 fragment: server cache / relative path resolve / auto reload 2021-04-03 18:22:41 +02:00
bordun
0c9d2a2e4b fragment: wip
TODO:
- server side file cache
- relative path resolve
- watch/autoreload
2021-04-03 14:40:17 +02:00
bordun
b4296d2ea5 deps: downgrade sanitize html (no longer supports browser) -> regression breaking style attribute in html property 2021-03-27 17:20:31 +01:00
bordun
81f503dc3d custom module: clearInterval() not working 2021-03-27 12:11:43 +01:00
bordun
8d240fb230 ui: local zoom tweaks and fix 2021-03-22 09:01:17 +01:00
bordun
a5dd8f3726 editor: error when duplicating widget while if the clipboard is empty 2021-03-22 08:29:38 +01:00
bordun
ff99620746 docs: update 2021-03-21 19:16:41 +01:00
bordun
d15bb0ea32 ios: fix ios13 detection with chrome user agent (fixes scrolling) 2021-03-21 19:13:02 +01:00
bordun
92e46402ad ios: generate scrollbars for panels on iOS 13+ 2021-03-21 18:58:14 +01:00
bordun
a972c1a31a editor: incremental pasting issue with address property 2021-03-20 15:52:43 +01:00
bordun
61b6ae00b4 editor: alt+shift+c not working when pressed before dragging 2021-03-20 15:34:58 +01:00
bordun
67914f96d4 inspector: gradient bg for property separators
ui: panel header: stronger accent line
2021-03-20 15:20:37 +01:00
bordun
6bac6ea39f inspector: move script property to scripting category 2021-03-20 15:15:05 +01:00
jean-emmanuel
1a7b824e73 editor: add mod+d and mod+shift+d for duplicating widgets; use a temporary clipboard when duplicating widgets 2021-03-20 09:50:08 +01:00
bordun
68fbe2c56f docs: update 2021-03-19 18:53:49 +01:00
bordun
2522c76326 package: v1.8.13 2021-03-19 18:53:23 +01:00
bordun
7c1be1adc2 lint 2021-03-19 18:52:40 +01:00
bordun
fc78e64bda Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-03-19 18:51:53 +01:00
bordun
17c76ac3fc sliders/pads: apply spring property dynamically 2021-03-19 18:51:41 +01:00
jean-emmanuel
360e57e19a lint 2021-03-17 19:10:23 +01:00
jean-emmanuel
6e8a787b36 file widget: save icon when mode == save; center icon when hidePath == true 2021-03-17 19:09:20 +01:00
jean-emmanuel
4af4fe93e3 editor: paste widget after selection when alt+c+drag 2021-03-16 19:32:33 +01:00
jean-emmanuel
0cbdeb9572 log: last features 2021-03-16 07:36:41 +01:00
jean-emmanuel
85cb1ede51 editor: alt+c+drag to drag+copy widgets 2021-03-15 22:54:44 +01:00
jean-emmanuel
d2e43a4689 ui: test alt+wheel local zoom 2021-03-15 20:01:20 +01:00
bordun
947d554d62 rm unused script 2021-03-11 14:35:58 +01:00
bordun
2569145e8f package: 1.8.12 2021-03-11 08:46:25 +01:00
bordun
755f72d844 docs: plot value formats examples 2021-03-11 08:40:13 +01:00
bordun
e8bfeb73b5 console: focus input when the console opens 2021-03-10 16:10:05 +01:00
bordun
ce53668a26 project tree: filter input position issue when scrolling 2021-03-10 16:04:54 +01:00
bordun
6335ffd930 editor: tree shift+click: avoid duplicates in selection 2021-03-09 16:56:19 +01:00
bordun
bad0baa4e1 log: plot doc fix 2021-03-09 16:53:19 +01:00
bordun
fc12e37eb2 plot: remove filters property, fix docs 2021-03-09 16:39:08 +01:00
jean-emmanuel
d2e5aac72f tree: select range of contiguous widgets with shift + click 2021-03-09 08:23:19 +01:00
jean-emmanuel
39c35c5d99 docs: year is 2021 2021-03-03 21:52:24 +01:00
jean-emmanuel
7d681014c0 docs: some kb shortcut fix 2021-03-03 21:51:51 +01:00
jean-emmanuel
2fbbc89037 docs: scripting events 2021-03-03 20:01:49 +01:00
bordun
cbb4559e01 package: 1.8.11 2021-03-03 12:27:15 +01:00
bordun
bc5ac47641 docs: script once mode 2021-03-03 12:25:52 +01:00
bordun
25135911bf Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-03-03 12:21:43 +01:00
bordun
33c20934bc sliders: disable mousewheel when spring is enabled
encoder: remove `spring` property
2021-03-03 12:20:56 +01:00
bordun
e8822d36e9 script: add once event mode 2021-03-03 12:09:47 +01:00
jean-emmanuel
cc5f1f5bfe Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-03-02 15:17:21 +01:00
bordun
3f75756fda script: add openUrl function 2021-03-01 17:39:41 +01:00
bordun
c32c268f16 switch: widget not reacting at first touch when traversing is enabled on parent 2021-03-01 17:34:22 +01:00
bordun
1d6794e6af custom module: expose process global 2021-03-01 17:23:11 +01:00
bordun
e44e5e48c7 readme: format 2021-03-01 11:46:54 +01:00
bordun
82b83356f2 readme: irc link 2021-03-01 11:44:40 +01:00
bordun
98aad56781 misc: add usePercents to client options 2021-03-01 11:38:50 +01:00
bordun
f6aaa2c633 client: add clear console kb shortcut 2021-03-01 11:35:21 +01:00
bordun
b7a34162cb launcher: add many keyboard shortcuts 2021-03-01 11:26:21 +01:00
bordun
ba08c2381f console: allow multiple arguments in console.log() 2021-03-01 10:49:09 +01:00
bordun
f4261812af package: next is 1.8.10 2021-03-01 10:42:09 +01:00
bordun
e9a829b323 scripting: add setFocus(id) 2021-03-01 10:41:55 +01:00
bordun
b5446c08ac modal: remove visibility optimization (hard to track edge effect) 2021-03-01 09:29:17 +01:00
jean-emmanuel
d14d29f39b docs: style fix 2021-02-28 18:44:56 +01:00
jean-emmanuel
c7a98415aa docs: custom module example 2021-02-28 09:41:47 +01:00
jean-emmanuel
c056b986fd custom module: allow importing the main module without parsing it again 2021-02-22 12:40:46 +01:00
jean-emmanuel
ba2c25b998 custom module: prevent require() from reading submodules files each time and instead return the object in memory 2021-02-22 12:17:54 +01:00
jean-emmanuel
b4e841906e package: next is 1.8.9 2021-02-22 07:35:20 +01:00
jean-emmanuel
4fa1b46db0 multixy: spring behavior not working until all points are released (#689) 2021-02-22 07:35:15 +01:00
jean-emmanuel
c2350ccf4f multixy: unnecessary (decimals is not dynamics as per pad base class def) 2021-02-21 14:46:17 +01:00
jean-emmanuel
587644e225 multixy: fix decimals property (#688) 2021-02-21 14:39:23 +01:00
jean-emmanuel
af53356d4e script: issue when using the options argument in set() (options leaked to subsequent set() calls in the script) 2021-02-21 14:24:05 +01:00
bordun
e2cd218c8d package: v1.8.8 2021-02-18 11:08:25 +01:00
bordun
2ccb55c08f cli/launcher: add file browser button for the theme option and fix parsing path containing spaces if only one theme is set 2021-02-17 13:51:02 +01:00
bordun
44b7729117 docs: rtsp link 2021-02-17 10:20:50 +01:00
bordun
9c292fe081 docs: rtsp custom module example 2021-02-17 10:14:16 +01:00
bordun
28fe6dc17c windows: remove ctrl+w shortcut for closing a window (use alt+f4 instead) 2021-02-17 09:13:19 +01:00
bordun
7aaf6b1358 docs: update 2021-02-14 10:56:20 +01:00
bordun
e585a41a95 package: 1.8.7 2021-02-14 10:55:53 +01:00
bordun
91f5e55c8b docs: midi active sensing received as sysex 2021-02-12 08:55:51 +01:00
jean-emmanuel
a53d4c0d47 encoder: expose rotation speed in script (as locals.speed) 2021-02-11 08:47:13 +01:00
jean-emmanuel
c1feb5f628 remote control: restore /TABS command 2021-02-11 07:52:47 +01:00
jean-emmanuel
6046715f68 midi: active sensing support 2021-02-10 08:16:31 +01:00
bordun
8a6d47be85 Revert "midi: cast arg to number to avoid formatting errors"
This reverts commit 44ad29d359.
2021-02-07 14:38:03 +01:00
bordun
7d02e8608c v1.8.6 2021-02-07 14:36:53 +01:00
bordun
44ad29d359 midi: cast arg to number to avoid formatting errors 2021-02-07 14:35:57 +01:00
bordun
0193234175 pads/sliders: avoid duplicate touch events 2021-02-07 14:34:05 +01:00
bordun
9cb50eee57 range: per-fader touch event not emitted properly 2021-02-07 13:54:04 +01:00
bordun
effa3f5370 log: launcher context menu 2021-02-06 15:59:13 +01:00
bordun
29c0748439 midi: debug messages displayed as errors 2021-02-06 15:58:54 +01:00
bordun
4662a39303 launcher: use default context menu 2021-02-06 15:58:24 +01:00
bordun
1322a1ab3c docs: custom module send/receive 2021-02-06 15:50:11 +01:00
bordun
a2f1f94250 docs: update 2021-02-06 13:17:23 +01:00
bordun
de3e349d33 package: 1.8.4 2021-02-06 13:00:37 +01:00
bordun
d4c2bae6a9 midi: bump version 2021-02-06 12:53:03 +01:00
bordun
491c0ec687 inspector: hitting ctrl+s while editing a property will submit the change before saving 2021-02-06 12:52:01 +01:00
bordun
419cb7b3ab switch: add flip mode 2021-02-06 12:40:55 +01:00
bordun
b17e31ff4c midi: unambiguous None checks 2021-02-06 12:25:07 +01:00
bordun
f024ef0a9a midi: prevent midi bridge from stopping when an error occurs; provide meaningfull errors when connection fails 2021-02-06 12:21:03 +01:00
bordun
322ae33179 lint: single quotes 2021-02-06 11:27:39 +01:00
bordun
bb5411dfab multixy: avoid error when points property is invalid (#685) 2021-02-06 11:26:12 +01:00
bordun
b7765cee7d input: submit content when leaving focus, not only when hitting enter or tab (esc still cancels) 2021-02-06 11:23:25 +01:00
bordun
bd3c5b36d5 input: prevent focus when selecting the widget for edition 2021-02-06 11:18:13 +01:00
bordun
8ddee033eb midi: display an error when the midi bridge process crashes and prevent further errors when attempting to send messages 2021-02-05 18:34:19 +01:00
bordun
524b6e74ec matrix: unclear doc 2021-02-04 14:08:46 +01:00
bordun
a36f9da50d ui: hide the console toggle button when the bottom panel is minimized and the editor is disabled 2021-01-26 09:02:31 +01:00
bordun
8e3e6266c5 file: add mode property, for choosing between open and save modes 2021-01-26 08:52:27 +01:00
bordun
68aeecd8b0 docs: missing kb shortcut 2021-01-21 12:12:45 +01:00
bordun
f449861675 log: typo 2021-01-17 18:43:27 +01:00
bordun
fdea54248e package: 1.8.3 2021-01-17 18:40:32 +01:00
bordun
863398c2e1 modal: fix visible property (add Widget.childrenVisible() handle this kind of exceptions properly) 2021-01-17 18:38:39 +01:00
bordun
148c43a369 tree: filter input style tweak 2021-01-17 18:25:14 +01:00
bordun
4c94149d37 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-01-11 11:04:05 +01:00
bordun
2d859d719c server: return http 404 error when a user-requested resource is not found instead of keeping a pending request 2021-01-11 10:59:27 +01:00
bordun
5f64132f56 keyboard: allow note numbers up to 127 2021-01-09 10:17:47 +01:00
bordun
420bd55e7a tree: add an input for filtering displayed widget by id 2021-01-08 15:45:30 +01:00
bordun
9dae9c5c9d misc: static appName/version display in client UI 2021-01-08 14:24:54 +01:00
bordun
6f60b5c6a2 package: 1.8.2 2021-01-07 14:09:52 +01:00
bordun
83c4e83799 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2021-01-07 14:01:19 +01:00
bordun
e8bc6a6d77 menu: fix displaying new lines in labels/values 2021-01-03 12:07:43 +01:00
bordun
cd7a29c51e html property: allow "href" attribute on "a" elements 2020-12-27 15:04:39 +01:00
bordun
ae9fade422 custom module: parsing issue when sending widget data using receive() (type attribute errouneously parsed as an osc typetag) 2020-12-17 15:11:54 +01:00
bordun
34197dd38a docs: custom-modul: file read example 2020-12-17 15:02:45 +01:00
bordun
3a1e458d8c package: v1.8.1 2020-12-16 14:13:00 +01:00
bordun
9e1cbb65f0 script: bad bad typo: stops triggering osc messages under some circumstances 2020-12-16 13:50:37 +01:00
bordun
cafa4ace33 docs: node modules resources 2020-12-16 11:50:34 +01:00
bordun
d03c6bf393 package: 1.8.0 2020-12-16 11:33:58 +01:00
bordun
108be78aa4 file browser: layout issue with long paths 2020-12-16 11:21:28 +01:00
bordun
1e330e21bf build: exclude package that fails to transpile and breaks ios 10 2020-12-16 11:13:34 +01:00
bordun
0332b11560 server: clean process management 2020-12-15 20:06:48 +01:00
bordun
471929b476 docs: custom module nativeRequire 2020-12-15 09:10:17 +01:00
bordun
b1ed680335 custom module: allow writing node apps (native require) 2020-12-14 06:59:56 +01:00
bordun
501f10c4f3 ui: tree: tweak layout 2020-12-10 15:53:23 +01:00
bordun
8e1548219a project tree: layout issue with deeply nested widgets 2020-12-10 15:34:52 +01:00
bordun
8fb83e7c0b package: 1.7.8 2020-12-10 11:43:41 +01:00
bordun
e6f01c3973 docs: update ref 2020-12-10 11:43:27 +01:00
bordun
7d715a8be6 increase client console history size and allow changing it with client url options 2020-12-10 11:38:17 +01:00
bordun
30bd29bc3e clone: fix usage of osc listener syntax (acts as if clone has an address property set to auto) 2020-12-10 11:31:30 +01:00
bordun
183086f831 ui: hide sidepanel content when minimized/disabled; defer tree update when hidden 2020-12-10 11:21:55 +01:00
bordun
1a8a24f008 Revert "ui: detach sidepanels content when closed"
This reverts commit f29f815463.
2020-12-10 11:17:15 +01:00
bordun
fe88a538be Revert "ui: tree: defer tree update when not mounted"
This reverts commit 97c31aca17.
2020-12-10 11:17:05 +01:00
bordun
79ce7e6bac clone: make props property dynamic (avoid full widget rebuild when possible) 2020-12-09 17:14:19 +01:00
bordun
97c31aca17 ui: tree: defer tree update when not mounted 2020-12-09 16:29:52 +01:00
bordun
f29f815463 ui: detach sidepanels content when closed 2020-12-09 16:25:05 +01:00
bordun
b116dd5441 text: missing decimals property 2020-12-09 15:32:10 +01:00
bordun
b38a9819b3 canvas: canvas-based widgets not drawn when placed in a modal while having a conditional visibility set 2020-12-09 15:25:38 +01:00
bordun
7f71b36ec1 package v1.7.7 2020-12-09 12:46:58 +01:00
bordun
1b7cf0339b launcher: fix startup and filer node debug error 2020-12-09 11:25:03 +01:00
bordun
095995025e package: 1.7.6 2020-12-08 22:16:20 +01:00
bordun
4c75c5e25a docs: update ref 2020-12-08 22:15:25 +01:00
bordun
5d19b0e36f docs: copy paste error ? 2020-12-08 18:18:47 +01:00
bordun
78051c5431 menu & modal: add ignoreTabs option (allows overflowing tab ancestors) 2020-12-06 17:57:15 +01:00
bordun
9e4362a1d2 (harmless) error raised when starting the server from the launcher with debug set to true 2020-12-06 17:21:45 +01:00
bordun
60f34b939d inspector: display color picked values with css rgba notation instead of hexadecimal 2020-12-05 18:30:37 +01:00
bordun
7a3180739b docs: update 2020-12-04 22:00:04 +01:00
bordun
30a001a959 engine: downgrade to fix startup issue on windows 2020-12-04 21:57:41 +01:00
bordun
65826730fd ios: cloned menu not displayed correctly 2020-12-04 13:50:03 +01:00
bordun
0c87469f0d Merge branch 'master' of github.com:jean-emmanuel/open-stage-control into master 2020-12-04 13:25:27 +01:00
bordun
b953796739 doc: matrix adv syntax scope 2020-12-04 13:25:03 +01:00
bordun
7e5eacce18 docs: advanced syntaxes 2020-12-04 13:14:10 +01:00
bordun
62512cb4d6 lint: illegal white space 2020-12-04 09:18:47 +01:00
bordun
6f8fd92e49 launcher: launch server with fork instead of spawn
server: let the launcher apply config file updates
2020-12-04 01:22:31 +01:00
bordun
8f266ae70a range: steps and dashed property not working; remove origin property; fix dynamic property passing 2020-12-04 00:25:05 +01:00
bordun
d21de19c9a range: round mode ignoring knobsize 2020-12-04 00:17:04 +01:00
bordun
83591923b6 range: steps property not working 2020-12-03 18:09:40 +01:00
bordun
52c933c7c8 input: apply decimals number before checking the value against the validation expression 2020-12-02 11:20:36 +01:00
bordun
6b68000079 docs: dead link 2020-11-27 19:44:21 +01:00
bordun
cf0086999e docs: update ref 2020-11-27 19:44:14 +01:00
bordun
d00a77f639 launcher: dev version warning 2020-11-26 11:48:10 +01:00
bordun
e60d541fe1 launcher: display dev version info 2020-11-26 11:46:35 +01:00
bordun
b65a191a84 launcher: don't warn about new version when using self-built unreleased (use semver comparison) 2020-11-26 11:34:12 +01:00
bordun
2e9514cb88 widgets: prevent value-stateless widgets (tap buttons, clone, scripts, html and svg) from sending a value for cross-client synchronization (leads to unexpected script execution) and exclude them from state saves 2020-11-26 11:14:49 +01:00
bordun
b3c10f1885 editor: cloned dropdown and input widgets not opening when selected. 2020-11-25 08:42:21 +01:00
bordun
00bad171c2 widget: css-safe hash (nanoid update) 2020-11-24 10:58:08 +01:00
bordun
456b65647c ssl: fix certificate for recent chrome 2020-11-24 10:47:38 +01:00
bordun
b192eb244c package: update electron, raise min node version to 10 2020-11-24 10:47:02 +01:00
bordun
8bacb38c2b misc: formatting 2020-11-24 09:19:47 +01:00
bordun
625e2fc5df package: exclude osx fsevents native module from bundle, copy file as is 2020-11-24 09:17:54 +01:00
bordun
447b2544e4 package: wip deps update 2020-11-22 18:54:55 +01:00
bordun
2c7e3d3d4b server: fix path resolves 2020-11-22 18:17:05 +01:00
bordun
b809229132 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control into master 2020-11-22 18:07:52 +01:00
bordun
afb96f6edf Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-11-22 18:06:18 +01:00
bordun
367a0ddbf9 modal/button: prevent error when label is updated before the widget is fully created 2020-11-22 18:05:18 +01:00
bordun
332f3bbc65 misc: fix error in not-used code, just in case 2020-11-22 17:43:25 +01:00
bordun
3a735789d3 docs: theme autoreload & scss instructions 2020-11-22 17:35:03 +01:00
bordun
5cdb288cbc server: if a theme is used, attempt to resolve image urls against the theme file's location 2020-11-22 12:15:24 +01:00
bordun
47d7e2c82d theme: big file reload fix 2020-11-21 19:42:13 +01:00
bordun
7316e85efb custom module: prevent reloading the module while the file is being written to 2020-11-21 18:47:34 +01:00
bordun
10937b5c10 encoder: add ticks property back 2020-11-20 18:53:55 +01:00
bordun
3ad91112a3 package: 1.7.2 2020-11-20 00:05:58 +01:00
bordun
ea495c3563 package: 1.7.2 2020-11-20 00:05:29 +01:00
bordun
47f6c9051c midi: fix mtc receiving (drop backward playback for now) 2020-11-20 00:03:32 +01:00
bordun
bcf5f09f12 docs: midi clean 2020-11-19 23:00:57 +01:00
bordun
7e5cae58fb docs: fix 2020-11-19 22:36:19 +01:00
bordun
f6a8930046 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control into master 2020-11-19 22:13:37 +01:00
bordun
48c0440022 custom-module: attempt to bypass system file cache upon hot reload 2020-11-19 22:12:57 +01:00
bordun
d8cff4f191 log: 1.7.1 2020-11-19 12:16:22 +01:00
bordun
5548c6b312 server: widget caching error 2020-11-19 12:14:04 +01:00
bordun
3318e9a312 docs: update 2020-11-19 09:04:54 +01:00
bordun
b2dcaa3b5c package: 1.7 2020-11-19 09:04:36 +01:00
bordun
adbf60d3a8 docs: missing link 2020-11-19 08:42:58 +01:00
bordun
598fbf84b9 console: css tweaks 2020-11-19 08:40:41 +01:00
bordun
4217e716bd console: ease text selection 2020-11-19 08:37:29 +01:00
bordun
a2d29f86b1 editor: misc 2020-11-19 08:37:16 +01:00
bordun
e754cc70ed editor: bypass mod+x mod+c & mod+v when some text is selected 2020-11-19 08:36:07 +01:00
bordun
5979a8350d docs: multiple targets example 2020-11-19 08:12:00 +01:00
bordun
90c6c6b079 midi: mtc print format 2020-11-18 23:45:19 +01:00
bordun
f23ffb431a midi: mtc detail 2020-11-18 23:43:31 +01:00
bordun
cb127b3849 midi: comment typo 2020-11-18 23:41:26 +01:00
bordun
961f77ba9a midi: docs and version 2020-11-18 23:39:06 +01:00
bordun
6a137df9a7 midi: mtc support 2020-11-18 23:37:16 +01:00
bordun
ea641956bf console: send fix 2020-11-18 23:34:07 +01:00
bordun
0966f7b754 matrix: addresses not generated property when matrix' address is auto 2020-11-18 20:02:23 +01:00
bordun
e0d4a40655 tab: content not drawn when changing visible property 2020-11-17 22:13:09 +01:00
bordun
8e3a186a3f modal: relative mode only works on position, size must stay relative to the window size otherwise it can't break out of parent boundaries 2020-11-16 19:49:01 +01:00
bordun
4b250fc389 server: provide readable error when a file requested by the client file is not found 2020-11-16 19:32:24 +01:00
bordun
8381ca7531 root: missing vertical scrollbar when root's height overflows the workspace 2020-11-16 18:47:44 +01:00
bordun
6bc14d6cd5 prop: prevent deep resolve on .tabs and .widgets properties
misc: use a switch instead of a if else
2020-11-15 15:22:23 +01:00
bordun
ea9988e23a package: beta3 2020-11-15 11:27:28 +01:00
bordun
116005ee72 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control into master 2020-11-15 11:26:41 +01:00
bordun
c893241313 modal: add relative geometry property 2020-11-15 11:26:23 +01:00
bordun
002f1675af switch: missing prop help 2020-11-14 18:00:38 +01:00
bordun
0cd3db8583 css: misc 2020-11-14 14:54:55 +01:00
bordun
e5a3b0cbd9 console: default log/error format 2020-11-14 13:25:55 +01:00
bordun
82361e2f60 git: ugly reset to remove 3000 commits that don't exist
--- relevant commits ---
commit fa63c7ec3596c9afb4f07f75583b2357f4ef6c85 (HEAD -> master, origin/master, origin/HEAD)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:53:00 2020 +0100

    console: don't submit onBlur

commit b653c2edd3be4991dfcd6ed82c76dd3ed2526edb
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:48:24 2020 +0100

    ui: restore left & right panel minWidth

commit 3a1af3f9ec70857548d412ce2971992650fa2899
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:45:42 2020 +0100

    console: seamless input

commit ec2d49379431a5a6b54968f4dc15bc28286e3741
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 15:08:22 2020 +0100

    console: css tweaks

commit 5248fbe4241134ddf56697180a62f8f89c5f382c
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 14:58:03 2020 +0100

    console: history tweak

commit 8c49baf8d7f9546ab3ab19f9296e5acbf60a364f
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 14:57:47 2020 +0100

    server: allow console osc out

commit 152c6f7276055492bf4a637d5a7a678164d6513b
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:32:14 2020 +0100

    lint

commit 1158118db89bb3b14fb2972d020371aac3d8f198
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:30:18 2020 +0100

    ipc: set samesite attr on client_id cookie

commit 25fd79474da4ecba8e80e8d00ac63d4dfb62ca66
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:24:55 2020 +0100

    console: tweaks

commit 3d39ea9c0a3a28a7344abb023acb76df75f59ba9
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 11:57:45 2020 +0100

    console: add interpreter

commit 961ebe7518
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 08:16:22 2020 +0100

    widget: lazy load uiConsole

commit 96f0d3c00f (tag: v1.7.0-beta2)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 22:46:38 2020 +0100

    ios: clone widget not laid out properly in horizontal panels

commit a8e0ac344a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 19:56:35 2020 +0100

    console: unified widget error, with quick edit link from the console

commit 6000d1a67a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:31:33 2020 +0100

    package: beta 2

commit d8b1fc298f
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:30:06 2020 +0100

    ui: overflow hidden on workspaces introduces some overflow scroll with the console panel

commit 35374a7c1c
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:24:22 2020 +0100

    session: compat: increment toolbar() usages (new console item)

commit ff78df42b6
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:17:33 2020 +0100

    console: tweaks

commit 33581804ac
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 16:28:18 2020 +0100

    ui: move console to full bottom panel

commit dd6b85f6ff
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 16:09:31 2020 +0100

    session: v0 label compat tweak

commit 42c4b0f6cd
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 15:50:56 2020 +0100

    session: v0 label conversion fix on tabs

commit 9431fd722e (tag: v1.7.0-beta1)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 13:05:06 2020 +0100

    docs, log & restore user rpi build

commit c9e3641332
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 11:13:56 2020 +0100

    python: resolve bin path

commit 8030744325
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 11:13:45 2020 +0100

    docs: add link

commit 4ce960139a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 10:18:31 2020 +0100

    package: wrong path on osx

commit 2bc507a17b
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:48:14 2020 +0100

    package: 1.7.0 beta 1

commit 16579241ce
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:45:32 2020 +0100

    package: document midi support and install process

commit b8173294aa
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:24:54 2020 +0100

    package: reduce number of prebuilt binaries (keep 64bit linux/windows/osx + node)

commit df215612c5
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 08:39:27 2020 +0100

    midi: bump version
2020-11-12 20:02:32 +01:00
bordun
43b0ab9fea lint 2020-11-09 21:54:00 +01:00
bordun
11801a6a19 stacktrace: lazyload uiConsole 2020-11-09 20:32:34 +01:00
bordun
6d9653a493 input: move validation to setValue to affect incoming values too 2020-11-09 19:46:45 +01:00
bordun
2877877919 input: rename fieldValidator to validation 2020-11-09 19:44:54 +01:00
bordun
3ec972c261 editor: add comment 2020-11-09 19:41:49 +01:00
bordun
53c32420d1 console: hook stacktrace to uiConsole directly 2020-11-09 19:38:17 +01:00
bordun
e9607aad77 misc: better error logging 2020-11-09 19:34:31 +01:00
bordun
5bd2bbd5ba Merge branch 'exmachina-dev-add-field-validator' 2020-11-09 19:15:40 +01:00
bordun
9228d39e72 input: tweak fieldValidator implementation 2020-11-09 19:14:53 +01:00
bordun
a7d45ea5ea Merge branch 'add-field-validator' of https://github.com/exmachina-dev/open-stage-control into exmachina-dev-add-field-validator 2020-11-09 19:08:43 +01:00
Benoit Rapidel
0bb7a2bdf6 Only assign RegExp if property is different from false 2020-11-09 18:49:49 +01:00
Benoit Rapidel
04f75fc30d Initialize fieldValidator with null instead of false 2020-11-09 18:48:36 +01:00
bordun
3a71c2fe3e input: 100% height to easy context menu opening 2020-11-09 18:45:50 +01:00
bordun
edb32ffca0 ui: sidepanel toggle tweak; let uiConsole be a foldable panel 2020-11-09 18:16:40 +01:00
bordun
42c6e2cce1 cli: ELECTRON_RUN_AS_NODE headless mode not working without --no-gui option 2020-11-09 17:41:20 +01:00
Benoit Rapidel
bed984f5a9 Add fieldValidator property for input widget
Allows to filter value against specified chars
2020-11-09 16:04:36 +01:00
bordun
28958381f4 console: stringify objects 2020-11-09 15:02:19 +01:00
bordun
197a0e7082 osc-listener: osc listeners not resolving "auto" address 2020-11-09 14:53:27 +01:00
bordun
16b634cb06 console: minor tweaks + some not ready code for live interpreter 2020-11-09 14:28:29 +01:00
bordun
08147c7657 console: css tweak 2020-11-09 14:03:17 +01:00
bordun
528d051093 editor: add console panel under the inspector to ease debugging 2020-11-09 13:58:04 +01:00
bordun
268b9f9be5 ui: missing context menu (copy, paste) in inspector inputs 2020-11-09 12:14:02 +01:00
bordun
a6d4d51559 lint 2020-11-09 10:26:07 +01:00
bordun
54108c9739 keyboard: add velocity property (allows mapping the touch coordinates between off (top) and on (bottom)) 2020-11-09 10:03:05 +01:00
bordun
c92af88107 docs: how to retrieve keyboard/matrix child value 2020-11-09 09:52:12 +01:00
bordun
94b1c6a5ee custom-module: document settings.appAddresses; restrict setting object access 2020-11-08 17:29:45 +01:00
bordun
527e06f3df misc: sessions converted from v0 will use the widget's html property to display the former label property 2020-11-08 17:15:23 +01:00
bordun
8f996a23e0 server: missing app name in some places (eg zeroconf) 2020-11-08 16:58:38 +01:00
bordun
c9a02976ed midi: accept sending sysex strings without spaces between the bytes 2020-11-08 16:58:25 +01:00
bordun
fd0f6d24d5 package: 1.6.2 2020-11-07 11:23:55 +01:00
bordun
b43b844916 input: apply default value when receiving an empty value or no value at all 2020-11-07 11:23:29 +01:00
bordun
f44ccbb729 misc: log & docs 2020-11-06 10:52:27 +01:00
bordun
4510245a1e matrix: issues when changing non-dynamic properties (matrix' content not properly removed) 2020-11-05 22:25:09 +01:00
bordun
fd7388c472 package: 1.6.1 2020-11-04 09:13:42 +01:00
bordun
34b6e0c9cc matrix/keyboard: id variable in script is now the id of the child widget that triggered the event 2020-11-03 10:01:14 +01:00
bordun
0adb418303 script: add getIndex function 2020-11-03 09:11:53 +01:00
bordun
beb0e851a1 matrix: clean 2020-11-03 08:59:41 +01:00
bordun
020b5b556f keyboard: prevent prop leak to keys (eg script) 2020-11-03 08:59:09 +01:00
bordun
1b7cf94432 keyboard: make on and off properties dynamic 2020-11-03 08:32:26 +01:00
bordun
28db598d27 pyinstaller 2020-10-30 19:13:40 +01:00
bordun
832ed88a78 docs: update widget ref 2020-10-30 18:15:21 +01:00
bordun
c633334501 range: typo 2020-10-30 11:17:39 +01:00
bordun
82d199b9f4 range: error when setting default property
range: fix `doubleTap` property
package: 1.6.0
2020-10-30 10:39:43 +01:00
bordun
86f5ac723a docs: phrasing 2020-10-29 11:40:37 +01:00
bordun
03e810ad2a script: set: affect only 1 widget if no wildcard is used 2020-10-29 11:39:27 +01:00
bordun
f78abcc674 - set(): add supports for wildcards in the id parameter
- `set()`: add a 3rd optional parameter for preventing further script executions and/or osc messages from being sent
2020-10-29 11:23:57 +01:00
bordun
f1e50ee740 docs: script details 2020-10-28 17:01:53 +01:00
bordun
23084dbf28 lint 2020-10-28 11:34:52 +01:00
bordun
a6542f874f theme: automatically reload theme when the file is modified 2020-10-28 10:50:58 +01:00
bordun
6e3644d9af scripting: send() now ignores the widget's bypass property (allows bypassing default messages and define custom ones). 2020-10-28 10:36:08 +01:00
bordun
3b269fafc4 custom-module: error log fix 2020-10-27 11:58:29 +01:00
bordun
2137c210bf custom-module: submodule autoreload fix 2020-10-27 11:55:34 +01:00
bordun
cc45928ebf lint & custom module lack detection 2020-10-27 11:45:32 +01:00
bordun
93363026e3 custom module: fallback 2020-10-27 11:02:47 +01:00
bordun
30ddbd685e log: custom module require 2020-10-27 10:32:57 +01:00
bordun
44b03941f9 custom-module: clean & docs 2020-10-27 10:30:09 +01:00
bordun
6cc020c10d custom module: add require() support 2020-10-27 10:17:59 +01:00
bordun
10dbd8c3c3 custom module: refactor custom module and add autoreload 2020-10-27 09:51:09 +01:00
bordun
44d2689bf6 lint 2020-10-26 18:38:23 +01:00
bordun
5031a496b5 widgets: html: allow falsy value 2020-10-26 17:26:42 +01:00
bordun
bee2e6e5be widgets: add html property to allow inserting custom content in widgets (label, value, etc) and style it with the css property. 2020-10-26 17:22:13 +01:00
bordun
7fd59ae71c docs: midi install 2020-10-25 19:25:01 +01:00
bordun
2191be218f docs: css inspect tip 2020-10-25 19:22:48 +01:00
bordun
02763e7c9f docs: improve midi 2020-10-25 19:13:40 +01:00
bordun
ed7f557e4b docs: midi mac step 2020-10-25 18:39:49 +01:00
bordun
0a32d7cbbd docs: mac midi step 2020-10-25 18:38:13 +01:00
bordun
8d9ffd38c3 docs: typo 2020-10-25 18:35:18 +01:00
bordun
1acdc4744a docs: restore tabs 2020-10-25 18:34:43 +01:00
bordun
31dd882ae7 docs: midi setup 2020-10-25 18:32:21 +01:00
bordun
0ac8f0ffc9 editor: paste ID+1: midi-related addresses should not be incremented 2020-10-25 18:06:59 +01:00
bordun
2b02d29287 docs: midi install steps 2020-10-25 18:03:25 +01:00
bordun
a82c5283c6 log: phrasing boom 2020-10-25 17:34:55 +01:00
bordun
430dd940af remote-control: resolve relative file paths according to the remote-root setting 2020-10-25 17:32:13 +01:00
bordun
e8fdd22385 remote-root: normalize path before checking if path is in remote-root (avoid win32 error ?) 2020-10-25 17:17:47 +01:00
bordun
8f3513318f server: clean ~/ to home dir resolution code; resolve ~/ in remote-root 2020-10-24 19:31:01 +02:00
bordun
a8940779ba package: 1.5.4 2020-10-24 17:27:35 +02:00
bordun
8fe543b756 server: support ~/ path prefix in /{SESSION,STATE}/{OPEN,SAVE} 2020-10-24 17:25:34 +02:00
bordun
db261dd4c2 ssl: missing serialnumber assignment 2020-10-24 14:56:10 +02:00
bordun
cd03322304 ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c w> 2020-10-24 10:07:54 +02:00
bordun
664d4cec30 docs: scroll fix 2020-10-23 11:01:43 +02:00
bordun
858c86a2a6 docs: material mkdocs update, better server options docs 2020-10-23 10:48:11 +02:00
bordun
69831e9719 remote control: add /STATE/OPEN and /STATE/SAVE commands; ignore unsaved changes when loading a session with /SESSION/OPEN 2020-10-21 10:31:24 +02:00
bordun
9b21cd4865 package: 1.5.3 2020-10-19 08:23:25 +02:00
bordun
0afa1839ff widget: update prop cache sequentially to avoid multi-prop edition from causing errors (eg: address & preArgs at the same time => cache error because the old value is needed by the manager) 2020-10-19 08:21:14 +02:00
bordun
fa7f4481a2 remote-control: rm extra check 2020-10-15 11:02:16 +02:00
bordun
d3fd3cb9bf server: fix error message notification when save file fails 2020-10-15 11:00:47 +02:00
bordun
07201d8427 remote-control: add /SESSION/OPEN and /SESSION/SAVE commands 2020-10-15 11:00:35 +02:00
bordun
23e1a1c793 fullscreen: lack of support not detected on some ios devices
multixy: labels not hidden when `ephemeral` is `true`
2020-10-13 19:43:53 +02:00
bordun
ddd7c036fa launcher: midi device names containing multiple spaces not parsed correctly 2020-10-13 19:17:38 +02:00
bordun
94686ac3f7 docs: update widget ref 2020-10-12 19:32:14 +02:00
bordun
26ca81b438 docs: matrix: better '$' variable documentation 2020-10-12 19:30:26 +02:00
bordun
d3c766eb40 docs: update ref 2020-10-05 19:05:23 +02:00
bordun
5d9e08cd2a package: 1.5.1 2020-10-05 19:05:13 +02:00
bordun
b1d93cb4df encoder: remove steps, ticks and origin properties
encoder: make `sensitivity` work with values below 1
2020-10-05 18:41:42 +02:00
bordun
7b29071a06 widgets: touch state scripts not triggering some synchronization mechanism 2020-10-05 18:00:45 +02:00
bordun
30c5784658 log: missing word 2020-10-04 20:19:24 +02:00
bordun
b7a5cfa4c1 docs: update ref 2020-10-04 19:56:22 +02:00
bordun
50b7fd9582 root: rm lineWidth 2020-10-04 19:55:55 +02:00
bordun
a610e4f4bc log: typo 2020-10-04 19:49:44 +02:00
bordun
1046ffed72 tab: rm lineWidth 2020-10-04 19:42:34 +02:00
bordun
12630cbb17 modal: add popupPadding property to control the buttons and the container's padding independently 2020-10-04 19:42:29 +02:00
bordun
809437ef28 editor: display "shared properties" in inspector when multiple widgets are selected 2020-10-04 19:28:12 +02:00
bordun
d8d37fb312 editor: edge case in shared property check 2020-10-04 19:26:28 +02:00
bordun
62fa8f2223 editor: remove trailing zeros in geometry percents 2020-10-04 19:23:59 +02:00
bordun
d222a62df4 editor: fix shared properties check 2020-10-04 11:21:03 +02:00
bordun
82fb9e71ab editor: fix help retrieval 2020-10-03 20:02:16 +02:00
bordun
f081f0c3b8 osc: catch server error when port is invalid 2020-10-03 18:54:58 +02:00
bordun
922d58a380 dropdown: prevent dropdown from opening when selecting the widget for edition 2020-10-03 18:46:36 +02:00
bordun
a01153da61 menu/dropdown: minor fixes 2020-10-03 18:41:21 +02:00
bordun
9f6bab467c dropdown/menu: add label property (with support easy key/value display)
dropdown/menu: add `icon` toggle property
2020-10-03 18:34:37 +02:00
bordun
fa69dd74e2 dropdown: correct z-index 2020-10-03 18:32:15 +02:00
bordun
97f06564bb menu: use correct z-index index 2020-10-03 18:08:15 +02:00
bordun
dc5612d53f log: next is 1.5.0 2020-10-03 17:53:20 +02:00
bordun
ab9901519a knob: inactive gauge should be dashed too when the property is set 2020-10-03 17:40:42 +02:00
bordun
65c10f11f1 encoder: rm extra knob props 2020-10-03 17:34:45 +02:00
bordun
a8c0a4f1a7 docs: adjust property reference to new structure 2020-10-03 17:27:00 +02:00
bordun
0fb49a6779 widgets: move to a more flexible widget default props structure 2020-10-03 17:07:49 +02:00
bordun
cb289fb795 editor: vertical tab selection hint size fix 2020-10-03 15:57:25 +02:00
bordun
6218351bdb panel: clean 2020-10-03 10:46:07 +02:00
bordun
ad2872961e editor: holding alt extends the north-west handle to the widget's size to ease dragging
image: broken value validation
2020-10-02 18:18:55 +02:00
bordun
277c4440f6 widgets: remove colorBg for all widgets except containers; widgets background color is now transparent by default (can be overridden with css) 2020-10-02 17:22:46 +02:00
bordun
4d91828667 docs: add patreon link 2020-10-02 13:00:50 +02:00
bordun
0bf57edb58 docs: typo 2020-10-02 10:53:20 +02:00
bordun
28f98738fc log: typo 2020-10-02 10:48:20 +02:00
bordun
22045062db package: 1.4.1 2020-10-02 10:44:04 +02:00
bordun
e1b81951ac touch state: fix conversion for multitouch widgets 2020-10-02 10:42:40 +02:00
bordun
2f3de5a898 log: touch state fix 2020-10-02 10:24:34 +02:00
bordun
5149f02aa5 touch state: typo (-> extra touch state events in range/multixy) 2020-10-01 23:34:38 +02:00
bordun
5e820626de log: 1.4.0 2020-10-01 15:15:59 +02:00
bordun
7a90441b5d package: 1.4.0 2020-10-01 15:14:14 +02:00
bordun
60a747574c docs: update ref 2020-10-01 15:13:45 +02:00
bordun
e95816c806 fader/knob/xy/range/multixy: remove touchAddress property; expose touch state in script property (touchAddress usages will be converted automatically) 2020-10-01 15:07:04 +02:00
bordun
a492904708 xy/multixy: add ephemeral property 2020-10-01 13:25:56 +02:00
bordun
6ce43933df script: rm unnused style prop 2020-10-01 10:49:46 +02:00
bordun
4ed2b0f2a2 log: typo 2020-09-30 15:58:26 +02:00
bordun
f839d647ff widgets: expose widgets unique identifiers as with property name "uuid" 2020-09-30 15:44:53 +02:00
bordun
70067b1c57 editor: lint 2020-09-30 13:49:36 +02:00
bordun
35584d3293 editor: selected widget is not showed on top of the others anymore 2020-09-30 13:46:18 +02:00
bordun
195fef4ff4 editor: move position menu 2020-09-30 13:45:14 +02:00
bordun
75251613fb editor: show keyboard shortcuts in context menu; add shortcuts to change widget order; add shortcut to show widget in project tree 2020-09-30 13:31:51 +02:00
bordun
7d59d5cbd5 tree: prevent error when d&d-sorting with no change 2020-09-30 13:00:27 +02:00
bordun
46bdc4d68c script: typo 2020-09-30 12:25:10 +02:00
bordun
89b594dfaa editor: validate property change when clicking on a widget; cancel property change when hitting escape 2020-09-30 08:21:30 +02:00
bordun
f324296a40 Merge branch 'master' of x61:~/Dev/open-stage-control 2020-09-30 07:54:11 +02:00
bordun
b15416afbf script dry 2020-09-30 07:46:56 +02:00
bordun
e6a0029642 wip 2020-09-30 07:40:45 +02:00
bordun
de3440d715 midi: clean 2020-09-21 22:21:41 +02:00
bordun
ae0994e57e input: extend focusable area 2020-09-21 22:14:42 +02:00
bordun
38f5881568 editor: error when selecting a tab/root widget while a property field contains unsubmitted changes 2020-09-21 22:01:12 +02:00
bordun
6ed1e5e200 root: missing geometry category header 2020-09-21 21:20:34 +02:00
bordun
b1be207a33 widgets: clean unused props 2020-09-21 21:19:25 +02:00
bordun
43b8d8be5b midi: bump version 2020-09-21 18:51:26 +02:00
bordun
d58def229b log: details 2020-09-21 13:32:05 +02:00
bordun
df205a18a1 package: next is 1.3 2020-09-21 13:29:41 +02:00
bordun
c91afb6dab midi: remove variable args in sysex messages (can be handled many ways now); allow sending any system message; add support for receiving mtc (as sysex); add support for sending sysex bytes as integers 2020-09-21 13:29:18 +02:00
bordun
61531385f8 panel: layout issue with tabs & lineWidth property 2020-09-21 11:02:44 +02:00
bordun
fa39e3889a editor: hide impossible actions from context-menu (eg adding widgets in tab containers) 2020-09-21 10:54:34 +02:00
bordun
d5a6263591 ui: rm sidepanel border when minimized 2020-09-16 17:54:14 +02:00
bordun
ee65b7f958 docs: update ref 2020-09-16 12:57:38 +02:00
bordun
f275780fae package: v1.2.1 2020-09-16 12:56:56 +02:00
bordun
cbb4f8d49d Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-09-16 12:52:26 +02:00
bordun
7c497f7e13 root: tweak out of canvas bg 2020-09-16 12:38:39 +02:00
jean-emmanuel
d0f0722f82 Merge pull request #650 from jean-emmanuel/dependabot/npm_and_yarn/node-forge-0.10.0
build(deps): bump node-forge from 0.9.1 to 0.10.0
2020-09-16 12:22:21 +02:00
dependabot[bot]
bdcdc7c884 build(deps): bump node-forge from 0.9.1 to 0.10.0
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/0.9.1...0.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-16 06:51:40 +00:00
bordun
2ff26a41dd root: add width and height properties (helps building mobile layouts) 2020-09-16 08:48:04 +02:00
bordun
5b2ddc7215 button: add wrap and vertical properties 2020-09-12 17:39:20 +02:00
bordun
7ec2f2744c remote-control: optimise /EDIT 2020-09-12 09:53:08 +02:00
bordun
861fd38d05 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-09-10 09:20:50 +02:00
bordun
c017abae58 scripting: expose toolbar menu actions 2020-09-10 09:02:08 +02:00
bordun
dfea1119b7 log: typo 2020-09-07 20:59:36 +02:00
bordun
d853b5e38c docs: update ref 2020-09-07 19:46:11 +02:00
bordun
ab8cd197ef package: 1.2.0 2020-09-07 19:44:52 +02:00
bordun
593f1aa59e editor: fix id+1 pasting with multiple widgets (#648) 2020-09-07 18:23:05 +02:00
bordun
46f04004e7 editor: % fix 2020-09-07 10:06:09 +02:00
bordun
514edfd9ae range: lineWidth 2020-09-07 09:57:05 +02:00
bordun
65b2ff271d sliders: scale pips stroke width with font size
fader: use lineWidth in default/round design
2020-09-07 09:53:20 +02:00
bordun
9f68640b83 widgets: rename strokeWidth -> lineWidth
knob: use lineWidth in all designs
2020-09-07 09:40:02 +02:00
bordun
f2e0f26f58 editor: add 'Relative units (%)' option 2020-09-07 09:09:44 +02:00
bordun
7d16269228 toolbar: fallback item when opening menu before recent sessions are loaded 2020-09-07 09:05:28 +02:00
bordun
8a74e7063c xy: avoid border/point overlap 2020-09-07 08:07:10 +02:00
bordun
043fda404e Revert "xy: pointSize fix"
This reverts commit 87f9233b14.
2020-09-07 08:02:31 +02:00
bordun
7ce63c55df Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-09-06 17:28:35 +02:00
bordun
f490e629ab menu: stroke width 2020-09-06 17:22:14 +02:00
bordun
965dba4685 clone: rm colorBg & strokeWidth (should be overridden via "props") 2020-09-06 17:12:48 +02:00
bordun
7733ae807f clone: rm colorBg & strokeWidth (should be overridden via "props") 2020-09-06 17:08:38 +02:00
bordun
0da2f12ea5 keyboard: stroke width 2020-09-06 17:08:25 +02:00
bordun
3a708fffb7 panel: stroke width 2020-09-06 16:55:25 +02:00
bordun
87f9233b14 xy: pointSize fix 2020-09-06 16:46:59 +02:00
bordun
6252fff285 widgets: pads strokeWidth 2020-09-06 16:46:42 +02:00
bordun
911888d6e2 color picker: add alpha 2020-09-06 16:34:10 +02:00
bordun
863e56afd0 wigets: stroke width (wip) 2020-09-06 16:11:49 +02:00
bordun
94867162c2 widgets: strokeWidth (wip) 2020-09-06 16:01:55 +02:00
bordun
590625dd11 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-09-06 15:45:48 +02:00
bordun
3041c4e9e3 widgets: expose stroke width (wip) 2020-09-06 15:41:56 +02:00
bordun
7fb857e670 image: avoid type error 2020-09-06 15:10:09 +02:00
bordun
a2f2f89aab custom module: rm support for extra args (avoid path issues) 2020-09-06 11:12:54 +02:00
bordun
c1fe3be351 midi: bump midi script version 2020-09-03 20:48:58 +02:00
bordun
c367b70ceb fader: support custom knob size in compact mode 2020-09-02 17:31:52 +02:00
bordun
e2e4ac610f fader: add knobSize property 2020-09-02 16:41:43 +02:00
bordun
6d4baa38dd knob: add solid & line designs 2020-09-02 16:05:52 +02:00
bordun
c7c39d1f2f ios: fix scrolling for ios 14+ 2020-09-02 12:27:36 +02:00
bordun
d8dabdf727 knob: add support for custom dash/gap size in dashed property 2020-08-28 13:40:55 +02:00
bordun
84d5371255 svg: removed support for non-standard %x and %y units; fixed layout update when resized; 2020-08-28 13:39:07 +02:00
bordun
3ec0f44763 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-08-28 13:28:50 +02:00
bordun
9d09d055c6 midi: add key pressure and channel pressure 2020-08-28 13:28:37 +02:00
bordun
4b19db9393 package: 1.0.4 2020-08-24 18:00:26 +02:00
bordun
fd4d89580c docs: typo 2020-08-24 17:59:23 +02:00
bordun
bd025243d6 launcher: pass process.env to server process (fixes broken remote-root option) 2020-08-24 17:58:37 +02:00
bordun
c6a7d34e90 script: fix storage methods 2020-08-10 22:27:55 +02:00
bordun
c06ef537b4 docs: clean 2020-08-10 19:49:35 +02:00
bordun
dfaf7dfed4 docs: update 2020-08-10 19:48:10 +02:00
bordun
87cdc3e16a package: 1.0.3 2020-08-10 19:44:08 +02:00
bordun
7c2933cadd log: 1.0.3 2020-08-10 19:42:24 +02:00
bordun
e247f90af0 panels: add contain property to allow scrolling in vertical/horizontal layouts (#645) 2020-08-10 19:36:24 +02:00
bordun
b79bcf491d midi: add support for string port declaration 2020-08-10 19:21:22 +02:00
bordun
59d83fcbf9 modal: fix stacking issue on ios 2020-07-30 15:21:12 +02:00
bordun
e4210c2790 docs: typo 2020-07-29 16:26:00 +02:00
bordun
ce732a69f4 docs: remote control intro 2020-07-29 13:19:11 +02:00
bordun
8ca13aeb39 midi: add version check 2020-07-27 18:37:15 +02:00
bordun
c1f9c21678 midi: add version 2020-07-27 18:30:07 +02:00
bordun
14ac973c23 scripts: midi bin build 2020-07-27 18:03:56 +02:00
bordun
21b251509b log: typo 2020-07-27 18:02:04 +02:00
bordun
cdd00cce2a package: 1.0.2 2020-07-27 17:48:28 +02:00
bordun
219403f33e midi: clean and prepare compatibility with prebuilt midi plugin 2020-07-27 17:40:29 +02:00
bordun
d2b00e9e36 script: fix build 2020-07-27 16:15:02 +02:00
jean-emmanuel
0822e0152b Merge pull request #642 from ritschwumm/fix/typo
fix typos
2020-07-27 16:10:30 +02:00
Herr Ritschwumm
03ecbb72d4 fix typos 2020-07-27 16:04:14 +02:00
bordun
db7f6fe29c window: prevent error when geometry config is not completely populated 2020-07-27 15:59:54 +02:00
bordun
181c9bc2a9 ios: fix scrolling on iPhone ios 13 2020-07-27 14:05:56 +02:00
bordun
0befec4981 package: 1.0.1 2020-07-27 12:57:36 +02:00
bordun
cb96e9596d window: store full geometry for launcher & cient, make this default for all platforms 2020-07-27 12:50:12 +02:00
bordun
df9fec948f Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-07-27 10:36:26 +02:00
bordun
dbfff488de docs: ease function signature reading 2020-07-27 10:35:00 +02:00
bordun
bdaf558338 docs: add custom module examples 2020-07-27 10:30:37 +02:00
jean-emmanuel
76c57de60f Merge pull request #640 from ritschwumm/patch-3
fix typo in comment
2020-07-27 09:39:34 +02:00
jean-emmanuel
08431828be Merge pull request #639 from ritschwumm/patch-2
fix typo
2020-07-27 09:38:20 +02:00
jean-emmanuel
b92a90c2ba Merge pull request #638 from ritschwumm/patch-1
fix typo
2020-07-27 09:37:55 +02:00
ritschwumm
93f3f9a4ed fix typo in comment 2020-07-27 00:32:18 +02:00
ritschwumm
3aed6a9805 fix typo 2020-07-27 00:27:45 +02:00
ritschwumm
954c1095d5 fix typo 2020-07-27 00:21:06 +02:00
bordun
20b67302a9 docs: update 2020-07-26 20:51:00 +02:00
bordun
e422c05d9a log: v1 2020-07-26 20:44:15 +02:00
bordun
912ef19a5d package: v1 2020-07-26 20:40:08 +02:00
bordun
a36493209d electron-window: use current monitor's dimensions; on win32, store/retreive last used screen 2020-07-26 20:37:43 +02:00
bordun
1f4b3da1d7 clone: modal breakout fix 2020-07-19 17:01:48 +02:00
bordun
bd6c70f8e8 cache: managed localStorage & sessionStorage
ui: remember panel state
2020-07-14 11:10:24 +02:00
bordun
ad4a8ff110 a-syntax: compile JS{{}} before #{} 2020-07-13 18:26:32 +02:00
bordun
758d194208 session: fix loading legacy sessions formatted as arrays 2020-07-10 10:18:00 +02:00
bordun
5a1d4b5754 button: make tap button pulse 2020-07-09 16:22:42 +02:00
bordun
c90b06f3a0 keyboard: rm "toggles" property, replace with "mode" (as for buttons) 2020-07-09 15:55:44 +02:00
bordun
2e1156d5bd Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-07-09 15:34:11 +02:00
bordun
a3d252efb3 events: use pointer events to handle mouse events (resolves some conflict with touch events)
Using pointer events everywhere would be ideal but iOS<13 doesn't support them
2020-07-09 15:32:15 +02:00
bordun
86b3a1d3f3 editor: label->true/auto fix 2020-07-09 14:52:17 +02:00
bordun
325936d1a1 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-07-06 13:26:00 +02:00
bordun
6eff1677a9 osc: avoid error when receiving messages during init 2020-07-06 13:25:39 +02:00
bordun
24ff4a6bdb docs: add terminal launch example 2020-07-03 16:04:18 +02:00
bordun
7a0f6c9a72 docs: scripting set/getScroll 2020-07-02 12:29:46 +02:00
bordun
27d2613ddd script: add getScroll and setScroll 2020-07-02 12:17:40 +02:00
bordun
8692896c3a linkId: ensure it's a string 2020-07-01 16:07:23 +02:00
bordun
67430c8703 inspector: prevent edit errors from breaking sessions; add a notification; reverse the faulty change and prevent history push; 2020-07-01 16:01:16 +02:00
bordun
ebacf077c8 editor: avoid breaking address=auto when pasting with id+1 2020-07-01 09:27:28 +02:00
bordun
7779bf3122 docs: lite headlessmode with run_as_node env variable 2020-06-25 09:02:02 +02:00
bordun
faae5a770c server: 2nd attempt to run server process as node, works in dev and prod 2020-06-25 08:45:27 +02:00
bordun
0448e1117e package: beta 9 2020-06-25 00:07:22 +02:00
bordun
ff4cd0b01a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-06-25 00:06:54 +02:00
bordun
1bf6c17540 Revert "server: run electron as node to reduce the number of process in use"
This reverts commit 79efa3fdc2.
2020-06-25 00:06:16 +02:00
bordun
600c6e163d docs: variable description 2020-06-24 15:29:55 +02:00
bordun
daab595d46 docs: avoid advanced syntax in scripts 2020-06-24 15:21:21 +02:00
bordun
4478f1d2b7 widgets: add variable widget 2020-06-24 15:12:42 +02:00
bordun
9384af84e3 build: use standard python package call for docs 2020-06-24 15:12:12 +02:00
bordun
0450c397f9 travis: node v12 2020-06-24 14:59:47 +02:00
bordun
fcf781711b docs: midi debug 2020-06-24 14:57:41 +02:00
bordun
37270d69af package: beta 8 2020-06-24 14:53:21 +02:00
bordun
78e434788a midi: fix midi list() (handle extra python logs properly) 2020-06-24 14:50:55 +02:00
bordun
39e9c43f04 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-06-24 12:29:50 +02:00
bordun
a5b2322e43 midi: show failed stdout parsing when debug is true 2020-06-24 12:29:05 +02:00
bordun
89eaba9c3a package: update deps 2020-06-23 18:47:00 +02:00
bordun
ffb6b090ad docs: update widget ref 2020-06-22 18:59:17 +02:00
bordun
ee740c94d5 docs: add custom module example 2020-06-22 18:57:51 +02:00
bordun
5643db3719 docs: typo 2020-06-22 11:18:18 +02:00
bordun
3b31d9b945 line 2020-06-22 08:18:20 +02:00
bordun
79efa3fdc2 server: run electron as node to reduce the number of process in use 2020-06-22 07:32:14 +02:00
bordun
d72765b89e script: comment 2020-06-18 13:45:15 +02:00
bordun
e99cdaa677 script: add unfocus function (built-in client only) 2020-06-18 13:37:50 +02:00
bordun
ce5fa36cd6 slider: fix logScale == -1 2020-06-18 13:33:08 +02:00
bordun
7eb73fefbd scripts: missing global 2020-06-12 16:10:17 +02:00
bordun
39e401d950 package: beta7 2020-06-12 15:25:55 +02:00
bordun
e3293971c1 widgets: fix widget register update from address 'auto' to something elese 2020-06-12 15:20:23 +02:00
bordun
56b4443f58 package: use fixed upstream keyboardjs 2020-06-08 18:24:46 +02:00
bordun
cf56e27c87 scripting: add globals.ip variable 2020-06-06 16:49:12 +02:00
bordun
984882e9f6 server: clean ip storing 2020-06-06 16:44:04 +02:00
bordun
eea37f9c24 packge: beta 6 2020-06-03 16:52:23 +02:00
bordun
b037cb463f input: fix v-align 2020-06-03 11:29:14 +02:00
bordun
b91ce324a3 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-28 20:10:23 +02:00
bordun
7ea1b9e9b4 widgets: fix error in address==auto case 2020-05-28 17:23:10 +02:00
bordun
4e0efbb749 Revert "osc: defered loading of remote-control is no longer needed -> avoid error when receiving osc too early"
This reverts commit 574489b14c.
2020-05-23 15:45:29 +02:00
bordun
54f1c79046 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-23 12:26:55 +02:00
bordun
574489b14c osc: defered loading of remote-control is no longer needed -> avoid error when receiving osc too early 2020-05-23 12:20:52 +02:00
bordun
421112bd5e Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-22 19:11:15 +02:00
bordun
3c82da0557 filebrowser: input margin fix 2020-05-22 19:08:41 +02:00
bordun
60c6dac126 docs: css update 2020-05-22 18:52:45 +02:00
bordun
ad67f8833d ui: padding in simple message modals 2020-05-22 16:35:39 +02:00
bordun
f8e8df63c1 plot: small dots, false by default 2020-05-22 16:35:27 +02:00
bordun
4b9b8677a0 script: add updateProp() to force prop check on a widget 2020-05-22 15:33:36 +02:00
bordun
4af5c8b1b6 script: make builtin script use parent locals 2020-05-22 15:29:59 +02:00
bordun
f3f182c102 docs: globals/locals mutations are not watched 2020-05-21 22:37:58 +02:00
bordun
45600424a7 docs: clean 2020-05-21 21:40:25 +02:00
bordun
a0f95c558b docs: add md 2020-05-21 21:40:12 +02:00
bordun
a1fc5a6dbe docs: add some custom-module examples 2020-05-21 21:38:00 +02:00
bordun
ef85302500 package: beta 5 2020-05-20 18:32:46 +02:00
bordun
28fa4172ff docs: update 2020-05-20 18:32:31 +02:00
bordun
213d421a21 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-20 18:32:11 +02:00
bordun
4295483fad widgets: set default address to "auto" and use id automatically 2020-05-20 17:55:22 +02:00
bordun
fde6b7c90d docs: fix typo in remote-control /SET 2020-05-20 13:39:24 +02:00
bordun
c291d3e9a2 docs: fix beta link 2020-05-20 10:05:24 +02:00
bordun
6e9b1eb1e2 docs: updae 2020-05-20 10:04:07 +02:00
bordun
e0d8c970d9 site: link to beta in download 2020-05-20 10:03:37 +02:00
bordun
4654c7ae82 inspector: put prop value in placeholder when == default and == auto 2020-05-20 09:51:44 +02:00
bordun
b05220b478 widgets: let prop inheritance trigger recreation upon non-dynamic prop update from self 2020-05-19 21:00:03 +02:00
bordun
50cb3c429f Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-17 23:07:56 +02:00
bordun
7272b08dc8 script: fix casing in keyType default value 2020-05-17 23:07:08 +02:00
bordun
72bdb223b8 lint 2020-05-17 19:39:34 +02:00
bordun
eb2a9a638e package: beta4 2020-05-17 19:33:22 +02:00
bordun
00b146e592 docs: ctrl+g/t/i 2020-05-17 19:23:27 +02:00
bordun
409262cfda ui: uncomment kb shortcuts for toggling grid/tree/inspector 2020-05-17 19:20:21 +02:00
bordun
f13e501264 editor: bypass kb shortcuts when help modal is opened (to allow text copy) 2020-05-17 18:56:01 +02:00
bordun
be88d446b9 text: correct inner padding 2020-05-16 19:55:12 +02:00
bordun
5a79e8a175 dropdown: allow border radius 2020-05-16 19:53:04 +02:00
bordun
5d4ca0882f text: icon valign & vertical mode orientation 2020-05-16 19:46:29 +02:00
bordun
6758fc44cd editor: fix children dnd sorting in modals 2020-05-16 19:19:31 +02:00
bordun
9aeee0515f editor: make dragresize rectangle resize with viewport 2020-05-16 17:22:06 +02:00
bordun
39b1180d9c script: fix stateGet 2020-05-16 17:11:16 +02:00
bordun
5c7a55a404 misc: correct css comment 2020-05-16 17:03:09 +02:00
bordun
dcfb6af1a9 switch: style fix when padding==0 2020-05-16 16:58:44 +02:00
bordun
8a9433846f ui: rm border radius, make file browser more flat 2020-05-16 16:54:44 +02:00
bordun
f7a3a8efe3 switch: small css fix 2020-05-16 16:46:22 +02:00
bordun
71db898ef4 widgets: adjust button default css variables 2020-05-16 16:37:02 +02:00
bordun
00d0c0149d server: lint 2020-05-15 20:56:58 +02:00
bordun
7a695343de slider: fix pips initial font weight 2020-05-15 14:35:21 +02:00
bordun
2bcd0e7008 package: missing new font file 2020-05-15 13:27:57 +02:00
bordun
7289466c4a package: rm old font awesome 2020-05-15 13:26:51 +02:00
bordun
b8f389f5aa client: let browser use cache for assets (reset cache when version changes) 2020-05-15 13:25:53 +02:00
bordun
81db9a6227 package: update font awesome 2020-05-15 13:25:40 +02:00
bordun
d85d8fb7f0 package: move html assets to src/ 2020-05-15 13:10:44 +02:00
bordun
96dcb50177 editor: avoid error when ctrl clicking while selecting is empty 2020-05-15 10:16:25 +02:00
bordun
699638c652 package: beta 2 2020-05-15 08:39:37 +02:00
bordun
fd041e212a script: rm colorBg 2020-05-15 08:34:35 +02:00
bordun
800a0bedc2 docs: update reference 2020-05-14 23:28:14 +02:00
bordun
d969f99ac5 widgets: some props cleanup 2020-05-14 23:25:28 +02:00
bordun
f88c33bb03 inspector: regroup class-specific props under the same category dropdown 2020-05-14 23:19:55 +02:00
bordun
6946fbd069 launcher: even spacing between btns in fields 2020-05-14 20:28:25 +02:00
bordun
beadd71970 inspector: valign label/field 2020-05-14 20:28:08 +02:00
bordun
012c400190 docs: update logos 2020-05-14 20:28:00 +02:00
bordun
af692c1cf5 misc: update discourse logo 2020-05-14 20:21:10 +02:00
bordun
77db65a0cd menu/modal: prevent modalBreakout flag from going negative and break (happens when editing parent while opened) 2020-05-14 20:18:18 +02:00
bordun
a49dc40826 rgb: fix layout when alpha slider is present 2020-05-14 16:40:54 +02:00
bordun
371b8c1507 led: set max --opacity when mode == "color" (#624) 2020-05-14 15:33:14 +02:00
bordun
a4e43b0d12 package: beta1 2020-05-14 14:13:48 +02:00
bordun
850be537ac server: lint 2020-05-14 14:13:40 +02:00
bordun
4ece56f315 ui: use logo_nobadge for osc inline icon 2020-05-14 14:11:34 +02:00
bordun
dbd025a787 update icons 2020-05-14 14:10:35 +02:00
bordun
dcb0717ecf package: remove obsolete examples 2020-05-14 13:40:20 +02:00
bordun
ccab14d961 compat: add some conversion cases 2020-05-14 13:27:48 +02:00
bordun
2b7c74b468 lancher: ui tweak 2020-05-14 11:39:23 +02:00
bordun
49fae0b677 inspector: display transparent colors & ensure color picker is always visible 2020-05-14 11:31:31 +02:00
bordun
5ef59b16aa launcher: wait for 'server started' to open default client 2020-05-14 11:06:52 +02:00
bordun
56a6641c46 docs: update & credit nord & atom 2020-05-14 10:56:53 +02:00
bordun
933c956e17 theme: orange --color-ui-button 2020-05-14 10:11:14 +02:00
bordun
ae0d8968a9 ui: add --color-ui-button variable, adapt modal's theme, show prop name in color picker 2020-05-14 10:08:23 +02:00
bordun
490f14b666 inspector: fold all categories by default 2020-05-14 01:37:05 +02:00
bordun
6fa9615c18 ui: cropped bar icon = px perfect dot icon 2020-05-14 01:30:24 +02:00
bordun
fd25bd2ba3 theme: dark by default; "nord" as option 2020-05-13 18:01:35 +02:00
bordun
cd8b29c689 settings: fix appAddress vs ssl when using launcher 2020-05-13 17:08:35 +02:00
bordun
a89c4ae729 theme: add dark 2020-05-13 16:07:38 +02:00
bordun
0a2936b7de theme: orange theme adapt 2020-05-13 15:58:53 +02:00
bordun
831dec6a67 ui: main menu position 2020-05-13 15:54:07 +02:00
bordun
a330960a64 ui: back to bars menu icon 2020-05-13 15:52:36 +02:00
bordun
88b7fb320b ui: inspector select width/pos 2020-05-13 15:39:12 +02:00
bordun
3a407ffc42 ui: launcher/inspector padding consistency 2020-05-13 15:35:01 +02:00
bordun
6b566abeb3 ui: invert inspector field label alignment & tweak field buttons 2020-05-13 15:28:50 +02:00
bordun
d055b22dd5 ui error/warning/success nord colors & launcher theming 2020-05-13 15:15:49 +02:00
bordun
c73f633a47 ui: tweak theme 2020-05-13 15:04:34 +02:00
bordun
faf135c45a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-13 14:21:53 +02:00
bordun
c2b6b5997e ui: rework default theme using "nord" color scheme 2020-05-13 14:21:23 +02:00
bordun
fad234301f osc receiver: allow receiving object args such as osc color args (#623) 2020-05-11 19:50:23 +02:00
bordun
c048ede064 script: send(): use widget's target when omitted 2020-05-11 19:05:55 +02:00
bordun
212d7dc5c0 docs: update 2020-05-11 19:05:50 +02:00
bordun
cf6ac7a253 package: fix shim 2020-05-11 16:55:42 +02:00
bordun
aa628399a7 package: alpha 18 2020-05-11 16:47:43 +02:00
bordun
0fbfbe5ded frame: allow non local urls 2020-05-11 16:46:53 +02:00
bordun
db12c286f0 script: better globals init 2020-05-11 16:05:11 +02:00
bordun
66fb046929 button/tab: missing dynamic flag for label prop 2020-05-11 16:04:55 +02:00
bordun
224ff20f10 input: prevent focus when selecting 2020-05-11 13:41:29 +02:00
bordun
4946737b95 iframes: add allow-forms flag; disable all pointer events when editor is enabled 2020-05-11 13:38:56 +02:00
bordun
75e9906d8f script: fix link in prop description 2020-05-10 23:06:40 +02:00
bordun
0b57f030bb cli: prevent loading gui settings when running with node 2020-05-10 09:42:12 +02:00
bordun
345bba95e0 docs: update and fixes 2020-05-09 18:39:04 +02:00
bordun
6a0ca8526e package: alpha 17 2020-05-09 18:23:47 +02:00
bordun
957c1412ff menu: align prop clean 2020-05-09 18:22:51 +02:00
bordun
8f388e974e menu: menu alignment options 2020-05-09 18:12:53 +02:00
bordun
4701850924 modal/menu: layout breakout from everythinh except tab/root 2020-05-09 17:58:37 +02:00
bordun
4318b955cc widgets: missing property descriptions 2020-05-09 17:05:52 +02:00
bordun
7417fa4810 midi: print midi in debug log before osc in debug log 2020-05-08 11:20:00 +02:00
bordun
c5e9cb9ce9 midi: add device creation debug logs
osc/midi: add DEBUG prefix to debug logs
2020-05-08 11:06:51 +02:00
bordun
1f3e01cf0e docs: virtual midi ports work on mac 2020-05-08 09:50:01 +02:00
bordun
77a6f2835c docs: missing htaccess in git 2020-05-05 22:46:32 +02:00
bordun
3137ebc7da docs: update 2020-05-05 22:41:23 +02:00
bordun
6a25a4d9f0 package: alpha 16 2020-05-05 18:43:19 +02:00
bordun
54c0b7fb29 https: fix 2020-05-05 15:01:49 +02:00
bordun
20714fe58e log: --use-ssl 2020-05-05 14:50:34 +02:00
bordun
420cd8c51b server: add --use-ssl option 2020-05-05 14:50:17 +02:00
bordun
7a4076f8a6 log/doc: --authentication 2020-05-05 12:21:18 +02:00
bordun
4d7ed54186 server: lint 2020-05-05 12:11:11 +02:00
bordun
28fb5c03d3 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-05 12:06:01 +02:00
bordun
e94b4bf9f6 server: add --authentication option 2020-05-05 12:05:46 +02:00
bordun
a590154edf session: clear session name when creating a new session (#622) 2020-05-04 23:47:31 +02:00
bordun
49ef38402f package: alpha 15 2020-05-01 16:20:11 +02:00
bordun
2a7f354c14 visualizer: add 'freeze' prop 2020-05-01 13:25:56 +02:00
bordun
a9a2851288 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-05-01 12:04:19 +02:00
bordun
52d84d117d package: fix ios10 build 2020-05-01 11:36:38 +02:00
bordun
3dfab04eab package: alpha14 2020-04-30 09:50:56 +02:00
bordun
0cb6c27c46 modal: allow disabling popupLabel and set default value to auto 2020-04-30 09:49:07 +02:00
bordun
fdfafe18fd modal: remove icon hint (can be added manually in label), fix displayed default padding in inspector 2020-04-29 23:51:21 +02:00
bordun
f0e016d15c modal: remove extra inner padding 2020-04-29 23:30:24 +02:00
bordun
29d1f2a3ff containers: inner padding tweaks 2020-04-29 23:30:12 +02:00
bordun
c49d74a262 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-04-28 20:25:52 +02:00
bordun
c6bd2ade09 panel: missing 1px of innerPadding 2020-04-28 20:22:43 +02:00
bordun
4c6529cd8b ios: disble overscroll fix on iOS 13, it's not needed and breaks scrolling (#618) 2020-04-28 18:30:05 +02:00
bordun
dd63994bf0 ui: disable session save/export if session is null 2020-04-28 16:06:23 +02:00
bordun
c21da8a275 package: alpha 13 & rm old dep 2020-04-28 15:33:04 +02:00
bordun
3e3f1c6796 cli: fix --custom-module check for path including spaces (#619) 2020-04-28 14:23:31 +02:00
bordun
0daf84a327 modal: breakout clean 2020-04-28 14:17:39 +02:00
bordun
f13bffa1f2 modal: cross browser modal breakout 2020-04-28 10:46:22 +02:00
bordun
690483229d sliders: rendering issues on ios 2020-04-28 10:35:14 +02:00
bordun
13fc7771e0 drag: fix touch traversing (#617) 2020-04-27 20:09:43 +02:00
bordun
6128b6d738 drag: fix draginit target storing when traversing 2020-04-27 20:09:22 +02:00
bordun
0bc29ff859 editor: speed up lasso selection 2020-04-27 10:58:45 +02:00
bordun
67f37c94c6 editor: check selection sibling against 1st selected widget only 2020-04-27 10:58:16 +02:00
bordun
558bbb985a root: more strict singleton fix 2020-04-27 10:07:26 +02:00
bordun
4fe55e77d5 session: ensure 1/ root is singleton 2/ root has widgetManager as parent 2020-04-27 10:01:47 +02:00
bordun
77c564cd2a button: rm unneeded line-height declaration (#616) 2020-04-25 21:20:53 +02:00
bordun
27330be98c package: mb ok 2020-04-25 20:11:58 +02:00
bordun
4836b17871 package: here we go 2020-04-25 20:08:30 +02:00
bordun
6a4d204dad package: update ci dist 2020-04-25 20:03:41 +02:00
bordun
60ee1a95c2 package: ci fix ? 2020-04-25 19:58:16 +02:00
bordun
2495fd3b04 package: ci pip install 2020-04-25 19:52:04 +02:00
bordun
e2da661c15 server: lint 2020-04-25 19:46:47 +02:00
bordun
8c4f9a1de6 package: build docs in ci 2020-04-25 19:45:37 +02:00
bordun
ac106550a2 packge: alpha 12 2020-04-25 19:41:35 +02:00
bordun
b54baaeefc docs: remove github stars counter and bypass xhr request, do some clean 2020-04-25 16:02:06 +02:00
bordun
bb751cb4cc server: add docs-server, --docs cli option & Docs action in launcher menu 2020-04-25 13:37:29 +02:00
bordun
55e0b3a324 options: use existsSync to check files 2020-04-25 13:35:55 +02:00
bordun
b15704ed68 options: make sure nonLauncher options are kept in store and not save in config files 2020-04-25 13:15:39 +02:00
bordun
eb982c7960 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-04-25 00:14:20 +02:00
bordun
567d4e7619 package: move electron license to LICENSE.electron and put o-s-c gpl in LICENSE (#615) 2020-04-25 00:14:05 +02:00
bordun
dde3a732f7 ui: context menu tweaks 2020-04-24 18:02:09 +02:00
bordun
3919bad8bf package: alpha 11 2020-04-24 14:56:15 +02:00
bordun
8c8111f956 docs: widgets ref update 2020-04-24 14:52:26 +02:00
bordun
273cb92c26 docs: firefox support 2020-04-24 14:51:42 +02:00
bordun
6ff9cfbd1c inspector: firefox: show textaread scrollbar when content is multiline 2020-04-24 14:45:22 +02:00
bordun
94fd7f2011 slider: use standard wheel event (& firefox compatible) 2020-04-24 14:41:23 +02:00
bordun
e83b7ce99d modal: firefox compact (ff doesn't support contain: style) 2020-04-24 14:29:02 +02:00
bordun
03801c0789 ui: tweak edited widget border and make it compatible with firefox 2020-04-24 14:11:18 +02:00
bordun
82bf25aa44 firefox: compat tweaks 2020-04-24 13:26:46 +02:00
bordun
bf630b262a context-menu: smaller text 2020-04-24 13:24:59 +02:00
bordun
701c4fa517 inspector: hide _children
frame: rm label
2020-04-23 23:35:34 +02:00
bordun
751b70cad3 ui: context menu style tweaks 2020-04-23 23:29:07 +02:00
bordun
d0d7cce37e package: alpha 10 2020-04-23 23:10:23 +02:00
bordun
ada1eb7d58 launcher: fix layout 2020-04-23 23:09:28 +02:00
bordun
4a3c419f69 clone: pass css prop update to children 2020-04-23 20:06:24 +02:00
bordun
2d9e1b7ee9 clone: rm color bg override 2020-04-23 20:01:16 +02:00
bordun
de17ac8301 fader: add support for dash/gap size in dashed prop 2020-04-23 19:56:30 +02:00
bordun
a3e49f1bcd widgets: clean label removal and lint 2020-04-23 19:42:53 +02:00
bordun
61630803e4 log: rm label prop 2020-04-23 18:38:10 +02:00
bordun
fa1696b284 widgets: various design & layout fixes 2020-04-23 18:36:32 +02:00
bordun
cf47d33eb0 text: fix default value 2020-04-23 17:16:04 +02:00
bordun
ab984c70e7 css: avoid using flex-direction: column whenever possible (perf hit) 2020-04-23 16:32:23 +02:00
bordun
0e9edd59b1 context-menu: light themed 2020-04-23 16:22:37 +02:00
bordun
202efdcee4 inspector: rm debug log 2020-04-23 15:21:40 +02:00
bordun
82cbe878e5 widgets: remove built-in label except for button, modal & tabs
widgets: colorBg property for all; opaque background  for all
2020-04-23 15:20:21 +02:00
jean-emmanuel
fe4e83d6d8 Merge pull request #614 from ritschwumm/patch-2
fix typo
2020-04-23 09:06:22 +02:00
ritschwumm
e208ead603 fix typo 2020-04-23 00:50:27 +02:00
jean-emmanuel
9f6c5c93f1 Merge pull request #613 from ritschwumm/patch-1
fix typo
2020-04-22 22:43:45 +02:00
ritschwumm
0ed4ad3513 fix typo 2020-04-22 22:39:00 +02:00
bordun
c989bc40ee remote control: /EDIT: add support for option flags
docs: update
2020-04-22 16:22:05 +02:00
bordun
2fa237e3a8 widget: resolve prop avoid error 2020-04-22 15:56:31 +02:00
bordun
24f33a2e03 modal: missing innerPadding prop 2020-04-22 15:51:07 +02:00
bordun
28dd19c4f7 panels: reorganize props, add innerPadding property to allow removing panel's inner padding while keeping children spacing
scss: better --widget-spacing def
2020-04-22 15:30:47 +02:00
bordun
c6ffadeee7 clone: reset "not-editable" after /EDIT modifications 2020-04-22 13:51:47 +02:00
bordun
e84c139034 widgets: safe setvisibility() 2020-04-21 20:44:15 +02:00
bordun
c8d69240fb Revert "panel: disable forced widget stretching in vertical/horiontal panels"
This reverts commit 493fbe1d28.
2020-04-21 12:35:48 +02:00
bordun
678fcdd56b modal: fix visibility check 2020-04-21 11:39:49 +02:00
bordun
707303252b ui: use absolute positionning when possible to optimize browse layout calculation (flexbox performs much worse) 2020-04-20 12:02:45 +02:00
bordun
6636f4a7e2 editor: don't use reserved event name for uidragresize resize 2020-04-20 08:33:59 +02:00
bordun
15e8a2afc0 package: alpha 9 2020-04-19 23:33:19 +02:00
bordun
5423426c8f docs: desyncCanvas client option 2020-04-19 23:32:35 +02:00
bordun
948d81271c lint: misc fixes 2020-04-19 20:39:15 +02:00
bordun
b9901ab8c5 canvas: no desynchronized canvas by default 2020-04-19 20:36:24 +02:00
bordun
493fbe1d28 panel: disable forced widget stretching in vertical/horiontal panels 2020-04-19 20:33:59 +02:00
bordun
f497b466c8 modal: revert modal containment except in modals/tabs 2020-04-19 20:33:43 +02:00
bordun
c049aebc34 inspector: hide _children category 2020-04-19 20:31:24 +02:00
bordun
a0532e0421 ui: avoid full layout trashing triggered by sidepanels 2020-04-19 17:47:42 +02:00
bordun
9295b8f86a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-04-19 10:49:03 +02:00
bordun
0f8f55165e icons: add support for transform suffixes 2020-04-19 10:44:01 +02:00
bordun
d2abe4f2e1 package: alpha 8 2020-04-18 17:46:42 +02:00
bordun
c9a275d3c3 visualizer: add framerate 2020-04-18 17:46:24 +02:00
bordun
44f55be3b8 osc: fix inverted ingoreDefaults behavior 2020-04-18 17:35:02 +02:00
bordun
2d00aa6fc7 package: alpha 7 2020-04-18 12:21:55 +02:00
bordun
a41e7d75f3 docs: update prop ref 2020-04-18 12:21:13 +02:00
bordun
492a5838c8 osc receiver: store receivers against all args to avoid conflicts 2020-04-18 12:14:50 +02:00
bordun
1217768e2f docs: osc receivers array/object default value 2020-04-18 12:13:46 +02:00
bordun
87cb90bb45 widgets: implement ignoreDefaults property and remove support for null/self tokens in target 2020-04-17 18:41:59 +02:00
bordun
0625ef8978 osc receiver: allow widget recreation when updating a non-dynamic prop (ignore circular dependence protection) 2020-04-17 18:33:38 +02:00
bordun
c2f96466a2 package: missing alpha6 2020-04-17 18:19:33 +02:00
bordun
1a4cf06a83 osc receiver: use json5 syntax to ease ux 2020-04-17 18:18:44 +02:00
bordun
6dbc261dd6 script: set: pass fromScript flag 2020-04-17 14:16:29 +02:00
bordun
cf16e600ee script: generic id support for "this" (instead of "self") and "parent" 2020-04-17 14:12:51 +02:00
bordun
b51ed2a7db lint: quotes 2020-04-17 12:29:00 +02:00
bordun
d5bbbf3477 plots: move var declare 2020-04-17 12:16:56 +02:00
bordun
2d7cd0d460 docs: scripting: "self" id 2020-04-17 12:16:43 +02:00
bordun
193f304499 plots: small optimization: avoid avoid computing next point when y doesn't change 2020-04-17 11:57:04 +02:00
bordun
5559299e32 script: add support for "self" id in set(), fix builtIn script check in send() 2020-04-17 11:56:06 +02:00
bordun
0e78625ae9 sliders: always update percent value when dragging between boundaries 2020-04-17 11:39:10 +02:00
bordun
fd407132a8 editor: fix inspector update after lasso selection 2020-04-16 18:57:09 +02:00
bordun
1567dde5d3 visualizer: ensure canvas loop is running when starting its own loop 2020-04-16 18:44:31 +02:00
bordun
836cd1a1ed docs: options descrptions 2020-04-12 10:32:42 +02:00
bordun
2836ae533d docs: rm alpha link 2020-04-11 23:52:06 +02:00
bordun
d353efc649 package: alpha5 2020-04-11 23:51:26 +02:00
bordun
f0b45e1e78 server: better argv handling and hopefully fix for #612 2020-04-11 23:50:50 +02:00
bordun
4ae62cfcb5 docs: update alpha link 2020-04-11 18:25:00 +02:00
bordun
ccfb738e1a package: alpha4 2020-04-11 18:21:48 +02:00
bordun
9d19afb26d launcher/windows: prevent args containing colons from breaking config 2020-04-11 18:21:32 +02:00
bordun
8a9156c337 launcher: ensure .config extension on saved file 2020-04-11 15:46:59 +02:00
bordun
283d9a3869 docs: phrasing boom 2020-04-09 20:04:42 +02:00
bordun
72e2e08847 docs: fix alpha link 2020-04-08 23:28:53 +02:00
bordun
3d4a999afb docs: 404 page and misc things 2020-04-08 18:39:01 +02:00
bordun
c20c782087 docs: link fixes 2020-04-08 16:51:25 +02:00
bordun
0660fa5739 docs: link error 2020-04-08 16:37:17 +02:00
bordun
87432db5fb docs: update screenshots 2020-04-08 16:33:41 +02:00
bordun
f720b9fc7c docs: restore dynamic prop hint 2020-04-08 16:24:53 +02:00
bordun
8e67a5bb05 docs: update discourse logo && script 2020-04-08 16:16:49 +02:00
bordun
ff05b0f74c docs: getting there 2020-04-08 15:58:03 +02:00
bordun
34f76578d6 docs: recolor logo, tweak theme wip 2020-04-08 09:31:14 +02:00
bordun
0b37b29786 package: alpha3 2020-04-06 17:10:27 +02:00
bordun
a70a0b3040 docs: css var fix 2020-04-06 17:03:09 +02:00
bordun
ac32cd8d00 docs: css variables 2020-04-06 17:01:06 +02:00
bordun
e1918a3e0d inspector: choices in help modal
docs: continue
2020-04-06 16:33:51 +02:00
bordun
3936d694bc docs: making progress 2020-04-06 15:56:12 +02:00
bordun
f5682fe9db docs: more 2020-04-06 15:50:03 +02:00
bordun
fceddd3cb4 docs: misc 2020-04-06 14:58:41 +02:00
bordun
8fbe7c0c1d docs: widget ref generated hint 2020-04-06 14:56:15 +02:00
bordun
d08aaa319c docs: wip wip 2020-04-06 14:53:08 +02:00
bordun
9991d3c815 script: fix script prop doc 2020-04-06 14:46:08 +02:00
bordun
ec57994e36 docs: ui/tree 2020-04-06 14:24:52 +02:00
bordun
c29d809e79 docs: user interface wip 2020-04-06 13:37:36 +02:00
bordun
c5fdd2a5e1 launcher: hide double dash options prefix 2020-04-06 12:25:21 +02:00
bordun
c7fa1d1e7b editor: ignore invisible widgets when drawing dragresize area 2020-04-06 11:56:25 +02:00
bordun
9be22caa81 docs: getting started ok, scripting missing clues 2020-04-06 11:40:27 +02:00
bordun
def10d13f6 cli: move --fullscreen 2020-04-06 11:21:23 +02:00
bordun
ec94696e8b server: --tcp-target check consistency 2020-04-06 10:50:10 +02:00
bordun
06c97ca66a docs: intro update 2020-04-05 19:52:09 +02:00
bordun
780a814077 docs: intro 2020-04-05 19:36:54 +02:00
bordun
c3e9edbf8c package: alpha2 2020-04-05 18:51:08 +02:00
bordun
030e9d45c9 multixy: fix inner pads visibility update 2020-04-05 18:50:26 +02:00
bordun
8fc35998d3 fader: pips position tweaks 2020-04-05 18:36:39 +02:00
bordun
ef74db5ce2 ipc/server: differenciate 'close' and 'destroyed' events 2020-04-05 18:30:48 +02:00
bordun
27145901b4 fader: use colorFill for pip color, colorStroke for head color 2020-04-05 18:18:50 +02:00
bordun
b00afde6fc docs: script property desc 2020-04-05 17:41:05 +02:00
bordun
0b50ba6807 docs: small screen layout fix on home/download pages 2020-04-05 15:48:56 +02:00
bordun
53a76e7933 midi: valid syntax check 2020-04-05 15:42:52 +02:00
bordun
872a125201 package: alpha1 2020-04-05 11:05:52 +02:00
bordun
57ad2708c5 launcher: more contrasted help messages 2020-04-05 10:49:54 +02:00
bordun
446730244d launcher: no accent color on start button 2020-04-05 10:48:18 +02:00
bordun
87539f08a9 launcher: rm old file 2020-04-05 10:45:57 +02:00
bordun
daa921baf9 launcher: start button in toolbar 2020-04-05 10:45:43 +02:00
bordun
98d7dfd54a server: fix variable assignments in for loops 2020-04-04 22:39:29 +02:00
bordun
b114e0d371 docs: update 2020-04-04 17:15:47 +02:00
bordun
0ac381b930 package: copy fonts, nosymlink 2020-04-04 12:49:20 +02:00
bordun
c757a68714 Revert "package: no more 32bit linux binaries"
This reverts commit 69cccd3d4b.
2020-04-04 12:12:19 +02:00
bordun
69ac795f46 docs: continue 2020-04-04 12:04:11 +02:00
bordun
69cccd3d4b package: no more 32bit linux binaries 2020-04-04 12:03:52 +02:00
bordun
e6034f9110 docs: json error 2020-04-04 11:37:05 +02:00
bordun
9627200769 docs: yml clean 2020-04-04 11:19:17 +02:00
bordun
fd1fcfc052 Merge branch 'pixelnerve-master' 2020-04-04 11:18:07 +02:00
bordun
caf58feabb Merge branch 'master' of https://github.com/pixelnerve/open-stage-control into pixelnerve-master 2020-04-04 11:15:59 +02:00
bordun
714a6b5040 package: alpha0 2020-04-04 11:14:34 +02:00
bordun
185222f2e6 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-04-04 11:11:20 +02:00
bordun
4beddbe383 fonts: woff2 roboto
docs: cleanup
2020-04-04 11:09:32 +02:00
bordun
f181f600dd scripts: tweaks 2020-04-03 12:58:53 +02:00
bordun
581e73ca9c docs: wip
assets: move fonts to resources/
2020-04-03 12:58:28 +02:00
bordun
7d54daf6d4 misc: fix some module require orders 2020-04-03 12:36:25 +02:00
bordun
940ccfb4b0 script: always provide id in built in script 2020-04-01 13:49:14 +02:00
bordun
b23d60bc02 doc: script var id & value 2020-04-01 13:48:55 +02:00
Pixelnerve
30a3ef6bc4 Change string to single quote
Remove semi-colon
2020-03-31 23:57:11 +02:00
Pixelnerve
fa59f60973 Resolve special char "~" on Dialog Box's paths. "~" will be resolved to the user's home directory.
Example: Open a Dialog Box on the user's Documents folder with "~/Documents"
2020-03-31 23:41:35 +02:00
bordun
06e64e9c5b button: avoid loop on tap release 2020-03-31 09:52:53 +02:00
bordun
2402ad11ed notification: safe removal 2020-03-31 09:52:39 +02:00
bordun
eeca7d172a docs: phrasing 2020-03-30 20:15:02 +02:00
bordun
3ad91e9c15 docs: scripting 2020-03-30 20:14:08 +02:00
bordun
fdc1360567 script: make send() first arg optional 2020-03-30 20:13:16 +02:00
bordun
58d1b0e09d docs: JS{{}} docs 2020-03-30 19:15:35 +02:00
bordun
932d282c3e docs: rm mathjs 2020-03-30 19:00:43 +02:00
bordun
0748ad121b docs: custom module update 2020-03-30 18:58:49 +02:00
bordun
7a1323f5cd log: missing space 2020-03-30 18:28:03 +02:00
bordun
1615369f83 client: better unload callback 2020-03-30 18:26:18 +02:00
bordun
b625e3cb78 client: fix module load order 2020-03-30 18:22:34 +02:00
bordun
76e06e3186 session: rm debug log 2020-03-30 18:18:11 +02:00
bordun
b2079c4e9e custom-module: strict clientId detect 2020-03-30 18:09:41 +02:00
bordun
0b9c16a8f2 remote/notify: empty value fallback to blockspace 2020-03-30 18:06:52 +02:00
bordun
b1d9cdb285 custom-module: pop last optional arg if used 2020-03-30 18:05:16 +02:00
bordun
4571e2df07 ipc: emit 'close' when closing/refreshing tab 2020-03-30 18:03:10 +02:00
bordun
6e6d5a69eb client: allow specifying client id via url options 2020-03-30 17:55:18 +02:00
bordun
4e6680f5a8 server: clean callback module a bit
custom-module: allow extra options arg in receive() to choose the client
2020-03-30 17:47:43 +02:00
bordun
b86d232518 editor: ensure @{} bindings are always updated upon edition 2020-03-30 12:01:15 +02:00
bordun
026993ce0c fileupload: var name err 2020-03-29 15:12:50 +02:00
bordun
6b6b300e65 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-03-29 15:06:27 +02:00
bordun
fa182276fe cli: don't coerce args in option store 2020-03-29 15:05:52 +02:00
bordun
d295b8e646 launcher: propert server start/stop callback 2020-03-29 15:05:16 +02:00
bordun
18f1201c0f Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-03-27 23:46:01 +01:00
bordun
301ef8df37 toolbar: disable recent session submenu when empty 2020-03-27 23:45:29 +01:00
bordun
ee1a079741 lint: quotes 2020-03-26 15:29:26 +01:00
bordun
b4d264b40a inspector: small improvements on help popup 2020-03-26 15:13:10 +01:00
bordun
1d7ddc2cf7 frame: no pointer event when empty 2020-03-26 14:54:52 +01:00
bordun
e3dfe3f4db text: style fix 2020-03-26 14:45:52 +01:00
bordun
3edab18c7b clone: don't copy class .no-interaction 2020-03-26 14:45:40 +01:00
bordun
f26dbc4a33 session: a few more compat fixes with v0 2020-03-26 14:42:17 +01:00
bordun
ebeaedb258 colorPanel: missing in some widgets + description 2020-03-26 14:20:06 +01:00
bordun
527325940b hotreload: use sessionStorage instead of localStorage 2020-03-26 14:17:04 +01:00
bordun
55dae19e60 misc: implicit callback namin 2020-03-26 14:15:47 +01:00
bordun
dfc1780224 cli: -c check fix 2020-03-26 14:12:27 +01:00
bordun
7442608086 lint: unused vars 2020-03-26 12:59:04 +01:00
bordun
934634d4e5 modal: tweak simple message formatting
package: missing dep
2020-03-26 12:52:13 +01:00
bordun
57c4c3b800 session: implement session converter; add some meta data
dev: handle hot reload data with localStorage
2020-03-26 12:29:06 +01:00
bordun
3578c81e42 button: default size 2020-03-26 12:28:37 +01:00
bordun
3492a89337 package: watch script tweak 2020-03-26 10:28:57 +01:00
bordun
1937d91fae docs: missing file 2020-03-25 12:55:05 +01:00
bordun
3482c541ac docs: no cdn 2020-03-25 12:52:04 +01:00
bordun
a215ff6a41 electron: ctrl+w close on keyDown only 2020-03-25 11:41:02 +01:00
bordun
d194272897 widgets: missings property descriptions 2020-03-25 11:35:35 +01:00
bordun
999bdcaf13 knob: rm alternate design and tweak main design 2020-03-25 11:31:56 +01:00
bordun
8acbf5eef9 text: vertical centering fix 2020-03-25 11:22:44 +01:00
bordun
5455492d39 eq: standard value handling 2020-03-25 11:08:13 +01:00
bordun
6654b88dc9 lint: var/let 2020-03-25 10:47:37 +01:00
bordun
9066d49a4c Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-03-25 10:40:50 +01:00
bordun
7bc98f75e3 options: regexp error 2020-03-25 09:38:20 +01:00
bordun
d29bc389d6 matrix: default type to button 2020-03-24 20:33:37 +01:00
bordun
faea07eb03 multixy: update pads css cache on update 2020-03-24 12:56:45 +01:00
bordun
7da63353e6 eq: fix filter.on 2020-03-24 12:42:19 +01:00
bordun
e6f5945009 script: safe compile 2020-03-24 12:17:11 +01:00
bordun
4afacdba02 session history: wrong dedupe 2020-03-24 11:57:45 +01:00
bordun
7c580b90e7 state: store quickstate in client localStorage 2020-03-24 11:51:59 +01:00
bordun
c3d3842840 Merge branch 'v0' 2020-03-24 11:23:55 +01:00
bordun
d53be741bd package: update deps & build
scripts
2020-03-24 11:17:46 +01:00
bordun
ac38b03a8e package: last v0 release 2020-03-24 11:14:24 +01:00
bordun
94dbc3faba dropdown: value update issue on iOS 13
html: allow `class`, `title` and `style` attributes
2020-03-24 11:10:01 +01:00
bordun
9b6138b7dc eq: tweak, smoothing !! 2020-03-23 19:23:48 +01:00
bordun
62a45961af eq: revert to js biquad implementation for better compatibility 2020-03-23 19:07:09 +01:00
bordun
4618530aed eq: soft load audio context 2020-03-23 18:16:50 +01:00
bordun
a37101e60e menu: bad import 2020-03-23 18:16:39 +01:00
bordun
615132b711 dropdown: force menu close on ios only 2020-03-23 18:16:28 +01:00
bordun
29212412e6 canvas: not ready 2020-03-23 16:30:09 +01:00
bordun
2121022260 widgets: default sizes 2020-03-23 16:29:10 +01:00
bordun
9531ae9cde fader: add horizontal class
range: design name fix
2020-03-23 16:28:44 +01:00
bordun
41f2ce5210 menu/dropdown/switch: unfinished unification 2020-03-23 16:13:44 +01:00
bordun
e21ffa520d lint: lint lint lint 2020-03-23 15:58:08 +01:00
bordun
f8a5eda6aa lint: white spaces & var decl 2020-03-23 15:43:24 +01:00
bordun
8093945a64 lint: spaces 2020-03-23 15:35:07 +01:00
bordun
939141a2ce fileupload: uiloading error 2020-03-23 14:44:38 +01:00
bordun
efcd21aaed missing file 2020-03-23 14:42:12 +01:00
bordun
071d2ab752 switch/menu/dropdown: unified value parsing
dropdown: remove `showValues`
2020-03-23 14:25:56 +01:00
bordun
9445d58e55 menu: value display fix 2020-03-23 13:19:58 +01:00
bordun
97e6d65c39 upd: var error 2020-03-23 13:12:56 +01:00
bordun
ddd8d409dd dropdown: remove 1st empty option, clean value update routine 2020-03-23 13:12:30 +01:00
bordun
f38c66074d changelogs 2020-03-23 12:47:38 +01:00
bordun
eb857841a7 tree: clear expanded hash store, only expand root once at init 2020-03-23 12:41:59 +01:00
bordun
e9fb44884c widget: reuse hash upon recreation
widget: fix js locals reuse
tree: use hash instead of id to determine expanded containers
2020-03-23 12:34:50 +01:00
bordun
47005370e5 locales: update fr/en and delete ru 2020-03-23 12:10:44 +01:00
bordun
99f759c116 editor: prevent interaction with widgets when shift or ctrl is held 2020-03-23 11:42:13 +01:00
bordun
73010ed1b0 script: set correct context for setTimeout and setInterval 2020-03-23 11:07:00 +01:00
bordun
ba013f0904 dropdown: close when receiving a value 2020-03-23 11:00:06 +01:00
bordun
96fa226600 canvas clear 2020-03-23 10:18:45 +01:00
bordun
3ce0a0e6af builtin script 1st try 2020-03-23 10:18:32 +01:00
bordun
fd3e0df986 eq: some clean
logscale: adaptive log scale and allow manual value
2020-03-22 15:46:36 +01:00
bordun
6e966f42da editor: prevent copy/cut on root, fix cut 2020-03-21 23:13:52 +01:00
bordun
81f187c088 logScale: reverse logScale logic (to the expected one) and allow exponential if logScale == -1
eq: reimplement using native audio node biquad filters
sidepanel-right: prevent 1px border-right from messing with scrollbar interaction
2020-03-21 19:50:19 +01:00
bordun
b07158008e editor: keybinding clean
vm: global globals
2020-03-21 12:41:26 +01:00
bordun
e250d81088 clean 2020-03-21 11:53:28 +01:00
bordun
d9c32382bc eq: define filters in "filters" property
plot: var declaration fixes
inspector-field: smart quote fix
2020-03-21 11:42:20 +01:00
bordun
b132f0315b script: fixes and timeouts/intervals implementation 2020-03-20 17:43:53 +01:00
bordun
42fdebd494 theme: orange 2020-03-20 13:08:55 +01:00
bordun
4a30b98cd0 settings: refactor settings store
read-only: pass flag with index.html response
theme: clean & remove old themes
2020-03-20 12:57:47 +01:00
bordun
1b73dbfaa5 fix dragresize position to grid when initial position/size is not on the grid 2020-03-20 10:08:38 +01:00
bordun
036fd30044 html: allow class, title and style attributes 2020-03-20 09:42:28 +01:00
bordun
f509a986d4 eq: remove logScaleX property => always to true 2020-03-20 09:35:29 +01:00
bordun
e4e536b5b1 root: missing scroll property
scrollbar: error when transparent
2020-03-19 18:18:00 +01:00
bordun
e57cc0a8b2 fix azerty ctrl+w 2020-03-19 17:42:45 +01:00
bordun
2c0398e1ad Merge branch 'master' into v1 2020-03-18 11:18:45 +01:00
bordun
2bd2c51398 package: v0.49.11 2020-03-18 11:15:29 +01:00
bordun
bc27bc9c31 html widget: content not initialized properly 2020-03-18 11:12:05 +01:00
bordun
b6ba68c03e icon: regression (0.49.10) breaking icon with short names (minimum valid length set to 2 characters) 2020-03-18 10:58:07 +01:00
bordun
7f8f54058f test: fix scripts 2020-03-17 19:49:12 +01:00
bordun
1aa6decc42 Merge branch 'master' into v1 2020-03-17 19:40:30 +01:00
bordun
4c97701e86 ngpu fix: missing global declaration 2020-03-17 19:33:33 +01:00
bordun
05ae9dce01 package: fix test script 2020-03-17 19:25:59 +01:00
bordun
b57c3b546a Merge branch 'master' into v1 2020-03-17 18:54:05 +01:00
bordun
b1daf15fb1 package: electron downgrade (windows compat issue) 2020-03-17 18:48:12 +01:00
bordun
a9a23f55a6 no-gpu fix: missing import 2020-03-17 18:41:36 +01:00
bordun
590c4ae8c4 misc: prevent converting "^icon-name" to an icon (in text widgets and labels) when icon-name is too short to be a valid icon name (minimum 4 characters) 2020-03-17 18:41:22 +01:00
bordun
fe4589719c cli: prevent --disable-gpu from bypassing the launcher
canvas: canvas glitches when hardware acceleration is disabled (--disable-gpu) (built-in gui only)
2020-03-17 18:25:12 +01:00
bordun
16473153d7 clean 2020-03-17 17:53:36 +01:00
bordun
696a71a390 server: allow user loading svg files
package: v0.49.10
2020-03-17 17:43:30 +01:00
bordun
8d7d4b989d package: downgrade electron engine to fix regression (v0.49.8) on some systems 2020-03-17 16:35:09 +01:00
bordun
1be0ec296d fix canvas issue when gpu is disabled 2020-03-15 23:45:27 +01:00
bordun
7803b6d737 restore --disable-gpu (cli only) & minor fix 2020-03-15 23:22:45 +01:00
bordun
03e1bd1557 --cache-dir & --config-path 2020-03-15 23:15:31 +01:00
bordun
4d16e63ffd Merge branch 'master' into v1 2020-03-15 21:45:39 +01:00
bordun
c4ec9c36ac package: fix test 2020-03-15 21:42:53 +01:00
bordun
fe86d5261e drop ios 9.3 2020-03-15 21:38:53 +01:00
bordun
f0a87add60 package: update electron (attempt to fix #599) and release v0.49.8 2020-03-15 21:21:55 +01:00
bordun
f797988c64 big clean, multi point touchstate, auto update check toggle, rm switchers, add state fn to scripts 2020-03-15 19:14:08 +01:00
bordun
d776922b24 evaljs -> vm; clean mapToScale; add JS locals variable 2020-03-14 19:06:56 +01:00
bordun
c4559315f7 minor fixes & stacktrace folding in terminal 2020-03-13 16:28:43 +01:00
bordun
f58db44858 client options 2020-03-12 12:07:58 +01:00
bordun
1750909f24 ctrl+w=close window & minor fixes 2020-03-12 11:01:59 +01:00
bordun
17ac77ce9e launcher ok 2020-03-11 16:42:45 +01:00
bordun
7fdd836ca7 minor fixes 2020-03-11 10:33:18 +01:00
bordun
4f31985930 error handling, launcher ui, read-only mode, rm plot/smooth 2020-03-09 19:12:43 +01:00
bordun
cee4cb81b7 traversing stack works 2020-03-07 12:38:59 +01:00
bordun
cb48d0f408 be4 traversing mod 2020-03-07 11:42:41 +01:00
bordun
2c86691bb8 uimodal tweak, inspector help modal 2020-03-06 20:18:40 +01:00
bordun
b090657b69 norelease toggle doesn't sync anymore 2020-03-06 17:18:53 +01:00
bordun
d608b7c08d allow copying tabs too 2020-03-06 16:47:59 +01:00
bordun
8edcb8d044 be4 copy paste any widget 2020-03-06 15:42:23 +01:00
bordun
9744fe422b Merge branch 'master' into v1 2020-03-05 22:35:33 +01:00
bordun
08da1c0de5 log: rgb range fix 2020-03-05 22:35:03 +01:00
bordun
810f18a2e5 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-03-05 22:34:23 +01:00
bordun
71aa59d0e9 rgb: range not applied when receiving value 2020-03-05 22:33:39 +01:00
bordun
36d85b096d check 2020-03-05 22:32:38 +01:00
bordun
52896db315 sync: typo breaking sync when a single string target is set (#598) 2020-03-05 12:06:22 +01:00
bordun
0459fe94fd uitoolbar pretty cool, contextmenu improvements, allow root containing normal widgets 2020-03-04 15:11:31 +01:00
bordun
5b1913da12 uiToolbar on the way, screen sized windows by default 2020-03-03 22:18:16 +01:00
bordun
a58075c602 rename precision to decimals, add typeTags, continue refactoring 2020-02-29 17:03:26 +01:00
bordun
f41ac14698 fader modes, rgb fix 2020-02-27 16:47:01 +01:00
bordun
fdc6e1d33d custom color picker 2020-02-27 14:35:08 +01:00
bordun
1fadea7a6b ui progress 2020-02-25 18:45:25 +01:00
bordun
42c99aaece nice editor there 2020-02-25 12:31:22 +01:00
bordun
2edccfbb79 v1 on fire 2020-02-24 19:18:24 +01:00
bordun
be693864ab continue v1 2020-02-24 14:00:59 +01:00
bordun
85f7f1cb8e package: structure 2020-02-24 11:00:56 +01:00
bordun
17fcd50918 lint: unnused var 2020-02-24 10:45:49 +01:00
bordun
76563028b9 Merge branch 'master' into v1 2020-02-24 10:45:10 +01:00
bordun
d38553f17b launcher: disable unstable Relaunch context menu action 2020-02-24 10:40:32 +01:00
bordun
2a9989b696 package: restore yargs update 2020-02-24 10:34:51 +01:00
bordun
3d5db78a2a package: v0.49.6 2020-02-24 10:32:07 +01:00
bordun
d3c4471489 cli: windows users launching the app from a terminal now need to add a double dash (--) before their options 2020-02-24 10:31:28 +01:00
bordun
0b1119a81b Merge branch 'master' into v1 2020-02-23 19:46:27 +01:00
bordun
322648e5ed packge: v0.49.5 2020-02-23 19:42:20 +01:00
bordun
5ba3f31e76 cli: downgrade yargs to fix #596 2020-02-23 19:40:38 +01:00
bordun
3ad7915b8f Merge branch 'master' into v1 2020-02-23 18:56:39 +01:00
bordun
cee513ee7d launcher: fix file browsing (dialog.showOpenDialog now returns a promise) 2020-02-23 15:10:12 +01:00
bordun
b8c925c2ef v1 refactor wip 2020-02-23 12:36:06 +01:00
bordun
ddbd526eae package: 0.49.4 2020-02-23 12:30:42 +01:00
bordun
69c4cab139 fader: meter: use fader's target (allows midi sync) 2020-02-23 12:29:14 +01:00
bordun
b052abf3cc launcher: use current midi config for "List devices" action 2020-02-23 12:23:15 +01:00
bordun
38622cee62 image: fix absolute path & reset to 'default' instead of 'value' when receiving an empty value 2020-02-23 12:20:24 +01:00
bordun
01a02b2685 log: zombie process issue 2020-02-09 15:45:06 +01:00
bordun
7f7ad2c309 package: 0.49.3 2020-02-09 15:43:46 +01:00
bordun
8777ce2407 package: latest 7.1.* electron 2020-02-09 15:42:39 +01:00
bordun
25ec308719 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-02-09 12:09:28 +01:00
bordun
72ad9809fc launcher; restore default log methods when closed to avoid errors 2020-02-09 12:08:28 +01:00
bordun
ccd9a698e1 docs: hint right click midi device list 2020-02-08 13:40:00 +01:00
bordun
02187394a3 docs: wrong midi note 2020-02-08 13:23:03 +01:00
bordun
cb986cb3b6 package: 0.49.2 2020-02-07 08:12:11 +01:00
bordun
82f47fb636 themes: tweaks 2020-02-06 23:53:14 +01:00
bordun
d2c46bdaae sidepanel: fix box shadow color 2020-02-06 23:40:32 +01:00
bordun
5767a6724d editor: assign correct address based on id when emptying the field (#592) 2020-02-06 23:25:28 +01:00
bordun
544aab5989 plots: always set bypass to false`(#592) 2020-02-06 23:17:01 +01:00
bordun
1048d41582 package: v0.49.1 2020-02-06 10:11:08 +01:00
bordun
4e3a3a6580 menu: fix item hover/selection on touchmove 2020-02-06 10:08:01 +01:00
bordun
6dc36b0ef7 custom module: send() function casting numbers to integers instead of floats by default 2020-02-04 08:26:10 +01:00
bordun
40a399fa1f modal: error when label depends on a child's property 2020-02-03 14:38:17 +01:00
bordun
17532cdf0f docs: mv donate -> support 2020-01-31 19:39:35 +01:00
bordun
2f13c59aff docs: tab: typo 2020-01-31 19:33:54 +01:00
bordun
082e35e715 docs: id conflict fix 2020-01-31 19:31:51 +01:00
bordun
08c697f8d8 lint: unnused var 2020-01-31 15:36:23 +01:00
bordun
5e4a59d2dd docs: minor fixes 2020-01-31 15:35:25 +01:00
bordun
3bbd3d8a35 package: v0.49.0 2020-01-31 15:26:30 +01:00
bordun
a32598f631 mathjs: mute deprecation warning until there's an easy migration tip to provide 2020-01-31 15:21:30 +01:00
bordun
7f566c4ac2 docs: arch armv7l instruction 2020-01-31 15:14:22 +01:00
bordun
fe7d1e47ff docs: phrasing boom 2020-01-31 14:52:49 +01:00
bordun
0898f6d61b docs: remove donate btn & add some explanations 2020-01-31 14:50:12 +01:00
bordun
0b4193eb96 log: tab detached option 2020-01-31 14:20:27 +01:00
bordun
23a607ef93 docs: add tab & root, fix default value display 2020-01-31 14:18:42 +01:00
bordun
4b15bcf1c6 log: bad white space 2020-01-31 14:05:46 +01:00
bordun
4a749c182c client sync: use raw target to avoid comparison errors 2020-01-31 14:02:24 +01:00
bordun
ee77a7aa2c docs: update cli 2020-01-31 13:36:40 +01:00
bordun
1b9d593131 docs: update property syntax docs & widget reference 2020-01-31 13:34:54 +01:00
bordun
07d8380656 docs: clean 2020-01-30 22:47:27 +01:00
bordun
eb04ada9d0 docs: clean 2020-01-30 22:46:45 +01:00
bordun
94ece1f9a3 docs: rm jumbotron iframe 2020-01-30 22:42:00 +01:00
bordun
8281c3abf7 state: set statePath when opening a state file from the server (#590) 2020-01-30 13:31:12 +01:00
bordun
09ff63c9ec canvas: don't use deprecated rendering method 2020-01-28 23:56:12 +01:00
bordun
bc548a18ea package: missing transpilations for old electron compat 2020-01-28 16:52:33 +01:00
bordun
a1a9ce326e docs: link to fontawesome in label's doc 2020-01-28 16:35:37 +01:00
bordun
966733d2e1 text: optimize value update when there's no icon to draw 2020-01-28 16:32:47 +01:00
bordun
da921ce7ca Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-01-28 16:04:19 +01:00
bordun
f1f03705a1 cli: allow midi:port_name pairs in --send option 2020-01-28 16:03:58 +01:00
bordun
de6ed2392d tab: test setting detached as an option 2020-01-28 11:36:49 +01:00
bordun
af5b5207ea package: transpile yargs to keep compatibility with older node/electron 2020-01-28 11:26:18 +01:00
bordun
e4e64be47e browser: file load regression 2020-01-27 13:28:37 +01:00
bordun
6cbeabf75a package: update debian packager 2020-01-27 12:48:06 +01:00
bordun
7ca4ad2f67 package: v0.49.0-rc2 2020-01-27 10:15:56 +01:00
bordun
2bb995a7f5 package: update scripts 2020-01-27 09:56:28 +01:00
bordun
a11eaad4fa menu: position tweaks 2020-01-27 09:42:37 +01:00
bordun
e29e5f83cb menu: close when clicking outside in toggle mode 2020-01-27 09:27:49 +01:00
bordun
c795c731bb cli: add --force-gpu switch 2020-01-27 08:55:32 +01:00
bordun
60cd50f9d5 mathjs: print deprecation warning for each widget 2020-01-27 08:44:32 +01:00
bordun
dd5d58af57 file: fix folder string display 2020-01-27 00:31:51 +01:00
bordun
c2da67ab70 modal: nested modal fix 2020-01-26 21:34:24 +01:00
bordun
6592671880 menu: position fix in modals 2020-01-26 21:34:06 +01:00
bordun
43bfb40713 menu widget: layout fix 2020-01-26 20:43:28 +01:00
bordun
185f409bad script: adapt shim 2020-01-26 19:59:19 +01:00
bordun
2180f2fe3e package: 0.49.0 build test 2020-01-26 17:53:02 +01:00
bordun
fbf47883cb package: add arm64; rpi build should work with default version now 2020-01-26 17:47:34 +01:00
bordun
9a875640eb electron: adapt exit warning to new version 2020-01-26 17:40:55 +01:00
bordun
0502882c37 fullscreen: adapt to new version 2020-01-26 17:31:19 +01:00
bordun
17c0e64eca mathjs; downgrade version & deprecate syntax 2020-01-26 17:22:51 +01:00
bordun
34ab43cd6a package: downgrade buggy dep 2020-01-26 17:04:15 +01:00
bordun
02089c68f2 package: rm utf8 dep 2020-01-26 16:56:23 +01:00
bordun
a6314cd441 osc: utf8 read/write is now supported upstream 2020-01-26 16:54:32 +01:00
bordun
91585ce56c electron: prevent backgorund color flash 2020-01-26 16:53:02 +01:00
bordun
0b1884fdf8 package: attempt to update all deps 2020-01-26 16:52:46 +01:00
bordun
eb13200494 package: next release is 0.49.0 2020-01-26 16:38:35 +01:00
bordun
3cf7a11d3e editor: fix error when hitting mod + a and unselecting widgets 2020-01-26 16:37:36 +01:00
bordun
0f86474eb6 tabs: test tabs perfs without DOM detach (#589) 2020-01-26 12:06:50 +01:00
bordun
f6d1c00585 file widget: add allowDir property (#589) 2020-01-26 11:57:23 +01:00
bordun
fe7d70ca40 file: allow selecting folders (#588) 2020-01-26 11:01:34 +01:00
bordun
4c0636c7a4 ui: prevent error on scroll-zoom 2020-01-26 10:45:22 +01:00
bordun
6168555b81 menu widget: tweaks 2020-01-25 19:00:50 +01:00
bordun
426ee5b893 menu widget: doubletap & toggle modes 2020-01-25 15:45:19 +01:00
bordun
7ad6695a70 modal: title color fix 2020-01-25 15:45:12 +01:00
bordun
8bd20abaac menu widget: better icon 2020-01-25 15:19:49 +01:00
bordun
533af7521b editor: set label to auto instead of true when using the toggle button 2020-01-25 15:16:38 +01:00
bordun
d42394c420 menu widget: add layout modes and tweak 2020-01-25 15:10:21 +01:00
bordun
9a3e2b89c2 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2020-01-23 23:56:18 +01:00
bordun
201c8780cc widgets: new menu widget, fresh implementation (#468) 2020-01-23 23:54:40 +01:00
bordun
8c19ef0af4 plots: allow setting targets property for midi bindings
docs: mention target requirements
2020-01-21 17:49:50 +01:00
bordun
5487b3ff39 editor: convert invalid quote characters automatically to avoid errors 2020-01-15 16:55:55 +01:00
bordun
459bb292d6 log: 0.48.8 2020-01-14 22:30:16 +01:00
bordun
b845742b8e package: 0.48.8 2020-01-14 22:27:38 +01:00
bordun
c2a4933e13 save dialog: prevent keys widgets from capturing keystrokes when typing the filename 2020-01-14 22:27:11 +01:00
bordun
4ccd48abe4 midi: take server targets into account to determine widget matching 2020-01-03 18:28:55 +01:00
bordun
b5a14583f2 tcp: prevent sending osc messages on udp port when the same port number is set as a tcp target 2020-01-03 10:02:43 +01:00
bordun
bd912278de log: strip fix 2019-12-27 10:30:57 +01:00
bordun
b684f38791 strip: layout issues when moving widget in a strip (min width/height still active) 2019-12-23 15:43:19 +01:00
bordun
4a17e608ff package: 0.48.7 2019-12-23 13:38:02 +01:00
bordun
02340cad8b plot: fix origin property ignore when == 0 2019-12-23 13:20:34 +01:00
bordun
0e8bb37212 osc/midi: messages received from a midi port only affect widgets that send to this port 2019-12-20 13:38:23 +01:00
bordun
d454222232 utils: rm inacurate statement 2019-12-20 13:21:46 +01:00
bordun
cebab1344a mac os: add support for emulated right click via ctrl+click 2019-12-15 19:24:57 +01:00
bordun
681f6d264a xy: fix spring prop (#581) 2019-12-14 20:35:58 +01:00
bordun
ab64f77203 lint: duplicate var name 2019-12-14 14:55:01 +01:00
bordun
6c2d47c13a package: 0.48.6 2019-12-14 14:48:23 +01:00
bordun
8f18b20da2 editor: clean keyboard bindings and always avoid default browser action 2019-12-14 14:46:33 +01:00
bordun
071081b980 ios: avoid non-trimmed css variable strings that break slider colors (#568) 2019-12-14 14:37:21 +01:00
bordun
a38a26e847 http: detect silent failure when port is used but no error is raised (#570, #578) 2019-12-05 13:25:51 +01:00
bordun
9479be52a2 package: 0.48.5 2019-11-28 23:47:07 +01:00
bordun
da967669ec docs: update 2019-11-28 23:46:49 +01:00
bordun
6ade5b8d0a osc: fix receiving utf8 strings (osc.js does it now) (#574) 2019-11-28 23:46:03 +01:00
bordun
ec1f76a312 fader: typo 2019-11-26 21:37:20 +01:00
bordun
cc3533b549 package: 0.48.4 2019-11-26 21:34:37 +01:00
bordun
de4131a58c fader: allow adjusting gauge width 2019-11-26 21:34:27 +01:00
bordun
4037f9c796 knob: nicer pips with text 2019-11-26 21:04:16 +01:00
bordun
4a4d312f52 launcher: limit terminal history size to prevent slowdown/freeze 2019-11-24 17:59:25 +01:00
bordun
a016af9025 docs: typo 2019-11-24 11:51:31 +01:00
bordun
cb1366b79e v0.48.3 2019-11-20 15:02:42 +01:00
bordun
6811db4c76 ipc: slower ping request on client side to avoid false-positive disconnections 2019-11-20 15:01:37 +01:00
bordun
6abf7d546f ui: prevent pinch zoom 2019-11-20 13:19:58 +01:00
bordun
7e1ed9a2cf widgets: prevent update errors when widgets are not fully initialized (add widget.mounted property) 2019-11-05 19:43:15 +01:00
bordun
e93464828f docs: update 2019-10-30 12:01:36 +01:00
bordun
08634c03d5 lint: single quotes 2019-10-30 11:46:29 +01:00
bordun
0660c7cfd5 package: 0.48.2 2019-10-30 11:45:35 +01:00
bordun
cc1bafd88b script: add httpGet function for local requests 2019-10-30 11:39:19 +01:00
bordun
e0c56e6bef container: turn Container class into a mixin to allow making containers from canvas base
patchbay: inherit from Container to fix edition routine (#571)
2019-10-29 22:36:01 +01:00
bordun
cace017a10 editor: fix checkbox position in multiline fields 2019-10-24 12:20:41 +02:00
bordun
5d6f196645 package: 0.48.1 2019-10-24 12:10:44 +02:00
bordun
266c64bc7e editor: reduce input field scrollbar size to avoid issue in recent chromium 2019-10-24 12:07:10 +02:00
bordun
c886f19ddd Revert "fader: gradient prop"
This reverts commit b39db20bf4.
2019-10-24 11:56:55 +02:00
bordun
b39db20bf4 fader: gradient prop 2019-10-10 16:34:15 +02:00
bordun
f5c4b69131 modal: fix popupTop percents 2019-10-10 16:31:47 +02:00
bordun
52ef95f151 docs: fix vertical pipe formatting 2019-09-19 12:27:32 +02:00
bordun
8cbd1a5f4c Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2019-09-18 09:46:36 +02:00
bordun
61e94440de modal: fix popupLabel update issue (#566) 2019-09-18 09:45:26 +02:00
jean-emmanuel
6c6d26e087 Merge pull request #565 from erictheise/typos
Minor spelling fixes.
2019-09-17 23:12:12 +02:00
Eric Theise
b7d0f72101 Minor spelling fixes. 2019-09-17 12:26:26 -07:00
bordun
06128cd927 update log 2019-09-13 22:08:15 +02:00
bordun
b2d57b6f74 midi: fix context menu action "list" when --midi is empty 2019-09-12 19:39:07 +02:00
bordun
1ad81075e8 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2019-09-12 17:23:09 +02:00
bordun
f088cbd500 package: 0.48.0 2019-09-12 17:21:02 +02:00
bordun
6748876db6 sliders/pads: add sensitivity property (#548) 2019-09-12 17:10:47 +02:00
bordun
58fb4fe18f multipad/range: errors when dragging over when the gesture was initiated on a traversing widget (ie matrix) 2019-09-12 10:00:59 +02:00
bordun
885de5b441 plots: add 'html' widget, and unify 'border' property among svg/image/html (#560) 2019-09-11 22:03:45 +02:00
bordun
e99c7a4b73 matrix: clone matrix: fix children's value storing 2019-09-11 21:29:58 +02:00
bordun
b71134d733 doubletap: modalfix: prevent side effects 2019-09-11 21:03:06 +02:00
bordun
aafc4f43b3 doubleTap: prevent 2nd tap's touchend 2019-09-11 19:55:22 +02:00
bordun
9342d009af modal: prevent touchend from reaching inner widgets 2019-09-11 19:55:05 +02:00
bordun
98f04e121a editor: fix moving widget from the edge (top or left) using keyboard arrows 2019-09-11 12:08:29 +02:00
bordun
eba32bcaae package: fix server.js build on windows (#563) 2019-09-11 11:32:10 +02:00
bordun
46a86f8870 input: add asYouType option (#561) 2019-09-11 10:53:48 +02:00
bordun
b332cae3a5 text: sanitize html (escape "<" & ">") (#562) 2019-09-11 10:44:37 +02:00
bordun
65bb430512 frame: allow loading local html/css/js files, add sandbox restrictions (#560) 2019-09-11 10:34:20 +02:00
bordun
9198ba99f0 package: downgrade packager to restore 32bit windows & other binaries 2019-09-04 17:23:57 +02:00
bordun
ce8f1852d4 package: downgrade mathjs to prevent regression 2019-09-04 17:12:26 +02:00
bordun
3e2f05e7d4 package: no more windows 32bit binaries 2019-09-04 17:06:50 +02:00
bordun
4f385ab34a package: 0.47.4 2019-09-04 16:52:55 +02:00
bordun
fb78845ff8 package: update eslint rules 2019-09-04 16:45:51 +02:00
bordun
83996488c7 cli: fix --version (#551) 2019-09-04 16:32:29 +02:00
bordun
277e539abd widgets: prevent reCreateWidget from being called by a destroyed widget instace (#556) 2019-09-04 15:44:19 +02:00
bordun
ed22046a7f log: update 2019-09-03 19:50:19 +02:00
jean-emmanuel
719ad85bf9 Merge pull request #555 from t1st3/patch-1
fix(typo): stateMananer => stateManager
2019-09-03 19:37:01 +02:00
bordun
97852f23f6 package: update deps 2019-09-03 19:36:33 +02:00
bordun
bb20f861e6 xy: fix doubleTap (#557) 2019-09-03 19:16:04 +02:00
bordun
6b8910df25 state: delay state restoring after updating a widget to prevent edition errors in some cases (#556) 2019-09-03 19:08:26 +02:00
t1st3
2db971a6e9 fix(typo): stateMananer => stateManager 2019-08-27 16:09:06 +02:00
bordun
886edf430f keys: prevent default browser actions (#547) 2019-07-25 15:11:41 +02:00
bordun
508c5efc04 state: extra line 2019-07-19 18:33:29 +02:00
bordun
268f345e49 package: 0.47.3 2019-07-19 18:29:50 +02:00
bordun
7ddf4d40d4 revert commit 259995c758 (regression) 2019-07-19 18:28:15 +02:00
bordun
c3bbfda79d package: 0.47.2 2019-07-19 12:11:44 +02:00
bordun
fa5526ec57 push: force release when widget is removed/recreated, prevent setting active state after editing 2019-07-19 11:59:49 +02:00
bordun
259995c758 state: clean state flush 2019-07-19 11:55:41 +02:00
bordun
31b19aef9a editor: fix restoring state when reusing children 2019-07-19 11:54:49 +02:00
bordun
1aa6b7d8d8 encoder: fix 0 value for back property (& fix default release value) 2019-07-19 10:45:11 +02:00
bordun
a459ec0f0a midi: fix receiving pitchbend messages 2019-07-19 10:34:57 +02:00
jean-emmanuel
b6da8333a0 test: rm patchbaynode from test 2019-07-16 10:30:41 +02:00
jean-emmanuel
fa2e5ac332 patchbay: style fix for recent chrome 2019-07-16 10:24:09 +02:00
jean-emmanuel
2d31a10d01 midi: pythonPath for launcher's contextual midi list action 2019-07-12 00:10:43 +02:00
jean-emmanuel
5150a78af4 docs: midi pip installation 2019-07-11 23:56:02 +02:00
jean-emmanuel
290d368b4c package: v0.47.1 2019-07-11 16:49:38 +02:00
jean-emmanuel
8af0aac9b9 update docs 2019-07-11 16:45:14 +02:00
jean-emmanuel
9110a8b3fc midi: add path option 2019-07-11 16:43:52 +02:00
jean-emmanuel
cddddb5bb2 server: add font extension to whitelist 2019-07-06 11:09:19 +02:00
jean-emmanuel
779f6ec754 package: 0.47.0 2019-06-26 11:53:04 +02:00
bordun
d453f5306e custom-module: add loadJSON and saveJSON 2019-06-26 11:42:48 +02:00
bordun
9ddf3f904b docs: midi device name precision 2019-06-26 11:11:06 +02:00
bordun
6b94065e96 image: update doc (relative url) 2019-06-26 11:05:24 +02:00
bordun
ef5fca667f server: relative image request resolution (to session-path) 2019-06-26 11:02:45 +02:00
bordun
59e2b22a70 sliders: make spring and default dynamic 2019-06-26 09:22:24 +02:00
jean-emmanuel
742e022ea9 launcher: fix white space escaping between quotes 2019-06-26 01:18:50 +02:00
jean-emmanuel
18cdf2fcc9 update docs 2019-06-25 15:15:39 +02:00
jean-emmanuel
429547327a readme: v0.46.2 2019-06-25 14:17:10 +02:00
jean-emmanuel
3890b928e3 package: 0.46.2 2019-06-25 14:03:54 +02:00
jean-emmanuel
498d28fa07 script: prevent circular set() 2019-06-25 14:01:07 +02:00
jean-emmanuel
a87af6dbdd js: avoid polluting default execution context 2019-06-25 13:57:46 +02:00
jean-emmanuel
9c2398aa38 script: add id to context 2019-06-25 12:15:13 +02:00
jean-emmanuel
4628fd4b94 script: add getProp() 2019-06-25 12:02:18 +02:00
jean-emmanuel
594fc10dc6 script: add get(id) function 2019-06-16 10:00:50 +02:00
jean-emmanuel
361475dda0 modal: add scroll option 2019-06-15 19:31:33 +02:00
jean-emmanuel
ddeb3f3067 package: safer transpile filter regexp 2019-05-17 09:23:49 +02:00
jean-emmanuel
1527c78ff6 package: transpile ws to work with electron 1.8.8 2019-05-17 09:22:17 +02:00
jean-emmanuel
5957e3e1da Revert "package: downgrade ws for electron 1.8 compat"
This reverts commit 6f65358ccf.
2019-05-17 09:04:10 +02:00
jean-emmanuel
6f65358ccf package: downgrade ws for electron 1.8 compat 2019-05-16 22:35:59 +02:00
jean-emmanuel
1f58d4a364 package: update osc.js 2019-05-15 21:40:36 +02:00
jean-emmanuel
11477cc39c revert electron update 2019-05-15 12:46:18 +02:00
jean-emmanuel
df65a7fdb8 Revert "package: update electron, rm specific rpi build (should work with default), add compat build for 32bit linux"
This reverts commit 8941c7d45a.
2019-05-15 12:44:03 +02:00
jean-emmanuel
e2edcce8a6 cli: clean 2019-05-15 11:36:09 +02:00
jean-emmanuel
3017a7d1fb deploy: add arm64 2019-05-15 11:32:48 +02:00
jean-emmanuel
9493013359 package: use forked bonjour lib to fix recent node Buffer deprecation warning 2019-05-15 11:24:16 +02:00
jean-emmanuel
8941c7d45a package: update electron, rm specific rpi build (should work with default), add compat build for 32bit linux 2019-05-15 10:03:45 +02:00
jean-emmanuel
698989ed87 canvas: big canvas perf improvement on chrome v69 and above using offscreen canvas 2019-05-14 23:12:56 +02:00
jean-emmanuel
a64289a37e docs: update 2019-05-10 19:10:14 +02:00
jean-emmanuel
3e20c11599 docs: interface 2019-05-04 10:29:19 +02:00
jean-emmanuel
962eff9ae8 package; 0.46.1 2019-05-02 07:43:16 +02:00
jean-emmanuel
95501bc3f5 docs: update examples 2019-05-01 22:08:52 +02:00
jean-emmanuel
2b43a7269e windows: fix midi debug strings 2019-04-28 15:57:31 +02:00
jean-emmanuel
22ea27f002 docs: update 2019-04-27 00:54:14 +02:00
jean-emmanuel
90211c4677 state widget: empty value = "" instead of null 2019-04-27 00:53:06 +02:00
jean-emmanuel
e63069b9ae state widget: don't hide value prop, add docs 2019-04-27 00:47:41 +02:00
jean-emmanuel
9bed4282f3 package: 0.46.0 2019-04-27 00:30:10 +02:00
jean-emmanuel
8ea006a8d7 midi: pc_offset option 2019-04-27 00:28:37 +02:00
jean-emmanuel
9a5f049d45 debug: homogenize osc and midi debug strings 2019-04-27 00:22:39 +02:00
jean-emmanuel
9cbd496d16 docs: single line toc nav items 2019-04-26 18:28:47 +02:00
jean-emmanuel
6a5981a770 docs: mention midi program change display offset in some devices/softwares 2019-04-26 18:01:03 +02:00
jean-emmanuel
c529831582 midi: print port name in debug messages 2019-04-26 17:30:41 +02:00
jean-emmanuel
57ca48ed6b state widget: allow resetting value and prevent loading null 2019-04-26 10:19:32 +02:00
jean-emmanuel
628dd02fae docs: sidepanel state update 2019-04-26 10:15:56 +02:00
jean-emmanuel
f1d01dc840 remote control: add /STATE methods 2019-04-26 10:12:20 +02:00
jean-emmanuel
3cff426ceb state widget: bypass inner buttons useless behaviors 2019-04-25 11:30:46 +02:00
jean-emmanuel
2cf4b40735 state widget: more options and a few fixes 2019-04-25 10:53:24 +02:00
jean-emmanuel
833a0742ca lint: indent 2019-04-25 10:26:31 +02:00
jean-emmanuel
a0804153d0 widgets: new state widget (#509) 2019-04-25 10:20:19 +02:00
jean-emmanuel
f1d4f5084d state mananger: add filtering && store state in an object instead of an array (reduces size, backward compatible) 2019-04-25 10:18:38 +02:00
jean-emmanuel
bd939a735f image: allow overriding css background-image when value is empty (#521) 2019-04-25 09:20:01 +02:00
jean-emmanuel
5a80023c89 lint: space 2019-04-24 20:59:12 +02:00
jean-emmanuel
6d8baec29c modal: css not properly applied if the property was previously empty and the modal had been opened at least once 2019-04-24 20:50:27 +02:00
jean-emmanuel
56120761ed docs: fix css variables source link 2019-04-24 17:21:31 +02:00
jean-emmanuel
884e2c2600 midi: space 2019-04-23 23:08:12 +02:00
jean-emmanuel
4b64507e47 midi: fix error msg for invalid address 2019-04-23 22:53:45 +02:00
jean-emmanuel
144beee19c package: 0.45.7 2019-04-23 07:41:30 +02:00
jean-emmanuel
f9821b4bdd keyboards: toggles options (#520) 2019-04-23 07:40:59 +02:00
jean-emmanuel
dd2f626bc5 image: allow whitespaces in url 2019-04-22 10:15:22 +02:00
jean-emmanuel
af34f87ac8 image: cache option inverted (#521) 2019-04-22 09:44:11 +02:00
jean-emmanuel
3e2d66e165 docs: update 2019-04-21 09:38:14 +02:00
jean-emmanuel
4c5992b2e3 docs: sponsoring 2019-04-21 09:22:57 +02:00
jean-emmanuel
3c810113ac package: 0.45.6 2019-04-19 06:57:41 +02:00
jean-emmanuel
99cdaf5e02 editor: clear the editor when selected widget is removed by an undo/redo action 2019-04-19 06:45:43 +02:00
jean-emmanuel
960cf1f1e4 popup: fix closer height 2019-04-19 06:38:08 +02:00
jean-emmanuel
8de0318612 editor: don't eat backslashes in enquoted strings (#515) 2019-04-19 06:37:59 +02:00
jean-emmanuel
61bdaa0ae8 remote-browser: hitting a letter to select a file based on its name was looping on the first two matches only 2019-04-18 17:51:41 +02:00
jean-emmanuel
b2153b9df4 encoder: compact option 2019-04-18 17:30:13 +02:00
jean-emmanuel
cead37dade knob: compact mode 2019-04-18 16:52:27 +02:00
jean-emmanuel
ba24263a95 logScale: clean code and accept setting a custom log base (#519) 2019-04-18 15:57:46 +02:00
jean-emmanuel
4a155288ad notification: prevent the container from catching events iin the bottom of the screen 2019-04-17 15:41:58 +02:00
jean-emmanuel
0dddec100b docs: old url rewrite 2019-04-17 14:59:39 +02:00
jean-emmanuel
0a69687858 docs: css-tips: broken link 2019-04-17 14:18:15 +02:00
jean-emmanuel
5070662340 docs: css-tips: more precisions 2019-04-17 14:14:28 +02:00
jean-emmanuel
9ede3ece1a server: windows escape typo 2019-04-16 15:24:08 +02:00
jean-emmanuel
3a5c67a077 lint: white space 2019-04-16 12:25:58 +02:00
jean-emmanuel
04b654b893 package: 0.45.5 2019-04-16 12:24:30 +02:00
jean-emmanuel
70e709e1eb http: forbid readding non-images (#515) 2019-04-16 12:20:25 +02:00
jean-emmanuel
99a0f56759 windows: escape drive colon to avoid unknown protocol error and escape antislashes (#515) 2019-04-16 11:51:53 +02:00
jean-emmanuel
8cbda81ed1 zoom: prevent passive target event error 2019-04-16 10:38:35 +02:00
jean-emmanuel
ea8d0b33f3 image: clean old stream related code 2019-04-16 09:37:35 +02:00
jean-emmanuel
472fc05dca prop-inheritance: fix some nested syntax cases (#516) 2019-04-15 13:07:18 +02:00
jean-emmanuel
99e186a144 contet-menu: typo 2019-04-14 00:56:37 +02:00
jean-emmanuel
858c19317c docs: formatting 2019-04-13 23:26:53 +02:00
jean-emmanuel
2b9632fd39 docs: custom module bundling 2019-04-13 23:23:25 +02:00
jean-emmanuel
0fadd791e9 github: not that polite 2019-04-13 23:09:39 +02:00
jean-emmanuel
75338e3805 github: support how to 2019-04-13 23:08:37 +02:00
jean-emmanuel
b529f5f02b github: support 2019-04-13 23:01:33 +02:00
jean-emmanuel
15e111c789 github: issue templates 2019-04-13 22:57:42 +02:00
jean-emmanuel
afd2d42b5e package: 0.45.4 2019-04-13 09:11:58 +02:00
jean-emmanuel
61c19b74b2 math/js: don't print 'error' when fail to ensure the property's output changes (#512) 2019-04-13 09:09:03 +02:00
jean-emmanuel
f6cfe593d9 modal: always push close button to the right 2019-04-13 08:55:51 +02:00
jean-emmanuel
d9d0655e30 matrix: predeclare '$' variable (#512) 2019-04-13 08:47:42 +02:00
jean-emmanuel
7d22913fd0 ipc: fix network drops detection and reconnection (#510) 2019-04-12 20:34:45 +02:00
jean-emmanuel
10aaa78de2 package: 0.45.3 2019-04-11 23:58:28 +02:00
jean-emmanuel
8106eec224 file browser: prevent error when files/folders cannot be read (#511) 2019-04-11 23:36:21 +02:00
jean-emmanuel
78f01ee093 lint: white space 2019-04-11 18:49:51 +02:00
jean-emmanuel
71902dfe37 docs; add widget class static description 2019-04-11 18:47:11 +02:00
jean-emmanuel
40894f22cf docs: fix nested table of contents 2019-04-11 00:06:13 +02:00
jean-emmanuel
2ead7dbc55 custom-module: fix receive shorthand function when omitting host/port and sending 0 or 1 arg 2019-04-10 23:38:31 +02:00
jean-emmanuel
f41de95196 docs: fix sidenav links (#506) 2019-04-10 21:31:58 +02:00
jean-emmanuel
f87456bddc split: don't mutate data.args to keep client sync working (#508) 2019-04-09 16:12:10 +02:00
jean-emmanuel
f8056f61d4 Revert "package: revert f841b9b56d"
This reverts commit b0b323aede.
2019-04-09 11:56:21 +02:00
jean-emmanuel
b0b323aede package: revert f841b9b56d 2019-04-09 11:46:32 +02:00
jean-emmanuel
8ba993cab5 log: mistake 2019-04-09 11:46:17 +02:00
jean-emmanuel
89e78ca4ce lint: spaces 2019-04-09 11:32:30 +02:00
jean-emmanuel
3d2380a176 package: 0.45.2 2019-04-09 11:32:00 +02:00
jean-emmanuel
bd3ccbfbdd formula: fix widget id in error logs 2019-04-09 11:29:09 +02:00
jean-emmanuel
c123cc434c jsparser: nuke all foreign non-primitive proto to avoid parent window leak 2019-04-09 11:26:19 +02:00
jean-emmanuel
a832756f15 package: 0.45.1 2019-04-09 09:49:32 +02:00
jean-emmanuel
6222191ee6 examples: cool color picker in demo.json 2019-04-09 09:49:10 +02:00
jean-emmanuel
e6730500cb sidepanel: fix session export binding 2019-04-09 09:40:40 +02:00
jean-emmanuel
693cb694e4 custom-module: prevent potential exploit 2019-04-09 00:00:51 +02:00
jean-emmanuel
d42c64f23b state: update log & fix save in place 2019-04-08 21:08:25 +02:00
jean-emmanuel
c813a8d24e docs: widgets update 2019-04-08 21:03:02 +02:00
jean-emmanuel
6095f17d9d docs: show JS{{}} 2019-04-08 21:02:28 +02:00
jean-emmanuel
81bf97a85f package: 0.45.0 2019-04-08 21:00:56 +02:00
jean-emmanuel
be85718f62 file-browser: display extension 2019-04-08 21:00:02 +02:00
jean-emmanuel
546777f75e sidepanel: fix state import/export buttons 2019-04-08 20:47:47 +02:00
jean-emmanuel
3dc07beeae examples: rm widgets.json, update demo 2019-04-08 20:46:31 +02:00
jean-emmanuel
4ef05aa0b8 osc: fix clients sync 2019-04-08 20:27:32 +02:00
jean-emmanuel
a47f2eb6af slider: prevent built-in input from sending 2019-04-08 20:23:41 +02:00
jean-emmanuel
4801bd88e9 remote-file: extend feature to state files 2019-04-08 20:06:51 +02:00
jean-emmanuel
5d48874565 docs: widgets ref: don't open links in new tabs 2019-04-08 17:16:48 +02:00
jean-emmanuel
e323bc925c docs: update widget ref and hide JS{{}} until release 2019-04-08 13:52:41 +02:00
jean-emmanuel
88f7dc0275 encoder: lint 2019-04-08 13:49:08 +02:00
jean-emmanuel
0ddd29f3bd encoder: force ticks to 360 if not a number 2019-04-08 13:41:17 +02:00
jean-emmanuel
1bd40b7d8d encoder: fix default ticks prop, should be a number 2019-04-08 13:39:36 +02:00
jean-emmanuel
4e6d11b49b docs: hide permalinks unless hovered, fix scroll to hash 2019-04-08 12:55:11 +02:00
jean-emmanuel
6ebd411368 docs: missing dynamic prop icon, improve some prop docs, change permalink icon 2019-04-08 12:41:49 +02:00
jean-emmanuel
87509e6a41 parsers: error log hint and explicit setTimout/Interval fail 2019-04-08 09:53:30 +02:00
jean-emmanuel
48c1aa01c4 remote-browser: submit on keydown, except when saving 2019-04-08 00:10:11 +02:00
jean-emmanuel
c2a315e9b4 ui: fix popup max height 2019-04-07 21:02:54 +02:00
jean-emmanuel
212ba330e8 plot:frame: fix null url 2019-04-07 20:42:04 +02:00
jean-emmanuel
633cb4ae68 package: update browser shim 2019-04-07 19:46:52 +02:00
jean-emmanuel
120a926dd2 lint: spaces 2019-04-07 19:37:28 +02:00
jean-emmanuel
ed002a4b66 keys: rename var super to meta (super is already used in js) 2019-04-07 19:36:28 +02:00
jean-emmanuel
f92d892684 jsparser: context fixes 2019-04-07 19:35:17 +02:00
jean-emmanuel
1328fba53f switch: fix traversing + touch (#503) 2019-04-07 19:12:41 +02:00
jean-emmanuel
d657665210 jsparser: lint 2019-04-07 18:38:52 +02:00
jean-emmanuel
78266c0733 jsparser: shared global object 2019-04-07 18:20:44 +02:00
jean-emmanuel
0386f6c430 jsparser: prevent access to the host window 2019-04-07 18:03:51 +02:00
jean-emmanuel
b74d94bc39 jsparser: disable net requests 2019-04-07 12:43:02 +02:00
jean-emmanuel
27229eb3b1 jsparser: print "ERROR" when fail 2019-04-07 12:42:50 +02:00
jean-emmanuel
258ed95bf3 jsparser: some more guards 2019-04-07 10:51:36 +02:00
jean-emmanuel
1779a00705 lint: bad space 2019-04-07 10:21:12 +02:00
jean-emmanuel
1aa213356a docs: js 2019-04-07 10:21:07 +02:00
jean-emmanuel
e3a3c78898 package: next is 0.45 2019-04-07 10:05:10 +02:00
jean-emmanuel
5720f31271 log: phrasing 2019-04-07 10:04:28 +02:00
jean-emmanuel
1a14ef3f21 sessions: fix saving to history when opening 2019-04-07 10:04:17 +02:00
jean-emmanuel
a6b1d81964 parser: soft fail when widget type is not supported 2019-04-07 09:59:56 +02:00
jean-emmanuel
2cb1dfb809 widgets: remove deprecated widgets 2019-04-07 09:54:07 +02:00
jean-emmanuel
1b7fad0d60 jsparser: store math & js parsers in the same prop, add default context to avoid errors 2019-04-07 09:51:15 +02:00
jean-emmanuel
4cbf11d4b0 maths and js props: better error messages & line numbers 2019-04-06 19:33:07 +02:00
jean-emmanuel
7b3682e3c3 scripts: update browser shim 2019-04-06 15:05:02 +02:00
jean-emmanuel
9de5588210 lint: fixes 2019-04-06 14:07:00 +02:00
jean-emmanuel
edc96b89e3 prop-syntaxes: add JS{{}}, print #{} errors 2019-04-06 13:35:36 +02:00
jean-emmanuel
f840a5e114 misc: clean settings module 2019-04-05 15:46:08 +02:00
jean-emmanuel
d36b02f40d lint: regexp spaces 2019-04-05 12:36:50 +02:00
jean-emmanuel
2ea67ee47c cli: fix long-options alignment 2019-04-05 12:26:53 +02:00
jean-emmanuel
1e8f0a5975 docs: remote-root 2019-04-04 22:54:27 +02:00
jean-emmanuel
7f3114d06b remote-file: prevent saving outside of remote root 2019-04-04 22:51:47 +02:00
jean-emmanuel
2ab2614853 remote-file: add --remote-root option for security 2019-04-04 22:31:17 +02:00
jean-emmanuel
09d41cae5b remote-file: filter by extension before sending list 2019-04-04 21:11:25 +02:00
jean-emmanuel
fc4cd105e6 midi: missing asset cp, better sysex error handling 2019-04-04 20:45:10 +02:00
jean-emmanuel
e2b4e3e48f log: update 2019-04-04 20:34:54 +02:00
jean-emmanuel
0c4e248d7c midi: less is more 2019-04-04 19:36:07 +02:00
jean-emmanuel
5faa215746 midi: dry & add some helpful debug messages 2019-04-04 19:18:35 +02:00
jean-emmanuel
c509ec185a midi: always ignore midi clock 2019-04-04 17:38:51 +02:00
jean-emmanuel
bda783a0fe midi: typo 2019-04-04 17:00:05 +02:00
jean-emmanuel
7e3be3a1c2 docs: midi update 2019-04-04 16:33:40 +02:00
jean-emmanuel
92f975fc40 midi: use python-rtmidi instead of pyrtmidi 2019-04-04 16:17:24 +02:00
jean-emmanuel
faee8372b9 package: copy assets should overwrite 2019-04-04 16:17:05 +02:00
jean-emmanuel
634d7adfaa docs; remote-control clean 2019-04-04 10:03:05 +02:00
jean-emmanuel
6272919d5a docs: home img width 2019-04-04 09:57:38 +02:00
jean-emmanuel
2ff02f058b lint: whitespace 2019-04-04 09:34:47 +02:00
jean-emmanuel
39327fb7f2 doubletap: prevent fake click emitted by keyboard focus events (ie in file browser) 2019-04-04 09:20:34 +02:00
jean-emmanuel
c99cfc9f09 session: update server-side sessionpath on import and do it after successful import only 2019-04-04 09:14:56 +02:00
jean-emmanuel
e38ff251be session: typo 2019-04-03 22:04:56 +02:00
jean-emmanuel
6cd5272b59 docs: fix screenshot 2019-04-03 21:50:46 +02:00
jean-emmanuel
9c1eeaab06 test: update browser shim 2019-04-03 21:31:33 +02:00
jean-emmanuel
9eac5f3a4c docs: update screenshot 2019-04-03 21:22:23 +02:00
jean-emmanuel
bee881cc55 demo: no need to rebuild when starting 2019-04-03 21:18:20 +02:00
jean-emmanuel
2b52173e66 demo: set --exemple in env vars 2019-04-03 21:12:12 +02:00
jean-emmanuel
4701373052 ipc: allow wss 2019-04-03 21:08:50 +02:00
jean-emmanuel
914b76d0f0 ipc: rm debug 2019-04-03 21:06:19 +02:00
jean-emmanuel
ad95e0d671 docs: use alternate herokuapp for showcase 2019-04-03 21:05:38 +02:00
jean-emmanuel
08c3012e12 demo: extra options 2019-04-03 21:02:55 +02:00
jean-emmanuel
5dd1ab478d log: update 2019-04-03 20:45:47 +02:00
jean-emmanuel
47b18da847 session: bypass browse/save functions in read-only mode 2019-04-03 20:42:51 +02:00
jean-emmanuel
eed8ce9a30 docs: donate button 2019-04-03 16:40:34 +02:00
jean-emmanuel
243e158e12 dom: get: always return a new array to prevent unwanter mutations 2019-04-03 13:16:03 +02:00
jean-emmanuel
2265e8392b package: update babel (fix build issue) 2019-04-03 09:14:28 +02:00
jean-emmanuel
0b3ba33a70 build: remove babel warning, update core-js 2019-04-02 23:04:39 +02:00
jean-emmanuel
a12b605a48 widget: file: style tweaks 2019-04-02 19:19:13 +02:00
jean-emmanuel
3e4f946ed2 remote-file: typo 2019-04-02 17:04:46 +02:00
jean-emmanuel
e5e8995909 locale: fr typo 2019-04-02 16:14:08 +02:00
jean-emmanuel
7f84efbc42 doubleTap: add click mode
remote-file: prevent mouse lock on doubletap + overwrite confirm box
2019-04-02 16:13:13 +02:00
jean-emmanuel
22e90f12d3 docs: update 2019-04-02 16:05:05 +02:00
jean-emmanuel
74f45c786a docs: remote saving update 2019-04-02 15:56:46 +02:00
jean-emmanuel
9170241451 remote-file: submit on enter keyup, not key down (prevents mouse input lockup) 2019-04-02 14:55:08 +02:00
jean-emmanuel
19bb3672b2 remove-files: missing locale string 2019-04-02 14:49:29 +02:00
jean-emmanuel
cbfc922a41 ui: session loading error display & popup title layout fix 2019-04-02 14:43:34 +02:00
jean-emmanuel
12d4588a59 cli: --inpect is a boolean 2019-04-02 12:19:39 +02:00
jean-emmanuel
3dde1d0986 file-widge:t add icon 2019-04-02 12:03:58 +02:00
jean-emmanuel
1904e0fd32 remote-browser: typo 2019-04-02 11:49:05 +02:00
jean-emmanuel
ed19f55708 log: update 2019-04-02 11:39:38 +02:00
jean-emmanuel
c1e6008f39 sessions: remember last browsed folder 2019-04-02 11:39:20 +02:00
jean-emmanuel
61ae8a6fbe remote-browser: reduce dom changes and prevent leak 2019-04-02 11:38:51 +02:00
jean-emmanuel
2203ab7e74 lint: fix 2019-04-02 11:24:41 +02:00
jean-emmanuel
a72550164d remote-browse: allow passing initial directory
widgets: add file widget
2019-04-02 11:23:41 +02:00
jean-emmanuel
283f9074bc session: use basename in window title 2019-04-02 10:35:33 +02:00
jean-emmanuel
f841b9b56d package: fix js build 2019-04-02 10:26:35 +02:00
jean-emmanuel
0a8a646eba package: update 2019-04-02 10:17:33 +02:00
jean-emmanuel
ebab14cd5b lint: fix errors and ignore indentation in template string vars 2019-04-02 10:07:16 +02:00
jean-emmanuel
bffdf8917b remote-files: server-side check for json extension 2019-04-02 09:57:31 +02:00
jean-emmanuel
2523bbf05c widget: remove .absolute-position class when width/height is set to auto (#501) 2019-04-02 09:40:46 +02:00
jean-emmanuel
9ae47f7b2d log: upddate 2019-04-02 09:38:25 +02:00
jean-emmanuel
0c961bce3c examples: update 2019-04-02 09:37:23 +02:00
jean-emmanuel
675cfc3cdd log: update 2019-04-02 09:35:52 +02:00
jean-emmanuel
248ddd9625 file-browser: custom icon for files 2019-04-02 09:35:10 +02:00
jean-emmanuel
efb128147a keyboard: safe no-keybindings check (prevent error when mouse leaves window) 2019-04-02 09:30:46 +02:00
jean-emmanuel
dbe835a836 node-inspect: hide --inspect from inspector only 2019-04-01 17:52:05 +02:00
jean-emmanuel
358b19357d custom-module: add filename to error traces, add support for node/electron --inspect switch 2019-03-31 18:50:43 +02:00
jean-emmanuel
c415dcf768 log: remote filesystem 2019-03-31 18:50:28 +02:00
jean-emmanuel
8c302c440f remote-file: dev hot-reload compat fix 2019-03-31 18:48:13 +02:00
jean-emmanuel
788e18b7a3 remote-save: missing locales and show updated file name before submitting 2019-03-31 18:29:54 +02:00
jean-emmanuel
801422a4f8 remote-files: more locales & generic server side file save 2019-03-31 18:22:06 +02:00
jean-emmanuel
88ebc97700 remote-file: add locales & confirmation prompts 2019-03-31 17:55:28 +02:00
jean-emmanuel
05ed6c21aa remote-files: almost there 2019-03-31 17:28:15 +02:00
jean-emmanuel
3ab8ed92d4 remote-files: continue wip, add context menu for import/export/save-as actions 2019-03-31 15:56:39 +02:00
jean-emmanuel
b7a7c78a32 font: update FA 2019-03-31 15:55:52 +02:00
jean-emmanuel
4ab4abc44d filebrowser: wip remote file browser 2019-03-29 23:36:10 +01:00
jean-emmanuel
08d1b8f40c docs: better redirect 2019-03-29 14:15:22 +01:00
jean-emmanuel
d512c49c65 docs: structure clean & showcase 2019-03-29 09:44:49 +01:00
jean-emmanuel
0fb01dfe81 sidepanel: keep resize handle visible while dragging 2019-03-29 09:08:58 +01:00
jean-emmanuel
9eb749e0bb ios: clone layout fix (#500) 2019-03-29 09:06:47 +01:00
jean-emmanuel
f958b2f625 docs: showcase not working yet (ws over ssl not ok) 2019-03-28 22:11:52 +01:00
jean-emmanuel
a51f27b692 docs: add home showcase 2019-03-28 22:08:56 +01:00
jean-emmanuel
9447282a76 example: update 2019-03-28 21:58:30 +01:00
jean-emmanuel
9e1f7a93ad docs: clean 2019-03-28 21:00:11 +01:00
jean-emmanuel
f2454a0d67 client: make resources path resolve correctly when loaded without any server 2019-03-28 20:52:23 +01:00
jean-emmanuel
5b93b2c721 docs: nicer search input & no autocomplete 2019-03-28 17:29:38 +01:00
jean-emmanuel
6f3797ed4d docs: 404 page 2019-03-28 15:11:36 +01:00
jean-emmanuel
e2a1b473f8 docs: update logo 2019-03-28 14:48:09 +01:00
jean-emmanuel
07ca4f6cc1 docs: fix old site redirect 2019-03-28 14:26:51 +01:00
jean-emmanuel
f812ce7920 docs: roboto font 2019-03-28 14:16:59 +01:00
jean-emmanuel
ba4345795f docs: old site redirect; force https 2019-03-28 14:04:48 +01:00
jean-emmanuel
6b261eabd6 package: update site url 2019-03-28 14:04:38 +01:00
jean-emmanuel
8c322fa564 package: tweaks be4 release 2019-03-28 12:01:10 +01:00
jean-emmanuel
16e8cdbd38 docs: clean git readme & add site redirects 2019-03-28 11:47:42 +01:00
jean-emmanuel
1eeb7be8a8 docs: mobile view 2019-03-28 10:31:38 +01:00
jean-emmanuel
55b058e3de docs: missing file and tweaks 2019-03-28 09:40:16 +01:00
jean-emmanuel
837a006f0b docs: all css in one 2019-03-28 09:19:43 +01:00
jean-emmanuel
e7de200ed0 sidepanel: woops broken toggle 2019-03-27 23:26:20 +01:00
jean-emmanuel
4f7073c8c0 client: expose ipc object in global scope 2019-03-27 23:17:31 +01:00
jean-emmanuel
3dfa7e3290 docs: package update 2019-03-27 23:17:18 +01:00
jean-emmanuel
4bd6454a16 sidepanel: hide resize handle, hilight side handle on hover 2019-03-27 20:16:58 +01:00
jean-emmanuel
1fb03797cc docs: jumbo image 2019-03-27 18:05:32 +01:00
jean-emmanuel
c640a4b26c clean 2019-03-27 15:39:47 +01:00
jean-emmanuel
46e4ff23d3 docs: formatting 2019-03-27 14:38:29 +01:00
jean-emmanuel
fd83321442 docs: url fixes 2019-03-27 14:29:50 +01:00
jean-emmanuel
545dca5f9a git: ignore doc site 2019-03-27 14:16:00 +01:00
jean-emmanuel
719a563feb docs: new site 2019-03-27 14:15:14 +01:00
jean-emmanuel
43ccd7389d keys: expose code name in keyup/keydown 2019-03-26 13:33:51 +01:00
jean-emmanuel
3b2c2e07d4 electron: allow openning links (in default browser) 2019-03-26 13:30:23 +01:00
jean-emmanuel
a3c587168c keys: key variable in keydown and keyup is now always lowercased when referencing a single character 2019-03-25 20:54:21 +01:00
jean-emmanuel
567f57f9e9 knob: act as a relative encoder when traversing gestures are enabled and snap is false (#498) 2019-03-22 14:33:53 +01:00
jean-emmanuel
3cfde808e5 custom-module: fix docs typo and allow omitting host and port in receive shorthand 2019-03-21 02:13:40 +01:00
jean-emmanuel
732d3d4f4f custom-module: fix context var 2019-03-20 20:35:52 +01:00
jean-emmanuel
cce58c9fc9 custom-module: add support for standard module export syntax 2019-03-20 20:10:37 +01:00
jean-emmanuel
e7ec5208e1 custom-module: expose send and receive shorthands, expose client's address in app event handlers 2019-03-20 09:07:54 +01:00
jean-emmanuel
9dadbf725f server: rm old callback 2019-03-20 08:26:50 +01:00
jean-emmanuel
a826391442 midi: store receiveOsc in conver instance 2019-03-19 12:59:27 +01:00
jean-emmanuel
0607ccbdf1 midi: show -1 (bypass) in device list 2019-03-19 12:47:25 +01:00
jean-emmanuel
d1def062dc missing empty folder 2019-03-19 11:56:45 +01:00
jean-emmanuel
0358f719e4 code: fix lint & syntax errors 2019-03-19 11:46:06 +01:00
jean-emmanuel
ced7250d98 switch: add traversing option (true by default) (#491) 2019-03-19 11:35:47 +01:00
jean-emmanuel
3eb73eca74 midi: move python assets in src, add launcher context menu action for midi device listing 2019-03-19 10:43:10 +01:00
jean-emmanuel
1d298b574e midi: display python version when rtmidi is not found 2019-03-19 09:40:12 +01:00
jean-emmanuel
4731100df3 docs: fix src links 2019-03-19 09:03:06 +01:00
jean-emmanuel
d4a581507f package: 0.42.0 2019-03-18 09:40:39 +01:00
jean-emmanuel
9b7ec25509 debian: use git version to fix libgconf dependency name 2019-03-18 09:39:04 +01:00
jean-emmanuel
7468933d1b docs: script widget execution details 2019-03-18 09:29:56 +01:00
jean-emmanuel
fbc6aca6a2 osc-listeners: accepts an optional third argument (false) to bypass the host widget's preArgs 2019-03-18 09:25:57 +01:00
jean-emmanuel
8910a797fd sidepanel: expend resize handle to the entire edge 2019-03-12 18:31:05 +01:00
jean-emmanuel
8b0f895b2b editor: sticky header (#479) 2019-03-12 18:23:39 +01:00
jean-emmanuel
0607594714 package: 0.41.7 2019-03-05 10:08:42 +01:00
jean-emmanuel
fb40710a7d matrix: $ variable not starting at start && properties not reset to default when removed from props 2019-03-04 16:24:14 +01:00
jean-emmanuel
675b757b54 package: 0.41.6 2019-03-04 11:53:25 +01:00
jean-emmanuel
fd0dbcc1fc xy: fix typo causing a perf issue 2019-03-04 11:13:09 +01:00
jean-emmanuel
96845f4c9a Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2019-03-03 13:28:30 +01:00
jean-emmanuel
187f4a0f17 update docs 2019-03-03 13:24:47 +01:00
bordun
6126a26323 keys: binding conflict with editorkeys: binding conflict with editor (#473) 2019-02-27 10:50:53 +01:00
jean-emmanuel
e9c320a6a4 package: 0.41.5 2019-02-18 15:35:03 +01:00
jean-emmanuel
c6f749a91b yargs: update 2019-02-18 15:34:20 +01:00
jean-emmanuel
0d2293f9b3 prop-inheritance; error when changing a property that's inherited by a widget to define its address and at least one non-dynamic property 2019-02-18 15:20:53 +01:00
jean-emmanuel
1232a00107 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2019-02-01 14:04:30 +01:00
jean-emmanuel
11199d5080 main: --custom-module: consolidate path containing whitespaces (#466) 2019-02-01 11:18:56 +01:00
bordun
52bbdca47b keys: explain that keydown defines the value (#462) 2019-01-28 15:36:45 +01:00
bordun
b43b5971af sliders: make scrolling granular when steps are defined (#460) 2019-01-28 15:29:48 +01:00
bordun
b3877bbdaf push: allow setting value`(#462) 2019-01-28 15:27:43 +01:00
bordun
bfdf9ee9c4 editor: prevent edit-field blur calback from applying changes on newly selected widget 2019-01-25 11:30:46 +01:00
bordun
9012ccf474 osc: fix split + preArgs 2019-01-25 11:03:59 +01:00
bordun
19abe934dd package: 0.41.4 2019-01-25 10:41:56 +01:00
bordun
95f7640cf3 fader: builtin meter's address/color/preArgs should be dynamic (#458) 2019-01-25 10:40:54 +01:00
jean-emmanuel
cb09955fe1 main: fix --remote-saving 2019-01-22 22:39:22 +01:00
jean-emmanuel
fa6fe167f6 package: 0.41.3 2019-01-22 19:07:15 +01:00
jean-emmanuel
ea85169b39 rgb: do not round value (#252) 2019-01-22 19:04:35 +01:00
jean-emmanuel
f990a05cd4 osc: wrap module, add utf encoding/decoding (#455) 2019-01-13 11:55:55 +01:00
jean-emmanuel
4323e9abbd package: 0.41.2 2019-01-09 09:07:35 +01:00
jean-emmanuel
d621422162 modal: fix init order (resize glitch on recent chrome) 2019-01-09 09:00:08 +01:00
jean-emmanuel
a840bf6eaf ipc: prevent false positive socket closing 2019-01-08 13:16:43 +01:00
jean-emmanuel
4c985111c2 image: typo in repeat prop default 2019-01-07 23:06:38 +01:00
jean-emmanuel
419c9e4456 lint: space 2019-01-07 23:01:21 +01:00
jean-emmanuel
cb95244948 strip: regression from dynamic editing: handle geometry coerce differently to avoid layout bugs 2019-01-07 22:59:09 +01:00
jean-emmanuel
6873e1fdf1 widget: geometry update mistake 2019-01-07 21:52:17 +01:00
jean-emmanuel
3a4b0ab57c widget: fix geometry style update (properly apply 'auto') 2019-01-07 19:25:05 +01:00
jean-emmanuel
93a1e1fe94 ipc: prevent ipc reconnect notification on 1st connect 2019-01-07 12:35:52 +01:00
jean-emmanuel
9a997c1a41 remote-saving: mistake... 2019-01-07 12:31:38 +01:00
jean-emmanuel
3eb88efa24 lint: whitespace 2019-01-07 12:23:03 +01:00
jean-emmanuel
657623cbb9 package: hot fix 0.41.1 2019-01-07 10:07:14 +01:00
jean-emmanuel
d78e2635f9 sidepanel:prevent double toggle issue 2019-01-07 10:00:29 +01:00
jean-emmanuel
e525960b88 session: fix importing non local file 2019-01-07 09:57:17 +01:00
jean-emmanuel
ee0acf795f package: 0.41.0 2019-01-07 07:50:55 +01:00
jean-emmanuel
dde0dd11dc launcher: add opt description to label tooltips 2019-01-07 06:50:14 +01:00
jean-emmanuel
8580e47ff5 log: crash without env.HOME 2019-01-07 06:42:43 +01:00
jean-emmanuel
d044601608 sidepanel: prevent focus forced scroll when closed 2019-01-07 06:40:06 +01:00
jean-emmanuel
843bc0a91d image: fix reload command vs http cache 2019-01-06 20:21:20 +01:00
jean-emmanuel
a835fe634d server: prevent url query from breaking file serving 2019-01-06 16:54:12 +01:00
jean-emmanuel
7e1edd8443 notification: disambiguate var names 2019-01-06 12:35:34 +01:00
jean-emmanuel
092843eb71 notification: toast same-id replace fix 2019-01-06 12:28:15 +01:00
jean-emmanuel
c37b1add23 notifications: ooify toasts and better server connection notifications 2019-01-06 11:33:57 +01:00
jean-emmanuel
e1aaaf8ddb ipc: add notification when server is unreachable (add unique notification to avoid spamming) 2019-01-05 18:08:07 +01:00
jean-emmanuel
679acfab79 remote-save: store session path in client session manager to reset it if the server is rebooted 2019-01-05 17:51:27 +01:00
jean-emmanuel
49f117924c lint: unnused import 2019-01-05 17:16:35 +01:00
jean-emmanuel
8c59676e2b remote-save: let the server notify the client if it worked or not 2019-01-05 17:08:51 +01:00
jean-emmanuel
5374a91325 server: rm express dependency, that's 200kb less 2019-01-05 15:13:24 +01:00
jean-emmanuel
3ec0f31130 notifications: replace some popup with notification 2019-01-05 13:45:39 +01:00
jean-emmanuel
f9ccf04341 log: update 2019-01-05 12:56:16 +01:00
jean-emmanuel
b93d463d7c patchbay: hilight selected node's connections 2019-01-05 12:53:53 +01:00
jean-emmanuel
97f9053f10 patchbay: fix nodes width and document how to change it 2019-01-05 11:56:16 +01:00
jean-emmanuel
088ca2d45c lint: bad space 2019-01-05 11:42:26 +01:00
jean-emmanuel
97d0299e21 main: oups missing bang 2019-01-05 11:33:16 +01:00
jean-emmanuel
41b77b8e30 main: test if remote-saving regexp is valid 2019-01-05 11:29:46 +01:00
jean-emmanuel
961489b2d6 main: cache remote-saving regexp 2019-01-05 11:29:33 +01:00
jean-emmanuel
99243e4ad1 patchbay: allow array|object for inputs/outputs; cancel connect when clicking outside 2019-01-05 11:14:46 +01:00
jean-emmanuel
fa05e63f62 lint: bad space 2019-01-04 21:05:10 +01:00
jean-emmanuel
1ca53c4703 patchbay: tweak drag-connection curves and fix a conflict between drag and click 2019-01-04 20:39:13 +01:00
jean-emmanuel
9c5ec1fe1b notifications: rm debug keyboard shortcut and increase timeout 2019-01-04 18:17:02 +01:00
jean-emmanuel
16b8236464 main: missing import 2019-01-04 18:13:53 +01:00
jean-emmanuel
0b680881ab lint: bad space 2019-01-04 18:08:19 +01:00
jean-emmanuel
e5ca189bb9 log: typo 2019-01-04 18:06:13 +01:00
jean-emmanuel
5e935d5e2c patchbay: make inputs inherit from bypass too 2019-01-04 18:01:02 +01:00
jean-emmanuel
fd083edbfb main: move options in a separate module, disable user setting files if HOME is not defined (#453) 2019-01-04 17:53:22 +01:00
jean-emmanuel
74b88d58eb widgets: add patchbay 2019-01-04 17:38:52 +01:00
jean-emmanuel
bc25cfbb24 doc: remote saving 2019-01-04 13:23:34 +01:00
jean-emmanuel
0038f04c0d log: --remote-saving 2019-01-04 13:14:42 +01:00
jean-emmanuel
ed23bdc647 update heroku 2019-01-04 13:12:33 +01:00
jean-emmanuel
7875344e0e main: add --remote-saving for limiting clients remote session saving rights 2019-01-04 13:11:23 +01:00
jean-emmanuel
c83414daf0 log: latest additions 2019-01-04 12:46:52 +01:00
jean-emmanuel
79f7e937b5 lint: unnused var 2019-01-04 12:40:13 +01:00
jean-emmanuel
a7828e5608 notification: adjust fade-out animation 2019-01-04 12:34:22 +01:00
jean-emmanuel
f6420bfec7 sidepanel: add notifications for state actions 2019-01-04 12:26:27 +01:00
jean-emmanuel
fec4a30dd0 editor: only warn about quitting if the session has been modified, disable warning if session has been saved 2019-01-04 12:16:29 +01:00
jean-emmanuel
d6aea12c52 notifications: missing modules 2019-01-04 12:02:55 +01:00
jean-emmanuel
d53a977f93 save: missing condition on autoreload for simultaneously opened sessions 2019-01-04 12:01:37 +01:00
jean-emmanuel
594261fd06 ui: add notification system 2019-01-04 12:01:07 +01:00
jean-emmanuel
10d89fcebb package: rm chokidar dep 2019-01-04 10:29:48 +01:00
jean-emmanuel
de09388f7e session: implement remote saving for session files located on the server 2019-01-04 10:25:06 +01:00
jean-emmanuel
6b7bdcf0a0 main: allow passing extra options to --custom-module and make them available through global object "options" 2019-01-03 17:54:54 +01:00
jean-emmanuel
c5610cc688 main: allow domain:port pairs in --send (#452) 2019-01-03 10:22:45 +01:00
jean-emmanuel
48361566ae tabs: don't fade tabs' labels under active color layer 2019-01-03 09:55:53 +01:00
jean-emmanuel
98dbf05c5e package: 0.40.5 2019-01-02 09:47:03 +01:00
jean-emmanuel
48de676007 package: update deps (fixes a python/midi issue on windows) and remove permissive deps versions 2019-01-02 09:46:02 +01:00
jean-emmanuel
05dbc592a8 matrix: inherit from id and osc properties by default (#450) 2019-01-02 09:36:11 +01:00
jean-emmanuel
64df539051 editor: move linked props check to widget base class to ensure clone and matrix apply it 2019-01-01 22:04:42 +01:00
jean-emmanuel
96cf36a47a clone: don't copy 'editing' class to prevent false editor selection rectangle 2018-12-31 17:46:25 +01:00
jean-emmanuel
3831631f0a input: restore validate on tab key, select whole value on focus, adjust color hints 2018-12-31 15:39:12 +01:00
jean-emmanuel
214a95e816 lint & update docs 2018-12-29 11:00:54 +01:00
jean-emmanuel
868688b29f package: 0.40.4 2018-12-29 10:56:51 +01:00
jean-emmanuel
ff66489eae osc-listeners: add support for relative address prefixed with the widget's address (#438) 2018-12-29 10:16:13 +01:00
jean-emmanuel
a2dffa5d93 osc-receiver: decrement varnumber instead of incrementing 2018-12-28 15:32:26 +01:00
jean-emmanuel
ed1336e8d2 push: add doubleTap option (#447) 2018-12-28 14:05:41 +01:00
jean-emmanuel
0841499c40 main: fix --no-gui (ensure package.json is found by yargs) (issue #435) 2018-12-28 13:56:47 +01:00
jean-emmanuel
0748468652 editor: fix reordering bug (don't reuse children between old and new index) (issue #448) 2018-12-27 19:53:56 +01:00
jean-emmanuel
9c0007931b package: 0.40.3 2018-11-22 23:16:04 +01:00
jean-emmanuel
19c88baa2f docs: mention add to home screen and absence of mobile app 2018-11-22 23:15:18 +01:00
jean-emmanuel
06e41cb42d props: store variables in reverse order to avoid var name overlap (#439) 2018-11-22 22:51:21 +01:00
jean-emmanuel
6e4e5b95e3 editor: always refresh sidepanel / draggable / resizable upon selection 2018-11-22 22:32:18 +01:00
jean-emmanuel
613cf36e80 docs: a bit more accurate 2018-11-20 20:04:47 +01:00
jean-emmanuel
9a21a8057d docs: update widgets 2018-11-20 20:01:07 +01:00
jean-emmanuel
be1826cfd5 docs: mention how scripts can receive other widgets' values (#423) 2018-11-20 19:59:52 +01:00
jean-emmanuel
d5ee12cba1 docs: update widgets 2018-11-20 19:01:38 +01:00
jean-emmanuel
7ffb6d95e9 package: 0.40.2 2018-11-20 18:56:26 +01:00
jean-emmanuel
b2f421802c log: tabs order 2018-11-20 18:56:00 +01:00
jean-emmanuel
b07d030f17 dom: back to old node array forEach 2018-11-20 18:48:56 +01:00
jean-emmanuel
4b88e3d10a lint: rm import 2018-11-20 13:49:09 +01:00
jean-emmanuel
3e06081c91 package: 0.40.1 2018-11-20 13:40:57 +01:00
jean-emmanuel
f32453a1f9 svg: fix broken html 2018-11-20 13:34:21 +01:00
jean-emmanuel
1fb3364e84 log: editor tab fix 2018-11-20 12:34:55 +01:00
jean-emmanuel
e6ced15a09 dom: don't polyfill Node forEach, use safer method; editor: fix select/unselect bug with tabs 2018-11-20 12:32:35 +01:00
jean-emmanuel
414e6a4a14 log:typo 2018-11-20 10:08:01 +01:00
jean-emmanuel
57fc47e1df log: fix history 2018-11-20 10:07:05 +01:00
jean-emmanuel
cc2ef545cd log: 0.40 2018-11-20 10:05:33 +01:00
jean-emmanuel
97aee11d8a docs: update widgets ref 2018-11-20 10:04:52 +01:00
jean-emmanuel
73d8bbfc85 package: 0.40 2018-11-20 10:04:20 +01:00
jean-emmanuel
11df830abc lint: rm useless imports 2018-11-20 10:03:37 +01:00
jean-emmanuel
6c6577d50d matrices: missing children index definition 2018-11-20 09:49:58 +01:00
jean-emmanuel
bae7ce44f9 meter: allow setting gradient as an object with numeric breakpoints 2018-11-20 09:37:43 +01:00
jean-emmanuel
74810c9c26 matrices: fix children target/precision/preArgs update 2018-11-20 09:06:32 +01:00
jean-emmanuel
523d12c4e1 matrix: deprecate non generic matrices and show warning when using them 2018-11-19 17:04:35 +01:00
jean-emmanuel
ded65869db formula: add indexOf (#431) 2018-11-15 07:39:38 +01:00
jean-emmanuel
09ef265a69 read-only: fix it !#430) 2018-11-14 22:54:19 +01:00
jean-emmanuel
ae8b7ce0db strip: stretch should be false by default 2018-11-14 21:24:23 +01:00
jean-emmanuel
de06e4b2de package: 0.39.8 2018-11-14 10:12:24 +01:00
jean-emmanuel
175ad80f04 log: nosleep 2018-11-14 10:10:29 +01:00
jean-emmanuel
4d31f20962 Merge pull request #421 from MartinHN/pr/nosleep
[proposal] prevent sleep if fullscreen
2018-11-14 10:09:46 +01:00
jean-emmanuel
61916f3fa7 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-11-14 10:01:45 +01:00
jean-emmanuel
069a7886e5 meter: fix properties not accessible 2018-11-14 10:01:26 +01:00
jean-emmanuel
e83f353dd0 Merge pull request #427 from jpcima/work
readme: fix some mistakes
2018-11-12 17:31:20 +01:00
JP Cimalando
5fa11b4a77 readme: fix some mistakes 2018-11-12 16:11:19 +01:00
jean-emmanuel
1f3683a15d nosleep: rm debug cond 2018-11-10 20:29:38 +01:00
jean-emmanuel
1c96baf4aa nosleep: conditionnal button in sidepanel 2018-11-10 20:26:04 +01:00
Martin Hermant
60251be531 lint 2018-11-10 17:11:55 +01:00
Martin Hermant
3750a109d9 prevent sleep if fullscreen 2018-11-10 16:44:44 +01:00
jean-emmanuel
4ff1f52b7d docs: package node 2018-11-09 02:16:22 +01:00
jean-emmanuel
4c66982419 package: 0.39.7 2018-11-09 02:09:50 +01:00
jean-emmanuel
66031702d3 log: dynamic steps prop 2018-11-09 02:09:30 +01:00
jean-emmanuel
b5cebb6dfe session: fix loading error markup 2018-11-09 02:08:42 +01:00
jean-emmanuel
af2c117cec ios: try babel polyfills 2018-11-09 02:08:21 +01:00
jean-emmanuel
70e0c7d98a sliders: make steps dynamic 2018-11-07 14:14:45 +01:00
jean-emmanuel
8fc60216e5 docs: add generated widget reference to repo 2018-11-07 11:24:50 +01:00
jean-emmanuel
7c54135348 package: 0.39.6 2018-11-06 20:52:48 +01:00
jean-emmanuel
59d8b12530 modal: fix parent css containment (breaks since chrome 70) 2018-11-06 20:51:10 +01:00
jean-emmanuel
eabae9bd05 dom: poylfill HTMLCollection foreach 2018-11-06 20:32:45 +01:00
jean-emmanuel
d11bc3e76b misc: missing attribution 2018-11-06 20:20:47 +01:00
jean-emmanuel
3c1769666e package: 0.39.5 2018-11-06 20:16:24 +01:00
jean-emmanuel
e44f575cfe cli: clearly state that --fullscreen is only for the default gui #419 2018-11-06 20:13:35 +01:00
jean-emmanuel
0f759825f0 log: ios fix 2018-11-06 20:13:31 +01:00
jean-emmanuel
9a3e6513bf compat: add missing polyfills for iOS that babel doesn't seem to provide anymore 2018-11-06 20:09:46 +01:00
jean-emmanuel
2726b2dcce sliders: steps option not working when range.min is not 0 2018-11-06 08:54:17 +01:00
jean-emmanuel
e80e6c74f7 tests: fix test session (no root or tab widget in tab) 2018-11-06 08:32:48 +01:00
jean-emmanuel
6601d9f3c4 package: 0.39.4 2018-11-04 12:49:06 +01:00
jean-emmanuel
feecbce85b log: bad white spaces 2018-11-04 12:47:44 +01:00
jean-emmanuel
612299235b log: rgb alpha 2018-11-04 10:54:17 +01:00
jean-emmanuel
b3cb526142 plot: slightly smaller dots 2018-11-03 23:15:42 +01:00
jean-emmanuel
cd4485767b rgb: layout fix 2018-11-03 20:11:42 +01:00
jean-emmanuel
61eba1d779 pads: no pips outer rect 2018-11-03 20:06:58 +01:00
jean-emmanuel
d3a6ce4293 pads: no blurry pips 2018-11-03 19:58:18 +01:00
jean-emmanuel
cb8c8a7a37 rgb: adjust point opacity 2018-11-03 19:33:37 +01:00
jean-emmanuel
3ee351d6f3 multixy: draw labels above points 2018-11-03 19:24:37 +01:00
jean-emmanuel
dbb9047dc6 multixy: mention .pad-X selector 2018-11-03 19:23:59 +01:00
jean-emmanuel
f6c390c8dd pads: clean rgb, add active state hint, add --point-opacity 2018-11-03 15:30:32 +01:00
jean-emmanuel
458cb677ac rgb: better alpha fallback 2018-11-03 13:56:21 +01:00
jean-emmanuel
54e1aa416b rgb; handle alpha on color update / removal 2018-11-03 13:49:48 +01:00
jean-emmanuel
4d31a7a35b rgb: default alpha is false 2018-11-03 13:48:59 +01:00
jean-emmanuel
b779156547 rgb: don't pass alpha when not set 2018-11-03 13:47:12 +01:00
jean-emmanuel
fa3697fa0d rgb: some missing things in rgb alpha 2018-11-03 13:41:31 +01:00
jean-emmanuel
649538c5ac rgb: update alpha opt description 2018-11-03 13:19:38 +01:00
jean-emmanuel
d543e2edfd rgb: rename alphaChannel option to alpha 2018-11-03 13:15:19 +01:00
jean-emmanuel
52ec067ad3 log: pads update 2018-11-03 13:13:27 +01:00
jean-emmanuel
3dfd9bb625 pads: design update 2018-11-03 13:13:24 +01:00
jean-emmanuel
8851c04b6f rgb: implement alphaChannel option 2018-11-03 13:12:05 +01:00
jean-emmanuel
a217d2defd sliders: steps: use auto instead of true for range values 2018-11-03 09:30:29 +01:00
jean-emmanuel
866de67983 knob: steps help 2018-11-03 09:26:22 +01:00
jean-emmanuel
12b7620751 sliders: add steps option (#412) 2018-11-03 09:24:24 +01:00
jean-emmanuel
d3ba773726 multixy: added .pad-N class to inner xy pads to help with css customization 2018-11-03 01:17:36 +01:00
jean-emmanuel
58b3b7c853 package: 0.39.3 2018-11-02 10:50:51 +01:00
jean-emmanuel
bfe74452e1 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-11-02 10:50:14 +01:00
jean-emmanuel
b081c15af2 package: 0.39.2 2018-11-02 10:48:41 +01:00
jean-emmanuel
8212345995 remote: fix /TABS and don't make panel send osc (#414) 2018-11-02 10:47:35 +01:00
jean-emmanuel
dd2d468b01 editor: fix context addtab to root 2018-11-02 10:41:03 +01:00
jean-emmanuel
5126f1bdc1 tabs: fix custom color with nanohtml 2018-11-02 10:38:14 +01:00
bordun
8ce3be31c2 server: fix --theme 2018-11-01 16:21:59 +01:00
bordun
5ec83b13cc package: fix node package optdep 2018-11-01 16:16:54 +01:00
bordun
7954a97415 editor: missing 'edit parent' from context menu -> 0.39.2 2018-11-01 16:10:10 +01:00
bordun
26903223b6 log: typo 2018-11-01 13:39:49 +01:00
bordun
31bf162c43 package: 0.39.1 2018-11-01 13:28:41 +01:00
bordun
ef502a8460 switch: fix icons in labels (#413) 2018-11-01 13:25:06 +01:00
bordun
eaaad0ff00 scripts: fix css watch 2018-11-01 13:23:54 +01:00
bordun
cd201639d4 package: downgrade electron (dragging text freezes on v3) & bump version 2018-11-01 11:28:00 +01:00
bordun
645b0c6e89 sliders/pads: precision cannot be dynamic to make sure inner input is updated 2018-11-01 11:19:54 +01:00
bordun
0db5d36393 widget: define isDynamicProp 2018-11-01 10:55:39 +01:00
bordun
ab4f02de18 widgets: useless uses of cached precision 2018-11-01 10:32:35 +01:00
bordun
c8810ebe31 session: adjust editor/reloader to unwrapped session 2018-10-31 13:49:45 +01:00
bordun
b9c4c730ea parser: optimize a bit and fix formatting 2018-10-31 12:01:43 +01:00
bordun
90a3a7880a session: unwrap root widget; parser: don't parse arrays 2018-10-31 11:55:14 +01:00
bordun
6134d56459 widgets: remove support for deprecated properties path, noPip and noSync 2018-10-31 11:44:25 +01:00
bordun
503f162b16 package: deps update 2018-10-31 11:39:09 +01:00
bordun
b6086da13a package: strict deps versions, manual update only 2018-10-31 11:37:59 +01:00
bordun
44d45d8adb linkedprops: remove callbacks from this to ensure they can be recreated if needed 2018-10-31 11:28:50 +01:00
jean-emmanuel
2a988a0194 Merge pull request #411 from jean-emmanuel/faster-events
Faster events
2018-10-31 10:37:42 +01:00
jean-emmanuel
dcefacbe7e slider: rm debug log 2018-10-31 10:32:52 +01:00
jean-emmanuel
35252c0a2f linked props: rm extra method call and fix bindings creation mistake 2018-10-31 10:27:47 +01:00
jean-emmanuel
9df963810d events: safe listener trigger 2018-10-31 10:27:30 +01:00
jean-emmanuel
8d0455e199 events: syntax & bulk context check 2018-10-31 10:24:12 +01:00
jean-emmanuel
abdffc436f events: off: check context arg at last step 2018-10-30 22:43:03 +01:00
jean-emmanuel
6e5f9ef0a2 events: bad white space 2018-10-30 20:56:12 +01:00
jean-emmanuel
f2158786d1 events: rm wolfyEE dep 2018-10-30 20:55:29 +01:00
jean-emmanuel
4164d65014 events: rewrite event emitter with no dependency 2018-10-30 19:53:54 +01:00
jean-emmanuel
1340140d79 events: emit: don't wrap data in an array, optimize method 2018-10-30 08:52:48 +01:00
jean-emmanuel
f1775ac315 client: rm debug log 2018-10-30 08:18:56 +01:00
jean-emmanuel
33c1fd716c scripts: enhance logs 2018-10-30 08:18:39 +01:00
jean-emmanuel
528607e052 events: rm logs 2018-10-30 08:18:29 +01:00
bordun
4d9af10588 panel: missing escape for icons in tab labels 2018-10-29 15:11:49 +01:00
bordun
430f6acf95 client: missing nanohtml use 2018-10-29 14:58:25 +01:00
bordun
2e9a928c96 client: optimize dom selector 2018-10-29 14:54:00 +01:00
bordun
5eed8ef8fd log: update 2018-10-29 13:55:37 +01:00
bordun
a98062948f rm tmp file 2018-10-29 13:53:22 +01:00
bordun
b777931b84 script: missing file 2018-10-29 13:05:38 +01:00
bordun
1cfa2018f2 test: wrong spawn cmd 2018-10-29 13:04:33 +01:00
bordun
b1f0e893a8 tests: add basic test for all widgets and add eslint to npm test 2018-10-29 13:01:13 +01:00
bordun
b228331aa8 lint: update rules and fix errors 2018-10-29 12:56:38 +01:00
bordun
246807fac5 client: missing nanohtml requires 2018-10-29 12:49:02 +01:00
bordun
0b6c225a3c client: missing nanohtml require 2018-10-29 12:27:08 +01:00
bordun
8834fff1bd client: continue nanohtml integration and avoid some innerHTML calls 2018-10-29 11:44:01 +01:00
bordun
cfe2b122f8 client: integrate nanohtml in widget constructors 2018-10-29 11:43:49 +01:00
bordun
db74dcc4cd client: use precompiled nanohtml to optimize dom element creation 2018-10-29 10:59:57 +01:00
bordun
f328b6f73f package: refix client bundle bize while keeping --watch error log 2018-10-29 10:47:14 +01:00
jean-emmanuel
77adc06ea9 package: wrong bundle file name 2018-10-29 00:49:06 +01:00
jean-emmanuel
d7200bd597 Merge pull request #408 from MartinHN/patch-2
resolveProp : compare cached id when checking undefined
2018-10-29 00:02:52 +01:00
bordun
cea110260b resolveProp: return an explicit error message for circular references and compare widget instances instead of id 2018-10-28 23:57:30 +01:00
bordun
ee5c2b6734 Merge branch 'patch-2' of https://github.com/MartinHN/open-stage-control into MartinHN-patch-2 2018-10-28 23:56:54 +01:00
bordun
71f7ea7ea2 package: include source-map-support when running with electron too now that it's always bundled 2018-10-28 17:25:22 +01:00
Tintamar
76bd08c0ff resolveProp : compare cached id when checking undefined 2018-10-28 16:55:29 +01:00
bordun
4adb00474f build: missing require for --watch 2018-10-28 16:21:43 +01:00
jean-emmanuel
e7319f4b22 Merge pull request #407 from MartinHN/patch-1
fix typo preventing error logs
2018-10-28 16:19:30 +01:00
bordun
19f8939f93 package: update all deps & babel build 2018-10-28 16:17:23 +01:00
Tintamar
309108a45d fix typo preventing error logs 2018-10-28 16:14:19 +01:00
bordun
07c46db9ab package: create app/package.json at build time 2018-10-28 16:02:44 +01:00
bordun
e976e10458 server: remove vmodule dependency (not needed since serialport is ignored at build time) 2018-10-28 15:48:41 +01:00
bordun
14f4cfe937 client: rm favicon query 2018-10-28 15:48:07 +01:00
bordun
649c86165a example: fix ardour asset favicon path 2018-10-28 15:47:44 +01:00
bordun
4e4b0f8dc0 travis: use npm scripts 2018-10-28 15:41:55 +01:00
bordun
55d3d0697d package: fix http client/assets serving 2018-10-28 15:39:55 +01:00
bordun
073a6b6440 package: wrong client index patg 2018-10-28 15:35:40 +01:00
bordun
627a074886 package: fix launcher assets path 2018-10-28 15:34:36 +01:00
bordun
1290ead95a package: add some log help 2018-10-28 15:29:38 +01:00
bordun
1439179046 package: move assets to "assets" 2018-10-28 15:10:50 +01:00
bordun
263eb84780 package: rename browser to client and main to server 2018-10-28 15:06:36 +01:00
jean-emmanuel
fd2f6b8af7 package: fix docs build 2018-10-28 14:33:17 +01:00
bordun
10753572d2 package: don't rerun "build" in package script 2018-10-28 14:28:51 +01:00
bordun
4011c714a2 package: fix lil mistakes 2018-10-28 14:21:01 +01:00
bordun
de25bed127 Merge branch 'master' of github.com:jean-emmanuel/Open-Stage-Control 2018-10-28 14:10:17 +01:00
bordun
fb768e12ef package: package refactoring 2018-10-28 14:09:16 +01:00
bordun
92f7f1dba8 package-node: remove settings hack and pass settings in electron globals 2018-10-27 15:32:21 +02:00
jean-emmanuel
3da44b0061 docs: mention node in supported platforms 2018-10-27 15:03:32 +02:00
jean-emmanuel
1a358239d0 doc: node-only binaries 2018-10-27 15:00:02 +02:00
bordun
ac8414d9dc package 0.38.7 2018-10-27 14:50:41 +02:00
bordun
da68aaa56e log: launcher -> electron 3 compat 2018-10-27 14:50:13 +02:00
bordun
fa3a930c62 package: remove old dep 2018-10-27 14:49:48 +02:00
bordun
4524c6195d dev: ansi-html stack tweaking 2018-10-27 14:49:11 +02:00
bordun
e9afde5117 launcher: autoscroll and context menu for electron 2 & 3 2018-10-27 14:29:57 +02:00
bordun
65146cf636 package: node: hackfix settings module loading 2018-10-27 14:23:58 +02:00
bordun
8b7c8671c4 hot-reload: use a lighter ansi parser 2018-10-27 14:23:39 +02:00
bordun
d1ef21f233 package: node: auto overwrite 2018-10-27 13:46:35 +02:00
bordun
cf90b6246b package: 0.38.6 2018-10-27 13:23:20 +02:00
bordun
de1a1cdd50 panels: fix dynamic color regression 2018-10-27 13:22:42 +02:00
bordun
932d896210 dev: fix dev env detect for launcher 2018-10-27 13:14:34 +02:00
bordun
1d98b71313 package: node: include launcher to allow running with external electron 2018-10-27 13:10:32 +02:00
bordun
a6faf83230 package-node: add package.json 2018-10-27 12:37:12 +02:00
bordun
672ed2d2bb package: add "bin" entry 2018-10-27 12:37:02 +02:00
bordun
18bd957229 package: ultra slim node package 2018-10-27 12:22:40 +02:00
bordun
e1e9af644e node: better error stack handling 2018-10-27 12:21:13 +02:00
bordun
a8b31c5160 pacakge: rename main index.js 2018-10-27 09:32:03 +02:00
bordun
7e391919f3 package: .38.5 2018-10-26 20:55:53 +02:00
bordun
8685a0d837 package: specify electron version now that it's an opt dep 2018-10-26 20:23:31 +02:00
bordun
d1286889f1 travis: fix package all 2018-10-26 20:11:10 +02:00
bordun
9c6a04ab4b log: node package bin 2018-10-26 19:57:21 +02:00
bordun
10f82f07f2 package: add node package to releases 2018-10-26 19:55:43 +02:00
bordun
65b64e5e97 log: formatting 2018-10-26 19:14:31 +02:00
bordun
ee16bf6069 log: 0.38.5 2018-10-26 19:14:08 +02:00
bordun
c23cca43d7 package: fix js bundle size (source map not correctly externalized) 2018-10-26 19:07:42 +02:00
bordun
f98e7c7b4d package: node package npm script 2018-10-26 12:16:13 +02:00
bordun
c1453e02f7 package: add node-only packaging 2018-10-26 12:15:18 +02:00
bordun
c74d926155 package: replace cp with cpr 2018-10-26 12:11:11 +02:00
bordun
d526809cd3 hot-reload: when disabled, missing one condition to avoid extra error when build fails 2018-10-26 11:37:27 +02:00
bordun
282ef23712 node: remove electron import that breaks it 2018-10-25 14:26:22 +02:00
bordun
10e0869c3a node: adjust logs 2018-10-25 08:53:46 +02:00
bordun
37f98c38cc node: better node startup 2018-10-25 08:51:13 +02:00
bordun
04a0d7e6ed package: make electron dep optional 2018-10-24 14:31:21 +02:00
bordun
23e6e7c557 package: npm start faster 2018-10-24 14:30:53 +02:00
bordun
c7d0cfd69f node: automatically setup --no-gui 2018-10-24 12:09:38 +02:00
bordun
436cc1fd22 windows: node process title detection fix 2018-10-24 12:01:22 +02:00
jean-emmanuel
1d6448ffd4 package: 0.38.4 true release 2018-10-23 20:34:07 +02:00
jean-emmanuel
3c75167aef root: don't setTraversing for nothing at init 2018-10-23 16:18:16 +02:00
jean-emmanuel
88429991b9 root: prop 'traversing' is dynamic 2018-10-23 16:17:03 +02:00
jean-emmanuel
407aa57dc9 hot-reload: store traversing state (#400) 2018-10-23 09:47:47 +02:00
jean-emmanuel
ff8ca07486 traversing: store traversing type in element 2018-10-23 09:41:15 +02:00
jean-emmanuel
6e9c0ea8cc traversing: store samewidget switch in utils 2018-10-23 09:40:37 +02:00
jean-emmanuel
08904a3d52 sidepanel: disable traversing before enabling 2018-10-23 09:36:45 +02:00
jean-emmanuel
93d0113b43 traversing: store traversing state in dom element 2018-10-23 09:34:49 +02:00
jean-emmanuel
0bf1c572ed root: add traversing option (#400) 2018-10-23 08:56:32 +02:00
jean-emmanuel
5b7d2fb449 dynamic edit: inverted test that triggers prop cache recreation (#401) 2018-10-23 08:35:27 +02:00
jean-emmanuel
0512f35937 traversing: log/doc smart mode 2018-10-23 00:01:58 +02:00
jean-emmanuel
9ffe0892f5 Merge pull request #400 from MartinHN/pr/same-widget-traversing
Smart traversing gestures
2018-10-22 23:56:47 +02:00
jean-emmanuel
a8fab70705 traversing gestures: simplify implementation & add locales 2018-10-22 23:49:23 +02:00
jean-emmanuel
044c5354f6 Merge branch 'pr/same-widget-traversing' of https://github.com/MartinHN/open-stage-control into MartinHN-pr/same-widget-traversing 2018-10-22 23:45:10 +02:00
jean-emmanuel
7264163670 sidepanel: pass button reference to action callback 2018-10-22 23:29:49 +02:00
Martin Hermant
9c472b221e wip traversing same Widget 2018-10-22 21:33:43 +02:00
jean-emmanuel
4cbdce3add docs: veganize dat 2018-10-22 19:23:03 +02:00
jean-emmanuel
3454eb631d docs: formatting 2018-10-22 19:21:46 +02:00
jean-emmanuel
3969e68823 css: support special css property class for adding custom classes to widgets (#361) 2018-10-22 19:20:20 +02:00
jean-emmanuel
87ffffffe7 package: 0.38.3 beta 2018-10-22 08:00:53 +02:00
jean-emmanuel
449a0f6198 nested props: cheaper regexp 2018-10-22 01:02:39 +02:00
jean-emmanuel
f99278c36a nested props: fix regexp for when the nested call is not at the end 2018-10-22 00:46:00 +02:00
jean-emmanuel
2a90452834 package: 0.38.2 beta 2018-10-21 23:51:40 +02:00
jean-emmanuel
bb77ada35e lint: clean and update some rules 2018-10-21 23:46:30 +02:00
jean-emmanuel
eab793a022 log: phrasin 2018-10-21 23:24:49 +02:00
jean-emmanuel
b34500dd87 clone: rm unnused var 2018-10-21 23:16:42 +02:00
jean-emmanuel
3240ed9384 diff: add some comments 2018-10-21 23:14:47 +02:00
jean-emmanuel
0b67bd7efd diff: missing case in diff parsing 2018-10-21 23:06:02 +02:00
jean-emmanuel
34bd88fa43 clone: use new diff parsing to update children faster if only dynamic props change 2018-10-21 22:56:14 +02:00
jean-emmanuel
4adb92974a diff: clean diff parsing 2018-10-21 22:56:01 +02:00
jean-emmanuel
9e7f089828 editor: write a proper diff to widget parsing function 2018-10-21 22:10:20 +02:00
jean-emmanuel
4fc757cb4c editor: adapt to dynamic nested props (#398) 2018-10-21 21:51:03 +02:00
jean-emmanuel
787c6e3b91 linked-props: make nested links dynamic (#398) 2018-10-21 21:42:50 +02:00
jean-emmanuel
cb2097a873 widget: fix regression with simple nested @{} calls 2018-10-21 18:06:24 +02:00
jean-emmanuel
52c1e47f37 package: typo in script name 2018-10-21 10:13:32 +02:00
jean-emmanuel
ef3738ff32 package: cross platform "cp" script for windows 2018-10-21 10:07:10 +02:00
jean-emmanuel
e70a069bac package: 0.38.1 beta 2018-10-20 21:09:59 +02:00
jean-emmanuel
6e452248c6 midi: fix python import 2018-10-20 21:06:11 +02:00
jean-emmanuel
022074accc clone: hot fix @MartinHN #395 2018-10-20 19:49:39 +02:00
jean-emmanuel
04366ee8df props: regression in linkedprops listeners 2018-10-20 15:47:38 +02:00
jean-emmanuel
a82b9fa899 Merge pull request #390 from MartinHN/pr/debug-autoreload
add integrated html error and reloading when debuging
2018-10-20 15:24:09 +02:00
jean-emmanuel
cb13fcafde hot-reload: clean backup only after it's been consumed 2018-10-20 15:23:01 +02:00
jean-emmanuel
274a035ea9 hot-reload: hide browserify's stack, enhance formatting 2018-10-20 10:29:26 +02:00
jean-emmanuel
9ee6292565 hot-reload: save editor state, history, and sidepanel state 2018-10-20 10:10:34 +02:00
jean-emmanuel
42bd16df09 hot-reload: implememnt auto session/state backup on reload and display error stack in a popup 2018-10-19 21:25:00 +02:00
jean-emmanuel
bcf80a1668 Merge branch 'pr/debug-autoreload' of https://github.com/MartinHN/open-stage-control into autoreload 2018-10-19 17:32:32 +02:00
jean-emmanuel
81959454f4 package: 0.38 2018-10-19 16:17:32 +02:00
jean-emmanuel
9c0d536079 session: add mod+o shortcut to open a session file 2018-10-19 16:16:48 +02:00
jean-emmanuel
bce85a392b Merge pull request #394 from jean-emmanuel/dynamic-props-edit
Dynamic props edition
2018-10-19 16:10:59 +02:00
jean-emmanuel
fd55432e42 container: safe alignChildrenProps 2018-10-19 16:08:07 +02:00
jean-emmanuel
6e7ada7c45 editor: update comments 2018-10-19 15:46:33 +02:00
jean-emmanuel
e98da4c01d editor: avoid rebuild for dynamic props even if they contain listeners (if so, refresh prop cache and listeners) 2018-10-19 15:40:57 +02:00
jean-emmanuel
8ccf246a06 widget: dynamically bind/unbind prop-change listener and allow resetting prop cache 2018-10-19 15:40:13 +02:00
jean-emmanuel
1d0453867d events: add evt & listener args to removeEventContext to allow removing a specific listener 2018-10-19 15:37:50 +02:00
jean-emmanuel
518547b314 Merge branch 'master' into dynamic-props-edit 2018-10-19 11:11:12 +02:00
jean-emmanuel
d59bf31604 osc-listener: code space 2018-10-19 11:10:38 +02:00
jean-emmanuel
18b9c0c25d editor: check linked props more efficiently and adapt to osc listener fix 2018-10-19 11:10:05 +02:00
jean-emmanuel
caf737501d Merge branch 'master' into dynamic-props-edit 2018-10-19 10:54:12 +02:00
Martin Hermant
9e5e3999ec fix OSC bug where multiple props on the same widget cannot be updated if they share the same address 2018-10-19 10:50:31 +02:00
jean-emmanuel
e4b98f6b63 editor: remove form update (form is always recreated) 2018-10-19 10:43:23 +02:00
jean-emmanuel
0ac6e67139 widget: don't trigger resize when only position changes 2018-10-19 10:39:37 +02:00
jean-emmanuel
20c3fb701f editor: trigger rebuild if prop/osc listener are found in changeProps (new & old) 2018-10-19 10:34:09 +02:00
jean-emmanuel
85065c46df matrices: dynamic color update for all 2018-10-19 10:17:22 +02:00
jean-emmanuel
407b90427a clone: subscribe to prop-changed to update inner clone 2018-10-19 10:16:59 +02:00
jean-emmanuel
64b6b20aae widget: fix dynamic label change 2018-10-19 10:16:42 +02:00
jean-emmanuel
0d84130ea4 editor: prevent arrow resize/move when not allowed (in strips) 2018-10-19 10:16:06 +02:00
jean-emmanuel
456ac10df3 editor: let widget update themselves for small edits 2018-10-19 10:15:00 +02:00
jean-emmanuel
dc3578e9cc resolve props: fix json heuristic (missing tab/new-line as valid 1st char) 2018-10-19 09:08:02 +02:00
jean-emmanuel
a62faaa27b Merge pull request #392 from jean-emmanuel/clone-refactor-2
Clone refactor 2
2018-10-18 18:39:00 +02:00
jean-emmanuel
ad246264bf Merge branch 'master' into clone-refactor-2 2018-10-18 17:30:21 +02:00
jean-emmanuel
2d5643feaf editor: at last a fix that works to avoid data shifting on editor.undo 2018-10-18 17:01:02 +02:00
jean-emmanuel
e729509d25 clone: avoid resize check when not necessary 2018-10-18 15:13:55 +02:00
jean-emmanuel
60a304d949 clone refactor: typo 2018-10-18 13:28:50 +02:00
jean-emmanuel
01c90da246 clone refactor: use proper diff to define which properties need to be checked by inner clone 2018-10-18 13:21:59 +02:00
jean-emmanuel
f1294ff575 clone refactor: missing onremove unbind 2018-10-18 12:46:15 +02:00
jean-emmanuel
5cc5212b50 clone refactor: don't destroy clone on target's removal, let clone update itself on target update 2018-10-18 12:35:21 +02:00
jean-emmanuel
9a0c45bd15 updatewidget: rm unused "remote" option 2018-10-18 11:11:45 +02:00
jean-emmanuel
16bd7de23f editor: only save/restore scroll states at the very beginning and end of editing routines 2018-10-18 11:08:01 +02:00
jean-emmanuel
a9689d48f6 editor: don't save null scroll states 2018-10-18 10:59:09 +02:00
jean-emmanuel
41d4b2b635 widget: better regexp for @{} syntax 2018-10-18 10:41:11 +02:00
jean-emmanuel
0b41bd5532 resolve-props: better heuristic (take all possible 1st char into account) 2018-10-18 10:15:12 +02:00
jean-emmanuel
8395067565 resolve-props: avoid json parse using simple heuristic (big perf hit in widget init) 2018-10-18 10:02:43 +02:00
jean-emmanuel
d7be252b79 editor: fix broken mod+arrowDown by mistake 2018-10-18 08:56:12 +02:00
Martin Hermant
659d6f51c8 remove explicit ws dependency 2018-10-18 03:15:15 +02:00
Martin Hermant
01221950b7 add integrated html error and reloading when debuging 2018-10-18 02:34:22 +02:00
jean-emmanuel
9c9a71ac87 fader: missing meter removal 2018-10-18 00:36:12 +02:00
jean-emmanuel
70f8c3618c log: some missing changes 2018-10-17 23:33:16 +02:00
jean-emmanuel
f43646e754 scripts: watchify: add error logging 2018-10-17 23:31:07 +02:00
jean-emmanuel
58393a7765 editor: better diff patch/unpatch processing 2018-10-17 23:19:03 +02:00
jean-emmanuel
f3be43b925 editor: adapt sortable children list callback 2018-10-17 23:18:38 +02:00
jean-emmanuel
1dfcc18927 editor: mod+arrow: avoid mutatin widget children list 2018-10-17 22:51:13 +02:00
jean-emmanuel
925f512584 Merge pull request #388 from MartinHN/pr/show-computed-values-in-help
show computed value in help
2018-10-17 18:58:11 +02:00
jean-emmanuel
854680f415 computed value help: pretty print value 2018-10-17 18:56:41 +02:00
jean-emmanuel
97add283d8 Merge commit 'refs/pull/388/head' of github.com:jean-emmanuel/open-stage-control into computed-value 2018-10-17 18:55:51 +02:00
jean-emmanuel
5acd6bf8cf editor: change diffing algo for one that does unpatch well 2018-10-17 18:18:27 +02:00
jean-emmanuel
16a05e156c editor: fix paste widget 2018-10-17 16:59:08 +02:00
Martin Hermant
7663b91fc2 Merge branch 'pure' into pr/show-computed-values-in-help 2018-10-17 16:51:37 +02:00
Martin Hermant
89efa186b5 show computed value in help 2018-10-17 16:48:26 +02:00
jean-emmanuel
c467cd593e editor: don't reuse if undo fails to find parent 2018-10-17 16:38:25 +02:00
jean-emmanuel
690a031c3d editor: error in sidepanel child remover 2018-10-17 15:51:21 +02:00
jean-emmanuel
3a35d5a0a1 editor: avoid data shifting, reset reused children props 2018-10-17 15:34:06 +02:00
jean-emmanuel
ee559241a9 editor: avoid mutating widget's children list twice 2018-10-17 14:53:57 +02:00
jean-emmanuel
4811b2c15b editor: fix sidepanl add/remove children action 2018-10-17 14:42:10 +02:00
jean-emmanuel
f9d5e4b93a editor: missing widget removal 2018-10-17 14:21:04 +02:00
jean-emmanuel
87926a2147 editor: don't try to retrieve props from parents when widget is root 2018-10-17 14:11:11 +02:00
jean-emmanuel
cd9fe57f9c log: children reuse applies to containers 2018-10-17 14:06:49 +02:00
jean-emmanuel
aace4d5111 editor: rm old code 2018-10-17 14:05:37 +02:00
jean-emmanuel
52a3665770 matrix: dynamic children update fix 2018-10-17 13:57:07 +02:00
jean-emmanuel
26099e5152 editor: prevent selecting 1st child when not editable 2018-10-17 13:56:41 +02:00
jean-emmanuel
e2d5938145 editor: fix state save at widget update when reuse is false 2018-10-17 13:56:34 +02:00
jean-emmanuel
4c87ff0237 multifader: reset default unit 2018-10-17 13:24:44 +02:00
jean-emmanuel
c47bd21ba6 log: editor perf 2018-10-17 13:16:20 +02:00
jean-emmanuel
171544a3d2 editor: reuse children in almost every case 2018-10-17 13:14:24 +02:00
jean-emmanuel
4742303418 clone: fix memory leak 2018-10-17 13:13:26 +02:00
jean-emmanuel
da8a77e577 matrix: prevent "props" from overfeeding widget properties when it dosen't resolve 2018-10-17 13:06:32 +02:00
jean-emmanuel
bff8ab69ba editor: reuse children when possible 2018-10-16 20:39:01 +02:00
jean-emmanuel
85c5b85972 clone: fix regression not applying not-editable to all children 2018-10-16 16:23:35 +02:00
jean-emmanuel
20128b3327 formula: better regexp (no need to escape object closing brackets) 2018-10-16 12:35:03 +02:00
jean-emmanuel
2ca4ff2715 canvas: remove useless dom color request 2018-10-16 11:11:37 +02:00
jean-emmanuel
6da2d1e425 events: missing context passing 2018-10-16 10:53:34 +02:00
jean-emmanuel
ec34aed028 events: remove wildcard, use widget's hash as context only when adding/removing events 2018-10-16 10:50:26 +02:00
jean-emmanuel
4204682ca4 Merge pull request #383 from MartinHN/pr/clone_refactor
WIP : clone refactor
2018-10-16 09:52:16 +02:00
jean-emmanuel
ec2594d314 Merge pull request #385 from MartinHN/pr/hot_rebuild
use watchify to reduce re-build times
2018-10-16 09:51:42 +02:00
jean-emmanuel
f2a3e12c90 scripts: clean build-browser, always set output path from the script 2018-10-16 09:43:15 +02:00
jean-emmanuel
4d44b45b79 Merge commit 'refs/pull/385/head' of github.com:jean-emmanuel/open-stage-control into watchify 2018-10-16 09:31:15 +02:00
jean-emmanuel
4a352efa00 maths: add extend(x, y) for merging two objects (#387) 2018-10-15 22:50:19 +02:00
jean-emmanuel
51aefb7b94 doubleTap: make sure callback is called after draginit callbacks (fixes snap sliders doubleTap, #386) 2018-10-15 22:32:31 +02:00
Tintamar
19dd76e6bb fix infinite loop typo 2018-10-15 13:37:18 +02:00
Martin Hermant
4d7308664f remove launcher not supported for now 2018-10-15 12:20:15 +02:00
Martin Hermant
5453d76cc0 use watchify to reduce re-build times 2018-10-15 12:12:31 +02:00
jean-emmanuel
e2440baf73 docs: add missing dynamic prop hint to widget reference 2018-10-14 23:40:34 +02:00
jean-emmanuel
1d05bcbbeb clone: use children list to disable edition instead of querying the DOM 2018-10-14 12:24:02 +02:00
jean-emmanuel
3e87c2f8ca clone: fix cloneTarget updates watch 2018-10-14 12:07:30 +02:00
jean-emmanuel
e520311743 clone: adapt to commit 94da9103e6 2018-10-14 11:09:31 +02:00
jean-emmanuel
aa9d2cdc6b Merge commit 'refs/pull/383/head' of github.com:jean-emmanuel/open-stage-control into clone-refactor 2018-10-14 11:05:30 +02:00
jean-emmanuel
94da9103e6 widgets: use list of child instances instead of hashes; let 'widget-removed' traverse the widget structure 2018-10-14 11:01:42 +02:00
jean-emmanuel
bc954552ce clone: remove unnecessary clean on deletion 2018-10-13 16:50:32 +02:00
jean-emmanuel
0bd29cc3ea clone: don't reset auto ids (maybe to be added as an option) 2018-10-13 16:49:53 +02:00
Martin Hermant
25944ad60b add auto detection of id created automatically to allow to have different id when cloning (can be done via dynamic props too ) 2018-10-11 14:38:54 +02:00
Martin Hermant
3671f8317b better syntax and comments 2018-10-11 14:36:10 +02:00
Martin Hermant
e20fda493d clone : reset parser call to original api 2018-10-11 10:09:05 +02:00
Martin Hermant
de14bf39d7 remove circular dependencies, and undefined behaviors 2018-10-11 09:24:16 +02:00
jean-emmanuel
9fe74e3983 doc: phrasing 2018-10-11 06:57:58 +02:00
jean-emmanuel
703d0cbc8b log: editor kbd changes 2018-10-11 06:49:35 +02:00
jean-emmanuel
652aa693cd editor: prevent right-click from changing selection when shift or mod is pressed 2018-10-11 06:45:59 +02:00
jean-emmanuel
3b39fcc8ad editor: prevent dragging mod + right click 2018-10-11 06:31:28 +02:00
jean-emmanuel
4555a233cc editor: disable lasso on right click 2018-10-11 06:26:36 +02:00
jean-emmanuel
8d5725e7b2 doc: update editor shortcuts 2018-10-11 06:26:21 +02:00
jean-emmanuel
9ae6dacabc editor: attempt to get a consistent key scheme 2018-10-10 23:41:16 +02:00
jean-emmanuel
ac36ad6629 editor: add missing select-area module 2018-10-10 23:21:43 +02:00
jean-emmanuel
45355fbe09 editor: rewrite select lasso without jquery-ui to get decent perfs 2018-10-10 22:42:27 +02:00
jean-emmanuel
e849a9c42e log: mention mod key for lasso 2018-10-10 19:23:37 +02:00
jean-emmanuel
a0bb6e75e1 editor: fix some errors and conflicts 2018-10-10 19:18:13 +02:00
jean-emmanuel
0cce15c46c editor: enable lasso when mod is pressed 2018-10-10 18:56:18 +02:00
jean-emmanuel
da18760626 editor: disable lasso for now 2018-10-10 18:40:34 +02:00
jean-emmanuel
61a53c2e14 editor: keyboard shortcut mod + a for selecting all siblings 2018-10-10 18:15:11 +02:00
jean-emmanuel
b43c13079f editor: add lasso selection (WIP) 2018-10-10 17:54:32 +02:00
jean-emmanuel
46a2ed387e ui: avoid jquery weird bug with preventDefault 2018-10-10 17:43:10 +02:00
jean-emmanuel
266a5a18b9 editor: fix samelevel select check 2018-10-10 16:41:31 +02:00
jean-emmanuel
2a00d8a40b editor: resolve widget level automatically when attempting to select multiple widgets 2018-10-10 15:59:18 +02:00
jean-emmanuel
502f6435f8 docs: editor select nav shortcuts (#382) 2018-10-10 15:56:17 +02:00
jean-emmanuel
78a5d496ab editor: remove attempt to add multi select to keyboard navigation 2018-10-10 15:47:17 +02:00
jean-emmanuel
5621ba3d13 lint: editor pr #382 2018-10-10 15:31:47 +02:00
jean-emmanuel
340f766243 Merge pull request #382 from MartinHN/pr/editor-traversing-shortcuts
WIP  : editor traversing shortcuts
2018-10-10 15:21:06 +02:00
jean-emmanuel
82b3179d30 pr/editor-traversing-shortcuts: fix widget check 2018-10-10 15:16:15 +02:00
jean-emmanuel
5eb225ee14 pr/editor-traversing-shortcuts: check if widgets still exist 2018-10-10 15:08:38 +02:00
Martin Hermant
0b183a98d3 remove old comment 2018-10-10 14:44:16 +02:00
Martin Hermant
a6c08bcc4e much simpler implementation using hashes 2018-10-10 14:40:55 +02:00
Martin Hermant
0c2035521c clean syntax 2018-10-10 14:07:57 +02:00
Martin Hermant
749b4b88e9 add basic mod + arrow to quickly navigate between widgets in edit mode
mod + up/down => edit parent / child
mod + left / right => edit siblings
2018-10-10 13:55:25 +02:00
Martin Hermant
8fe273fd1f Merge branch 'pure' 2018-10-10 13:54:34 +02:00
jean-emmanuel
3ed8b4778f lint: clean 2018-10-10 10:37:15 +02:00
jean-emmanuel
e3f74e7110 editor: use "this" instead of "editor" 2018-10-10 10:32:38 +02:00
jean-emmanuel
176fcf6dc4 docs/log: editor kbd shortcuts updates 2018-10-10 10:29:17 +02:00
jean-emmanuel
96eb73917d Merge pull request #380 from MartinHN/pr/osx_delete_shortcut
editor: add osx backspace shortcut for deleting widgets
2018-10-10 10:23:26 +02:00
jean-emmanuel
4c6be20ae4 Merge pull request #381 from MartinHN/pr/shortcut_toggle_editor
editor : add mod + e to toggle editor
2018-10-10 10:23:11 +02:00
jean-emmanuel
1d905c16d3 MartinHN:pr/osx_delete_shortcut: set backspace only in Mac env 2018-10-10 10:21:39 +02:00
jean-emmanuel
b8ba373b3d MartinHN:pr/shortcut_toggle_editor: unify code style
Use "this" and this.enabled instead of ENABLED that might get removed someday
2018-10-10 10:14:48 +02:00
Martin Hermant
119311108d Merge branch 'pr/shortcut_toggle_editor' 2018-10-10 08:56:48 +02:00
Martin Hermant
9418db3119 add mod + e to toggle editor 2018-10-10 08:50:44 +02:00
Martin Hermant
83f9c7ad2d add osx backspace shortcut for deleting widgets 2018-10-10 08:32:32 +02:00
jean-emmanuel
a41779d153 slider: fix value update draw for inverted ranges 2018-10-09 17:00:35 +02:00
jean-emmanuel
7b50a281fb log: last fix 2018-10-09 11:56:02 +02:00
jean-emmanuel
1afcb86ab3 props inheritance: ignore clone wrapper in @parent stack (#379) 2018-10-09 11:40:08 +02:00
jean-emmanuel
120be0dd4a clone: remove precision prop (typo) 2018-10-09 11:39:34 +02:00
jean-emmanuel
787f59caaa editor: add tooltip hint for help popup (#372) 2018-10-09 11:28:04 +02:00
jean-emmanuel
cabc2aa08a editor: adjust disabled props hint 2018-10-09 11:27:52 +02:00
jean-emmanuel
8c26b52c96 editor: prevent ctrl + s default 2018-10-09 10:45:42 +02:00
jean-emmanuel
8f1da80bde package: fix deps 2018-10-08 23:52:17 +02:00
jean-emmanuel
dfb4253fcd editor: added keyboard shortcut mod + s for saving the session (#373) 2018-10-08 22:52:30 +02:00
jean-emmanuel
da5db1e11a editor: added keyboard shortcut F2 for editing the label quickly (#377) 2018-10-08 22:41:02 +02:00
jean-emmanuel
f50b78ba87 editor: increase disabled props hint visibility 2018-10-08 22:25:46 +02:00
jean-emmanuel
38e4163a00 editor: allow folding props categories (#378) 2018-10-08 22:25:20 +02:00
jean-emmanuel
f706917684 editor: remove widget deletion confirmation popup 2018-10-08 19:50:26 +02:00
jean-emmanuel
d42da8b98f package: update deps 2018-10-08 19:44:06 +02:00
jean-emmanuel
9dcf6b9b4c package: 0.37.4 2018-10-06 09:25:12 +02:00
jean-emmanuel
ef7027a4e5 osc receivers: (OSC{}) not working in non-dynamic properties (#369) 2018-10-06 09:23:56 +02:00
jean-emmanuel
bbc4bb1199 Merge branch 'local-dev' 2018-10-04 07:39:23 +02:00
jean-emmanuel
3b4584cf7c remote-control: add /GET/# for transparent replies (#367) 2018-10-04 07:19:03 +02:00
bordun
5d29deb973 package: 0.37.3 2018-09-20 18:17:33 +02:00
bordun
83496df253 gyro: trigger osc on data updates 2018-09-20 18:17:00 +02:00
bordun
6e996f3dda log: typo 2018-09-05 16:25:07 +02:00
bordun
8acea98b46 package: 0.37.2 2018-09-05 15:32:48 +02:00
bordun
c9255ce7d0 osc: fix empty preArg adding an empty string arg (#360) 2018-09-05 15:32:24 +02:00
jean-emmanuel
dcb1612962 popup: fix closing when clicking on the closer icon 2018-09-04 21:16:06 +02:00
jean-emmanuel
0601b8aef7 log: locales updates 2018-09-04 09:38:03 +02:00
jean-emmanuel
2637173979 locales: add ru (#302) 2018-09-04 09:35:12 +02:00
jean-emmanuel
6bebc4a275 Merge pull request #357 from trebmuh/patch-1
Update fr.js
2018-09-03 18:10:35 +02:00
Olivier Humbert
f2b395ea15 Update fr.js 2018-09-03 15:42:15 +02:00
jean-emmanuel
c03de09862 package: 0.37.0 2018-09-03 15:23:35 +02:00
jean-emmanuel
80f80bdca9 script: write better js 2018-09-01 16:17:34 +02:00
jean-emmanuel
0958879476 scripts: fix browser shim 2018-09-01 16:15:13 +02:00
jean-emmanuel
51293dc0d8 props/docs: fix some props and tweak help formatting 2018-09-01 16:10:57 +02:00
jean-emmanuel
289b6ed54d text: restore color property (#356) 2018-09-01 14:41:13 +02:00
jean-emmanuel
e7552dff95 ios: bypass all mouse event handlers to avoid duplicates 2018-09-01 10:23:59 +02:00
jean-emmanuel
77cb1d6dd6 touch: revert prevenDefault 2018-09-01 10:00:55 +02:00
jean-emmanuel
b38114345e ios: prevent touchstart in fast-click instead 2018-09-01 09:56:18 +02:00
jean-emmanuel
73d4a48438 ios: still trying to kill overscroll 2018-09-01 09:38:08 +02:00
jean-emmanuel
2c7a9c405d ios: always preventDefault on touchstart to avoid emulated mousedown (#356) 2018-09-01 09:36:45 +02:00
jean-emmanuel
e7d2fd07d8 drag: prevent double draginit on touch devices 2018-09-01 08:41:04 +02:00
jean-emmanuel
b2d900a1cf doubleTap: ignore if captured by editor for selection 2018-09-01 08:40:26 +02:00
jean-emmanuel
2d7d7127eb misc: use Date.now() instead of "new Date().getTime()" 2018-09-01 08:17:23 +02:00
jean-emmanuel
e10e19fe5d doubletap: don't check pointerId (always different on ios, and checking position should be enough) (#356) 2018-09-01 01:53:35 +02:00
jean-emmanuel
c73d982639 docs: missing items in widgets ref 2018-08-31 14:26:31 +02:00
jean-emmanuel
61898182df docs: missing string in "target" 2018-08-31 13:49:33 +02:00
jean-emmanuel
534195fe4e editor: optimize bad dom loop 2018-08-31 12:51:12 +02:00
jean-emmanuel
cf3299acb4 docs: update TOC 2018-08-31 11:21:05 +02:00
jean-emmanuel
ce024598ba package: typo & 2018-08-31 11:20:07 +02:00
jean-emmanuel
2cd671e76c package: typo 2018-08-31 11:19:14 +02:00
jean-emmanuel
4824669ed2 scripts: rename file 2018-08-31 11:17:56 +02:00
jean-emmanuel
21c59ff446 docs/log: math timestamp 2018-08-31 11:16:40 +02:00
jean-emmanuel
1a1920e251 maths: add timestamp function (#354) 2018-08-31 11:09:01 +02:00
jean-emmanuel
03fd89ad82 docs: small style fix 2018-08-30 22:18:45 +02:00
jean-emmanuel
68b400496a docs: more permalinks 2018-08-30 22:16:04 +02:00
jean-emmanuel
12f4e79722 docs: looks good 2018-08-30 22:08:18 +02:00
jean-emmanuel
ec8d9594df docs: add sub-thead in widget reference table 2018-08-30 21:51:12 +02:00
jean-emmanuel
f705b080e8 editor: pixel perfect label 2018-08-30 20:23:02 +02:00
jean-emmanuel
3e71a8f830 docs: more formatting 2018-08-30 20:19:05 +02:00
jean-emmanuel
1f68791138 docs: better table formatting 2018-08-30 19:18:34 +02:00
jean-emmanuel
757136d4f5 package: add widget-reference build script 2018-08-30 18:35:30 +02:00
jean-emmanuel
6f3971f8cd docs: preparing one page widget reference 2018-08-30 18:25:10 +02:00
jean-emmanuel
f1763a83e2 package: update deps 2 2018-08-30 18:24:55 +02:00
jean-emmanuel
c0ce096387 package: update deps 2018-08-30 18:24:49 +02:00
jean-emmanuel
b7a9ef57c1 docs: prevent uppercase on props help popup 2018-08-30 16:38:18 +02:00
jean-emmanuel
83ccc6afa9 editor: restore widget list delete button css 2018-08-30 16:33:11 +02:00
jean-emmanuel
b04942fe63 docs: typo 2018-08-30 16:31:45 +02:00
jean-emmanuel
d9d69cda44 popups: better close handlers 2018-08-30 16:30:30 +02:00
jean-emmanuel
47e42ee24b editor: help btn/label style 2018-08-30 16:25:22 +02:00
jean-emmanuel
b7e3e6f21f editor: continue embed doc 2018-08-30 14:59:40 +02:00
jean-emmanuel
a2e9a5fe5a formula: undelete for compat 2018-08-30 14:37:01 +02:00
jean-emmanuel
234a8ed354 editor: embed prop docs 2018-08-30 14:32:39 +02:00
jean-emmanuel
cd2ab46eb1 knob: missing prop rewrite 2018-08-30 14:19:44 +02:00
jean-emmanuel
53302b3962 prop inheritance: prevent root from reaching widgetManager (breaks it!) 2018-08-30 12:37:40 +02:00
jean-emmanuel
3ac0a0eddf refactoring: continue prop defaults refactor 2018-08-30 12:36:34 +02:00
jean-emmanuel
9b3cb19091 refactor: widget props ok 2018-08-30 11:26:06 +02:00
jean-emmanuel
6a66464378 refactoring: plots ok 2018-08-30 10:13:57 +02:00
bordun
ec99addd50 refactoring: continue props rewrite 2018-08-30 09:22:45 +02:00
bordun
5b3671aae0 osc receivers: trigger update even when receiving the same value 2018-08-30 09:07:26 +02:00
bordun
1407ae116b refactoring: widget defaults with docs inside 2018-08-29 23:46:36 +02:00
bordun
d51531a305 editor: prevent actions on empty selection 2018-08-29 12:56:11 +02:00
bordun
2df4661651 editor: prevent multiple delete popup 2018-08-29 12:46:41 +02:00
bordun
995dd7fe9b gyro: change icon 2018-08-29 11:35:12 +02:00
bordun
de13d2218c package: fix minification problems 2018-08-29 09:50:49 +02:00
bordun
e87fe156ac editor: prevent keybindings in grid width input 2018-08-29 09:42:43 +02:00
bordun
eb88b8bc1e plots: add frame widget 2018-08-28 17:29:56 +02:00
bordun
56334b3f5f lint: no "!!" 2018-08-28 17:21:19 +02:00
bordun
18508e00e6 locale: better arg parse 2018-08-28 17:19:54 +02:00
bordun
f0b44c15d8 ios: pulltorefresh: never prevent 1st move on draggable widgets 2018-08-28 14:15:42 +02:00
bordun
8860eeb111 locales: missing strings (editor delete prompt) 2018-08-28 13:57:47 +02:00
bordun
e83f154f8b locales: missing string 2018-08-28 13:51:14 +02:00
bordun
29eee2ded8 locale: add "debug" to show all localized strings 2018-08-28 13:47:37 +02:00
bordun
3b8a477f0c lang: no need to shim navigator.language 2018-08-28 13:45:52 +02:00
bordun
22f4fbf602 log: ios overscroll 2018-08-28 13:44:36 +02:00
bordun
6c247a1d5e ios: import typo 2018-08-28 13:38:22 +02:00
bordun
d25b875038 mobile: prevent overscroll and pull-to-refresh (#235) 2018-08-28 13:37:06 +02:00
bordun
c17e5cdc30 editor: prevent selecting root when opening the sidepanel 2018-08-28 12:06:06 +02:00
jean-emmanuel
b4f99dbedc locales: some improvements 2018-08-27 17:24:30 +02:00
jean-emmanuel
7a0c3061e8 locales: fr 2018-08-27 17:16:18 +02:00
jean-emmanuel
ed29a5c313 locales: non generic on/off strings 2018-08-27 17:15:09 +02:00
jean-emmanuel
926ae55fa7 locales: fix some errors 2018-08-27 15:44:32 +02:00
jean-emmanuel
0e185cb68b log: last changes 2018-08-27 15:12:36 +02:00
jean-emmanuel
400243d6e4 lint: yep 2018-08-27 15:12:05 +02:00
jean-emmanuel
448929cb40 locales: add to url-options docs, force lowercase 2018-08-27 15:04:15 +02:00
jean-emmanuel
76b6a36d44 locales: use <em> instead of <text> for missing bits 2018-08-27 14:57:36 +02:00
jean-emmanuel
7b9733c064 localization: implement locales and add "en" (#302) 2018-08-27 14:52:26 +02:00
jean-emmanuel
7a0e529ac4 gyro: comma typo 2018-08-26 20:21:56 +02:00
jean-emmanuel
1ceacb23d7 widgets: gyroscope widget 1st draft 2018-08-26 20:16:08 +02:00
jean-emmanuel
a278ddd638 lint: useless import 2018-08-26 19:14:44 +02:00
jean-emmanuel
333a0f0a2c deepCopy: fix import 2018-08-26 19:01:31 +02:00
jean-emmanuel
e637f64a61 ipc: remove useless stringify 2018-08-26 19:01:08 +02:00
jean-emmanuel
3fa49e3900 main: use deepCopy instead of JSON trick 2018-08-26 18:57:46 +02:00
jean-emmanuel
4577914d4e widget: optimize prop comparison function 2018-08-26 11:41:46 +02:00
jean-emmanuel
17ceff4293 editor: missing deepCopy usage 2018-08-26 11:41:16 +02:00
jean-emmanuel
e846437ae2 doc: wrong key 2018-08-25 17:14:12 +02:00
jean-emmanuel
927099da4d package: 0.36 2018-08-25 13:23:32 +02:00
jean-emmanuel
b42d9fc04c log: last changes 2018-08-25 13:20:33 +02:00
jean-emmanuel
ec6ba694cd visualizer: use global canvas framerate to make things smoother by default 2018-08-25 13:09:32 +02:00
jean-emmanuel
f66a011ec1 plots: normalize a few things and fix visualizer's value sync (#352) 2018-08-25 13:05:19 +02:00
jean-emmanuel
0501ed2a06 editor: fix ctrl shit v 2018-08-24 14:34:01 +02:00
jean-emmanuel
37a647f27e lint: minor fix 2018-08-24 13:54:25 +02:00
jean-emmanuel
f0b3a5a549 keybindings: more generic combo prevention in ui inputs 2018-08-24 13:52:23 +02:00
jean-emmanuel
426c0a2174 examples: fix keys.json 2018-08-24 12:37:54 +02:00
jean-emmanuel
e972e6b53d deepCopy: missing file 2018-08-24 08:05:06 +02:00
jean-emmanuel
89dbc88a86 deepCopy: modularize and use everywhere 2018-08-23 21:06:27 +02:00
jean-emmanuel
2451efde81 editor: make ctrl + v use mouse position 2018-08-23 20:38:15 +02:00
jean-emmanuel
e0e8c558e6 editor: multiwidget edit field undo/redo fix 2018-08-23 19:37:46 +02:00
bordun
69e2c2fc3e log: .36 is next, not .37 2018-08-23 15:35:27 +02:00
bordun
f5b2f2f6b4 editor: fix redo operations order 2018-08-23 15:26:45 +02:00
bordun
2f11426ba4 editor: undo/redo: compute path intersection to make sure all widgets are updated 2018-08-23 15:15:35 +02:00
bordun
61911bd4b7 editor: fix redo shortcut 2018-08-23 14:47:16 +02:00
bordun
358e8105a0 lint: fix some errors 2018-08-23 14:38:25 +02:00
bordun
3d6f6dc7c5 editor: add undo/redo 🎉 2018-08-23 14:31:23 +02:00
bordun
085f6bcd4a parser: prevent address props to be created when it shouldn't 2018-08-23 13:57:18 +02:00
bordun
65f2cf0fbe editor: add keyboard bindings (copy, cut, paste, paste n+1, move, resize) (#186) 2018-08-22 18:03:15 +02:00
jean-emmanuel
517de51610 log: typoz 2018-08-07 20:37:16 +02:00
jean-emmanuel
3381b999eb keys: breaking changes for the greater good 2018-08-07 20:35:12 +02:00
jean-emmanuel
07e3ad7fd7 linkId: fix multi linkId event chains; fix linkId sync not triggering prop updates 2018-08-07 20:26:15 +02:00
jean-emmanuel
32eb431da1 package: 0.35 2018-08-07 10:57:26 +02:00
jean-emmanuel
3d800ef7b6 script: add an icon as content 2018-08-07 10:54:07 +02:00
jean-emmanuel
7f632ef081 script: add condition prop 2018-08-07 10:52:19 +02:00
jean-emmanuel
84b06b4807 docs: remove old arg 2018-08-06 10:12:28 +02:00
jean-emmanuel
95cfe442a2 script: pass options to set() to send/sync only when it should, bypass send() when options.send is false 2018-08-06 10:01:25 +02:00
jean-emmanuel
5ad8537ab7 session: reduce indentation to 2 spaces (#350) 2018-08-05 13:38:26 +02:00
jean-emmanuel
064fbd1017 cli/state: log error 2018-08-04 17:11:46 +02:00
jean-emmanuel
9cd107fd5c settings: add "--state" (#349) 2018-08-04 17:07:52 +02:00
jean-emmanuel
5a2ec0ea84 state: loading a state file doesn't replace the quick save slot anymore 2018-08-04 16:42:52 +02:00
jean-emmanuel
38992fe679 state: rename state prop to quickState 2018-08-04 16:38:27 +02:00
jean-emmanuel
fbcef71774 script: add optionnal send arg in scriptSend to prevent osc sending 2018-08-04 15:19:36 +02:00
jean-emmanuel
3c56b95adf script: typo in set() 2018-08-04 12:52:15 +02:00
jean-emmanuel
aadfee0a5d widgets: script proto (#340) 2018-08-04 12:43:57 +02:00
jean-emmanuel
369f8d4cec package: 0.34.4 2018-08-03 17:10:21 +02:00
jean-emmanuel
48a17ecdc1 node: fix Bufer deprecation (node 10.1) (#348) 2018-08-02 17:55:58 +02:00
jean-emmanuel
38981d1da6 lint: illegal whitespaces 2018-08-01 18:43:19 +02:00
jean-emmanuel
94beb77eb9 switcher: update linked widgets' osc properties before sending if they depend on the switcher's value (#344) 2018-08-01 18:35:31 +02:00
jean-emmanuel
87e2b165e5 log: strip osc fix 2018-08-01 12:59:56 +02:00
jean-emmanuel
852c4c96f0 strip: missing osc properties (address and preArgs) for remote control (#345) 2018-08-01 09:23:03 +02:00
jean-emmanuel
e5d8f0daa4 widgets: dynamic address when split is true (#344) 2018-07-31 18:45:36 +02:00
jean-emmanuel
499de514f9 package: 0.34.3 2018-07-30 22:35:25 +02:00
jean-emmanuel
54668b15b1 launcher: regression breaking the port option (#341) 2018-07-30 22:35:02 +02:00
jean-emmanuel
97237a5378 launcher: oups missing comas< 2018-07-29 21:17:54 +02:00
jean-emmanuel
db956026d7 packag: 0.34.2 2018-07-29 20:59:11 +02:00
jean-emmanuel
fa74df6dfb launcher: regression preventing options to be applied (#343) 2018-07-28 11:59:09 +02:00
jean-emmanuel
887f15157c matrices: fix spacing in strips with spacing 2018-07-26 16:55:43 +02:00
jean-emmanuel
a1af2943da ipc/osc: fix module loading order 2018-07-26 15:07:44 +02:00
jean-emmanuel
ef047dc422 settings: human readable code 2018-07-26 15:01:18 +02:00
jean-emmanuel
cc4e86623c docs: add missing settings.read 2018-07-26 14:53:19 +02:00
jean-emmanuel
65aac09a55 docs: +update from sources 2018-07-26 10:39:48 +02:00
jean-emmanuel
31a6df261c package: 0.34.0 2018-07-26 10:33:22 +02:00
jean-emmanuel
b03e9d8869 package: update deps 2018-07-26 10:30:10 +02:00
jean-emmanuel
e262185416 uuid: fix id generation 2018-07-26 10:29:55 +02:00
jean-emmanuel
34b91c64af uuid: replace shortid lib with nanoid 2018-07-25 22:14:47 +02:00
jean-emmanuel
2b248fd3a0 packaging: add a build task for rpi with compatible electron (#336) 2018-07-25 19:40:49 +02:00
jean-emmanuel
f9632ffac3 package: next will be 0.34 2018-07-25 19:07:15 +02:00
jean-emmanuel
86659f9358 formula: deprecated: remove from the editor 2018-07-25 19:01:59 +02:00
jean-emmanuel
4cbb38453c log: custom module app 2018-07-25 18:53:03 +02:00
jean-emmanuel
9368318587 custom module: expose app, an event listener for monitoring events (see callbacks.js) (#341) 2018-07-25 18:23:27 +02:00
jean-emmanuel
720ab76860 widgets: prevent non-dynamic properties updates from breaking an osc sending event chain (#342) 2018-07-25 11:59:17 +02:00
jean-emmanuel
23abb8fb88 log: switch object value fix 2018-07-22 11:36:24 +02:00
jean-emmanuel
2ac3cf058f switch: display object-values properly when showValues is set to true (#338) 2018-07-22 11:33:16 +02:00
jean-emmanuel
bb5588d971 package: 0.33.3 2018-07-21 19:34:35 +02:00
jean-emmanuel
4b690a2340 docs: mention switch workaround for values order with numeric keys (#330) 2018-07-21 09:12:59 +02:00
jean-emmanuel
c9817de91f multixy: fix drawing glitch with some letters in points' labels (e.g. "j") 2018-07-19 16:34:59 +02:00
jean-emmanuel
695b7c75d8 log: clone matrix fix 2018-07-19 16:04:16 +02:00
jean-emmanuel
105c909d0a lint: bad white space and var redeclare 2018-07-19 11:05:34 +02:00
jean-emmanuel
778aaf21ad panel: autopurge childrenHashes list 2018-07-19 11:00:55 +02:00
jean-emmanuel
22253f5693 matrix: autopurge childrenHashes list 2018-07-19 11:00:42 +02:00
jean-emmanuel
af830e5ee3 dynamic props: only fire props-changed event when the widget is not recreated 2018-07-19 10:43:07 +02:00
jean-emmanuel
35bc5a17ae docs: theming;, scss / autoreload 2018-07-17 19:32:12 +02:00
jean-emmanuel
7227f9faa3 package: 0.33.2 2018-07-09 14:17:35 +02:00
jean-emmanuel
7eac0a3f87 log: missing changes 2018-07-07 16:44:14 +02:00
jean-emmanuel
3732c67957 formula: add object keys() and values() functions (#327) 2018-07-07 13:37:44 +02:00
jean-emmanuel
b3b35cf3ce matrix: fix label border 2018-07-06 12:51:15 +02:00
jean-emmanuel
ac0de3b914 docs: url typo 2018-07-05 11:50:35 +02:00
jean-emmanuel
f617b979a8 matrix: set initial value at widget's creation 2018-07-04 16:38:22 +02:00
jean-emmanuel
7a3efb83aa docs: add svg exemple session 2018-07-04 16:24:12 +02:00
jean-emmanuel
449c68632d examples: add svg example (#323) 2018-07-04 16:21:46 +02:00
jean-emmanuel
f027e93e0f docs: add manaberry's ui 2018-07-04 16:07:50 +02:00
jean-emmanuel
5708fdc28c docs: update qlab examples 2018-07-04 16:03:05 +02:00
jean-emmanuel
f5f4ee89a4 docs: mention matrices value behaviour 2018-07-04 15:59:05 +02:00
jean-emmanuel
c5c93d94b8 deps: fix import 2018-07-04 10:34:27 +02:00
jean-emmanuel
37fee6059b package: 0.33.1 2018-07-04 10:22:28 +02:00
jean-emmanuel
1496cdfd52 package: some deps updates 2018-07-04 10:22:06 +02:00
jean-emmanuel
9f9da33e0f widgets: remove unnused properties to avoid having hidden properties laying around when the type changes (especially dangerous when those properties where linked to other widgets) 2018-07-04 10:15:26 +02:00
jean-emmanuel
f49dbfe07e docs: link themes in option list and add flat ext 2018-07-02 17:25:51 +02:00
jean-emmanuel
4509dd97cb package: 0.33.0 2018-07-02 13:09:41 +02:00
jean-emmanuel
83c9cc21cb dynamic props: we still to prevent recreation when update comes from self value change 2018-07-01 13:21:57 +02:00
jean-emmanuel
a5f651bb53 dynamic props: generic fix for circular prop update 2018-07-01 10:51:50 +02:00
jean-emmanuel
fb041ef437 matrix: add borders option 2018-06-29 08:33:22 +02:00
jean-emmanuel
ef27387d49 matrix: missing i -> $ renaming (#320) 2018-06-29 00:20:14 +02:00
jean-emmanuel
a758614bf6 docs: rm extra dot 2018-06-28 13:36:36 +02:00
jean-emmanuel
6c68a26bbc log: phrasing 2018-06-28 13:34:49 +02:00
jean-emmanuel
1092a122d7 matrix: use "$" instead of "i" to represent the index (#320) 2018-06-28 13:10:50 +02:00
jean-emmanuel
a53c236afb osc-receiver: allow non string values 2018-06-28 13:09:52 +02:00
jean-emmanuel
aa844250d1 osc-receivers: fix events not registered properly -> memory leak 2018-06-28 12:24:11 +02:00
jean-emmanuel
5c945f07f0 matrix: correct props 2018-06-28 11:16:03 +02:00
jean-emmanuel
39d0146370 matrix: refine widget recreation process on props update 2018-06-28 10:29:00 +02:00
jean-emmanuel
ba168881b5 lint: remove bad white space 2018-06-28 10:03:26 +02:00
jean-emmanuel
caa1b1d066 fader: restore right-click focusing the input in compact mode (mouse only) (#321) 2018-06-28 09:47:21 +02:00
jean-emmanuel
0a5af41375 log: matrix 2018-06-28 09:10:57 +02:00
jean-emmanuel
f3ce9d5681 docs: matrix 2018-06-28 09:10:45 +02:00
jean-emmanuel
02668a223d matrices: add generic matrix widget (#320) 2018-06-28 08:59:11 +02:00
jean-emmanuel
50fb5a7530 docs: jack midi compilation 2018-06-28 08:58:18 +02:00
jean-emmanuel
5f2eecc9f7 git: ignore package lock 2018-06-28 08:57:56 +02:00
jean-emmanuel
98eaabcb7e example: ardour swag update 2018-06-21 22:11:35 +02:00
jean-emmanuel
0ffaaa1c77 package: 0.32.6 2018-06-21 10:07:26 +02:00
jean-emmanuel
fb241f4518 theme: light: reduce glass opacity 2018-06-21 10:06:59 +02:00
jean-emmanuel
caa88da397 log: last changes 2018-06-21 10:02:30 +02:00
jean-emmanuel
e38d46f9b6 style: multiple buttons style fixes 2018-06-21 09:53:36 +02:00
jean-emmanuel
8b7f75a748 style: fix border-radius inheritance regression 2018-06-21 09:33:38 +02:00
jean-emmanuel
875744db6f theme: flat toggle border fix 2018-06-20 19:39:10 +02:00
jean-emmanuel
ebcfd5eac4 package: 0.32.5 2018-06-20 17:19:02 +02:00
jean-emmanuel
2d1e9592d7 theme: flat tweaks 2018-06-20 17:18:31 +02:00
jean-emmanuel
ff415b1281 theme: dark theme improvement 2018-06-20 17:14:20 +02:00
jean-emmanuel
da5c3e34c7 scss: clean 2018-06-20 17:14:08 +02:00
jean-emmanuel
61b56bc35d theme: add flat mod 2018-06-20 17:13:33 +02:00
jean-emmanuel
1added5bae theme: alt-buttons: better push active state 2018-06-20 16:53:39 +02:00
jean-emmanuel
95cd10c57c push: add active class to container element 2018-06-20 16:53:21 +02:00
jean-emmanuel
dfa6bcfc8a osc: add missing feedback support for widgets with typed preArgs (#314) 2018-06-09 09:18:43 +02:00
jean-emmanuel
e63aa279f2 package: patched 0.32.4 2018-06-08 21:45:13 +02:00
jean-emmanuel
7e73865fda osc: fix missing this before method call (#313) 2018-06-08 21:27:52 +02:00
jean-emmanuel
724c1fefc7 package: 0.32.3 2018-06-06 10:18:49 +02:00
jean-emmanuel
bae3b6fbf4 log: fix editor regression (#308) 2018-06-06 10:17:57 +02:00
jean-emmanuel
3954af5629 editor: remove undeclared var assignement (#308) 2018-06-04 07:15:52 +02:00
jean-emmanuel
9bc63752c7 lint: some more 2018-06-01 16:31:25 +02:00
jean-emmanuel
dc1d149f98 package: 0.32.2 2018-06-01 12:10:38 +02:00
jean-emmanuel
365ef3d0a0 log: ios slider color fix 2018-06-01 12:09:39 +02:00
jean-emmanuel
dbf9f71454 lint; server code lint 2018-06-01 12:02:04 +02:00
jean-emmanuel
3b72c3ffff sliders: attempt to fix #305 2018-06-01 11:42:22 +02:00
jean-emmanuel
6fd21dd29c lint: fix some errors 2018-06-01 11:26:55 +02:00
jean-emmanuel
f4fb65dd83 readme: img tag 2018-06-01 11:02:53 +02:00
jean-emmanuel
507f2cf15e readme: img url 2018-06-01 11:01:34 +02:00
jean-emmanuel
000401d901 docs: update credits blocks 2018-06-01 11:00:35 +02:00
jean-emmanuel
9c2227c777 lint: add eslint config files and clean all the mess 2018-06-01 10:56:49 +02:00
jean-emmanuel
4083e97cb6 examples: update ardour 2018-05-31 12:40:07 +02:00
jean-emmanuel
9527359a7c editor: reallow editing disabled properties 2018-05-31 12:22:06 +02:00
jean-emmanuel
e478ed7816 xy: draw the 2 circles closer to each other 2018-05-31 12:10:24 +02:00
jean-emmanuel
0650b033ef package: 0.32.1 2018-05-31 10:09:27 +02:00
jean-emmanuel
6bf92adec0 osc props: fix wrong isArray call (https://github.com/git-moss/DrivenByMoss/issues/70) 2018-05-31 10:06:43 +02:00
jean-emmanuel
122a6eeda4 package: stable 0.32 2018-05-31 08:59:50 +02:00
jean-emmanuel
2a40021cb8 tcp: log connection updates 2018-05-31 08:58:57 +02:00
jean-emmanuel
cec972e1b5 doc: typo 2018-05-28 11:52:30 +02:00
jean-emmanuel
73cc8f28e0 custom module: output init error to stderr 2018-05-25 13:45:03 +02:00
jean-emmanuel
20c44915f1 udp: error logging in udp module 2018-05-25 13:43:07 +02:00
jean-emmanuel
953eac1533 zeroconf: publish tcp 2018-05-25 13:42:42 +02:00
jean-emmanuel
407459a36a osc: better init task 2018-05-25 13:42:25 +02:00
jean-emmanuel
ac19ed3c1a tcp: better client storing 2018-05-25 13:42:04 +02:00
jean-emmanuel
72c3973f05 engine: downgrade electron to prevent some regressions< 2018-05-25 10:16:44 +02:00
jean-emmanuel
7d0cc4f13f log: typo 2018-05-25 10:08:05 +02:00
jean-emmanuel
0454a87dcc log: electron update 2018-05-25 10:07:39 +02:00
jean-emmanuel
ade9064a86 package: 0.32.0-beta.0 2018-05-25 09:39:08 +02:00
jean-emmanuel
9c99e7fb42 osc: implement tcp support (#298) 2018-05-25 09:38:53 +02:00
jean-emmanuel
bd3745f5fc package: remove unused dep (#297) 2018-05-17 21:12:06 +02:00
jean-emmanuel
fe19f8b4bd docs: update slider docs 2018-05-17 14:59:49 +02:00
jean-emmanuel
2125ff6ce6 package: 0.31.0 2018-05-17 14:55:22 +02:00
jean-emmanuel
3fe39fd18e fader/knob/pad: right-click / long tap doesn't give focus to the input anymore (#293) 2018-05-17 14:51:20 +02:00
jean-emmanuel
5f107c613b drag: force inertia = 1 for multitouch widgets (#292) 2018-05-17 14:35:42 +02:00
jean-emmanuel
9ae5c2f58a drag: pass event.multitouch to each touchevent (#292) 2018-05-17 12:27:54 +02:00
jean-emmanuel
66fcd48015 examples: ardour update 2018-05-11 12:47:52 +02:00
jean-emmanuel
2817f165ec toggle: parse incomming value like push does 2018-05-10 23:01:34 +02:00
jean-emmanuel
932f1feedb examples: ardour update 2018-05-10 22:57:08 +02:00
jean-emmanuel
336d4e6292 examples: ardour update 2018-05-10 22:18:36 +02:00
jean-emmanuel
9864b1e2b9 readme: reduce browserstack mention a bit 2018-05-10 22:10:33 +02:00
jean-emmanuel
b7b1a65517 docs: reduce browserstack mention a bit 2018-05-10 22:09:40 +02:00
jean-emmanuel
32acb4a56c docs: liberapay button 2018-05-10 22:08:20 +02:00
jean-emmanuel
2bb5b48bf9 docs: add liberapay link 2018-05-10 22:06:22 +02:00
jean-emmanuel
48cba31570 examples: update ardour 2018-05-10 20:49:23 +02:00
jean-emmanuel
2a9dc2a7db doc: mention f12 in css tips 2018-05-09 22:38:38 +02:00
jean-emmanuel
8e440db1ca docs: add panel background-color trick (#295) 2018-05-09 22:31:05 +02:00
jean-emmanuel
3697a3d79b package: patch v 0.30.4 2018-05-09 19:34:22 +02:00
jean-emmanuel
34b7b2b76c widget: fix preArgs property still being coerced to an array 2018-05-09 19:33:27 +02:00
jean-emmanuel
26d9f06fd2 clone: don't copy .not-editable class 2018-05-09 18:58:46 +02:00
jean-emmanuel
3882626f13 touch: missing event props for touch traversing gestures (#292) 2018-05-09 18:14:36 +02:00
jean-emmanuel
042867ee10 package: 0.30.3 2018-05-09 13:01:21 +02:00
jean-emmanuel
85fdd78e5a touch: fix broken touch detection (#288) 2018-05-09 13:00:27 +02:00
jean-emmanuel
a3281ab069 package: 0.30.2 2018-05-09 09:03:05 +02:00
jean-emmanuel
730e850214 log: osc update fix arm build 2018-05-09 09:02:21 +02:00
jean-emmanuel
9e8ca7be7d Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-05-09 08:40:43 +02:00
jean-emmanuel
518d444f25 modal: reenable properties and remove tabs from the object's props 2018-05-09 01:42:27 +02:00
jean-emmanuel
fbd7e88d5f strip: reenable spacin prop 2018-05-09 01:34:42 +02:00
jean-emmanuel
132c2cd179 Merge pull request #284 from danielappelt/upgrade-osc-js
Upgrade osc.js to v2.2.1
2018-05-08 00:30:58 +02:00
Daniel Appelt
4e8a2c5497 Upgrade osc.js to v2.2.1 2018-05-08 00:18:10 +02:00
jean-emmanuel
cc4a11db09 remote-control: fix /TABS (provide empty event.detail object) (#283) 2018-05-07 12:29:13 +02:00
jean-emmanuel
ccb1d7e35c log: format 2018-05-07 10:32:04 +02:00
jean-emmanuel
36053e06f7 package: 0.30.1 2018-05-07 10:31:43 +02:00
jean-emmanuel
565ab78064 midi: prevent the main process from exiting when MIDI setup fails and use stderr when appropriate (#218) 2018-05-05 18:51:41 +02:00
jean-emmanuel
04b985705e log: typo2 2018-05-05 11:31:02 +02:00
jean-emmanuel
da9de118c5 log: typo 2018-05-05 11:30:18 +02:00
jean-emmanuel
f4911803f6 package: 0.30.0 2018-05-05 11:26:50 +02:00
jean-emmanuel
1a557b822e panel: disable target prop too when there's no tab (#221) 2018-05-05 11:21:49 +02:00
jean-emmanuel
70a66bb5a4 linkId: fix sync when there is only 1 master and 1 slave (#251) 2018-05-05 11:16:23 +02:00
jean-emmanuel
7dbc21a12d widgets: store disabled properties' names and disable them properly in the editor (#221) 2018-05-05 10:49:56 +02:00
jean-emmanuel
bcda3d3a06 widgets: target: make 'null' token disable the global default target (#279) 2018-05-04 21:25:15 +02:00
jean-emmanuel
47340cb5eb linkId: add support for master/slave modes with >> and << prefixes (#251) 2018-05-04 17:36:07 +02:00
jean-emmanuel
3c770a9a3d widget props: don't coerce "target" and "preArgs" to array and accept single string values (#211) 2018-05-04 16:48:49 +02:00
jean-emmanuel
b95b262333 package: fix js minifying 2018-04-30 07:35:29 +02:00
jean-emmanuel
dc7e60ab97 package: 0.29.2 2018-04-30 07:28:35 +02:00
jean-emmanuel
32514db71c widget: css parsing error on iOS (always use a string value for css property) (#282) 2018-04-30 07:20:54 +02:00
jean-emmanuel
2f4a277401 docs: mention .open-stage-control config file (#280) 2018-04-26 09:54:07 +02:00
jean-emmanuel
30e90cdbb0 dev: enable devtools shortcut in launcher for devs (if npm start is used) 2018-04-26 09:47:40 +02:00
jean-emmanuel
f9e0ed4ab5 launcher: handle parsing errors and enhance array parsing (#280) 2018-04-26 09:46:25 +02:00
jean-emmanuel
3e0bec3d01 doc: typo 2018-04-18 01:44:28 +02:00
jean-emmanuel
c92189f01c release v0.29.1 2018-04-18 01:39:41 +02:00
jean-emmanuel
1ad70bed9e editor: "wrap" deleting the widget just before the one being wrapped 2018-04-16 18:58:21 +02:00
jean-emmanuel
2e00096bef package: beta 2 2018-04-13 09:20:23 +02:00
jean-emmanuel
39eebaeb5a drag: fix regression breaking inertia 2018-04-13 09:11:52 +02:00
jean-emmanuel
f98afb4035 drag: fix traversing gestures 2018-04-13 06:31:48 +02:00
jean-emmanuel
5c2393476e package: 0.29.1-beta 2018-04-12 22:44:52 +02:00
jean-emmanuel
245745bca8 docs: nested @{} 2018-04-12 22:44:26 +02:00
jean-emmanuel
0e0a7106e0 props: implement @{} syntax nesting (#191) 2018-04-12 14:53:27 +02:00
bordun
0d01c165d1 server: enable broadcast (#276) 2018-04-11 23:20:06 +02:00
bordun
a1116808ee log: wrong section 2018-04-10 19:09:17 +02:00
bordun
ea9b659960 package: 0.29.0 2018-04-10 19:06:55 +02:00
bordun
37d9e6c8f9 drag: rename some functions 2018-04-10 19:06:05 +02:00
bordun
96589dc7b5 drag: always use a proxy event object to allow writing readonly props (#275) 2018-04-10 19:03:21 +02:00
bordun
0512dbc5dc package: update sass and adapt scss to new spec 2018-04-10 13:29:01 +02:00
bordun
49bc4e9a32 package: update deps 2018-04-09 09:37:03 +02:00
jean-emmanuel
9c1997abde rgb: fix function typo breaking in old iOS 2018-04-07 12:10:01 +02:00
jean-emmanuel
5ba26e19d7 faders/meter: add css variable --gauge-opacity to allow setting a fixed gauge opacity for meters and compact faders 2018-04-07 11:46:23 +02:00
jean-emmanuel
c2e9232a90 custom module: expose messages converted from midi input to custom module (#266) 2018-04-06 23:10:52 +02:00
jean-emmanuel
711688df7f modal: add popupLeft and popupTop properties (#265) 2018-04-06 18:08:07 +02:00
jean-emmanuel
7ac6bdefd4 sessions: drop support for .js sessions files 2018-04-06 17:40:24 +02:00
jean-emmanuel
1bde63ebcc zeroconf: unpublish when shutting down (#273) 2018-04-06 08:18:49 +02:00
jean-emmanuel
1d6e86e613 package: 0.28.3 2018-04-05 23:51:23 +02:00
jean-emmanuel
7c6dbe33c2 package: update deps 2018-04-05 23:51:15 +02:00
jean-emmanuel
8a2d1276c8 docs: format fix 2018-04-05 23:48:03 +02:00
jean-emmanuel
d15073d944 log: typo 2018-04-05 23:45:52 +02:00
jean-emmanuel
b7c9b27b91 knob: design tweaks 2018-04-05 23:45:10 +02:00
jean-emmanuel
2f8b399ef1 upload/browse: modularize and append the <input> to the document to prevent safari/iOS bug (#264, #238) 2018-04-05 22:44:03 +02:00
jean-emmanuel
d0caf811ab Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-04-05 22:42:12 +02:00
jean-emmanuel
7a75dd920d editor: remove unused element 2018-04-05 22:41:30 +02:00
bordun
7f51b1224d css: trigger resize event when css changes geometry or display (#272) 2018-04-03 09:01:26 +02:00
jean-emmanuel
84a80acd4c docs: custom module additions 2018-03-30 00:25:37 +02:00
jean-emmanuel
2def7f1030 package: 0.28.2 2018-03-29 22:52:25 +02:00
jean-emmanuel
1a05e549ea custom module: expose clearInterval & clearTimeout 2018-03-29 22:48:24 +02:00
jean-emmanuel
d77c219c52 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-03-29 22:46:17 +02:00
bordun
e40d7f8e3b session list: fix "remove from history" always removing the first item in the list (#264) 2018-03-28 15:38:08 +02:00
jean-emmanuel
998076a2d4 rtsp: remove from app (-> https://github.com/jean-emmanuel/rtsp2osc) 2018-03-27 17:34:28 +02:00
bordun
63ca242657 docs: custom module setInterval 2018-03-27 09:21:43 +02:00
bordun
e52aa85020 custom module: prevent errors when failing to run the module 2018-03-27 09:01:19 +02:00
bordun
8726e9a624 custom module: expose setInterval (#255) 2018-03-27 08:56:19 +02:00
bordun
f57e74ca4c rtsp: unrevert commits 2018-03-26 23:50:02 +02:00
bordun
57f1f916fa package:0.28.1 2018-03-26 23:48:49 +02:00
bordun
2722cf43b7 tmp: Revert "image: add stream experimental property with server-side ffmpeg backend (#259)"
This reverts commit 774416af96.
2018-03-26 23:45:12 +02:00
bordun
c06c653f8d tmp: Revert "rtsp: move dependency to packaged app (#261)"
This reverts commit 53432fe33f.
2018-03-26 23:44:49 +02:00
bordun
2f451b3917 clone: reallow cloning a clone's child (#127) 2018-03-26 23:43:22 +02:00
bordun
53432fe33f rtsp: move dependency to packaged app (#261) 2018-03-26 18:56:11 +02:00
jean-emmanuel
774416af96 image: add stream experimental property with server-side ffmpeg backend (#259) 2018-03-24 15:28:37 +01:00
jean-emmanuel
1db251a779 package: move launcher js to src 2018-03-23 12:54:58 +01:00
jean-emmanuel
204bf2895e package: 0.28.0 2018-03-23 00:14:44 +01:00
jean-emmanuel
3d8ff56798 launcher: context-menu: add app relaunch item (#182) 2018-03-23 00:10:50 +01:00
jean-emmanuel
581975011a launcher: roboto mono font in console 2018-03-23 00:10:04 +01:00
jean-emmanuel
64ce2d2a8d launcher: right-click context menu (copy, paste, clear console, toggle console autoscoll) (issue #182) 2018-03-22 21:55:56 +01:00
jean-emmanuel
6f57b432f2 docs: remove mention to deleted feature 2018-03-22 13:36:15 +01:00
jean-emmanuel
d63dc0b388 rgb: add range property (#252) 2018-03-22 13:33:41 +01:00
jean-emmanuel
694a9596f5 text: wrap property doesn't break words by default, add workaround to docs (#243) 2018-03-22 12:52:32 +01:00
jean-emmanuel
5f27e7bf38 matrices: support setting split property as a string to allow using children's indexes in their address ($ is replaced with the index number) (#250) 2018-03-22 12:44:34 +01:00
jean-emmanuel
e74ec1ee7f docs: list format fix 2018-03-22 10:06:14 +01:00
jean-emmanuel
49a5549fb9 Merge branch 'master' of github.com:jean-emmanuel/open-stage-control 2018-03-22 10:04:23 +01:00
jean-emmanuel
027ec0fe14 docs: add qlab examples and screenshots 2018-03-22 10:03:56 +01:00
bordun
df4a649787 package:0.27.2 2018-03-21 16:24:33 +01:00
jean-emmanuel
7999102fa8 css: iOS doesn't allow writing "style" property 2018-03-21 14:49:50 +01:00
jean-emmanuel
4132e9aa6b file browse: attach event listener before opening prompt (#238) 2018-03-20 23:16:51 +01:00
jean-emmanuel
68dc2f4728 package: 0.27.1 2018-03-20 09:44:40 +01:00
jean-emmanuel
c4102be9c3 state: fix broken file import 2018-03-20 09:39:19 +01:00
jean-emmanuel
de93a8cb5d session: add session/state file uploading and failing popup (#238) 2018-03-20 09:35:43 +01:00
jean-emmanuel
be5f920c23 session: fix lobby not shown when failing to load a session 2018-03-20 09:15:49 +01:00
jean-emmanuel
e339c1aa49 css: prevent error with non-string css (#253) 2018-03-20 00:10:59 +01:00
jean-emmanuel
1a409a4efe docs: linkId accepts array 2018-03-19 09:20:48 +01:00
jean-emmanuel
6af3b03b64 clone: don't copy resizable/draggable class to prevent editor error (#249) 2018-03-18 22:03:55 +01:00
jean-emmanuel
9b10f245c0 docs: global table of contents 2018-03-18 17:23:30 +01:00
jean-emmanuel
c3b1aa4398 docs: fix link 2018-03-18 17:15:35 +01:00
jean-emmanuel
e635155bdb docs: fix dynamic props permalink 2018-03-18 17:14:15 +01:00
jean-emmanuel
a0c55e7b9a text: make sure wrapped text keep being aligned 2018-03-18 12:32:34 +01:00
jean-emmanuel
13e0087e94 theme: responsive fonts: increase size for big screens (#246) 2018-03-18 12:22:22 +01:00
jean-emmanuel
769b23a859 package: 0.27.0 2018-03-18 12:18:16 +01:00
jean-emmanuel
b4fd5001e0 sidepanel: tweak resize handle 2018-03-18 12:16:40 +01:00
jean-emmanuel
cc1efff5ac package: update deps (fixes #234) 2018-03-18 12:10:42 +01:00
jean-emmanuel
ba0fe54822 props: prevent error when loading a session containing invalid property inheritance calls (#245) 2018-03-18 12:04:44 +01:00
jean-emmanuel
a613415e5c clone: prevent clone from resetting its target value when created (#236) 2018-03-17 12:51:40 +01:00
jean-emmanuel
c75b2a0deb osc: check osc self-linked props before sending and document what it breaks 2018-03-16 19:22:47 +01:00
jean-emmanuel
fc923dc73f image: value type check to prevent error 2018-03-16 18:45:36 +01:00
jean-emmanuel
6428c8bf0f panel:tabs: add a hint on value/osc props to prevent confusion (#221) 2018-03-16 18:25:09 +01:00
jean-emmanuel
f929517025 docs: add some examples links 2018-03-16 17:38:22 +01:00
jean-emmanuel
4871eece30 docs: css: avoid using the "container" term as it can be confusing 2018-03-16 16:27:49 +01:00
jean-emmanuel
917d19ad56 docs: add css-tips section (#239) 2018-03-16 13:08:00 +01:00
jean-emmanuel
fef206c12f events: typo 2018-03-16 00:38:18 +01:00
jean-emmanuel
5b0422aae0 events: use wildcard instead of regexp to increase event dispatching speed 2018-03-16 00:32:38 +01:00
jean-emmanuel
598a511b4c session: regexp typo 2018-03-16 00:04:57 +01:00
jean-emmanuel
989fe3d046 session: load: replace fat state init with a (very slightly) faster one (goal is to make sure value listeners are up to date at init)" 2018-03-16 00:03:57 +01:00
jean-emmanuel
200d8e922c Revert "session: load: replace fat state init with a faster one (goal is to make sure value listeners are up to date at init)"
This reverts commit cec68e76aa.
2018-03-15 23:59:23 +01:00
jean-emmanuel
cec68e76aa session: load: replace fat state init with a faster one (goal is to make sure value listeners are up to date at init) 2018-03-15 14:56:07 +01:00
jean-emmanuel
a16e8c1ac4 session: load: don't disable editor if it's already disabled 2018-03-15 12:58:00 +01:00
jean-emmanuel
943bc94ec3 widget: don't check props when parent widget emits created event 2018-03-15 12:32:12 +01:00
jean-emmanuel
be5556c63e clone: prevent cleanClone if widget is empty 2018-03-15 12:30:51 +01:00
jean-emmanuel
0fb145f83a log: typo 2018-03-14 16:21:37 +01:00
jean-emmanuel
158b262a07 editor: preverve pecentages when dragging/resizing a widget that has its position/size written in percents (#216) 2018-03-14 16:17:55 +01:00
jean-emmanuel
847a766047 ui: make sidepanel resizable (#230) 2018-03-14 15:57:20 +01:00
jean-emmanuel
e711cdb11c editor: override widget's css pointer-events:none; to ensure widgets are always selectable (#231) 2018-03-13 20:34:06 +01:00
jean-emmanuel
79d15ad05f docs: advanced property syntax 2018-03-13 20:24:28 +01:00
jean-emmanuel
d41beb0df5 clone: copy all classes from target widget (fixes #219); apply target's default size if there's one; 2018-03-13 20:16:05 +01:00
jean-emmanuel
a11d4505ed editor: better icon for "edit parent" menu action 2018-03-13 19:46:07 +01:00
jean-emmanuel
37b1d3404a widgets: prop: add OSC{/path, default_value} syntax (#191) 2018-03-12 21:37:08 +01:00
jean-emmanuel
efc4f6c10b doc: add missing mention to "&" selector 2018-03-12 21:25:59 +01:00
jean-emmanuel
303a895df0 modal/popup: prevent touch event from affecting elements behind the popup when closing it (#228) 2018-03-12 10:24:53 +01:00
jean-emmanuel
ce7fa242b9 doc: paste menu update 2018-03-12 10:17:42 +01:00
jean-emmanuel
94cd025ca1 editor:add Clone option to paste menu and rename clone to "paste" (#224) 2018-03-12 10:15:00 +01:00
jean-emmanuel
4cc8144239 editor: wrap in: insert wrapper at selected widget's index & set label to false by default when wrapping in a strip or a panel (#225) 2018-03-12 09:29:07 +01:00
jean-emmanuel
cbbb6b7ab9 text: fix vertical centering (remove vertical padding) 2018-03-11 13:23:42 +01:00
jean-emmanuel
00e0b7870f modal: prevent setValue calls before popup is created 2018-03-11 12:53:49 +01:00
jean-emmanuel
837914de6d strip: prevent nested strips from inheriting --spacing (#222) 2018-03-11 09:08:27 +01:00
jean-emmanuel
08b54d2ef1 parser: delete noSync after converting it to bypass to prevent old session from getting stuck with bypass=true 2018-03-11 00:02:55 +01:00
jean-emmanuel
ef17a2c955 package: 0.26.3 2018-03-10 09:00:38 +01:00
jean-emmanuel
5f21040ee8 editor: mac: shift instead of command for multi select (#202) 2018-03-10 08:52:41 +01:00
jean-emmanuel
00d247efb9 doc: remov epython pyo 2018-03-09 23:13:20 +01:00
jean-emmanuel
e267ca01f2 cli: remove python-pyo requirement mention (#218) 2018-03-09 23:05:57 +01:00
jean-emmanuel
d7c6dc6b72 launcher: hide deprecated cli alias 2018-03-09 12:37:43 +01:00
jean-emmanuel
500280b59d log: latest fixes 2018-03-09 12:37:21 +01:00
jean-emmanuel
a9d93da045 editor: prevent context menu touch-click from triggering a mouse-click on the element underneath 2018-03-09 09:16:38 +01:00
jean-emmanuel
b90cce04e1 sidepanel: prevent touchstart from triggering an extra mousedown (#213) 2018-03-09 09:15:52 +01:00
jean-emmanuel
99c3d2ce0a widget: color: prevent assigning "undefined" as css var (breaks in ios) (#214) 2018-03-09 00:32:37 +01:00
jean-emmanuel
8b3f00ecdb nav: document nav-height css var & remove tablink vertical padding 2018-03-09 00:01:50 +01:00
jean-emmanuel
e2a70f507a strip: spacing: add support for percents (#215) 2018-03-08 07:43:29 +01:00
jean-emmanuel
a89f3a5bdc package: update deps 2018-03-06 22:39:57 +01:00
jean-emmanuel
f58c7b9d0c package: v0.26.2 2018-03-06 22:37:44 +01:00
jean-emmanuel
09aedf526b meter: add gradient property (#201) 2018-03-06 22:33:09 +01:00
jean-emmanuel
e44e4d0f72 editor: better fix selecting widget after edition 2018-03-06 21:59:00 +01:00
jean-emmanuel
85b973cb67 editor: wrap/cut/delete multiple widget not working properly (#206) 2018-03-06 21:40:34 +01:00
jean-emmanuel
4044ecfec2 log: last fix 2018-03-06 21:24:07 +01:00
jean-emmanuel
224e87c9ec ui: fix regression letting user to scroll the main document (#203) 2018-03-06 21:20:10 +01:00
jean-emmanuel
fce54acf1d editor: fix selecting parent widget after deleting a widget 2018-03-06 21:01:27 +01:00
jean-emmanuel
974211b356 keybooard: fix missing last key (#205) 2018-03-06 20:48:56 +01:00
jean-emmanuel
0c44e98f04 text set line-height relative to font size 2018-03-06 19:29:47 +01:00
jean-emmanuel
2729a21098 theme: default: fix glass effect color inheritance 2018-03-06 01:41:45 +01:00
jean-emmanuel
dfa0cb3150 maths: add length function 2018-03-06 01:29:45 +01:00
jean-emmanuel
982f8f2585 docs: more on themes 2018-03-06 00:55:08 +01:00
jean-emmanuel
170755c2c2 package: patch release 0.26.1 2018-03-06 00:44:36 +01:00
jean-emmanuel
7639c692ec ios: fix input fields (#199) 2018-03-06 00:39:48 +01:00
jean-emmanuel
56b3e2a427 editor: mac: command instead of ctrl for multi select 2018-03-06 00:35:53 +01:00
jean-emmanuel
8eeb585079 theme: clean 2018-03-06 00:08:24 +01:00
jean-emmanuel
ac88edb4e0 package: 0.26.0 2018-03-05 23:53:26 +01:00
jean-emmanuel
a74c4567b1 font: update fa file 2018-03-05 23:52:58 +01:00
jean-emmanuel
60d62415f8 themes: alt-buttons: add color hint on active push (#198) 2018-03-05 23:44:06 +01:00
jean-emmanuel
09e16b6775 themes: responsive fonts (#197) 2018-03-05 23:36:00 +01:00
jean-emmanuel
7e6cc8943c editor: add wrap in menu (#193) 2018-03-05 23:31:00 +01:00
jean-emmanuel
ead386f1fb fonts: update font awesome 2018-03-05 23:19:53 +01:00
jean-emmanuel
f7c2d53912 clone: avoid some circular loop cases and fix memory leak (remove eventListener attached to target widget on removal) (#187) 2018-03-05 22:43:51 +01:00
jean-emmanuel
a1f2f6c6fa text: use "default" prop instead of "value" to define default value (#195) 2018-03-05 22:28:41 +01:00
jean-emmanuel
ca60328c78 text: style fix (overflow) 2018-03-05 14:45:30 +01:00
jean-emmanuel
88e1201580 editor: tweaked ctrl+click/right-click selection behaviors 2018-03-05 13:44:02 +01:00
jean-emmanuel
7cab815f75 tabs: prevent mask from cutting text's top/bottom when font-size is increased 2018-03-05 12:20:22 +01:00
jean-emmanuel
29acf1558d editor: allow multi widget drag/resize (#190) 2018-03-05 12:05:59 +01:00
jean-emmanuel
0dd0321249 gui: disable pinch zoom (#189) 2018-03-05 10:49:51 +01:00
jean-emmanuel
7ac3418a5b ui: mac: zoom: command instead of ctrl 2018-03-05 10:46:02 +01:00
jean-emmanuel
96b1c19a24 osc: prevent sync errors there are no args 2018-03-05 10:33:56 +01:00
jean-emmanuel
16d54917eb editor: fix regression (a689bff) breaking resize/draggable handles 2018-03-05 08:32:34 +01:00
jean-emmanuel
a689bffa16 editor: when selecting another widget while editing a property, changes where applied to the newly selected widget (issue #188) 2018-03-04 23:04:36 +01:00
jean-emmanuel
395739cf10 widget: css: fix @media queries parsing 2018-03-04 22:58:39 +01:00
jean-emmanuel
a5e86341ff themes: alt-buttons: modal font fix 2018-03-04 21:09:10 +01:00
jean-emmanuel
536b0c52dc docs: clean theming docs, to be improved 2018-03-04 11:39:46 +01:00
jean-emmanuel
39f4a05ad9 package: 0.25.0 2018-03-04 11:37:27 +01:00
jean-emmanuel
c7a7212118 main: prevent new window spawn when middle click on a link, prevent loading a file on drag&drop 2018-03-04 11:33:49 +01:00
jean-emmanuel
e0122df8d8 ui: pimp textareas (caret color and selection background) 2018-03-04 11:25:59 +01:00
jean-emmanuel
4b6cd0f091 styles: simplify toggle style (set color on container element, let label inherit)
themes: update alt-buttons
2018-03-04 11:19:14 +01:00
jean-emmanuel
42caa043da theme: fix some errors and add alt-button theme extension 2018-03-04 11:11:11 +01:00
jean-emmanuel
d73f39fead main: handle theme from a dedicated module 2018-03-04 10:47:14 +01:00
jean-emmanuel
ca8770615b osc: add quotes in address error 2018-03-03 20:26:31 +01:00
jean-emmanuel
23766761db osc: prevent breaking osc when address is malformed (#179, #178) 2018-03-03 20:23:20 +01:00
jean-emmanuel
59ab6620cd themes: don't use proprietary names 2018-03-03 18:37:53 +01:00
jean-emmanuel
c8f4e958b7 themes: something dark 2018-03-03 18:19:09 +01:00
jean-emmanuel
42ecaae4f0 package: missing folder 2018-03-03 18:05:09 +01:00
jean-emmanuel
eb27792a61 package: update npm script 2018-03-03 17:55:22 +01:00
jean-emmanuel
46c196992e themes: add bitwig theme and manage themes src as scss 2018-03-03 17:39:53 +01:00
jean-emmanuel
086aa09572 main: fix themed gui bg color 2018-03-03 15:19:44 +01:00
jean-emmanuel
021e06fd49 sliders/xy: add support for doubleTap address (#174) 2018-03-03 14:38:48 +01:00
jean-emmanuel
bf272c1fab Merge pull request #177 from kdejaeger/typo-apply-apply
typo 'apply apply'
2018-03-03 13:49:55 +01:00
Koen De Jaeger
58c03b4e37 typo 'apply apply' 2018-03-03 13:42:17 +01:00
jean-emmanuel
b7928f2d52 docs: bypass is dynamic 2018-03-03 12:21:09 +01:00
jean-emmanuel
93c02a449b log: typos 2018-03-03 12:20:20 +01:00
jean-emmanuel
1783170385 editor: fix children list long id layout 2018-03-03 12:15:09 +01:00
jean-emmanuel
21fb8bf286 docs: value prop 2018-03-03 12:06:32 +01:00
jean-emmanuel
1cf496b01c docs: bypass prop 2018-03-03 11:56:26 +01:00
jean-emmanuel
988f3d8cea log: last change 2018-03-03 11:28:48 +01:00
jean-emmanuel
85d8c03ca0 osc: add bypass option for all (replaces panel's noSync), enhance state sync logic
props: always resolve @value change after other dynamic props (osc related for example)
2018-03-03 11:20:57 +01:00
jean-emmanuel
c812140987 docs: some more clean 2018-03-03 10:59:06 +01:00
jean-emmanuel
fbcd0ecf45 maths: fix formulas outputing unwrapped null value 2018-03-03 10:57:09 +01:00
jean-emmanuel
5954789b69 doc:+build infos 2018-03-03 10:44:46 +01:00
jean-emmanuel
2705f1eefb docs: clean bash lines 2018-03-03 10:40:57 +01:00
jean-emmanuel
672ebafc63 docs: enhance build doc 2018-03-03 10:38:35 +01:00
jean-emmanuel
3c3e2d1009 text: fix vertical mode multi line direction 2018-03-03 10:22:16 +01:00
jean-emmanuel
97d495647b input/text: add align & wrap props (feature request #176) 2018-03-03 10:18:11 +01:00
jean-emmanuel
3dd4dae84c formula: catch maths errors in constructor 2018-03-02 18:51:57 +01:00
jean-emmanuel
5741499841 editor: multiselect regression 2018-03-02 16:28:57 +01:00
jean-emmanuel
b0223d9678 knob: tweak pips and big knob 2018-03-02 16:26:03 +01:00
jean-emmanuel
467fdb7c95 editor: fix children reordering (regression introducted when removed most of jquery calls) (issue #175) 2018-03-02 16:19:41 +01:00
jean-emmanuel
6e47bbf2f2 prop inheritance: fix broken self call to @value 2018-03-02 15:22:41 +01:00
jean-emmanuel
b4f063f1c4 modal: update editing outline style 2018-03-02 07:00:47 +01:00
jean-emmanuel
8bfdcd77ba launcher: fix bg color & disable menu bar before loading url 2018-03-01 21:13:11 +01:00
jean-emmanuel
57e9d00fb0 launcher: make sure to scroll to bottom when the terminal appears 2018-03-01 20:53:00 +01:00
jean-emmanuel
f4bf9d8a9f launcher: fix height to prevent scrollbar at init 2018-03-01 20:51:04 +01:00
jean-emmanuel
ac696b1bc3 docs: double word 2018-03-01 19:06:10 +01:00
jean-emmanuel
a185103701 widgets: add default property for setting initial/doubleTap/spring value (issue #174) 2018-03-01 19:02:22 +01:00
jean-emmanuel
9eac3e991a prop inheritance: make @{id.value}, @{id} and @{id._value} refer to the same thing (current value) 2018-03-01 17:40:01 +01:00
jean-emmanuel
2a09b7c97e log: terminal size/scroll fix 2018-03-01 15:44:03 +01:00
jean-emmanuel
7b944954ad launcher: remove debug setting 2018-03-01 15:41:51 +01:00
jean-emmanuel
7352a99397 launcher: auto size, fixed header, growing terminal + autoscroll if scrolled to bottom (pr #172) 2018-03-01 15:39:22 +01:00
jean-emmanuel
e71b487bc2 log/doc: typo 2018-03-01 14:25:57 +01:00
jean-emmanuel
d78344d269 doc: funny typo (@kdejaeger) 2018-03-01 14:20:08 +01:00
jean-emmanuel
5772c7c44c log/doc: multi selection 2018-03-01 14:15:57 +01:00
jean-emmanuel
a5b00583ea editor: pass increment flag to paste function (issue #156) 2018-03-01 13:32:48 +01:00
jean-emmanuel
4e4415b2ec launcher: accept space chars in array items enclosed by quotes (issue #173) 2018-03-01 13:23:54 +01:00
jean-emmanuel
58dbd7305f editor: make context-menu work with multi selection (issue #156) 2018-03-01 09:38:48 +01:00
jean-emmanuel
460ded5d82 editor: don't change selection when click on a selected wigdet without holding ctrl 2018-02-28 16:45:32 +01:00
jean-emmanuel
fd0483d45c editor: start implement multi-selection (issue #156) 2018-02-28 15:12:03 +01:00
jean-emmanuel
b3adf0d3e2 docs: add flattr link, change email 2018-02-28 14:14:40 +01:00
jean-emmanuel
d7375ab060 main: add --fullscreen option (issue #164) 2018-02-28 11:22:31 +01:00
jean-emmanuel
1dc144cb44 logs: windows log 2018-02-28 11:01:46 +01:00
jean-emmanuel
43cc2f7b2a knob: make design more responsive 2018-02-28 10:23:00 +01:00
jean-emmanuel
69b55ef269 package: 0.24.3 2018-02-27 15:23:39 +01:00
jean-emmanuel
8af1767744 log: typos 2018-02-27 12:59:06 +01:00
jean-emmanuel
815a7dff77 log: editor: prevent interraction on select 2018-02-27 12:51:22 +01:00
jean-emmanuel
39200ba2ec docs: format fix 2018-02-27 12:10:51 +01:00
jean-emmanuel
9a1e62901a docs: options table formatting 2018-02-27 12:09:05 +01:00
jean-emmanuel
e17755d6b0 docs: formatting 2018-02-27 11:52:52 +01:00
jean-emmanuel
00512e08d1 docs: clarify + 2018-02-27 11:51:33 +01:00
jean-emmanuel
a57bc612b1 docs: clarify supported clients 2018-02-27 11:48:53 +01:00
jean-emmanuel
df0396d6c3 knob: fix dash scaling and tweak tiny knobs design 2018-02-27 10:05:28 +01:00
jean-emmanuel
1019139b44 main: attempt to fix windows gui console (issue #171) 2018-02-27 09:11:31 +01:00
jean-emmanuel
74a8ea9266 package: update deps & remove non-free ffmpeg from package 2018-02-26 18:24:40 +01:00
jean-emmanuel
fc88b086c3 editor: ask for confirmation when closing or refreshing a the page if the editor has been enabled at least once (issue #165) 2018-02-25 10:02:10 +01:00
jean-emmanuel
d9ed3d4853 ui: make closable popups singleton to avoid blocking the ui when there are many (ie errors) 2018-02-25 09:30:45 +01:00
jean-emmanuel
eaf6ac84b5 fullscreen: add fallback popup info for ios (suggests "add to home") 2018-02-25 09:30:00 +01:00
jean-emmanuel
4fa5cccd31 ios: set status bar color to black (translucent is deprecated) 2018-02-24 23:15:42 +01:00
jean-emmanuel
513679b826 ios: app icon 2018-02-24 23:06:40 +01:00
jean-emmanuel
624b950822 ios: transparent status bar in app mode 2018-02-24 21:12:04 +01:00
jean-emmanuel
1911f06e78 sidepanel: prevent double click glitch 2018-02-24 18:07:05 +01:00
jean-emmanuel
af1cb866be mobile: allow user to add the page to home screen and launch the client in fullscreen mode 2018-02-24 15:43:21 +01:00
jean-emmanuel
fd243c7689 prop maths: prevent replacing variable names declared in formula's scope 2018-02-24 08:55:20 +01:00
jean-emmanuel
d2f57ed3ef editor: paste n+1: don't remove linkId (issue #155) and remove useless label check routine 2018-02-22 17:56:40 +01:00
jean-emmanuel
d7c6272637 editor: change capture flag name and remove tab hack (handling editor's select in capture phase makes it useless) 2018-02-22 17:53:10 +01:00
jean-emmanuel
24dd92a8e4 click: remove debug log 2018-02-19 09:29:10 +01:00
jean-emmanuel
ff90ffe503 touch: prevent touchstart + mousedown from jquery touch punch; editor: ignore pointerdown interraction when selecting a widget (issue #157) 2018-02-18 15:48:13 +01:00
jean-emmanuel
37b095844e main: init app menu on ready event to fix macOs menus & shortcuts -> 0.24.2 2018-02-18 01:35:35 +01:00
jean-emmanuel
d4c7b868fe package: 0.24.1 2018-02-17 18:44:31 +01:00
jean-emmanuel
cdea1aaf31 log: some fixes 2018-02-17 18:44:07 +01:00
jean-emmanuel
02d8ca656c ipc:client: check if socket check connection status 2018-02-17 17:50:57 +01:00
jean-emmanuel
d11f88b992 main: better error handling (prevent some error boxes) 2018-02-17 17:48:40 +01:00
jean-emmanuel
03ea75857c ipc: prevent some more errors 2018-02-17 13:47:04 +01:00
jean-emmanuel
01e12ac4ab log: mac menus 2018-02-17 00:56:18 +01:00
jean-emmanuel
40ab5a0c08 macOs: add some app menu to suck a bit less 2018-02-17 00:53:55 +01:00
jean-emmanuel
bafa0a86fe log: missing svg 2018-02-17 00:01:32 +01:00
jean-emmanuel
d6ab8978c0 docs: remove useless data in logo files 2018-02-16 23:38:00 +01:00
jean-emmanuel
c508df9676 misc: blank char 2018-02-16 23:29:35 +01:00
jean-emmanuel
58e857da85 maths: add pad function 2018-02-16 23:19:19 +01:00
jean-emmanuel
0ef075d3de docs: more on maths 2018-02-16 17:24:08 +01:00
jean-emmanuel
74207e89be props:css: another regexp fix for unscoped css 2018-02-16 16:35:07 +01:00
jean-emmanuel
b903d2db49 docs: prop maths escaped brackets 2018-02-16 13:49:39 +01:00
jean-emmanuel
7b0730ffe8 props:css: fix unscoped css 2018-02-16 11:14:22 +01:00
jean-emmanuel
b8074e558c prop maths: strip out empty resultsets (when just assigning vars) 2018-02-16 11:13:54 +01:00
jean-emmanuel
66b0e35e13 keys: typo 2 2018-02-16 02:24:41 +01:00
jean-emmanuel
b9c169bdd8 keys: dev typo 2018-02-16 02:19:30 +01:00
jean-emmanuel
a5b00f03bf editor: remote control: revert fast dynamic prop edit, always recreate the widget to let it handle inheritances properly 2018-02-16 02:15:34 +01:00
jean-emmanuel
da7084deba editor: rewrite without jquery except for resizable/draggable/sortable, hardly replacable 2018-02-16 02:01:16 +01:00
jean-emmanuel
19feb93bf6 props: fix dynamic geometry (trigger resize events) 2018-02-16 00:36:47 +01:00
jean-emmanuel
7f25712900 editor: context menu without jquery 2018-02-15 13:03:30 +01:00
jean-emmanuel
c4135affd1 multifader: fix dynamic color prop 2018-02-15 10:11:12 +01:00
jean-emmanuel
d15e3c697c edit: fix reselecting widget after edition 2018-02-15 10:03:40 +01:00
jean-emmanuel
7387863097 tab: dynamic label 2018-02-15 09:50:34 +01:00
jean-emmanuel
58fbf274b8 matrices: fix wrong children preArgs 2018-02-15 09:46:08 +01:00
jean-emmanuel
8c479f3921 props: fix cache update > callback order logic 2018-02-15 09:42:17 +01:00
jean-emmanuel
42bc283bb2 editor: edit dynamic props faster 2018-02-15 09:32:11 +01:00
jean-emmanuel
7db0ae87b3 props: don't update cached props if not dynamic (the old value can be used in old-fashion remove callback) 2018-02-15 09:30:55 +01:00
jean-emmanuel
7dd7fcceca ipc: safe flush 2018-02-15 09:24:11 +01:00
jean-emmanuel
1a626c1f7e remote-edit: let widgets handle prop changing 2018-02-15 09:12:44 +01:00
jean-emmanuel
7f9b0a6427 strip: don't remove sendValue method as it can be used for remote control 2018-02-15 08:41:59 +01:00
jean-emmanuel
4e6c6bb8cd props: make css prop change call color prop change trigger properly 2018-02-14 21:47:03 +01:00
jean-emmanuel
ec90803517 docs: warn about using id instead of this/parent in prop inheritance 2018-02-14 21:31:57 +01:00
jean-emmanuel
54ce4fe7dc docs: mark new dynamic props 2018-02-14 21:23:59 +01:00
jean-emmanuel
ea8b69b944 tab/modal: force resize handlers to avoid blank canvas cached styles 2018-02-14 21:19:27 +01:00
jean-emmanuel
97ccf3dc38 widget: fix asyn module require regression 2018-02-14 20:50:05 +01:00
jean-emmanuel
2999aa7d25 canvas: style caching regression (always do it on resize) 2018-02-14 20:37:33 +01:00
jean-emmanuel
3898e0926e props: css & color fixes 2018-02-14 20:13:43 +01:00
jean-emmanuel
a5fbe2efe8 revert 1b8938ed76, it has nasty side effects, @{this} should be used anyway 2018-02-14 19:47:21 +01:00
jean-emmanuel
192a65acb5 widget: move container creation to base class to make related props dynamic 2018-02-14 19:43:26 +01:00
jean-emmanuel
1b8938ed76 prop inheritance: when id == this.id, interpret as this, do not look for another widget 2018-02-14 19:42:13 +01:00
jean-emmanuel
2a95bbf88d prop maths: espace multiline strings 2018-02-14 10:02:04 +01:00
jean-emmanuel
ff95da7ba6 package: bump version 2018-02-13 22:47:28 +01:00
jean-emmanuel
6b51dcf113 editor: mark dynamic props 2018-02-13 17:21:40 +01:00
jean-emmanuel
f216db4530 dropdown: keep selected value when updating values list (issue #140) 2018-02-13 15:16:57 +01:00
jean-emmanuel
23699cb3f0 examples: write valid json in plots 2018-02-13 13:26:25 +01:00
jean-emmanuel
686023ad01 plots: safe object check and add json parse to eq 2018-02-13 13:16:53 +01:00
jean-emmanuel
b0c020405a plot: prevent json parse attempt to throw 2018-02-13 13:14:37 +01:00
jean-emmanuel
2ac9563eed examples: adapt to new specs 2018-02-13 13:01:19 +01:00
jean-emmanuel
52ca9ad7e6 plots: backward compat fix 2018-02-13 12:51:47 +01:00
jean-emmanuel
501bec6135 mathjs: update to v4rc 2018-02-13 12:36:31 +01:00
jean-emmanuel
6e9e2f1c48 log: strong breaking change alert 2018-02-13 12:24:02 +01:00
jean-emmanuel
9badda730f svg: change path percents support to use unambiguous notation: %x and %y 2018-02-13 10:59:54 +01:00
jean-emmanuel
aacf3ea22b svg: secure input 2018-02-13 10:43:27 +01:00
jean-emmanuel
4128548379 svg: remove noborder option and add minimal doc 2018-02-13 10:31:25 +01:00
jean-emmanuel
13e0be5279 log/doc: deprecate formula, explain breaking changes 2018-02-13 10:22:27 +01:00
jean-emmanuel
3296647790 svg: add svg widget file 2018-02-13 10:04:04 +01:00
jean-emmanuel
4450c7ef72 plots: add svg widget draft 2018-02-13 10:02:41 +01:00
jean-emmanuel
3981f93d75 widgets: add linkId option where missing, ⚠️ remove plot/input widgetId option 2018-02-13 09:51:45 +01:00
jean-emmanuel
bb35dbee98 plot: add dots option 2018-02-12 17:31:32 +01:00
jean-emmanuel
74bf5bc85d linkId: can be an array 2018-02-12 17:29:14 +01:00
jean-emmanuel
4cecfd879f knob: typo 2018-02-12 17:16:40 +01:00
jean-emmanuel
bbcb620a51 knob: safe gradient color 2018-02-12 17:03:49 +01:00
jean-emmanuel
61f29e5d62 log: recent changes 2018-02-12 15:48:52 +01:00
jean-emmanuel
946e144ddf prop maths: allow escaping brackets in math expressions 2018-02-12 15:40:51 +01:00
jean-emmanuel
36cc729f5f css: support for @keyframes 'to' and 'from' 2018-02-12 15:40:16 +01:00
jean-emmanuel
762f5ab61d parser: parse css @media queries and @keyframes properly (issue #150) 2018-02-12 13:42:14 +01:00
jean-emmanuel
d78759342d ipc: server: don't try to send to closed sockets 2018-02-12 09:55:12 +01:00
jean-emmanuel
08351ca290 prop inheritance: fix typo breaking multiple @{} references in a single prop definition 2018-02-12 09:44:02 +01:00
jean-emmanuel
36301515c9 plot: prevent crash when there is only one point in array (issue #148) 2018-02-12 00:01:47 +01:00
jean-emmanuel
fee7385dec props maths: cache compiled expressions and feed them with changing vars to improve resolve speed 2018-02-11 15:20:08 +01:00
jean-emmanuel
44cdd913c1 editor: remove bad bad eval 2018-02-10 18:07:09 +01:00
jean-emmanuel
cc3dc5712b errors: make widget hold prop errors and show them in the editor instead of throwing 2018-02-09 20:15:23 +01:00
jean-emmanuel
1d36b3b7ff formula: don't throw errors when parsing fail (issue #145) 2018-02-09 19:22:29 +01:00
jean-emmanuel
a24f8c53a7 ipc: clean and use same method to check connection state on both sides 2018-02-09 11:00:43 +01:00
jean-emmanuel
470804e695 editor: modernize selected widget's border 2018-02-09 10:01:12 +01:00
jean-emmanuel
b417970fd4 readme: remove old feature list 2018-02-09 01:05:48 +01:00
jean-emmanuel
268e2946eb dev: adapt css reload to new ipc 2018-02-09 01:03:04 +01:00
jean-emmanuel
7e8bfc5dbd remote control: adapt /EDIT* to new ipc 2018-02-09 00:14:47 +01:00
jean-emmanuel
7b2c543d59 gui: disable node in default client 2018-02-09 00:05:50 +01:00
jean-emmanuel
3bee2b0171 ipc: typo... 2018-02-08 23:48:32 +01:00
jean-emmanuel
fc0596cac4 package: update deps 2018-02-08 23:43:41 +01:00
jean-emmanuel
4f3e04909b ipc: clean 2018-02-08 23:35:27 +01:00
jean-emmanuel
497e69554f ipc: remove debug logs 2018-02-08 23:23:36 +01:00
jean-emmanuel
a582bb2040 ipc: remove socket.io, rewrite ultra slim ipc 2018-02-08 23:22:33 +01:00
jean-emmanuel
ef51702c05 switcher: missing color prop update callback 2018-02-07 17:18:46 +01:00
jean-emmanuel
3e8ae6269e log: typo 2018-02-07 17:16:00 +01:00
jean-emmanuel
2a4d515564 props: fix dynamic preArgs and address 2018-02-07 16:48:55 +01:00
jean-emmanuel
dbf6b7f0ba matrices: fix preArgs, address and color to dynamic (use prop math magic) 2018-02-07 16:09:03 +01:00
jean-emmanuel
cb6b91a4e7 dynamic props: handle undeclared children case for color prop update 2018-02-07 15:52:19 +01:00
jean-emmanuel
ac300a1978 props: dynamic color fixes 2018-02-07 14:42:28 +01:00
jean-emmanuel
bccc9049a6 log: format space 2018-02-07 13:26:11 +01:00
jean-emmanuel
c05bcef1c7 log: last fixes 2018-02-07 13:23:05 +01:00
jean-emmanuel
6684e7360f range: fix spring not taking range min/max into account 2018-02-07 13:21:52 +01:00
jean-emmanuel
080041739d xy: fix doubleTap not setting value correctly (issue #143) 2018-02-07 13:21:46 +01:00
jean-emmanuel
62d7ddbad3 slider: code style fix 2018-02-07 13:17:29 +01:00
jean-emmanuel
1244fa3be7 log: watch theme 2018-02-07 10:30:47 +01:00
jean-emmanuel
65d28eae27 main: watch --theme paths and reload automatically 2018-02-07 10:28:22 +01:00
jean-emmanuel
6c34c71975 dropdown: make values dynamic, drop unreleased support for sendKey and receiving key (issue #140) 2018-02-07 09:50:21 +01:00
jean-emmanuel
52f33892a1 widget props: css: remove new lines to allow multiline anywhere in css 2018-02-06 22:26:58 +01:00
jean-emmanuel
7a38def07b math props: handle resultsets 2018-02-06 22:26:33 +01:00
jean-emmanuel
e597d755ae docs: reduce dynamic prop marker opacity 2018-02-06 15:48:35 +01:00
jean-emmanuel
90f0d071a1 docs: add title to dynamic marker 2018-02-06 15:18:28 +01:00
jean-emmanuel
6cfad849d1 docs: add some dynamic props markers 2018-02-06 15:16:23 +01:00
jean-emmanuel
9b6c97d122 props: make panels/tab's color dynamic (trigger upper nav update and inner canvas style cache) 2018-02-06 15:09:50 +01:00
jean-emmanuel
8e98b94fbd docs: typos 2018-02-06 14:50:11 +01:00
jean-emmanuel
b3f49697af props: just return undefined in case of circular loop 2018-02-06 14:40:04 +01:00
jean-emmanuel
2f8bfe3702 props inheritance: tracable error when circular reference 2018-02-06 14:30:54 +01:00
jean-emmanuel
8eeec8f01e js: fix dynamic props static override 2018-02-06 14:27:22 +01:00
jean-emmanuel
8fbe7aec05 js: rename ugly base class names/files 2018-02-06 14:14:43 +01:00
jean-emmanuel
dc19ac88ac props: store dynamic props as static variables 2018-02-06 14:08:23 +01:00
jean-emmanuel
4915c9a255 push: fix osc sendValue compat with /GET 2018-02-06 14:07:02 +01:00
jean-emmanuel
8b2bf7cb25 prop inheritance: let widget register to their parent's prop updates since these can be dynamic 2018-02-06 13:39:38 +01:00
jean-emmanuel
535125a77e package: rephrase slogan 2018-02-06 13:11:04 +01:00
jean-emmanuel
f2defe0413 dropdown: long text overflow fix 2018-02-06 12:14:08 +01:00
jean-emmanuel
2d974e98d1 property inheritance: fix ambigous event name triggers, avoid lock in case of circular widget recreation loop 2018-02-06 12:06:56 +01:00
jean-emmanuel
c1f1a8935a props inheritance: default @{widgetId} to @{widgetId._value} 2018-02-05 15:45:13 +01:00
jean-emmanuel
42d19401fe math props: always stringify to keep object intact and add unpack() function for formatting arrays 2018-02-05 15:09:39 +01:00
jean-emmanuel
4279ed6b4b editor: draggable helper zindex fix 2018-02-05 12:23:19 +01:00
jean-emmanuel
281fd75a35 docs: start documenting dynamic props 2018-02-05 12:18:56 +01:00
jean-emmanuel
f7aaeebdb0 state: always trigger "changed" when restoring state to avoid some edge cases fails 2018-02-05 12:17:57 +01:00
jean-emmanuel
208d078a2f props inheritance: allow this/parent references for dynamic props 2018-02-05 11:22:31 +01:00
jean-emmanuel
8afe791d41 widgets: implement some dynamic props 2018-02-05 09:45:25 +01:00
jean-emmanuel
f50ef3521a widgets: osc: allow changing server-side cached osc props without sending all of them 2018-02-04 23:41:42 +01:00
jean-emmanuel
7249545d36 widget base: props: add a list of dynamic props that don't need any action when changed to take effect 2018-02-04 23:25:42 +01:00
jean-emmanuel
4b7049c6fa widgets: props: add experimental #{} syntax for anywhere mathjs expression 2018-02-04 23:19:53 +01:00
jean-emmanuel
eaa621b735 property inheritance: always check 'value' prop first if it's potentially chanched (to apply it asap) 2018-02-04 17:25:58 +01:00
jean-emmanuel
d943bfe673 property inheritance: handle prop changing in a way that can be overrided (e.g. in case reCreateWidget is not needed) 2018-02-04 16:16:29 +01:00
jean-emmanuel
59666ef065 log: recent changes 2018-02-03 22:12:05 +01:00
jean-emmanuel
0bbf7a861a formula: do the maths even if there's no widget value to retrieve, fallback widgets' values to 0 2018-02-03 22:10:04 +01:00
jean-emmanuel
4e412277e1 session: prevent loading the same multiple times in a row (lock load function) 2018-02-03 16:35:27 +01:00
jean-emmanuel
48708113ce crossfader: tweak layout for ios compatibility (issue #121) 2018-02-03 10:48:38 +01:00
jean-emmanuel
e6841ec43f ipc: restore long polling to websocket upgrade, seems necessary sometimes; disable compression 2018-02-03 10:22:20 +01:00
jean-emmanuel
50d960f2da editor: increase edited widget's z-index 2018-02-03 09:50:58 +01:00
jean-emmanuel
31427b3e89 dev: fix css reload socket transport 2018-02-03 09:50:33 +01:00
jean-emmanuel
a5931b6464 input; add glass effect when editable is false 2018-02-02 21:44:43 +01:00
jean-emmanuel
7313090987 dropdown: add sendKey option 2018-02-02 21:27:36 +01:00
jean-emmanuel
bce29e7aef switch: wrap non array values prop in array 2018-02-02 21:27:17 +01:00
jean-emmanuel
4c511782be dropdown: test received values against values' keys/indexes / wrap non-array/object value for values prop in an array 2018-02-02 21:09:20 +01:00
jean-emmanuel
227e6431f3 dropdown: remove jquery remain that prevents showing no value selected 2018-02-02 21:08:33 +01:00
jean-emmanuel
cf5fea6012 package: fix removing bad modules by preventing electron-packager to reinstall them (-> no-prune) 2018-02-02 02:07:16 +01:00
jean-emmanuel
3f1a211d3f travis: remove bad modules manually, somehow electron-packager doesn't exclude them in travis' env 2018-02-01 23:21:31 +01:00
jean-emmanuel
07e9c057a7 package: fix build and bump 0.23.1 2018-02-01 22:46:43 +01:00
jean-emmanuel
32dd0aa410 log: last things 2018-02-01 21:31:34 +01:00
jean-emmanuel
c99dc2e2a5 package: fix ignore list, reduce package size and fix windows long path issue 2018-02-01 21:29:32 +01:00
jean-emmanuel
094fccdf39 server: use websocket directly, no long polling 2018-02-01 21:29:11 +01:00
jean-emmanuel
f6935548cf touchstate: send touchend message if widget is remove/recreated while interacted with 2018-02-01 15:12:42 +01:00
jean-emmanuel
ab75124905 docs: typo in credits 2018-02-01 11:21:05 +01:00
bordun
9e443847e0 update gitignore 2018-02-01 10:34:21 +01:00
bordun
3071aec706 modal: fix typo breaking position in scrolled tabs 2018-02-01 10:14:38 +01:00
bordun
529800127a package: rename npm build command to package, add logo to electron-window 2018-01-31 21:30:56 +01:00
bordun
22b6f71c00 docs: missing input widget category 2018-01-31 19:50:25 +01:00
bordun
148e93ef7d html: fix favicon and set title 2018-01-31 19:00:27 +01:00
bordun
6034921a48 package: don't package uws 2018-01-31 18:48:41 +01:00
bordun
c90b478c58 html: better favicon 2018-01-31 18:41:23 +01:00
bordun
3f3b03a0fb package: 0.23 2018-01-31 18:14:26 +01:00
bordun
73565a9dca html: explicitly link favicon 2018-01-31 18:13:42 +01:00
bordun
a75744383c travis: build with node 9 2018-01-31 18:06:46 +01:00
bordun
b0a2ed2f2f package: add some already required dependency that can't be found when using npm2 node4 2018-01-31 18:05:14 +01:00
bordun
d039af8d8b package: update deps 2018-01-31 18:00:22 +01:00
bordun
34a878e065 log: range shift mod 2018-01-31 17:56:53 +01:00
bordun
099e6c4214 range: allow moving the range (both handles) with shift key pressed (issue #114) 2018-01-31 17:51:32 +01:00
bordun
eff0efc289 docs: add fancy buttons, move credits to dedicated page 2018-01-31 17:29:11 +01:00
bordun
e0fe584f70 docs: missing symlink 2018-01-31 14:20:16 +01:00
bordun
d2a595a314 clone: don't unregister clone's children value/prop watchers, just disable their reCreateWidget method 2018-01-31 12:13:44 +01:00
bordun
bc3a6d2e20 input: vertical fix 2 (better compromise) 2018-01-31 12:10:18 +01:00
bordun
7d804c6e0a docs: logo update 2018-01-31 12:03:09 +01:00
bordun
e692da8133 docs: update logo and put examples in main section 2018-01-31 11:51:03 +01:00
bordun
19fff73ceb inputs: fix standalone vertical input focused layout 2018-01-31 11:34:14 +01:00
bordun
5521da6ec9 style: tweak default theme colors 2018-01-30 20:48:47 +01:00
jean-emmanuel
ebc9c636d8 editor: fix click handler on sortable widget list items 2018-01-30 12:59:52 +01:00
jean-emmanuel
6edc630b99 misc: rm space 2018-01-30 12:41:39 +01:00
jean-emmanuel
3fc792826f panels: add noSync option 2018-01-30 12:41:32 +01:00
jean-emmanuel
885c15a2a3 main: rename syncTargetsto targets to avoid confusion 2018-01-30 12:38:27 +01:00
jean-emmanuel
54063759c1 osc: rename nosync opt to noSync 2018-01-30 12:38:05 +01:00
jean-emmanuel
0f4c6365b1 docs: fix wrong space chars breaking headers formatting 2018-01-30 10:45:40 +01:00
jean-emmanuel
39c25634d5 docs: add examples, update deps list 2018-01-30 10:44:20 +01:00
jean-emmanuel
4ac6067493 encoder: jquery remains 2018-01-30 10:16:52 +01:00
jean-emmanuel
f65625d0f4 docs: new logo, replace browserstack svg with compressed png 2018-01-30 10:13:32 +01:00
jean-emmanuel
f51c31b2f7 docs: format error 2018-01-29 13:20:38 +01:00
jean-emmanuel
72b6ebb13a plot: add support for stringified objects {} to allow change specific points' coordinates (issue #130) 2018-01-29 13:16:50 +01:00
jean-emmanuel
1fd874d144 plots: add bars options (issue #130) 2018-01-29 11:22:55 +01:00
jean-emmanuel
275bdc10a6 hdpi: fix rendering issue with horizontal sliders and vertical inputs 2018-01-28 18:26:54 +01:00
jean-emmanuel
c3f361f110 plot: receive stringified arrays (issue #130) 2018-01-28 14:11:21 +01:00
jean-emmanuel
c119c6074e dropdown: add subtle focus hint 2018-01-27 16:56:46 +01:00
jean-emmanuel
e14cde56f9 lobby: no mouse focus on browse/new links 2018-01-27 16:53:20 +01:00
jean-emmanuel
b1c2cab357 keys: use patched dependency until it gets merged eventually to fix problem mentionned in issue #57 2018-01-27 16:48:51 +01:00
jean-emmanuel
da29228d9d widgets: add setValue empty method in base class 2018-01-27 11:11:00 +01:00
jean-emmanuel
122367fba2 state: array value prop changes fix fix 2018-01-27 11:06:49 +01:00
jean-emmanuel
23495616f4 state: handle array-value case when checking for "value" prop update 2018-01-27 10:46:50 +01:00
jean-emmanuel
b87dd8a242 strip: don't delete setvalue and getvalue 2018-01-27 10:46:14 +01:00
jean-emmanuel
89accaaee9 log: more info on --disable-gpu 2018-01-26 13:03:23 +01:00
jean-emmanuel
e5df1fc25d log: --disable-gpu 2018-01-26 11:11:21 +01:00
jean-emmanuel
3e9a56e3e8 osc: add support for osc typetag in widget's precision property (issue #137) 2018-01-26 11:05:39 +01:00
jean-emmanuel
99c8dcb856 editor: resolve conflict between state preservation and potential "value" prop update by queuing the latters and check for changes when edition is performed (->flush) 2018-01-26 00:57:31 +01:00
jean-emmanuel
097a6de666 switch: receive array properly (issue #136) 2018-01-25 23:38:44 +01:00
jean-emmanuel
ea55e99662 switchers: remove default value for "value" option, fix crossfader not including its fader value in its initial state 2018-01-25 21:46:29 +01:00
jean-emmanuel
1a25293c78 ipc: use websocket only, no xhr to ws upgrade 2018-01-25 14:11:59 +01:00
jean-emmanuel
bcdc8fa6ec zeroconf: display more gentle errors 2018-01-25 14:06:29 +01:00
jean-emmanuel
87dff7ad72 ui: fix "remove" icons 2018-01-25 12:59:26 +01:00
jean-emmanuel
537c61d757 labels/texts: allow arbitrary white spaces 2018-01-25 12:51:50 +01:00
jean-emmanuel
780c5c00eb rgb: remove touchAddress option, it would require a specific implementation to work 2018-01-25 12:31:14 +01:00
jean-emmanuel
1d90168c3b range/xy/multixy: fix touchstate in snap/traversing mode (send /touched before any value) 2018-01-25 12:28:03 +01:00
jean-emmanuel
c187a30d88 events/drag: make init and end events bubble, send drag events after init in traversing mode 2018-01-25 12:13:35 +01:00
jean-emmanuel
836a0d049c events: rename normalizeEvent (drag specific) 2018-01-25 11:14:17 +01:00
jean-emmanuel
bc77df2670 tabs: don't hide the tabs that going to be shown (avoid resetting scrollstate) 2018-01-25 11:12:40 +01:00
jean-emmanuel
0da7a78b86 rgb: remove useless draw 2018-01-25 09:33:32 +01:00
jean-emmanuel
70e114d2a0 widgets: fix several widgets not passing parent reference to their children 2018-01-25 09:06:28 +01:00
jean-emmanuel
d3ec5468e7 rgb: pass parent reference to inner pad 2018-01-25 09:03:26 +01:00
jean-emmanuel
5f65fa2009 jquery: some remainings [0] errors 2018-01-25 08:59:14 +01:00
jean-emmanuel
c62aea96ec dropdown: delete remaining jquery syntax 2018-01-25 08:44:43 +01:00
jean-emmanuel
2c2723b0db docs: update docs 2018-01-25 08:42:04 +01:00
jean-emmanuel
3b1d5922a8 widgets: remove useless method in base class 2018-01-24 19:11:17 +01:00
jean-emmanuel
779fd4b8b1 widgets: trigger onRemove on private child widget to avoid memory leaks 2018-01-24 19:10:28 +01:00
jean-emmanuel
b11f969929 events:resize: fix teardown (missing options arg) 2018-01-24 19:09:50 +01:00
jean-emmanuel
ec66902889 events/resize: fix teardown 2018-01-24 15:36:34 +01:00
jean-emmanuel
f553e914e7 editor: clean 2018-01-24 13:59:58 +01:00
jean-emmanuel
9119cb43f5 widgets: set root's parent (aka manager) in base class constructor to allow all events from its children to bubble up to the manager while they are parsed 2018-01-24 13:52:15 +01:00
jean-emmanuel
be0e506e2a editor: only update root shortcut button data when root is edited 2018-01-24 13:51:30 +01:00
jean-emmanuel
aa0590b150 clone: prevent cloned widgets from recreating themselves from prop inheritance changes
-> the clone widget was already watching for its target widget-created events and updating accordingly,
   thus causing concurrent attempts to update its children, errors and memory leaks
2018-01-24 12:34:48 +01:00
jean-emmanuel
50e934a697 clone: remove old useless prop 2018-01-24 12:34:23 +01:00
jean-emmanuel
18147cbf3d widgets: clean useless onremove() actions (already done in widgets base class method 2018-01-24 12:33:34 +01:00
jean-emmanuel
fb1e5e0815 manager/widgets: make reset() remove all widgets one by one and delete event listeners to avoid leaks 2018-01-24 12:32:38 +01:00
jean-emmanuel
ee84f0746b managers/widgets: carefully remove multiple widgets at a time 2018-01-24 12:31:10 +01:00
jean-emmanuel
38683b7e91 main: fix regression with --load : don't list recent sessions when loading 2018-01-24 10:37:02 +01:00
jean-emmanuel
d6791801d0 dev: prevent error on live css reload when no session is loaded 2018-01-23 19:38:11 +01:00
bordun
cfa917c930 events: just in case, fake polyfill Touch event object 2018-01-23 10:28:17 +01:00
bordun
bdf86a3542 canvas: clean 2018-01-23 10:15:25 +01:00
bordun
d35c67ef01 events: don't trigger resize on invisible (height||width==0) elements 2018-01-23 09:48:43 +01:00
bordun
5f080e2c66 lobby: fix remove from history handler 2018-01-22 15:10:07 +01:00
bordun
831d4b9f8e icons: fix warning ico 2018-01-22 15:09:44 +01:00
jean-emmanuel
a904f1bb0d js: fix formatting 2018-01-21 17:48:26 +01:00
jean-emmanuel
2eed3daa78 events: prevent right click context menu reliable style 2018-01-20 18:54:24 +01:00
jean-emmanuel
c9b7703e61 debug: always throw errors, not strings 2018-01-20 18:10:40 +01:00
jean-emmanuel
10ec4e0e82 browser: don't try to preload source map, stacktracesjs handles it if needed 2018-01-20 16:40:48 +01:00
jean-emmanuel
8d6a3fa7b8 debug: use stacktrace js to print better debug message 2018-01-20 16:35:34 +01:00
jean-emmanuel
669f519c85 tabs: ensure tabs are showed/hidden when setting a panels value 2018-01-20 12:22:14 +01:00
jean-emmanuel
06c34e9e7f cli: fix broken --blank switch (issue #135) 2018-01-20 11:20:32 +01:00
jean-emmanuel
c1c2838bd5 docs: build: link to node installation guide 2018-01-20 00:05:43 +01:00
jean-emmanuel
32488e7ff5 main: add --disable-gpu switch (pr #133 / issue #132) 2018-01-20 00:00:41 +01:00
jean-emmanuel
8d54f54869 lobby: hide links focus state unless tab key is hit 2018-01-19 20:20:39 +01:00
jean-emmanuel
e8e9ed6843 events: rename fake-click to fast-click 2018-01-19 19:01:36 +01:00
jean-emmanuel
994c0651e0 events: drag: don't use passive listener as scroll needs to be prevented 2018-01-19 16:04:32 +01:00
jean-emmanuel
8fad23a07d clone: trigger resize after recloning on target's content update 2018-01-19 07:45:44 +01:00
jean-emmanuel
e7d110a64e ui: tweak some transitions 2018-01-19 07:43:34 +01:00
jean-emmanuel
751b04e639 sidepanel: fix fullscreen button state 2018-01-19 01:52:25 +01:00
jean-emmanuel
41393a267b editor: don't select root when clicking on sidepanel toggle 2018-01-19 01:34:41 +01:00
jean-emmanuel
c37bdbe4a1 ui: lobby tweaks & dropdown icon fix 2018-01-19 01:31:47 +01:00
jean-emmanuel
648541bf39 misc: prevent minifying jquery, increase timeout before init loading popup 2018-01-19 01:15:04 +01:00
jean-emmanuel
61d27af6eb misc: remove old resize event 2018-01-19 00:36:27 +01:00
jean-emmanuel
f909bf32ff mics: handle some circular require loop differently 2018-01-18 22:17:26 +01:00
jean-emmanuel
2316b412b1 js: load mathjs properly 2018-01-18 19:46:37 +01:00
jean-emmanuel
36ace81734 js: better loading order 2018-01-18 15:13:02 +01:00
jean-emmanuel
fd7b4e1666 js/dom: fix little quirks 2018-01-18 15:12:17 +01:00
jean-emmanuel
7a6ebd461b popup: store state 2018-01-18 14:53:22 +01:00
jean-emmanuel
1ccd87ab2b js compile logic: fix DOM.ready caveat 2018-01-18 14:52:45 +01:00
jean-emmanuel
ed954f6d26 ui: put popup class back in utils 2018-01-18 13:09:34 +01:00
jean-emmanuel
6c127ef114 ui: add a smooth transition when loading a session 2018-01-18 12:30:18 +01:00
jean-emmanuel
cbafb4e32f 🔥 removed jquery everywhere except from editor 2018-01-18 12:23:37 +01:00
jean-emmanuel
983555c33c sidepanel: vanillajs fullscreen 2018-01-16 17:08:27 +01:00
jean-emmanuel
ac00b1a8d4 sidepanel: vanilla js + some clean 2018-01-16 16:57:30 +01:00
jean-emmanuel
9bab2b436a events: vanillajs traversing gesture 2018-01-16 16:54:35 +01:00
jean-emmanuel
5e9d692237 misc: reset vanilla document ready wait... 2018-01-16 16:10:07 +01:00
jean-emmanuel
bfe99319d9 misc: removed nosleep (leaving it to 3rd-party apps) 2018-01-16 14:00:22 +01:00
jean-emmanuel
cb82cfcf5f editor: fix "edit parent" context menu & clean 2018-01-16 13:09:09 +01:00
jean-emmanuel
022efe1167 event: drag: add remove routine 2018-01-16 10:34:20 +01:00
jean-emmanuel
319f64f41a events: make some touchstart listeners passive to remove chromium warnings 2018-01-16 10:11:11 +01:00
jean-emmanuel
5bccabbf09 log: some recent changes 2018-01-15 23:09:07 +01:00
jean-emmanuel
7234b0c146 mathjs: load min file 2018-01-15 21:40:33 +01:00
jean-emmanuel
8e83ca6ce6 package: deps update 2018-01-15 21:39:51 +01:00
jean-emmanuel
1cb0c29c3d build: make --fast faster 2018-01-15 21:32:29 +01:00
jean-emmanuel
3c0c92d0d0 build: wrap transform to ignore big minified files -> saves space, memory & build time 2018-01-15 21:23:57 +01:00
jean-emmanuel
62b32cdd8a events; drag: listen for touchcancel too 2018-01-15 13:58:14 +01:00
jean-emmanuel
cac3f7d16b font: wrong font name for FontAwesome 5 2018-01-15 13:40:31 +01:00
jean-emmanuel
9c41192ce4 events: fake-click without jquery 2018-01-14 23:41:27 +01:00
jean-emmanuel
59c5f4345d event: rewrite drag handling without jquery 🎆 2018-01-14 23:29:51 +01:00
jean-emmanuel
eb51338c31 property inheritance: don't try to check widgetManager's props (topmost parent) (issue #129) 2018-01-14 10:55:37 +01:00
jean-emmanuel
09974dda3e editor: missing change in widget base class breaking property inheritance (issue #128) 2018-01-14 10:45:33 +01:00
jean-emmanuel
90f0d17d00 editor: typo 2018-01-12 19:57:20 +01:00
jean-emmanuel
e3231bd984 editor: rename updateDom to updateWidget 2018-01-12 15:33:29 +01:00
jean-emmanuel
063b607918 widgets: getwidgetbyelement: without jquery 2018-01-12 15:07:22 +01:00
jean-emmanuel
62bbcca72a editor: fix context menu regression 2018-01-12 14:57:47 +01:00
jean-emmanuel
722b69eede events: fix tab-created (trigger parent directly) 2018-01-12 14:54:41 +01:00
jean-emmanuel
521f86b776 editor/widgets: centralize dom element to widget instance conversion (-> manager method) 2018-01-12 14:47:49 +01:00
jean-emmanuel
039872ef8c events: restore "tab-created" usage 2018-01-12 13:14:06 +01:00
jean-emmanuel
4eed47c198 events: handle "widget-created" event without dom, make widget auto register their children 2018-01-12 12:39:39 +01:00
jean-emmanuel
d63ff81d39 examples: fix keys (mathjs array zero-indexed) 2018-01-11 14:35:53 +01:00
jean-emmanuel
6e0af98ed6 maths: don't import minified file as prod packaging doesn't work well with it 2018-01-11 14:19:19 +01:00
jean-emmanuel
499637e851 package: update deps 2018-01-11 14:07:36 +01:00
jean-emmanuel
4863958ffa canvas: objectify canvas queue and stop the rAF loop when idle 2018-01-11 13:57:13 +01:00
jean-emmanuel
565c6bfe41 canvas: a bit smarter framerate handling + framerate url option 2018-01-11 10:15:09 +01:00
jean-emmanuel
18ef775125 canvas: redraw on resize one frame earlier 2018-01-10 23:57:49 +01:00
jean-emmanuel
bc9cef5e9d events: missing widget "change" event migrations 2018-01-10 21:00:16 +01:00
jean-emmanuel
93d8391b5b canvas: batch all canvas operations to optimize perfs 2018-01-10 20:07:23 +01:00
jean-emmanuel
a0040ab488 events: 🎆 migrate from jquery custom events to non-dom event emitter ("change" event ok) 2018-01-10 20:03:29 +01:00
jean-emmanuel
50e6ae37c0 docs: midi: typo 2018-01-10 14:20:35 +01:00
jean-emmanuel
9abacf65c5 midi: define ipcSend before any possible use 2018-01-10 14:05:36 +01:00
jean-emmanuel
cb86370cb4 editor: use a shared tmp state to prevent a fresh "value" property value to be applied 2018-01-07 22:20:02 +01:00
jean-emmanuel
66d48a38fc property inheritance: on "value" update only send osc if there was a change event firing osc 2018-01-05 16:59:36 +01:00
jean-emmanuel
74f59a5c9e parser: when applying "value" property, make widget emit "change" event 2018-01-05 16:58:36 +01:00
jean-emmanuel
59506a6b82 editor: handle "value" prop editing gracefully (just dont restore the widget's state, as the parser apply one already) 2018-01-05 16:57:19 +01:00
jean-emmanuel
5c1fdea704 doc: property inheritance 2018-01-05 16:49:18 +01:00
jean-emmanuel
344b39a2fb property inheritance: when updating "value", don't send osc if initial event is a widget sync-only "change" 2018-01-05 16:32:59 +01:00
jean-emmanuel
23df2be2e7 property inheritance: don't recreate the widget if only prop "value" has changed (call setValue)
-> this makes reverse inheritance work for a container's "value" property targetting its own children
2018-01-05 16:21:02 +01:00
jean-emmanuel
f675e05d7e widgets: move widget instance dom reference storing to constructor 2018-01-05 16:19:49 +01:00
jean-emmanuel
7a544b862d editor: context menu: unfocus non-submenu item on mouseout 2018-01-04 22:56:23 +01:00
jean-emmanuel
841ea9e19c editor: fix context menu regression (position correction) 2018-01-04 20:42:49 +01:00
jean-emmanuel
ec3113501e editor: keep context menu items open when the mouse leaves 2018-01-04 20:12:46 +01:00
jean-emmanuel
85785709c8 switch: log, doc and indentation fix 2018-01-04 14:56:36 +01:00
jean-emmanuel
c0a01813d5 switch: rename show_values to showValues and clean 2018-01-04 14:45:54 +01:00
jean-emmanuel
10cc4b78f7 Merge pull request #124 from cyberic99/master
Allow switch widgets to display "key: value" instead of the default "key"
2018-01-04 14:44:14 +01:00
cyberic99
85de70b29a Allow switch widgets to display "key: value" instead of the default "key" 2018-01-04 11:09:35 +01:00
jean-emmanuel
aeecfec9cc log: prop inheritance 2018-01-04 09:20:26 +01:00
jean-emmanuel
55298d001a property inheritance: watch for widgetid creation event even if none found initially in case it gets created after 2018-01-04 09:16:28 +01:00
jean-emmanuel
0b01829a1c property inheritance: trigger 'widget-created' after widget manager registration avoid ignoring widgets in resolveProp 2018-01-04 09:15:21 +01:00
jean-emmanuel
80c3ab8aa0 formula/mathjs: re-fix array to zero-based index instead of one-based index 2018-01-03 11:34:15 +01:00
jean-emmanuel
6cd29dbdd8 property inheritance: allow referring to a parent using its and fix infinite loop when editing (issue #122) 2018-01-03 10:24:35 +01:00
jean-emmanuel
b0d5a8e06b property inheritance: don't add eventlistener when not needed 2018-01-02 22:09:28 +01:00
jean-emmanuel
49dc77ec65 log: latest changes 2018-01-02 20:23:20 +01:00
jean-emmanuel
18af57168b v8: fix some js optimization with the arguments object 2018-01-02 18:24:24 +01:00
jean-emmanuel
ea5521840d widgets: missing precision parameter in deepCopy 2018-01-02 15:16:26 +01:00
jean-emmanuel
ef52135525 text: apply target's precision to value 2018-01-02 13:59:06 +01:00
jean-emmanuel
8fcf7e2cf0 plots: emit change event to allow synchronization with other widgets 2018-01-02 13:55:02 +01:00
jean-emmanuel
3bc928ebe9 property inheritance: fix geometry not applying the rules 2018-01-02 12:08:32 +01:00
jean-emmanuel
e1d43b0e31 property inheritance: apply precision when retrieving a widget value, fix precision implementation mistake in getValue 2018-01-02 12:08:25 +01:00
jean-emmanuel
25d6f30ed3 widgets: put input's deepCopyWithPrecision in widgets base class 2018-01-02 11:51:56 +01:00
jean-emmanuel
2eb6c7b998 property inheritance: optimize and add support for special prop "_value" to get dynamic value (issue #122) 2018-01-02 11:50:09 +01:00
jean-emmanuel
59aa447ff2 formula/keys: return arrays, not matrices 2017-12-31 14:56:10 +01:00
jean-emmanuel
584e5ffdd9 example: add keys 2017-12-31 13:15:26 +01:00
jean-emmanuel
ab8f6b9cab keys: add missing dep 2017-12-31 12:59:53 +01:00
jean-emmanuel
60a4903623 docs: fix wrong space char 2017-12-31 12:55:41 +01:00
jean-emmanuel
e4996e1d53 docs: add keys docs 2017-12-31 12:53:53 +01:00
jean-emmanuel
184f8d203a keys; default repeat to true 2017-12-31 12:53:36 +01:00
jean-emmanuel
3e4899668d inputs: add keys widget (wip) (issue #57) 2017-12-31 12:41:41 +01:00
jean-emmanuel
179f48e1e1 formula: fix multiline expression parsing 2017-12-31 12:40:37 +01:00
jean-emmanuel
3de696f97f package: update some deps 2017-12-31 12:40:19 +01:00
jean-emmanuel
d86fd1f3d0 package: get source-map from npm, don't include it in sources 2017-12-30 11:30:03 +01:00
jean-emmanuel
097999650b travis: remove arm64 build until electron stable provides it 2017-12-28 14:38:43 +01:00
jean-emmanuel
61531aa365 package: O.22.0 2017-12-28 14:12:43 +01:00
jean-emmanuel
16d3915da8 log: typo 2017-12-28 14:12:09 +01:00
jean-emmanuel
c086b82146 led: set inner shadow border radius to inherit 2017-12-28 13:47:50 +01:00
jean-emmanuel
e88a0d937b server/osc: allow overriding all osc props, fix /GET for widgets without address/target (issue #120) 2017-12-28 10:22:54 +01:00
jean-emmanuel
c97d29acb5 range: fix relative dragging error outside of range boundaries 2017-12-27 21:51:53 +01:00
jean-emmanuel
8953c74ef2 range: set init value to range min/max 2017-12-27 20:28:09 +01:00
jean-emmanuel
41057a32c9 examples: add a more complete widget showcase 2017-12-27 16:48:56 +01:00
jean-emmanuel
862b583904 docs: add a note concerning https 2017-12-27 10:31:11 +01:00
jean-emmanuel
73617beb9b remote control: /EDIT/GET add support for address/preArgs widget targetting (issue #56) 2017-12-26 15:31:43 +01:00
jean-emmanuel
0378196f8c push: slightly fade label when active 2017-12-26 15:16:56 +01:00
jean-emmanuel
f4b50b0486 plots: testing a glass effect to differentiate non-interactable widgets 2017-12-26 15:16:03 +01:00
jean-emmanuel
b0833b4ca5 inputs: reset size to 100% (was 108%) 2017-12-26 15:15:00 +01:00
jean-emmanuel
5bca3e3ceb leds: tweak css 2017-12-26 15:14:24 +01:00
jean-emmanuel
6f46c47b49 example: ardour tiny line height fix 2017-12-26 15:13:11 +01:00
jean-emmanuel
e1b0ff9b39 sidepanel: fix broken quicksave (regression) 2017-12-25 09:01:11 +01:00
jean-emmanuel
679f523682 sliders: fix regression introduced with range widget 2017-12-22 17:47:18 +01:00
jean-emmanuel
9ee38507fd sliders/pads: holding Ctrl now enables high precision dragging with the mouse and bypasses the snap option 2017-12-22 13:16:56 +01:00
jean-emmanuel
658a097fd5 mouse/drag: high precision (x8) dragging with ctrlKey pressed 2017-12-22 12:03:17 +01:00
jean-emmanuel
492b117f49 input: rename prop horizontal to vertical 2017-12-21 13:16:06 +01:00
jean-emmanuel
0472bb2c28 example/ardour: add some swag 2017-12-21 13:09:37 +01:00
jean-emmanuel
c772f6ad77 input: fix horizontal mode when focused 2017-12-21 12:57:01 +01:00
jean-emmanuel
322c98ce6e remote control: add /SET method (issue #56) 2017-12-21 12:38:45 +01:00
jean-emmanuel
2569dda2bd log: /GET, /EDIT/GET 2017-12-21 08:50:44 +01:00
jean-emmanuel
18028fd18e doc: typo 2017-12-21 08:47:28 +01:00
jean-emmanuel
841c043e38 docs: tiny typo fix 2017-12-21 08:46:16 +01:00
jean-emmanuel
aea05da55c osc: allow overriding preArgs value 2017-12-21 08:06:04 +01:00
jean-emmanuel
9651b2871c remote control: make /GET reply to /GET (with widget address in args) (issue #56) 2017-12-21 07:36:34 +01:00
jean-emmanuel
279663d53f remote control: /GET: disable broadcasting if target in invalid 2017-12-21 07:11:41 +01:00
jean-emmanuel
e0bb727c0c remote control: add /EDIT/GET, and a nosync flag in server/osc/sending method to prevent broadcasting 2017-12-21 07:09:11 +01:00
jean-emmanuel
73b2d6b2c0 remote control: rename /EDIT_SOFT to /EDIT/MERGE 2017-12-21 06:43:19 +01:00
jean-emmanuel
7a81aa8e24 remote control: remove /EXEC 2017-12-21 06:39:55 +01:00
jean-emmanuel
f3909b2352 osc: don't choke on widgets without target prop (issue #56) 2017-12-20 10:59:19 +01:00
jean-emmanuel
9faf7023e2 osc: implementing /GET (issue #56) 2017-12-19 20:24:58 +01:00
jean-emmanuel
2e1f7b8627 client:osc: take all args for widget address+preArgs matching 2017-12-19 18:41:04 +01:00
jean-emmanuel
bd6c32cab7 gui: add explicit edit shortcuts (attempt to fix OSX issue #116) 2017-12-19 14:19:31 +01:00
jean-emmanuel
152857cf93 engine: downgrade to stable electrono 2017-12-19 14:06:36 +01:00
jean-emmanuel
02ec1b29d2 editor: fix textareas scrollbar cursor 2017-12-19 13:35:44 +01:00
jean-emmanuel
ceda5249e7 log: better log 2017-12-19 11:38:46 +01:00
jean-emmanuel
97101f80fe image: add repeat option; add docs
text: fix default value (retreive value prop)
2017-12-19 09:56:47 +01:00
jean-emmanuel
c403d22fdf plots: add image widget (#64) 2017-12-18 21:38:42 +01:00
jean-emmanuel
447e14b555 main: resolve to absolute path when adding session to history 2017-12-18 09:48:18 +01:00
jean-emmanuel
08d9eb2012 range: remove some weird things 2017-12-17 19:48:36 +01:00
jean-emmanuel
0ae2d5c7aa doc: range's split prop 2017-12-17 19:47:22 +01:00
jean-emmanuel
bf028db975 range: doc and log 2017-12-17 19:45:56 +01:00
jean-emmanuel
e8610b5054 range: add input (issue #114)
fader: fix vertical+compact focused input size
2017-12-17 13:49:51 +01:00
jean-emmanuel
2af36b84e0 range: add split opt 2017-12-15 09:10:36 +01:00
jean-emmanuel
e7c8654eb7 range: remove unnused options 2017-12-15 09:08:18 +01:00
jean-emmanuel
28a47b3973 sliders: add range widget (testing) (issue #114) 2017-12-15 09:06:48 +01:00
jean-emmanuel
eb67a733c1 log: typo 2017-12-14 12:45:55 +01:00
jean-emmanuel
2f39bbc6b2 log: last changes 2017-12-14 12:43:39 +01:00
jean-emmanuel
dff73a6c47 cli: add --instance-name option to differenciate mulitple instances in zeroconf networks (issue #118) 2017-12-14 12:38:23 +01:00
jean-emmanuel
7cc4197952 server: allow resolving absolute file paths (issue #64) 2017-12-14 12:12:29 +01:00
jean-emmanuel
7f207801f4 zeroconf: typo 2017-12-10 22:49:01 +01:00
jean-emmanuel
e74d892e3d zeroconf: 1st implementation try (http.tcp ok, osc.udp not sure) (issue #118) 2017-12-10 15:10:34 +01:00
jean-emmanuel
f062faf581 log: 0.21.3 2017-12-09 15:55:25 +01:00
jean-emmanuel
d3b31d3ce3 package: v0.21.3 2017-12-09 15:52:22 +01:00
jean-emmanuel
565b54d8b0 session/state: fix regression breaking session/state save-to-file 2017-12-09 15:51:29 +01:00
jean-emmanuel
2964d9f4ce fonts: update fontawesome (v5) 2017-12-09 15:51:21 +01:00
jean-emmanuel
14ea006300 package: 0.21.2 2017-12-07 21:44:55 +01:00
jean-emmanuel
57278eb8f0 package: missing babel dep 2017-12-07 21:44:33 +01:00
jean-emmanuel
76e27ecfdd package: update deps 2017-12-07 21:36:32 +01:00
jean-emmanuel
7f61407984 Merge pull request #117 from amir-arad/patch-1
allow newer versions of node
2017-12-07 11:45:43 +01:00
Amir Arad
72699af7a4 allow newer versions of node 2017-12-04 23:07:13 +02:00
467 changed files with 48267 additions and 30604 deletions

View file

@ -1,13 +0,0 @@
{
"presets": [
["@babel/env", {
"targets": {
"ios": "9.3",
"chrome": "50"
},
"useBuiltIns": "usage",
"corejs": 3
}]
],
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
}

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
node_modules
app
sessions

View file

@ -1 +0,0 @@
jquery.*.js

View file

@ -1,21 +1,16 @@
{
"parser": "babel-eslint",
"env": {
"es6": true,
"es2021": true,
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
"sourceType": "module"
},
"rules": {
"no-prototype-builtins": "off",
"no-console": "off",
"no-undef": "off",
"no-useless-escape": "off",
"no-self-assign": "off",
"no-empty": [
@ -51,14 +46,12 @@
],
"quotes": [
"error",
"single"
"single",
{ "allowTemplateLiterals": true }
],
"semi": [
"error",
"never"
]
},
"globals": {
"module": true
}
}

View file

@ -0,0 +1,24 @@
name: Build
on: [workflow_dispatch]
jobs:
Deploy:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Docker Login
run: |
docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRY_TOKEN}} git.riksolo.com
- name: Build and push
run: |
docker build -t git.riksolo.com/riksolo/open-stage-control:latest -t git.riksolo.com/riksolo/open-stage-control:${{github.sha}} .
docker push git.riksolo.com/riksolo/open-stage-control:latest
docker push git.riksolo.com/riksolo/open-stage-control:${{github.sha}}

View file

@ -1,21 +0,0 @@
---
name: Bug report
about: Report a bug in Open Stage Control
title: '[Bug] '
---
<!--
Please provide as much contextual informations as possible:
- Open Stage Control version (or commit if built from sources)
- Operating system
- Open Stage Control options
- Client type (built-in or external chromium/chrome browser) and version
- Session file (can be uploaded after adding the .txt extension)
- Custom module
- Server logs (from the terminal or the launcher's console)
- Client logs (hit F12 in chromium/chrome to open the console)
- Screenshot
-->

View file

@ -1,5 +0,0 @@
---
name: Feature request
about: Suggest an idea for Open Stage Control
title: '[Feature] '
---

5
.github/SUPPORT.md vendored
View file

@ -1,5 +0,0 @@
## How do I get help ?
- If you found a bug, open a bug report
- If you have a suggestion, open a feature request
- If you have a question or want to share your experience with other users, please use the dedicated forum at https://openstagecontrol.discourse.group/

29
.gitignore vendored
View file

@ -1,12 +1,17 @@
node_modules
dist
app/LICENSE
app/assets/*.css*
app/assets/*.png
app/client/*.js*
app/launcher/*.js*
app/server/*
!app/server/.keep
app/package.json
package-lock.json
*.pyc
# npmg
node_modules/
# build
/app/
# python/midi build
src/server/python/*
!src/server/python/*.py
# docs build
src/docs/widgets-reference.js
properties-reference.md
# packaging
dist/
sessions/

View file

@ -1,49 +0,0 @@
anHsudo: required
dist: trusty
language: node_js
node_js:
- "9"
before_install:
- sudo dpkg --add-architecture i386
- sudo apt-get update -qq
- sudo apt-get install -qq wine fakeroot xvfb
install: npm install
before_deploy:
deploy:
provider: releases
api-key:
secure: Nb4qJlmLEE2/ETHEYe8V8eGI08d4GuE5kdQef5ZnB4PrstppLlAjShv5E4DNTsyalMOMDjpw9v+9aQNzxGiGv+lCVVL5oFvqvDpcYusRuF9Qua7oJtFh+5FvjgC1DDjauk5Z7WQWMvzWwfNmqbY/lxPbA4zVy4kdYkGV/8WnzA9AL5fU0ZU8gDsFjcr9Pz81XDsDXtPH/+iMuclMsEl8V/ZuswWlZaFn1Jnb1tcGC5WUCsuNQo/+gGfSK6Qcf9AKsIrOjdzi55s4jqH1N7P/kKi4a2tWUTwmSLrOxdUmSYjXVOxMu0cAEnHSeYREv/5o6J0MbfQrDoxh2y5roPZzqE+FAuFLl+b/+bYlW0mrfYfSuP/VX9LYh5JSvrhN7rZuUfMqS1iM7c9Dx8sZadMnvYEAAJhH8IV/9SkuRa/8QoIpXf7YB9v1jERxs4gk5CPT5Aml6nY/CvMWiEQ/wJhC7iZd/QRHshgfNLfAGlbbNU2KP6ZsVAGD601fyST/8neoQqLqS9mteOr1QME3c5EFw+XaauIQNYZSl+wJr8Y1YMcKY+fbJqqR0TXkbsoxFgV9PRf/4ZCjIJYtmelQVlM7j20XavOHM/Ko6/y7a3pohFz+ql3YR9jGF5XW2foXb4+e6DwTGL91/f75hYcsvXxoKbeaBjWpaSK8532UTeVkhPM=
file_glob: true
file: dist/packages/*
skip_cleanup: true
on:
tags: true
before_deploy:
- export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json)
- npm run package -- --all
- npm run package-node
- npm run deb32
- npm run deb64
- npm run debarm
- cd dist
- mkdir packages
- mv open-stage-control-linux-ia32/*.deb packages/open-stage-control-${VERSION}-i386.deb
- mv open-stage-control-linux-x64/*.deb packages/open-stage-control-${VERSION}-amd64.deb
- mv open-stage-control-linux-armv7l/*.deb packages/open-stage-control-${VERSION}-armv7l.deb
- mv open-stage-control-node open-stage-control-${VERSION}-node
- mv open-stage-control-win32-ia32 open-stage-control-${VERSION}-win32-ia32
- mv open-stage-control-win32-x64 open-stage-control-${VERSION}-win32-x64
- mv open-stage-control-linux-ia32 open-stage-control-${VERSION}-linux-ia32
- mv open-stage-control-linux-x64 open-stage-control-${VERSION}-linux-x64
- mv open-stage-control-linux-armv7l open-stage-control-${VERSION}-linux-armv7l
- mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64
- zip -q -r --symlinks packages/open-stage-control-${VERSION}-osx.zip open-stage-control-darwin-x64/open-stage-control.app
- zip -q -r packages/open-stage-control-${VERSION}-node.zip open-stage-control-${VERSION}-node
- zip -q -r packages/open-stage-control-${VERSION}-win32-ia32.zip open-stage-control-${VERSION}-win32-ia32
- zip -q -r packages/open-stage-control-${VERSION}-win32-x64.zip open-stage-control-${VERSION}-win32-x64
- zip -q -r packages/open-stage-control-${VERSION}-linux-ia32.zip open-stage-control-${VERSION}-linux-ia32
- zip -q -r packages/open-stage-control-${VERSION}-linux-x64.zip open-stage-control-${VERSION}-linux-x64
- zip -q -r packages/open-stage-control-${VERSION}-linux-armv7l.zip open-stage-control-${VERSION}-linux-armv7l
- zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64
- ls packages
- cd ..

7
AI_POLICY.md Normal file
View file

@ -0,0 +1,7 @@
Anything AI-related is strictly prohibited from this project.
If you think this project could benefit from a smart use of AI, think harder.
Think harder about the (hundreds of) millions of data workers that make your AI "smart", not to mention the monumental ecological waste it represents.
If you still think this way, don't tell me.

File diff suppressed because it is too large Load diff

1843
CHANGELOG.v0.md Normal file

File diff suppressed because it is too large Load diff

29
Dockerfile Normal file
View file

@ -0,0 +1,29 @@
FROM node:24-alpine
RUN apk --no-cache add git
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
RUN mkdir /sessions
RUN touch /sessions/session.json
EXPOSE 8080
ENV ELECTRON_RUN_AS_NODE=1
ENV SEND="127.0.0.1:8080"
ENV LOAD="/sessions/main.json"
ENV PORT=8080
ENV OSC_PORT=8080
ENV READ_ONLY=false
RUN chmod +x entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]

View file

@ -1 +0,0 @@
web: node app/ -n -p $PORT --remote-saving 127.0.0.1 $OPTIONS

View file

@ -1,10 +1,21 @@
<img src="resources/images/logo_discourse_black.png" alt="Open Stage Control" height="50px"/>
<img src="resources/images/logo.png" alt="Open Stage Control" height="50px"/>
Open Stage Control
*Libre and modular OSC / MIDI controller*
https://openstagecontrol.ammd.net/
- Website: https://openstagecontrol.ammd.net/
- Forum: https://openstagecontrol.discourse.group/
- IRC: Libera.chat #openstagecontrol
----
Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2020.
This program is a free software released under the [GNU/GPL3](ttps://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license.
Docker additions by Rik Berkelder.
mount `/sessions` directory. default session file is created and loaded there.
---
Copyleft © Jean-Emmanuel Doucet 2014-2025.
This program is a free software released under the [GNU/GPL3](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/LICENSE) license.

Binary file not shown.

View file

@ -1,14 +0,0 @@
/*!
* Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: FontAwesome;
font-style: normal;
font-weight: 900;
src: url("./fa-solid-900.woff") format("woff")}
.fa,
.fas {
font-family: FontAwesome;
font-weight: 900; }

File diff suppressed because one or more lines are too long

View file

@ -1,13 +0,0 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url('roboto-medium.woff') format('woff');
}
@font-face {
font-family: 'RobotoMono';
font-style: normal;
font-weight: 500;
src: url('roboto-mono.woff') format('woff');
}

Binary file not shown.

View file

@ -1,2 +0,0 @@
*
!.gitignore

View file

@ -1,30 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="../assets/logo.png" />
<link rel="preload" href="../assets/fonts/fa-solid-900.woff" as="font"/>
<link rel="preload" href="../assets/fonts/roboto-medium.woff" as="font"/>
<link rel="stylesheet" type="text/css" href="../assets/open-stage-control.css" hot-reload/>
<link rel="stylesheet" type="text/css" href="../assets/theme.css" hot-reload/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/fa-solid.css"/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/roboto-medium.css"/>
<link rel="shortcut icon" href="../assets/favicon.png"/>
<script src="../client/open-stage-control-client.js"></script>
</head>
<body>
<div id="container"></div>
<div id="sidepanel" class="hide">
<div id="sidepanel-wrapper"></div>
<div id="sidepanel-handle"></div>
</div>
<div id="notifications"></div>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -1,959 +0,0 @@
{
"type": "root",
"tabs": [
{
"type": "tab",
"id": "tab_2",
"label": "Open Stage Control",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_2",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "strip",
"top": 10,
"left": 10,
"id": "strip_4",
"label": "Strips",
"width": 100,
"height": 450,
"color": "auto",
"css": "",
"horizontal": false,
"stretch": false,
"spacing": 5,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "text",
"id": "text_1",
"label": false,
"height": 30,
"vertical": false,
"color": "auto",
"css": "",
"value": 1,
"preArgs": [],
"address": "/text_1",
"linkId": "",
"wrap": false,
"align": "",
"default": "",
"left": "auto",
"top": "auto",
"width": "auto"
},
{
"type": "strip",
"id": "strip_5",
"label": false,
"height": 30,
"color": "auto",
"horizontal": true,
"stretch": true,
"spacing": 5,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "toggle",
"id": "toggle_1",
"linkId": "",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"address": "/toggle_1",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"linkId": "",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"id": "toggle_2",
"address": "/toggle_2",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"id": "toggle_3",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"address": "/toggle_3",
"preArgs": [],
"target": [],
"linkId": "",
"width": "auto",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
}
],
"css": "",
"border": true,
"scroll": true,
"address": "/strip_5",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "strip",
"id": "strip_6",
"label": false,
"height": 50,
"color": "auto",
"css": "margin-bottom:-10rem",
"horizontal": true,
"stretch": true,
"spacing": 0,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "knob",
"id": "knob_1",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"color": "auto",
"pips": false,
"input": false,
"dashed": false,
"angle": 270,
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"touchAddress": "",
"preArgs": [],
"target": [],
"address": "/knob_1",
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
},
{
"type": "knob",
"id": "knob_2",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"color": "auto",
"pips": false,
"input": false,
"dashed": false,
"angle": 270,
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"address": "/knob_2",
"touchAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
}
],
"border": false,
"scroll": true,
"address": "/strip_6",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "strip",
"id": "strip_1",
"label": false,
"color": "auto",
"css": "flex:1",
"horizontal": true,
"stretch": false,
"spacing": 0,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "meter",
"id": "meter_1",
"label": false,
"unit": "",
"alignRight": false,
"horizontal": false,
"pips": false,
"dashed": true,
"color": "auto",
"css": "margin: 20rem 0 20rem 10rem;",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"origin": "auto",
"value": "@{knob_1}",
"address": "/meter_1",
"preArgs": [],
"width": 10,
"linkId": "",
"gradient": [],
"default": "",
"left": "auto",
"top": "auto",
"height": "auto",
"compact": true,
"input": false
},
{
"type": "meter",
"id": "meter_2",
"label": false,
"unit": "",
"alignRight": false,
"horizontal": false,
"pips": false,
"dashed": true,
"color": "auto",
"css": "margin: 20rem 0",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"origin": "auto",
"value": "@{knob_2}",
"address": "/meter_1",
"preArgs": [],
"width": 10,
"linkId": "",
"gradient": [],
"default": "",
"left": "auto",
"top": "auto",
"height": "auto",
"compact": true,
"input": false
},
{
"type": "fader",
"id": "fader_1",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"alignRight": false,
"horizontal": false,
"pips": true,
"input": false,
"compact": false,
"dashed": false,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"meter": false,
"address": "/fader_1",
"touchAddress": "",
"meterAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
}
],
"height": "auto",
"border": false,
"scroll": true,
"address": "/strip_1",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "fader",
"id": "fader_2",
"linkId": "",
"label": false,
"unit": "",
"height": 30,
"alignRight": false,
"horizontal": true,
"pips": false,
"input": false,
"compact": true,
"dashed": false,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": 0.5,
"value": 0.5,
"logScale": false,
"precision": 2,
"meter": false,
"address": "/fader_2",
"touchAddress": "",
"meterAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"steps": ""
},
{
"type": "strip",
"id": "strip_3",
"label": false,
"height": 30,
"color": "auto",
"css": "",
"horizontal": true,
"stretch": false,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "toggle",
"id": "toggle_4",
"linkId": "",
"label": "M",
"led": false,
"color": "yellow",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"address": "/toggle_4",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"id": "toggle_5",
"linkId": "",
"label": "S",
"led": false,
"color": "lime",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"address": "/toggle_5",
"preArgs": [],
"target": [],
"width": "auto",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
}
],
"spacing": 0,
"border": true,
"scroll": true,
"address": "/strip_3",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
}
],
"border": true,
"scroll": true,
"address": "/strip_4",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"tabs": []
},
{
"type": "panel",
"top": 10,
"left": 120,
"id": "panel_1",
"label": "Pads",
"width": 350,
"height": 350,
"scroll": true,
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/panel_1",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [],
"tabs": [
{
"type": "tab",
"id": "tab_3",
"label": "Xy",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_3",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "xy",
"top": 0,
"left": 0,
"id": "xy_1",
"linkId": "",
"label": false,
"width": "100%",
"height": "100%",
"input": true,
"pips": true,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"rangeX": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"rangeY": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"value": [
0.5,
0.5
],
"precision": 2,
"address": "/xy_1",
"touchAddress": "",
"preArgs": [],
"split": false,
"target": [],
"pointSize": 20,
"default": "",
"bypass": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
},
{
"type": "tab",
"id": "tab_5",
"label": "rgb",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_5",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "rgb",
"id": "rgb_1",
"linkId": "",
"label": false,
"left": 0,
"top": 0,
"width": "100%",
"height": "100%",
"input": true,
"css": "",
"snap": false,
"spring": false,
"value": "",
"precision": 0,
"address": "/rgb_1",
"preArgs": [],
"split": false,
"target": [],
"range": {
"min": 0,
"max": 255
},
"default": "",
"bypass": false,
"alpha": false,
"pointSize": 10
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
},
{
"type": "tab",
"id": "tab_4",
"label": "MultiXy",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_4",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "multixy",
"id": "xy_2",
"label": false,
"width": "100%",
"height": "100%",
"pips": true,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"rangeX": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"rangeY": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"value": [
0.25,
0.5,
0.75,
0.5
],
"precision": 2,
"address": "/xy_2",
"touchAddress": "",
"preArgs": [],
"split": false,
"target": [],
"linkId": "",
"left": "auto",
"top": "auto",
"points": 2,
"pointSize": 20,
"default": "",
"bypass": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"border": true,
"linkId": "",
"default": "",
"bypass": false
},
{
"type": "rgb",
"top": 10,
"left": 480,
"id": "color_picker",
"linkId": "",
"label": "Color",
"width": 130,
"height": 60,
"css": "/* Cool hack ::\nOnly display the hue slider.\nWe ensure the initial color \nby setting the default property \n*/\n.pad > :first-child{display:none;}\n.hue-wrapper{height:100%;}\n.hue-wrapper *{height:100%;}",
"precision": 0,
"value": "",
"address": "/dropdown_1",
"preArgs": [],
"target": [],
"default": [
86,
168,
255
],
"bypass": false,
"snap": false,
"spring": false,
"range": {
"min": 0,
"max": 255
},
"input": true,
"alpha": false,
"split": false,
"pointSize": 10
},
{
"type": "keyboard",
"top": 370,
"left": 120,
"id": "keyboard",
"keys": 36,
"start": 60,
"label": "auto",
"width": 350,
"height": 90,
"color": "auto",
"css": "",
"traversing": true,
"on": 1,
"off": 0,
"precision": 2,
"address": "/keyboard_1",
"preArgs": [],
"split": false,
"target": [],
"bypass": false,
"linkId": ""
},
{
"type": "matrix",
"top": 80,
"left": 480,
"id": "multifader",
"label": "auto",
"width": 130,
"height": 380,
"color": "auto",
"css": "",
"value": "",
"precision": 2,
"address": "/multifader_1",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"linkId": "",
"widgetType": "fader",
"matrix": [
1,
12
],
"start": 0,
"spacing": 0,
"traversing": true,
"border": true,
"props": {
"compact": true,
"horizontal": true,
"label": false,
"pips": false,
"input": false
}
},
{
"type": "matrix",
"top": 10,
"left": 620,
"id": "multipush",
"label": "auto",
"width": 130,
"height": 220,
"color": "auto",
"css": "",
"precision": 2,
"address": "/multipush",
"preArgs": [],
"target": [],
"bypass": false,
"linkId": "",
"default": "",
"value": "",
"widgetType": "push",
"matrix": [
2,
4
],
"start": 0,
"spacing": 4,
"traversing": true,
"border": true,
"props": {}
},
{
"type": "matrix",
"top": 240,
"left": 620,
"label": "auto",
"width": 130,
"height": 220,
"color": "auto",
"css": "",
"value": "",
"precision": 2,
"address": "/multitoggle",
"preArgs": [],
"target": [],
"id": "multitoggle",
"default": "",
"bypass": false,
"linkId": "",
"widgetType": "toggle",
"matrix": [
2,
4
],
"start": 0,
"spacing": 4,
"traversing": true,
"border": true,
"props": {}
},
{
"type": "plot",
"top": 470,
"left": 10,
"id": "plot_1",
"width": 240,
"height": 140,
"label": "Plot (multifader)",
"color": "auto",
"css": "",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"origin": "auto",
"logScaleX": false,
"logScaleY": false,
"pips": false,
"address": "/plot_1",
"preArgs": [],
"smooth": true,
"linkId": "",
"dots": true,
"bars": false,
"value": "@{multifader}",
"default": ""
},
{
"type": "patchbay",
"top": 470,
"left": 480,
"id": "patchbay_1",
"linkId": "",
"width": 270,
"height": 140,
"label": "Patchbay",
"color": "auto",
"css": "",
"inputs": [
"input_1",
"input_2"
],
"outputs": [
"output_1",
"output_2"
],
"default": "",
"value": "",
"precision": 2,
"address": "/patchbay_1",
"preArgs": "",
"target": "",
"bypass": false
},
{
"type": "visualizer",
"top": 470,
"left": 260,
"id": "visualizer_1",
"linkId": "",
"width": 210,
"height": 140,
"label": "Visualizer (fader)",
"color": "auto",
"css": "",
"origin": "auto",
"smooth": false,
"pips": false,
"default": "",
"value": "@{fader_1}",
"address": "/plot_2",
"preArgs": "",
"duration": 1,
"range": {
"min": 0,
"max": 1
},
"logScale": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"color": "JS{{\nreturn 'rgb(' + @{color_picker}.join(',') + ')'\n}}",
"css": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"variables": {},
"id": "root",
"linkId": "",
"default": "",
"bypass": false,
"traversing": false,
"scroll": true,
"label": false
}

View file

@ -1,168 +0,0 @@
{
"type": "root",
"tabs": [
{
"type": "tab",
"id": "tab_1",
"label": "auto",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_1",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "keys",
"top": 300,
"left": 0,
"id": "keys_1",
"width": "auto",
"height": "auto",
"label": "auto",
"color": "auto",
"css": "",
"binding": [
"r",
"f"
],
"keydown": "#{\nx = key == \"r\" ? 0.1 : -0.1;\n@{fader_1} + x\n}",
"repeat": true,
"keyup": "",
"linkId": ">> A",
"default": "",
"value": "",
"precision": 2,
"address": "/keys_1",
"preArgs": "",
"target": "",
"bypass": false
},
{
"type": "fader",
"top": 0,
"left": 0,
"id": "fader_1",
"linkId": "<< A",
"width": "auto",
"height": "auto",
"label": "auto",
"color": "auto",
"css": "",
"horizontal": false,
"alignRight": false,
"pips": true,
"input": true,
"meter": false,
"compact": false,
"dashed": false,
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"unit": "",
"origin": "auto",
"value": "",
"precision": 2,
"address": "/fader_1",
"touchAddress": "",
"meterAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"steps": ""
},
{
"type": "xy",
"top": 50,
"left": 170,
"id": "xy_1",
"linkId": "<< B",
"width": 210,
"height": 220,
"label": "auto",
"color": "auto",
"css": "",
"input": true,
"pips": true,
"pointSize": 20,
"snap": false,
"spring": false,
"doubleTap": false,
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"value": "",
"precision": 2,
"address": "/xy_1",
"touchAddress": "",
"preArgs": [],
"split": false,
"target": [],
"default": "",
"bypass": false
},
{
"type": "keys",
"top": 270,
"left": 170,
"id": "keys_2",
"width": 210,
"height": "auto",
"label": "auto",
"color": "auto",
"css": "",
"binding": [
"g",
"t"
],
"keydown": "#{\nx = key == \"t\" ? 0.1 : -0.1;\n@{xy_1}[0] + x\n@{xy_1}[1] + x\n}",
"keyup": "",
"repeat": false,
"linkId": ">> B",
"default": "",
"value": "",
"precision": 2,
"address": "/keys_2",
"preArgs": "",
"target": "",
"bypass": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"variables": {},
"id": "root",
"linkId": "",
"default": "",
"bypass": false,
"traversing": false,
"scroll": true,
"label": false
}

View file

@ -1,88 +0,0 @@
{
"type": "root",
"tabs": [
{
"type": "tab",
"id": "tab_1",
"linkId": "",
"label": "Rgb Levels",
"color": "auto",
"css": "",
"default": "",
"value": "",
"precision": 0,
"address": "/tab_1",
"preArgs": [],
"target": [],
"bypass": false,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "svg",
"top": 150,
"left": 0,
"id": "rgb_svg",
"linkId": "",
"width": "100%",
"height": 190,
"label": "auto",
"css": "path {\n fill:none;\n stroke-width:3rem\n}",
"svg": "#{\n\n# build the data array\n# [ [r,g,b], [r,g,b], [r,g,b], etc ]\ndata = @{rgb_matrix};\n\n# extract channels and convert to relative y-axis coordinates\n# assuming the y-range is 0-255\n# 96 - val * 94 for padding and y-axis reversal\n# we add a small offset to make sure the 3 lines are always visible\n\nred = 96 - flatten(data[0:end,0]) / 255 * 94 + 2;\ngreen = 96 - flatten(data[0:end,1]) / 255 * 94;\nblue = 96 - flatten(data[0:end,2]) / 255 * 94 - 2;\n\n# build the x-axis relative coordinates array\n\nlength = size(red)[0]\nxaxis = (0:length) / (length-1) * 100;\n\n\n# convert coords to svg path string\nsvgCoords(color) = map(color, f(c,i)=print(\"L$0%x $1%y\", [xaxis[i], c]));\n\n# svg path first command must be \"M\", not \"L\" \nsvgString(color) = concat(\"M\", unpack(svgCoords(color))[1:end]);\n\n}\n\n\n<path stroke=\"red\" d=\"#{svgString(red)}\" />\n<path stroke=\"lime\" d=\"#{svgString(green)}\" />\n<path stroke=\"blue\" d=\"#{svgString(blue)}\" />",
"preArgs": [],
"address": "/rgb_svg",
"default": "",
"value": ""
},
{
"type": "matrix",
"top": 0,
"left": 0,
"id": "rgb_matrix",
"width": "100.60%",
"height": 150,
"label": "auto",
"color": "auto",
"css": "",
"widgetType": "rgb",
"matrix": [
8,
1
],
"start": 0,
"spacing": 0,
"traversing": false,
"props": {
"input": false,
"label": false
},
"default": "",
"value": "",
"precision": 2,
"address": "/matrix_1",
"preArgs": [],
"target": [],
"bypass": false,
"linkId": "",
"border": true
}
],
"tabs": [],
"scroll": true
}
],
"id": "root",
"linkId": "",
"color": "auto",
"css": "",
"default": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"bypass": false,
"variables": {},
"traversing": false,
"scroll": true,
"label": false
}

View file

@ -1,102 +0,0 @@
{
"type": "root",
"tabs": [
{
"type": "tab",
"id": "tab_1",
"label": "Sysex Example",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_1",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "push",
"top": 10,
"left": 20,
"id": "push_1",
"linkId": "",
"width": 200,
"height": "auto",
"label": "Send Device Inquiry",
"color": "auto",
"css": "",
"on": "f0 7e 7f 06 01 f7",
"norelease": true,
"precision": 0,
"address": "/sysex",
"target": [
"midi:osc"
],
"preArgs": [],
"off": 0,
"doubleTap": false,
"value": "",
"bypass": false
},
{
"type": "text",
"top": 80,
"left": 20,
"id": "text_1",
"width": 200,
"height": 60,
"label": "Device Inquiry Response",
"color": "auto",
"css": "",
"vertical": false,
"preArgs": [],
"address": "/sysex",
"value": "",
"linkId": "",
"wrap": false,
"align": "",
"default": ""
},
{
"type": "text",
"top": 150,
"left": 20,
"id": "text_2",
"width": 200,
"height": 240,
"label": "^info-circle",
"color": "auto",
"css": "",
"preArgs": [],
"address": "/text_2",
"vertical": false,
"value": "",
"linkId": "",
"wrap": false,
"align": "",
"default": ""
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"variables": {},
"id": "root",
"linkId": "",
"default": "",
"bypass": false,
"traversing": false,
"scroll": true,
"label": false
}

View file

@ -1 +0,0 @@
require('./server/open-stage-control-server')

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<html id="launcher">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<link rel="preload" href="../assets/fonts/roboto-medium.woff" as="font"/>
<link rel="preload" href="../assets/fonts/fa-solid-900.woff" as="font"/>
<link rel="stylesheet" type="text/css" href="../assets/open-stage-control.css"/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/fa-solid.css"/>
<link rel="stylesheet" type="text/css" href="../assets/fonts/roboto-medium.css"/>
<script src="open-stage-control-launcher.js"></script>
</head>
<body>
<div id="loading"><div class="spinner"></div></div>
</body>
</html>

View file

49
basesession.json Normal file
View file

@ -0,0 +1,49 @@
{
"createdWith": "Open Stage Control",
"version": "1.31.2",
"type": "session",
"content": {
"type": "root",
"lock": false,
"id": "root",
"visible": true,
"interaction": true,
"comments": "",
"width": "auto",
"height": "auto",
"colorText": "auto",
"colorWidget": "auto",
"alphaFillOn": "auto",
"borderRadius": "auto",
"padding": "auto",
"html": "",
"css": "",
"colorBg": "auto",
"layout": "default",
"justify": "start",
"gridTemplate": "",
"contain": true,
"scroll": true,
"innerPadding": true,
"tabsPosition": "top",
"hideMenu": false,
"variables": "@{parent.variables}",
"traversing": false,
"value": "",
"default": "",
"linkId": "",
"address": "auto",
"preArgs": "",
"typeTags": "",
"decimals": 2,
"target": "",
"ignoreDefaults": false,
"bypass": false,
"onCreate": "",
"onValue": "",
"onTouch": "",
"onPreload": "",
"widgets": [],
"tabs": []
}
}

8
docker-compose.yml Normal file
View file

@ -0,0 +1,8 @@
services:
app:
build: .
volumes:
- ./sessions:/sessions
ports:
- 8080:8080

10
entrypoint.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
test -f "$LOAD" || cp "basesession.json" "$LOAD"
exec node app/index.js \
--port $PORT \
--osc-port $OSC_PORT \
--send $SEND \
--load $LOAD \
--read-only=$READ_ONLY

9718
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "Libre and modular OSC / MIDI controller",
"version": "0.49.2",
"version": "1.31.2",
"author": {
"name": "Jean-Emmanuel Doucet",
"email": "jean-emmanuel@ammd.net"
@ -15,88 +15,96 @@
],
"repository": {
"type": "git",
"url": "https://github.com/jean-emmanuel/open-stage-control"
"url": "https://framagit.org/jean-emmanuel/open-stage-control"
},
"homepage": "http://openstagecontrol.ammd.net/",
"license": "GPL-3.0",
"dependencies": {
"@babel/core": "7.8.3",
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/polyfill": "7.8.3",
"@babel/preset-env": "7.8.3",
"ansi-html": "0.0.7",
"babel-eslint": "10.0.3",
"@babel/core": "7.18.0",
"@babel/preset-env": "7.18.0",
"@electron/packager": "18.4.4",
"@electron/remote": "2.1.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"ace-builds": "1.39.0",
"ansi-html": "0.0.9",
"babelify": "10.0.0",
"bonjour": "github:jean-emmanuel/bonjour",
"browserify": "16.5.0",
"cardinal-spline-js": "2.3.10",
"core-js": "3.6.4",
"balanced-match": "2.0.0",
"bonjour": "git+https://framagit.org/jean-emmanuel/bonjour.git",
"chokidar": "3.5.3",
"chroma-js": "2.4.2",
"core-js": "3.22.5",
"cpr": "3.0.1",
"deep-extend": "0.6.0",
"electron-localshortcut": "3.2.1",
"electron-packager": "14.2.0",
"electron-packager-plugin-non-proprietary-codecs-ffmpeg": "1.0.2",
"eslint": "6.8.0",
"exorcist": "1.0.1",
"file-saver": "2.0.2",
"gyronorm": "2.0.6",
"jquery": "3.4.1",
"json5": "2.1.1",
"env-paths": "2.2.1",
"eslint": "8.16.0",
"fastdom": "1.0.10",
"file-saver": "2.0.5",
"http-auth": "4.1.9",
"json5": "2.2.1",
"jsondiffpatch": "0.4.1",
"keyboardjs": "github:jean-emmanuel/KeyboardJS",
"licensify": "3.1.3",
"loop-protect": "github:jean-emmanuel/loop-protect#v1.0.1",
"mathjs": "5.10.0",
"minimatch": "3.0.4",
"nanohtml": "1.9.0",
"nanoid": "2.1.10",
"nanomorph": "5.4.0",
"node-sass": "4.13.1",
"nodemon": "2.0.2",
"nosleep.js": "0.9.0",
"osc": "2.4.0",
"python-shell": "1.0.8",
"sanitize-html": "1.20.1",
"keyboardjs": "2.6.4",
"minimatch": "5.1.0",
"nanohtml": "1.10.0",
"nanoid": "3.3.4",
"nanomorph": "5.4.3",
"node-forge": "1.3.1",
"node-mouse": "0.0.2",
"nodemon": "2.0.16",
"nosleep.js": "0.12.0",
"open": "8.4.0",
"osc": "2.4.5",
"python-shell": "3.0.1",
"qrcode": "1.5.1",
"replacestream": "4.0.3",
"rollup": "4.50.1",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-license": "^3.6.0",
"rollup-plugin-node-externals": "^8.1.1",
"sass": "1.89.2",
"scope-css": "1.2.1",
"screenfull": "5.0.1",
"send": "0.17.1",
"source-map-support": "0.5.16",
"screenfull": "5.2.0",
"semver": "7.3.7",
"send": "0.18.0",
"sortablejs": "1.15.0",
"source-map-support": "0.5.21",
"stacktrace-js": "2.0.2",
"through": "2.3.8",
"uglifyify": "5.0.2",
"webworkify": "1.5.0",
"ws": "7.2.1",
"yargs": "15.1.0"
"ua-parser-js": "2.0.7",
"ws": "8.6.0",
"yargs": "17.5.1"
},
"optionalDependencies": {
"electron": "7.1.10",
"electron-installer-debian": "3.0.0"
"electron": "36.9.5",
"electron-installer-debian": "3.1.0",
"electron-installer-redhat": "git+https://framagit.org/jean-emmanuel/electron-installer-redhat.git"
},
"scripts": {
"postinstall": "echo '\\033[36m=> Dependencies installed successfully. Run \"npm run build\" to build the assets.\\033[0m\n'",
"start": "electron app/",
"build": "npm run build-css && npm run build-js && node scripts/copy-assets.js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'",
"build": "npm run build-css && npm run build-js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'",
"package": "node scripts/package.js",
"package-rpi": "node scripts/package.js --old-rpi",
"package-node": "node scripts/package-node.js",
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon resources/images/logo.png",
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png",
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon resources/images/logo.png",
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/ --icon resources/images/logo.png",
"rpm64": "electron-installer-redhat --src dist/open-stage-control-linux-x64/ --arch x86_64 --dest dist/ --icon resources/images/logo.png",
"build-css": "node scripts/build-css.js",
"build-js": "npm run build-launcher-js && npm run build-client-js -- --prod && npm run build-server-js",
"build-client-js": "node scripts/build-client.js",
"build-launcher-js": "node scripts/build-launcher.js",
"build-server-js": "node scripts/build-server.js",
"watch-client": "npm run build-client-js -- --watch",
"watch-browser": "npm run build-client-js -- --watch",
"watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"",
"build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets-reference.md && cd resources && npm run build",
"test": "eslint src && npm run build && node tests/test.js"
"build-js": "npm run build-launcher-js && npm run build-client-js && npm run build-server-js",
"build-client-js": "rollup -c scripts/client.rollup.config.js",
"watch-client": "npm run build-client-js -- --watch",
"build-server-js": "rollup -c scripts/server.rollup.config.js",
"watch-server": "npm run build-server-js -- --watch",
"build-launcher-js": "rollup -c scripts/launcher.rollup.config.js",
"watch-launcher": "npm run build-launcher-js -- --watch",
"build-docs": "rollup -c scripts/docs.rollup.config.js && node src/docs/widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && python3 -m mkdocs build",
"lint": "eslint src --ext mjs",
"test": "npm run lint && npm run build"
},
"engines": {
"node": ">=6"
},
"devDependencies": {
"watchify": "3.11.1"
"node": ">=16"
}
}

View file

@ -1,3 +0,0 @@
theme/styles.css
site/*
!site/.htaccess

View file

@ -1,9 +1,9 @@
# How to build the docs
```bash
$ sudo apt-get install python python-pip # python package manager
$ sudo pip install mkdocs # docs site builder
$ sudo pip install mkdocs-material # theme
# https://squidfunk.github.io/mkdocs-material/getting-started/
$ python3 -m pip install mkdocs-material
$ mkdocs serve # make docs available on http://127.0.0.1:8000
# or

View file

@ -1 +0,0 @@
docs/getting-started.md

View file

@ -1,101 +0,0 @@
# Advanced property syntax
## Inheritance: `@{id.property}`
Widgets can use each other's properties values and update automatically when they change by using this syntax.
- `id`: the target widget's `id`
- `property`: is the target widget's property name
#### Value
The property name (and the dot) can be omitted and defaults to `value` (`@{widgetId}` => `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property
#### `this` & `parent`
A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work.
#### Dynamic properties
Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive.
Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a <i class="dynamic-prop-icon" title="dynamic"></i>.
#### Circular references cases
- container widgets can inherit their children's properties only to define `dynamic` properties
- widgets can inherit their own `value`<i class="dynamic-prop-icon" title="dynamic"></i> property only to define `dynamic` properties
#### Object properties
If the retreived property is an object (`{}`) or an array (`[]`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
#### Nesting
The inheritance syntax supports 1-level nesting : `@{fader_@{toggle_1}}`
## OSC listeners: `OSC{address, default, usePreArgs}`
This syntax allows listening on an osc address to define a property.
- `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property
- `default` (optional): default value returned before any message is received
- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` and (these must be matched for the osc messages to be processed). Set to `false` bypass them.
#### Dynamic address
The `address` can contain `@{}` blocks
## Javascript: `JS{{ <code> }}`
This syntax allows writing formulas in pure javascript. The code will be compiled as a function and executed in a restricted context.
- if no `return` statement is found, the formula will return an empty string
- javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled
- `setTimeout` and `setInterval` functions are not available
- the `global` object is shared between all javascript formulas (changing its properties *does not* trigger any synchronisation even if the value is used somewhere else)
In this context, `@{} / OSC{}` are seen as variables, not as the value they hold,
Parsing errors can be read in the DevTool console (F12).
## Formulas: `#{}`
!!! warning "Deprecated"
This syntax is now deprecated and will be removed in the future, sessions using it will be working for a few more versions but users are strongly encouraged to migrate to the javascript syntax.
The following syntax allow writing mathematical formulas in widgets' properties:
```
#{FORMULA}
```
Where FORMULA is a valid [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression:
- [syntax documentation](http://mathjs.org/docs/expressions/syntax.html)
- [available functions](http://mathjs.org/docs/reference/functions.html)
- [available constants](http://mathjs.org/docs/reference/constants.html)
- formulas can be [multiline](http://mathjs.org/docs/expressions/syntax.html#multiline-expressions)
- property inheritance calls (`@{...}`) are always resolved before formulas
- arrays / matrices indexes are **zero-based** (ie `["a","b"][0]` returns `"a"`)
- strings can be multiline when enclosed in backticks instead of double quotes (``` ` ` ```)
Additionnal functions:
- `indexOf(a, x)`: returns index of item `x` in array `a`
- `unpack(x)`: remove an array's brackets (`unpack([1,2])` returns `"1, 2"`)
- `pad(x, padding)`: add leading zeros if the length of the integer part of `x` is smaller than `padding` (`pad(1,2)` returns `"01"`)
- `length(x)`: returns the length of an array or string
- `keys(x)`: returns an array of a given object's property names (from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys))
- `values(x)`: returns an array of a given object's own enumerable property values (from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values))
- `extend(x, y)`: merges two objects into one
!!! tip ""
A single widget property can contain multiple formulas. Variables and functions declared in a formula are available to subsequent formulas in the same property definition.

View file

@ -0,0 +1 @@
../../../CHANGELOG.md

View file

@ -0,0 +1,26 @@
Client options can be set either with the server's `--client-options` option, or per client by adding query parameters to the server's url. One must prepend the url with a question mark (`?`) followed by `parameter=value` pairs separated with ampersands (`&`).
| Option | Value | Default | Description |
|----|----|----|----|
| hdpi | 1 / 0 | 0 | enable high resolution canvas |
| forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) |
| doubleTap | number | 375 | sets the double tap/click time threshold in milliseconds |
| zoom | number | 1 | sets the initial zoom |
| framerate | number | 60 | limit canvas drawing framerate |
| desyncCanvas | number | 0 | set to 1 to enable desynchronized canvas (may improve rendering performances) |
| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr, de, pl) |
| consoleLength | number | 300 | sets the maximum number of log messages in the client's console |
| id | string | *random_id* | client's unique id (use with caution: two clients should never have the same id) |
| usePercents | 1 / 0 | 0 | sets the editor's "relative units" option |
| noFocus | 1 / 0 | 0 | (built-in client only) prevent the client window from taking focus |
| clientSync | 1 / 0 | 1 | set to 0 to prevent the client from syncing with other clients |
| altTraversing | 1 / 0 | 0 | set to 1 to enable an alternative traversing behavior for toggle buttons (traversing gestures on toggle buttons will change their values in only one way depending on the first touched button's state) |
| virtualKeyboard | 1 / 0 | 0 | (desktop only) set to 1 to enable the virtual keyboard by default |
| notifications | 1 / 0 | 1 | set to 0 to hide notifications by default |
| title | string | '' | replace window title |
| noWarning | 1 / 0 | 0 | set to 0 to disable unsaved session warnings |
Example:
`http://server-ip:port?hdpi=1`

View file

@ -1,12 +1,40 @@
## License
Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2020.
This program is a free software released under the [GNU/GPL3](https://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license.
Copyleft © Jean-Emmanuel Doucet 2014-2025.
This program is a free software released under the [GNU/GPL3](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/LICENSE) license.
## Dependencies
Open Stage Control relies on several other free softwares, including [Node.js](https://nodejs.org/), [Electron](http://electron.atom.io/), [osc.js](https://github.com/colinbdclark/osc.js), [babel](http://babeljs.io/), [browserify](http://browserify.org), [exorcist](https://github.com/thlorenz/exorcist), [express](http://expressjs.com), [node-sass](https://github.com/sass/node-sass), [jQuery](http://jquery.com/), [jQuery-UI](http://jqueryui.com/), [Font Awesome](http://fontawesome.io/), [stacktracejs](http://stacktracejs.com), [mathjs](http://mathjs.org/). A comprehensive and up-to-date list can be found [here](https://github.com/jean-emmanuel/open-stage-control/network/dependencies).
Open Stage Control relies on several other free softwares listed in [package.json](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/package.json).
The default theme was based on [Nord](https://www.nordtheme.com/), some UI components were inspired by the text editor formerly known as Atom (now [Pulsar](https://pulsar-edit.dev/)).
## Contributors
https://github.com/jean-emmanuel/open-stage-control/graphs/contributors
[Jean-Emmanuel](https://framagit.org/jean-emmanuel), [MartinHN](https://github.com/MartinHN), [Eric Theise](https://github.com/erictheise), [danielappelt](https://github.com/erictheise), [ritschwumm](https://github.com/ritschwumm), [matthijskooijman](https://github.com/matthijskooijman), [WillyKaze](https://github.com/WillyKaze), [stefanboca](https://github.com/stefanboca), [pixelnerve](https://github.com/pixelnerve), [AdamAdamsMusic](https://github.com/AdamAdamsMusic), [wicast](https://github.com/wicast), [kdallafior](https://github.com/kdallafior), [brunetton](https://github.com/brunetton), [cyberic99](https://github.com/cyberic99), [kdejaeger](https://github.com/kdejaeger), [trebmuh](https://github.com/trebmuh), [MagnusReichel](https://github.com/MagnusReichel), [jpcima](https://github.com/jpcima), [t1st3](https://github.com/t1st3")
## Infrastructure supports
----
<a href="https://ammd.net/" class="sp-logo">
<img src="/img/sponsors/ammd.png" width="140px"/>
</a>
AMMD hosts this website and made this project possible by funding its first 2 years of development.
----
<a href="https://discourse.org/" class="sp-logo">
<img src="/img/sponsors/discourse.png" width="140px"/>
</a>
Discourse provides the community forum.
----
<a href="https://browserstack.com/" class="sp-logo">
<img src="/img/sponsors/browserstack.png" width="140px"/>
</a>
BrowserStack provides remote browsers for debugging.

View file

@ -1,126 +0,0 @@
# Custom module
## Writing a custom module
Using the `-c / --custom-module` command-line switch, users can load a javascript file to tune the way Open Stage Control behaves regarding osc.
```js
// Do whatever you want, initialize some variables, declare some functions, ...
module.exports = {
init: function(){
// this will be executed once when the osc server starts
},
oscInFilter:function(data){
// Filter incomming osc messages
var {address, args, host, port} = data
// do what you want
// address = string
// args = array of {value, type} objects
// host = string
// port = integer
// return data if you want the message to be processed
return {address, args, host, port}
},
oscOutFilter:function(data){
// Filter outgoing osc messages
var {address, args, host, port} = data
// same as oscInFilter
// return data if you want the message to be and sent
return {address, args, host, port}
}
}
```
## Available globals
The module is executed in a restricted context, only a few globals are available :
- `console`: `object`
- `sendOsc`: `function({host, port, address, args})`
- `receiveOsc`: `function({host, port, address, args})`
- `send`: `function(host, port, address, arg1, arg2, ...)`
- `receive`: `function(host, port, address, arg1, arg2, ...)`
- `receive`: `function(address, arg1, arg2, ...)`
- `setTimeout`: `function(function, delay)`
- `clearTimeout`: `function(timeout)`
- `setInterval`: `function(function, delay)`
- `clearInterval`: `function(interval)`
- `settings.read`: `function(name)`, see [settings.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/settings.js#L55-L103) for available options
- `app`: an [event emitter](https://nodejs.org/api/events.html#events_class_eventemitter) for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/callbacks.js), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`)
- `options`: `array` containing the extra options passed to `--custom-module` after the filename
- `loadJSON`: `function(path)` loads a json file (path is relative to the custom module location)
- `saveJSON`: `function(path, object)` save an object/array to a json file (path is relative to the custom module location)
`sendOsc` and `receiveOsc` expect arguments formatted as follow:
- `address`: `string`
- `args`: `array` of `{type: "OSC_TYPE_LETTER", value: VALUE}` `objects`
- `host`: `string` ip address, valid hostname or `midi`
- `port`: `integer` port number or `string` midi device name
`send` and `receive` are shorthands for `sendOsc` and `receiveOsc` that don't require args to be formatted as objects (numbers are casted to floats by default):
```js
// calling
send('127.0.0.1', 5555, '/test' 1, 2, {type: 'i', value: 3})
// equals
sendOsc({
host: '127.0.0.1',
port: 5555,
address: '/test',
args: [
{type: 'f', value: 1},
{type: 'f', value: 2},
{type: 'i', value: 3},
]
})
```
## Managing big modules
Custom modules don't let you use node's `require` function at runtime, but you can manage your sources in multiple files and bundle them into a single file before loading it in Open Stage Control.
The common pattern for this is using the [browserify](http://browserify.org/) library:
**1**. define some variable in `number.js`
```javascript
module.exports = 42
```
**2**. retreive it in your main module file (`main.js`):
```javascript
var num = require('./number.js')
module.exports = {
init: function(){
console.log(num) // 42
},
oscInFilter: function(data){
// etc
}
}
```
**3**. bundle your sources into `custom-module.js`:
`browserify main.js -o custom-module.js --standalone module.exports`

View file

@ -0,0 +1,220 @@
# Custom module
Using the server's `custom-module` option, users can load a custom javascript module that filters incoming and outgoing OSC / MIDI messages.
## Writing a custom module
```js
// Do whatever you want
// initialize variables
// declare functions
// listen to app events
// load modules
// etc
module.exports = {
init: function(){
// this will be executed once when the osc server starts after
// connections are set up
// it is called for the main module only
},
stop: function(){
// this will be executed once when the osc server stops
// it is called for the main module only
},
reload: function(){
// this will be executed after the custom module is reloaded
// it is called for the main module only
},
oscInFilter:function(data){
// Filter incoming osc messages
var {address, args, host, port} = data
// do what you want
// address = string
// args = array of {value, type} objects
// host = string
// port = integer
// return data if you want the message to be processed
return {address, args, host, port}
},
oscOutFilter:function(data){
// Filter outgoing osc messages
var {address, args, host, port, clientId} = data
// same as oscInFilter
// return data if you want the message to be and sent
return {address, args, host, port}
},
unload: function(){
// this will be executed before the custom module is reloaded
// it is called for all modules, including other loaded modules
},
}
```
## Available globals
The module is executed in a restricted context, only a few globals are available :
----
#### `app`
[`Event Emitter`](https://nodejs.org/api/events.html#events_class_eventemitter), useful for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/src/server/node/ipc/callbacks.mjs), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`)
----
#### `receive(host, port, address, ...args, options)`
Send osc/midi message to connected clients. `host` and `port` can be specified to simulate a specific origin for the message.
- `host` (optional): `string` ip address, valid hostname or `"midi"`
- `port` (optional): `integer` port number or `string` midi device name
- `address`: osc address
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string).
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`)
For convenience, `host` and `port` can be provided both as single string argument joined with a colon.
----
#### `send(host, port, address, ...args)`
Send osc/midi to a target (see `receive()`).
----
#### `settings.read(name)`
Returns specified server option. `name` must be the option's long name without the leading dashes (ie: `"send"`, not `"s"`)
----
#### `settings.appAddresses()`
Returns the server's http addresses.
----
#### `loadJSON(path, errorCallback)`
Loads a json file (path is relative to the custom module location)
- `path`: `string`, path to file (any extension allowed, but the content must be valid JSON)
- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded
----
#### `saveJSON(path, data, errorCallback)`
Saves an object/array to a json file (path is relative to the custom module location)
- `path`: `string`, path to file (any extension allowed)
- `data`: `object`, `array` or any value that can be encoded to JSON
- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded
----
#### `require(path)`
Load another javascript module. Returns the value of `module.exports` defined in this module. If `path` is a relative path, it will be resolved against its parent module's path. See [Managing Big Modules](../managing-big-modules).
This function is different from node's native `require` function, it's merely a way to split a custom module into separate files.
----
#### `nativeRequire(moduleName)`
This function can be used to load native node modules or locally installed modules (e.g. with npm) if a `node_modules` folder is found in the custom module's location.
??? "Installing node modules: resources"
- https://nodejs.dev/
- https://nodejs.dev/learn/an-introduction-to-the-npm-package-manager
- https://nodejs.dev/learn/the-package-json-guide
----
#### `tcpServer`
Raw access to the server's [TCP backend](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/src/server/node/osc/tcp.mjs). Can be used to monitor the state of TCP connections:
```js
for (var ip in tcpServer.clients) {
tcpServer.clients[ip].port.on('ready', ()=>{
console.log(`TCP connection established with ${ip}:${tcpServer.clients[ip].remotePort}`)
})
tcpServer.clients[ip].port.on('close', ()=>{
console.log(`TCP connection lost with ${ip}:${tcpServer.clients[ip].remotePort}`)
})
}
```
#### `restartMidiBackend()`
This function can be used to restart the midi backend (if already running) without restarting the server
#### Other javascript globals
- `console`
- `setTimeout`
- `clearTimeout`
- `setInterval`
- `clearInterval`
- `__dirname`
- `__filename`
- `process`
- `global`
----
## Autoreload
Custom modules (including submodules loaded with `require()`) are reloaded automatically when they are modified. Upon reload, timers (`setTimeout` and `setInterval`) and event listeners (added to the  `app` object) are reset. After each reload the `module.exports.reload()` function (if any) is called.
The `global` object persists accross reloads.
??? "Reloading native modules"
When using modules loaded with `nativeRequire()`, you may need to tell the custom module how to unload some components to allow reloading using the `module.exports.unload` definition. For example, if a port is bound using the `http` module, you'll need to unbind it otherwise the custom module will fail to bind it again when reloading:
```js
var http = nativeRequire('http'),
server = http.createServer((req, res)=>{
res.writeHead(200)
res.end('Hello world')
})
server.listen(5555, 'localhost')
module.exports = {
unload: function() {
server.close()
// otherwise you'd get "Error: listen EADDRINUSE: address already in use 127.0.0.1:5555"
}
}
```

View file

@ -0,0 +1,471 @@
## Basic address routing
```js
module.exports = {
oscInFilter:function(data){
var {address, args, host, port} = data
if (address === '/some_address') {
address = '/fader_1'
}
return {address, args, host, port}
},
oscOutFilter:function(data){
var {address, args, host, port, clientId} = data
if (address === '/fader_1') {
address = '/some_address'
}
return {address, args, host, port}
}
}
```
## Value conversion
```js
module.exports = {
oscInFilter:function(data){
var {address, args, host, port} = data
if (address === '/some_address') {
args[0].value = args[0].value * 10
}
return {address, args, host, port}
},
oscOutFilter:function(data){
var {address, args, host, port, clientId} = data
if (address === '/some_address') {
args[0].value = args[0].value / 10
}
return {address, args, host, port}
}
}
```
## Arguments split / merge
```js
var xyValue = [0, 0]
module.exports = {
oscInFilter:function(data){
var {address, args, host, port} = data
// split
if (address === '/some_xy_address') {
var arg1 = args[0].value,
arg2 = args[1].value
receive('/fader_1', arg1)
receive('/fader_2', arg2)
return // bypass original message
}
return {address, args, host, port}
},
oscOutFilter:function(data){
var {address, args, host, port, clientId} = data
// merge
if (address === '/fader_1') {
xyValue[0] = args[0].value
send(host, port, '/some_xy_address', ...xyValue)
return // bypass original message
} else if (address === '/fader_2') {
xyValue[1] = args[1].value
send(host, port, '/some_xy_address', ...xyValue)
return // bypass original message
}
return {address, args, host, port}
}
}
```
## Reply
```js
module.exports = {
oscInFilter:function(data){
var {address, args, host, port} = data
if (address === '/knock_knock') {
send(host, port, '/who_is_there')
return // bypass original message
}
return {address, args, host, port}
},
}
```
## Simulate user input on a single client
```js
// keep track of connected clients
var clients = []
app.on('open', (data, client)=>{
if (!clients.includes(client.id)) clients.push(client.id)
})
app.on('close', (data, client)=>{
if (clients.includes(client.id)) clients.splice(clients.indexOf(client.id))
})
module.exports = {
oscInFilter:function(data){
var {address, args, host, port} = data
if (address === '/some_osc_address') {
// simulate user input on the first client in the array
receive('/SET', 'widget_id', 1, {clientId: clients[0]})
return // bypass original message
}
return {address, args, host, port}
}
}
```
## Auto-save client state
```js
// store state in a variable
var state = {}
// keep track of connected clients
var clients = []
app.on('sessionOpened', (data, client)=>{
// client connected (and in a session)
if (!clients.includes(client.id)) clients.push(client.id)
// when a client opens a session, send the state
// but only if it's the only connected client (otherwise, let the regular sync happen)
if (clients.length === 1) {
receive('/STATE/SET', state, {clientId: clients[0]})
}
})
app.on('close', (data, client)=>{
// client disconnected
if (clients.includes(client.id)) clients.splice(clients.indexOf(client.id))
})
// request 1st client's state every 10 seconds
setInterval(()=>{
if (clients.length > 0) {
receive('/STATE/GET', '127.0.0.1:8888', {clientId: clients[0]})
}
}, 10000)
module.exports = {
oscOutFilter: function(data) {
if (data.address === '/STATE/GET') {
// update state variable when the client responds
state = data.args[0].value
// bypass the osc message
return
}
return data
}
}
```
## MIDI routing
```js
var routing = {
// midi cc vs widget id
60: 'fader_1',
61: 'fader_2',
// etc
}
module.exports = {
oscInFilter:function(data){
// Filter incoming osc messages
var {address, args, host, port} = data
if (host === 'midi') {
// MIDI routing !
if (address === '/control') {
// assign args to variables
var [channel, ctrl, value] = args.map(arg=>arg.value)
// simple conditions
if (ctrl === 80) receive('/SET', 'widget_id', value / 127)
// simple routing table (midi cc vs widget id)
if (routing[ctrl]) receive('/SET', routing[ctrl], value / 127)
// note: /SET simulates a user interaction and makes the widget send its osc message
// but it adds some delay (we wait for the UI to respond)
// AND it may trigger multiple replies if more than one client are connected.
// Alternatively, we could do this:
// send('/osc_address', value / 127)
// receive('/osc_address', value / 127)
// Or, to send /SET to a single client:
// receive('/SET', '/osc_address', value / 127, {clientId: ID})
}
return // bypass original message
}
// return data if you want the message to be processed
return {address, args, host, port}
}
}
```
## Read file
```js
var fs = nativeRequire('fs')
module.exports = {
oscOutFilter:function(data){
// Filter outgoing osc messages
var {address, args, host, port} = data
if (address === '/file') {
fs.readFile(args[0].value, 'utf8' , (err, data) => {
if (err) {
console.error(err)
return
}
receive('/html', data)
})
return // bypass original message
}
// return data if you want the message to be processed
return {address, args, host, port}
}
}
```
## Display RTSP Stream
```js
// requires ffmpeg installed on the system
// and rtsp-ffmpeg installed in the custom module's folder (by running npm install rtsp-ffmpeg)
// see https://github.com/agsh/rtsp-ffmpeg#ffmpeg for available options
var rtsp = nativeRequire('rtsp-ffmpeg')
var stream = new rtsp.FFMpeg({
input: 'rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream',
})
stream.on('data', (data)=>{
// send frame to image widget with address set to "/stream"
receive('/stream', 'data:image/jpeg;base64,' + data.toString('base64'))
})
module.exports = {
unload: ()=>{
stream.stop()
}
}
```
## Custom module merger
```js
var submodules = [
require('./custom_modA.js'),
require('./custom_modB.js'),
// etc
]
module.exports = {
init: function(){
for (var m of submodules) {
if (m.init) m.init()
}
},
reload: function(){
for (var m of submodules) {
if (m.reload) m.reload()
}
},
oscInFilter: function(data){
for (var m of submodules) {
if (m.oscInFilter) data = m.oscInFilter(data)
if (!data) return
}
return data
},
oscOutFilter: function(data){
for (var m of submodules) {
if (m.oscOutFilter) data = m.oscOutFilter(data)
if (!data) return
}
return data
}
}
```
## Dynamic widget creation
```js
function create_widgets() {
receive('', '', '/EDIT', 'root', {
widgets: [{
type: 'panel',
id: 'my_panel',
layout: 'vertical',
width: '100%',
height: '200%',
widgets: [
{
type: 'text',
id: 'notice',
value: 'Hello, world!',
width: '100%',
},
{
type: 'button',
id: 'button',
address: '/foo',
preArgs: [1],
},
]
}]
})
}
module.exports = {
reload: function(){
// Create widgets whenever the custom modules is edited
create_widgets()
},
}
// Create widgets whenever an existing session is loaded
app.on('sessionOpened', ()=>{
create_widgets()
})
// And when a new session is created
app.on('sessionSetPath', (e)=>{
if (e.path === '') {
create_widgets()
}
})
```
## Simple bridge
```js
module.exports = {
oscInFilter: function(data) {
// pass through incoming messages directly to another application
send('127.0.0.1', 12345, data.address, ...args)
return data // let original message reach clients / widgets
}
}
```

View file

@ -0,0 +1,22 @@
Starting with `v1.6.0`, custom modules can load submodules with the `require()` function.
**1**. define some variable in `number.js`
```javascript
module.exports = 42
```
**2**. retrieve it in your main module file (`main.js`):
```javascript
var num = require('./number.js')
module.exports = {
init: function(){
console.log(num) // 42
},
oscInFilter: function(data){
// etc
}
}
```

View file

@ -1,11 +1,17 @@
# CSS Tips
## Browser inspector
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retrieving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon (![x](/img/inspect.png)) and click on a element in the interface to reveal its html code.
## Inline syntax
For simple use cases, the `css` property can be written as a HTML inline styles (without any CSS selector). CSS rules will apply to the widget element.
```css
opacity: 0.5; /* make the widget's transparent */
opacity: 0.5; /* make the widget transparent */
font-size: 120%; /* increase font-size */
```
@ -21,17 +27,17 @@ CSS selectors can be used to apply styles to specific elements:
*/
}
.label {
/* style for the .label elements */
label {
/* style for the label elements */
}
> .label {
/* style for the direct child .label element */
> label {
/* style for the direct child label element */
}
```
!!! warning ""
!!! info ""
Mixing Inline and Selector syntaxes doesn't work, once you use selectors, you have to use the `:host` selector to target the widget element.
## Extra css classes: `class`
@ -39,23 +45,16 @@ CSS selectors can be used to apply styles to specific elements:
This non-standard css property can be used to add custom css classes to the widget element: `class: my-custom-class;`
Multiple classes can be added (one per `class` statement). Custom classes are always added to the widget's root element, css selectors are ignored.
!!! warning ""
!!! info ""
Using class names that are already used in the app can be hazardous. In order to avoid that, custom class names should be prefixed with something uncommon and preferably cool, such as `xxx-myclass` or `crispy-seitan-myclass`.
## Layering: `z-index`
Z-Axis ordering can be set using the `z-index` rule. Absolutely positionned widgets (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
## Layering: `pointer-events`
To make a widget ignore interactions (ie to be able to click through it), add `pointer-events:none;`.
!!! note ""
This is always ignored when the editor is enabled.
Z-Axis ordering can be set using the `z-index` rule. Widgets positioned at absolute coordinates (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
## Responsive sizing
In most cases, using percentages in `height` and `width` will do. CSS `calc()` function can help in some cases (set the corresponding property to `auto` to avoid conflicts):
In most cases, using `vertical`, `horizontal` or `grid` layouts as well as using percentages in `height` and `width` will do. CSS `calc()` function can help in some cases (set the corresponding property to `auto` to avoid conflicts):
```css
:host {
@ -86,22 +85,16 @@ Media queries can also be used:
- use `%` for font-size
## CSS Variables
## CSS variables
CSS Variables declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden. Some widgets also use specific CSS variables (mostly to define colors) documented on their respective pages.
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overridden.
## Other tips
Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description.
#### Use the inspector
# Loading images
Hit `F12` to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets.
#### Panel's background-color
This works for panel, strip and tabs:
```css
> .panel {
background-color: red;
}
```
Image urls are resolved in this order:
- in the session's directory
- in theme's directory
- in the server's `remote-root` directory if the option is set
- as absolute paths

View file

@ -0,0 +1,36 @@
## Built-in themes
Themes can be loaded with the `--theme` option. Multiple themes can be combined. Built-in themes can be loaded using their name, custom theme files can be loaded using their path.
Available themes (full color scheme):
- `nord`: arctic color palette (https://www.nordtheme.com/)
- `orange`: grey and orange theme
## Creating a custom theme
Creating a custom theme is as simple as writing a tiny css file that will override the default css variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) :
```css
:root {
--color-accent: red;
}
```
This will change the default accent color to red. Variables can also be overridden for a specific subset of elements, for example :
```css
.panel-container {
--color-accent: blue;
}
```
This will change the default accent color to blue for all elements in panel widgets.
## Autoreload
Theme files are reloaded automatically when they are modified.
## SCSS
If you want to use the [SCSS](https://sass-lang.com/documentation/syntax) syntax to write your theme, follow the [Running from sources](../../getting-started/running-from-sources) instructions, create a `.scss` file in `src/scss/themes/` and run `npm run watch-css`. The theme will be watched and compiled automatically to a css file located in `app/assets/themes/` (css files in this directory can be selected from the theme option by their name, without .css suffix).

View file

@ -1,99 +0,0 @@
# Editing sessions
The session editor can be enabled from the sidepanel. Once enabled, clicking on a widget will make it the *selected widget*.
## Root panel
The root panel can be selected by clicking on the "Root" button in the sidepanel.
## Context menu
Right clicking / long touch on a widget or on a tab will also display a context menu providing useful utilities :
- `Edit parent`: select widget's parent for edition
- `Copy`: copy widget's data
- `Cut`: copy widget's data and delete selected widget
- `Wrap in`: wrap the widget in a new container
- `Paste`: paste copied widget in selected container
- `Paste`: paste the widget as is
- `ID + 1` : increments the id of the copied widget (and all its children) before pasting
- `Clone` : create a clone widget targetting the copied widget
- `Add widget`: create a new widget in selected container
- `Add tab`: create a new tab in selected container
- `Delete`: delete selected tab or widget
## Open / Save
By default, sessions are saved and opened on the server's filesystem. When saving a session opened by mutliple clients, these will reload the session file automatically.
!!! note
It is possible to limit this feature to specific client addresses by using the server's `--remote-saving` option. For example:
`open-stage-control --remote-saving 127.0.0.1|192.168.0.10`
Will disable remote saving except for the clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
## Import / Export
Sessions can be exported/imported on the device's filesystem, doing so has a few limitations:
- the session's name won't appear in the window's title
- the session won't be added to the session history
## Grid
By default, widget resizing / dragging snaps to a 10 pixel wide grid. Its width can be customized in the editor (when it's enabled). Setting its width to 1 will disable it. Note that the grid doesn't affect manual setting of a widget's size / position.
## Properties
Selected widget's properties are displayed and can be modified in the sidepanel. The [widgets reference](/docs/widgets-reference) section lists the available properties for each widget type. Property fields are all multiline (press `shift + enter` for new line).
Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory. All input will be converted to standard JSON.
## Widget resizing / dragging
Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle. Using this feature will convert position and size values to plain number values, thus breaking previously set percent or inherited values.
## Keyboard shortcuts
The following shortcuts are always available:
| Shortcut | Description |
|---|---|
| `mod + e` | enable/disable editor |
| `mod + s` | save session |
| `mod + shift s` | export session as... |
| `mod + o` | open a session file |
The following shortcuts are available only when the editor is enabled:
| Shortcut | Description |
|---|---|
| `mod + click`* | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| `shift + click + drag`* | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If `mod` is pressed too, current selection is kept and will be merged with the new one if possible. |
| `f2` | Edit selected widget's label |
| `mod + z` | Undo |
| `mod + y / mod + shift + z` | Redo |
| `delete` (`backspace` on Mac) | Delete selected widgets |
| `mod + c` | Copy selected widgets |
| `mod + x` | Cut selected widgets |
| `mod + v` | Paste clipboard in selected widget |
| `mod + shift + v` | Paste and increment id |
| `up, down, left, right` | Move selected widgets (1 grid unit, hold `shift` for 5 grid units) |
| `alt + [up, down, left, right]` | Resize selected widgets (1 grid unit, hold `shift` for 5 grid units) |
| `mod + a` | Select current widget's siblings and itself |
| `mod + shift + a` | Cancel current widget selection |
| `mod + up` | Select current widget's parent |
| `mod + down` | Select current widget's first child |
| `mod + right` | Select current widget's next sibling |
| `mod + left` | Select current widget's previous sibling |
Where `mod` is `ctrl` except on MacOs (`command`)
!!! note "* Multi-widgets editing"
- selection can only contain sibling widgets (same direct parent)
- context-menu actions and properties changes apply to all selected widgets
- resizing / dragging will affect all selected widgets, relatively to the first selected widget

View file

@ -1,46 +0,0 @@
# Community examples
Feel free to submit your own by [opening an issue](https://github.com/jean-emmanuel/open-stage-control/issues/new?title=[example]) on github.
## Ardour
[Ardour Control](https://github.com/jean-emmanuel/ardour-control)
![](https://user-images.githubusercontent.com/5261671/30510969-39451104-9acf-11e7-8ee0-6e93fa34464d.png)
## Reaper
[Reaper OSC Panels](https://github.com/ThrashJazzAssassin/REAPER-OSC-panels)
![](https://raw.githubusercontent.com/ThrashJazzAssassin/REAPER-OSC-panels/master/ReaperOSCtja0.1.7-1.PNG)
## QLab
[QLab Cook Book / Open Stage Control](https://qlabcookbook.com/tag/open-stage-control/)
![](https://user-images.githubusercontent.com/36141834/37744217-be4b5f7e-2d65-11e8-9b83-64ca245417d4.jpg)
## Bitwig
[Open Stage Control Bitwig](https://github.com/kdejaeger/open-stage-control-bitwig)
![](https://raw.githubusercontent.com/kdejaeger/open-stage-control-bitwig/master/img/mixer_nexus_9.png)
[OpenStageControl4Bitwig](http://www.mossgrabers.de/Software/Bitwig/Bitwig.html)
- https://www.youtube.com/watch?v=u-fgArpsHQQ
- https://www.youtube.com/watch?v=RvEMlo72ynQ
## Cubase
[Manaberry's UI](https://vi-control.net/community/threads/open-stage-control-tutorial-an-alternative-to-lemur-and-touchosc.72643/)
![](https://user-images.githubusercontent.com/5261671/57039426-dce07780-6c5c-11e9-96ce-1f11b472c704.jpg)
# Ableton
[Hiram's AaMakro5oul](https://github.com/hiramegl/AaMakro5oul) (v0.23.0 only)
![](https://raw.githubusercontent.com/hiramegl/AaMakro5oul/master/AaMakro5oul/doc/images/AaMakro5oul_Mix.jpg)

View file

@ -1,195 +0,0 @@
# Getting started
!!! tip ""
Prebuilt binaries for Linux, Windows and OS X can be found on the [release](https://github.com/jean-emmanuel/open-stage-control/releases) page.
## Supported platforms
Open Stage Control is a *desktop* server application. It runs on all [platforms supported by Electron](https://electron.atom.io/docs/tutorial/supported-platforms/) or [Node](https://nodejs.org/en/) (in headless mode only, see [Running without Electron](#running-without-electron)). Any device running a compatible browser can connect to the server :
- Chrome/Chromium version `50` or later (Linux, MacOS, Windows, Android, etc)
- iOS version `9.3` or later
!!! tip "Android / iOS native app ?"
There is no native mobile application. The server's url can be added to the home screen to launch the interface in fullscreen.
## Options
Below are the available command-line options. Note that when running without any command-line switch (ie from a file browser), a launcher window will spawn to help setting them.
!!! tip ""
Preferences are stored in the user's home folder in a file named `.open-stage-control` (hidden under Linux / macOS)
|| Option | Description |
|---||---|
| `-s` | `--send` | default targets for all widgets (ip:port / domain:port / midi:port_name pairs) |
| `-l` | `--load` | session file to load |
| | `--state` | state file to load (osc messages will be sent, unless there are other clients connected) |
| `-b` | `--blank` | load a blank session and start the editor |
| `-c` | `--custom-module` | custom module file to load (custom options can be passed after the filename) |
| `-p` | `--port` | http port of the server (default to 8080) |
| `-o` | `--osc-port` | osc input port (default to --port) |
| | `--tcp-port` | tcp server input port |
| | `--tcp-targets` | tcp servers to connect to (ip:port pairs), does not susbtitute for --send |
| `-m` | `--midi` | midi router settings |
| `-d` | `--debug` | log received osc messages in the console |
| `-n` | `--no-gui` | disable default gui |
| `-g` | `--gui-only` | app server's url. If true, local port (--port) is used |
| `-t` | `--theme` | theme name or path (mutliple values allowed) see [theming](/docs/theming/) |
| `-e` | `--examples` | list examples instead of recent sessions |
| | `--url-options` | [url options](/docs/url-options) (opt=value pairs) |
| |`--disable-vsync` | disable gui's vertical synchronization |
| |`--disable-gpu` | disable hardware acceleration |
| |`--force-gpu` | ignore chrome's gpu blacklist |
| |`--read-only` | disable session editing and session history changes |
| |`--remote-saving` | disable remote session saving for hosts that don\'t match the regular expresion |
| |`--remote-root` | set remote file browsing root folder |
| |`--instance-name` | used to differenciate multiple instances in a zeroconf network |
| |`--fullscreen` | launch in fullscreen mode (only affects the default gui, F11 to exit) |
Command-line only :
|| Option | Description |
|---||---|
| `-h` | `--help` | print available options |
| `-v` | `--version` | print version number |
| | `--inspect` | enable node/electron inspector (visit chrome://inspect with chromium to access DevTools) |
**Examples**
```bash
open-stage-control --send 127.0.0.1:5555 127.0.0.1:6666 --port 7777
```
This will create an app listening on port 7777 for synchronization messages, and sending its widgets state changes to ports 5555 and 6666.
```bash
open-stage-control --no-gui --load path/to/session.js --port 9999
```
This will create a headless app available through http on port 9999 with session.js loaded automatically.
!!! tip "What about HTTPS ?"
Security is out of the app's scope. If you are concerned about safety, using a private - protected - network should be enough.
## Run from sources
Running the app from the sources slightly differs from using built binaries : we'll build and launch the app with npm (node package manager).
**1. Requirements**
- [Node.js >= 4.8](https://nodejs.org/en/#download)
- [git](https://git-scm.com/downloads)
**2. Download sources**
```bash
git clone https://github.com/jean-emmanuel/open-stage-control
cd open-stage-control/
# uncomment next line if you want the latest release
# instead of the current development version
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
npm install
npm run build
```
!!! note "Updating from sources"
```bash
git pull
npm install
npm run build
```
**3. Run !**
```bash
npm start [ -- options]
```
!!! note ""
A double hyphen (`--`) is used here to tell npm that the options are to be passed to the app.
## Build from sources
**1. Requirements**
- [Node.js >= 4.8](https://nodejs.org/en/#download)
- [git](https://git-scm.com/downloads)
**2. Download sources & build package**
```bash
git clone https://github.com/jean-emmanuel/open-stage-control
cd open-stage-control/
# uncomment next line if you want the latest release
# instead of the current development version
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
export PLATFORM=TARGET_PLATFORM
# TARGET_ARCH can be ia32, x64, armv7l or arm64
export ARCH=TARGET_ARCH
npm install
# run this instead if ARCH is armv7l
# npm install --arch=armv7l
npm run build
npm run package
# Do one of the following if you want a deb package for debian/ubuntu
npm run deb32
npm run deb64
npm run debarm
```
This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
!!! note ""
Building the app for windows from a linux system requires wine to be installed.*
## Running in a headless context
Electron, Open Stage Control's engine, is based on chromium and can't run out of the box without a display server. However, using a virtual framebuffer does the trick. Detailed instructions can be found in Electron's [documentation](http://electron.atom.io/docs/tutorial/testing-on-headless-ci/).
In short: install [xvfb](https://en.wikipedia.org/wiki/Xvfb) and prepend your command with `xvfb-run`:
```bash
xvfb-run open-stage-control -n
```
## Running without Electron
It is possible to run the server in headless mode without Electron using [node](https://nodejs.org/en/download/package-manager/) (v6 or higher) :
```bash
node /path/to/packaged/open-stage-control/resources/app/ -n
node /path/to/sources/open-stage-control/app/ -n
```
Or using the precompilled binaries for node:
```bash
node /path/to/packaged/open-stage-control-node/ -n
```
To build the app for node only from sources:
```bash
# git clone, etc...
npm install
npm run build
npm run package-node
```

View file

@ -0,0 +1,70 @@
Welcome to Open Stage Control documentation. Along these pages you'll learn how to setup OSC on your system and everything you need to start building your own control interface.
## Overview
Open Stage Control consists of 3 modules: the server, the launcher and the client.
The **server** is the core of the software, it is responsible for sending and receiving all osc/midi messages, and act as a web server that serves the clients web application. It is written in Javascript and runs with Electron, a cross-platform framework based on Chromium. By default, the server always opens a client window when it starts but it can be run in *headless* mode, without any window.
The **launcher** provides a simple way to configure and start the server. It appears whenever the server is not launched from a terminal or without being configured.
The **client** is the web application made available by the server when it starts. Any compatible browser that connects to the server by browsing to its address will create a new client instance and be able to open and modify sessions.
## Requirements
The **server** can run on all [platforms supported by Electron](https://www.electronjs.org/docs/tutorial/support#supported-platforms). Systems that can run [Node.js](https://nodejs.org/en/) may also be able to run it in headless mode (see [Running with Node](./running-with-node.md)).
The **client** is compatible with the following browsers:
- Firefox: version `75` and higher
- Chromium / Chrome: version `75` and higher
iOS devices must be of version `11` or higher.
## Installation
=== "Linux 64bit"
**Ubuntu / Debian**
- [Download](/download) `open-stage-control-VERSION-amd64.deb`
- Install it by running this as root in a terminal:
```bash
dpkg -i path/to/open-stage-control-VERSION-ARCH.deb
```
**Other linux distributions**
- [Download](/download) `open-stage-control-VERSION-linux-x64.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control` is the app's main executable
=== "Mac 64bit"
- [Download](/download) `open-stage-control-VERSION-osx-x64.zip`
- Extract it in the location of your choice
- Drag `open-stage-control.app` in your `Application` folder
=== "Mac Silicon (arm)"
- [Download](/download) `open-stage-control-VERSION-osx-arm.zip`
- Extract it in the location of your choice
- Drag `open-stage-control.app` in your `Application` folder
See [https://disable-gatekeeper.github.io/](https://disable-gatekeeper.github.io/) to workaround the "damaged and can't be opened" error.
=== "Windows 64bit"
- [Download](/download) `open-stage-control-VERSION-win32-x64.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control.exe` is the app's main executable
=== "Other systems"
- Install [Node.js](https://nodejs.org/en/download/package-manager/)
- Download `open-stage-control-VERSION-node.zip`
- Extract it in the location of your choice
- In a terminal, run `node /path/to/open-stage-control-VERSION-node --help`

View file

@ -0,0 +1,109 @@
Running the app from the sources slightly differs from using prebuilt binaries: we'll build and launch the app with npm (node package manager).
## Requirements
- [Node.js](https://nodejs.org/en/#download)
- [git](https://git-scm.com/downloads)
## Run from sources
**Download**
```bash
git clone https://framagit.org/jean-emmanuel/open-stage-control.git
cd open-stage-control/
# uncomment next line if you want the latest release
# instead of the current development version
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
npm install
npm run build
```
!!! tip "Raspberry systems"
Run one of these instead of `npm install` (you can get the system's `arch` by running `uname -m` in a terminal)
```
npm install --arch=arm64
npm install --arch=armv7l
```
!!! info "Updating from sources"
```bash
git pull
npm install
npm run build
```
**Run**
```bash
npm start [ -- options]
```
!!! info ""
A double hyphen (`--`) is used here to tell npm that the options are to be passed to the app.
!!! warning "MIDI support"
When running from sources, MIDI support won't be enabled unless the [MIDI configuration procedure](../../midi/midi-configuration/) for "other systems" is followed.
## Build documentation
In order to make the local documentation available through the server's `--docs` option and the launcher's `Documentation` menu action, an extra step is needed.
```bash
# install docs website theme
python3 -m pip install mkdocs-material
# build docs website
npm run build-docs
```
## Package from sources
Follow the "Run from sources" instructions, then:
```bash
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
export PLATFORM=TARGET_PLATFORM
# TARGET_ARCH can be ia32, x64, armv7l or arm64
export ARCH=TARGET_ARCH
npm run package
# The node-only package can be built with
npm run package-node
```
This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
!!! info ""
Building the app for windows from a linux system requires wine to be installed.
## Debian / Ubuntu and RPM installers
=== "Debian / Ubuntu"
```
npm run deb64
```
=== "RPM"
```
npm run rpm
```
## Build script on Mac Silicon
This user-contributed script can be used to build open stage control on recent Macs:
https://github.com/rewgs/osc-as

View file

@ -0,0 +1,24 @@
## Lite headless mode
It's possible to run the server in headless mode with the nodejs engine embedded in Electron, this reduces memory / cpu usage significantly.
```
ELECTRON_RUN_AS_NODE=1 open-stage-control path/to/open-stage-control/resources/app/ [options]
```
## Running with node
If Electron does not run on your platform, it is possible to run the server in headless mode using [Node.js](https://nodejs.org/en/download/package-manager/).
1. Install [Node.js](https://nodejs.org/en/download/package-manager/)
2. Download `open-stage-control-[version]-node.zip` package and extract it
3. Run `node /path/to/open-stage-control [options]`
!!! info
When running from sources or with regular binaries (packaged with electron), the command slightly differs:
- electron package: `node /path/to/open-stage-control/resources/app [options]`
- from sources: `node /path/to/open-stage-control/app [options]`

View file

@ -0,0 +1,230 @@
The **server** can be configured with many options, either from a terminal or with the help of the **launcher**.
## Options
!!! quote ""
#### `send`
Defines the default osc/midi targets. These will be added to the widget's individual targets. Targets must be separated by a space and formatted as follows:
- `ip_address:port`
- `host_name:port`
- `midi:device_name`
!!! quote ""
#### `load`
Path to a session file (.json). All clients connecting the server will load it.
!!! quote ""
#### `state`
Path to a state file (.state). All clients connecting the server will load it.
!!! quote ""
#### `custom-module`
Path to a custom module file (.js).
**WARNING:** custom module can access the file system, use at your own risk.
!!! quote ""
#### `port`
HTTP port for the server (default: `8080`).
!!! quote ""
#### `osc-port`
OSC (UDP) input port (default: `port`).
!!! quote ""
#### `tcp-port`
OSC (TCP) input port.
!!! quote ""
#### `tcp-targets`
TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Targets must be separated by a space and formatted as follows:
- `ip_address:port`
- `host_name:port`
!!! quote ""
#### `midi`
MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md).
!!! quote ""
#### `debug`
Print sent and received messages in the console. This may impact performance and should not be enabled in production.
!!! quote ""
#### `no-gui`
Disable built-in client window.
!!! quote ""
#### `fullscreen`
Start the built-in client window in fullscreen.
!!! quote ""
#### `theme`
Theme names or paths. See [Themes](../customization/themes.md).
!!! quote ""
#### `client-options`
Default [client options](../client-options.md), separated by spaces.
!!! quote ""
#### `disable-vsync`
Disable built-in client window's vertical synchronization.
!!! quote ""
#### `force-gpu`
Disable built-in client window's gpu blacklist (may improve rendering performance in some cases).
!!! quote ""
#### `read-only`
Disable session editing, and file saving.
!!! quote ""
#### `remote-saving`
Disable file saving for hosts that don't match the regular expression.
Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
!!! quote ""
#### `remote-root`
Set file browsing root folder. Prevent writing files outside of this folder.
!!! quote ""
#### `authentication`
Restrict access to `user:password` (remote clients will be prompted for these credentials).
!!! quote ""
#### `instance-name`
Server's name on zeroconf/bonjour network. Incremented automatically if not available.
!!! quote ""
#### `use-ssl`
Use HTTPS protocol instead of HTTP (a self-signed certificate will be created)
## Command-line options
The following options can only be set from a terminal.
!!! quote ""
#### `disable-gpu`
Disable hardware acceleration for the launcher window and the built-in client window.
!!! quote ""
#### `inspect`
Enable node inspector.
!!! quote ""
#### `cache-dir`
Override default cache directory (contains browser cache and localStorage data).
!!! quote ""
#### `config-file`
Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`.
!!! quote ""
#### `client-position`
Define the built-in client window position, must be a pair of integers separated by a comma (`x,y`).
!!! quote ""
#### `client-size`
Define the built-in client window size, must be a pair of integers separated by a comma (`width,height`).
!!! quote ""
#### `no-qrcode`
Disable qrcode when the server starts.
!!! quote ""
#### `help`
Show help.
!!! quote ""
#### `docs`
Serve documentation website locally and open it with the system's default browser
!!! quote ""
#### `version`
Show version number.
## Running in a terminal
Options name must be prepended with a double dash (`--`) in a terminal.
!!! example "Example"
```
open-stage-control --no-gui --load path/to/your/session.json --theme path/to/your/theme.css
```
Launches the server in headless mode, and makes all clients load provided session and theme automatically.
## Running in a terminal on Windows
Windows users launching the app from a terminal need to add a double dash (`--`) and a space before their options:
```bash
open-stage-control.exe -- --port 5555 [...]
# when running from sources
npm start -- -- [options]
```

View file

@ -1,45 +0,0 @@
# User interface
The interface is made of two main components: the widgets and the sidepanel.
## Widgets
All widgets are contained in the `root` widget, a special `panel` widget that can only contain tabs.
### Interacting with widgets
| Mouse | Touch | Description |
|---|---|---|
| Click | Tap | Handled at pressing time, not releasing. |
| Double Click | Double Tap | Some widgets handle double click / tap events. |
| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. |
| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 10.|
| | Two-fingers drag (single target) | Using two fingers on a single-touch target increases the gesture's precision by 10. |
## Sidepanel
The sidepanel can be opened by clicking the navigation icon in the upper right corner or by pressing `F10`.
### State management
- Store: save the state of all widgets in the temporary slot
- Recall: reload saved state from the temporary slot
- Send All: make all widgets send their current value
- Save / Save As: save the state of all widgets to a `.state` file on the server
- Load: load a state from a `.state` file on the server
- Export: save to local filesystem
- Import: load from local filesystem
### Traversing gestures
By default, a dragging gesture can only affect the widget it started on. Enabling traversing gesture does two things:
- make gestures affect every widgets no matter where they started
- make sliders-like widgets respond as if their `snap` option is enabled
When traversing gestures are set to `auto`, these will only affect widgets that have the same type as the first touched widget.
### Editor
See [Editing sessions](/docs/editing-sessions.md).

View file

@ -1,104 +0,0 @@
## Requirements
MIDI support requires additional software to be installed on the server's system:
- python (2 or 3)
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html)
To install `python-rtmidi`, run `pip install python-rtmidi` (python 2) in a terminal or `pip3 install python-rtmidi` (python 3).
!!! note "Why an additionnal dependency ?"
Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install.
## Setup
When running the app, the `-m / --midi` switch must be set; it accepts the following options (separated by spaces):
- `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below
- `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared. If the `device_name` contains white spaces, the declaration must be enquoted (ie `"spaced name:input,output"`). `device_name` doesn't need to match the actual midi device name, it is just an identifier (see [Widget settings](#widget-settings)).
- `sysex`: parse incomming system exclusive messages (disabled by default)
- `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations
- `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`)
*Linux only:*
- `device_name:virtual`: creates a virtual midi device with one input port and one output port
- `jack`: use JACK MIDI instead of ALSA (add as extra parameter). `rtmidi` must be compiled with `--jack-midi` flag for this to work.
## Widget settings
In order to send MIDI messages, a widget must have at least one `target` formatted as follows:
`midi:device_name` (where `device_name` is one of the declared midi devices)
!!! warning
Messages received from a MIDI port only affect widgets that send to this port.
## Supported MIDI messages
!!! warning ""
Define static argument values using the [`preArgs`](/docs/widgets-reference/#preArgs) option in order to complete the respective MIDI message.
#### `/note channel note velocity`
NoteOn event or noteOff if velocity equals `0`.
- `channel`: integer between 1 and 16
- `note`: integer between 0 and 127
- `velocity`: integer between 0 and 127
Example:
A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value:
- `address`: /note
- `preArgs`: [1, 60] (for MIDI channel 1, and note 60 / C3)
- `on`: 100 (for noteOn velocity of 100 on button push)
- `off`: 0 (to send a noteOff on button release)
- `target`: ["midi:device_name"] (where device_name is one of the declared midi devices defined during [setup](#setup))
#### `/control channel cc value`
Control change event.
- `channel`: integer between 1 and 16
- `cc`: integer between 0 and 127
- `value`: integer between 0 and 127
Example:
A fader might be configured as follows in order to send a MIDI control message (a volume control in this example):
- `address`: /control
- `pre-args`: [1, 7] (MIDI channel 1, control number 7 generally used as volume control)
- `range`: {"min": 0, "max": 127} (MIDI values are encoded in this range)
- `target`: ["midi:device_name"]
#### `/program channel program`
Program change event.
- `channel`: integer between 1 and 16
- `program`: integer between 0 and 127*
!!! note
\* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Enable the `pc_offset` option to make Open Stage Control behave this way.
#### `/pitch channel pitch`
PitchWheel event.
- `channel`: integer between 1 and 16
- `pitch`: integer between 0 and 16383
#### `/sysex msg v1 .. vN`
System exclusive message.
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively.
- `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device.
For a very simple example, refer to session 'sysex.json' found in the application's sub folder 'resources/app/examples/'. Please remember to adjust the button's `target` to the `device_name` used in your MIDI setup.

View file

@ -0,0 +1,144 @@
## Installation
=== "Linux / Windows / OSX"
Open Stage Control comes bundled with built-in MIDI support if you're using the official package for Linux, OSX or Windows.
=== "Other systems / Node"
Enabling MIDI support on other systems or when building Open Stage Control from sources requires additional softwares to be installed on the server's system:
- [python 3](https://www.python.org/downloads/)
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi)
??? example "Linux"
Install `python3-rtmidi` from your distribution's package repository, or if it's not available:
- Install `python3` and `python3-pip` from your distribution's package repository
- Run this command in a terminal
```bash
python3 -m pip install python-rtmidi --upgrade
```
??? example "Mac"
- Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/)
- Open a terminal
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
??? example "Windows"
- Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/)
- **make sure to check the option** "Add Python 3.x to PATH"
- Open a terminal (++win+r++)
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
## Configuration
The server's `midi` option accepts the following parameters, separated by spaces.
!!! warning ""
If an option contains space characters, it must be quoted.
**`list`**
Print the available MIDI ports to the console when the server starts. This action is also available in the launcher's menu.
**`device_name:input,output`**
Create a virtual MIDI device that will translate OSC messages to MIDI messages
- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name.
- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive).
**`sysex`**
Enable parsing of system exclusive messages (disabled by default).
**`mtc`**
Enable parsing of midi time code messages (disabled by default).
**`rpn`**
Enable sending and receiving [RPN/NRPN](https://en.wikipedia.org/wiki/NRPN) controls on as single `/rpn` / `/nrpn` messages instead of 3 or 4 control changes that constitute them.
**`active_sensing`**
Enable parsing of midi active sensing messages (disabled by default). Active sensing messages will be received as sysex.
**`pc_offset`**
Send program changes with a `-1` offset to match some software/hardware implementations
**`note_off_velocity`**
Use `/note_on` for noteOn messages and `/note_off` for noteOff messages instead of the defaut `/note` and velocity 0 for note off.
**`auto_note_off`**
Prevent converting outgoing noteOn messages with velocity 0 to noteOff messages.
**`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port
**`jack`** (*Linux only*): use JACK MIDI instead of ALSA. `python-rtmidi` must be compiled with [jack support](https://spotlightkid.github.io/python-rtmidi/installation.html#linux) for this to work.
**`path=/path/to/python`**
*Only use this if you know what you are doing. This option should not be set when using the official Linux / Windows / OSX packages.*
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
## Widget setup
In order to send MIDI messages, a widget must have at least one `target` formatted as follows:
`midi:device_name` (where `device_name` is one of the declared midi devices)
Its `address` and `preArgs` properties must be set according to Open Stage Control's [midi messages](../midi-messages) specification.
!!! warning
Messages received from a MIDI port only affect widgets that send to this port.
## Debug
Enabling the server's `debug` options will print some extra information (sent/received midi messages, midi setup information, etc)
## Example configuration
Setting the server's `midi` option as follows:
```
sysex synth:1,2 daw:3,3
```
- enables sysex support (sysex messages will not be ignored)
- creates a midi device "synth" connected with input 1 and output 2
- creates a midi device "daw" connected with input 3 and output 3
If a widget has its `target` set to `midi:synth`, it will receive MIDI from port 1 and send MIDI to port 2.

View file

@ -0,0 +1,130 @@
!!! info ""
Define static argument values using the [`preArgs`](/docs/widgets/properties-reference/#preArgs) option in order to complete the respective MIDI message.
----
#### `/note channel note velocity`
NoteOn event or noteOff if velocity equals `0`. Incoming noteOff events will be received as `/note` with velocity 0 if `note_off_velocity` is not set during [setup](../midi-configuration).
- `channel`: integer between 1 and 16
- `note`: integer between 0 and 127
- `velocity`: integer between 0 and 127
!!! example "Example"
A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value:
- `address`: `/note`
- `preArgs`: `[1, 60]` (for MIDI channel 1, and note 60 / C4)
- `on`: `100` (for noteOn velocity of 100 on button push)
- `off`: `0` (to send a noteOff on button release)
- `target`: `midi:device_name` (where device_name is one of the declared midi devices defined during [setup](../midi-configuration))
----
#### `/note_off channel note velocity`
NoteOff event with any velocity. Incoming noteOff events will be received as `/note_off` if `note_off_velocity` is set during [setup](../midi-configuration).
----
#### `/control channel cc value`
Control change event.
- `channel`: integer between 1 and 16
- `cc`: integer between 0 and 127
- `value`: integer between 0 and 127
!!! example "Example"
A fader might be configured as follows in order to send a MIDI control message (a volume control in this example):
- `address`: `/control`
- `pre-args`: `[1, 7]` (MIDI channel 1, control number 7 generally used as volume control)
- `range`: `{"min": 0, "max": 127}` (MIDI values are encoded in this range)
- `target`: `midi:device_name`
----
#### `/program channel program`
Program change event.
- `channel`: integer between 1 and 16
- `program`: integer between 0 and 127*
!!! info
\* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Add the `pc_offset` parameter to the server's `midi` option to make Open Stage Control behave this way.
----
#### `/pitch channel pitch`
PitchWheel event.
- `channel`: integer between 1 and 16
- `pitch`: integer between 0 and 16383
----
#### `/sysex msg`
System exclusive message.
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`.
Instead of a single hexadecimal string, arguments can be separated and defined either as hexadecimal bytes or as integers. When received, system messages are always formatted as a single hexadecimal string.
----
#### `/mtc timecode`
MIDI time code message.
- `timecode`: `hh:mm:ss:ff` string.
----
#### `/channel_pressure channel pressure`
Channel pressure event.
- `channel`: integer between 1 and 16
- `pressure`: integer between 0 and 127
----
#### `/key_pressure channel note pressure`
Polyphonic key pressure event.
- `channel`: integer between 1 and 16
- `note`: integer between 0 and 127
- `pressure`: integer between 0 and 127
----
#### `/rpn channel rpn value`
Registered Parameter Number event.
- `channel`: integer between 1 and 16
- `rpn`: integer between 0 and 16383
- `value`: integer between 0 and 16383
----
#### `/nrpn channel nrpn value`
Non-Registered Parameter Number event.
- `channel`: integer between 1 and 16
- `nrpn`: integer between 0 and 16383
- `value`: integer between 0 and 16383
----

View file

@ -1,42 +1,47 @@
# Remote control
All widgets that send osc messages respond to the same messages. Additionnaly, Open Stage Control responds to some general osc commands.
When osc messages are received, the default behavior is to update the value of all widgets that match the address and preArgs. Additionally, Open Stage Control clients respond to some general osc commands.
!!! note "Multi-client setup"
These commands are interpreted by each client connected to the server so there might be more than one reply. Using a custom module is the only way to send a message to a single client.
## `/EDIT id options`
----
#### `/EDIT id properties options`
Apply a set of options to an existing widget by replacing the old ones with the new ones.
Apply a set of options to an existing widget by replacing the old ones with the new ones. This ignores the widget's `lock` property. If sent by a custom module using `receive()`, this command will not be prevented by the server's `read-only` option.
- `id`: `string`, widget's `id`
- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
- `properties`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
- example: `{"label":"New Label", "color":"red"}`
- `options` (optional): `string`, [JSON5](https://github.com/json5/json5) stringified object defining extra option flags:
- `noWarning`: set to `true` to prevent further warning when exiting.
!!! warning ""
Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea
----
## `/EDIT/MERGE id options`
#### `/EDIT/MERGE id properties options`
Apply a set of options to an existing widget by merging them to the widget's options.
----
- `id`: `string`, widget's `id`
- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
- example: `{"label":"New Label", "color":"red"}`
!!! warning ""
Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea
## `/EDIT/UNDO`
#### `/EDIT/UNDO`
Undo editing action
## `/EDIT/REDO`
----
#### `/EDIT/REDO`
Redo editing action
## `/EDIT/GET target id`
----
#### `/EDIT/GET target id`
Sends back a widget's data (JSON stringified object), including its children, to specified target.
@ -48,7 +53,10 @@ Replies `/EDIT/GET id data`
- `id`: `string`
- `data`: `string`
## `/EDIT/GET target address preArg1 preArg2 ...`
----
#### `/EDIT/GET target address preArg1 preArg2 ...`
Sends back a widget's data (JSON stringified object), including its children, to specified target.
@ -63,7 +71,10 @@ Replies `/EDIT/GET address preArg1 preArg2 ... data`
- `data`: `string`
## `/GET target id`
----
#### `/GET target id`
Sends back a widget's value to specified target.
@ -75,7 +86,10 @@ Replies `/GET id value`
- `id`: `string`
- `value`: `*`
## `/GET target address preArg1 preArg2 ...`
----
#### `/GET target address preArg1 preArg2 ...`
Sends back a widget's value to specified target.
@ -89,18 +103,42 @@ Replies `/GET address preArg1 preArg2 ... value`
- `preArg[1...]`: `*`, widget's `preArgs`
- `value`: `*`
## `/GET/#`
----
#### `/GET/#`
Same as `/GET` but uses the widget's address instead of `/GET` to reply.
## `/SET target id value`
----
#### `/NOTIFY icon message`
Sends a notification message to the client.
- `icon`: icon for the notification, for example : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
- `message`: message content
----
#### `/LOG message`
Print message in the client's console.
----
#### `/SET id value`
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
- `id`: `string`, widget's `id`
- `value`: `*`, widget's new value
## `/SET address preArg1 preArg2 ... value`
----
#### `/SET address preArg1 preArg2 ... value`
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
@ -109,28 +147,91 @@ Set a widget's value as if it was interacted with from the interface. This is li
- `value`: `*`, widget's new value
## `/STATE/GET target`
----
#### `/STATE/GET target`
Sends back the app's state to specified target
- `target`: `string`, `ip:port` pair
## `/STATE/SET state`
----
#### `/STATE/SET state send`
Set widgets' state
- `state`: `string`, json stringified object (`"widget_id": value` pairs)
- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied
## `/STATE/STORE`
----
#### `/STATE/STORE`
Save the state of all widgets in the temporary slot.
## `/STATE/RECALL`
----
#### `/STATE/RECALL`
Reload saved state from the temporary slot.
## `/TABS id id etc`
----
Open the tabs designated by the `id` parameters.
#### `/STATE/SEND`
Make all widgets send their current value.
----
#### `/STATE/OPEN path.state`
Open state file `path.state`.
----
#### `/STATE/SAVE path.state`
Save state session to `path.state`.
----
#### `/SESSION/CREATE`
Create a new empty session. Unsaved changes will be lost.
----
#### `/SESSION/OPEN path.json`
Open session file `path.json`.
----
#### `/SESSION/SAVE path.json`
Save current session to `path.json`. If `path.json` is omitted, current session's path is used.
----
#### `/TABS tab_id1 tab_id2 ...`
Open the tabs designated by the id parameters.
----
#### `/SCRIPT code`
Run code as if it where executed by a script widget.
----
#### `/RELOAD`
Reload page in the browser.

View file

@ -1,44 +0,0 @@
## Built-in themes
Themes can be loaded with the `--theme` option. Multiple themes can be combined. Built-in themes can be loaded using their name, custom theme files can be loaded using their path.
Available themes (full color scheme):
- `orange`: grey and orange theme
- `light`: light and blue
- `dark`: blue night theme
Available extensions (alternative visual settings)
- `flat`: remove 3d effects
- `alt-buttons`: colorful active buttons
- `responsive-fonts`: bigger texts for bigger screens
## Creating a custom theme
Creating a custom theme is as simple as writing a tiny css file that will override the default css variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) :
```css
:root {
--color-accent:red;
}
```
This will change the default accent color to red. Variables can also be overridden for a specific subset of elements, for example :
```css
.panel-container {
--color-text:blue;
}
```
This will change the default text color to blue for all elements in panel widgets.
## Scss / autoreload
When running the app [from sources](/docs/getting-started), custom themes can be written in scss:
- the scss file must be located in `src/browser/scss/themes/`
- run `npm run watch-css`
The theme will be watched and compiled automatically to a css file located in app/browser/themes/ (css files in this directory can be selected from the theme option by their name, without .css suffix). If the app is running on default http port, clients will reload the theme automatically.

View file

@ -0,0 +1,149 @@
# Change a widget property with an osc message
By default, widgets only expose their value to incoming messages, but there are multiple ways to allow changing any widget property using osc messages as well. In this tutorial we'll explore the different possibilities for exposing the `visible` property of a widget to incoming messages, but it applies to any other property.
## 1. Using a variable widget
Create a variable widget and set up its `address` (and `preArgs` if needed) so that it receives the messages you want to use, and then in your other widget's `visible` property, use the [inheritance syntax](../widgets/advanced-syntaxes.md#inheritance-idproperty) to retrieve the variable's value:
=== "Inheritance syntax"
```
@{variable_id}
```
=== "Inheritance syntax + Javascript"
```js
JS{
// bonus, in case you don't want to use the variable's value as-is
if (@{variable_id} > 0.5) {
return true
} else {
return false
}
}
```
Now the variable's value will determine the visibility of the widget. The `visible` property expects a boolean value (`true` for visible, `false` for invisible) but any [truthy](https://developer.mozilla.org/en-US/docs/Glossary/truthy) / [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) will do (e.g. `1` for visible, `0` for invisible is a sensible choice).
## 2. Using the OSC listener syntax
The [OSC listener syntax](../widgets/advanced-syntaxes.md#osc-listeners-oscaddress-default-usepreargs) might be a more straightforward solution for simple use cases. Writing this in a widget's `visible` property:
=== "Relative address"
```
OSC{show}
```
will listen for messages on address `/widget_address/show` and return the last received value.
If we write this instead:
=== "Absolute address"
```
OSC{/show}
```
the address will be `/show` and won't be prefixed with the widget's address as before.
It is often needed to specify the initial state of the listener (before it receives any message), this is done via the second argument of the listener syntax:
=== "Default value (true)"
```
OSC{show, true}
```
=== "Default value (truthy)"
```
OSC{show, 1}
```
=== "Default value (false)"
```
OSC{show, false}
```
=== "Default value (falsy)"
```
OSC{show, 0}
```
If the widget has any preArgs set, the osc listener will inherit them by default, this means that for a message to change the listener's value it will not only have to match its address but also the widget's `preArgs`, this can be prevented using the third argument of the listener syntax:
=== "Ignore preArgs"
```
OSC{show, 1, false}
```
## 3. Using custom variables
The [custom variable syntax](../widgets/advanced-syntaxes.md#custom-variables-varvariablename-default) connects regular properties and scripting properties (`onCreate`, `onValue`, etc), writing this in the `visible` property:
```
VAR{show}
```
will create a custom variable named `show` scoped to the widget (custom variables do not use a global namespace and multiple widgets may use the same names for their custom variables without conflict). This custom variable can be read and set from any widget scripting property using the [`getVar()` / `setVar()`](../widgets/scripting.md#getvarid-name) functions.
For instance, we could use a variable widget as osc receiver like in the first example of this tutorial and use it's `onValue` script to change the custom variable's value (instead of using the inheritance syntax):
```js
// variable widget onValue
// simply pass received value to the custom variable
setVar('widget_id', 'show', value)
```
The custom variable's initial state can be specified:
```
VAR{show, 1}
```
## 4. Using /EDIT commands
The [`/EDIT`](../remote-control.md) remote control command can be used to modify any widget property in the session, for instance:
```
/EDIT widget_id '{visible: false}'
```
Will hide the widget with id `widget_id`. Note that this is different from the 3 techniques described above in that it actually modifies the session and changes the property value in a destructive way (the property is rewritten, not just its state). When quitting the session after using it a warning indicating the session has unsaved changes will be shown, this can be prevented by appending a extra argument to the message:
```
/EDIT widget_id '{visible: false}' '{noWarning: true}'
```
Note that the arguments after `widget_id` are sent as strings ([JSON5](https://github.com/json5/json5)-encoded objects), this is because sending plain javascript object over osc is not possible.
## Bonus: custom module
Any of these techniques can be used in conjunction with a [custom module](../custom-module/custom-module.md). Using the `receive()` function allows simulating incoming osc messages and can be used to trigger property changes:
=== "Variable widget"
```js
var visible = true
receive('/variable_id', visible)
// or if variable widgets has preArgs
receive('/variable_id', preArg1, preArg2, visible)
```
=== "OSC listener"
```js
var visible = true
receive('/widget_address/show', visible)
// or if listener has preArgs
receive('/widget_address/show', preArg1, preArg2, visible)
```
=== "Custom variable"
```js
var visible = true
receive('/SCRIPT', `setVar('widget_id', 'show', ${visible})`)
```
=== "/EDIT command"
```js
var visible = true
// what's really cool here is that you don't need to stringify objects arguments
// receive() will take care of that for you
receive('/EDIT', 'widget_id', {visible: visible}}, {noWarning: true})
```

View file

@ -0,0 +1,252 @@
# First Steps with Open Stage Control
*Contributed by H. James Harkins, Feb. 2023*
Let's walk through the basic steps to build a simple interface in Open Stage Control, send information to another app, and deploy the interface to remote (even mobile) devices.
Before beginning, you should already have installed Open Stage Control -- see the [Introduction](../getting-started/introduction.md).
Also: This document provides sample patches for SuperCollider, Pure Data and Max/MSP, to receive control data from the Open Stage Control interface. If you do not have any of these tools, I suggest to install [Pure Data](https://puredata.info/downloads/pure-data) because it has the smallest footprint.
## The Launcher
Use your system's application launcher, open the Open Stage Control app. Here, you can configure options for the interface server.
For now, go to the first box ("send") and type in `127.0.0.1:57120`. This will tell the server to send Open Sound Control messages to the same machine where the server is running, on port 57120.
NOTE: For your own applications, you can use any port that is not in use. For this example, I chose 57120 because it is SuperCollider's default UDP port (and I set the Pure Data and Max patches to use the same port, to simplify.)
You don't need to set any other options at this time.
### Addresses and ports
Many users approaching Open Sound Control for the first time get confused about ports. You need to be aware of the FROM and TO addresses. The "send" field in the Launcher should reference the address TO which messages should be sent. In this demo, we are assuming that Open Stage Control and the target app are running on the same machine. So the TO address is localhost: `127.0.0.1`. The "send" box should use the port *on which the target app is receiving messages*. This is typically under control of the target app: 1/ SuperCollider opens 57120 by default; 2/ Pd's [netreceive] object, and Max's [udpreceive], both require the TO port as an argument. So the TO port is your choice, as long as they match.
Open Stage Control sends messages FROM the IP address of the machine where Open Stage Control is running, and from port 8080 (or localhost = `127.0.0.1` if on the same machine). Thus, if the receiving app will filter incoming messages based on address, the filtering address should be the FROM address, port 8080. The target app can also update Open Stage Control's display by sending messages back to exactly this address. So you will see later, in the demo patches, that messages are sent to `127.0.0.1:8080` so that the user's interaction with the target app appears in Open Stage Control as well.
## Starting the server
Click the "play" button near the top left of the window. You should see status messages in the launcher window such as:
```
(INFO) Server started, app available at
http://127.0.0.1:8080
http://your.ip.ad.dress:8080
```
And a new, mostly empty, window will open. This new, larger window is the *client*.
## The client
The client allows you to edit and perform your interface.
The interface design is called a *session*. To create a new session, go to the "three-dots" menu at the top left, and choose Session > New session.
Two new panels are displayed: a project browser, and an object inspector (to set properties). The empty space in the middle is the editor, where you will build the interface.
Let's start with a toggle button. Right-click in the empty editor panel in the middle, and navigate to Add widget > Basics > button. For this demo, we don't need to change anything else: the button defaults to toggle behavior, and the display text is not important for now (although you can change it in the inspector, if you want).
And let's add one more control, to the right of this: Right-click, Add widget > Sliders > fader.
![](./first-steps/two-widgets.png)
When a widget is selected, you can move it by dragging the top-left handle, and resize it by dragging the bottom-right handle. Let's use these handles to position the fader to the right of the button, and stretch it to be horizontal instead of vertical.
![](./first-steps/resized-fader.png)
Notice, however, that the fader's value handle is still vertical. To fix this, look in the Inspector at the right, expand "Fader style," and check the "horizontal" checkbox.
![](./first-steps/fader-style.png)
![](./first-steps/horizontal-fader.png)
By the way: I suggest to keep the widgets closer to the top left, so that they are still visible on a phone screen (later).
When designing an interface for production, you would change other object properties as well. In particular, the Open Sound Control addresses `/button_1` and `/fader_1` are not very descriptive. You would probably want to assign different command paths, in the "osc" tab. As this is just an introduction, we won't do that now.
## Receiving the data
At this time, the interface can already be used: three-dots menu > Editor > "Enabled" (click to disable the editor). (The controls will respond also when the editor is enabled, but you have to click an extra time to select the widget before changing its value.)
To see the effect, launch one of the following apps and open the given patch. The Open Stage Control button should open and close the envelope, and the fader should control frequency. The patches also send control data from their own GUIs back to Open Stage Control, so all of the controls should be synced in both directions.
NOTE: In Pure Data and Max, the default slider/fader range is 0-127, integers. Open Stage Control uses the range 0.0 - 1.0 by default. If you just create a slider and connect it, you won't see much action. In the example patches, the slider's properties have been modified to take a 0.0 - 1.0 floating-point range, matching the data from Open Stage Control.
NOTE: Because all of the patches bind to the same UDP port, you can open only one at a time. You could, if you like, change the port number in one patch, and add that port by specifying multiple "send" targets in the Launcher, e.g. `127.0.0.1:57120 127.0.0.1:7374`.
NOTE: These patches are provided as a courtesy to get you started more quickly. Maintaining, extending or developing them is outside the scope of the Open Stage Control community.
!!! Example "Choose your app"
=== "Pure Data"
Copy the code below, and save it into a text file `osc-first-steps.pd`. Then open it in Pure Data.
```
#N canvas 436 127 562 502 12;
#X obj 86 51 loadbang;
#X msg 86 76 \; pd dsp 1;
#X obj 253 51 netreceive -u -b 57120;
#X obj 253 76 oscparse;
#X obj 253 101 list trim;
#X obj 253 126 route fader_1 button_1;
#X msg 253 190 4 \$1;
#X obj 253 215 pow;
#X obj 253 240 * 200;
#X obj 253 265 lop~ 3;
#X msg 328 265 \$1 100;
#X obj 328 304 line~;
#X obj 279 356 *~;
#X obj 279 381 *~ 0.1;
#X obj 266 424 dac~;
#X text 38 139 Open Stage Control \; "First Steps" tutorial \; hjh
2023;
#X obj 253 304 osc~ 200;
#X obj 328 159 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000 0 1;
#X obj 256 159 hsl 60 15 0 1 0 0 empty empty empty -2 -8 0 10 #fcfcfc
#000000 #000000 0 1;
#X obj 70 251 unpack f s;
#X obj 70 325 oscformat;
#X msg 137 283 set \$1;
#X obj 70 424 netsend -u -b;
#X obj 93 356 loadbang;
#X msg 93 381 connect 127.0.0.1 8080;
#X obj 70 226 r sendback;
#X msg 379 200 \; sendback \$1 button_1;
#X msg 379 233 \; sendback \$1 fader_1;
#X connect 0 0 1 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 18 0;
#X connect 5 1 17 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 16 0;
#X connect 10 0 11 0;
#X connect 11 0 12 1;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 13 0 14 1;
#X connect 16 0 12 0;
#X connect 17 0 10 0;
#X connect 17 0 26 0;
#X connect 18 0 6 0;
#X connect 18 0 27 0;
#X connect 19 0 20 0;
#X connect 19 1 21 0;
#X connect 20 0 22 0;
#X connect 21 0 20 0;
#X connect 23 0 24 0;
#X connect 24 0 22 0;
#X connect 25 0 19 0;
```
=== "Max/MSP"
Copy the text below. In Max, choose File > New from clipboard.
```
----------begin_max5_patcher----------
949.3oc0XkraaCCD8rCP9GHDxo.GWRJpEWzaEnW6gdrInfVlwgoxjBRTYEMe
6khTx0HgVlwP1MFAwBZnjl2algyBe9zSFELS9.qJ.7YvOAiF8rVxHirFIi5D
LJXI8grbZk4ACVxppnKXAiaWTwdPYV3SWSmyJ+EBbFZ0h74lkjyt8BDdkzBp
J6FtXwuJYYJq1wwjIvw.LJt4RRh4F7DH3ptWRTujKxYJCJvqIUVq5Di5Dako
drfY+7AAfqLK8mSOo4p9x3AfwypUJoXiTNtWFSBaHIJB1bIM5iDiEr603+sD
tddQESLGfvZGj9ODHElBc5s8f5gnTqEHdKbG4l6vcleYxkKYB0aI32KXBvOT
ZuM3qRgpTlCtL3a7xJkVJqn5x.fpVIK4zbvEfat8F.FhCW8cx4BVlrVX9XgN
LK3DerKv0BLHoGNyRUNWuC1k6DG0GtsHEAM9wXCGvvsC6qykTkF3E0pdnC5e
JtjtjozoXXB5rbSbNruv+t0p3OYjhlr6lFkbwhblSSCoOSCBkLIZksAS5988
4R2Qa.uIP7pgeWxWt3BPVNO62.kDXABfVOmKcZe5MuOJzj3iDEYLSsUAfGtX
d1SyoYu3D3vdi4mNIQiXhcKKIp622W5a3fmh97W.57xNSIOsO9jfab.gSmZH
xfW+shuPPy2G0jN2oyCk5AYiwFZNs4liCx1TfwMeS7HKTaAWBb27t3sQ3wff
YTwh8RuVmgzIQc2pQrGTGaqQEAOFZyJ6wr7M3lIauNbqWd3o5+ivZz14KNM7
XNpNxcPMzCh21gX3wPL845p5vItnZpGL0NVHYvGRxzB5dwyR1vLgIdzHc693
ihQBKj26hl9LufceaX3GNm5l3ZoVULvpy4X03+tL.djn11rKJhrECPnaCP3l
8yia+e+bD.Zdv32w.QIHryjWgdTjxFBfR1sQ+eOw31uroFyqOpKC7ZV3UVhJ
YcYV2Wr6vq.qgw4rJEWPUboX8mx9Pa1l6s9Zl21C88JTIKaFeu+wJ7GBDefP
7dDAwGVadpWpCNX5KwG8EMXpyqHpzAScdE8fiFT8g1p9HCl9B8gejCbBgjMr
aDcvxGfh2iPn4DL7HnB9w.Bn8TZQjeIplNXwdHuxTYfEZXTneY9SFNFR7lgC
jBQdovgK+AB5kBcWMssCJZQwcrxp1WwpKcSi2JMg1ois2yE16ssnETxti28J
1SpNfVp6IToaHrtz.wfGha6VNXoTuQQTy61t1v1FUa5KUP0SaUPs7xz+5omn
ef+B9C+QQC
-----------end_max5_patcher-----------
```
=== "SuperCollider"
Copy/paste the code below into a new code document. Run the entire block to start. It will clean up when you close the GUI window.
```
// OSC response part
(
var addr = NetAddr("127.0.0.1", 8080); // FROM address
var freqRange = ControlSpec(200.0, 800.0, \exp);
var button, slider;
OSCdef(\button, { |msg|
defer { button.value = msg[1] };
if(x.notNil) { x.set(\gate, msg[1]) };
}, '/button_1', addr);
OSCdef(\slider, { |msg|
defer { slider.value = msg[1] };
if(x.notNil) { x.set(\freq, freqRange.map(msg[1])) };
}, '/fader_1', addr);
w = Window("Open Stage Control", Rect(800, 200, 400, 100)).front;
w.layout = HLayout(
button = Button(),
slider = Slider().orientation_(\horizontal)
);
w.alwaysOnTop = true; // may not take effect in all window managers
button.states = [["off"], ["playing", Color.black, Color(0.7, 1, 0.7)]];
button.action = { |view|
if(x.notNil) { x.set(\gate, view.value) };
addr.sendMsg('/button_1', view.value);
};
slider.action = { |view|
if(x.notNil) { x.set(\freq, freqRange.map(view.value)) };
addr.sendMsg('/fader_1', view.value);
};
w.onClose = {
if(x.notNil) { x.free };
OSCdef(\button).free;
OSCdef(\slider).free;
};
// audio part
// if this fails (if you have an issue with audio devices),
// you won't hear anything but the onscreen GUIs
// will reflect changes from Open Stage Control
s.waitForBoot {
x = { |freq = 200, amp = 0.1, gate = 0|
var eg = EnvGen.kr(Env.asr(0.1, 1, 0.1), gate);
(SinOsc.ar(Lag.kr(freq, 0.1)) * amp * eg).dup
}.play;
};
)
```
## Deploying the interface
The whole point of Open Stage Control is to make the interface available on other devices, especially mobile devices.
The interface will not be visible to other clients, however, until you save it to disk: three-dots menu > Session > Save, and give the file a name such as `open-stage-demo` (you don't need to type the `.json` extension).
Now -- remember those status messages in the launcher window? On another device (computer, phone or tablet), go to the `http://192.168.xxx.yyy:8080` address. The device should be on the same (W)LAN. (If there is another remote address, it may or may not work, depending on your network.) Supported browsers are Firefox v. 75 and higher, or Chromium/Chrome v. 60 and higher.
This should open an empty client window, similar to the one you saw before.
From here, you can open the session that you just saved: three-dots menu *in the webpage* > Session > Open Recent (yes, this is synced from the server!). This should display the controls created in that session, and the controls should function the same as in the other client window.
And that is... it! Basic usage is as simple as that.
For convenience, if there is a session you know that you will use often, and you don't want to load it in the webpage by hand every time, you can choose the file under "load" in the initial Launcher window. This is also useful for public deployments with audience participation, where you don't want audience members to have to load manually.
When not using Open Stage Control, you can also stop the server from the launcher window (stop button, top-left).

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View file

@ -1,23 +0,0 @@
# URL Options
Client specific options can be set by adding query parameters to the server's url. One must prepend the url with a question mark (`?`) followed by `parameter=value` pairs separated with ampersands (`&`).
| Option | Value | Default | Description |
|----|----|----|----|
| hdpi | 1 / 0 | 0 | enable high resolution canvas |
| forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) |
| doubletab | number | 375 | sets the double tap/click time thershold in milliseconds |
| zoom | number | 1 | sets the initial zoom |
| framerate | number | 60 | limit canvas drawing framerate |
| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr, ru) |
Example:
`http://server-ip:port?hdpi=1`
!!! note ""
When using the built-in client, url options can be set through the `--url-options` switch.
Example: `open-stage-control --url-options zoom=2 doubletap=200`

View file

@ -0,0 +1,96 @@
![](../../img/screenshots/client.png)
## 1. Menu
- Session
- New session: create a new empty session and enable the editor
- Open: browse session files on the server
- Open recent: open a recent session on the server
- Save / Save as: save session file on the server
- Fragment mode: when enabled, the session will be saved as a fragment file (only the root's first child will be saved)
- Save backup: save a copy of current session with a incremented suffix appended to the file name
- Import: import a session file from the client's filesystem
- Export: export a session file to the client's filesystem
- State
- Store: save all widgets' state to a persistent slot (stored in the client's cache)
- Recall: apply state storer in the persistent slot (updated widgets may send messages)
- Send All: make all widgets send their current value
- Open: browse state files on the server
- Save / Save as: save state file on the server
- Import: import a state file from the client's filesystem
- Export: export a state file to the client's filesystem
- Editor
- Enable: toggle editor's state
- Grid: toggle grid
- Project tree: toggle project tree's visibility
- Inspector: toggle inspector's visibility
- Relative units (%): when enabled, newly created widgets will have their position and size set in percents.
- Console
- Enable: toggle console's state
- Clear console: remove logged messages from the console
- Virtual keyboard: (desktop only) toggle virtual keyboard (displayed only when a text input is in focus, except for code editors in the inspector)
- Fullscreen: toggle fullscreen
- Notifications: toggle visibility of notifications
- Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle
## 2. Sidepanels
The sidepanels are only visible when the editor is active, they can be resized and/or hidden. Both are described in the [editor](./editor.md) section.
## 3. Session
It is the main component, it contains all the widgets and takes all the available space when the sidepanels are closed.
## 4. Notifications
Notifications appear in the lower right corner, they are usually used to convey server status information and can be dismissed with a single click.
## 5. Modals
![](../../img/screenshots/modal.png)
Modals are virtual popup windows that may contain various content: file browser, color picker, error, widgets...
## Keyboard shortcuts
=== "Linux"
| Shortcut | Description |
|---|---|
| ++ctrl+"Mousewheel"++ | change global zoom (pixel scaling) |
| ++ctrl+0++ | reset global zoom |
| ++ctrl+e++ | enable/disable editor |
| ++ctrl+k++ | show/hide console |
| ++ctrl+l++ | clear console |
| ++ctrl+s++ | save session |
| ++ctrl+shift+s++ | save session as... |
| ++ctrl+o++ | open a session file |
| ++ctrl+w++ | close client |
=== "Windows"
| Shortcut | Description |
|---|---|
| ++ctrl+"Mousewheel"++ | change global zoom (pixel scaling) |
| ++ctrl+0++ | reset global zoom |
| ++ctrl+e++ | enable/disable editor |
| ++ctrl+k++ | show/hide console |
| ++ctrl+l++ | clear console |
| ++ctrl+s++ | save session |
| ++ctrl+shift+s++ | save session as... |
| ++ctrl+o++ | open a session file |
| ++alt+f4++ | close client |
=== "Mac"
| Shortcut | Description |
|---|---|
| ++cmd+"Mousewheel"++ | change global zoom (pixel scaling) |
| ++cmd+0++ | reset zoom |
| ++cmd+e++ | enable/disable editor |
| ++cmd+k++ | show/hide console |
| ++cmd+l++ | clear console |
| ++cmd+s++ | save session |
| ++cmd+shift+s++ | save session as... |
| ++cmd+o++ | open a session file |
| ++cmd+w++ | close client |

View file

@ -0,0 +1,156 @@
## Widget selection
Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for editing:
- All its editable properties are shown in the inspector panel
- The corresponding item in the project tree is highlighted
- A selection outline is drawn around the widget
- Dragging / Resizing handles are added to the widget
![](../../img/screenshots/editor.png)
To interact with a widget directly without selecting it, either use the middle mouse button or hold ++shift+win++ (++shift+cmd++ on Mac).
## Menu
Right clicking on a widget displays a menu with the following actions
- `Show in tree`: show widget in project tree (hidden when clicking in the project tree)
- `Position`:
- `Send to back`: Send selected widget to back (first of siblings)
- `Send farther`: Send selected widget farther
- `Bring closer`: Bring selected widget closer
- `Bring to front`: Bring selected widget to front (last of siblings)
- `Copy`: copy widget's data
- `Cut`: copy widget's data and delete selected widget
- `Paste`: paste copied widget in selected container
- `Paste`: paste the widget as is
- `ID + 1` : increments the id of the copied widget (and all its children) before pasting
- `Clone` : create a clone widget targetting the copied widget
- `Add widget`: create a new widget in selected container
- `Add tab`: create a new tab in selected container
- `Export`: export as fragment file
- `Delete`: delete selected tab or widget
## Inspector
Selected widget's properties are displayed and can be modified in the inspector. The [properties reference](../widgets/properties-reference.md) lists the available properties for each widget type.
- Property fields are all multiline (press `shift + enter` for new line).
- Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, double quotes around object keys are not mandatory.
- Clicking on a property name spawns a help modal window
- Properties are divided into multiple categories that can be toggled with a click. ++alt+"Click"++ on a category closes the other categories before toggling selected category.
Some properties (for example `onValue`) have a special code editor with syntax highlighting and many keyboard shortcuts (available by clicking on the "Help" button). In these properties, pressing `enter` will not submit pending changes but instead insert a new line at the cursor position (as you would expect in a regular editor). To submit pending changes, press ++ctrl+enter++ (or ++cmd+enter== on Mac) or click outside the editor.
Widgets can be locked for edition by enabling their `lock` property. When locked, a widget can't be modified by the editor but it remains possible to delete it or to move it from a container to another in the project tree.
## Project tree
The project tree displays the whole widget structure of the session. Widgets can be reordered or moved to another container with drag-and-drop.
The "Filter" input allows filtering displayed widgets by their `id`. It's also possible to only display a single type of widget by typing `type:fader` for example.
Invisible widgets are displayed with a lower opacity and their name in italic. Locked widgets are displayed with a lock icon after their name.
## Widget resizing / dragging
Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle (holding ++alt++ extends this handle to the widget's size to ease dragging). If the widget's position/size was written in percents, the editor will try to keep using percents.
When the grid is enabled, widget resizing / dragging snaps to a 10 pixel wide grid.
## Multi-widgets editing
Multiple widgets can be edited at once.
- The inspector will only display properties that are shared by all selected widgets
- Selection can only contain sibling widgets (same direct parent)
- Context-menu actions and properties changes apply to all selected widgets
- Resizing / Dragging will affect all selected widgets, relatively the selection's size and position
## Keyboard shortcuts
=== "Linux / Windows"
| Shortcut | Description |
|---|---|
| ++ctrl+g++ | Toggle grid. |
| ++ctrl+t++ | Toggle session tree. |
| ++ctrl+i++ | Toggle inspector. |
| ++"Click"++ | Widget selection. |
| ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it. If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. |
| ++ctrl+z++ | Undo |
| ++ctrl+y++ <br/>++ctrl+shift+z++ | Redo |
| ++delete++ | Delete selected widgets |
| ++ctrl+c++ | Copy selected widgets |
| ++ctrl+x++ | Cut selected widgets |
| ++ctrl+v++ | Paste clipboard in selected widget |
| ++ctrl+shift+v++ | Paste and increment id |
| ++ctrl+d++ | Duplicate selected widget |
| ++ctrl+shift+d++ | Duplicate selected widget and increment id |
| ++alt+c+"Drag"++ | Paste selection to position |
| ++alt+c+shift+"Drag"++ | Paste selection to dragged position and increment id |
| ++ctrl+up++ <br/>++ctrl+down++ <br/>++ctrl+left++ <br/>++ctrl+right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++ctrl+a++ | Select current widget's siblings and itself |
| ++ctrl+shift+a++ | Cancel current widget selection |
| ++up++ | Select current widget's previous sibling |
| ++down++ | Select current widget's next sibling |
| ++left++ | Select current widget's parent |
| ++right++ | Select current widget's first child |
| ++t++ | Show selected widget(s) in the project tree |
| ++y++ | Show selected widget(s) in the session |
| ++ctrl+f++ | Focus search input in project tree |
| ++"Home"++ | Send selected widget to back |
| ++"Page Up"++ | Send selected widget farther |
| ++"Page Down"++ | Bring selected widget closer |
| ++"End"++ | Bring selected widget to front |
| ++"F2"++ | Bring "label" property input into view if selected widget has one |
| ++h++ | Hide selection area and widget resize / drag handles while pressed |
| ++alt+"Mousewheel"++ | change editor zoom |
| ++ctrl+0++ | reset zoom |
=== "Mac"
| Shortcut | Description |
|---|---|
| ++cmd+g++ | Toggle grid. |
| ++cmd+t++ | Toggle session tree. |
| ++cmd+i++ | Toggle inspector. |
| ++"Click"++ | Widget selection. |
| ++cmd+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it. If ++cmd++ is pressed too, current selection is kept and will be merged with the new one if possible. |
| ++cmd+z++ | Undo |
| ++cmd+y++ <br/>++cmd+shift+z++ | Redo |
| ++backspace++ | Delete selected widgets |
| ++cmd+c++ | Copy selected widgets |
| ++cmd+x++ | Cut selected widgets |
| ++cmd+v++ | Paste clipboard in selected widget |
| ++cmd+shift+v++ | Paste and increment id |
| ++cmd+d++ | Duplicate selected widget |
| ++cmd+shift+d++ | Duplicate selected widget and increment id |
| ++alt+c+"Drag"++ | Paste selection to position |
| ++alt+c+shift+"Drag"++ | Paste selection to dragged position and increment id |
| ++cmd+up++ <br/>++cmd+down++ <br/>++cmd+left++ <br/>++cmd+right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++cmd+a++ | Select current widget's siblings and itself |
| ++cmd+shift+a++ | Cancel current widget selection |
| ++up++ | Select current widget's previous sibling |
| ++down++ | Select current widget's next sibling |
| ++left++ | Select current widget's parent |
| ++right++ | Select current widget's first child |
| ++t++ | Show selected widget in the project tree |
| ++y++ | Show selected widget(s) in the session |
| ++cmd+f++ | Focus search input in project tree |
| ++"Home"++ | Send selected widget to back |
| ++"Page Up"++ | Send selected widget farther |
| ++"Page Down"++ | Bring selected widget closer |
| ++"End"++ | Bring selected widget to front |
| ++"F2"++ | Bring "label" property input into view if selected widget has one |
| ++h++ | Hide selection area and widget resize / drag handles while pressed |
| ++alt+"Mousewheel"++ | change editor zoom |
| ++cmd+0++ | reset zoom |

View file

@ -0,0 +1,81 @@
![](../../img/screenshots/launcher.png)
## 1. Menu
- Start: start the server (hidden when started)
- Stop: stop the server (hidden when stopped)
- New window: open a new client window (hidden when stopped)
- Load: load server configuration from file
- Save / Save as: save server configuration to file
- MIDI
- List devices: list available MIDI devices in the console
- Restart backend: restart midi backend without restarting the server
- Console:
- Clear: clear console
- Autoscroll: enable/disable console autoscroll
- Check for update at startup: enable/disable this feature
- Launcher
- Autostart: start the server automatically when launcher is started
- Always on top: pin the launcher window above other the windows
- Use tray: enable tray icon and menu
- Start minimized: starts the launcher minimized (or hidden in tray)
The "play/stop" icon can be used to start and stop the server without opening the menu.
## 2. Configuration form
Each server option is displayed here. When clicking on an option's label, a short help will be printed in the console. When an option is not correctly set, its label will turn to orange and an error message will be printed in the console.
## 3. Console
The console displays various information, runtime errors and server debug messages.
## Tray icon
If `Use tray` is set, the launcher comes with a system tray icon that keeps the launcher alive when closed if there is at least one client window opened or if the server is running. Its context menu can be used to toggle the launcher's visibility and access some of the launcher's menu actions.
## Keyboard shortcuts
=== "Linux"
| Shortcut | Description |
|---|---|
| ++f5++ | start server |
| ++f6++ | stop server |
| ++ctrl+n++ | open new client window |
| ++ctrl+o++ | load settings |
| ++ctrl+s++ | save settings |
| ++ctrl+shift+s++ | save settings as... |
| ++ctrl+m++ | list midi devices |
| ++ctrl+l++ | clear console |
| ++ctrl+w++ | close window |
=== "Windows"
| Shortcut | Description |
|---|---|
| ++f5++ | start server |
| ++f6++ | stop server |
| ++ctrl+n++ | open new client window |
| ++ctrl+o++ | load settings |
| ++ctrl+s++ | save settings |
| ++ctrl+shift+s++ | save settings as... |
| ++ctrl+m++ | list midi devices |
| ++ctrl+l++ | clear console |
| ++alt+f4++ | close window |
=== "Mac"
| Shortcut | Description |
|---|---|
| ++f5++ | start server |
| ++f6++ | stop server |
| ++cmd+n++ | open new client window |
| ++cmd+o++ | load settings |
| ++cmd+s++ | save settings |
| ++cmd+shift+s++ | save settings as... |
| ++cmd+m++ | list midi devices |
| ++cmd+l++ | clear console |
| ++cmd+w++ | close window |
| ++cmd+q++ | quit app |

View file

@ -1,832 +0,0 @@
# Widget reference
<div class="accordion" data-category="generic" markdown="1">
<h4 class="accordionlink" id="generic_properties"><a class="headerlink" href="#generic_properties">Generic properties</a></h3>
<div class="accordion-description">Properties shared by all widgets</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 id="type">type<a class="headerlink" href="#type" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | |
| <h4 id="id">id<a class="headerlink" href="#id" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
| <h4 id="linkId">linkId<a class="headerlink" href="#linkId" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array` | <code>""</code> | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.<br/><br/>When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)<br/><br/>When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) |
| <h4 class="thead2" id="geometry">geometry<a class="headerlink" href="#geometry" title="Permanent link">#</a></h4> ||||
| <h4 id="left">left<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#left" title="Permanent link">#</a></h4> | `number`&vert;<br/>`string` | <code>"auto"</code> | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).<br/><br/>Otherwise, the widget will be absolutely positioned |
| <h4 id="top">top<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#top" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"auto"</code> | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).<br/><br/>Otherwise, the widget will be absolutely positioned |
| <h4 id="width">width<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#width" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"auto"</code> | |
| <h4 id="height">height<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#height" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"auto"</code> | |
| <h4 class="thead2" id="style">style<a class="headerlink" href="#style" title="Permanent link">#</a></h4> ||||
| <h4 id="label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#label" title="Permanent link">#</a></h4> | `string`&vert;<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free) |
| <h4 id="color">color<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#color" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Defines the widget's accent color (css variable `--custom-color`). Must be a valid CSS color. Set to "auto" to inherit from parent widget. |
| <h4 id="css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/css-tips/">documentation</a>. |
| <h4 class="thead2" id="value">value<a class="headerlink" href="#value" title="Permanent link">#</a></h4> ||||
| <h4 id="default">default<a class="headerlink" href="#default" title="Permanent link">#</a></h4> | `*` | <code>""</code> | If set, the widget will be initialized with this value when the session is loaded. |
| <h4 id="value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#value" title="Permanent link">#</a></h4> | `*` | <code>""</code> | Define the widget's value depending on other widget's values / properties using property inheritance and property maths |
| <h4 class="thead2" id="osc">osc<a class="headerlink" href="#osc" title="Permanent link">#</a></h4> ||||
| <h4 id="precision">precision<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#precision" title="Permanent link">#</a></h4> | `integer`&vert;<br/>`string` | <code>2</code> | Defines the number of decimals to display and to send.<br/><br/>Set to `0` to send integers only.<br/><br/>Data type can be specified by appending a valid osc type tag to the precision value, for example : `3d` will make the widget send double precision numbers rounded to three decimals |
| <h4 id="address">address<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#address" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | OSC address for sending messages, it must start with a / |
| <h4 id="preArgs">preArgs<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#preArgs" title="Permanent link">#</a></h4> | `*`&vert;<br/>`array` | <code>""</code> | A value or array of values that will be prepended to the OSC messages.<br/><br/>Values can be defined as objects if the osc type tag needs to be specified: `{type: "i", value: 1}` |
| <h4 id="target">target<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#target" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array`&vert;<br/>`null` | <code>""</code> | This defines the targets of the widget's OSC messages<br/>- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`<br/>- If midi is enabled, targets can be `midi:device_name`<br/>- The special item `"self"` can be used to refer to the emitting client directly.<br/>- If no target is set, messages can still be sent if the server has default targets<br/>- The server's default targets can be bypassed by setting one of the items to `null` |
| <h4 id="bypass">bypass<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#bypass" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent the widget from sending any osc message |</div>
## Sliders
<div class="accordion" data-category="Sliders" markdown="1">
<h4 class="accordionlink" id="fader"><a class="headerlink" href="#fader">fader</a></h3>
<div class="accordion-description">Vertical / horizontal slider.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="fader_style">style<a class="headerlink" href="#fader_style" title="Permanent link">#</a></h4> ||||
| <h4 id="fader_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;`<br/>- `--gauge-width: number;` (2-16, requires a manual resize to take effect) |
| <h4 class="thead2" id="fader_fader">fader<a class="headerlink" href="#fader_fader" title="Permanent link">#</a></h4> ||||
| <h4 id="fader_horizontal">horizontal<a class="headerlink" href="#fader_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
| <h4 id="fader_alignRight">alignRight<a class="headerlink" href="#fader_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to invert the pip's and fader's position |
| <h4 id="fader_pips">pips<a class="headerlink" href="#fader_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
| <h4 id="fader_input">input<a class="headerlink" href="#fader_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
| <h4 id="fader_meter">meter<a class="headerlink" href="#fader_meter" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to true to display a vu-meter next in the fader<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it<br/>- the meter's `address` will be the same as the widget's with `/meter` appended to it |
| <h4 id="fader_compact">compact<a class="headerlink" href="#fader_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. If `input` is `true`, the input can be focused with a right-click (mouse only). Disables `pips` when enabled. |
| <h4 id="fader_dashed">dashed<a class="headerlink" href="#fader_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
| <h4 id="fader_snap">snap<a class="headerlink" href="#fader_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
| <h4 id="fader_spring">spring<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
| <h4 id="fader_doubleTap">doubleTap<a class="headerlink" href="#fader_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
| <h4 id="fader_range">range<a class="headerlink" href="#fader_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
| <h4 id="fader_logScale">logScale<a class="headerlink" href="#fader_logScale" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="fader_sensitivity">sensitivity<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the fader's sensitivity when `snap` is `false` |
| <h4 id="fader_steps">steps<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_steps" title="Permanent link">#</a></h4> | `string`&vert;<br/>`number`&vert;<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
| <h4 id="fader_unit">unit<a class="headerlink" href="#fader_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
| <h4 id="fader_origin">origin<a class="headerlink" href="#fader_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
| <h4 class="thead2" id="fader_osc">osc<a class="headerlink" href="#fader_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="fader_touchAddress">touchAddress<a class="headerlink" href="#fader_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
| <h4 id="fader_meterAddress">meterAddress<a class="headerlink" href="#fader_meterAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for the built-in meter |</div>
<div class="accordion" data-category="Sliders" markdown="1">
<h4 class="accordionlink" id="knob"><a class="headerlink" href="#knob">knob</a></h3>
<div class="accordion-description">Rotative knob slider.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="knob_style">style<a class="headerlink" href="#knob_style" title="Permanent link">#</a></h4> ||||
| <h4 id="knob_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;` |
| <h4 class="thead2" id="knob_knob">knob<a class="headerlink" href="#knob_knob" title="Permanent link">#</a></h4> ||||
| <h4 id="knob_pips">pips<a class="headerlink" href="#knob_pips" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to show the scale's breakpoints |
| <h4 id="knob_input">input<a class="headerlink" href="#knob_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
| <h4 id="knob_compact">compact<a class="headerlink" href="#knob_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. If `input` is `true`, the input can be focused with a right-click (mouse only). Disables `pips` when enabled. |
| <h4 id="knob_dashed">dashed<a class="headerlink" href="#knob_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
| <h4 id="knob_angle">angle<a class="headerlink" href="#knob_angle" title="Permanent link">#</a></h4> | `number` | <code>270</code> | Defines the angle's width of the knob, in degrees |
| <h4 id="knob_snap">snap<a class="headerlink" href="#knob_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
| <h4 id="knob_spring">spring<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
| <h4 id="knob_doubleTap">doubleTap<a class="headerlink" href="#knob_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the knob reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
| <h4 id="knob_range">range<a class="headerlink" href="#knob_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
| <h4 id="knob_logScale">logScale<a class="headerlink" href="#knob_logScale" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="knob_sensitivity">sensitivity<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the knob's sensitivity when `snap` is `false` |
| <h4 id="knob_steps">steps<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_steps" title="Permanent link">#</a></h4> | `string`&vert;<br/>`number`&vert;<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
| <h4 id="knob_unit">unit<a class="headerlink" href="#knob_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
| <h4 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
| <h4 class="thead2" id="knob_osc">osc<a class="headerlink" href="#knob_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="knob_touchAddress">touchAddress<a class="headerlink" href="#knob_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |</div>
<div class="accordion" data-category="Sliders" markdown="1">
<h4 class="accordionlink" id="encoder"><a class="headerlink" href="#encoder">encoder</a></h3>
<div class="accordion-description">A knob that sends a relative direction infomation instead of an absolute value.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="encoder_encoder">encoder<a class="headerlink" href="#encoder_encoder" title="Permanent link">#</a></h4> ||||
| <h4 id="encoder_compact">compact<a class="headerlink" href="#encoder_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. |
| <h4 id="encoder_ticks">ticks<a class="headerlink" href="#encoder_ticks" title="Permanent link">#</a></h4> | `number` | <code>360</code> | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
| <h4 id="encoder_back">back<a class="headerlink" href="#encoder_back" title="Permanent link">#</a></h4> | `*` | <code>-1</code> | Defines which value is sent when rotating the encoder anticlockwise |
| <h4 id="encoder_forth">forth<a class="headerlink" href="#encoder_forth" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Defines which value is sent when rotating the encoder clockwise |
| <h4 id="encoder_release">release<a class="headerlink" href="#encoder_release" title="Permanent link">#</a></h4> | `number` | <code>""</code> | Defines which value is sent when releasing the encoder:<br/>- Set to `null` to send send no argument in the osc message<br/>- Can be an `object` if the type needs to be specified |
| <h4 id="encoder_snap">snap<a class="headerlink" href="#encoder_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
| <h4 id="encoder_doubleTap">doubleTap<a class="headerlink" href="#encoder_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
| <h4 class="thead2" id="encoder_osc">osc<a class="headerlink" href="#encoder_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="encoder_touchAddress">touchAddress<a class="headerlink" href="#encoder_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |</div>
<div class="accordion" data-category="Sliders" markdown="1">
<h4 class="accordionlink" id="range"><a class="headerlink" href="#range">range</a></h3>
<div class="accordion-description">A fader with two heads for setting a range.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="range_style">style<a class="headerlink" href="#range_style" title="Permanent link">#</a></h4> ||||
| <h4 id="range_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#range_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
| <h4 class="thead2" id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">#</a></h4> ||||
| <h4 id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | See fader's `range` |
| <h4 id="range_horizontal">horizontal<a class="headerlink" href="#range_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
| <h4 id="range_alignRight">alignRight<a class="headerlink" href="#range_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
| <h4 id="range_input">input<a class="headerlink" href="#range_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | See fader's `input` |
| <h4 id="range_compact">compact<a class="headerlink" href="#range_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `compact` |
| <h4 id="range_pips">pips<a class="headerlink" href="#range_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | See fader's `pips` |
| <h4 id="range_snap">snap<a class="headerlink" href="#range_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `snap` |
| <h4 id="range_spring">spring<a class="headerlink" href="#range_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `spring` |
| <h4 id="range_logScale">logScale<a class="headerlink" href="#range_logScale" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
| <h4 id="range_sensitivity">sensitivity<a class="headerlink" href="#range_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | See fader's `sensitivity` |
| <h4 class="thead2" id="range_osc">osc<a class="headerlink" href="#range_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="range_touchAddress">touchAddress<a class="headerlink" href="#range_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | See fader's `touchAddress` |
| <h4 id="range_split">split<a class="headerlink" href="#range_split" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it<br/><br/>Can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
## Buttons
<div class="accordion" data-category="Buttons" markdown="1">
<h4 class="accordionlink" id="toggle"><a class="headerlink" href="#toggle">toggle</a></h3>
<div class="accordion-description">On / off button.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="toggle_toggle">toggle<a class="headerlink" href="#toggle_toggle" title="Permanent link">#</a></h4> ||||
| <h4 id="toggle_doubleTap">doubleTap<a class="headerlink" href="#toggle_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be toggled instead of a single tap |
| <h4 id="toggle_led">led<a class="headerlink" href="#toggle_led" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the toggle's state with a led |
| <h4 id="toggle_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
| <h4 id="toggle_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |</div>
<div class="accordion" data-category="Buttons" markdown="1">
<h4 class="accordionlink" id="push"><a class="headerlink" href="#push">push</a></h3>
<div class="accordion-description">On / off button that turns off when released.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="push_push">push<a class="headerlink" href="#push_push" title="Permanent link">#</a></h4> ||||
| <h4 id="push_doubleTap">doubleTap<a class="headerlink" href="#push_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
| <h4 id="push_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
| <h4 id="push_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
| <h4 id="push_norelease">norelease<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_norelease" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent sending any osc message when releasing the button |</div>
<div class="accordion" data-category="Buttons" markdown="1">
<h4 class="accordionlink" id="switch"><a class="headerlink" href="#switch">switch</a></h3>
<div class="accordion-description">Value selector button.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="switch_switch">switch<a class="headerlink" href="#switch_switch" title="Permanent link">#</a></h4> ||||
| <h4 id="switch_horizontal">horizontal<a class="headerlink" href="#switch_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
| <h4 id="switch_showValues">showValues<a class="headerlink" href="#switch_showValues" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | If values is an object, set to `true` to display both values and labels instead of labels only |
| <h4 id="switch_values">values<a class="headerlink" href="#switch_values" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>\{<br/>&nbsp;"Value 1": 1,<br/>&nbsp;"Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
| <h4 id="switch_traversing">traversing<a class="headerlink" href="#switch_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |</div>
<div class="accordion" data-category="Buttons" markdown="1">
<h4 class="accordionlink" id="dropdown"><a class="headerlink" href="#dropdown">dropdown</a></h3>
<div class="accordion-description">Native dropdown menu.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="dropdown_dropdown">dropdown<a class="headerlink" href="#dropdown_dropdown" title="Permanent link">#</a></h4> ||||
| <h4 id="dropdown_values">values<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#dropdown_values" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>\{<br/>&nbsp;"Value 1": 1,<br/>&nbsp;"Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept<br/><br/>An empty option will always be prepended to values (sends an osc message without any value); it can be hidden by adding `option:first-child{display:none}` to the widget's `css` |</div>
<div class="accordion" data-category="Buttons" markdown="1">
<h4 class="accordionlink" id="menu"><a class="headerlink" href="#menu">menu</a></h3>
<div class="accordion-description">Drag and drop menu with a circular or grid layout.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="menu_menu">menu<a class="headerlink" href="#menu_menu" title="Permanent link">#</a></h4> ||||
| <h4 id="menu_size">size<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_size" title="Permanent link">#</a></h4> | `number`&vert;<br/>`array` | <code>200</code> | - If `circular` is `true`: diameter (in px)<br/>- If `circular` is `false`: square size or `[width, height]` array |
| <h4 id="menu_circular">circular<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_circular" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Defines whether the menu should be rendered in a circle or in a box |
| <h4 id="menu_vertical">vertical<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_vertical" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | If `circular` is `false`, set this to `true` for vertical layout<br/><br/>Ignored when `grid` is `true` |
| <h4 id="menu_grid">grid<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_grid" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | - If `circular` is `false`, set this to `true` for grid layout<br/>- Can be a `number` to define the number of columns |
| <h4 id="menu_toggle">toggle<a class="headerlink" href="#menu_toggle" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the menu stay opened after mouse/touch release |
| <h4 id="menu_doubleTap">doubleTap<a class="headerlink" href="#menu_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
| <h4 id="menu_values">values<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_values" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>\{<br/>&nbsp;"Value 1": 1,<br/>&nbsp;"Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
| <h4 id="menu_weights">weights<a class="headerlink" href="#menu_weights" title="Permanent link">#</a></h4> | `array` | <code>""</code> | `Array` of `number` defining the weights of each value in `values`<br/><br/>Ignored when `grid` is `true` |</div>
## Pads
<div class="accordion" data-category="Pads" markdown="1">
<h4 class="accordionlink" id="xy"><a class="headerlink" href="#xy">xy</a></h3>
<div class="accordion-description">Two-dimensional slider.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="xy_style">style<a class="headerlink" href="#xy_style" title="Permanent link">#</a></h4> ||||
| <h4 id="xy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#xy_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--point-opacity: number;` |
| <h4 class="thead2" id="xy_xy">xy<a class="headerlink" href="#xy_xy" title="Permanent link">#</a></h4> ||||
| <h4 id="xy_pointSize">pointSize<a class="headerlink" href="#xy_pointSize" title="Permanent link">#</a></h4> | `integer` | <code>20</code> | Defines the points' size |
| <h4 id="xy_snap">snap<a class="headerlink" href="#xy_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
| <h4 id="xy_spring">spring<a class="headerlink" href="#xy_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
| <h4 id="xy_pips">pips<a class="headerlink" href="#xy_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
| <h4 id="xy_rangeX">rangeX<a class="headerlink" href="#xy_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the x axis |
| <h4 id="xy_rangeY">rangeY<a class="headerlink" href="#xy_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the y axis |
| <h4 id="xy_logScaleX">logScaleX<a class="headerlink" href="#xy_logScaleX" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="xy_logScaleY">logScaleY<a class="headerlink" href="#xy_logScaleY" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="xy_input">input<a class="headerlink" href="#xy_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to hide the built-in input widget |
| <h4 id="xy_doubleTap">doubleTap<a class="headerlink" href="#xy_doubleTap" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`string` | <code>false</code> | Set to `true` to make the fader reset to its default value when receiving a double tap.<br/><br/>Can also be an osc address, which case the widget will just send an osc message: `/<doubleTap> <preArgs>` |
| <h4 id="xy_sensitivity">sensitivity<a class="headerlink" href="#xy_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
| <h4 class="thead2" id="xy_osc">osc<a class="headerlink" href="#xy_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="xy_touchAddress">touchAddress<a class="headerlink" href="#xy_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
| <h4 id="xy_split">split<a class="headerlink" href="#xy_split" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/x` or `/y` appended to it<br/><br/>Can be set as an `object` to specify a different address : ['/osc_address_x', '/osc_address_y']<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
<div class="accordion" data-category="Pads" markdown="1">
<h4 class="accordionlink" id="rgb"><a class="headerlink" href="#rgb">rgb</a></h3>
<div class="accordion-description">Color picker with optional alpha slider.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="rgb_rgb">rgb<a class="headerlink" href="#rgb_rgb" title="Permanent link">#</a></h4> ||||
| <h4 id="rgb_snap">snap<a class="headerlink" href="#rgb_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
| <h4 id="rgb_spring">spring<a class="headerlink" href="#rgb_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
| <h4 id="rgb_range">range<a class="headerlink" href="#rgb_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 255<br/>}</code> | Defines the widget's output scale. |
| <h4 id="rgb_input">input<a class="headerlink" href="#rgb_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input widget |
| <h4 id="rgb_alpha">alpha<a class="headerlink" href="#rgb_alpha" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to enable alpha channel |
| <h4 class="thead2" id="rgb_osc">osc<a class="headerlink" href="#rgb_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="rgb_split">split<a class="headerlink" href="#rgb_split" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for for r and g & b. The address will be the same as the widget's with `/r`, `/g` or `/b` appended to it<br/><br/>Can be set as an `object` to specify a different address : `['/r', '/g', 'b']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
<div class="accordion" data-category="Pads" markdown="1">
<h4 class="accordionlink" id="multixy"><a class="headerlink" href="#multixy">multixy</a></h3>
<div class="accordion-description">Multi-point XY pad.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="multixy_style">style<a class="headerlink" href="#multixy_style" title="Permanent link">#</a></h4> ||||
| <h4 id="multixy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#multixy_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--color-text: point-color;`<br/><br/>Pads can be targetted individually with the .pad-X selector (where X is the pad's index) |
| <h4 class="thead2" id="multixy_multi xy">multi xy<a class="headerlink" href="#multixy_multi xy" title="Permanent link">#</a></h4> ||||
| <h4 id="multixy_points">points<a class="headerlink" href="#multixy_points" title="Permanent link">#</a></h4> | `integer`&vert;<br/>`array` | <code>2</code> | Defines the number of points on the pad<br/><br/>Can be an array of strings that will be used as labels for the points (ex: `['A', 'B']`) |
| <h4 class="thead2" id="multixy_xy">xy<a class="headerlink" href="#multixy_xy" title="Permanent link">#</a></h4> ||||
| <h4 id="multixy_pointSize">pointSize<a class="headerlink" href="#multixy_pointSize" title="Permanent link">#</a></h4> | `integer` | <code>20</code> | Defines the points' size |
| <h4 id="multixy_snap">snap<a class="headerlink" href="#multixy_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
| <h4 id="multixy_spring">spring<a class="headerlink" href="#multixy_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
| <h4 id="multixy_pips">pips<a class="headerlink" href="#multixy_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
| <h4 id="multixy_rangeX">rangeX<a class="headerlink" href="#multixy_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the x axis |
| <h4 id="multixy_rangeY">rangeY<a class="headerlink" href="#multixy_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the y axis |
| <h4 id="multixy_logScaleX">logScaleX<a class="headerlink" href="#multixy_logScaleX" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="multixy_logScaleY">logScaleY<a class="headerlink" href="#multixy_logScaleY" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="multixy_sensitivity">sensitivity<a class="headerlink" href="#multixy_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
| <h4 class="thead2" id="multixy_osc">osc<a class="headerlink" href="#multixy_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="multixy_touchAddress">touchAddress<a class="headerlink" href="#multixy_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
| <h4 id="multixy_split">split<a class="headerlink" href="#multixy_split" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/N/x` or `/N/y` appended to it, where N is the point's id (or the point's label if points is an array)<br/><br/>Can be set as an `object` to specify a different address : `['/0/x', '/0/y', '/1/x', '/2/y']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
## Matrices
<div class="accordion" data-category="Matrices" markdown="1">
<h4 class="accordionlink" id="matrix"><a class="headerlink" href="#matrix">matrix</a></h3>
<div class="accordion-description">Generic matrix for creating rows/columns of widgets.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">#</a></h4> ||||
| <h4 id="matrix_widgetType">widgetType<a class="headerlink" href="#matrix_widgetType" title="Permanent link">#</a></h4> | `string` | <code>"toggle"</code> | Defines the type of the widgets in the matrix |
| <h4 id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">#</a></h4> | `array` | <code>[<br/>&nbsp;2,<br/>&nbsp;2<br/>]</code> | Defines the number of columns and and rows in the matrix |
| <h4 id="matrix_start">start<a class="headerlink" href="#matrix_start" title="Permanent link">#</a></h4> | `integer` | <code>0</code> | First widget's index |
| <h4 id="matrix_spacing">spacing<a class="headerlink" href="#matrix_spacing" title="Permanent link">#</a></h4> | `integer` | <code>0</code> | Adds space between widgets |
| <h4 id="matrix_traversing">traversing<a class="headerlink" href="#matrix_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
| <h4 id="matrix_border">border<a class="headerlink" href="#matrix_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disables the widgets' borders |
| <h4 id="matrix_props">props<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#matrix_props" title="Permanent link">#</a></h4> | `object` | <code>\{}</code> | Defines a set of property to override the widgets' defaults.<br/><br/>Formulas in this field are resolved with an extra variable representing each widget's index: `$`<br/><br/>Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) |</div>
<div class="accordion" data-category="Matrices" markdown="1">
<h4 class="accordionlink" id="keyboard"><a class="headerlink" href="#keyboard">keyboard</a></h3>
<div class="accordion-description">Piano keyboard.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="keyboard_style">style<a class="headerlink" href="#keyboard_style" title="Permanent link">#</a></h4> ||||
| <h4 id="keyboard_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keyboard_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-white:color;` (white keys color)<br/>- `--color-black:color;` (black keys color) |
| <h4 class="thead2" id="keyboard_matrix">matrix<a class="headerlink" href="#keyboard_matrix" title="Permanent link">#</a></h4> ||||
| <h4 id="keyboard_keys">keys<a class="headerlink" href="#keyboard_keys" title="Permanent link">#</a></h4> | `number` | <code>25</code> | Defines the number keys |
| <h4 id="keyboard_start">start<a class="headerlink" href="#keyboard_start" title="Permanent link">#</a></h4> | `number` | <code>48</code> | MIDI note number to start with (default is C4)<br/><br/>Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` |
| <h4 id="keyboard_traversing">traversing<a class="headerlink" href="#keyboard_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
| <h4 id="keyboard_on">on<a class="headerlink" href="#keyboard_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
| <h4 id="keyboard_off">off<a class="headerlink" href="#keyboard_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
| <h4 id="keyboard_toggles">toggles<a class="headerlink" href="#keyboard_toggles" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make keys bahave like toggle buttons |
| <h4 class="thead2" id="keyboard_osc">osc<a class="headerlink" href="#keyboard_osc" title="Permanent link">#</a></h4> ||||
| <h4 id="keyboard_split">split<a class="headerlink" href="#keyboard_split" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`string` | <code>false</code> | `true`: the widget's index will be appended to the matrice's osc address<br/><br/>`false`: it will be prepended to the widget's preArgs<br/><br/>`string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |</div>
<div class="accordion" data-category="Matrices" markdown="1">
<h4 class="accordionlink" id="patchbay"><a class="headerlink" href="#patchbay">patchbay</a></h3>
<div class="accordion-description">Connect inputs to outputs.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="patchbay_style">style<a class="headerlink" href="#patchbay_style" title="Permanent link">#</a></h4> ||||
| <h4 id="patchbay_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#patchbay_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | The inputs/ouputs width can be adjusted by using the `.nodes` selector:<br/><br/>`.nodes { width: 25% }` |
| <h4 class="thead2" id="patchbay_patchbay">patchbay<a class="headerlink" href="#patchbay_patchbay" title="Permanent link">#</a></h4> ||||
| <h4 id="patchbay_inputs">inputs<a class="headerlink" href="#patchbay_inputs" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>[<br/>&nbsp;"input_1",<br/>&nbsp;"input_2"<br/>]</code> | - `Array` of input names : `['input_1', 'input_2']`<br/>- `Object` of `"label_1": "input_1"` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept<br/><br/><br/><br/>Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected: <br/><br/>`/patchbay_address input_x output_x output_y etc`<br/><br/>If no output is connected to the input, the message will be `/patchbay_address input_x`<br/><br/>The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1` |
| <h4 id="patchbay_outputs">outputs<a class="headerlink" href="#patchbay_outputs" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>[<br/>&nbsp;"output_1",<br/>&nbsp;"output_2"<br/>]</code> | List of output values the inputs can connect to (see `inputs`). |</div>
## Plots
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="plot"><a class="headerlink" href="#plot">plot</a></h3>
<div class="accordion-description">XY coordinates plot.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="plot_plot">plot<a class="headerlink" href="#plot_plot" title="Permanent link">#</a></h4> ||||
| <h4 id="plot_rangeX">rangeX<a class="headerlink" href="#plot_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the x axis |
| <h4 id="plot_rangeY">rangeY<a class="headerlink" href="#plot_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the y axis |
| <h4 id="plot_logScaleX">logScaleX<a class="headerlink" href="#plot_logScaleX" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="plot_logScaleY">logScaleY<a class="headerlink" href="#plot_logScaleY" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="plot_origin">origin<a class="headerlink" href="#plot_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it. |
| <h4 id="plot_dots">dots<a class="headerlink" href="#plot_dots" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | |
| <h4 id="plot_bars">bars<a class="headerlink" href="#plot_bars" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
| <h4 id="plot_smooth">smooth<a class="headerlink" href="#plot_smooth" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
| <h4 id="plot_pips">pips<a class="headerlink" href="#plot_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
| <h4 class="thead2" id="plot_value">value<a class="headerlink" href="#plot_value" title="Permanent link">#</a></h4> ||||
| <h4 id="plot_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#plot_value" title="Permanent link">#</a></h4> | `array`&vert;<br/>`string` | <code>""</code> | - `Array` of `y` values<br/>- `Array` of `[x, y]` `array` values<br/>- `String` `array`<br/>- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="eq"><a class="headerlink" href="#eq">eq</a></h3>
<div class="accordion-description">Draws frequency response between from from an array of filter objects.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="eq_eq">eq<a class="headerlink" href="#eq_eq" title="Permanent link">#</a></h4> ||||
| <h4 id="eq_pips">pips<a class="headerlink" href="#eq_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to hide the scale |
| <h4 id="eq_resolution">resolution<a class="headerlink" href="#eq_resolution" title="Permanent link">#</a></h4> | `number` | <code>128</code> | Defines the number of points used to compute the frequency response |
| <h4 id="eq_rangeY">rangeY<a class="headerlink" href="#eq_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the y axis |
| <h4 id="eq_origin">origin<a class="headerlink" href="#eq_origin" title="Permanent link">#</a></h4> | `number`&vert;<br/>`boolean` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
| <h4 id="eq_logScaleX">logScaleX<a class="headerlink" href="#eq_logScaleX" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="eq_smooth">smooth<a class="headerlink" href="#eq_smooth" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
| <h4 class="thead2" id="eq_value">value<a class="headerlink" href="#eq_value" title="Permanent link">#</a></h4> ||||
| <h4 id="eq_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#eq_value" title="Permanent link">#</a></h4> | `array` | <code>""</code> | Each item must be an object with the following properties<br/>- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak" or "notch")<br/>- `freq`: number (filter's resonant frequency)<br/>- `q`: number (Q factor)<br/>- `gain`: number<br/>- `on`: boolean |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="visualizer"><a class="headerlink" href="#visualizer">visualizer</a></h3>
<div class="accordion-description">Display its value over time.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="visualizer_visualizer">visualizer<a class="headerlink" href="#visualizer_visualizer" title="Permanent link">#</a></h4> ||||
| <h4 id="visualizer_duration">duration<a class="headerlink" href="#visualizer_duration" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines visualization duration in seconds |
| <h4 id="visualizer_range">range<a class="headerlink" href="#visualizer_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Defines the min and max values for the y axis |
| <h4 id="visualizer_origin">origin<a class="headerlink" href="#visualizer_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
| <h4 id="visualizer_logScale">logScale<a class="headerlink" href="#visualizer_logScale" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
| <h4 id="visualizer_smooth">smooth<a class="headerlink" href="#visualizer_smooth" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
| <h4 id="visualizer_pips">pips<a class="headerlink" href="#visualizer_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="led"><a class="headerlink" href="#led">led</a></h3>
<div class="accordion-description">Intensity display.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="led_led">led<a class="headerlink" href="#led_led" title="Permanent link">#</a></h4> ||||
| <h4 id="led_range">range<a class="headerlink" href="#led_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | Value to led intensity mapping range |
| <h4 id="led_logScale">logScale<a class="headerlink" href="#led_logScale" title="Permanent link">#</a></h4> | `boolean`&vert;<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="rgbled"><a class="headerlink" href="#rgbled">rgbled</a></h3>
<div class="accordion-description">Rgb / rgba color display</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="rgbled_value">value<a class="headerlink" href="#rgbled_value" title="Permanent link">#</a></h4> ||||
| <h4 id="rgbled_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#rgbled_value" title="Permanent link">#</a></h4> | `array`&vert;<br/>`string` | <code>""</code> | - `Array`: `[r, g, b]` (`r`, `g` and `b` between `0` and `255`)<br/>- `Array`: `[r, g, b, alpha]` (`alpha` between `0` and `255`)<br/>- `String`: CSS color |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="meter"><a class="headerlink" href="#meter">meter</a></h3>
<div class="accordion-description">Non-interactable fader.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="meter_style">style<a class="headerlink" href="#meter_style" title="Permanent link">#</a></h4> ||||
| <h4 id="meter_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#meter_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
| <h4 class="thead2" id="meter_meter">meter<a class="headerlink" href="#meter_meter" title="Permanent link">#</a></h4> ||||
| <h4 id="meter_range">range<a class="headerlink" href="#meter_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/>&nbsp;"min": 0,<br/>&nbsp;"max": 1<br/>}</code> | See fader's `range` |
| <h4 id="meter_logScale">logScale<a class="headerlink" href="#meter_logScale" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
| <h4 id="meter_origin">origin<a class="headerlink" href="#meter_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | See fader's `origin` |
| <h4 id="meter_unit">unit<a class="headerlink" href="#meter_unit" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | See fader's `unit` |
| <h4 id="meter_alignRight">alignRight<a class="headerlink" href="#meter_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
| <h4 id="meter_horizontal">horizontal<a class="headerlink" href="#meter_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
| <h4 id="meter_pips">pips<a class="headerlink" href="#meter_pips" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `pips` |
| <h4 id="meter_dashed">dashed<a class="headerlink" href="#meter_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `dashed` |
| <h4 id="meter_gradient">gradient<a class="headerlink" href="#meter_gradient" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>[]</code> | When set, the meter's gauge will be filled with a linear color gradient<br/>- each item must be a CSS color string.<br/>- as an `object`: each key must be a number between 0 and 1<br/>- each item must be a CSS color string.<br/><br/>Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="text"><a class="headerlink" href="#text">text</a></h3>
<div class="accordion-description">Display text.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="text_text">text<a class="headerlink" href="#text_text" title="Permanent link">#</a></h4> ||||
| <h4 id="text_vertical">vertical<a class="headerlink" href="#text_vertical" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
| <h4 id="text_wrap">wrap<a class="headerlink" href="#text_wrap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to wrap long lines automatically.<br/><br/>This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property |
| <h4 id="text_align">align<a class="headerlink" href="#text_align" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="image"><a class="headerlink" href="#image">image</a></h3>
<div class="accordion-description">Load a image (url or base64-encoded).</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="image_image">image<a class="headerlink" href="#image_image" title="Permanent link">#</a></h4> ||||
| <h4 id="image_size">size<a class="headerlink" href="#image_size" title="Permanent link">#</a></h4> | `string` | <code>"cover"</code> | CSS background-size |
| <h4 id="image_position">position<a class="headerlink" href="#image_position" title="Permanent link">#</a></h4> | `string` | <code>"center"</code> | CSS background-position |
| <h4 id="image_repeat">repeat<a class="headerlink" href="#image_repeat" title="Permanent link">#</a></h4> | `string` | <code>"no-repeat"</code> | CSS background-repeat |
| <h4 id="image_border">border<a class="headerlink" href="#image_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
| <h4 id="image_cache">cache<a class="headerlink" href="#image_cache" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to disable image caching (forces file reload when updating or editing the widget).<br/><br/>When true, sending `reload` to the widget reloads its image without changing its value |
| <h4 class="thead2" id="image_value">value<a class="headerlink" href="#image_value" title="Permanent link">#</a></h4> ||||
| <h4 id="image_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#image_value" title="Permanent link">#</a></h4> | `string` | <code>""</code> | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)<br/>- Base64 encoded image : `data:image/...` |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="svg"><a class="headerlink" href="#svg">svg</a></h3>
<div class="accordion-description">Svg parser.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="svg_svg">svg<a class="headerlink" href="#svg_svg" title="Permanent link">#</a></h4> ||||
| <h4 id="svg_svg">svg<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#svg_svg" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Svg xml definition:<br/>- will be wrapped in a `< svg />` element<br/>- `<path>` commands support a special percent notation (`%x` and `%y`) |
| <h4 id="svg_border">border<a class="headerlink" href="#svg_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="html"><a class="headerlink" href="#html">html</a></h3>
<div class="accordion-description">Simple HTML parser.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="html_html">html<a class="headerlink" href="#html_html" title="Permanent link">#</a></h4> ||||
| <h4 id="html_html">html<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#html_html" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Allowed HTML tags:<br/><br/>&nbsp;&nbsp;h1-6, blockquote, p, a, ul, ol, nl, li,<br/><br/>&nbsp;&nbsp;b, i, strong, em, strike, code, hr, br, div,<br/><br/>&nbsp;&nbsp;table, thead, img, caption, tbody, tr, th, td, pre |
| <h4 id="html_border">border<a class="headerlink" href="#html_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |</div>
<div class="accordion" data-category="Plots" markdown="1">
<h4 class="accordionlink" id="frame"><a class="headerlink" href="#frame">frame</a></h3>
<div class="accordion-description">Embed a page in a frame (local network only).</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="frame_style">style<a class="headerlink" href="#frame_style" title="Permanent link">#</a></h4> ||||
| <h4 id="frame_label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_label" title="Permanent link">#</a></h4> | `string`&vert;<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc<br/><br/>If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected |
| <h4 class="thead2" id="frame_frame">frame<a class="headerlink" href="#frame_frame" title="Permanent link">#</a></h4> ||||
| <h4 id="frame_border">border<a class="headerlink" href="#frame_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
| <h4 class="thead2" id="frame_value">value<a class="headerlink" href="#frame_value" title="Permanent link">#</a></h4> ||||
| <h4 id="frame_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_value" title="Permanent link">#</a></h4> | `string` | <code>""</code> | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |</div>
## Containers
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="panel"><a class="headerlink" href="#panel">panel</a></h3>
<div class="accordion-description">Widgets or Tabs container.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="panel_panel">panel<a class="headerlink" href="#panel_panel" title="Permanent link">#</a></h4> ||||
| <h4 id="panel_scroll">scroll<a class="headerlink" href="#panel_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
| <h4 id="panel_border">border<a class="headerlink" href="#panel_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
| <h4 class="thead2" id="panel_value">value<a class="headerlink" href="#panel_value" title="Permanent link">#</a></h4> ||||
| <h4 id="panel_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
| <h4 class="thead2" id="panel_children">children<a class="headerlink" href="#panel_children" title="Permanent link">#</a></h4> ||||
| <h4 id="panel_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
| <h4 id="panel_widgets">widgets<a class="headerlink" href="#panel_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
| <h4 id="panel_tabs">tabs<a class="headerlink" href="#panel_tabs" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |</div>
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="strip"><a class="headerlink" href="#strip">strip</a></h3>
<div class="accordion-description">Widget container that display its children in a single column or row.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="strip_strip">strip<a class="headerlink" href="#strip_strip" title="Permanent link">#</a></h4> ||||
| <h4 id="strip_scroll">scroll<a class="headerlink" href="#strip_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
| <h4 id="strip_horizontal">horizontal<a class="headerlink" href="#strip_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display widgets horizontally |
| <h4 id="strip_stretch">stretch<a class="headerlink" href="#strip_stretch" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to stretch widgets evenly |
| <h4 id="strip_border">border<a class="headerlink" href="#strip_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
| <h4 id="strip_spacing">spacing<a class="headerlink" href="#strip_spacing" title="Permanent link">#</a></h4> | `integer`&vert;<br/>`percentage` | <code>0</code> | Adds space between widgets. Percents are always relative to the strips width |
| <h4 class="thead2" id="strip_children">children<a class="headerlink" href="#strip_children" title="Permanent link">#</a></h4> ||||
| <h4 id="strip_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#strip_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
| <h4 id="strip_widgets">widgets<a class="headerlink" href="#strip_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object<br/>- By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others<br/>- Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space<br/>- Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion) |</div>
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="modal"><a class="headerlink" href="#modal">modal</a></h3>
<div class="accordion-description">A toggle button that opens a popup panel. Cannot contain tabs directly.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="modal_modal">modal<a class="headerlink" href="#modal_modal" title="Permanent link">#</a></h4> ||||
| <h4 id="modal_doubleTap">doubleTap<a class="headerlink" href="#modal_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the modal require a double tap to open instead of a single tap |
| <h4 id="modal_popupLabel">popupLabel<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_popupLabel" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Alternative label for the modal popup |
| <h4 id="modal_popupWidth">popupWidth<a class="headerlink" href="#modal_popupWidth" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
| <h4 id="modal_popupHeight">popupHeight<a class="headerlink" href="#modal_popupHeight" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
| <h4 id="modal_popupLeft">popupLeft<a class="headerlink" href="#modal_popupLeft" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
| <h4 id="modal_popupTop">popupTop<a class="headerlink" href="#modal_popupTop" title="Permanent link">#</a></h4> | `number`&vert;<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
| <h4 id="modal_scroll">scroll<a class="headerlink" href="#modal_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
| <h4 class="thead2" id="modal_value">value<a class="headerlink" href="#modal_value" title="Permanent link">#</a></h4> ||||
| <h4 id="modal_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines the modal's state:`0` for closed, `1` for opened |
| <h4 class="thead2" id="modal_children">children<a class="headerlink" href="#modal_children" title="Permanent link">#</a></h4> ||||
| <h4 id="modal_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
| <h4 id="modal_widgets">widgets<a class="headerlink" href="#modal_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object |</div>
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="clone"><a class="headerlink" href="#clone">clone</a></h3>
<div class="accordion-description">Widget replication with overridable properties.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="clone_clone">clone<a class="headerlink" href="#clone_clone" title="Permanent link">#</a></h4> ||||
| <h4 id="clone_widgetId">widgetId<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#clone_widgetId" title="Permanent link">#</a></h4> | `string` | <code>""</code> | `id` of the widget to clone |
| <h4 class="thead2" id="clone_overrides">overrides<a class="headerlink" href="#clone_overrides" title="Permanent link">#</a></h4> ||||
| <h4 id="clone_props">props<a class="headerlink" href="#clone_props" title="Permanent link">#</a></h4> | `object` | <code>\{}</code> | Cloned widget's properties to override |</div>
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="root"><a class="headerlink" href="#root">root</a></h3>
<div class="accordion-description">Main (unique) container</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 id="root_id">id<a class="headerlink" href="#root_id" title="Permanent link">#</a></h4> | `string` | <code>"root"</code> | Widgets sharing the same id will act as clones and update each other's value(s) without sending extra osc messages |
| <h4 class="thead2" id="root_value">value<a class="headerlink" href="#root_value" title="Permanent link">#</a></h4> ||||
| <h4 id="root_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
| <h4 class="thead2" id="root_children">children<a class="headerlink" href="#root_children" title="Permanent link">#</a></h4> ||||
| <h4 id="root_traversing">traversing<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
| <h4 id="root_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_variables" title="Permanent link">#</a></h4> | `*` | <code>\{}</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
| <h4 id="root_tabs">tabs<a class="headerlink" href="#root_tabs" title="Permanent link">#</a></h4> | `array` | <code>[<br/>&nbsp;\{}<br/>]</code> | Each element of the array must be a tab object |</div>
<div class="accordion" data-category="Containers" markdown="1">
<h4 class="accordionlink" id="tab"><a class="headerlink" href="#tab">tab</a></h3>
<div class="accordion-description">Tabbed panel widget</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="tab_tab">tab<a class="headerlink" href="#tab_tab" title="Permanent link">#</a></h4> ||||
| <h4 id="tab_detached">detached<a class="headerlink" href="#tab_detached" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens |
| <h4 class="thead2" id="tab_value">value<a class="headerlink" href="#tab_value" title="Permanent link">#</a></h4> ||||
| <h4 id="tab_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#tab_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
| <h4 class="thead2" id="tab_children">children<a class="headerlink" href="#tab_children" title="Permanent link">#</a></h4> ||||
| <h4 id="tab_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#tab_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
| <h4 id="tab_widgets">widgets<a class="headerlink" href="#tab_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object. A tab cannot contain widgets and tabs simultaneously |
| <h4 id="tab_tabs">tabs<a class="headerlink" href="#tab_tabs" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a tab object. A tab cannot contain widgets and tabs simultaneously |</div>
## Switchers
<div class="accordion" data-category="Switchers" markdown="1">
<h4 class="accordionlink" id="state"><a class="headerlink" href="#state">state</a></h3>
<div class="accordion-description">Save and recall the state of other widgets.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="state_state">state<a class="headerlink" href="#state_state" title="Permanent link">#</a></h4> ||||
| <h4 id="state_filter">filter<a class="headerlink" href="#state_filter" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array` | <code>""</code> | Only save state from widgets contained in widgets designated by id. If empty, the whole session's state is saved. Switchers are always ignored.<br/>- widget id `string`<br/>- `array` of widget id strings |
| <h4 id="state_saveLabel">saveLabel<a class="headerlink" href="#state_saveLabel" title="Permanent link">#</a></h4> | `string` | <code>"Save"</code> | Label for save button |
| <h4 id="state_loadLabel">loadLabel<a class="headerlink" href="#state_loadLabel" title="Permanent link">#</a></h4> | `string` | <code>"Load"</code> | Label for load button |
| <h4 id="state_horizontal">horizontal<a class="headerlink" href="#state_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display buttons horizontally |
| <h4 class="thead2" id="state_value">value<a class="headerlink" href="#state_value" title="Permanent link">#</a></h4> ||||
| <h4 id="state_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#state_value" title="Permanent link">#</a></h4> | `object`&vert;<br/>`string` | <code>""</code> | - `object`: `"widget_id": VALUE` pairs<br/>- `string`: `"save"` (trigger save action), `"load"` (trigger load action) or `""` (reset value)<br/><br/><br/><br/>Note: the widget's actual value is never `"save"` or `"load"`, it's either an empty string or an object. |</div>
<div class="accordion" data-category="Switchers" markdown="1">
<h4 class="accordionlink" id="switcher"><a class="headerlink" href="#switcher">switcher</a></h3>
<div class="accordion-description">Store other widgets' values and recall them.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="switcher_switcher">switcher<a class="headerlink" href="#switcher_switcher" title="Permanent link">#</a></h4> ||||
| <h4 id="switcher_linkedWidgets">linkedWidgets<a class="headerlink" href="#switcher_linkedWidgets" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
| <h4 id="switcher_horizontal">horizontal<a class="headerlink" href="#switcher_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
| <h4 id="switcher_values">values<a class="headerlink" href="#switcher_values" title="Permanent link">#</a></h4> | `array`&vert;<br/>`object` | <code>\{<br/>&nbsp;"Value 1": 1,<br/>&nbsp;"Value 2": 2<br/>}</code> | Each item represents a bank that stores the values from the widgets listed in `linkedWidgets`<br/>- `Array` of possible values to switch between : `[1,2,3]`<br/>- `Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |</div>
<div class="accordion" data-category="Switchers" markdown="1">
<h4 class="accordionlink" id="crossfader"><a class="headerlink" href="#crossfader">crossfader</a></h3>
<div class="accordion-description">Switcher with linear interpolation slider.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="crossfader_crossfader">crossfader<a class="headerlink" href="#crossfader_crossfader" title="Permanent link">#</a></h4> ||||
| <h4 id="crossfader_linkedWidgets">linkedWidgets<a class="headerlink" href="#crossfader_linkedWidgets" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
| <h4 id="crossfader_horizontal">horizontal<a class="headerlink" href="#crossfader_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |</div>
## Inputs
<div class="accordion" data-category="Inputs" markdown="1">
<h4 class="accordionlink" id="input"><a class="headerlink" href="#input">input</a></h3>
<div class="accordion-description">Text input.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="input_input">input<a class="headerlink" href="#input_input" title="Permanent link">#</a></h4> ||||
| <h4 id="input_vertical">vertical<a class="headerlink" href="#input_vertical" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
| <h4 id="input_align">align<a class="headerlink" href="#input_align" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |
| <h4 id="input_unit">unit<a class="headerlink" href="#input_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
| <h4 id="input_editable">editable<a class="headerlink" href="#input_editable" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to make the input non-editable |
| <h4 id="input_asYouType">asYouType<a class="headerlink" href="#input_asYouType" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the input send its value at each keystroke |</div>
<div class="accordion" data-category="Inputs" markdown="1">
<h4 class="accordionlink" id="keys"><a class="headerlink" href="#keys">keys</a></h3>
<div class="accordion-description">Keyboard binding.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="keys_keys">keys<a class="headerlink" href="#keys_keys" title="Permanent link">#</a></h4> ||||
| <h4 id="keys_binding">binding<a class="headerlink" href="#keys_binding" title="Permanent link">#</a></h4> | `string`&vert;<br/>`array` | <code>""</code> | Key combo `string` or `array` of strings (see <a href="https://github.com/RobertWHurst/KeyboardJS">KeyboardJS</a> documentation) |
| <h4 id="keys_keydown">keydown<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keydown" title="Permanent link">#</a></h4> | `string` | <code>""</code> | This property is evaluated each time the key combo is pressed and defines the widget's own value. Formulas are given extras variables in this context:<br/>- `key`: pressed key name (usefull for handling multiple keys with a single keys widget, lowercased when referencing a character key)<br/>- `code`: pressed key code name (<a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code#Code_values">full list</a>)<br/>- `ctrl`: control key state<br/>- `alt`: alt key state<br/>- `shift`: shift key state<br/>- `meta`: command/windows key state |
| <h4 id="keys_keyup">keyup<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keyup" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Same as `keydown`, but evaluated when releasing the key combo |
| <h4 id="keys_repeat">repeat<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_repeat" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to prevent keydown repeats when holding the key combo pressed |</div>
<div class="accordion" data-category="Inputs" markdown="1">
<h4 class="accordionlink" id="script"><a class="headerlink" href="#script">script</a></h3>
<div class="accordion-description">Evaluates a script each time it receives a value.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="script_script">script<a class="headerlink" href="#script_script" title="Permanent link">#</a></h4> ||||
| <h4 id="script_condition">condition<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_condition" title="Permanent link">#</a></h4> | `string` | <code>1</code> | When the widget receives a value, if this property return a falsy value, the script property won't be evaluated. If it's non-falsy, it will be evaluated normally. Formulas are given one extra variable in this context:<br/>- `value`: the value received by the widget |
| <h4 id="script_script">script<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_script" title="Permanent link">#</a></h4> | `string` | <code>""</code> | This property is evaluated each time the widget receives a value* if condition is non-falsy. Formulas are given extras variables in this context:<br/>- `value`: value received by the widget<br/>- `id`: id of the widget that triggered the script<br/>- `send(target, address, arg1, arg2, ...)`: function for sending osc messages (ignores the script's targets and the server's defaults unless `target` is `false`; ignores the script's `preArgs`)<br/>- `set(id, value)`: function for setting a widget's value<br/>- `get(id)`: function for getting a widget's value (dynamic equivalent of @{id})<br/>- `getProp(id, property)`: function for getting a widget's property value ((dynamic equivalent of @{id.property})<br/>- `httpGet(url, callback)`: function for making http requests (asynchronous "GET" request and local urls only)<br/><br/><br/><br/>* Note: `value` or `linkId` properties can be used to receive other widgets' values. The `value` property must actually change to trigger the execution, where linked widgets via `linkId` can submit the same value over and over and trigger the execution |</div>
<div class="accordion" data-category="Inputs" markdown="1">
<h4 class="accordionlink" id="gyroscope"><a class="headerlink" href="#gyroscope">gyroscope</a></h3>
<div class="accordion-description">Device motion/orientation sensor.</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="gyroscope_gyroscope">gyroscope<a class="headerlink" href="#gyroscope_gyroscope" title="Permanent link">#</a></h4> ||||
| <h4 id="gyroscope_frequency">frequency<a class="headerlink" href="#gyroscope_frequency" title="Permanent link">#</a></h4> | `number` | <code>30</code> | Value update frequency (updates per seconds) |
| <h4 id="gyroscope_normalize">normalize<a class="headerlink" href="#gyroscope_normalize" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Normalize gravity related values |
| <h4 id="gyroscope_compass">compass<a class="headerlink" href="#gyroscope_compass" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to return the orientation values with respect to the actual north direction of the world instead of the head direction of the device |
| <h4 id="gyroscope_screenAdjusted">screenAdjusted<a class="headerlink" href="#gyroscope_screenAdjusted" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to return screen adjusted values |
| <h4 class="thead2" id="gyroscope_value">value<a class="headerlink" href="#gyroscope_value" title="Permanent link">#</a></h4> ||||
| <h4 id="gyroscope_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#gyroscope_value" title="Permanent link">#</a></h4> | `object` | <code>""</code> | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax<br/>- `value.do.alpha`: deviceorientation event alpha<br/>- `value.do.beta`: deviceorientation event beta<br/>- `value.do.gamma`: deviceorientation event gamma<br/>- `value.do.absolute`: deviceorientation event absolute<br/>- `value.dm.x`: devicemotion event acceleration x<br/>- `value.dm.y`: devicemotion event acceleration y<br/>- `value.dm.z`: devicemotion event acceleration z<br/>- `value.dm.gx`: devicemotion event accelerationIncludingGravity x<br/>- `value.dm.gy`: devicemotion event accelerationIncludingGravity y<br/>- `value.dm.gz`: devicemotion event accelerationIncludingGravity z<br/>- `value.dm.alpha`: devicemotion event rotationRate alpha<br/>- `value.dm.beta`: devicemotion event rotationRate beta<br/>- `value.dm.gamma`: devicemotion event rotationRate gamma |</div>
<div class="accordion" data-category="Inputs" markdown="1">
<h4 class="accordionlink" id="file"><a class="headerlink" href="#file">file</a></h3>
<div class="accordion-description">File/Folder selector (server-side).</div>
| property | type |default | description |
| --- | --- | --- | --- |
| <h4 class="thead2" id="file_input">input<a class="headerlink" href="#file_input" title="Permanent link">#</a></h4> ||||
| <h4 id="file_directory">directory<a class="headerlink" href="#file_directory" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Default browsing directory |
| <h4 id="file_extension">extension<a class="headerlink" href="#file_extension" title="Permanent link">#</a></h4> | `string` | <code>"*"</code> | Only display files with this extension |
| <h4 id="file_hidePath">hidePath<a class="headerlink" href="#file_hidePath" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to only display the filename (the whole path will still be used as value) |
| <h4 id="file_allowDir">allowDir<a class="headerlink" href="#file_allowDir" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Allow selecting a folder (by pressing "open" when no file is selected) |</div>
<script>
document.querySelectorAll('.thead2').forEach(function(item){
item.classList.remove('thead2')
item.closest('tr').classList.add('thead2')
})
document.querySelectorAll('.accordionlink').forEach(function(item){
item.addEventListener('click', function(e){
e.preventDefault()
var node = item.parentNode
node.classList.toggle('show')
if (node.classList.contains('show')){
history.replaceState(null, null, '#' + item.getAttribute('id'));
} else {
history.replaceState(null, null, ' ');
}
})
})
if (window.location.hash) {
document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){
item.click()
})
}
</script>

View file

@ -0,0 +1,124 @@
# Advanced syntaxes
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets evaluate the properties they're in.
## Inheritance: `@{id.property}`
The inheritance syntax returns either a widget's value or one of its properties. When using this syntax, value or property changes will be applied automatically.
- `id`: target widget's `id`. A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work.
- `property`: target widget's property name. If omitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
!!! note "Unique identifier"
Each widget has a unique random identifier that can be retrieved with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
#### Dynamic properties
Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive.
Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a <i class="fas fa-bolt" title="dynamic"></i>.
#### Circular references cases
- container widgets can inherit their children's properties only to define `dynamic` properties
- widgets can inherit their own `value`<i class="dynamic-prop-icon" title="dynamic"></i> property only to define `dynamic` properties
#### Object properties
If the retrieved property is an object (`{}`), a subset can be retrieved directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
#### Nesting
The inheritance syntax supports 1-level nesting for defining the target widget's id dynamically : `@{fader_@{toggle_1}}`
## OSC listeners: `OSC{address, default, usePreArgs}`
The OSC listener syntax returns the value received on specified address (or the `default` value if none has been received yet).
- `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property
- `default` (optional): default value returned before any message is received. Must be a primitive value, not an object or an array.
- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` (these must be matched for the osc messages to be processed). Set to `false` bypass them.
Options can contain `@{}` blocks.
!!! note "Receiving MIDI"
Midi messages will be processed only if the receiver's widget includes the emitting MIDI device in its targets.
??? example "Array/Object default value"
```js
JS{
return OSC{address} || {
"key a": 1,
"key b": 2
}
}
```
## Custom variables: `VAR{variableName, default}`
This syntax creates a custom variable in the widget that can be read and modified from any widget's script property (see [scripting](./scripting.md#getvarid-name)). Changes made to this variable using `setVar()` in scripts will be applied automatically where `VAR{}` is used.`
## File imports: `IMPORT{file_name}`
This allows loading the content of an external file in a property. If used in a `JS{}` of `#{}` block, it will be seen as a string variable containing the raw content of the file. Changes made to the file be applied automatically.
File paths are resolved in this order:
- in the session's directory
- in theme's directory
- in the server's `remote-root` directory if the option is set
- as absolute paths
!!! warning
[Fragments](../fragments/) and session files already loaded with fragment widgets should not be imported using this syntax.
## Javascript: `JS{ <code> }`
This syntax allows defining a property using [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript). The code will be compiled as a function and executed in a restricted context.
- if no `return` statement is found, the formula will return an empty string
- javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled
- `setTimeout` and `setInterval` functions are not available
A property *cannot* contain multiple `JS{}` blocks
#### Available variables
- `console`: javascript console
- `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else.
- `globals`: same as `locals` but shared between all widgets, contains a few useful variables:
- `screen`: client screen informations (`{width, height, orientation}`)
- `env`: client options (ie: url query options),
- `ip`: client's ip address,
- `url`: server url,
- `platform`: operating system as seen by the client
- `session`: session file path
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
Parsing errors can be read in the console (++ctrl+k++).
!!! warning
Modifying values in `locals` or `globals` **does not** trigger anything if they are used somewhere else.
#### Using in advanced syntaxes
In this context, `@{}`, `VAR{}` and `OSC{}` syntaxes are seen as variables. When they change, the whole block will be evaluated again.
!!! danger "Do not mutate"
When these syntaxes return objects or arrays, mutating said objects will affect the underlying variables in memory and may lead to unexpected behavior.
The `@{}` syntax, when used for anything else than the widget's value, will always return a copy of the property and is not affected by this.
## Javascript: `#{ <code> }`
This is a shorthand for the `JS{}` syntax, the only difference being that `<code>` is automatically prepended with a `return` statement.
A property *can* contain multiple `#{}` blocks.
!!! note "Compilation order"
`#{}` blocks are compiled after `JS{}` blocks

View file

@ -0,0 +1,195 @@
# Canvas widget
The canvas widget allows creating custom widgets with user-defined drawings and touch reactions.
It has dedicated scripting properties (`onTouch`, `onDraw` and `onResize`) that work like the `onValue` property : they are used to defined scripts that will be executed when specific events occurs.
This widget requires a good understanding of the javascript [Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) and of the javascript programming language in general.
## Canvas properties
### `valueLength`
This property must be set to the number of values held by the widget : 1 for a simple slider, 2 for an XY pad, etc. Attempts to set the widget's value with a different number of values will be ignored.
```js
set("this", 1) // works if valueLength == 1
set("this", [1, 2]) // works if valueLength == 2
```
### `autoClear`
This is a convenience option that clears the canvas context and calls [`beginPath`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath) before each drawing. When this property is set to `false`, the canvas must be cleared manually.
### `continuous`
If this property is enabled, the widget will be redrawn at a fixed rate even if not interacted with (see [`onDraw`](#onDraw)).
### `onTouch`
This script is executed when the widget is touched, when it is released, and during the movement of the pointer while the widget is touched.
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
- `value`: widget value
- `width`: canvas width in pixels
- `height`: canvas height in pixels
- `event`: object containing the following:
- `type`: `"start"`, `"move"` or `"stop"`
- `target`: id of the widget under the pointer, `"this"` if it's the canvas widget itself, `null` if no widget is under the pointer
- `targetName`: name attribute of the html element under the pointer
- `targetTagName`: tag name of the html element under the pointer
- `offsetX`, `offsetY`: touch coordinates in pixels, relative to the html element under the pointer
- `movementX`, `movementY`: movement of the pointer in pixels since the last event
- `pageX`, `pageY`: touch coordinates in pixels, relative to the page
- `pointerId`: unique identifier used to differentiate fingers in multitouch situation
- `altKey`, `ctrlKey`, `shiftKey`: keyboard modifier states
- `force`: amount of pressure applied to the touch surface between `0` and `1` (see [Touch.force](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)). Equals `0` if the API is not supported or if no pressure information is found.
- `radiusX`, `radiusY`, `rotationAngle`: see [Touch.rotationAngle](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)
- (iOS only) `altitudeAngle`, `azimuthAngle`: see [Touch.altitudeAngle](https://w3c.github.io/touch-events/#dom-touch-altitudeangle)
- (iOS only) `touchType`: "direct" or "stylus"
!!! note "Extra html elements"
Elements added using the `html` property can be touched as well, `event.targetName` can be used to determine which element is touched.
### `onDraw`
This script is executed when the widget should be redrawn, which is when it's touched and when it receives a value.
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
- `value`: widget value
- `width`: canvas width in pixels
- `height`: canvas height in pixels
- `ctx`: [canvas rendering context](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D) of the widget
- `cssVars`: object containing the computed value of some of the widget's style properties such as `colorWidget`, `alphaFill`, `padding`, etc
In this script, all osc messages emissions are prevented and changing the value of a widget won't trigger widget synchronisation / scripts / advanced syntaxes updates.
### `onResize`
This script is executed when the widget has resized, before it is redrawn.
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
- `value`: widget value
- `width`: canvas width in pixels
- `height`: canvas height in pixels
- `cssVars`: object containing the computed value of some of the widget's style properties such as `colorWidget`, `alphaFill`, `padding`, etc
## Example: XY pad
Let's create a simple xy pad, with a value made of two numbers between 0 and 1. We set `valueLength` to `2` to make sure the widget only accepts incoming messages with two values (x and y).
First, we use the `onTouch` property to store the touch coordinates in the `locals` object. We also call `set()` to store these in the widget's value (this way, the widget can send messages and sync with other widgets).
```js
// onTouch
// store normalized coordinates
if (event.type == "start") {
locals.x = event.offsetX / width
locals.y = event.offsetY / height
} else {
// when the pointer is moving, increment coordinates
// because offsetX and offsetY may not be relevant
// if the pointer hovers a different widgets
locals.x += event.movementX / width
locals.y += event.movementY / height
}
// update widget value and send
set("this", [locals.x, locals.y])
```
Then, we use the `onDraw` property to draw a circle at the touch coordinates.
```js
// onDraw
// draw circle at touch coordinates
ctx.arc(value[0] * width, value[1] * height, 6, 0, Math.PI * 2)
// use colorFill property as stroke color
ctx.strokeStyle = cssVars.colorFill
// draw stroke
ctx.stroke()
```
Finally, we use the `onValue` property to apply limits to the values.
```js
// onValue
// apply limits
var x = Math.max(0, Math.min(1, value[0])),
y = Math.max(0, Math.min(1, value[1]))
// re-update widget value without retriggering script or sending message
set("this", [x, y], {sync: false, send: false})
// the widget will automatically send its value if
// this script was triggered by a user interaction
// no need to call send() here but we could, for example
// if we want to split the value in to multiple messages
```
## Example: multi slider
Let's build a row of 20-sliders with a single widget. We first set `valueLength` to... 20 !
```js
// onTouch
// store normalized coordinates
if (event.type == "start") {
locals.x = event.offsetX / width
locals.y = event.offsetY / height
} else {
// when the pointer is moving, increment coordinates
// because offsetX and offsetY may not be relevant
// if the pointer hovers a different widgets
locals.x += event.movementX / width
locals.y += event.movementY / height
}
// which slider are we touching ?
var n = parseInt(locals.x * value.length)
n = Math.max(0, Math.min(n, value.length-1))
// update value at slider's index
// 1 - locals.y because y axis is from top to bottom in js canvas
value[n] = 1 - locals.y
// update widget value and send
set("this", value)
```
```js
// onDraw
ctx.fillStyle = cssVars.colorFill
ctx.globalAlpha = cssVars.alphaFillOn
var sliderWidth = width / value.length - 1
for (var i in value){
ctx.beginPath()
ctx.rect(i * width / value.length, height, sliderWidth, - value[i] * height)
ctx.fill()
}
```
```js
// onValue
// apply limits
for (var i in value) {
value[i] = Math.max(0, Math.min(1, value[i]))
}
// re-update widget value without retriggering script or sending message
set("this", value, {sync: false, send: false})
```

View file

@ -0,0 +1,15 @@
# Fragments
Fragments allow breaking sessions into multiple files and reusable components made of multiple widgets.
## Fragment files
When right-clicking on a widget in the editor mode, it is possible to export it as a fragment file.
Fragment files have the same extension as session files (`.json`) and can be opened like regular sessions. When doing so, keep in mind that only the first child of the root widget will be saved. It is possible to save a fragment file as a session file (and vice versa) by toggling the `Fragment mode` in the main menu.
## Fragment widgets
Fragment widgets work like clone widget except their source widget are loaded from fragment files or session files. When the sources files are modified, the fragment widgets are updated automatically.

View file

@ -0,0 +1,62 @@
## Interaction
These are interaction events widgets are likely to respond to:
| Mouse | Touch | Description |
|---|---|---|
| Mousedown | Tap | Handled at pressing time, not releasing. |
| Click | Click | Handled at release time. |
| Double Click | Double Tap | Some widgets handle double click / double tap events. |
| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. |
Widgets sensibility can be tuned with the `sensibility` property. Single-touch widgets (i.e. all widgets except `mutlixy` and `range`) also accept an alternate interaction event for fine control.
| Mouse | Touch | Description |
|---|---|---|
| `Ctrl` + Drag | / | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 10.|
| / | Two-fingers drag | Using two fingers on a single-touch target increases the gesture's precision by 10. |
## Sending messages
When interacted with, widgets with at least one target (including the server's defaults) send osc messages of the following form:
```
/address ...preArgs ...value
```
If they have MIDI targets, the server will try to convert the osc messages into a MIDI messages (see [MIDI messages](../midi/midi-messages.md)).
## Receiving messages
When an osc message is received, it updates every widgets that meets the following conditions
- same `address`
- same `preArgs` (no distinction between integers and round floats )
The remaining arguments after `preArgs` are passed to the widget.
When a MIDI message is received, it's converted into an osc message (see [MIDI messages](../midi/midi-messages.md)) and follows the same rules, except that only the widgets that include the emitting MIDI device in their targets will be able to receive it.
## Widget synchronization
Within a single client's scope, there are multiple ways to synchronize widgets:
- If they share the same `id`: in this case, the synchronized widget doesn't send any osc/midi message. This case is mostly used for widget cloning.
- If they share a `linkId`: in this case, the synchronized widget sends its osc/midi message normally.
- If their `value` properties depend on each other using the [advanced syntaxes](./advanced-syntaxes.md)
- Using [scripting](./scripting.md)
## Client synchronization
From a client to another, widgets are automatically synchronized if they share the following properties:
- `address`
- `preArgs`
- `targets`
Client synchronization can be disabled globally with the `clientSync` [client option](../client-options.md). Widgets with `bypass` set to `true` will not send synchronization messages to other clients.

View file

@ -0,0 +1,437 @@
# Scripting
Widgets can run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) scripts upon specific events. These scripts are written in special properties under the scripting category.
!!! warning "Advanced syntaxes"
Most [advanced syntaxes](../advanced-syntaxes/) should be avoided as much as possible in scripting properties:
- `@{}`: use `get()` and `getProp()` instead
- `OSC{}`: use `get()` instead (using another widget as receiver)
- `VAR{}`: use `getVar()`instead
- `JS{}` and `#{}` are useless (scripting properties are already interpreted as javascript code) unless you want to generate code procedurally
The editor will always fail to recognize these syntaxes as they don't comply with the javacript language specification, even if the resulting code is valid.
## Events
### `onCreate`
This script is called when the widget is created. If the widget has children, it will be executed after the children are created.
!!! warning "Modifying parent container"
Modifying a non-dynamic property on a parent container from this script **will not work**.
The following variables are available in this context:
- `value`: widget's value
### `onValue`
This script is called when the widget's value updates and when it receives a value.
The following variables are available in this context:
- `id` (`string`): id of the widget that's responsible for the value update
- `value`: widget's value
- `touch`: see [Touch state](#touch-state)
??? infos "Keyboard & Matrix"
In keyboards and matrices, `id` is the id of the child widget that triggered the event, and `value` is an array containing the children's values.
The touched widget's value can be retrieved with:
```javascript
value[getIndex(id)]
```
??? infos "Touch state (deprecated)"
*This feature is deprecated, use `onTouch` instead*
When some widgets are touched or released, a special value event can be caught to trigger custom actions.
If the variable `touch` is not `undefined`, this means it holds the widget's current touch state:
- `0/1` for the widget's touch state (`fader`, `knob` and `xy`, `range` and `multixy`)
- `[i, 0/1]` if the widget is multi touch (`range` and `multixy`). In this case `i` is the touched handle's index, starting with `0`.
```js
if (touch !== undefined) {
// send multi touch state
if (touch.length) send('/touch_address', touch[0], touch[1])
// send global touch state
else send('/touch_address', touch)
} else {
// do something with the value ?
}
```
To avoid unwanted script executions, touch state events will only be caught if the script contains the word `touch` and if `onTouch` is empty.
### `onTouch`
This script is executed when the widget is touched, and when it is released.
This script has access to the same variables and functions as the `script` property (except the event-specific ones), plus the following:
- `value`: widget value
- `event`: object containing the following:
- `type`: `"start"` or `"stop"`
- `handle`: `undefined` if the event concerns the widget, `integer` if it concerns one of it's handles (`multixy` and `range` widgets only)
[Canvas](../canvas/) and containers expose more informations in their `onTouch` script.
??? infos "Containers onTouch"
Containers (root, panel, etc) can monitor touch events happening inside them, it works like with [Canvas](../canvas/#ontouch), with a few differences:
- `event.firstTarget` will return the id of the first touched widget
- setting `event.preventDefault` to `true` will prevent the event from reaching widgets in the container ('start' and 'move' events only)
- setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only)
- setting `event.inertia` will affect 'move' events (works like widget `sensitivity` in reverse (1 = normal, 10 = slow move))
- `width` and `height` are undefined
Containers with `traversing` enabled change how touch events are emitted:
- a new 'stop' event is emitted whenever the pointer exits a touchable widget while pressed.
- a new 'start' event is emitted whenever the pointer enters a touchable widget while pressed.
### `onDraw`
See [canvas](../canvas/).
### `onKeyboard`
*Script widget only*
This script is executed when the key(s) defined in the widget's `keyBinding` property are pressed.
The following variables are available in this context:
- `type` (`string`): `keydown` or `keyup`
- `key` (`string`): key name,
- `code` (`number`): key code
- `ctrl` (`boolean)`: `true` if ctrl key is pressed
- `shift` (`boolean`): `true` if shift key is pressed
- `alt` (`boolean`): `true` if alt key is pressed
- `meta` (`boolean`): `true` if meta key is pressed
### `onPreload`
This script is specific to the root widget, it's called before any other widget is created and can be used to create global variables / functions accessible in other scripts.
In this script, all osc messages emissions are prevented and changing the value of a widget won't trigger widget synchronisation / scripts / advanced syntaxes updates.
## Available variables
The following variables and functions are accessible in this context.
- `console`: javascript console
- `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else.
- `globals`: same as `locals` but shared between all widgets, contains a few useful variables:
- `screen`: client screen informations (`{width, height, orientation}`)
- `env`: client options (ie: url query options),
- `ip`: client's ip address,
- `url`: server url,
- `platform`: operating system as seen by the client
- `session`: session file path
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
- `Image`: javascript's [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) constructor
!!! note "this"
Unlike in most javascript contexts, the special keyword `this` doesn't point to an object but instead returns the string `"this"`.
----
#### `get(id)`
- `id`: widget `id` as a string.
Returns the value of the first matching widget. If the returned value is an object, a copy is returned to allow safe mutation.
----
#### `set(id, value, options)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` may contains wildcards ('\*').
- `value`: new value for the widget.
- `options` (optional): `object`, accepts the following items:
- `sync: false`: prevents widgets from triggering synchronization and scripts
- `script: false`: prevents scripts but not synchronization
- `send: false`: prevents widgets from sending osc messages
- `external: true`: simulates a value coming from an osc/midi message (implies `send: false` automatically)
Sets the value of the first matching widget. If `ìd` contains wildcards, affects all matching widgets **except** the emitting widget.
If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well (unless `options` is set to `{send: false}`).
----
#### `getVar(id, name)`
- `id`: widget `id` as a string.
- `name`: variable name as a string.
Returns the value of a widget's custom variable. If the returned value is an object, a copy is returned to allow safe mutation.
----
#### `setVar(id, name, value)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` may contains wildcards ('\*').
- `name`: variable name as a string.
- `value`: new value for the variable.
Sets the value of a widget's custom variable (see [advanced syntaxes](./advanced-syntaxes.md##ustom-variables-varvariablename-default)). If `ìd` contains wildcards, affects all matching widgets.
----
#### `send(target, address, ...args)`
- `target` (optional): `"ip:port"` or `"midi:device_name"` string. If omitted, the widget's target (or the server's defaults) will be used.
- `address`: osc address, must start with a `/`
- `args`: values or `{type: "OSC_TYPE_LETTER", value: VALUE}` objects
Sends an osc message.
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
This function ignores the widget's `bypass` and `ignoreDefaults` properties.
??? infos "Examples"
```javascript
send('127.0.0.1:4444', '/address', 1)
send('127.0.0.1:4444', '/address', 1, 2)
send('/address', 1) // uses the widget's target
send('/address', {type: 'i', value: 1}) // sends 1 as an integer
```
----
#### `getProp(id, name)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
- `name`: property name.
Returns the property called `"name"` of the first matching widget. If the returned value is an object, a copy is returned to allow safe mutation.
----
#### `getIndex(id)`
- `id` (optional): widget `id` as a string. Defaults to `"this"`.
Returns the widget's index in its container.
----
#### `updateProp(id, name)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
- `name`: property name.
Forces a widget to check if one of its properties has changed and update itself if needed.
----
#### `updateCanvas(id)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget.
Forces a canvas widget redraw.
----
#### `httpGet(url, callback)`
- `url`: url of the resource to fetch (local url only)
- `callback`: function executed when/if the http request succeeds, with the response text as argument
----
#### `stateGet(id)`
- `id`: widget `id` as a string, or array of `id` strings. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
Returns a state object (`id:value`) for matching widget and all their children.
----
#### `stateSet(state, options)`
Loads a state object. If the event that triggered the script's execution was initiated by a user interaction, this will make the updated widgets send their value as well.
- `options` (optional): `object`, accepts the following items:
- `send: false`: prevents widgets from sending osc messages
----
#### `storage`
Global [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) instance, allows storing data that persists upon refresh/relaunch.
----
#### `setTimeout(id, callback, delay)` / `setInterval(id, callback, delay)`
These work like almost their native equivalent, with an extra (optional) `id` argument.
- `id` (optional): unique identifier, if omitted, defaults to `undefined`. If a timeout with the same id is already running, it is cleared before the new one is created (even if `undefined`). `id`s are scoped to the widget's context: two timeouts with the same `id` in two different widgets can run concurrently
- `callback`: function to be executed
- `delay`: delay before execution is ms
Reference:
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
Usage note:
If no concurrent timeout / interval is needed, calling `setTimeout`, `setInterval`, `clearTimeout` and `clearInterval` with no `ìd` argument will do.
-----
#### `clearTimeout(id)` / `clearInterval(id)`
Clears timeout with matching `id`.
Reference:
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval
----
#### `setFocus(id)`
- `id` (optional): widget `id` as a string
Gives focus to a widget (ie input widget). If `id` is omitted or falsy, currently focused element will be unfocused.
*Built-in client only*: tells the operating system to give the focus to the client window
----
#### `unfocus()`
*Built-in client only*: tells the operating system to give the focus to the window that was focused before.
----
#### `setFocusable(focusable)`
- `focusable`: `0` or `1`
*Built-in client only*: define whether the client window can be focused or not. Text inputs cannot be interacted with when the window is not focusable.
----
#### `getScroll(id)`
- `id`: widget `id` as a string.
Returns the scroll position of a container as a `[x, y]` array.
----
#### `setScroll(id, x, y)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
- `x`: horizontal scroll, `undefined` to use current value
- `y`: vertical scroll, `undefined` to use current value
Sets the scroll state of a container.
----
#### `scrollIntoView(id, option)`
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
- `option`: `alignToTop` or `options` argument as defined in https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
Scroll containers to make widget(s) visible.
----
#### `toolbar(id)`
- `id` menu entry id (string)
Triggers toobar action if currently available (ie accessible from the menu). `id` can be one of the following:
- `session-new`,`session-open`, `session-save`, `session-save-as`, `session-fragment`, `session-backup`, `session-import`, `session-export`
- `state-store`, `state-recall`, `state-send`, `state-open`, `state-save`, `state-save-as`, `state-import`, `state-export`
- `editor-enabled`, `editor-grid`, `editor-tree`, `editor-inspector`, `editor-percents`
- `console-enabled`, `console-clear`
- `fullscreen`, `notifictions`, `prevent-sleep`, `virtual-keyboard`
Some actions will only be triggered if initiated with a physical user interaction, check the console for errors if it doesn't work as expected.
=== "Legacy syntax: `toolbar(i1, i2, ...)`"
- `iX`: menu entry index
Triggers toolbar action at specified index.
!!! example "Examples"
- `toolbar(0, 0)` -> Open a new session
- `toolbar(4)` -> Toggle full screen
----
#### `getToolbar(id)`
- `id` menu entry id (string)
Returns `true` if the toolbar entry exists and is currently activated.
#### `openUrl(url)`
- `url`: http(s) url
*Built-in client only*: opens url with the system's default browser
*External client only*: opens url in a new tab
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
----
#### `runAs(id, callback)`
- `id`: widget `id` as a string.
- `callback`: function to be executed
Run `callback` function as if executed by another that widget matches specified id. This will not change the value of any local variable but `"this"` and `"parent"` arguments (accepted by functions such as `set()`) will be interpreted differently. Timeouts and intervals will be created and cleared in the target widget's scope.
----
#### `reload(keepState)`
- `keepState` (optional): `true` by default, set to false to discard the client's state.
Reload the client application. Cannot be called from the `onCreate` property.
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
----
#### `getNavigator()`
Returns the instance of [Navigator](https://developer.mozilla.org/en-US/docs/Web/API/Navigator).
----
#### `browseFile(options, callback)`
Opens the server file browser and pass selected file to a callback function (does not create nor read files by itself).
- `options`: object with the following keys:
- `extension`: allowed extension (default: "*")
- `directory`: starting directory for browser (default: user's home)
- `allowDir`: allow choosing a directory instead of a file (default: false)
- `mode`: "save" or "open"
- `callback`: function called with 1 argument (file path)
#### `uploadFile(options, callback)`
Opens the client file upload prompt and pass the raw content of selected file to a callback function.
- `options`: object with the following keys:
- `types`: equivalent of HTML attribute [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept)
- `callback`: function called with 1 argument (file content)

View file

@ -0,0 +1,65 @@
# Download the latest release
!!! tip ""
[*Click here*](/docs/getting-started/introduction/#installation) to read the installation guide.
<a href="https://framagit.org/jean-emmanuel/open-stage-control/-/releases/v{{config.latest_release}}">
Open Stage Control v{{config.latest_release}}
</a>
<ul>
<li><a href="/packages/open-stage-control-{{config.latest_release}}-1.x86_64.rpm"><i class="fa fa-download"></i>GNU/Linux RPM (64-bit)</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_amd64.deb"><i class="fa fa-download"></i>GNU/Linux Debian (64-bit)</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_linux-x64.zip"><i class="fa fa-download"></i>GNU/Linux (64-bit)</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_node.zip"><i class="fa fa-download"></i>Node.js</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_osx-x64.zip"><i class="fa fa-download"></i>MacOS x64</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_osx-arm64.zip"><i class="fa fa-download"></i>MacOS arm64</a></li>
<li><a href="/packages/open-stage-control_{{config.latest_release}}_win32-x64.zip"><i class="fa fa-download"></i>Windows (64-bit)</a></li>
</ul>
<style>
html {
overflow-y: scroll
}
.md-sidebar--secondary {
display: none;
}
@media screen and (min-width: 76.25em) {
.md-sidebar--primary {
display: none;
}
}
.md-content {
margin: 0;
}
.md-content__inner {
margin-left: .8rem;
margin-right: .6rem;
}
li {
list-style: none;
}
li i {
margin-right: 10px
}
.download-size {
color: var(--md-typeset-color);
opacity: 0.5;
}
</style>
<div>
<a
href="/docs/changelog/"
class="md-button md-button-small"
>
Read the Changelog
</a>
<a
href="https://www.patreon.com/openstagecontrol?fan_landing=true"
class="md-button md-button-small patreon-icon"
>
Support on Patreon
</a></div>

View file

@ -0,0 +1,27 @@
document.addEventListener('DOMContentLoaded', ()=>{
if (window.location.hash && window.location.href.includes('properties-reference')) {
// show target in tabs/details
document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){
var tab = item.closest('.tabbed-block'),
container= item.closest('.tabbed-set'),
details = item.closest('details'),
index = 0
while (tab.previousElementSibling) {
index++
tab = tab.previousElementSibling
}
console.log(index)
container.querySelectorAll('.tabbed-labels label:nth-child('+(index+1)+')').forEach(function(item,i){
item.click()
})
if (item) {
item.scrollIntoView()
document.documentElement.scrollTop -= 70
}
})
}
})

View file

@ -0,0 +1,123 @@
:root {
--osc-background-color: rgb(21,26,36);
--osc-accent-color: #448aff;
}
html {
overflow-y: scroll;
}
.md-header, .md-nav__title[for=__drawer] {
background-color: var(--osc-background-color)!important;
}
@media screen and (min-width:1220px) {
.md-nav__title[for=__drawer] {
background-color: transparent!important;
}
}
.md-header-nav__title {
padding-top: 1px;
padding-left: 0!important
}
.md-source__facts {
display: none;
}
td:first-child {
white-space: pre!important;
vertical-align: top;
}
.force-full-table + .md-typeset__scrollwrap .md-typeset__table {
width:100%;
}
.force-full-table + .md-typeset__scrollwrap .md-typeset__table table {
display: table!important;
width:100%;
}
.accordion {
margin: 1.5625em 0;
padding: .6rem;
overflow: hidden;
font-size: .64rem;
page-break-inside: avoid;
border-left: .2rem solid var(--osc-accent-color);
border-radius: .1rem;
box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,.05), 0 0 0.05rem rgba(0,0,0,.1);
}
.accordion h6 {
cursor: pointer;
margin-top: 0;
}
.accordion > :last-child {
display: none;
}
.accordion .md-typeset__table {
margin-bottom: 0;
}
.accordion.show > :last-child {
display: block;
margin-bottom: 0;
}
.accordionlink > .headerlink {
opacity: 1!important;
visibility: visible!important;
text-decoration: none;
color: inherit!important;
display: block;
outline: none;
box-shadow: none;
margin-left: 0;
}
.accordion-description {
opacity: 0.8;
}
.accordion.show .accordion-description {
margin-bottom: 8px;
}
table .thead2 {
background: rgba(0, 0, 0, 0.05);
white-space: nowrap;
}
table .thead2 h6 {
color: #888;
}
details.api h4 {
padding: 0;
margin: 0;
}
details.api summary {
padding-left: 0.6rem;
}
details.api summary:before {
display: none!important;
}
details summary div {
display: inline-block;
}
i[title="dynamic"] {
color: var(--osc-accent-color);
}
.patreon-icon {
margin-top: 2em!important;
color: black!important;
display: block;
background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="black" viewBox="0 0 569 546" xmlns="http://www.w3.org/2000/svg"><g><circle cx="362.589996" cy="204.589996" data-fill="1" id="Oval" r="204.589996"></circle><rect data-fill="2" height="545.799988" id="Rectangle" width="100" x="0" y="0"></rect></g></svg>');
background-size: 20px 30px;
background-repeat: no-repeat;
background-position: 20px center;
padding-left: 3em!important;
}

1
resources/docs/fonts Symbolic link
View file

@ -0,0 +1 @@
../fonts

View file

@ -1 +0,0 @@
../../images/ardour-osc.png

View file

@ -1 +0,0 @@
../../images/icons-bolt.svg

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

View file

@ -1 +0,0 @@
../../images/logo-nobadge.png

View file

@ -1 +0,0 @@
../../images/logo-nobadge.svg

1
resources/docs/img/logo.png Symbolic link
View file

@ -0,0 +1 @@
../../images/logo.png

View file

@ -1 +0,0 @@
../../images/logo_discourse.png

View file

@ -0,0 +1 @@
../../images/logo_nobadge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -0,0 +1,10 @@
---
template: home.html
title: Open Stage Control
---
<style>
html {
overflow-y: scroll
}
</style>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more