Commit graph

3600 commits

Author SHA1 Message Date
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
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
286cf2fbd2 widget: updatea dvanced syntax update routine 2022-01-14 13:55:18 +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
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
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
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
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
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
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
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