The io error stays typed until the notes import decides: a pixel
allocation failure (IoError::OutOfMemory) and the PSD memory refusals go
through io_open_error as File > Open reports them; only other failures
become "No notes were imported.".
A readable file without notes, and one the import cannot read as a notes
source (not an image, damaged, truncated), now fail with Photoshop's
"No notes were imported." instead of "<file> has no notes" or the
decoder's text. No history step, document unmodified. A file that cannot
be read at all keeps its "<file>: <why>" error, and a memory refusal
keeps its own message.
file.new leaves a Lab document untagged, so the profile-unchanged check
compared None with None. Tag it with Lab D50 first, so a refusal that
cleared the profile would fail.
edit.assignProfile now has its own enabled check: disabled with no
document and for Lab, Bitmap and Multichannel documents, so the menu item
is greyed and a scripted run fails with "not available in <mode> mode".
RGB, CMYK, Grayscale, Indexed and Duotone (not measured) keep today's
behaviour, and Convert to Profile keeps has_doc, so it stays enabled for Lab.
The convert_profile_options helper no longer assigns lab-d50 to its Lab
document, which is now refused.
Fixes#14238
Picks up main's CI fixes (#14595), so CI runs on a green base.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Model-Effort: Opus 5.5 driver, no subagent
Picks up main's CI fixes (#14595), so CI runs on a green base.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Model-Effort: Opus 5.5 driver, no subagent
* Use selected stroke for open pen shapes
* Update captured open pen stroke expectation
* Pen: say what an open shape's stroke takes in its comments
---------
Co-authored-by: FredApps <[email protected]>
* io: assert the embedded-SVG depth boundary is blank
The deepest-chain test treated any Ok raster as an accepted chain. At MAX_EMBEDDED_SVG_DEPTH + 1 the bounded non-strict path intentionally omits the image and returns a transparent canvas, so the test asserted the opposite of the documented behavior. Check that the over-limit image is blank instead.
* automation: pin hardlink write-over behavior
A hardlink inside a granted root shares the inode of its other name, so reads can see that content. Document that a write-over atomically replaces the directory entry inside the root and leaves the other name untouched, with a Unix regression test.
Brings in the translations merged to craft-i18n since the last pin.
The flatpak manifests name the same commit.
Co-authored-by: FredApps <[email protected]>
* chore: cut over remaining resvg and roxmltree usages to craft-svg and craft-xml
* Cut over remaining photocraft-io TIFF tests, rawinfo example, and move exr to dev-dependencies
* chore: remove unused zune-jpeg workspace dependency
* style: cargo fmt
The toolbar's slots, their order and which tools share a slot now come from
a stored layout (toolbar groups plus Extra Tools groups) instead of the fixed
TOOL_SECTIONS list.
- Engine: ToolbarCustomization gets optional `toolbar` and `extras` group
lists and `layout()`, which resolves names through shell_commands::TOOLS
(unknown names skipped, a repeat keeps its first place, unlisted tools
appended to the extras, hidden tools moved into the extras).
DEFAULT_TOOLBAR is today's slot order.
- edit.toolbar accepts and returns {"toolbar": [[..]], "extras": [[..]]};
reset restores the default layout.
- The toolbar draws one slot per toolbar group; Shift+letter cycles a key's
tools in layout order across slots.
Tests: crates/ui-egui/src/toolbar_custom_group_layout_tests.rs.