Commit Graph
4405 Commits
Author SHA1 Message Date
Dylan M. Taylor 6297515031 chore: cut over remaining resvg and roxmltree usages to craft-svg and craft-xml (#14320)
* 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
2026-11-14 13:49:42 -05:00
RickiNano c65e70d87a Lens Correction batch: a Grayscale 8-bit source comes out RGB 8-bit (#13990) (#14026)
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.
2026-11-14 14:31:45 +01:00
FredApps b044610e5d Merge pull request #4931 from FredApps/docs/canvas-rotation-4911
Add 15-degree rotate-left/right canvas shortcuts
2026-11-14 12:16:43 +01:00
FredApps 59c82a73ce Merge pull request #3597 from FredApps/feat/3592-multi-layer-transform
Free Transform several selected layers together (#3592)
2026-11-14 12:16:38 +01:00
Dylan M. Taylor 3636faa008 io, engine: respect forced Open As extension before magic-byte sniffing 2026-11-14 05:25:02 +00:00
Dylan M. Taylor 13fe2864af Fix CI formatting, clippy, scorecard, and format routing regressions 2026-11-14 04:52:59 +00:00
Dylan M. Taylor b0e0bcc6c4 Merge pull request #14236 from storytold/codex/photocraft-format-migration
Move remaining file formats and codecs to craft-libs (#778)
2026-11-13 23:03:16 -05:00
Dylan M. Taylor cf73e749c4 Merge pull request #14220 from storytold/photocraft-craftlibs
Migrate CMS, Affinity, KRA/ORA/XCF/PDN, and SVG formats to craft-libs (#778)
2026-11-13 22:13:00 -05:00
David Mann f143ce5849 Merge pull request #14097 from TrevorBrown-dev/fix/open-as-error-names-the-file-14049
Open As: an error names the file that was chosen and the format asked for (#14049)
2026-11-14 01:54:10 +01:00
David Mann faa588f7d9 Merge pull request #13985 from RickiNano/feat/copyright-title-13821
File Info: a Copyrighted document shows © before its name in the tab and window title (#13821)
2026-11-14 01:39:31 +01:00
David Mann 31fdfd2afa Merge pull request #14083 from ljkx/fix/14029-new-document-history-state
New Document: the first History state is New, not Open (#14029)
2026-11-14 01:39:15 +01:00
David Mann 1289610209 Merge pull request #14068 from RickiNano/feat/13771-paths-export-document-bounds
Export Paths to File: Document Bounds writes the frame alone (#13771)
2026-11-14 01:38:26 +01:00
David Mann eb174cf122 Merge pull request #14007 from Bobderto/codex/13889-image-processor-formats
Export JPEG, PSD, and TIFF in one Image Processor run
2026-11-14 01:38:13 +01:00
David Mann 6a210ccc4d Merge pull request #13733 from SBaksa/photomerge-open-docs
Photomerge: merging the open documents no longer scans the dialog's folder (#13580)
2026-11-14 01:37:59 +01:00
David Mann 636a543f2b Merge pull request #14039 from RickiNano/fix/13996-load-stack-untitled
Load Files into Stack: the stack opens as an unsaved Untitled-N document (#13996)
2026-11-14 01:37:44 +01:00
David Mann 7ce248efe7 Merge pull request #13892 from ljkx/contact-sheet-subfolders
Contact Sheet II: Include Subfolders and Group Images by Folder (#13687)
2026-11-14 01:37:30 +01:00
David Mann 0e44fef401 Merge pull request #13286 from RickiNano/fix/direct-select-delete-key-13203
Direct Selection: Delete removes the selected anchor, segment or targeted path, not the layer (#13203)
2026-11-14 01:36:49 +01:00
Dylan M. Taylor 8c7544ed2a Use craft-affinity from craft-libs; remove crates/affinity 2026-11-14 00:16:50 +00:00
Dylan M. Taylor 0eecd8636c engine/ui: update clone_sampling and tests to use craft-cms 2026-11-14 00:10:12 +00:00
Dylan M. Taylor 040962a5b4 Merge photo-cms-port: use craft-cms and remove crates/cms (#13393) 2026-11-14 00:02:22 +00:00
RickiNano f876d52647 File Info: read and remove xmpRights:Marked only as an attribute inside a tag (#13821) 2026-11-14 00:24:35 +01:00
Trevor BrownandClaude Opus 5.5 8548a84fa9 Open As: the format check takes the importer's camera raw and Affinity lists
A copied list had left out 3fr and fff (photocraft_io::raw::EXTENSIONS), so as: "3fr" was refused as a parameter. The check now reads photocraft_io::raw::EXTENSIONS and photocraft_io::affinity::EXTENSIONS, with a test over every entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 18:13:04 -05:00
Trevor BrownandClaude Sonnet 5.5 f41a952236 Open As: an error names the file that was chosen and the format asked for (#14049)
Open As built `<stem>.<as>` to pick the decoder and also put that made-up name
into the error, so notes.txt opened as pcx failed as "notes.pcx: ...". The
decoder name is unchanged; the error now names the real file and the format
asked for, keeping the decoder's detail: `"notes.txt" could not be opened as
PCX: codec: unrecognized image format`. The batch RAW path names the real file
too. An `as` value that names no format PhotoCraft reads is a BadParams error
naming the value, before any decode.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 18:06:52 -05:00
ljkx 573520d9ca New Document: the first History state is New, not Open (#14029)
file.new renames the new document's opening History state to New, as the
reference application does; opened files keep Open. The History panel icon
and the History Brush hint recognise New as the opening state too.
2026-11-13 23:39:14 +01:00
ljkx 10f25a89aa Contact Sheet II subfolders tests: the cleanup guard exists before the fixture is written 2026-11-13 23:20:38 +01:00
RickiNano 3353c5de09 File Info: changing the status removes every xmpRights:Marked attribute form it reads (#13821) 2026-11-13 23:10:57 +01:00
RickiNano 7d55fb6e86 Paths export: declare the Document Bounds tests apart from sibling test modules (#13771) 2026-11-13 23:05:10 +01:00
RickiNano 7d7c693683 Export Paths to File: Document Bounds writes the frame alone (#13771)
file.export.pathsToIllustrator takes paths "documentBounds": the file
frame with the canvas in points as bounding box and no path block,
reply paths: 0. The menu entry is enabled for every open document,
with or without paths. The dialog's dropdown starts with Document
Bounds and, in a document without paths, holds only it, selected.
2026-11-13 23:04:40 +01:00
RickiNano 33e79c923a Merge remote-tracking branch 'origin/main' into fix/13996-load-stack-untitled 2026-11-13 22:57:32 +01:00
RickiNano dc27d35ef4 Merge remote-tracking branch 'origin/main' into merge/13286-main
# Conflicts:
#	crates/ui-egui/src/tools/direct_select.rs
2026-11-13 22:53:55 +01:00
David Mann 85ff41e7da Merge pull request #13974 from RickiNano/fix/13920-import-data-sets-needs-variables
Import Data Sets: greyed until the active document has a variable (#13920)
2026-11-13 22:49:32 +01:00
Dan dce028bf87 Merge remote-tracking branch 'origin/main' into codex/13889-image-processor-formats
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
2026-11-13 21:17:07 +00:00
David Mann 7689e7bd4d Merge pull request #13936 from RickiNano/fix/frame-content-name-13862
Frame tool: name a frame made around a layer "<layer> Frame" (#13862)
2026-11-13 22:15:55 +01:00
David Mann 5d04c8c772 Merge pull request #13852 from RickiNano/feat/fade-all-blend-modes-13806
Fade: all 27 blend modes in groups, greyed by colour mode and depth (#13806)
2026-11-13 22:15:20 +01:00
David Mann 98793076d1 Merge pull request #13844 from RickiNano/fix/atn-fade-step-defaults-13816
Actions: a recorded Fade step without settings plays as 100 % Normal (#13816)
2026-11-13 22:14:55 +01:00
David Mann 8c793675b2 Merge pull request #13944 from qvest-ssels/fix/frame-tool-move-history-13880
Frame tool: moving an empty frame records Move
2026-11-13 22:14:43 +01:00
David Mann 3ad66527ec Merge pull request #13916 from Lcoding15/fix/png24-embed-icc
fix(export): PNG-24 embeds the profile only with Embed Color Profile on (#13798)
2026-11-13 22:13:56 +01:00
David Mann 94dd9b29a7 Merge pull request #13541 from RickiNano/fix/13205-direct-select-history-names
Direct Selection: name one-anchor and handle drags as in the reference (#13205)
2026-11-13 22:13:01 +01:00
RickiNano 8f3150039b Load Files into Stack: the stack opens as an unsaved Untitled-N document (#13996)
The document was named after the first file (a_base.png gave "a_base"),
which read as if that file had been opened. It now takes the first free
"Untitled-N" through the shared untitled_name helper and still has no
file path. The smart object made by Create Smart Object keeps the first
file's name, with and without Attempt to Automatically Align.
2026-11-13 22:08:38 +01:00
RickiNano 4030108d08 Delete Segment: refuse splits whose shape components aren't measured (#13606)
An open subpath split by path.deleteSegment gave the new half a copy of
its op, so an Intersect, Exclude or Subtract subpath folded in as two
components, a first subpath's stored op suddenly applied, and a Join
subpath after it moved to the other half's component. Until #13606
measures the reference, only splits where both readings agree go
ahead: a Combine subpath that is a component of its own, or a Join
subpath after the first. The rest return an error with no History
step; the Delete key shows it and keeps the layer.
2026-11-13 22:02:35 +01:00
RickiNano ddb4750bec File Info: read xmpRights:Marked attributes with either quote and any whitespace (#13821) 2026-11-13 21:57:10 +01:00
Dan 08451ffbd3 Propagate errors from export test helpers 2026-11-13 20:23:52 +00:00
Dan 11c77d2685 Add Image Processor format controls and output regressions 2026-11-13 20:17:48 +00:00
Dan 7b7dde38c1 Add per-format Image Processor output settings 2026-11-13 20:11:09 +00:00
RickiNano e80faf1345 Merge remote-tracking branch 'origin/main' into fix/13920-import-data-sets-needs-variables 2026-11-13 21:01:19 +01:00
FredApps 645b329095 Merge branch 'main' into docs/canvas-rotation-4911
# Conflicts:
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sr.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-13 20:55:58 +01:00
FredApps d6f8d06d8e Merge branch 'main' into feat/3592-multi-layer-transform
# Conflicts:
#	crates/ui-egui/src/tools/transform_tex.rs
2026-11-13 20:48:22 +01:00
RickiNano a7fa03df21 File Info: a Copyrighted document shows © before its name in the tab and window title (#13821) 2026-11-13 20:24:12 +01:00
RickiNano d14e2b2600 Import Data Sets: declare the #13920 test module after mod tests
Keeps this hunk apart from #13952's, which adds its module before `mod tests`.
2026-11-13 20:14:05 +01:00
RickiNano b3d52fc272 Import Data Sets: greyed until the active document has a variable (#13920)
File > Import > Variable Data Sets was enabled on any open document, so
importing into one without variables made data sets with no values.
Gate it on the active document defining at least one variable, as the
export counterparts already gate on data sets.
2026-11-13 20:08:57 +01:00