Files
moon-gpui/NOTICE
SpriteandClaude Opus 5.5 cca9a49c51 M2 layout: LayoutEngine on Milky2018/chicle, conformance suite
- layout: port of GPUI's TaffyLayoutEngine (request_layout,
  request_measured_layout, compute_layout, layout_bounds,
  stretch_auto_size_to_fill) and LayoutStyle::to_taffy, with rem resolution
  and device-pixel snapping (round_half_toward_zero, stroke snapping, ceiled
  measured sizes). No cross-frame node cache yet (needs element ids, M6).
- Depend on Milky2018/chicle 0.6.3, the maintained successor of
  moon_taffy (which no longer compiles), instead of vendoring.
- conformance/chicle: standalone module running moon_taffy's 1,038 taffy
  fixtures against chicle; all pass on wasm, wasm-gc, js and native.
- card example now lays out its content with the engine.
- Docs: PORTING.md M2 status, revised decision 3, M2 deviations; README;
  NOTICE attribution for the conformance fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:09:49 +00:00

30 lines
1.2 KiB
Plaintext

moon-gpui
=========
This project is a MoonBit port of GPUI, the GPU-accelerated UI framework of
the Zed editor:
https://github.com/zed-industries/zed/tree/main/crates/gpui
Copyright 2022 - 2025 Zed Industries, Inc.
Licensed under the Apache License, Version 2.0.
Source files in this repository are derived from GPUI's Rust sources (the
reference snapshot is zed-industries/zed commit
f98c2c100d217ace3ca99564cfc4573612d43d47). They have been translated to
MoonBit and modified; each package documents where it deviates from the
original. See docs/PORTING.md for the mapping between GPUI modules and the
MoonBit packages.
This port is distributed under the same license, the Apache License,
Version 2.0 (see LICENSE). It is not affiliated with or endorsed by Zed
Industries.
Third-party material:
- conformance/chicle/upstream contains layout fixture tests from
Milky2018/moon_taffy 0.5.3 (Apache-2.0, Copyright 2025 International
Digital Economy Academy), which are derived from taffy's generated tests
(https://github.com/DioxusLabs/taffy, MIT).
- The layout package depends on Milky2018/chicle (Apache-2.0), fetched from
mooncakes.io; it is not vendored here.