Commit Graph
3036 Commits
Author SHA1 Message Date
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 3298b955c9 docs/scorecard.md: regenerated (cargo xtask scorecard) 2026-11-23 01:25:51 +00:00
aiongg 519a0c22a3 Engine split step 3: top crate with the wrapper Session
crates/engine keeps the package photocraft-engine: src/facade.rs re-exports
photocraft-engine-core, and its Session wraps core's and installs every engine
command. Core's Session::new() installs nothing; core gets install() and session().
The command registry keeps main's behaviour (empty before an install).

The top crate's dev-dependencies cover tests/ and examples/, including
craft-develop-model (camera raw baseline test) and photocraft-testkit (the
corpus-gated Photoshop oracle test). Dependents that need the core type or
borrowed two fields through the wrapper are fixed at the call site, and tests
that reach the registry before any session install first.

Tooling follows the package: workspace dependency, cl selection, xtask layers,
i18n report, scorecard and corpus paths, nextest overrides, ci-test-times rows,
display-names roots, prefs_usage paths, the engine split scripts, docs, and the
two release-perf steps in ci.yml.

Corpus .atn paths, the layer_menu registry read and the craft-develop-model
dev-dependency are FredApps' fixes from #16431.

Part of #15710
2026-11-22 19:29:06 +00:00
aiongg 3e05a3747b Merge remote-tracking branch 'upstream/main' into HEAD
# Conflicts:
#	.github/workflows/ci.yml
2026-11-22 15:29:46 +00:00
aiongg 44ac69dede Merge upstream/main into ci-pin-toolchain; gate runs when platforms fails, cold cache clear keeps newer entries, panic_hunt timeout 2026-11-22 05:59:39 +00:00
David Mann bdc6c0c780 Merge PR #16293: docs: explain automatic masks on new adjustment layers 2026-11-22 00:28:51 +01:00
David Mann fd28fa6808 Merge PR #15842: fix(automation): reject malformed doc.render requests 2026-11-22 00:28:15 +01:00
David Mann 6be13ed47a Merge PR #15216: docs: use the full shortcut snapshot test path 2026-11-22 00:27:00 +01:00
David Mann e3696eb67f Merge PR #14743: docs: document DPX bit depth for headless saves 2026-11-22 00:25:03 +01:00
David Mann e0e1ab7de5 Merge PR #14706: docs: describe absolute automation paths within granted roots 2026-11-22 00:24:38 +01:00
David Mann fbe6b1e594 Merge PR #14691: docs: correct MCP switches and repeatable read-root guidance 2026-11-22 00:24:17 +01:00
David Mann 0229cf222d Merge PR #11548: ATN: retain explicit Image Size dimensions with percent 2026-11-22 00:24:13 +01:00
David Mann a2a7528bf7 Merge PR #11536: ATN: reject fractional Black & White coefficients 2026-11-22 00:24:09 +01:00
David Mann 235d723e50 Merge PR #11329: docs: repair moved source-evidence links 2026-11-22 00:24:04 +01:00
Mex a9edadc0ba docs: explain automatic masks on new adjustment layers 2026-11-21 20:15:43 +01:00
David MannandClaude Opus 5.5 97b587ad57 Batch: PHOTOCRAFT_NO_PRINT docs say an empty value counts as unset (#16024 review)
printing_disabled() ignores an empty PHOTOCRAFT_NO_PRINT, so the docs'
"anything but 0" was wrong for the empty value.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 19:01:43 +01:00
David Mann 8e739f462e Merge PR #16024: engine: file.print.page asks no printer driver while printing is disabled 2026-11-21 19:01:43 +01:00
Mex d23c5957b1 Map additional framework regression tests 2026-11-21 10:48:32 +00:00
Mex b94787a48d Record additional reviewed framework successors 2026-11-21 11:11:40 +01:00
Mex e19e864a84 Audit coverage removed by the shared UI framework port
Added documentation for tests affected by the shared UI port, including an inventory of removed tests and their successors. The document tracks changes related to the UI rework and provides details on test coverage and assertions.
2026-11-21 11:06:47 +01:00
FredAppsandClaude Opus 5.5 f996f2fc93 engine: file.print.page asks no printer driver while printing is disabled
The panic hunt turns printing off so no command reaches a printer, but
file.print.page still asked the Windows driver for the default printer's
page. On a Windows runner that call hung while holding SPOOLER, so
file.printers, file.printOneCopy and file.package timed out behind it
and main went red (run 44791314463). It now refuses, after checking its
own parameters, when disable_printing or PHOTOCRAFT_NO_PRINT is set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 22:29:14 +01:00
David Mann 53956cde79 Merge branch 'agents/default-folder' into batch/repin-next-mcp
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-11-20 21:22:46 +01:00
David MannandClaude Opus 5.5 acc82659ea automation: default agent folder and the agent_folders MCP tool (#15974)
With Preferences > AI Integrations' folders empty, agents had no file
access, and the launcher starts `mcp` with no root flags.

- An empty folder setting named by no flag uses the shared default agent
  folder Documents/ArtCraft/Agents/PhotoCraft (craft-libs#2550), in the
  open window (agent link, --control) and in the live headless session.
- agent_folders tells the agent which folders it may use: the headless
  session's roots, or the open window's saved folders with the default.
- Pin craft-libs to bafb452 + the craft-libs#2550 commit until it reaches
  next.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 15:23:05 +01:00
David Mann bb864668bf Merge #11327 into the merge queue batch
fix(ui): close canvas menus when the active document changes
2026-11-20 15:06:03 +01:00
FredApps b6732645f0 Merge pull request #11861 from hnoerenberg/fix/gif-preserve-indexed-palette-11824
fix(io): GIF export keeps the indexed palette, unused entries and all
2026-11-20 21:04:09 +07:00
David Mann c142c65e06 Merge #15792 into the merge queue batch
Restore the Pen cursor benchmark on the shared UI framework
2026-11-20 14:16:38 +01:00
9ec43e905a Adopt the shared AGENTS.md (RFC-0072) (#15912)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* AGENTS.md: correct the repository facts

Correct the layer list (no psd or codecs crate; ipp, raw and tablet are standalone; test helper crates), name the example plug-in that uses unsafe, and renumber a stale rule reference in docs/contributing.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-20 18:10:25 +07:00
aiongg d3bed32270 xtask: the scorecard names corpus directories under corpus/, as the corpus tests and pins do 2026-11-20 08:01:19 +00:00
aiongg 6249a2e6b8 docs: refresh the scorecard 2026-11-20 07:34:40 +00:00
aiongg 5351576daf tests: the corpus tests take a fixed sample per directory; the nightly run sweeps every file
The real-file corpus tests the Linux gate runs took up to 394 s each (the psd-tools mutation
sweep), 780 test-s together. Each now walks a fixed sample chosen for coverage (photocraft-testkit
`corpus`: every colour mode and depth, PSD and PSB, the block kinds outside the large files, each
oracle kind, smart objects, vector blocks, type) and stays under a second. PHOTOCRAFT_FULL_SWEEP=1,
the switch the testkit sweeps already read, takes every file; the nightly run sets it.

- Oracles keep floors for the sample next to the full floors.
- The mutation sweep cuts and corrupts each sampled file 12 times instead of 31.
- The layered TIFF test takes the psd-tools sample.
- The smart-object test imports only files with a placed-layer block (full sweep: 32 s to 5 s).
- The blend-mode tests import once and render only the compared cells.
- The 16.8 MP spot-channel file runs in full sweeps only; the generated files check the same reading.
- The #1606 special-shapes test is the affinity table's row for that file plus its warning check.

Part of #15711
2026-11-20 07:23:46 +00:00
hnoerenberg 821e1bf576 Merge upstream/main into fix/gif-preserve-indexed-palette-11824 2026-11-20 05:55:15 +01:00
aiongg 5612b2dfd4 ci: pin the toolchain in rust-toolchain.toml
The file is the one source: the jobs install what it names through
craft-common-actions' rust-channel action, and the nightly run opens a pull
request that changes only the file when a newer stable exists.

Part of #15711
2026-11-20 04:14:10 +00:00
FredApps 514c04159a Merge pull request #14246 from HankGrimm/docs/affinity-readme-links
docs: point the Affinity format-notes links at craft-libs
2026-11-20 09:57:35 +07:00
HankGrimm fc034940b8 Merge branch 'main' into docs/affinity-readme-links 2026-11-20 09:25:49 +08:00
David Mann a792cac8c6 Merge #12094 into the merge queue batch
Add a contextual task bar to Free Transform
2026-11-20 02:04:27 +01:00
aiongg f63ed56fe8 Merge pull request #15782 from aiongg/engine-split-registry
Engine install registry (#15710)
2026-11-19 18:16:25 -05:00
Mex 9b67220c92 docs(automation): clarify null params for doc.render
Document the tested shorthand for an empty request and the distinction between inline PNG and string output paths.
2026-11-19 22:50:11 +01:00
yoriswind c56c5bfb5d Document implemented contextual task bar contexts and limits 2026-11-19 13:17:03 -08:00
aiongg 9406da9c6f engine_split: codemod usage says --head is pre-rebase, reports command_ids and private modules; contributing names TABLES 2026-11-19 20:22:30 +00:00
David Mann 47c5abbecd Merge #13714 into the merge queue batch
Batch: the error log is UTF-16 big-endian with Start Batch / End Batch and native paths (#13665)
2026-11-19 21:04:29 +01:00
haranishi 546104e0ff Restore the Pen cursor benchmark on the shared UI framework 2026-11-20 02:45:08 +09:00
David Mann 363f37f6c8 Merge pull request #15685 from davidmann4/integration-batch-21
Integration batch 21: EPIC-UI-REWORK PRs green on main (WIP)
2026-11-19 17:17:24 +01:00
aiongg 9d9b465e08 Merge pull request #15712 from aiongg/ci-build-once
ci: build the tests once per OS, keep compiled workspace crates, balance the shards
2026-11-19 10:08:34 -05:00
David MannandClaude Opus 5.5 81fe85e318 Regenerate docs/scorecard.md after merging main
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 15:19:27 +01:00
FredApps c0011b0142 Refresh generated reliability scorecard 2026-11-19 13:32:00 +01:00
hnoerenberg 563b7820c3 Merge upstream/main into fix/gif-preserve-indexed-palette-11824 2026-11-19 13:10:49 +01:00
aiongg c9746558d7 ci: build the tests once per OS, keep compiled workspace crates, balance the shards
- Both gate calls build the tests once into a nextest archive (cargo xtask ci archive); the
  shards run it, and the build job runs the doctests after the upload.
- The Linux gate keeps the compiled workspace crates in a rolling cache entry
  (cache-workspace-crates). A nightly cold build is its safety net; gate-cache-prune keeps the
  newest entry. test (without heif) restores that entry.
- The shards split the tests with nextest's slice partition, which spreads the slow modules:
  on one main run's times the non-GPU shards go from 728/493/523 s (hash) to about 602/506/625 s.

Fixes #15702
2026-11-19 08:06:05 +00:00
aiongg ec40c48cc2 ci: build the tests once per OS and run the shards from a nextest archive 2026-11-19 06:34:17 +00:00
David MannandClaude Opus 5.5 9be5f35235 Integration: regenerate docs/scorecard.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:44 +01:00
David Mann 49be48eb6c Merge PR #15631: Control channel: list and cancel every dialog by the id it replies with (#15544) 2026-11-19 01:40:36 +01:00