Commit Graph
8150 Commits
Author SHA1 Message Date
Dylan M. Taylor 6b397ff7c0 Refactor tablet for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 52800a7b3d Refactor raw for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor ba25f585bd Refactor psd for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 2b0b11848c Refactor paint for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 2a3135d796 Refactor io for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 6ebc0180da Refactor gpu for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 2ed75b4ec3 Refactor geom for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 169bbdfa22 Refactor format for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor af45d71447 Refactor engine for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor f0ffcef216 Refactor compose for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 9a348da8bb Refactor codecs for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor ddaf299335 Refactor automation for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 8bc939cf3b Refactor algo for strict Clippy checks 2026-10-27 23:47:06 +00:00
Dylan M. Taylor 32f884d75c Refactor UI tools for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor dccf6182eb Refactor UI support for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor 79e9fa6f7c Refactor UI panels for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor 211d4824c8 Refactor UI menus for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor 97fc920872 Refactor UI input for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor bba45115fa Refactor UI dialogs for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor 9366cd58ec Refactor UI canvas for strict Clippy checks 2026-10-27 23:47:05 +00:00
Dylan M. Taylor ef065ee66e Refactor UI application for strict Clippy checks 2026-10-27 23:47:05 +00:00
Finn NewickandClaude Opus 5.5 d42dd4c630 Merge origin/main into feat/operator-separable
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 22:51:51 +00:00
dotCooCoo 4c26572d7f Merge main into fix/history-trim-keeps-the-cleared-brush-source
main moved the crates/ops tests from lib.rs into tests.rs; the new
test goes to tests.rs.
2026-10-27 15:50:09 -07:00
aiongg eb6c1abf75 Merge pull request #9756 from Jeremy8776/feat/install-scope-policy
Windows installation policy: PhotoCraft
2026-10-27 17:57:55 -04:00
Brennan StehlingandClaude Opus 5.5 285944de8d Perf: P79's row name leaves out the document size, which --quick changes
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 14:38:45 -07:00
Brennan StehlingandClaude Opus 5.5 e43762ac0d Perf: rename P79 to the reduced composite it times (#7494)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 14:38:45 -07:00
Brennan StehlingandClaude Opus 5.5 72b53ffebe Perf: P78 times a hide on every run, showing the layer again untimed first (#7494)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 14:38:45 -07:00
Brennan Stehling 5b057e2247 Scorecard: regenerate for the cliff rows (#7494) 2026-10-27 14:38:45 -07:00
Brennan Stehling 6beffc0fb9 Perf: P78 forces the GPU budget to 512 MB, so hiding the top adjustment layer takes the CPU fallback (#7494) 2026-10-27 14:38:45 -07:00
Brennan StehlingandClaude Opus 5.5 8cecf418e5 Perf: cliff rows for the CPU compositor, Advanced Blending, adjustment toggles and a huge document (#7494)
Reported only (enforce = false), so the off-happy-path cliffs have a "before":
- perf_scenarios_cpu: the layered rows on the forced CPU compositor (P68-P74, #9330)
- P75 opacity with Advanced Blending on another layer (#6689), P76 adjustment toggle (#6535)
- P77 hiding an adjustment among many full-canvas layers (#6533), added after P60/P61 run
- P78 zoomed-out reduced refresh of a 30000x30000 painted document (#1015, #9330)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 14:38:45 -07:00
Claude f84111c2d8 Merge storytold/photocraft main into the Fill/Stroke popover branch
i18n and ui-parity conflicts were append-only: upstream's entries first,
this branch's after. docs/scorecard.md regenerated (12 of 182).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-27 21:13:57 +00:00
Jeremy 768ca7ce63 docs(installer): limit the silent per-user default to new installs
Maintenance keeps the existing installation context, and a major upgrade of an
existing per-machine installation without ALLUSERS=1 is rejected rather than
installed per-user.
2026-10-27 21:13:30 +00:00
Jeremy 40310f10ea test(installer): cover the compiled folder searches, resolver chains and wizard folder replay
The policy check now reads the compiled AppSearch and RegLocator rows for the
remembered-folder properties (registry root, key, value name and type for both
scopes) and runs the DIR, FOLDER, PATH and legacy exe actions in sequence order
against seeded values, so their precedence and the preset-folder guard cannot
regress. It also replays the wizard folder actions in sequence order (a
remembered folder beats the new-install default, a typed folder beats both) and
requires the machine restore action between the scope page and costing.
2026-10-27 21:13:29 +00:00
Claude 957e7d3347 Merge storytold/photocraft main into the Fill/Stroke popover branch
Upstream moved the touched modules (dialogs/, tools/, widgets/ split) and
added its own Gradient tab to the shape Fill/Stroke swatches. Resolved by
porting this branch's changes onto the new layout:

- widgets/color.rs: color_edit_button* open the full Color Picker dialog
  (tests in widgets/color_button_tests.rs).
- tools/paint_picker.rs (was paint_picker.rs): the popover reuses
  shape_paint_ui::PaintChange (plus OpenPicker) and upstream's
  shape_gradient_ui Gradient tab instead of its own gradient preset list,
  so gradients now also work for the next shape's defaults.
- shape_paint_ui::swatch draws the popover; shape_options and
  vector_ui/options handle OpenPicker and Recently Used Colors.
- adjust_editors, caf_ui, file_ui call sites and tests moved to their
  new files; i18n entries appended after upstream's.
- docs/scorecard.md regenerated (12 of 181 settings unread).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-27 21:04:03 +00:00
aiongg 52f338e2df Merge pull request #9775 from davidmann4/integration-batch-9
Integration batch: 21 PRs on main
2026-10-27 16:53:43 -04:00
dotCooCoo 6f5d929d61 Merge main into fix/liquify-smart-filter-reopens-workspace 2026-10-27 13:51:57 -07:00
aiongg b8b3586904 ci: use storytold/craft-common-actions at the merged installer-policy commit 2026-10-27 20:51:50 +00:00
Taylor BurkeandClaude Opus 5.5 af31ea090a Extra windows share the main window's app id, so Wayland docks and window rules see them (#6697)
Document windows (Window › New Window), Camera Raw and the screen color
picker were built from ViewportBuilder::default() with no app id, so on
Wayland their class was empty: Hyprland rules couldn't match them and docks
couldn't map them to the .desktop file. They now use the same app id as the
main window, defined once in photocraft_ui_egui::os_window.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 15:31:30 -05:00
David Mann 71c6a64fd2 Merge PR #9455: raw: develop the default rendering band by band, without the f32 RGB frame
The author's new head 9bb0ecec97 is our fix-up 0b09eb43a5 plus main dacecbfea1, tree for tree, so this merge changes no file; it keeps #9455 marked merged with the batch.
2026-10-27 21:16:55 +01:00
Vlad Grankovsky df76a8c22f Merge origin/main into codex/multi-channel-editing
Integrate main dacecbfea, retaining selected-colour and explicit clipboard targets alongside CMYK and spot-channel tone fixes. Cover explicit spot copying while multiple colour rows are selected.
2026-10-27 21:15:06 +01:00
Taylor BurkeandClaude Opus 5.5 c139d3dbe6 Screen picker: a Wayland desktop picks through the portal when the window runs on Xwayland (#8977)
With a pen attached, or Preferences › Performance › Linux display server set
to X11, the window opens through Xwayland on a Wayland desktop. The picker
followed the window's display server and grabbed Xwayland's root window,
which holds no desktop pixels: GetImage failed with BadMatch. Choose the
backend from the desktop session instead, so Wayland always uses the
portal's PickColor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 14:44:34 -05:00
David MannandClaude Opus 5.5 1992cfcb9c Integration: parity docs dated 2026-10-27 with a history row for the scorecard count
CodeRabbit on #9775: the 12-of-181 count changed today, so ui-parity.md and gaps.md get the date in their status lines and a revision-history row, as AGENTS.md asks.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 20:21:26 +01:00
David MannandClaude Opus 5.5 f56ae19522 Integration: Save As from an opened .pgm suggests .pnm on every platform (#3609)
CodeRabbit on #9775: the Linux portal swaps the extension for the picked type, but macOS and rfd keep the suggested name, so an opened image.pgm could still be saved as image.pgm holding P6 data. The suggested name itself now takes .pnm for any Netpbm subtype; the services test fails without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 20:21:26 +01:00
David MannandClaude Opus 5.5 8b0a8da8b1 Integration: flate2 at least 1.1.10, the first with runtime_detection (#7689)
CodeRabbit on #9775 (nitpick): #7689 enables flate2's runtime_detection feature, which 1.1.9 and older don't have, under a "1" requirement; a lock-less consumer (the publishable psd crate) could resolve an older 1.x and fail. Cargo.lock already pins 1.1.10 and is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 20:21:25 +01:00
Brennan StehlingandClaude Opus 5.5 1382a240a6 Render path: an adjustment preview on a software adapter records its reason (#9328)
A software adapter still runs the GPU canvas, so an adjustment dialog that
previews through the CPU proxy is its own cause, as a document's reason is.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 12:20:25 -07:00
Jeremy f82028c00d fix(installer): check the exact architecture-specific machine folder
The pre-signing check matched any folder named Program Files, so it rejected
a valid MSI when Windows resolves Program Files elsewhere, accepted the 64-bit
root for an x86 package and accepted a different app name. Build the expected
folder from the package architecture's resolved root and the policy name.
2026-10-27 19:13:14 +00:00
David MannandClaude Opus 5.5 5ccb6fb723 Merge main
Conflicts with main's batch #9880:
- psd file.rs / layer.rs: #5287 (PSB by encoded size, RLE tables widened on
  promotion) against #6583's lazy reader. Main's new widening and length code
  read `.data`, which #6583 leaves empty while the bytes stay in the source;
  it now goes through `encoded()` / `encoded_len()` (also the auto-merged
  lines in `rle_widening`, `encoded_len` and `LayerRecord::write`), and the
  lazy reader sets `write_as_psb: false`. New test
  `a_lazy_psd_promotes_to_the_same_psb_as_an_eager_one`: a lazily read PSD
  writes the same PSB bytes as an eager one; it fails with a `.data` read.
- direct_select.rs / vector_ui.rs: #9321's Type Path and #6353's hidden
  Work Path both kept.
- io tests main.rs: both modules. scorecard.md regenerated (12 of 181);
  ui-parity.md and gaps.md follow it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 19:49:42 +01:00
vangel76 9bb0ecec97 Merge upstream/main into perf/9434-fused-develop 2026-10-27 19:44:48 +01:00
6d62da9043 Integration: per-band AHD balancing, memory-capped fused bands (#9455)
`for_bands_grouped` always split the bands into `min(workers, jobs)` static
chunks, so on the default develop (jobs == workers) a worker held up on the
shared pool kept a fixed share of the bands waiting, where main's
`chunks_mut_limited` runs one rayon task per band. Now, when every worker may
hold a scratch, each band is its own task and borrows a scratch from a pool
(`par::chunks_mut_pooled`, at most one per worker, dropped as soon as no
waiting band can use it); the grouping stays for memory-limited jobs.

The fused bilinear/MHC, X-Trans and LinearRaw paths ran one band per worker
with no memory cap: a 262144 x 455 Bayer frame with bilinear needed 2.92 GB
at 15+ workers and failed with LimitExceeded under the default 2 GiB.
`working_memory` now caps those bands like AHD's and the fused paths use the
returned jobs. The fused LinearRaw and X-Trans band buffers are `band.min(h)`
rows, as charged (CodeRabbit, develop.rs:414).

Tests: a_slow_band_does_not_hold_up_the_bands_after_it and
fused_bands_at_once_are_capped_by_the_memory_limit fail without the fix;
for_bands_keeps_at_most_jobs_scratches_alive, chunks_mut_pooled_makes_one_state_per_worker_at_most,
multi-band and short X-Trans/LinearRaw fused-vs-full cases.

Co-authored-by: Valentin Klein <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 19:44:48 +01:00
aiongg dacecbfea1 Merge pull request #9880 from aiongg/batch-1027
Integration batch: 22 PRs on main
2026-10-27 14:25:13 -04:00