Commit graph

2958 commits

Author SHA1 Message Date
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
5de8dae2c4 code editor regression: misplaced tooltips 2022-01-18 13:12:26 +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
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
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