Commit Graph
3096 Commits
Author SHA1 Message Date
vangel76andClaude Sonnet 5.5 a36bff6d3d Merge upstream/main into docs/parity-refresh-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-01 13:47:56 +01:00
Khawar Zamman Wani 97a83f074f Bound PSD layer and mask import memory before decoding (#10503)
* Bound PSD import pixel storage before decoding

* Include ZIP inflater workspace in PSD preflight

* PSD import: budget unknown-mode layers, stop after a fatal layer error, keep best-effort for non-allocation limits (#8593 review)
2026-11-01 12:33:09 +01:00
RickiNanoandClaude Opus 5.5 122e55a4a0 Ask before re-importing a brush or gradient file over its group (#10640)
Importing an .abr or .grd whose name matched an existing group silently
deleted that group's user presets (edited or moved-in ones included); the
preset libraries are outside document history, so it could not be undone.

- brush.presets.importAbr / gradient.presets.importGrd: `replace` now
  defaults to false; a taken group name imports beside it as "Kit (2)",
  "Kit (3)"…, and the result's `group` names the one it landed in.
- UI: when the group already holds the user's presets, a prompt asks
  Import as New Group (default) / Replace (can't be undone) / Cancel.
  Agents drive it with ui.dialog.set {"choice":"replace"} / confirm / cancel.
- The status bar names the group the file landed in.

Fixes #10640

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 09:49:33 +01:00
Taxperia 081dd26d57 i18n: limit language contribution to Azerbaijani 2026-11-01 11:27:12 +03:00
yoriswind 036d37f90d Clarify current and historical ATN documentation counts 2026-10-31 23:07:10 -07:00
yoriswind 0a605880dd Separate disabled ATN steps from supported Render counts 2026-10-31 21:11:28 -07:00
yoriswind d55830de94 Preserve noncanonical Group F descriptor headers 2026-10-31 20:57:09 -07:00
Hector VillarrealandClaude Opus 5.5 5a4bd379d0 Actions: map all 47 Filter Gallery effects (#10592)
Filter Gallery steps (GEfc with the effect in GEfk, or the effect's own
event) map every effect to filter.gallery.<effect>, not only Spatter:
each key in recorded order, out-of-range values clamped and missing
keys given Photoshop's defaults, enumerations, Invert and Neon Glow's
colour mapped both ways. The table is generated from the event
reference's Group A; every integer range and default matches the
effects'. Glass maps the Frosted and Canvas textures the reference
gives codes for. A setting the event cannot hold refuses the step.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 21:44:27 -06:00
yoriswind 815f5bdad0 Preserve measured Trace levels through playback and save 2026-10-31 20:41:15 -07:00
Hector VillarrealandClaude Opus 5.5 4a6883eede Actions: map Photoshop's Video, Other, Average and matting steps (#10607)
De-Interlace (Dntr), NTSC Colors (NTSC), HSB/HSL (HsbP), Custom (Cstm),
Average (Avrg) and Remove Black / White Matte (RmvB/RmvW) load as their
commands, play, and save back with the same keys. Missing keys take
Photoshop's defaults; a Custom matrix that is not 5 x 5 keeps the
Photoshop step. Replace Color and the direct Gradient Map (GrMp) are
still kept verbatim.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 21:29:26 -06:00
Hector VillarrealandClaude Opus 5.5 36c90925e9 Actions: map Photoshop's channel and colour steps (#10609)
Split Channels (SplC), Merge Spot Channel (MSpt), Trap (Trap) and Match
Color without a source (matchColor, noReference) load as channel.split,
channel.mergeSpot, image.trap and image.adjustments.matchColor and save
back with the keys Photoshop records. The split's recorded documentIDs
belong to its run and are neither replayed nor written; Trap's width is
clamped to 32767 px; Match Color takes Photoshop's defaults. Steps the
events cannot carry (a split keeping its original, a named spot
channel, a Match Color source or option) are refused on export.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 21:15:26 -06:00
yoriswind 1f8ea3b61a Keep Trace Contour levels outside native support unchanged 2026-10-31 20:13:23 -07:00
Hector VillarrealandClaude Opus 5.5 a03120e8b4 Actions: map Photoshop's Distort filter steps (#10605)
Pinch, Polar Coordinates, Spherize, Twirl, Wave and ZigZag steps load
as filter.distort.*, play, and save back with every key in recorded
order. Out-of-range values are clamped as Photoshop clamps them and
missing keys take Photoshop's defaults (Wave's undefined areas are
Repeat Edge Pixels). A Wave scaled below 100 % stays a Photoshop step,
as the command has no scale. Shear is still kept verbatim: its curve
points need a step recorded through its dialog.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 21:04:42 -06:00
yoriswind ec44d1711f Map ATN selection and layer-operation events 2026-10-31 19:59:52 -07:00
yoriswind 34ba5d0122 Preserve duplicate Render descriptor keys and correct ATN docs 2026-10-31 19:56:58 -07:00
Hector VillarrealandClaude Opus 5.5 1d22ffc1ff Actions: map Photoshop's newer-feature steps (#10610)
Oil Paint (oilPaint), Smart Sharpen (smartSharpen), Focus Area
(focusMask), Select Sky (selectSky) and Remove Background
(removeBackground), recorded by string ID, load as their commands and
save back with the keys and defaults Photoshop records. Oil Paint's and
Select Sky's Photoshop defaults are written out where they differ from
the commands'. Smart Sharpen maps the legacy Lens Blur form with no
noise reduction; other forms stay Photoshop steps. Settings the events
cannot carry refuse the step on export.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 20:51:05 -06:00
yoriswind 53098879c0 Correct ATN mapping table and current parity notes 2026-10-31 19:42:20 -07:00
yoriswind 7246b53ac3 Complete Render action descriptors and playback checks 2026-10-31 19:19:45 -07:00
yoriswind 8d47e4efef Complete measured Stylize and Pixelate ATN mappings 2026-10-31 19:12:01 -07:00
David MannandClaude Opus 5.5 47287016d3 Docs (atn): fix the Filter Gallery row, mark example values, settle two specs
- The supported table read the command list of the next entry for an event whose
  list is a constant: Filter Gallery (`GEfc`) maps to `filter.gallery.spatter`, not
  Shadows/Highlights. The table now resolves constants and reads each entry alone.
- Steps measured in a prepared document (Fade, Replace Color, Trap, selection
  combinations, ...) show the example values that were sent, labelled as such, not
  as factory defaults.
- Mosaic cell size: write `#Pxl`, read a value without a unit as pixels.
- Custom: no factory matrix; the test matrix is no longer shown as defaults.
- Intro: kept steps with no document effect are imported switched off and skipped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 02:31:47 +01:00
David MannandClaude Opus 5.5 b408d4166d Docs: .atn event reference with the supported events and measured specs of unmapped ones
docs/atn.md lists the 117 events PhotoCraft maps today and, for 101 events it does
not map yet, every key the step carries in recorded order, with type, unit, factory
default, exact range and accepted enum values, measured in the reference application.
An implementation needs no further checks there. Linked from file-format-parity.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 02:17:06 +01:00
Vlad Grankovsky 7c4da0d057 Merge upstream main 1f984bffb and preserve tone target isolation 2026-11-01 00:25:17 +01:00
Taxperia 349977449b i18n: refine az/ro translations and address review findings 2026-10-31 23:48:40 +03:00
SvenCarstensen 9c7590105c Merge branch 'main' into codex/guide-position-units 2026-10-31 20:48:47 +01:00
Taxperia 5d54be710c i18n: add Azerbaijani and Romanian UI languages 2026-10-31 22:26:12 +03:00
Tom InglingandClaude Fable 5.1 7bf102a3e3 PDF: say that pdfSpotPlates false refuses a Multichannel document, and what XmpEmbed::None leaves out
The option's doc on ExportOptions, the command spec strings, the
control-protocol doc.save row and the parity row all said `false` writes
the image only; a Multichannel document has no image, so the exporter
refuses it, and the docs now say so. XmpEmbed::None omits the document's
own packet and free-form text, not the metadata a format writes about the
file itself, such as the PDF spot-plate description.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-31 15:12:43 -04:00
Tom InglingandClaude Fable 5.1 4ffa357f23 Merge storytold/main into pdf-spot-plates
Conflicts were the two doc headers and the parity sections and revision
rows: both sides kept, the spot-plate entries first.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-31 14:55:23 -04:00
lucas perssonandClaude Opus 5.5 b15e914431 [ai] raw: decode Nikon "lossy after split" NEFs
Some lossy type 2 NEFs store a split row at byte 562 of maker note 0x0096.
They were refused ("lossy after split") and opened as the camera's preview.
The 11 such CC0 raw.pixls.us files come from the D3400, D5, D5000, D5200,
D5500, D5600, D7000, Nikon 1 J5 and Z 6_2.

Decode them following the rule LightCraft derived by black-box analysis of
those 11 files (storytold/lightcraft#633), the same route the Huffman tables
took. Rows above the split are Huffman coded as before. From the split row on,
every pixel is one MSB-first word of bits - 4 bits: a prefix code for the
difference category followed by the top bits of the T.81 additional bits,
dequantised to the centre of the kept bin (fixed_words, ported from
LightCraft's fixed_word_table), with the same predictor and an unclamped
running value. The section ends the strip: whole rows (up to 4 more than the
image), then 0-7 one-bits.

A split file that fails to decode for any reason (a section that does not end
the strip, the all-ones word, truncation, size limits, a split row past the
image, a curve long enough to cover byte 562) stays unsupported, so it keeps
the embedded-preview fallback it had before. Apart from the all-ones word and
the padding, the content of the fixed-rate section is not validated: a damaged
word inside a well-formed section decodes without an error, as in LightCraft.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 16:04:10 +01:00
David Mann 9ec0f51dc1 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/i18n/nb.tsv
2026-10-31 13:55:06 +01:00
vangel76andCodex 9a5fe71764 Merge upstream/main into docs/parity-refresh-2
Retain the expanded painting-menu limitations and refresh existing localization measurements from the merged tree.

Co-Authored-By: Codex <[email protected]>
2026-10-31 11:21:47 +01:00
ashokram-si e32d391163 Merge remote-tracking branch 'origin/main' into feat/jpeg-options-size-readout
# 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/hi.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-10-31 11:55:03 +05:30
aiongg 27f9b5be9a docs: tidy wording 2026-10-31 04:25:34 +00:00
aiongg 6d737c219e docs: tidy agent, contributor and release docs 2026-10-31 04:17:45 +00:00
dotCooCoo 767d4bcdd9 Merge main into fix/stale-parity-rows
# Conflicts:
#	docs/brush-parity.md
2026-10-30 19:55:23 -07:00
Davit MatchakhelidzeandClaude Opus 5.5 4a61951a37 i18n(ka): No matching fonts; parity row count
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
2026-10-31 05:13:45 +04:00
David Mann e5b4ea6781 Merge main at e7b7cf11e into integration batch 10
i18n catalogs: main's new rows (#10328) appended after the batch's, as a union.
2026-10-31 02:05:31 +01:00
vangel76andClaude Sonnet 5.5 0cc888efeb docs: ui-parity tool count 68/68 (Art History Brush is in the Tool enum)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 01:35:59 +01:00
vangel76andClaude Sonnet 5.5 83f5256268 Merge upstream/main into docs/parity-refresh-2
Re-measured i18n coverage (2,208 keys) and re-verified the conflicting parity rows against the code.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 01:35:37 +01:00
Davit MatchakhelidzeandClaude Opus 5.5 fbe7173e13 Merge origin/main into ka-language
Keeps Swedish, Finnish, Danish, Norwegian Bokmål and Georgian side by side.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
2026-10-31 02:53:05 +04:00
Tom InglingandClaude Fable 5.1 8bb4ad610b PDF spot plates: say where solidity goes
The plates_of doc and the file-format-parity PDF row still said solidity
"is not written"; since the XMP description it is carried as
pcsp:solidity. Both now say it does not change the plate image or tint
transform and that only the XMP description carries it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-30 18:00:58 -04:00
Tom InglingandClaude Fable 5.1 7b9a2d878d PDF spot plates: describe each plate's ink colour and solidity in XMP
The catalog's /Metadata packet (the document's own, when it has one)
gains an rdf:Description under
http://ns.getartcraft.com/photocraft/spot-plates/1.0/ (pcsp): an rdf:Seq
in paint order with each plate's index, name (the Separation colorant
name), ink colour as Lab D50 and sRGB hex, and solidity 0-100. A converter
can rebuild Photoshop spot channels with the real ink colour, which the
Separation colour space's CMYK alternate cannot carry. The plates are
unchanged (Ghostscript tiffsep output pixel-identical). A document's XMP
now travels into its PDF as into the other flat formats (XmpEmbed).
Schema in docs/file-format-parity.md.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-30 17:11:22 -04:00
Tom InglingandClaude Fable 5.1 b59f59a9c1 PDF: spot channels as overprinting Separation plates (FILE-215-17)
Save As / Save a Copy / file.saveACopy / doc.save to .pdf write every
spot channel as an 8-bit Flate image XObject in a
[/Separation /<channel name> /DeviceCMYK <tint transform>] colour space,
painted after the flattened image in channel order with overprint on
(/OP true /op true), so a RIP or Ghostscript's tiffsep/psdcmyk keeps each
one as a named plate. 1 = solid ink, as the document stores it; the
alternate is the ink colour separated to CMYK (preview only). A
Multichannel document saves as its plates alone (an alpha-type channel as
the black ink the composite shows, 1 - value). Each plate carries a 1-bit
stencil mask so viewers without overprint preview still show every plate
(a colour-key /Mask range renders blank in Quartz). No marks, labels,
halftone screens or transparency. "pdfSpotPlates": false on scripted
saves writes the image only.

Tests: 5 new io pdf tests (structure, overprint and order, polarity,
Multichannel, name escaping, stencil bits, opt-out, 16-bit) and an engine
save_a_copy test for the param. Docs: file-format-parity, gaps G10,
control-protocol.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-30 17:11:22 -04:00
dotCooCoo b19db16037 docs: drop stale flyout and path-point nudge claims from the parity assessment 2026-10-30 13:35:54 -07:00
dotCooCoo ab6eddcbde docs: Direct Selection arrow nudge and Smart Guides distances stay partial
Photoshop's arrow keys also nudge a selected path segment with Direct
Selection, which PhotoCraft does not do yet, so that row is partial and
G5 keeps segment nudge in its missing list. The Smart Guides row now
also names the missing distances during an ordinary Move drag.
2026-10-30 13:32:01 -07:00
dotCooCoo 2383b775bf Merge main into fix/stale-parity-rows
# Conflicts:
#	docs/brush-parity.md
#	docs/gaps.md
#	docs/ui-parity.md
2026-10-30 13:28:47 -07:00
qvest-sselsandClaude Opus 5.5 7b9704dde0 Dialogs: one shared label column that never overruns in a longer translation (#9635)
Six dialogs (Create Rectangle/Polygon, Fill and its Blending section, Stroke,
Channel Options / Layer Mask Display Options / New Spot Channel, New Snapshot)
and the Document Properties panel each carried a private label() that painted
right-aligned text into a fixed-width column with nothing bounding it on the
left, so a longer translation ran out of the dialog.

They now share widgets::label_column_width (measure the dialog's labels in the
current language, clamped between the old English width and a per-dialog cap
that leaves room for the fields) and widgets::column_label (right-aligned,
elided with a hover tooltip past the column). Fill and Stroke measure the
Blending section's labels too, so both sections share one column.

Same design as the Image Size / Canvas Size fix in #9636 (not merged); that
PR's private sizing::label/label_col can move onto these helpers once it lands.

Tests: widgets::tests::column_label_stays_inside_its_column and
dialogs::label_column_tests::translated_labels_stay_inside_the_dialog (every
dialog body in every registered language; no text left of the dialog).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 21:16:44 +01:00
dotCooCoo 1001972059 Merge main into feat/equalize-entire-image 2026-10-30 12:30:15 -07:00
ashokram-si 065488676b Merge remote-tracking branch 'origin/main' into feat/jpeg-options-size-readout
# Conflicts:
#	contributors/people.toml
#	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/hi.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
#	docs/gaps.md
#	docs/target-app-parity.md
2026-10-30 23:56:34 +05:30
Tom InglingandClaude Opus 5.5 46cf588df4 Merge main (picks up #10174, the Arabic Select and Mask strings that turned main red)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 13:46:39 -04:00
ReviewerB 2b49bc4d94 Merge main into canvas-rotation shortcuts branch
Resolve the view_cmds/dispatch.rs conflict: keep main's Full Screen Mode
availability rules (#9349) and add this branch's rotateLeft/rotateRight to the
document-required list.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-30 17:10:57 +01:00