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.
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.
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.
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 <[email protected]>
Co-authored-by: Slopapalooza <[email protected]>
Co-authored-by: Luminati <[email protected]>
Signed-off-by: FredApps <[email protected]>
- 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
- 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)
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.
The three format! calls in the Windows tests are string literals, which is
what clippy asks for there. The junction test passes mklink's arguments
separately and builds the link path with a real separator, so the junction
is created and the refusal is what the test checks. The link walk runs only
on Windows, and it refuses a link it cannot read and a chain longer than
the limit instead of handing either to canonicalize. The MCP notes say a
UNC path needs the same server and share, a device path the same device,
and a verbatim path the same prefix.
The reply carried the table summary (kind, style count, inDrawing, builtin) next to the edit.
#3011 asks for only the changed style, so `set` now replies with the table's name and what the
call changed: the edited `style`, the `removedStyle` name and the `description`, each only when
given. The test checks that nothing else is in the reply.
find_text only knew `contains`; a call with `query` was accepted and the filter silently
dropped, so every text came back. The texts command now reads `query` as `contains` (contains
wins when both are given), and the tool schema and docs list it.
stylesmanager `set` replied with the whole table (255 styles, about 25 kB for a .ctb). It now
replies like `new` and `load` do, with the table summary, plus the edited `style` and the
`removedStyle` name when given.
About > Contributors still showed an old snapshot, because nothing
regenerated contributors/contributors.json before a release. Opt in to
the shared refresh from craft-common-actions: a read-only credits job
regenerates the snapshot for the release commit, and the shared release
workflow installs it before every source build. The snapshot is not
committed back.
A UNC, device or non-disk verbatim path was canonicalized before the roots
refused it, so on Windows the machine contacted a host the agent chose.
Those prefixes are refused first, unless a root is already on the same
server and share. A link that leads to one is refused from the link's text,
including when the link is only an ancestor of the name. The Windows tests
drop the borrows clippy rejects, and cover a junction, an alternate stream
and a Kelvin-sign name. The command walk also notices a new file when the
folder's modification time has not moved.
Keep the checked grid ranges and view-twist rendering from main, with the UCS snap frame and UCS axes applied on top. Preserve the extreme-view regression test.