405 Commits
Author SHA1 Message Date
FredApps 4c4d2690d4 Parity: headless column (RFC-0052) (#3602)
* Add the RFC-0052 headless column to the parity checklist

* AGENTS.md: keep a submenu headless mark until every leaf under it is covered
2026-11-28 00:01:28 +01:00
FredApps 1c45f0e307 Merge remote-tracking branch 'origin/main' into pr-3572
# Conflicts:
#	crates/engine/src/lisp/tests.rs
2026-11-27 20:06:58 +07:00
FredApps 1b48b22546 Merge pull request #3588 from 2ez4gcx/fix/control-preauth-bound
Bound what the control server reads before the token check (part of #1925, F-12)
2026-11-27 14:06:04 +01:00
2ez4gcxandClaude Opus 5.5 db0a4aca42 Bound what the control server reads before the token check (#1925)
The control server checks a request's token only after reading the whole
line, and clients send the token last, so a local peer without it could
make the app buffer a line of up to 256 MiB (512 MiB across connections).

Until a request on a connection has passed the token check, a request
line may be at most 64 KiB (control_token::MAX_UNAUTHENTICATED_LINE); a
longer one gets an error reply and the connection is closed. After that
the usual 256 MiB limit applies.

The MCP bridge sends a short ping with the token before a longer request
on a new connection, and sends the request only when the ping's reply
shows the token check passed; a refused or lost ping leaves the request
unsent and safe to retry. docs/control-protocol.md describes the limit.

Part of #1925 (F-12).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:09:23 +07:00
2ez4gcxandClaude Opus 5.5 7dfb39d3db LISP: gcd and atoi give a real past 32 bits instead of wrapping
`(gcd -2147483648 0)` gave 2147483647 (the divisor clamped to the
largest integer), and `atoi` cast its digits with `as i32`, so
"99999999999" gave 1215752191 and "99999999999999999999" gave 0.

They now follow what the reader, `fix` and JSON inputs already do with
a whole number that doesn't fit 32 bits: it is a real. `gcd` gives
2147483648.0 for its one such result; `atoi` gives the real `atof`
reads from the digits, the number the reader makes of them. Results
that fit are the same integers as before. Integer arithmetic still
wraps.

Part of #1933.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:47:43 +07:00
2ez4gcxandClaude Opus 5.5 ef42a37dcb LISP: an expression typed at a prompt gets a short step allowance
An expression typed at a command's prompt (CIRCLE, then `(while T)` as
the radius) is the prompt's answer, so it ran as a blocking run with the
500,000,000-step cap meant for programmatic calls: about 17 s on a dev
build with no frame drawn and Esc not handled.

It now runs through `lisp_eval_answer` with a 20,000,000-step cap, and
the callbacks it runs (`vl-sort`'s comparator and the other synchronous
callbacks) share what is left of that allowance instead of each taking
the 500,000,000-step callback allowance inside one step. The error says
the expression was stopped and to run long routines at Command:, where
they run a slice per frame and Esc stops them. Routines at Command:,
`c:` commands, APPLOAD, dropped files, the `lisp`/`appload` JSON calls
and startup files are unchanged.

Part of #1926 (item 3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:32:33 +07:00
FredApps b1340f0697 Merge main into docs/save-version (keep main's craft-dwg and acadrust 0.6.6 text; this PR's version-selection rules) 2026-11-26 20:48:14 +07:00
FredApps 7244d2bc96 Note QLEADER in the Leaders, tables, fields parity row
The command-line form lands in #2740 / #3532; the Settings dialog is still open.
Percentages and hours are not re-measured.
2026-11-26 05:30:16 +01:00
skylar taylor-barrick cad62242eb Switch on supervised nightlies on the nightly-signer branch (#3522)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 20:43:56 -06:00
Tanish Manku 966d12819b Merge pull request #3470 from storytold/stack/n3
Land #3373, #3290, #3105: download docs, paste spreadsheet text as a TABLE, Tamil
2026-11-24 21:12:49 -07:00
Tanish Manku 510b7da798 Parity docs: qualify the plot-settings and existing-tab claims 2026-11-24 20:53:03 -07:00
Tanish Manku 408927c8a8 Merge #3105: Add Tamil (ta) to the interface languages; pasted table cells keep backslashes and braces as text 2026-11-24 20:32:18 -07:00
Tanish Manku abacc4c360 Parity docs: rows updated for what merged from 2026-11-21 to 2026-11-25 2026-11-24 20:29:53 -07:00
Tanish Manku bd520db235 Merge #3375 again: the eight review fixes, and main 2026-11-24 19:27:03 -07:00
C00kieMonsta d7088aab34 Merge main into feat/pdf-import
main gave HatchLoop a boundary_flags field, so the gate's merge build
no longer compiles the PDF importer's loops.
2026-11-25 01:48:22 +00:00
Dylan M. Taylor 7e95cfc864 packaging(linux): support co-installable nightly packages (#3450)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 18:38:19 -06:00
Tanish Manku 6cc7e0c881 Parity documents stay as on main: the rows PDFIMPORT moves are named in the pull request 2026-11-23 12:36:31 -07:00
NewsBaba ca1cdfb91b Merge branch 'storytold:main' into main 2026-11-23 16:10:34 +05:30
C00kieMonsta d4fd0dd7a2 PDFIMPORT: a page of a PDF imports as editable lines, polylines, solid hatches and text
PDFIMPORT (File > Import PDF...) adds a chosen page to the current drawing,
with page, scale, insertion point, password and content options. OPEN and
IMPORT take a PDF too; OPEN reads its first page into a new metric drawing,
and cadcraft-cli convert writes it to DXF or DWG.

The mapping is adapted from PR #2787 (MIT OR Apache-2.0) onto craft-pdf's
interpreter. Nonzero fills whose contours don't cross keep their loops and
arcs; crossing contours are split into triangles so the filled area matches.
Content the import leaves out or approximates is named in the read notes,
and a page with no vector content is refused instead of opening empty.
2026-11-21 21:31:15 +01:00
Tanish Manku 50baa3cfae Parity docs: batch for the merges of 2026-11-19 and 2026-11-20, alpha-blocker marks follow the six-row gate 2026-11-20 16:32:11 -07:00
Tanish Manku 410c55aaee Stack r1: #2261: a pinned cap height below 1 unit is dropped, as the font's own never goes below 1 2026-11-20 08:16:34 -07:00
Tanish Manku 75cdbd49b4 Merge #2261: fonts: a substitute's text scales by the cap height the installation pins for it, not the substitute's own 2026-11-20 08:16:17 -07:00
Tanish Manku 0337decfec Merge remote-tracking branch 'origin/main' into stack/ucs 2026-11-20 03:36:56 -07:00
Tanish Manku b74b31dacf Merge main into stack/ucs
Conflicts in io/dxf_write/common.rs and sections.rs: the writer keeps the
used-handle set from #3304 and the paper-units marker from #3309 next to the
UCS tables and each layout's UCS.
2026-11-20 03:16:50 -07:00
Tanish Manku 624dbf16b9 Merge remote-tracking branch 'origin/main' into stack/t2 2026-11-20 02:57:19 -07:00
Tanish Manku a1d92d9952 Merge pull request #3308 from storytold/stack/u2
Interface stack: land #1279, #1452, #1867, #2443, #3077 (the interface can always be restored)
2026-11-20 02:37:13 -07:00
Tanish Manku 00cfafe3d5 Merge main into stack/t2
Conflicts in cmd/image.rs (the unsaved-drawing hint and the read check both
stay) and lisp/value.rs (work counting and the cell check both stay). The
handle reservation that #3304 added walks record slices, as the rest of
the reader does here.
2026-11-20 02:36:58 -07:00
Tanish Manku ecf231d02a Stack t2: a font read while the search's guards change is never returned, and the read-only MCP test cleans up after a failure
A font lookup that finds the folders or guards changed during its read now
searches again under the new ones (a few times at most) instead of returning a
font a new guard may refuse. The MCP read-only test works in a folder of its
own, removed also when it fails. docs/mcp.md says a refusal -WBLOCK reports at
its own prompt is only in output.
2026-11-20 01:45:03 -07:00
Tanish Manku 05d4e64ad2 Merge pull request #3298 from storytold/docs/roadmap-priorities
docs: alpha gate revised from user reports; priorities in three tiers
2026-11-20 01:04:02 -07:00
Tanish Manku 60233f87ff docs: gate criteria check object content; tier 3 items are carved out of the beta checklist 2026-11-19 19:13:56 -07:00
Dylan M. Taylor 23a599dcd6 Merge pull request #3026 from cdwilson127/fix/3011-mcp-find-text-query
MCP: find_text takes `query` as its filter; stylesmanager set replies with what changed
2026-11-19 19:44:39 -05:00
Tanish Manku fc992081a7 Merge remote-tracking branch 'pr/2794' into stack/t2
# Conflicts:
#	crates/engine/src/lisp/builtins/files.rs
2026-11-19 15:53:18 -07:00
Tanish Manku 4831f26ca6 docs: alpha gate revised from user reports; priorities in three tiers 2026-11-19 15:20:38 -07:00
Tanish Manku 6c9eedd7e1 Merge #2443 2026-11-19 15:17:16 -07:00
Tanish Manku 23962d68e2 UCS stack: leave parity docs to maintainers 2026-11-19 14:36:27 -07:00
Tanish Manku 61d0575611 Merge branch 'pr1547' into stack/ucs 2026-11-19 14:36:21 -07:00
Tanish Manku 7cb74443c4 Merge branch 'pr1533' into stack/ucs 2026-11-19 14:36:18 -07:00
a770fa5a5e Dimension Style Manager, -DIMSTYLE and dimension properties (#1460)
Adds the Dimension Style Manager: DIMSTYLE, D, DST, DDIM and both menu items open it, with the style list, a preview, Set Current, New, Modify, Override, Compare, Delete, Rename and the seven tabs. Also adds -DIMSTYLE and dimstyle.overrides; properties.describe and properties.set rows for text, mtext and dimensions in the Properties palette; and the dimension shortcut menu. Ported from #1042 (with #954, #994 and #1008), on top of this PR's dialog and its validation.

An open manager page is cancelled when another drawing becomes active (from #2322).

Fixes #1459, #1417, #1389.

Co-authored-by: eldrir <jamie@eldrir.com>
Co-authored-by: Slopapalooza <ai.slopapalooza@gmail.com>
Co-authored-by: Luminati <347279204+luminatiguy@users.noreply.github.com>
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 21:46:38 +07:00
CA b23d172885 LISP: entlast sees a routine's own edits; entmod keeps a block reference's attributes; HANDSEED is live (#2514)
- LISP: entlast sees a routine's own edits; entmod keeps INSERT attributes; HANDSEED is live
- lisp: drop a closed drawing's environment; keep entlast's order across property edits
- lisp: HANDSEED skips the handles the file's objects hold; hold the order in its cache test
2026-11-18 19:34:56 +07:00
Tyrel Haveman 11d66cc3cd AutoLISP: namedobjdict, dictsearch, dictnext, tblobjname; handent and entget of non-graphic objects (#1659, #1661) (#1802)
- lisp: namedobjdict, dictsearch, dictnext, tblobjname; handent and entget of non-graphic objects (#1659, #1661)
- lisp: tblobjname matches names as the roles spell them; records cache held by a weak drawing reference (#1659)
- lisp: CodeRabbit follow-ups on non-graphic objects (#1659, #1661)
- lisp: test an imported DIMSTYLE's group-105 handle (#1659, #1661)
- docs: a DIMSTYLE's own name is in group 105 (#1659)
- engine: install AutoLISP's object records with their own setter (#1659, #1661)
2026-11-18 18:04:56 +07:00
FredApps 0ebb256d33 Merge pull request #1855 from SBaksa/lisp-block-entities
AutoLISP: read block definitions: tblsearch BLOCK gives the first entity (-2), entnext and entget walk a block's entities (part of #1700)
2026-11-18 16:33:41 +07:00
NewsBaba 23abe2ed43 ta: record the native-speaker review
Radhika and Mohan Raj reviewed CADCraft's Tamil interface in the running
app on 2026-11-14. ATTRIBUTION.md and docs/localization.md say so instead
of listing the newer rows as unreviewed.
2026-11-16 08:35:11 +05:30
NewsBaba ecc0578661 Merge storytold/cadcraft main into the Tamil branch
Main gained the Polish catalog, Greek rows, and Additional Tools in place
of Express Tools.

- crates/fonts/build.rs, crates/fonts/src/craft_fonts.rs: keep main's
  backticked names and the Tamil `Taml` web face.
- crates/ui-egui/src/i18n.rs: LANGUAGES holds 21 and Preference::ALL 22,
  with both Polish and Tamil.
- ta.tsv: Express Tools becomes Additional Tools (கூடுதல் கருவிகள்), the
  label every European catalog now translates.
2026-11-16 03:33:33 +05:30
Adithya Shankaran 8cbade6ec3 Ask the guards about a font folder before listing it, and document command_line refusals separately 2026-11-15 10:46:23 +05:30
Adithya Shankaran e10109e20a Document that a reference outside the roots can load a same-named file beside the drawing 2026-11-15 00:24:24 +05:30
midasmatterhorn 4d1d85d298 fonts: say whose cap height CADCRAFT_CAP_HEIGHT takes 2026-11-14 17:13:41 +03:00
Adithya Shankaran cebfbebd20 Merge remote-tracking branch 'origin/main' into carry/1472-automation-roots 2026-11-14 18:21:12 +05:30
Adithya Shankaran 387a6e6b1e Check each font the search would open under the roots, and say what command_line returns on a refusal
The font search opened a candidate by name, so a link under a name the .shx filter missed (or a
Windows short name for one) was followed out of the roots. A drawing folder now carries a guard that
the search asks about every file before opening it; the roots supply it, and a link is judged by
where it leads. One font leading out no longer disables the others beside it. Documents that a
refusal inside command_line comes back in the reply's error field without isError, and adds doc
comments to the remaining functions the change touches.
2026-11-14 17:37:50 +05:30
SBaksa 8c2d67531c Merge branch 'ucs-core' into ucs-drafting 2026-11-14 15:41:58 +11:00
SBaksa 1d16bb8ba0 Merge remote-tracking branch 'origin/main' into ucs-core 2026-11-14 15:41:58 +11:00