Commit Graph
15 Commits
Author SHA1 Message Date
Nwflower 9baa1e341c feat(display,patches): decouple fullscreen from guest resolution for 1.5x HiDPI scaling 2026-11-30 03:41:47 -07:00
Dnyo666 ceeec602be feat(i18n,plugin): implement end-to-end i18n & L10n v2 architecture and language pack protocol
- Build single-source-of-truth 7-domain locale catalog (`locales/{zh-CN,en-US}/*.json`, 1,100+ keys) and `cmd/i18ngen` generator emitting Go catalogs and eager/lazy-split TypeScript domain modules (`core`/`vm` eager; `wizard`/`settings`/`plugins` lazy)
- Add zero-dependency ICU MessageFormat subset (`{var}`, `{n, number}`, CLDR `plural`, `select`), 8-hop cycle-free regional fallback (`zh-HK/zh-MO -> zh-Hant -> zh-TW -> zh-CN`), `auto` OS display-language preference, and `en-XA` pseudo-localization across Go and TypeScript
- Introduce `CodedError` supportability with `[E_CODE]` badges, collapsible `[detail]` diagnostics, and automatic SMC OSK / SMBIOS serial / MAC / token redaction
- Add Host × Guest macOS dual-terminology annotation (`FormatGuestTerm`) across 6 official Apple guest UI locales and localize Win32 system tray, file pickers, and DPI-adaptive `installguide` overlays with CJK font fallback probing
- Upgrade L1–L4 plugin localization to dual-track v2: Track A full language packs (`files`, WOFF2 `fonts`, cross-plugin `pluginOverrides`), Track B plugin-scoped `l10n` bundles (`HasUIMessages` isolation), live `plugin/localeChanged` notifications, `< 2ms` static CLI pack loading, and `reims-go plugin locale init|check` translator toolchain with `zh-TW` and `ja-JP` reference packs
- Harden security, WCAG 2.1 AA token contrast, `< 768px` responsive drawer & form layouts, and RTL logical properties; add backend security/locale regression tests and frontend `node --test` static/runtime guard suite in CI

# Conflicts:
#	frontend/src/i18n.ts
#	internal/cli/cli.go
#	internal/i18n/i18n.go
2026-11-30 14:56:19 +08:00
Nwflower 78d76f7353 feat(host,ui): probe Vulkan 1.3 GPU capabilities and grade compatibility 2026-11-29 18:16:20 -07:00
Nwflower f0b69c252c feat(update,plugin,ui): add in-app self-update, plugin locale packs, and About page
- Add shared resumable + SHA256SUMS-verified downloader (internal/fetch) and Windows executable swap/relaunch flow (internal/selfupdate, internal/app/appupdate_flow.go, --wait-pid in main.go/cli).
- Add dedicated About page and sidebar update capsule with background release checks, download progress, and restart confirmation when VMs are running.
- Implement plugin-contributed UI and backend/CLI locale packs (contributes.locales, LocalizedText extra tags, validation, runtime overlay, and PopupSelect language picker).
- Move kernel-irqchip and Windows processor scheduling controls into VM Compute > Performance settings, hide Plugins settings gear for VM-only schemas, and align locked system plugin switches.
2026-11-29 10:32:11 -07:00
Nwflower b9d4544a4d docs: consolidate guides, drop one-off drafts, and sanitize local paths 2026-11-29 06:35:37 -07:00
NwflowerandClaude Opus 5.5 b007f6b445 feat(ui): rework VM page around one action per state and plain-language summary
- Running state gets "Show Window" as its primary action (Ctrl+Enter, or
  double-click the VM in the sidebar); stopped keeps "Start". The screen
  preview is a pointer shortcut for the same action; its play button now
  shows on hover only.
- Summary card: disk shows "54 / 128 GB" (controller in tooltip), network
  shows "Shared network" (SSH port only in the SSH row). The separate
  QEMU CPU / host RAM card is folded into live bars under cores and memory.
- Guest Tools is one row with a single status; the install command appears
  as a sub-step only while the disk is attached and macOS is not connected.
- Pending changes read "Memory 8 GB -> 16 GB" instead of raw field names.
- More menu grouped by purpose, destructive items last; adds Copy Screenshot.
- Narrower column and height-aware screen size so Connection stays above
  the fold at 700 px; motion for state changes, meters and screen hover.
