| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: clear MoonBit toolchain-upgrade warnings workspace-wide The moonc 0.10.14 upgrade introduced new lint categories that fired ~31k warnings across the workspace. All own-code warnings are now eliminated on native and wasm-gc (moon check --warn-list +73 reports 0): - unnecessary_annotation: drop redundant @pkg.Type:: / Type:: qualifiers on constructor and variant references - test_unqualified_package: qualify cross-package types in black-box tests with the package alias (e.g. @renderer.Renderer) - implicit_impl_as_method: make the deprecated implicit trait-method promotions explicit with #doc(hidden) extend declarations collected in per-package extends_*.mbt files (trait-family split for moui/core). Promotions keep working; the generated .mbti interface is unchanged, so API-surface budgets and public declaration counts stay at baseline. - unused_package: drop unused moon.pkg imports; move test-only imports into for "test" / for "wbtest" blocks (moui/backend/common keeps its architecture-mandated core import with a targeted warnings = "-unused_package" opt-out) - deprecated APIs: Array::new -> Array, sub/view -> exact_view - misc: unused variables (_self), reserved keyword (move -> move_event), unused fields, unused type declarations, dead functions Also updates checks/source-file-policy.json ratchets (shrunk files ratchet down, tests grown by required qualification ratchet up) and the maintenance-baseline line budget for the reformatted tool catalog. examples/momark and examples/deepseek_harness_desktop carry the same cleanup as local submodule commits (not pushed). Known pre-existing issue (not caused by this change): the local .mooncakes cache holds bobzhang/pdflite@0.1.38 (a yanked package superseded by moonbitlang/pdflite), whose rijndael dependency uses toolchain-removed syntax (@strconv.from_str, fnalias). Root-level moon check and check-generated-interfaces.mjs fail on those third-party sources until the dependency is migrated. | 1 天前 | |
chore: clear MoonBit toolchain-upgrade warnings workspace-wide The moonc 0.10.14 upgrade introduced new lint categories that fired ~31k warnings across the workspace. All own-code warnings are now eliminated on native and wasm-gc (moon check --warn-list +73 reports 0): - unnecessary_annotation: drop redundant @pkg.Type:: / Type:: qualifiers on constructor and variant references - test_unqualified_package: qualify cross-package types in black-box tests with the package alias (e.g. @renderer.Renderer) - implicit_impl_as_method: make the deprecated implicit trait-method promotions explicit with #doc(hidden) extend declarations collected in per-package extends_*.mbt files (trait-family split for moui/core). Promotions keep working; the generated .mbti interface is unchanged, so API-surface budgets and public declaration counts stay at baseline. - unused_package: drop unused moon.pkg imports; move test-only imports into for "test" / for "wbtest" blocks (moui/backend/common keeps its architecture-mandated core import with a targeted warnings = "-unused_package" opt-out) - deprecated APIs: Array::new -> Array, sub/view -> exact_view - misc: unused variables (_self), reserved keyword (move -> move_event), unused fields, unused type declarations, dead functions Also updates checks/source-file-policy.json ratchets (shrunk files ratchet down, tests grown by required qualification ratchet up) and the maintenance-baseline line budget for the reformatted tool catalog. examples/momark and examples/deepseek_harness_desktop carry the same cleanup as local submodule commits (not pushed). Known pre-existing issue (not caused by this change): the local .mooncakes cache holds bobzhang/pdflite@0.1.38 (a yanked package superseded by moonbitlang/pdflite), whose rijndael dependency uses toolchain-removed syntax (@strconv.from_str, fnalias). Root-level moon check and check-generated-interfaces.mjs fail on those third-party sources until the dependency is migrated. | 1 天前 | |
Update dependencies and refactor editor scroll handling - Updated MoUI dependencies to version 0.2.0 for improved features and stability. - Refactored editor scroll handling in editor_view.mbt to use Point for scroll state. - Removed unused state import in moon.pkg. - Adjusted pkg.generated.mbti to reflect changes in scroll state type. - Modified playground_model.mbt to accommodate new scroll handling logic. - Updated compiler-worker.js to use the new moui_web_renderer instead of webgpu_adapter. - Changed script imports in index.html files to reference the updated renderer. | 1 个月前 | |
Refactor popover and sheet handling to use unified presentation model - Renamed to in multiple files to standardize naming. - Removed implementation and replaced it with for managing sheets. - Introduced , , and related enums to encapsulate presentation logic. - Updated tests and layout contexts to accommodate new presentation structure. - Adjusted API surface classifications and budgets to reflect changes in presentation handling. | 30 天前 |