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
@@ -139,7 +139,7 @@ fn bind_global(
|
||||
|
||||
///|
|
||||
fn open_and_configure_client(
|
||||
comp : @host.MoonPlasmaCompositor,
|
||||
comp : @host.ChandraCompositor,
|
||||
socket_path : String,
|
||||
title : String,
|
||||
app_id : String,
|
||||
@@ -217,7 +217,7 @@ fn open_and_configure_client(
|
||||
|
||||
///|
|
||||
fn commit_shm_frame(
|
||||
comp : @host.MoonPlasmaCompositor,
|
||||
comp : @host.ChandraCompositor,
|
||||
c : TestWaylandClient,
|
||||
shm_id : UInt,
|
||||
surf_id : UInt,
|
||||
@@ -317,11 +317,11 @@ test "e2e pure-moonbit wayland compositor with lib/wm, ssd decorations, and shm
|
||||
@sys.getpid().to_string() +
|
||||
".sock"
|
||||
let theme = @scene.ThemeTokens::moon_night()
|
||||
let comp = @host.MoonPlasmaCompositor::new(socket_path, theme, 1280, 720).unwrap()
|
||||
let comp = @host.ChandraCompositor::new(socket_path, theme, 1280, 720).unwrap()
|
||||
|
||||
// Client 1: MoonTerm
|
||||
let (c1, shm1, surf1, xdg1, _tl1, _deco1) = open_and_configure_client(
|
||||
comp, socket_path, "MoonTerm", "org.moonplasma.term",
|
||||
comp, socket_path, "MoonTerm", "org.chandra.term",
|
||||
)
|
||||
assert_eq(c1.deco_mode, Some(2U)) // ServerSide
|
||||
assert_true(c1.configured_w > 1200 && c1.configured_h > 600)
|
||||
@@ -347,7 +347,7 @@ test "e2e pure-moonbit wayland compositor with lib/wm, ssd decorations, and shm
|
||||
|
||||
// Client 2: Files -> verify BSP tiling splits the screen!
|
||||
let (c2, shm2, surf2, xdg2, _tl2, _deco2) = open_and_configure_client(
|
||||
comp, socket_path, "Files", "org.moonplasma.files",
|
||||
comp, socket_path, "Files", "org.chandra.files",
|
||||
)
|
||||
assert_true(c2.configured_w > 0 && c2.configured_w < 700)
|
||||
commit_shm_frame(comp, c2, shm2, surf2, xdg2, 2UL)
|
||||
@@ -369,7 +369,7 @@ test "a buffer stays valid after its wl_shm_pool is destroyed" {
|
||||
@sys.getpid().to_string() +
|
||||
".sock"
|
||||
let theme = @scene.ThemeTokens::moon_night()
|
||||
let comp = @host.MoonPlasmaCompositor::new(socket_path, theme, 1280, 720).unwrap()
|
||||
let comp = @host.ChandraCompositor::new(socket_path, theme, 1280, 720).unwrap()
|
||||
let (c, shm, surf, xdg, _tl, _deco) = open_and_configure_client(
|
||||
comp, socket_path, "Kwi", "org.kde.kwi",
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user