Commit Graph
4639 Commits
Author SHA1 Message Date
aiongg bfaf39780b test(engine): a background job applies to the layer and channels it started on (#7366)
Replaces the ui-egui window test, whose order depended on wall time, with an engine test:
the job's result is applied only by poll_jobs/wait_job on the session's thread, so a
select_layer after start always comes first.
2026-11-18 15:12:05 +00:00
FredApps faf4398de2 test(paste): align board clipping expectation with base-aware copy
Apply only the edit_cmds/tests.rs subset of FredApps commit 955cf65ae2 (#15596). The ActionList subset was integrated separately. Merged #9833 releases a copied group when its external clipping base is omitted; retain both populated and empty destination-board assertions.

Source independently reviewed; original #10538 author accepted this correction. No production behavior or test suppression.
2026-11-18 07:50:30 -05:00
FredApps 35cfb1c6d8 test(actions): adapt conditional tests to ActionStep API
Apply only the actions_edit_cmds.rs portion of FredApps commit 955cf65ae2 (PR #15596). Preserve predicate/replay/layer assertions; unrelated clipping expectation change is not included.
2026-11-18 07:03:31 -05:00
aiongg 8bc1e51260 Merge storytold main into main-gate-fixes 2026-11-18 11:06:37 +00:00
NetterSilver 5718a98c1f Record actions.conditional as one step with its predicate (#7583)
Fixes #7238.

`replayable` now also accepts `actions.conditional`, so a Conditional is recorded with its predicate instead of the branch that happened to play (or nothing). Playback then evaluates the condition again on the current document.
2026-11-18 16:43:03 +07:00
FredApps 9d57ea4b1c Merge pull request #15095 from yoriswind/codex/define-brush-visible-source-14271
Define brush presets from the visible document composite
2026-11-18 16:28:32 +07:00
FredApps 156b4f7e25 Merge pull request #11173 from hnoerenberg/fix/xmp-rdf-end-tag-flex-11116
fix(xmp): File Info keeps packets with a spaced or re-prefixed RDF end tag (#11116)
2026-11-18 16:24:44 +07:00
FredApps fef4f82e26 Merge pull request #9858 from NaufalDzz/convert-layers-knockout-isolation
Convert to Layers keeps a knockout layer isolated in a group (#9753)
2026-11-18 16:24:19 +07:00
FredApps cac9512877 Merge pull request #9833 from NaufalDzz/paste-release-orphan-clip
Copy releases a clipped layer copied without its base (#9736)
2026-11-18 16:23:53 +07:00
FredApps 68f3d9db8c Merge pull request #10570 from yoriswind/codex/layer-comp-capture
Skip unused property capture in Layer Comp updates
2026-11-18 16:23:28 +07:00
FredApps 8d0fcb1b29 Merge pull request #10306 from Lcoding15/fix/select-all-active-artboard
Select: All selects the active artboard (#10258)
2026-11-18 16:23:04 +07:00
aiongg f698beef33 Prefs: the settings store options and read_saved are desktop-only, as craft-settings' store is 2026-11-17 17:46:50 +00:00
David Mann 01a5b5a389 Merge pull request #15381 from davidmann4/perf/test-speed-quick-wins
Test speed: no font scan in test processes, CMYK profile once, raw-develop at one depth (#15377)
2026-11-17 16:49:07 +01:00
aiongg ed14e1c413 PhotoCraft on the craft UI framework (#15449)
PhotoCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (next branch): shell, dock and panels, hosted dialogs, keyboard, focus, IME and pointer routing, the canvas's view commands, themes and tokens. The engine, document model, file formats, commands and automation stay. PhotoCraft pins storytold/craft-libs next.
2026-11-17 10:41:35 -05:00
Dylan M. Taylor 2163bd45af security(doc): resolve slice visibility in one sweep, cap resolved slice count (#10959) 2026-11-16 21:59:41 -05:00
David MannandClaude Opus 5.5 484483b691 test: build the CMYK test profile once, run large raw-develop sizes at one depth
- cmyk_flatten_profile: synthesise the test profile once per process and
  share one Arc, so CmykSpace's per-allocation cache builds the transforms
  once; exact() reads both rows from one run (4 documents, not 8).
- camera_raw GPU tests: the 858x572 and 1600x900 comparisons run at one
  depth each. The depth only changes the input quantization (8 and 16 bits
  both develop with float = false) and every depth runs at 171x113 above.
- cols_timing is a benchmark without assertions: ignore it like its
  siblings.
- compose: delete clipped_dissolve_is_binary_and_preserves_the_base_shape,
  a byte-identical copy of clipped_dissolve_opacity_fill_is_binary_and_
  preserves_base_shape (whose doc comment names both issues).

Part of #15376.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 02:03:03 +01:00
hnoerenberg f11647cce3 fix(file-info): resolve a namespace prefix in the innermost scope first
rdf_end_scan searched the open scopes with iter().rev().flatten().rev(), which reverses the flattened list a second time, so an outer declaration won over an inner rebinding. An ancestor binding rdf to the RDF namespace then hid an inner xmlns:rdf="urn:other": the inserted rdf:Description landed in the foreign namespace, and a shadowed </r:RDF> could be taken for the RDF end tag. Search the scopes innermost first.

A parsed-XML regression covers an ancestor binding with an inner rebinding at the insertion point, and a shadowed closing tag in a later element.
2026-11-16 17:27:19 +01:00
FredApps a94e84dd8d text: take the TySh envelope from craft-psd (#778)
parse_tysh/write_tysh/translate_tysh/transform_is_safe become adapters over
craft_psd::text::envelope (extracted from here in craft-libs#1594); only the
Affine <-> [f64; 6] mapping stays. write_tysh/build_tysh return Option: a block
the shared writer refuses (unsafe transform, non-finite bounds, > 8 MiB) is not
written, and export falls back to pixels with its existing warning. craft-psd
re-pinned to craft-libs main eafb50af (additions only in crates/psd).
2026-11-16 12:35:11 +01:00
FredApps d53b5edb60 Merge pull request #11566 from hnoerenberg/fix/gaussian-blur-edge-parity-11528
test(algo): pin the Gaussian blur edge profile and its ATN identity
2026-11-16 11:57:45 +01:00
yoriswind f95c65faa5 Restore accepted brush sampling and fallible outside stroke accumulation 2026-11-16 02:51:23 -08:00
hnoerenberg d98386f43b test(engine): import craft_psd in the gaussian edge profile test
The shared PSD crate is craft_psd now. The test still imported photocraft_psd, so the engine test target did not compile on a merge with current main.
2026-11-16 08:25:49 +01:00
FredApps e8531bbfd9 Merge main into codex/raw-adapter-safety
Keep main's newer craft-psd (2284a6bf) and craft-cms (c6eb84d4) pins;
keep this branch's unified fe6b443a pins elsewhere (newer than main's
ad8faa1c). Cargo.lock regenerated from main's lock.
2026-11-16 07:04:22 +01:00
yoriswind c0cc41e7e1 Merge current main into fallible Define Brush compositor repair 2026-11-15 21:35:43 -08:00
yoriswind 5fccd6347b Make compositor RGBA band buffers fallible 2026-11-15 20:05:39 -08:00
Yoris Wind a1f16fb1bb Format brush-density review files 2026-11-16 02:26:04 +00:00
Dylan M. Taylor 7980844cbc Merge pull request #15107 from storytold/cutover/shared-cube-writer
engine: cut CUBE serialization over to craft-cms
2026-11-15 20:07:38 -05:00
hnoerenberg 29d0068c08 Merge upstream/main into fix/gaussian-blur-edge-parity-11528 2026-11-16 01:31:39 +01:00
hnoerenberg 952741fe7a Merge upstream/main into fix/xmp-rdf-end-tag-flex-11116 2026-11-16 01:31:27 +01:00
yoriswind 436693c1fa Clarify compositor allocation test checkpoint 2026-11-15 16:12:14 -08:00
Codex WORK source candidate 785f38df56 Narrow visible-source change to issue 14271 2026-11-15 16:01:21 -08:00
Dylan M. Taylor 51e8a99bf0 Merge pull request #8455 from Higgs32584/fix/8272-delayload-prntvpt
Windows: PhotoCraft starts without prntvpt.dll (#8272)
2026-11-15 18:23:32 -05:00
Dylan M. Taylor 52093dffb5 Merge main shortcut and artboard regression fixes 2026-11-15 16:48:57 -05:00
Dylan M. Taylor c4be7f2a8e Merge main including corrected artboard order regression test 2026-11-15 12:18:51 -05:00
Private PhotoCraft integration preparation 71ca8ff764 Private integration candidate for #15095 on current main 2026-11-15 09:12:53 -08:00
Dylan M. Taylor a9785d7d3f Merge latest main preserving independent format cutovers 2026-11-15 11:59:23 -05:00
David Mann eea5859589 Merge pull request #15171 from davidmann4/fix/artboards-to-files-order-test-names
Artboards to Files order test: expect the new file names (#15170)
2026-11-15 17:43:21 +01:00
David Mann e17a1cc56b Merge pull request #14599 from TrevorBrown-dev/fix/artboard-from-group-label-14548
Layer > New: Artboard from Group without an ellipsis, as it opens no dialog (#14548)
2026-11-15 17:42:54 +01:00
Dylan M. Taylor e847761ce9 Integrate main while preserving SVG resource and RAW safety guards 2026-11-15 11:37:06 -05:00
David Mann 0362120fc4 Merge pull request #11674 from yoriswind/codex/actions-library-commands-10706
Add Clear All, Reset, and Replace Actions to the Classic panel
2026-11-15 16:53:01 +01:00
David Mann 42e9467bf9 Artboards to Files order test: expect the <prefix><name> file names (#15170)
#13641 renamed the exported files to <prefix><artboard name> with spaces
as hyphens; the order test from #13670 still expected the old
p_0000_Empty Board.png names and failed on main. Assert all three names
in top-first order.
2026-11-15 16:41:17 +01:00
Dylan M. Taylor dd768fcd7e Merge pull request #11433 from faseJade/refactor/one-base64
refactor: one base64 decoder, from the base64 crate
2026-11-15 10:29:01 -05:00
hnoerenberg 0b6c9d6700 Merge upstream/main into fix/gaussian-blur-edge-parity-11528 2026-11-15 16:27:43 +01:00
Dylan M. Taylor 0ef7dd7daf Merge main and pin merged shared CUBE writer 2026-11-15 10:13:55 -05:00
Dylan M. Taylor 9883bec6b2 Merge pull request #15098 from storytold/dot/photo-pctip
Preset store: replace local PCTIP1 codec with craft-libs
2026-11-15 10:11:27 -05:00
David Mann f7c78b2041 Merge pull request #15075 from RickiNano/fix/14593-duplicate-drops-selection
Image > Duplicate: the copy starts without a selection (#14593)
2026-11-15 16:07:24 +01:00
David Mann 4746ece134 Merge pull request #14627 from TrevorBrown-dev/fix/canvas-size-step-default-anchor-14544
Actions: a Canvas Size step without anchor keys plays back at the top left (#14544)
2026-11-15 16:05:26 +01:00
David Mann 9dcb58a5b4 Merge pull request #14591 from TrevorBrown-dev/fix/canvas-size-noop-history-14537
Canvas Size: an unchanged size adds no history step (#14537)
2026-11-15 16:05:14 +01:00
David Mann 7ab7189f8c Merge pull request #14564 from TrevorBrown-dev/fix/canvas-size-drops-selection-14539
Canvas Size: the selection is dropped, one undo brings it back (#14539)
2026-11-15 16:05:01 +01:00
David Mann f46e7b6c9c Merge pull request #14534 from TrevorBrown-dev/fix/rotate-canvas-drops-selection-14507
Rotate Canvas: the selection is dropped, one undo brings it back (#14507)
2026-11-15 16:04:48 +01:00
David Mann 9df0094e90 Merge pull request #14527 from TrevorBrown-dev/fix/apply-data-set-history-name-14498
Apply Data Set: the history state is named Apply Data Set (#14498)
2026-11-15 16:04:36 +01:00