cadcraft/docs
Logan Night 5fd23f75fc
Command line: a bare system variable name runs SETVAR on it (part of U10) (#799)
* Command line: a bare system variable name runs SETVAR on it (part of U10)

Typing ORTHOMODE, PICKADD and the like at the command line returned
"unknown command". Session::start now falls back to SETVAR with the name
already entered when the text is not a command but is a known variable;
dash, dot and underscore prefixes never mean a variable, and real
commands still win. Read-only variables print their value, and the
transparent form ('OSMODE) resumes the interrupted command.

Checked: fmt, clippy, test, assets, layers and wasm pass; also driven
through the control channel in the running app.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Tests: every variable name, command collisions and hostile input for bare SETVAR

Covers each variable SETVAR lists: a name that is not a command starts SETVAR
(or prints a read-only value), a name that is also a command keeps the command,
and odd input (lone apostrophes, NUL, wide characters, a 1 MiB name) never
panics and leaves the session usable. Disabling the fix makes all three new
and old tests fail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-13 04:46:00 -04:00
..
brand M0: CADCraft skeleton and vertical slice 2026-10-05 23:22:25 -04:00
images README screenshots, alpha/parity assessment in ROADMAP, MLEADER written to DXF as LEADER + MTEXT 2026-10-06 02:12:34 -04:00
architecture.md Add German (de) interface language (#573) 2026-10-11 14:36:40 -04:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#3) 2026-10-07 21:16:30 -04:00
control-protocol.md docs: clarify engine commands in control protocol (#845) (#873) 2026-10-13 04:38:29 -04:00
file-format-parity.md Xdata travels with its object: COPY, MIRROR, ARRAY and paste keep it (#890) 2026-10-13 04:38:34 -04:00
gaps.md Command line: a bare system variable name runs SETVAR on it (part of U10) (#799) 2026-10-13 04:46:00 -04:00
geometry-parity.md TRIM: a pick after a closed polyline's last cut keeps only the complementary run (#726) (#771) 2026-10-13 04:34:46 -04:00
hardware-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#205) 2026-10-10 14:13:04 -04:00
localization-parity.md i18n(pt-BR): complete the Brazilian Portuguese catalog (#791) 2026-10-13 04:45:43 -04:00
localization.md i18n(pt-BR): complete the Brazilian Portuguese catalog (#791) 2026-10-13 04:45:43 -04:00
mcp.md cadcraft-cli mcp: --lazy and --launch for clients that start before the app (#756) 2026-10-13 04:34:14 -04:00
parity-checklist.md MLEADEREDIT, MLEADERALIGN, MLEADERCOLLECT (#816) 2026-10-13 04:37:26 -04:00
plot-styles.md Plot styles: apply line end, join and fill styles (part of #564) (#566) 2026-10-11 13:13:32 -04:00
plotters.md Plotting: honor model-space center and X/Y offsets (#751) 2026-10-13 04:34:04 -04:00
releasing.md Release prep: 0.5.0 and Linux riscv64 release build (#423) 2026-10-10 19:15:06 -04:00
roadmap.md docs: refresh gaps.md and parity docs for landed features (#625) 2026-10-11 20:11:37 -04:00
target-app-parity.md Hatch and Gradient dialog (create and edit) (#753) 2026-10-13 04:34:09 -04:00
ui-parity.md Hatch and Gradient dialog (create and edit) (#753) 2026-10-13 04:34:09 -04:00