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
@@ -33,7 +33,7 @@ fn load_fixture(name : String) -> Result[Plasmoid, String] {
|
||||
///|
|
||||
test "a plasmoid component loads and renders through wasmer" {
|
||||
let p = load_fixture("clock-digital.component.wasm").unwrap()
|
||||
assert_eq(p.id, "org.moonplasma.clock.digital")
|
||||
assert_eq(p.id, "org.chandra.clock.digital")
|
||||
assert_true(p.pref_w > 0 && p.pref_h > 0)
|
||||
let ops = p.render(p.pref_w, p.pref_h, test_tokens())
|
||||
assert_true(ops.length() > 0)
|
||||
@@ -56,7 +56,7 @@ test "a plasmoid component loads and renders through wasmer" {
|
||||
///|
|
||||
test "a bare core module loads too, and junk is rejected" {
|
||||
let p = load_fixture("clock-digital.core.wasm").unwrap()
|
||||
assert_eq(p.id, "org.moonplasma.clock.digital")
|
||||
assert_eq(p.id, "org.chandra.clock.digital")
|
||||
p.unload()
|
||||
assert_true(load("/nonexistent.wasm", test_tokens()) is Err(_))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user