A grant whose path a link has since replaced is listed by script.grants
under the path it was kept for, but script.grants.revoke followed the
link and compared the link's target, so Revoke in Script File Access
removed nothing. A path is now matched as given and, inside the
automation read roots, also with its links followed.
A dialog left open for one document while another is active asked for the folder, and searched, for the active document.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Brings in main at 08425c9610 through #9090's merge of it. The hidden-member tests move to canvas/selection/tests.rs, where main now keeps the selection outline and anchor tests, and check the selection's outlines, anchors and hover outline directly.
Desktop builds call `Embed::tab_face()`, which embeds the Noto Sans
Condensed SemiBold row of the checkout's `fonts/latin-manifest.txt` with
the `tab` role. craft-ui draws semibold document tab titles in it, scaled
to the semibold face's x-height. The document font list leaves that face
out. Web builds and builds without the face draw tab titles in the
semibold face.
The craft-libs crates point at storytold/craft-libs#3545's head until it
merges.
`(d).write(s)` and `(d).length = 0` on a variable holding `new Folder(p)`
counted as file writes, while `d.write(s)` and `d.length = 0` did not.
Grouping parentheses now keep what the variable holds, so a Folder
variable in them is left out the same way. A variable that may hold a
File object still counts, and a grouped assignment (`x = (d)`) still
gives `x` a value that may be a File object.
Main's craft UI framework replaced the egui tab drawing this branch changed, so the merge keeps main's side of those files; the next commit draws tab titles through the framework's tab-title role.
Rows of side-by-side controls in the Gradient panel did not wrap, so the
panel's column grew wider than the panel and controls ran past its right
edge. Docked, the Type buttons, Repeats, the gradient slider and the
notice reached up to 10.5 pt past the panel in English and 13.9 pt in
French. At the narrowest panel width (220 pt), Method, Spread, Repeats,
Location and Delete Stop ran 23.5 to 100.5 pt past it.
- The header places the type buttons and Edit Gradient beside the
thumbnail, level with its top, or under it when the panel is too
narrow.
- The Type, Method and Spread rows wrap.
- The stop row wraps, and each caption stays with its field.
A wide panel draws every control where it did before.
The narrow-panel row tests compared each control with the floating
panel's body but never checked the body itself, so a body wider than
the requested width would let controls past the panel edge pass.
floated() now asserts the body is no wider than the width the float
asked for.
Integrate the verified immutable canonical baseline while retaining the existing consumer fix and all contributor history. Preserve upstream dependency inputs and documentation; runtime verification remains separate.
The owner a selected stop, freeform point or midpoint diamond is kept for
now records the active document's uid instead of its tab index. Dragging
the document's tab along the strip (document.move) changed the index, so
the selection was dropped and the Location field was disabled although the
gradient had not changed.
A file dialog's answer runs its continuation under the file-access
scope and automation flag of the request that opened the dialog. The
questions that follow a request did not keep them, and ran what OK
allows in the unconfined UI frame:
- the Replace question after a save picker names an existing file
(file_asks::ask_replace);
- the question whether a save or export may replace the files it
writes beside the one picked (confirm::ask_replace_files), also when
a Background Save or Export asks it after the request has ended;
- a confirmation whose OK runs a command (confirm::ask), such as the
question before a save loses data.
A save, export or open started by a request confined to its automation
roots could then reach files outside those roots once the person
answered OK, and it no longer ran as automation. Each question now
captures ScopeHandle::capture() and automation_asked() when it is
asked, and its OK runs under them, as a picker's answer does. A
background save or export captures them before it leaves the request.
An empty or blank `path` was treated as no path, so the command
returned `dataBase64` and wrote no file. It is now an error, and a
`path` left out still returns the file as `dataBase64`.
Find Font built its dialog without close_on_enter, so Enter in a field
did nothing; it now runs Done, as the Effect Gallery and Composite Fonts
dialogs do. Define Grid, Save Grid as Preset and the preset editor
turned enter_confirms off. The dialog routes Enter to its enabled
Accept button, which reports it as the pick of OK, so the held answer
is filed as a click files it: Enter defines the grid or saves the
preset, a refused name keeps the dialog open, and Enter does nothing
while OK is disabled.
A right-click turns one feature on or off, or resets them, through the same undo step as the checkbox and the panel menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Codex <codex@users.noreply.github.com>