Rename the project to Chandra
CI / test (push) Failing after 16s

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:
VandClaude Opus 5.5 committed 2026-11-25 17:12:57 +00:00
1 parent 5dfe34027b
commit af774d76fe
323 files changed
+1055 -1013

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
# moon-plasma
# chandra
A modular, KDE-Plasma-inspired desktop environment where **every part is a
WebAssembly component** (Component Model, WIT interfaces) written in
@@ -12,7 +12,7 @@ are three separate MoonBit components.*
## Vision
Plasma's strength is its decomposition (shell, widgets, window manager, runner,
settings modules, notifications, tray). moon-plasma keeps that decomposition and
settings modules, notifications, tray). chandra keeps that decomposition and
makes each seam a **typed WIT interface** with **deny-by-default capabilities**:
* the **host** only owns engine/lifecycle, devices, the capability broker and the
@@ -30,7 +30,7 @@ decision, rendering, input, permissions, versioning, roadmap M0–M8) and
Works today:
* WIT package `moonplasma:desktop@0.1.0` (`wit/`): worlds `widget`, `clock-widget`,
* WIT package `chandra:desktop@0.1.0` (`wit/`): worlds `widget`, `clock-widget`,
`launcher-widget`, `panel`, `shell`.
* Four MoonBit components, each an independently built `.wasm` component of 24–33 KB:
`clock-digital`, `clock-binary` (drop-in replacement), `launcher` (kickoff-like with
@@ -67,7 +67,7 @@ Swap the clock **without rebuilding anything else**:
```bash
node host/src/cli.mjs --config config/desktop.binary-clock.json
scripts/build.sh clock-binary # builds just that component
# in the browser console: await moonPlasma.swap('clock', 'clock-binary')
# in the browser console: await chandra.swap('clock', 'clock-binary')
```
Screenshots: see the end of [docs/TOOLCHAIN.md](docs/TOOLCHAIN.md).
+1 -1
View File
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/async-core"
package "chandra/desktop/async-core"
import {
"moonbitlang/core/debug",
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/clock" @clock,
"chandra/desktop/lib/clock" @logic,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/dock/gen/interface/moonplasma/desktop/plasmoid"
package "chandra/desktop/components/clock-binary/gen/interface/chandra/desktop/plasmoid"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the binary clock.
///| Implementation of `chandra:desktop/plasmoid` for the binary clock.
/// All logic lives in lib/clock; this file only adapts host capabilities.
///|
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/clock" @clock,
"moonplasma/desktop/lib/clock" @logic,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/clock-binary/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/clock-binary/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/clock-binary/gen"
package "chandra/desktop/components/clock-binary/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/clock" @clock,
"chandra/desktop/lib/clock" @logic,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/launcher/gen/interface/moonplasma/desktop/plasmoid"
package "chandra/desktop/components/clock-digital/gen/interface/chandra/desktop/plasmoid"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the digital clock.
///| Implementation of `chandra:desktop/plasmoid` for the digital clock.
/// All logic lives in lib/clock; this file only adapts host capabilities.
///|
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/clock" @clock,
"moonplasma/desktop/lib/clock" @logic,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/clock-digital/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/clock-digital/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/clock-digital/gen"
package "chandra/desktop/components/clock-digital/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
+1 -1
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/compositor/gen/world/compositor" @compositor,
"chandra/desktop/components/compositor/gen/world/compositor" @compositor,
}
warnings = "-44"
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/compositor/app" @app,
"chandra/desktop/compositor/app" @app,
}
warnings = "-44"
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/wm/policy" @policy,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,9 +1,9 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/decoration-breeze/gen/interface/moonplasma/wm/decoration"
package "chandra/desktop/components/decoration-breeze/gen/interface/chandra/wm/decoration"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"moonplasma/desktop/interface/moonplasma/wm/policy",
"chandra/desktop/interface/chandra/desktop/types",
"chandra/desktop/interface/chandra/wm/policy",
}
// Values
@@ -1,4 +1,4 @@
///| `moonplasma:wm/decoration` Breeze-inspired server-side decoration component.
///| `chandra:wm/decoration` Breeze-inspired server-side decoration component.
///|
pub fn render(
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/wm/policy" @policy,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+3 -3
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/decoration-breeze/gen/interface/moonplasma/wm/decoration" @decoration,
"chandra/desktop/components/decoration-breeze/gen/interface/chandra/wm/decoration" @decoration,
}
warnings = "-44"
@@ -13,8 +13,8 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportRender:moonplasma:wm/decoration@0.2.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:wm/decoration@0.2.0#render"
"wasmExportRender:chandra:wm/decoration@0.2.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:wm/decoration@0.2.0#render"
],
},
},
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/decoration-breeze/gen"
package "chandra/desktop/components/decoration-breeze/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
@@ -0,0 +1,9 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/app-catalog" @app_catalog,
"chandra/desktop/interface/chandra/desktop/app-launch" @app_launch,
"chandra/desktop/lib/dock" @logic,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/clock-binary/gen/interface/moonplasma/desktop/plasmoid"
package "chandra/desktop/components/dock/gen/interface/chandra/desktop/plasmoid"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the dock: a row of app tiles
///| Implementation of `chandra:desktop/plasmoid` for the dock: a row of app tiles
/// that magnify under the pointer and start the app on click. The tile layout and
/// hit-testing live in lib/dock; this adapts host capabilities.
@@ -11,7 +11,7 @@ let height : Ref[Int] = Ref::new(34)
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.dock",
id: "org.chandra.dock",
name: "Dock",
preferred: { w: @logic.preferred_width(@app_catalog.list_apps().length()).reinterpret_as_uint(), h: 34U },
min_width: 60,
@@ -1,9 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/app-catalog" @app_catalog,
"moonplasma/desktop/interface/moonplasma/desktop/app-launch" @app_launch,
"moonplasma/desktop/lib/dock" @logic,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/dock/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/dock/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
+1 -1
View File
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/dock/gen"
package "chandra/desktop/components/dock/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
+1 -1
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/gfx-gui/gen/world/gui-loader" @gui-loader,
"chandra/desktop/components/gfx-gui/gen/world/gui-loader" @gui-loader,
}
warnings = "-44"
+1 -1
View File
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/gfx-gui/gen"
package "chandra/desktop/components/gfx-gui/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
@@ -1,8 +1,8 @@
import {
"moonplasma/desktop/interface/wasi-gfx/surface/surface" @surface,
"moonplasma/desktop/interface/wasi-gfx/surface/surface-frame-buffer" @sfb,
"moonplasma/desktop/compositor/scene" @scene,
"moonplasma/desktop/compositor/renderer" @renderer,
"chandra/desktop/interface/wasi-gfx/surface/surface" @surface,
"chandra/desktop/interface/wasi-gfx/surface/surface-frame-buffer" @sfb,
"chandra/desktop/compositor/scene" @scene,
"chandra/desktop/compositor/renderer" @renderer,
}
warnings = "-44"
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/gfx-gui/gen/world/gui-loader"
package "chandra/desktop/components/gfx-gui/gen/world/gui-loader"
// Values
pub fn init_gui(UInt32, UInt32) -> Unit
@@ -1,4 +1,4 @@
///| Moon-Plasma GUI loader component backed by wasi-gfx (surface + frame-buffer).
///| Chandra GUI loader component backed by wasi-gfx (surface + frame-buffer).
priv struct GfxGuiState {
mut surface : @surface.Surface?
@@ -65,8 +65,8 @@ pub fn render_frame() -> Unit {
let win_w = if w > 320 { w / 2 } else { w - 32 }
let win_h = if h > 220 { h / 2 } else { h - 64 }
let (insets, deco_ops) = @scene.build_breeze_decoration(
"moon-plasma (wasi-gfx)",
"org.moonplasma.gfx",
"chandra (wasi-gfx)",
"org.chandra.gfx",
true,
false,
win_w + 4,
@@ -75,8 +75,8 @@ pub fn render_frame() -> Unit {
)
sg.windows.push({
id: 1UL,
title: "moon-plasma (wasi-gfx)",
app_id: "org.moonplasma.gfx",
title: "chandra (wasi-gfx)",
app_id: "org.chandra.gfx",
focused: true,
fullscreen: false,
geometry: @scene.Rect::new(24, 24, win_w, win_h),
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/inspector" @inspector,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,10 +1,10 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the Interface Explorer toggle:
///| Implementation of `chandra:desktop/plasmoid` for the Interface Explorer toggle:
/// a panel button that switches the shell's inspect mode on and off.
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.inspector",
id: "org.chandra.inspector",
name: "Interface Explorer",
preferred: { w: 110, h: 34 },
min_width: 60,
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/inspector" @inspector,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/inspector/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/inspector/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -0,0 +1,9 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/app-catalog" @app_catalog,
"chandra/desktop/interface/chandra/desktop/app-launch" @app_launch,
"chandra/desktop/lib/launcher" @logic,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/clock-digital/gen/interface/moonplasma/desktop/plasmoid"
package "chandra/desktop/components/launcher/gen/interface/chandra/desktop/plasmoid"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the launcher.
///| Implementation of `chandra:desktop/plasmoid` for the launcher.
/// The state machine lives in lib/launcher; this adapts host capabilities.
///|
@@ -7,7 +7,7 @@ let state : @logic.State = @logic.State::new()
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.launcher",
id: "org.chandra.launcher",
name: "Application Launcher",
preferred: { w: 150, h: 34 },
min_width: 60,
@@ -1,9 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/app-catalog" @app_catalog,
"moonplasma/desktop/interface/moonplasma/desktop/app-launch" @app_launch,
"moonplasma/desktop/lib/launcher" @logic,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/launcher/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/launcher/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
+1 -1
View File
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/launcher/gen"
package "chandra/desktop/components/launcher/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/layout-control" @layout,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the layout toggle:
///| Implementation of `chandra:desktop/plasmoid` for the layout toggle:
/// a two-segment panel switch, "Tile | Float", that flips the window manager between
/// tiling and floating. Monocle (set elsewhere) shows neither segment lit; a click
/// then returns to tiling.
@@ -12,7 +12,7 @@ let floating : UInt = 2
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.layout-toggle",
id: "org.chandra.layout-toggle",
name: "Tile / Float",
preferred: { w: 120, h: 34 },
min_width: 90,
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/layout-control" @layout,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/layout/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/layout/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/session" @session,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the logout button. A click on the panel
///| Implementation of `chandra:desktop/plasmoid` for the logout button. A click on the panel
/// button opens a small popup, "Log out | Cancel", so a stray click can't end the session; Enter
/// confirms and Escape (or a click elsewhere) cancels. Confirming calls `session.logout`, which
/// makes the host stop the compositor and hand the screen back to the display manager.
@@ -44,7 +44,7 @@ fn close() -> Unit {
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.logout",
id: "org.chandra.logout",
name: "Log out",
preferred: { w: 84, h: 34 },
min_width: 70,
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/session" @session,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/logout/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/logout/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/modules" @modules,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,4 +1,4 @@
///| Implementation of `moonplasma:desktop/plasmoid` for the module manager: a panel
///| Implementation of `chandra:desktop/plasmoid` for the module manager: a panel
/// button whose popup lists the loaded instances (click to unload), every module found
/// on the search path (click to load another instance) and a "Browse..." row.
@@ -23,7 +23,7 @@ let popup_w : Int = 300
///|
pub fn info() -> PlasmoidInfo {
{
id: "org.moonplasma.module-manager",
id: "org.chandra.module-manager",
name: "Module Manager",
preferred: { w: 110, h: 34 },
min_width: 60,
@@ -1,8 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/interface/moonplasma/desktop/modules" @modules,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+8 -8
View File
@@ -1,5 +1,5 @@
import {
"moonplasma/desktop/components/module-manager/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
"chandra/desktop/components/module-manager/gen/interface/chandra/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
@@ -13,13 +13,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render"
],
},
},
@@ -0,0 +1,7 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/lib/shell" @logic,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/desktop-surface"
package "chandra/desktop/components/shell/gen/interface/chandra/desktop/desktop-surface"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| `moonplasma:desktop/desktop-surface` for the reference shell.
///| `chandra:desktop/desktop-surface` for the reference shell.
///|
pub fn render_background(screen : @types.Size) -> Array[@types.DrawOp] {
@@ -0,0 +1,9 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/lib/shell" @shell,
"chandra/desktop/lib/panel" @panel,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
@@ -1,8 +1,8 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/panel-layout"
package "chandra/desktop/components/shell/gen/interface/chandra/desktop/panel-layout"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
@@ -1,4 +1,4 @@
///| `moonplasma:desktop/panel-layout` for the reference shell. Geometry is in
///| `chandra:desktop/panel-layout` for the reference shell. Geometry is in
/// lib/panel (pure, unit-tested); this adapts the WIT records.
///|
@@ -1,7 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/lib/shell" @logic,
}
warnings = "-44"
@@ -1,9 +0,0 @@
import {
"moonplasma/desktop/interface/moonplasma/desktop/types" @types,
"moonplasma/desktop/interface/moonplasma/desktop/theme" @theme,
"moonplasma/desktop/lib/shell" @shell,
"moonplasma/desktop/lib/panel" @panel,
"moonplasma/desktop/lib/ui" @ui,
}
warnings = "-44"
+9 -9
View File
@@ -1,6 +1,6 @@
import {
"moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/desktop-surface" @desktop-surface,
"moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/panel-layout" @panel-layout,
"chandra/desktop/components/shell/gen/interface/chandra/desktop/desktop-surface" @desktop-surface,
"chandra/desktop/components/shell/gen/interface/chandra/desktop/panel-layout" @panel-layout,
}
warnings = "-44"
@@ -14,13 +14,13 @@ options(
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportComputeLayout:moonplasma:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportComputeLayoutPostReturn:cabi_post_moonplasma:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportPopupPosition:moonplasma:desktop/panel-layout@0.1.0#popup-position",
"wasmExportRenderBackground:moonplasma:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderBackgroundPostReturn:cabi_post_moonplasma:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderPanel:moonplasma:desktop/panel-layout@0.1.0#render-panel",
"wasmExportRenderPanelPostReturn:cabi_post_moonplasma:desktop/panel-layout@0.1.0#render-panel"
"wasmExportComputeLayout:chandra:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportComputeLayoutPostReturn:cabi_post_chandra:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportPopupPosition:chandra:desktop/panel-layout@0.1.0#popup-position",
"wasmExportRenderBackground:chandra:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderBackgroundPostReturn:cabi_post_chandra:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderPanel:chandra:desktop/panel-layout@0.1.0#render-panel",
"wasmExportRenderPanelPostReturn:cabi_post_chandra:desktop/panel-layout@0.1.0#render-panel"
],
},
},
+1 -1
View File
@@ -1,5 +1,5 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/shell/gen"
package "chandra/desktop/components/shell/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
@@ -0,0 +1,8 @@
import {
"chandra/desktop/interface/chandra/desktop/types" @types,
"chandra/desktop/interface/chandra/desktop/theme" @theme,
"chandra/desktop/interface/chandra/desktop/windows" @windows,
"chandra/desktop/lib/ui" @ui,
}
warnings = "-44"
Loaded 100 of 323 files, more files were not shown because too many files have changed in this diff. Show more