* 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
- refuse a symlinked or non-file manifest.json before any object is written
(craft-pcraft-bundle only refuses it when it publishes the manifest)
- a directory save reports craft-pcraft-bundle's Io errors as I/O, not as a
corrupt bundle (a locked manifest said "corrupt .pcraft bundle")
- a full_composite member naming another entry refuses the bundle, as
craft-pcraft-format already does for thumbnail and composite
- the permission tests make the tiles/blobs/composite folders they restrict;
an empty document's save no longer creates them
Co-Authored-By: Claude Opus 5.5 <[email protected]>
remember_panel_state ran format! for each of the 7 panel stamp ids every frame. Build them once in a LazyLock from the same strings, so the persisted stamps keep their ids, and test that the cached ids equal the format!-based ones.
* Count tool: Marker Size and Label Size alert when typed out of range (#11768)
A value typed past 1..10 (Marker Size) or 8..72 (Label Size) becomes the
closest one, and leaving the field opens the reference's alert: "An integer
between 1 and 10 is required. Closest value inserted." (8 and 72 for Label
Size). The fields take digits only, so "2.6" reads as 26. One typed entry
is one History step; scrubs and arrow steps keep theirs.
* Count tool: an IME commit into a size field drops . and , too (#11768)
The size fields dropped decimal points from typed and pasted text only, so
"2.6" committed by an IME reached the parser and stored 3, not 10.
File > Automate > Lens Correction now converts a Grayscale 8-bit scratch
document to RGB before the correction, so every File Type writes RGB 8-bit,
as the reference application does. RGB 8/16-bit, Grayscale 16-bit and CMYK
sources keep today's mode and depth.
Only DNG samples are lifted to the saturation plateau again, as before the
craft-raw migration. The testgen fixtures write what cameras write (Model in
IFD0, bit-packed deflate, word-aligned RAF rows, rotated RW2 fields), and the
tests follow craft-raw's behaviour: float DNG data, crop clipping, opcodes
handed to development, measured NEF layouts, RGGB Bayer RAF. Tests of
retired behaviour are removed; the ORF cut-in-IFD0 guard is kept ignored.
craft-libs' bundle reader returns Error::Zip(EntryTooLarge) for a member past its read bound; map it through zip::map_read_error so it surfaces as LimitExceeded, not Corrupt. The directory cleanup test now creates tiles/ and blobs/ itself, since an empty document's save no longer makes them.