Commit Graph
15971 Commits
Author SHA1 Message Date
superplay2021 d1da033f84 Merge latest main and fix Fill preference context 2026-11-23 20:40:55 +02:00
David Mann 6554712c61 Merge pull request #16529 from davidmann4/batch-19-prs-restored
Batch: 19 PRs with fix-ups (#12219, #11835, #14491, #15187, #8222, #15796, #15085, #15308, #15311, #15435, #14650, #15921, #15515, #15632, #15948, #15653, #14493, #14492, #14748)
2026-11-23 19:27:50 +01:00
Dylan M. Taylor c1c1c51ea6 ci(release): publish scheduled nightly prereleases (#16551) 2026-11-23 13:16:28 -05:00
David MannandClaude Opus 5.5 3bc5136b79 nextest: heavy UI GPU tests take two slots on Windows
The slowest UI GPU tests (live_stroke_canvas committed-stroke parts, the
checker_canvas pixel grids, full_res_preview) all start first by priority
and share the Windows CPU-backed adapter. Four at once starved one frame
past egui_kittest's 10 s device poll ("PollError: ... Wait timed out"),
live_stroke_canvas part_0 failing twice in a row. Two slots each keep at
most two of them on the adapter; no case or timeout changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-23 18:27:08 +01:00
FredApps ddbda6fc58 Add an isolated Windows nightly build (#16335)
Compiled Nightly flavor of PhotoCraft with its own settings, recovery data, agent folders, Windows identity and file routing, plus keyless Windows nightly packaging whose output must be signed and verified in a separate step. Does not enable nightly builds or publishing; stable behaviour is unchanged.
2026-11-23 18:04:35 +01:00
David Mann a17f46be57 Merge remote-tracking branch 'origin/main' into batch-19-prs-restored 2026-11-23 17:36:02 +01:00
FredApps 947c677c9f Merge branch 'main' into nightly/windows-flavor 2026-11-23 16:58:09 +01:00
David Mann 31b5cf9ea4 Image Processor test: pass the empty file list as input
Main now checks each command's params against its documented list
(#15255), and the Image Processor lists `input`, not the `files` alias, so
the #14748 test that sent `files: []` got "unknown parameter" instead of
the no-source error it checks.
2026-11-23 16:06:47 +01:00
aiongg 033ed7d34c Merge pull request #16063 from aiongg/fonts-live-updates
Show fonts installed while PhotoCraft runs without a restart
2026-11-23 09:49:12 -05:00
Dylan M. Taylor 163fa9ff92 ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#16535) 2026-11-23 09:32:59 -05:00
skylartaylor c0dd6c81a5 Check the Windows Nightly source identity and widen the profile fences
nightly.ps1 now enforces what the Linux helper does: an exact 40-hex commit, a
version naming that commit, the original run date, and a clean checkout of it
before and after the build. package.ps1 no longer defaults those for Nightly.

The profile root also refuses the default MSI install folders, folders under a
portable copy and the stable Flatpak data folder, and every existing entry in
the profile must resolve inside it. An empty build channel means stable.
2026-11-23 15:32:44 +01:00
David Mann aa21256f7f Address CodeRabbit review on the restored batch
- CMYK Channel Mixer in a 32-bit document: the change is added as the
  difference of two round trips through the inks, so samples past 0..1
  keep their magnitude and an identity mixer leaves HDR highlights alone.
- PSD: a Channel Mixer block in PhotoCraft's old RGB layout (fourth record
  repeating the first, no black source) in a CMYK document keeps its RGB
  reading instead of setting the black ink to the cyan mix.
- Color Settings dialog: a Monitor Profile set before the first pass
  loads Monitor Color's working RGB at once, and Reset set before the
  first pass shows Custom.
- Test: the non-identity CMYK mixer check runs in RGB documents too.
2026-11-23 15:17:08 +01:00
aiongg 95334485a6 Merge PhotoCraft main (installed_catalog); craft-libs at next 5c5e0d52c3 2026-11-23 14:03:56 +00:00
David Mann 42236a89fa Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine-core/Cargo.toml
#	crates/ipp/Cargo.toml
#	crates/ui-egui/src/tools/analysis/tests.rs
2026-11-23 14:58:08 +01:00
aiongg b0b1718695 Merge pull request #16499 from aiongg/link-scan-save-as
Drop a link scan taken against the old folder after Save As
2026-11-23 08:55:27 -05:00
Dylan M. Taylor 6f20a6b9f2 gpu, camera_raw: develop Detail on the GPU using craft_develop (#13519, #587) (#16480)
* gpu,camera_raw: develop Detail on the GPU using craft_develop::camera_raw (#13519, #587)

* ui-egui/camera_raw_gpu: remove temporary gpu_stages Detail filter (#16485)
2026-11-23 08:55:17 -05:00
aiongg 4b52711068 Merge pull request #16487 from aiongg/engine-split-cuts7
Engine tests before the paint cut: failpoints feature, setups without paint commands
2026-11-23 08:55:14 -05:00
aiongg fb5728628a Merge pull request #16486 from aiongg/ui-dead-files
Restore features lost in files no module compiles; delete those files; strict dead-file guard
2026-11-23 08:55:00 -05:00
David Mann 81cc69f17e Address CodeRabbit review; follow main's colour state accessors
- Curves at 8 bit: evaluate the channel and composite curves at the 256
  exact levels instead of between two entries of the 4096-entry table, so
  a pencil step between levels 128 and 129 no longer gives level 128 a
  fraction that rounds to level 4.
- Color Settings: a later Monitor Profile change keeps "Monitor Color"
  only while the values still are what Monitor Color would set.
- Color Settings dialog: a control changed by ui.dialog.set before the
  first pass shows Custom instead of becoming the baseline.
- Stored-channel edits (Lab/CMYK, CMYK Channel Mixer) mix through the
  selection as v*(1-k) + o*k, exact at full coverage over huge 32-bit
  values.
- Action playback: a Channel Mixer step the editor refuses reports the
  refusal instead of opening the generic step editor.
- Shortcut set test: assert Cancel closes the confirmation.
- Merge follow-up: Session's colour state is reached through
  ColorExt::color()/color_mut() on main now.
2026-11-23 13:31:11 +01:00
Dylan M. Taylor b2e243cc50 paint: adapt mixer load swatch to the shared next API 2026-11-23 07:21:24 -05:00
David Mann a461a65ceb Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-11-23 13:08:36 +01:00
Dylan M. Taylor 97daf92f58 Merge PhotoCraft main for live font updates
Resolve the manifest and lockfile by using canonical craft-libs next for the live font stack while preserving main’s Camera Raw dependency pins.
2026-11-23 07:05:53 -05:00
FredApps 9ee918fb9d Merge pull request #15255 from storytold/feat/param-schema-dispatch
engine: one typed parameter schema for dispatch, value checks and filter dialogs
2026-11-23 11:34:59 +01:00
aiongg 83d04ac4d9 Drop a link scan taken against another document folder
The scan now carries the file each stored link path resolved to, and the poll
drops it when the active document's current resolved files differ. Save As
to another folder changes what a relative link resolves to without changing
the stored path.
2026-11-23 10:22:10 +00:00
FredApps 17db1ba448 Merge remote-tracking branch 'upstream/main' into inbox-15255 2026-11-23 10:57:42 +01:00
FredApps 42ade5fc41 Merge pull request #16492 from FredApps/fredapps/fix-mcp-wait-run-alone
test: run mcp_wait tests alone in the gate shard
2026-11-23 10:21:03 +01:00
FredApps 6541b5cdbf test: run mcp_wait tests alone in the gate shard
heavy-filter already caps mcp_wait at one concurrent test, but other
tests in the shard still ran beside them. On artcraft-k8s-main a
bridged jobs.list poll then missed the 300ms client timeout. Require
every test thread so these tests actually run alone, as the comment
already said.

Fixes #16491.
2026-11-23 09:39:05 +01:00
FredApps 59500607d3 Merge pull request #16490 from FredApps/fredapps/fix-panic-hunt-k8s-timeout
test: give panic_hunt 90s on the k8s gate
2026-11-23 09:10:19 +01:00
aiongg b15b1f29c4 Filter preview: the addressed document, layer and mask are part of the preview session 2026-11-23 07:55:40 +00:00
aiongg e1e1eb8f01 Actions tests: a Paint Bucket step's explicit colour replays after an .atn round trip 2026-11-23 07:45:29 +00:00
FredApps 12ef932cc3 test: give panic_hunt 90s on the k8s gate
The ci override still warned at 15s and killed the test at 45s. On
artcraft-k8s-main it already takes 31-33s when it passes, and current
main timed out at 45s after nearly finishing the registry. Keep the
15s warning and terminate after 90s, still well under the profile's
10-minute default.

Fixes #16489.
2026-11-23 14:22:34 +07:00
aiongg e03e93e2df Fonts: tests offer a fixed catalog; installed fonts only where asked for
The process catalog the engine, font picker and Glyphs panel read follows the
shared engine's rule (uses_system_fonts): without the installed-font scan
(tests, nextest, PHOTOCRAFT_NO_SYSTEM_FONTS) it lists the bundled and added
fonts only, so a test's font list no longer depends on the machine. Code that
asks for installed fonts (load_system_fonts, installed_font_files) reads
installed_catalog(), the global Catalog. The options bar harness comment names
the real reason for its step limit.
2026-11-23 07:08:24 +00:00
aiongg 4c6008cfd3 Brush tests: a failed tools.setBrush pick of a preset with a broken tip keeps the current brush
The check moves here from the preset store's corrupt-file test, which loads the
tip through the store directly; tools.setBrush is a brush command, so its pick
test goes with the brush tests.

Part of #15710
2026-11-23 06:57:18 +00:00
FredApps 30fdbef577 Merge pull request #16414 from FredApps/onee/k8s-gate-test-hardening
test: harden the three k8s gate flakes on GLES and memory pressure
2026-11-23 13:56:50 +07:00
aiongg 5ce2127686 Engine tests before the paint cut: failpoints feature, setups without paint commands
Step 7 of the engine split (#15710) moves the paint commands into their own
crate. These test changes land first, so the cut moves code and tests as they
are:

- photocraft-engine-core gets a `failpoints` feature (no default) that compiles
  the allocation failpoints outside core's own test build; the paint crate's
  dev-dependency on core will turn it on, so its allocation-failure tests keep
  their injected failures. `allocation` is a public module and the two arming
  functions are public under the feature.
- Core tests whose subject is core but whose setup ran a paint command set the
  pixels through the document (`tests::fill_active`) or use a core command:
  channel copy/paste/clear, Edit > Fade (setup: Invert), Actions import and
  playback, patterns, file revert/save/flatten, layer-style rasterize, tone
  targets, brush tip loading from the preset store, the filter mask target.
- Tests whose subject is a paint command move beside it: Edit > Fill's result
  reservation failure (fill_cmds), and the filter-mask brush stroke
  (brush_cmds/filter_mask_stroke_tests.rs); the filter mask save check stays in
  core with the mask set through the document.
- The sampler turn test spells out the expected coordinates instead of using a
  private core helper; the job cleanup test sets the live commit directly
  instead of through the Mixer Brush; the ignored fill timing drops its
  comparison with a private helper.
- The .atn table check accepts the paint commands it names when they are not
  installed.

No behaviour change in the app.

Part of #15710
2026-11-23 06:40:47 +00:00
FredApps 2fe012684e Merge remote-tracking branch 'upstream/main' into onee/k8s-gate-test-hardening 2026-11-23 13:21:39 +07:00
aiongg 715a8876b0 Merge pull request #16478 from aiongg/engine-split-step6
Engine split step 6: session slots and extension traits
2026-11-23 01:10:33 -05:00
aiongg 5dfd031e77 Gate: unreached .rs files fail in strict mode; drop unused test items 2026-11-23 06:06:58 +00:00
aiongg 6770b80ba6 Mixer Brush load swatch shows the sampled tip image or the loaded colour 2026-11-23 06:06:58 +00:00
aiongg 3098631a38 Hue/Saturation range swatches and spectrum run the engine's adjustment on one colour 2026-11-23 06:06:58 +00:00
aiongg 6afdd3c3d4 Pin craft-libs to ee30b17c21 (Select and Mask previews after a document edit, #3140, #3145) 2026-11-23 06:06:58 +00:00
FredApps c77a928370 Merge remote-tracking branch 'upstream/main' into onee/k8s-gate-test-hardening 2026-11-23 12:54:06 +07:00
aiongg ebb0a1c461 Restored adjustment and Select and Mask tests drive the app as a user does
The canvas presses clear the dialog that opens over the canvas first, the armed
Curves picker test drives ui.pointer again, the mask preview test reads the CPU
proxy preview, and the Select and Mask tests run the app's own frame, in which
the workspace asks for its preview and reads its remembered settings.

Selective Color keeps the chosen row (colors) in its parameters: only the
single-colour values and relative are dropped. Select and Mask is stale when no
document or another one is active, as before the framework move.
2026-11-23 05:50:07 +00:00
aiongg 6097755e17 Adjustment dialogs: live CPU preview on masks, channels and modes the layer path refuses
An Image > Adjustments dialog whose target is a layer mask, the Quick Mask, a
channel, or a document or layer the adjustment-layer preview refuses (CMYK, Lab,
Blend If, smart objects) showed no live preview. adjust_preview hands those
targets to the CPU proxy preview, but since the move to the framework's dialog
host (#15449) ensure_filter_preview took only Smart Filter adjustment edits and
parameter dialogs, so a plain adjustment dialog fell out.

ensure_filter_preview now takes every open adjustment dialog, with the command
and parameters OK runs (adjust_dialog::confirmed_command, shared with OK). A
compare hold shows the original for every adjustment preview, Smart Filter
edits included, as the layer path already did.
2026-11-23 05:50:07 +00:00
aiongg 9cf019ed37 Delete files no module compiles (widgets, point curve, brush controls, analysis_ui, old cursors, dead editors and tests, nefc tests) 2026-11-23 05:50:07 +00:00
aiongg e23da5f248 Tests: Notes panel, Count label size, adjustment dialog and Select and Mask tests mounted again, Command-click Auto-Select inversion 2026-11-23 05:50:07 +00:00
aiongg 18bb80398f Notes panel empty state and counter, Import Notes outside alert, Count Label Size, Select and Mask stale-document reason, Selective Color drops stale single-colour keys 2026-11-23 05:50:07 +00:00
aiongg b21f59905d Tool presets: use Tool::id for the engine tool id 2026-11-23 05:50:07 +00:00
aiongg ec81d5e5b3 Engine split scripts: only crate roots and mod.rs hold children beside them; children of a cfg(test) inline module are test code 2026-11-23 05:25:57 +00:00
p0rpsandfjamesprice 6fff6629f9 build: move craft-develop to craft-libs main b2d2a1e9 (craft-libs#3101) (#16485)
* build: move craft-develop to craft-libs main b2d2a1e9 (craft-libs#3101)

craft-develop and craft-develop-model move from 33be356 to b2d2a1e9,
which includes craft-libs#3101 (Detail's resolved parameters) and four
sensor commits (white-balanced demosaic with a clip mask; existing
signatures unchanged). Cargo.lock changes only craft-libs git sources.

per_pixel() no longer refuses Detail: it returns the stages with
`detail` set. RAW Develop's GPU pass has no Detail stage yet (#6916), so
the dialog now goes through gpu_stages(), which keeps a sharpened or
noise-reduced frame on the CPU. A device-free test covers it on hosted
CI; the GPU test adds Detail-only cases; the gpu crate's test follows
the new per_pixel contract.

* style(camera-raw): rustfmt gpu_stages' signature

---------

Co-authored-by: fjamesprice <[email protected]>
2026-11-23 00:20:24 -05:00