File > Open refuses an RTF file that ends inside a group as damaged
instead of opening the text read before the end; File > Place still
places that text. Binary data and bytes after the document's closing
brace are skipped, as the reader skips them.
Text Import Options for a file File > Open asks about now waits while
any dialog is open, as Missing Fonts does, so the two never show at
once.
The File > Open filter test uses the extensions and formats this build
reads, so it holds where no DWG decoder is built in.
Every craft-libs rev moves from 4f3e34d0dd, the head of craft-libs#5489, to craft-libs main.
The egui and winit revs are the ones that craft-libs rev pins, unchanged.
- Opacity fields (Control bar, Color Wheel, Gradient) show the stored fraction times 100 again.
craft-libs#5466 makes the number field step on from a value such as 50.999999 %, so
panels::shown_percent is removed.
- The Blend Options Ramp and Shift sliders, the Image Trace rows and the Divider field use
SliderField::edit_target (craft-libs#5024) in place of the id-salt workarounds. A value typed
for one object and not yet committed is still dropped when another is selected.
- CDR import: craft-libs now reads bitmaps as their own object kind. They are not placed; the
warnings name them with the other objects not read, and a PowerClip frame that clips only a
bitmap is named as a frame that opened empty.
The clip-outline check behind `pathItems.removeAll()` measured each
subpath by its signed area. The loops of a figure eight turn opposite
ways and cancel, so the check treated the outline as enclosing nothing,
although both fill rules fill it. A subpath whose signed area is within
roundoff of zero is now measured by the area it fills under nonzero.
A subpath whose points all lie on one line still encloses nothing.
A .txt, .rtf, .docx or .doc file that starts with a PDF header (%PDF-
and a version such as 1.7) or an Affinity signature opens as that
format again, as it did before File > Open read text documents, and
File > Open asks no Text Import Options for it. A plain text note that
only starts with "%PDF" or "<svg" still opens as text.
Docs: docs/mcp.md (open_file), open_file's description.
With an add-on dialog previewing (Arrange in Grid, for example),
File > Place ran inside the preview's interaction, because every
`file.*` command other than `file.documentColorMode` was treated as one
that reads the drawing on show. The placed art went into the preview
document with no undo step of its own, and Cancel removed it.
`file.place` now runs on the document without the preview, as other
edits do: it records its own undo step and stays after Cancel and OK.
Save, Export, Copy and the other `file.*` commands still act on the
drawing as the preview shows it.
Docs: docs/mcp.md (undo/redo row).
Since #10882 a canceled undo group, and a canceled undo scope that put
back an earlier snapshot, advance history_restores, which every edit
target that reads rollbacks also hashes. They no longer advance
rollbacks as well, and the two engine tests for that are removed;
history_mem.rs covers the count.
The Corner Radius tests now cancel an interaction whose preview drew
the shape, which only rollbacks counts, so they still fail without
rollbacks in corner_target.
Remove Anchor Points mapped each subpath's next anchor to the path as
drawn with `LiveCorners::drawn_anchor`, which counted the anchors of
every earlier subpath again for each one. `LiveCorners::drawn_anchors`
maps the whole set while walking the subpaths once.
The docs now say that Remove Anchor Points selects the next anchor of
the uncut outline, which can be an anchor added on a side as well as a
corner.
Adding an anchor on a side of a path with rounded Live Corners moved
each selected anchor to every anchor of its corner. The ends of a
selected segment are selected anchors, so a selected side also selected
the far ends of the arcs at its two corners, and an arrow-key nudge
then moved those anchors too. The ends of selected segments now follow
the segments instead: after the addition, only the ends of the
segments as drawn are selected. Anchors selected on their own still
select their whole corner.
A plain path no longer builds its corner layout for Add Anchor Point,
Delete Anchor Point or Remove Anchor Points before falling back to the
plain edit, and Add Anchor Point builds it once for the cut check and
the selection. The selected segments are matched to the new layout
through one lookup per subpath instead of a scan for each segment.
docs/mcp.md and the Live Corners entry in docs/target-app-parity.md
now say that removing anchors clears the path's selected anchors and
segments, and that Remove Anchor Points selects the anchor before the
removed one at an open path's end.