Commit Graph
2701 Commits
Author SHA1 Message Date
aiongg e8c68586c6 Merge PR #5644: Layer Mask Display Options: set the layer mask rubylith's colour and opacity
docs/scorecard.md: kept ours (regenerated at combine).
2026-10-22 02:21:54 +00:00
aiongg 7b50fbd796 Merge PR #4315: Codecs: open uncompressed DICOM single-frame images (#1048)
apps/photocraft-web/src/web.rs: OPEN_EXTS kept main's list and added dcm, dicom, dc3 after cin.
apps/photocraft/src/services.rs: OPEN_EXTS kept main's list and added dcm, dicom, dc3 after cin.
2026-10-22 02:21:52 +00:00
aiongg db6fc62d58 Merge PR #3565: M11: ten more acceptance tasks (21-30) in a second file for FILE-216-6 2026-10-22 02:21:46 +00:00
aiongg 200206f56b Merge PR #4392: Layer Style: user contour library with New…, Load/Replace/Save Contours (#4391) 2026-10-22 02:21:46 +00:00
aiongg daeccbb3c3 Merge PR #5064: docs(perf): how to measure one scenario and read its numbers 2026-10-22 02:21:45 +00:00
aiongg 3458eee861 Merge main into #3283
dialogs.rs: main's Displace-map prompt runs before the fallible confirm_command. filter_dialog.rs: main's ask_displace_map uses the new confirm_command signature; SMART_FILTER_SET_PARAMS stays for main's uses; a smart-filter edit without a "layer" param previews the active layer, as the command runs it (main's smart_displace_preview_uses_the_map_document).
2026-10-22 02:16:49 +00:00
Khawar Zamman WaniandClaude Opus 5.5 b2f4cb56fb Merge remote-tracking branch 'origin/main' into fix/6501-multi-layer-free-transform
Main replaced MAX_TRANSFORM_PIXELS with a memory budget from Preferences
(#7807); keep that and this branch's multi-layer helpers above it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 07:20:48 +05:30
Khawar Zamman WaniandClaude Opus 5.5 93ea5c12da Merge remote-tracking branch 'origin/main' into save-for-web-webp
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 06:28:54 +05:30
Khawar Zamman WaniandClaude Opus 5.5 1f63edd1b6 Merge remote-tracking branch 'origin/main' into hand-tool-modifier-zoom
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 06:28:54 +05:30
Khawar Zamman WaniandClaude Opus 5.5 df0b3e63cc Merge remote-tracking branch 'origin/main' into field-wheel-5473
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 06:28:54 +05:30
Khawar Zamman WaniandClaude Opus 5.5 fb12ed9322 Merge remote-tracking branch 'origin/main' into fix/marching-ants-device-pixels
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 06:28:53 +05:30
Khawar Zamman WaniandClaude Opus 5.5 85a1c26950 Merge remote-tracking branch 'origin/main' into pen-path-operations
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 06:28:28 +05:30
jonathnwxh 2ba33c4400 Merge main preserving document and View menu action mappings 2026-10-22 08:58:01 +08:00
jonathanwxh-cell e7bf017502 Merge main into batch save-point fix, retaining both regression suites 2026-10-22 07:47:27 +08:00
JGF 87a066ad53 Refresh adjustment clipping PR and align progress dates 2026-10-21 19:41:41 -04:00
vangel76andClaude Sonnet 5.5 c53463344f Merge upstream/main into fix/3290-filter-mask-paint
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-22 00:46:37 +02:00
David MannandClaude Opus 5.5 8905fdccca Integration: .asl gets its own Open filter, type.fillPath is a vector path (#4049, #6230)
- main's every_open_format_has_its_own_filter needs a named File › Open filter for every format:
  .asl (#4049) gets "Styles", as in Photoshop.
- main's registry_filesystem_path_params_are_classified read type.fillPath's "path" (#6230) as a
  host file; it is a document vector path, like type.attachToPath.
- docs: Type scorecard 5 / 4 / 1 in target-app-parity.md, 49 mapped smart filters in the scorecard.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-22 00:22:00 +02:00
aiongg f32f882f3a Merge main into integration-10
# Conflicts:
#	apps/photocraft-web/src/web.rs
#	apps/photocraft/src/services.rs
#	crates/engine/src/file_cmds/tests.rs
#	crates/engine/src/float_cmds.rs
#	crates/engine/src/float_cmds/tests.rs
#	xtask/src/corpus.rs
#	xtask/src/corpus_pins.rs
#	xtask/src/main.rs
2026-10-21 21:56:26 +00:00
aiongg c71322043c Merge PR #7941: Light themes outline the slider knob (UI-217-11, #7927) 2026-10-21 21:56:21 +00:00
aiongg e4a413241a Merge PR #8004: Windows on ARM: auto picks DirectX 12 for Qualcomm graphics (#7537) 2026-10-21 21:56:21 +00:00
aiongg c865e3b93b Merge PR #5928: BMP export: Indexed Color documents save as palette BMPs 2026-10-21 21:56:20 +00:00
aiongg f3c20b9242 Merge PR #7626: Flatpak: a second launch hands its files to the running PhotoCraft over a Unix socket (#1540) 2026-10-21 21:56:10 +00:00
aiongg b0833a893c Merge PR #7694: perf(format): reuse .pcraft writers between document saves 2026-10-21 21:56:10 +00:00
aiongg 7ab402c025 Merge PR #6028: Zoom tool menu: Zoom In and Zoom Out last, as in Photoshop (#6005)
# Conflicts:
#	docs/context-menu-parity.md
2026-10-21 21:56:02 +00:00
David Mann 47b6df156e Merge PR #4049: feat(styles): import and export .asl layer style libraries (#1051)
Integration: resolve with main: .asl joins main's longer File › Open lists (xcf, xcfgz, gz); each language keeps main's new strings and #4049's Styles strings; docs status lines joined.
2026-10-21 23:51:04 +02:00
David Mann a8f91f54ad Merge PR #6230: feat(type): area type, text that wraps inside a closed path or shape
Integration: resolve with main for area type (#6230)

- Image Size with a new resolution (#7124, canvas_geom::set_resolution) now scales an area type's
  path with the text space like a box or a type path, so the same words wrap onto the same lines;
  test a_resolution_change_keeps_area_type_wrapping_where_it_was fails without it.
- The Paragraph panel's justify buttons (#7713) stay available on area type, which is paragraph
  text in Photoshop; test justify_buttons_work_on_area_type.
- Test files: main's tests plus #6230's; layout.rs imports joined; docs and scorecard regenerated.
2026-10-21 23:46:05 +02:00
Jason DandClaude Opus 5.5 3db1ae1223 docs: regenerate the scorecard for TIFF channels
FILE-215-7 (layered TIFF) done, FILE-215-17 (spot plates) partial.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 17:37:40 -04:00
da58af974a io: port TIFF alpha and spot channels from #7415
Flat and layered TIFFs write and read alpha channels, spot channels and a
Quick Mask as extra samples, with Photoshop's channel resources. This is
the io part of #7415 as it stands, on current main; the next commit keeps
PSD output as it is on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: Zer0C00L01 <[email protected]>
2026-10-21 17:37:38 -04:00
David Mann 7cfa2786ff Merge PR #5249: PSD: Distort smart filters and Invert open and save like Photoshop
Integration: resolve smart_map.rs with main's 27 new smart filters (#6296 and others): both filter lists kept (49 mapped); #5249's enum readers/writers use main's equal enum_name/enum_param instead of its own copies, its test helper is photoshop_fltr_item next to main's photoshop_item, and the unknown-filter test uses Shear, since main now maps Crystallize and #5249 maps Twirl.
2026-10-21 23:32:34 +02:00
David Mann 6b67ece274 Merge PR #5842: Color: a picked colour recolours the selected type and shapes
Integration: resolve the docs/ui-parity.md status line with main
2026-10-21 23:24:23 +02:00
David Mann fa71e04f10 Merge PR #5769: PSD smart objects: keep Photoshop's Cylinder warp when re-rendered (#4112)
Integration: resolve docs conflicts (file-format-parity, gaps status lines) with main
2026-10-21 23:24:11 +02:00
David Mann c7585e0ee8 Merge main 2026-10-21 23:22:56 +02:00
abc2cbandClaude Opus 5.5 6da0673cd1 Merge upstream/main 6d8cbac7 into the Smart Filters branch
Conflicts:
- filter_dialog.rs: preview_document_for_target keeps our proxy scaling
  and `p` clone; main's Bitmap rule (the preview drops Output resolution,
  #5559) is applied to the same `p`.
- hu/sr/tr/vi catalogs: both sides appended rows at the end; kept both, no
  duplicate keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 00:14:11 +03:00
bommerts d1c30954aa Fix compound layer property exports for Photoshop actions 2026-10-21 17:08:17 -04:00
Tom InglingandClaude Opus 5.5 052c1c3ab7 Layers: per-layer XMP metadata, as Photoshop's layer.xmpMetadata
A layer keeps its own XMP packet (Layer::xmp), where scripts and embedding
apps store data about the layer under their own namespaces.

- PSD/PSB/layered TIFF: read from and written to shmd > cust > layerXMP
  (UTF-16, NUL-terminated, after layerTime), laid out as Photoshop 2026
  writes it; an unchanged Photoshop block round-trips byte for byte.
- .pcraft: optional `xmp` on each layer.
- layer.xmpMetadata {layer?, rawData?}: read, set (one undo step) or
  remove with null; refuses malformed XML, DTDs, NUL and > 4 MiB.
- Duplicate Layer copies the packet; document.inspect reports hasXmp.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 17:03:02 -04:00
Yorgos S. d6024423db docs: qualify the RAF entry in target-app parity (early FinePix/SuperCCD still open their preview) 2026-10-21 22:51:30 +02:00
Yorgos S. ade8d0e899 Address review: zero_stream group count, entropy test, stale G14 entry
- rafc::zero_stream takes the six-row group count explicitly; a lossless
  stream always declared 18 rows, so lossless fixtures of any other height
  were rejected as inconsistent. New test decodes 6- and 24-row lossless
  and lossy files (fails with the old behaviour).
- The damaged-entropy case keeps the file and the stripe sizes intact and
  zeroes bytes inside the first stripe, so it reaches the residual decoder
  and must be RawError::Malformed (truncating the file only hit the
  "stripe outside the file" check).
- Doc comments on the remaining rafc helpers.
- docs/gaps.md G14: lossy DNG decodes since 2026-10-13; no longer missing.
2026-10-21 22:51:30 +02:00
Yorgos S. 49a755605d Fujifilm compressed RAF: decode lossless and lossy files instead of the embedded preview
Opening a RAF shot with lossless (or lossy) compression fell back to the
camera's embedded JPEG ("Fujifilm compressed RAF is not decoded ... opened
the camera's embedded 4416x2944 JPEG preview instead").

Port LightCraft's clean-room decoder for Fujifilm's striped predictive
compression (storytold/lightcraft crates/raw/src/vendor/rafc.rs, MIT OR
Apache-2.0, same organisation), verified there sample for sample against a
reference decoder on 24 files from 13 bodies. New `rafc` module:

- 16-byte `IS` header checked against the raw IFD; stripe size table;
  per-stripe quantizer tables for lossy files
- 768-pixel stripes decoded in parallel (`par::map`: rayon natively,
  sequential on wasm); X-Trans and Bayer, 12/14/16-bit
- every read bounds-checked: damaged streams return errors, never panic

`raf.rs` sends short strips to it, after checking that header byte 108
(0 uncompressed, 2 lossless, 3 lossy) agrees with the stream and that the
CFA layout is one the stream can encode (else unsupported, preview
fallback as before).

`RafPacking::Compressed { lossy }` in testgen now writes real compressed
streams; tests cover lossless and lossy, X-Trans, RGGB and BGGR, 12/14/16
bits, mode mismatches, unknown layouts, a missing signature, truncated and
random entropy. Verified on an X-T30 lossless file: decodes in 155 ms and
develops to 6240x4160.
2026-10-21 22:51:30 +02:00
David Mann 779471d19f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	xtask/src/main.rs
2026-10-21 22:39:40 +02:00
skylar taylor-barrick 6d8cbac7dc Merge pull request #2945 from diegochagas/feat/xcf-read
Open GIMP XCF files: layers, groups, masks, blend modes, channels and selection
2026-10-21 14:35:32 -06:00
bommerts 6351ee0609 Preserve continuous camera movement in default Crop 2026-10-21 16:19:24 -04:00
bommerts 76c514cdf5 Keep the CPU canvas sharp at 100% zoom (#8321) 2026-10-21 16:15:23 -04:00
Diego Chagas ca18689304 Open GIMP XCF files: layers, groups, masks, modes, channels and selection (#1076)
PhotoCraft reads GIMP's .xcf (and .xcf.gz) files, read only, through a new
reader in photocraft-io written from the public XCF specification: versions
0 to 26, uncompressed, RLE and zlib tiles, 8/16/32-bit integer and
16/32/64-bit float precisions (linear precisions get a linear profile),
pixel layers at any position, groups by item path with pass-through,
layer masks applied or disabled, opacity, visibility, locks, colour tags,
the 2.10 and legacy blend modes mapped to Photoshop's (modes without an
equivalent open as Normal with a note), the ICC profile, resolution,
guides, the comment, extra channels and the saved selection; indexed
images open as RGB. Text, vector and link layers open as their pixels;
layer effects, paths and floating selections are reported.

Fixtures are written by GIMP 3.2 itself (scripts/xcf_fixtures.py), each
with GIMP's merged rendering as a PNG. In gamma-encoded blend and
composite spaces our composite matches GIMP within 0.5/255; GIMP's
linear-light default, its Clip to backdrop and its clamp-after-alpha
for unbounded modes are documented and measured in docs/xcf.md.
2026-10-21 16:57:22 -03:00
VladimirPozdnyakov 0dfac5081f Roman Hanging Punctuation: trailing marks hang and don't steer the alignment
Photoshop's Paragraph panel checkbox, per paragraph style:

- doc: ParagraphStyle.hanging (serde default off; .pcraft keeps it).
- layout: a trailing run of closing marks (. , : ; ! ? and fullwidth
  twins, ellipsis) trims out of the aligned width on center/right lines,
  so a centered line ending in an ellipsis stays centered; a wrapped row
  of nothing but marks steps back onto the line above and hangs past the
  box edge (contiguous ranges, merged-row baseline, manual kerning; no
  RTL, vertical or tabs).
- PSD: /Hanging bool in the paragraph sheet, right after /LeadingType as
  the corpus files show; read defaults off.
- engine: type.setStyle takes "hanging":bool, params doc updated.
- UI: checkbox in the Paragraph section, a Paragraph Styles editor row,
  Character dock group grows one row; translations for the new label.
- tests: layout hang runs (trim, merge-back, plain no-op), PSD write and
  paragraph-sheet read round trips, engine setStyle, panel harness.
2026-10-21 22:45:10 +03:00
UnemarsandClaude Opus 5.5 c695493153 Control protocol: the open-time Camera Raw dialog's demosaic choice
openingRaw is {name, path, demosaic}; ui.demosaic is accepted only while a raw
opens; rawDefaults.demosaic is the method the app's raw opens develop with; Open
re-develops when the chosen method differs from the one the open used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:44:44 +02:00
vangel76 d614b67ad5 Regenerate contour-library scorecard after merging main 2026-10-21 20:34:12 +02:00
vangel76 ffc05c3760 Regenerate filter-mask scorecard after merging main 2026-10-21 20:30:17 +02:00
UnemarsandClaude Opus 5.5 eca10449ce Merge origin/main into raw-demosaic-choice
docs/scorecard.md regenerated with cargo xtask scorecard (24 of 172); the
Preferences test keeps main's Enhanced Controls rows and the demosaic row;
catalog tails keep both sides.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:18:37 +02:00
aiongg 94d28535d3 Merge PR #6464: Survive a lost window GPU device: draw nothing, save unsaved work for recovery, close (#3438, #1215) 2026-10-21 18:15:02 +00:00
aiongg 0c18dbff9a Merge PR #6472: fix(ui): preserve shape stroke settings at zero width 2026-10-21 18:14:57 +00:00