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
+2
-2
@@ -3,7 +3,7 @@
|
||||
///|
|
||||
pub fn digital_info() -> (String, String, Int, Int, Int) {
|
||||
// id, name, preferred w, preferred h, min w
|
||||
("org.moonplasma.clock.digital", "Digital Clock", 120, 36, 80)
|
||||
("org.chandra.clock.digital", "Digital Clock", 120, 36, 80)
|
||||
}
|
||||
|
||||
///|
|
||||
@@ -34,7 +34,7 @@ pub fn render_digital(
|
||||
|
||||
///|
|
||||
pub fn binary_info() -> (String, String, Int, Int, Int) {
|
||||
("org.moonplasma.clock.binary", "Binary Clock", 96, 36, 96)
|
||||
("org.chandra.clock.binary", "Binary Clock", 96, 36, 96)
|
||||
}
|
||||
|
||||
///| BCD binary clock: six columns (H H M M S S), four rows; lit bits use the
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
|
||||
"moonplasma/desktop/lib/ui" @ui,
|
||||
"moonplasma/desktop/lib/timefmt" @timefmt,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
||||
"chandra/desktop/lib/ui" @ui,
|
||||
"chandra/desktop/lib/timefmt" @timefmt,
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/clock"
|
||||
package "chandra/desktop/lib/clock"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme",
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
"chandra/desktop/interface/chandra/desktop/theme",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
|
||||
"moonplasma/desktop/lib/ui" @ui,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
||||
"chandra/desktop/lib/ui" @ui,
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
|
||||
"moonplasma/desktop/lib/ui" @ui,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
||||
"chandra/desktop/lib/ui" @ui,
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/launcher"
|
||||
package "chandra/desktop/lib/launcher"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme",
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
"chandra/desktop/interface/chandra/desktop/theme",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
|
||||
+2
-2
@@ -33,12 +33,12 @@ pub fn phase_name(p : Double) -> String {
|
||||
///|
|
||||
pub fn disc_info() -> (String, String, Int, Int, Int) {
|
||||
// id, name, preferred w, preferred h, min w
|
||||
("org.moonplasma.moon.disc", "Moon Phase (disc)", 36, 36, 36)
|
||||
("org.chandra.moon.disc", "Moon Phase (disc)", 36, 36, 36)
|
||||
}
|
||||
|
||||
///|
|
||||
pub fn text_info() -> (String, String, Int, Int, Int) {
|
||||
("org.moonplasma.moon.text", "Moon Phase (text)", 110, 36, 90)
|
||||
("org.chandra.moon.text", "Moon Phase (text)", 110, 36, 90)
|
||||
}
|
||||
|
||||
///| The moon drawn as a disc with its lit part shaded row by row.
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
"moonbitlang/core/math" @math,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
|
||||
"moonplasma/desktop/lib/ui" @ui,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
||||
"chandra/desktop/lib/ui" @ui,
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/moon"
|
||||
package "chandra/desktop/lib/moon"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme",
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
"chandra/desktop/interface/chandra/desktop/theme",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/panel"
|
||||
package "chandra/desktop/lib/panel"
|
||||
|
||||
// Values
|
||||
pub fn layout(Int32, Int32, Int32, Int32, Int32, Array[SlotIn]) -> Result[PanelLayout, String]
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
|
||||
"moonplasma/desktop/lib/ui" @ui,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
||||
"chandra/desktop/lib/ui" @ui,
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/shell"
|
||||
package "chandra/desktop/lib/shell"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme",
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
"chandra/desktop/interface/chandra/desktop/theme",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ fn plasma_glow(screen : @types.Size, t : @theme.Tokens) -> Array[@types.DrawOp]
|
||||
ops.push(@ui.circle(gx, gy, 38, @ui.with_alpha(p.accent, 200)))
|
||||
ops.push(@ui.circle(gx + 14, gy - 10, 34, p.desktop_top))
|
||||
ops.push(
|
||||
@ui.text(w / 2, h / 2 - 20, "moon-plasma", 54, @ui.with_alpha(p.foreground, 235), align=CENTER, bold=true),
|
||||
@ui.text(w / 2, h / 2 - 20, "chandra", 54, @ui.with_alpha(p.foreground, 235), align=CENTER, bold=true),
|
||||
)
|
||||
ops.push(
|
||||
@ui.text(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/timefmt"
|
||||
package "chandra/desktop/lib/timefmt"
|
||||
|
||||
// Values
|
||||
pub fn bcd_bits(Int32, Int32) -> Array[Bool]
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
|
||||
"chandra/desktop/interface/chandra/desktop/types" @types,
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/ui"
|
||||
package "chandra/desktop/lib/ui"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/wm"
|
||||
package "chandra/desktop/lib/wm"
|
||||
|
||||
import {
|
||||
"moonbitlang/core/debug",
|
||||
|
||||
Reference in new issue
Block a user