- Sidebar VM icons use each VM's last screen; status bar drops the
  parenthetical free-memory text (still in the tooltip).
- FocusVMWindow / CopyVMScreenshot are looked up at run time (wails.ts
  optionalApi) so the UI works with backends that lack them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:40:15 -07:00
Nwflower 7641a7c948 feat(ui): polish macOS Tahoe shell layout, typography, and motion
Align the Wails desktop shell with the macOS Tahoe visual design:
- Add bundled open-source Inter Variable (Latin) and multi-weight CJK font mapping tuned for Windows DirectWrite readability
- Refine VMPage with compact Studio Display stand, 2x3 icon spec card, inline telemetry meters, single-row Connection list, numbered install guide, and one-click tech summary copy
- Move LogPanel to full-width status bar with ambient WHPX status and pointer-captured vertical resize handle
- Upgrade HostView tiles, InstallersPage skeletons/empty state, system theme detection, and unified Segmented/Switch primitives
- Refine translucent chrome surfaces, GPU scaleX meters/progress, toast swipe/enter motion, and reduced-motion/transparency/contrast support
2026-11-29 02:46:13 -07:00
NwflowerandClaude Opus 5.5 31a72892de fix(settings): read display settings back and fold full screen into resolution
- `reims-ctl show` prints several displays as "displays  2, in 2 windows
  ...", which was read as one display, so the panel saw no change when
  the count was set back to 1 and refused to save it.
- The resolution was never read back: the pattern used was anchored to a
  whole value and never matched the display line, so the panel always
  showed 1920x1080.
- The settings panel took its values once on open; it now follows a newer
  VM detail until the person edits something (reopening right after a
  save showed the old values).
- Full screen is now a card among the resolutions instead of a separate
  switch; HiDPI sizes say what they look like, and the advice on getting
  HiDPI sits under the cards.

Checked with macos-tahoe: set to 2 displays at 1680x1050 outside the app,
the panel showed both; picking 1 saved and read back as 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:31:09 -07:00
NwflowerandClaude Opus 5.5 181ad64618 fix(display): mark HiDPI presets by reims-vgpu's own rule
Presets were flagged HiDPI by screen width alone, so a 2880x1800 preset
read "HiDPI" on a 100% screen where macOS runs it at 1x, and a VM left at
the 1920x1080 default ran 1x on a 200% screen.

- GuestStartsHiDPI follows upstream reims-vgpu 3731afd
  (RgfxDisplayIdentity.hpp, reims-vgpu-window features.md): HiDPI from a
  2048x1536 window above 160 ppi (150% scaling or more), or from
  3840x2160 at any scale.
- Presets are the 16:9 or 16:10 sizes that fit the screen's work area
  below a title bar, largest four; the largest HiDPI one is recommended.
  The display probe now reports the work area.
- When no preset is HiDPI, the resolution row says how to get there:
  borderless full screen, 150% Windows scaling, or not on this screen.

On this host (3072x1920 at 200%) the presets are 2560x1600 (HiDPI,
recommended), 1920x1200, 1680x1050 and 1280x800.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 23:48:52 -07:00
Nwflower b2f7f036d8 feat(m5): add macOS prev-lang preset, disk resize/compact, audio diagnostics, and VM thumbnails
- M5.5: add pure-Go internal/opencore reader/in-place patcher for OpenCore NVRAM prev-lang:kbd with sidecar persistence, automatic replay after update-opencore/graphics changes/CoW clones, wizard/settings/CLI (--guest-lang) support
- M5.6: add stopped VM disk resize (qemu-img resize + dynamic macOS APFS expand command) and standalone qcow2 compaction (backing-file guard, free-space check, qemu-img check, atomic swap) in GUI Settings and CLI (vm resize/compact)
- M5.9: add Win32 winmm audio output/input device probing, fix reims-ctl show audio_backend parsing, expose audio backend selector (auto/dsound/none) and latency/mic diagnostics in Settings & CLI
- UI & thumbnails: add QMP screendump VM thumbnails (internal/thumb, thumbnail_flow.go), VMPage/CreateWizard layout polish, and docs/ui-audit.md
- Update docs/roadmap.md for M5.5, M5.6, and M5.9
2026-11-28 10:17:54 -07:00
NwflowerandClaude Opus 5.5 9e4bc98c7d feat(settings): rebuild VM settings as an interactive System Settings-style panel
- Merge 10 categories into 6 (General, CPU & Memory, Graphics & Displays,
  Storage & Network, Input & Audio, Advanced) with coloured nav icons
