File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ Use `python3 tools/setup-native.py --check --cargo-manifest catalog/rust/Cargo.t
2020to check the local dependency graph. Existing platform rendering backends remain
2121part of their applications; the framework controls the shared VM and UI sources.
2222
23+ ** Known gap:** the lock (and the matching Cargo revs) currently select
24+ Octoscript-Makepad ` b1596d9c ` , which is not on its ` main ` ; the other OctoSense
25+ consumers are on ` 463e3da8 ` (makepad ` cd812acd ` ). Until [ #4 ] ( https://github.com/OctoSense-org/OctoScript-Android/issues/4 )
26+ is fixed, prepare this repository in its own workspace rather than beside an
27+ OctoScript-App-Design-Flow checkout.
28+
2329
2430Octoscript DSL rendered to ** native Android widgets** from Rust — the Android peer of
2531[ Octoscript-OH] ( https://github.com/OctoSense-org/Octoscript-OH ) , which does the same against
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ OctoSense 外壳、App Hub 的 `card-host`、Mail 以及其他 OctoSense 应用
1717用 ` python3 tools/setup-native.py --check --cargo-manifest catalog/rust/Cargo.toml `
1818检查本地依赖图。现有的各平台渲染后端仍然属于各自的应用;框架负责的是共享的 VM 和 UI 源码。
1919
20+ ** 已知差异:** 目前锁文件(以及对应的 Cargo 版本)选定的是 Octoscript-Makepad ` b1596d9c ` ,
21+ 它不在该仓库的 ` main ` 上;其他 OctoSense 使用方都在 ` 463e3da8 ` (makepad ` cd812acd ` )。
22+ 在 [ #4 ] ( https://github.com/OctoSense-org/OctoScript-Android/issues/4 ) 修复之前,请把本仓库放在单独的工作区里准备,不要和
23+ OctoScript-App-Design-Flow 的 checkout 放在一起。
24+
2025
2126用 Rust 把 Octoscript DSL 渲染成 ** Android 原生控件** ——它是
2227[ Octoscript-OH] ( https://github.com/OctoSense-org/Octoscript-OH/blob/master/README.zh-CN.md )
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ views. The DSL — not Java — decides what the screen says.
6767
6868## VM constraints discovered (the hard-won part)
6969
70- The makepad-script rev ` e1c2164b ` that ` octoscript-render ` pins has three shapes
70+ The makepad-script rev ` e1c2164b ` that ` octoscript-render ` pinned when these were
71+ found (the runtime is now selected by ` native-runtime.lock.json ` ) has three shapes
7172that silently produce a wrong tree rather than an error. All were found by
7273host-side probing (` examples/probe.rs ` ) after they showed up as blank screens:
7374
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ cd .. && gradle assembleDebug && adb install -r app/build/outputs/apk/debug/app-
6565
6666## 发现的 VM 限制(来之不易的部分)
6767
68- ` octoscript-render ` 锁定的 makepad-script 版本 ` e1c2164b ` 有三种写法会悄无声息地
68+ 发现这些问题时,` octoscript-render ` 锁定的 makepad-script 版本 ` e1c2164b ` (如今运行时由
69+ ` native-runtime.lock.json ` 选定)有三种写法会悄无声息地
6970生成错误的树,而不是报错。三者都是先表现为空白页面,再通过宿主机侧探测
7071(` examples/probe.rs ` )找出来的:
7172
You can’t perform that action at this time.
0 commit comments