Skip to content

Commit

Permalink
[LVGL+Flow] Comparison of widget pointers is not handled correctly #669
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Dec 17, 2024
1 parent ebb9a63 commit 627d6c6
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Envox <[email protected]>",
"description": "Cross-platform visual development tool and SCPI instrument controller",
"homepage": "https://www.envox.hr/eez/studio/studio-introduction.html",
"version": "0.21.0",
"version": "0.22.0",
"revision": "1",
"license": "GPL-3.0-only",
"repository": "https://github.com/eez-open/studio",
Expand Down
Binary file modified packages/project-editor/flow/runtime/eez_runtime.wasm
Binary file not shown.
38 changes: 19 additions & 19 deletions packages/project-editor/flow/runtime/lvgl_runtime_v8.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -969,25 +969,25 @@ function dbg(text) {
// === Body ===

var ASM_CONSTS = {
1034880: ($0) => { startToDebuggerMessage($0); },
1034912: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1034987: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1035062: ($0) => { finishToDebuggerMessage($0); },
1035095: ($0, $1) => { return getLvglScreenByName($0, UTF8ToString($1)); },
1035149: ($0, $1) => { return getLvglObjectByName($0, UTF8ToString($1)); },
1035203: ($0, $1) => { return getLvglGroupByName($0, UTF8ToString($1)); },
1035256: ($0, $1) => { return getLvglStyleByName($0, UTF8ToString($1)); },
1035309: ($0, $1) => { return getLvglImageByName($0, UTF8ToString($1)); },
1035362: ($0, $1, $2) => { lvglObjAddStyle($0, $1, $2); },
1035395: ($0, $1, $2) => { lvglObjRemoveStyle($0, $1, $2); },
1035431: ($0, $1) => { lvglSetColorTheme($0, UTF8ToString($1)); },
1035476: ($0, $1, $2, $3, $4, $5) => { return eez_mqtt_init($0, UTF8ToString($1), UTF8ToString($2), $3, UTF8ToString($4), UTF8ToString($5)); },
1035582: ($0, $1) => { return eez_mqtt_deinit($0, $1); },
1035618: ($0, $1) => { return eez_mqtt_connect($0, $1); },
1035655: ($0, $1) => { return eez_mqtt_disconnect($0, $1); },
1035695: ($0, $1, $2) => { return eez_mqtt_subscribe($0, $1, UTF8ToString($2)); },
1035752: ($0, $1, $2) => { return eez_mqtt_unsubscribe($0, $1, UTF8ToString($2)); },
1035811: ($0, $1, $2, $3) => { return eez_mqtt_publish($0, $1, UTF8ToString($2), UTF8ToString($3)); }
1034800: ($0) => { startToDebuggerMessage($0); },
1034832: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1034907: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1034982: ($0) => { finishToDebuggerMessage($0); },
1035015: ($0, $1) => { return getLvglScreenByName($0, UTF8ToString($1)); },
1035069: ($0, $1) => { return getLvglObjectByName($0, UTF8ToString($1)); },
1035123: ($0, $1) => { return getLvglGroupByName($0, UTF8ToString($1)); },
1035176: ($0, $1) => { return getLvglStyleByName($0, UTF8ToString($1)); },
1035229: ($0, $1) => { return getLvglImageByName($0, UTF8ToString($1)); },
1035282: ($0, $1, $2) => { lvglObjAddStyle($0, $1, $2); },
1035315: ($0, $1, $2) => { lvglObjRemoveStyle($0, $1, $2); },
1035351: ($0, $1) => { lvglSetColorTheme($0, UTF8ToString($1)); },
1035396: ($0, $1, $2, $3, $4, $5) => { return eez_mqtt_init($0, UTF8ToString($1), UTF8ToString($2), $3, UTF8ToString($4), UTF8ToString($5)); },
1035502: ($0, $1) => { return eez_mqtt_deinit($0, $1); },
1035538: ($0, $1) => { return eez_mqtt_connect($0, $1); },
1035575: ($0, $1) => { return eez_mqtt_disconnect($0, $1); },
1035615: ($0, $1, $2) => { return eez_mqtt_subscribe($0, $1, UTF8ToString($2)); },
1035672: ($0, $1, $2) => { return eez_mqtt_unsubscribe($0, $1, UTF8ToString($2)); },
1035731: ($0, $1, $2, $3) => { return eez_mqtt_publish($0, $1, UTF8ToString($2), UTF8ToString($3)); }
};


Expand Down
Binary file modified packages/project-editor/flow/runtime/lvgl_runtime_v8.3.wasm
Binary file not shown.
38 changes: 19 additions & 19 deletions packages/project-editor/flow/runtime/lvgl_runtime_v9.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -969,25 +969,25 @@ function dbg(text) {
// === Body ===

var ASM_CONSTS = {
1029552: ($0) => { startToDebuggerMessage($0); },
1029584: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1029659: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1029734: ($0) => { finishToDebuggerMessage($0); },
1029767: ($0, $1) => { return getLvglScreenByName($0, UTF8ToString($1)); },
1029821: ($0, $1) => { return getLvglObjectByName($0, UTF8ToString($1)); },
1029875: ($0, $1) => { return getLvglGroupByName($0, UTF8ToString($1)); },
1029928: ($0, $1) => { return getLvglStyleByName($0, UTF8ToString($1)); },
1029981: ($0, $1) => { return getLvglImageByName($0, UTF8ToString($1)); },
1030034: ($0, $1, $2) => { lvglObjAddStyle($0, $1, $2); },
1030067: ($0, $1, $2) => { lvglObjRemoveStyle($0, $1, $2); },
1030103: ($0, $1) => { lvglSetColorTheme($0, UTF8ToString($1)); },
1030148: ($0, $1, $2, $3, $4, $5) => { return eez_mqtt_init($0, UTF8ToString($1), UTF8ToString($2), $3, UTF8ToString($4), UTF8ToString($5)); },
1030254: ($0, $1) => { return eez_mqtt_deinit($0, $1); },
1030290: ($0, $1) => { return eez_mqtt_connect($0, $1); },
1030327: ($0, $1) => { return eez_mqtt_disconnect($0, $1); },
1030367: ($0, $1, $2) => { return eez_mqtt_subscribe($0, $1, UTF8ToString($2)); },
1030424: ($0, $1, $2) => { return eez_mqtt_unsubscribe($0, $1, UTF8ToString($2)); },
1030483: ($0, $1, $2, $3) => { return eez_mqtt_publish($0, $1, UTF8ToString($2), UTF8ToString($3)); }
1029456: ($0) => { startToDebuggerMessage($0); },
1029488: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1029563: ($0, $1, $2) => { writeDebuggerBuffer($0, new Uint8Array(Module.HEAPU8.buffer, $1, $2)); },
1029638: ($0) => { finishToDebuggerMessage($0); },
1029671: ($0, $1) => { return getLvglScreenByName($0, UTF8ToString($1)); },
1029725: ($0, $1) => { return getLvglObjectByName($0, UTF8ToString($1)); },
1029779: ($0, $1) => { return getLvglGroupByName($0, UTF8ToString($1)); },
1029832: ($0, $1) => { return getLvglStyleByName($0, UTF8ToString($1)); },
1029885: ($0, $1) => { return getLvglImageByName($0, UTF8ToString($1)); },
1029938: ($0, $1, $2) => { lvglObjAddStyle($0, $1, $2); },
1029971: ($0, $1, $2) => { lvglObjRemoveStyle($0, $1, $2); },
1030007: ($0, $1) => { lvglSetColorTheme($0, UTF8ToString($1)); },
1030052: ($0, $1, $2, $3, $4, $5) => { return eez_mqtt_init($0, UTF8ToString($1), UTF8ToString($2), $3, UTF8ToString($4), UTF8ToString($5)); },
1030158: ($0, $1) => { return eez_mqtt_deinit($0, $1); },
1030194: ($0, $1) => { return eez_mqtt_connect($0, $1); },
1030231: ($0, $1) => { return eez_mqtt_disconnect($0, $1); },
1030271: ($0, $1, $2) => { return eez_mqtt_subscribe($0, $1, UTF8ToString($2)); },
1030328: ($0, $1, $2) => { return eez_mqtt_unsubscribe($0, $1, UTF8ToString($2)); },
1030387: ($0, $1, $2, $3) => { return eez_mqtt_publish($0, $1, UTF8ToString($2), UTF8ToString($3)); }
};


Expand Down
Binary file modified packages/project-editor/flow/runtime/lvgl_runtime_v9.0.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion wasm/eez-framework

0 comments on commit 627d6c6

Please sign in to comment.