- New ui/settings.tsx primitives: row shell, switch, segmented control with
  sliding highlight, slider + number field with recommended/risky zones,
  option cards with screen-shape previews
- Host-aware CPU/memory recommendations (recommendedCPUs, memorySafeLimitGB)
- Rows explain why they are disabled (graphics while running, SSH without
  network, controller with installer attached, GPU under VMware SVGA)
- Per-row change marks and revert, per-category change counts, footer
  summary, Revert all, Ctrl+S; Save disabled with no changes
- Validation issues attach to their row and jump to its page; inline check
  for custom resolutions
- Fix duplicate resolution label/input

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:53:05 -07:00
Nwflower 105ca9c88e feat(v0.2.2): add Guest Tools 2.0, WebDAV share, HiDPI presets, tray, and resource bar 2026-11-28 09:40:41 -07:00
NwflowerandClaude Opus 5.5 3f8cf11d3d feat: offline install flow, installer page, commit-memory checks (v0.2)
- New VMs default to an offline installer of one exact release
  (`reims-ctl create --macos <ver> --offline --network false`); the wizard
  lists Apple's releases, marks downloaded ones and warns when space is short.
- Offline VMs get an install guide with the install-macos.sh command and a
  "Finish install" action that ejects the installer and turns the network on
  (FinishInstall; pending until the next start on a running VM).
- Installers page (roadmap M2.2): downloaded installers with resume/delete,
  Apple's releases with download, progress and pause, space check first.
- Commit memory: the host report carries Windows' commit limit and available
  commit; create/settings refuse memory over the limit, start refuses memory
  that can't be committed now with a clear message, and the wizard, settings
  and first launch show a recommended size (16G failed with 14.7 GiB free).
- First launch shows a host check (WHPX with enable, Vulkan GPU, memory)
  before the runtime install.
- Create validation rejects a VM name that already exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 05:09:50 -07:00
NwflowerandClaude Opus 5.5 404090d8ed feat: graphical review step in the new-VM wizard
Step 5 used to show only a pass/fail line and the raw reims-ctl
command. It now shows a summary grouped by wizard step, each with an
Edit link back to that step. Validation issues are mapped to their
step: the group is highlighted, the step tab gets a marker, and
re-validation keeps running while the user edits. The equivalent
command is folded away with a copy button.

Create now closes the wizard right away and runs in the background;
progress stays in the status bar. A failure toast offers "Edit and
retry", which reopens the wizard with the same answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:57:55 -07:00
NwflowerandClaude Opus 5.5 4bea654736 feat: add Wails desktop GUI and stage-0 UI redesign
Wails shell over the existing Go core (app.go, main.go, wails.json,
build/), with a React frontend for the VM list, VM detail, host page,
create wizard and settings, plus process helpers for the driver and
runtime packages.

UI redesign stage 0 (docs/ui-redesign.md):
- VM actions live in the page header: one primary action per state,
  icon-only secondary actions with tooltips, the rest in a "..." menu
- install guide is a single card with the only "eject installer" button
- summary is an icon + value row; paths, ICD, CPU model and runtime hash
  moved to a collapsed "technical details" section
- logs no longer auto-open; a status bar shows merged download progress
  and an error count; the log view sticks to the bottom
- busy states on actions, toasts for results, custom delete dialog with
  "keep disk files"
- design tokens, Windows font stack, integer type scale, no inline styles
- keyboard: sidebar listbox navigation, focus rings, Ctrl+N / Ctrl+, / Ctrl+L
- copy rewritten per the restraint rules in §4.5
- Radix primitives and lucide icons replace hand-rolled widgets

Backend: OpenVMFolder binding to show a VM's directory in Explorer.
Docs: shell-design.md revised for decisions D1 and D4.
Vite dev server pinned to 127.0.0.1 so `wails dev` can reach it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:09:39 -07:00