Files
chandra/compositor/host/moon.pkg
Claude 27252a97ab
CI / test (push) Canceled after 0s
Emoji picker (Super+.): search, tabs, skin tones, recents, text-input-v3 insertion
Compositor-drawn Win+. style picker. The focused app keeps keyboard focus so
its text-input-v3 field stays enabled; the emoji goes in with commit_string,
or onto the clipboard with a visible notice when the app has no text field.
Shortcut lives in the shortcut table (rebindable in Settings > Shortcuts).

- compositor/wayland/text_input.mbt: zwp_text_input_manager_v3 (global 12)
- compositor/emoji: Emoji 18.0 + CLDR 49 data (Unicode License), search,
  picker model, CBDT/CBLC + GSUB reader for Noto Color Emoji
- Chandra's own pinned bitmap Noto Color Emoji (scripts/fetch-emoji-font.sh,
  just emoji-font); Fedora's COLRv1 copy can't be drawn. Missing font shows
  an error panel.
- raster WIT: emoji-font, emoji-has, emoji-image; served by wasmhost
- state.edn :emoji {:recent [...] :skin-tone n}
- tests incl. a fake text-input client; docs/emoji-picker.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hkABDGJixotaqFv2X2
2026-11-26 07:00:22 +00:00

36 lines
1006 B
Plaintext

import {
"moonbitlang/core/builtin",
"moonbitlang/core/encoding/utf8" @utf8,
"moonbitlang/core/math" @math,
"chandra/desktop/lib/wm" @wm,
"chandra/desktop/compositor/sys" @sys,
"chandra/desktop/compositor/scene" @scene,
"chandra/desktop/compositor/shell" @shell,
"chandra/desktop/compositor/wasm" @wasm,
"chandra/desktop/compositor/nested" @nested,
"chandra/desktop/compositor/font" @font,
"chandra/desktop/compositor/renderer" @renderer,
"chandra/desktop/compositor/raster" @raster,
"chandra/desktop/compositor/wayland" @wayland,
"chandra/desktop/compositor/gfx" @gfx,
"chandra/desktop/compositor/network" @network,
"chandra/desktop/compositor/portal" @portal,
"chandra/desktop/compositor/polkit" @polkit,
"chandra/desktop/compositor/emoji" @emoji,
}
supported_targets = "+native+wasm"
import {
"moonbitlang/core/buffer" @buffer,
"moonbitlang/core/string" @string,
} for "test"
options(
link: {
"native": {
"cc-link-flags": "-lwasmer",
},
},
)