Commit graph

5373 commits

Author SHA1 Message Date
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