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
@@ -123,7 +123,7 @@ pub fn run(args : Array[String]) -> Int {
|
||||
|
||||
let gfx_surface = @gfx.Surface::new({ width: Some(width), height: Some(height) })
|
||||
|
||||
match @host.MoonPlasmaCompositor::new(socket_path, theme, width, height) {
|
||||
match @host.ChandraCompositor::new(socket_path, theme, width, height) {
|
||||
None => {
|
||||
match kms {
|
||||
Some(k) => k.close()
|
||||
@@ -155,7 +155,7 @@ pub fn run(args : Array[String]) -> Int {
|
||||
"" => "/tmp"
|
||||
d => d
|
||||
}
|
||||
match @nested.NestedWindow::open(display, rt, "moon-plasma", "moon-plasma", width, height) {
|
||||
match @nested.NestedWindow::open(display, rt, "chandra", "chandra", width, height) {
|
||||
Some(n) => Some(n)
|
||||
None => {
|
||||
@sys.log("failed to open a window on the host Wayland display")
|
||||
@@ -170,7 +170,7 @@ pub fn run(args : Array[String]) -> Int {
|
||||
Some(k) => comp.server.set_keymap(k.keymap)
|
||||
None => ()
|
||||
}
|
||||
@sys.log("moon-plasma compositor listening on " + socket_path)
|
||||
@sys.log("chandra compositor listening on " + socket_path)
|
||||
let mut frames = 0
|
||||
// A changed frame waits here until the display can take it (no page flip in flight).
|
||||
let mut need_present = true
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import {
|
||||
"moonbitlang/core/builtin",
|
||||
"moonplasma/desktop/compositor/sys" @sys,
|
||||
"moonplasma/desktop/compositor/scene" @scene,
|
||||
"moonplasma/desktop/compositor/renderer" @renderer,
|
||||
"moonplasma/desktop/compositor/gfx" @gfx,
|
||||
"moonplasma/desktop/compositor/host" @host,
|
||||
"moonplasma/desktop/compositor/nested" @nested,
|
||||
"moonplasma/desktop/compositor/kms" @kms,
|
||||
"moonplasma/desktop/compositor/raster" @raster,
|
||||
"chandra/desktop/compositor/sys" @sys,
|
||||
"chandra/desktop/compositor/scene" @scene,
|
||||
"chandra/desktop/compositor/renderer" @renderer,
|
||||
"chandra/desktop/compositor/gfx" @gfx,
|
||||
"chandra/desktop/compositor/host" @host,
|
||||
"chandra/desktop/compositor/nested" @nested,
|
||||
"chandra/desktop/compositor/kms" @kms,
|
||||
"chandra/desktop/compositor/raster" @raster,
|
||||
}
|
||||
|
||||
supported_targets = "+native+wasm"
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/compositor/app"
|
||||
package "chandra/desktop/compositor/app"
|
||||
|
||||
// Values
|
||||
pub fn run(Array[String]) -> Int32
|
||||
|
||||
Reference in new issue
Block a user