Commit graph

1014 commits

Author SHA1 Message Date
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
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
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
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
f04c506ce3 root: add hideMenu option 2021-12-14 19:36:33 +01:00
jean-emmanuel
9cba47f401 editor: quircks 2021-12-14 15:40:56 +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
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
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
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