moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
This commit is contained in:
323 files changed
+1055
-1013
No files matched your search
@@ -1,7 +1,7 @@
|
||||
///| Real text rendering: Allo Variable (UI text, falling back to Adwaita Sans) and Adwaita Mono
|
||||
/// (code), rasterised and plugged into the renderer's glyph hook. The pure-MoonBit renderer keeps its
|
||||
/// bitmap font when no hook is set. Two backends supply the glyphs: font_native.mbt (stb_truetype
|
||||
/// through a C shim) and font_wasm.mbt (the host's `moonplasma:host/font` import).
|
||||
/// through a C shim) and font_wasm.mbt (the host's `chandra:host/font` import).
|
||||
|
||||
///| A rasterised glyph as a backend returns it: 8-bit coverage `w` x `h` whose top-left is at
|
||||
/// (`xoff`, `yoff`) from the pen on the baseline, and the pen `advance`.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///| Wasm font backend: the component has no C rasteriser, so glyphs come from the host's
|
||||
/// `moonplasma:host/font` import (the host draws them from the TTF files it loads).
|
||||
/// `chandra:host/font` import (the host draws them from the TTF files it loads).
|
||||
|
||||
///| Load a TTF file into `slot`.
|
||||
fn b_load(slot : Int, path : String) -> Bool {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
"moonbitlang/core/builtin",
|
||||
"moonplasma/desktop/compositor/renderer" @renderer,
|
||||
"moonplasma/desktop/interface/moonplasma/host/font" @hostfont,
|
||||
"chandra/desktop/compositor/renderer" @renderer,
|
||||
"chandra/desktop/interface/chandra/host/font" @hostfont,
|
||||
}
|
||||
|
||||
supported_targets = "+native+wasm"
|
||||
|
||||
Reference in new issue
Block a user