Commit Graph
16553 Commits
Author SHA1 Message Date
Dan 00aabb53bd Integrate atomic Layer Style confirmation with current main 2026-11-25 19:49:12 +00:00
David Mann 5f8d3d0fb2 Merge queue batch #16982: #15966, #15801, #16442, #15186, #16958, #16971
Merge queue batch: 6 PRs (#15966, #15801, #16442, #15186, #16958, #16971)
2026-11-25 20:35:29 +01:00
David Mann b2678c8eeb Merge #16971 into the merge queue batch
Move tool: show directional drag distances
2026-11-25 19:05:47 +01:00
David Mann 5e33fa6a70 Merge #16958 into the merge queue batch
Layers: Layer from Background's History state reads "Make Layer" (#16760)
2026-11-25 19:05:47 +01:00
David Mann 09a962da6b Merge #15186 into the merge queue batch
Create Ellipse: its range alert carries the dialog's own title (#13230)
2026-11-25 19:05:47 +01:00
David Mann 7095c743d9 Merge #16442 into the merge queue batch
Color Lookup: Image > Adjustments interpolates tetrahedrally and dithers by default (#14419)
2026-11-25 19:05:46 +01:00
David Mann fa3ce3fc6c Merge #15801 into the merge queue batch
File › Place Embedded: the picker is titled Place Embedded (#14110)
2026-11-25 19:05:46 +01:00
David Mann 8a16296b97 Merge #15966 into the merge queue batch
fix(engine): the Spectrum and system Color Table presets run in the reference order (#14344)
2026-11-25 19:05:46 +01:00
David Mann 13520900d3 Merge queue batch #16959: #16948, #16127, #16147, #16153, #16298, #16312, #16309, #15233, #16009, #16479, #16183, #16651, #16175, #16023, #16065
Merge queue batch: 15 PRs (#16948, #16127, #16147, #16153, #16298, #16312, #16309, #15233, #16009, #16479, #16183, #16651, #16175, #16023, #16065)
2026-11-25 19:01:28 +01:00
Ian 9a9c391d60 Move tool: show directional drag distances 2026-11-25 11:31:43 -05:00
David Mann eff5cf198a Merge #16065 into the merge queue batch
Define Brush Preset: tips up to 5000 px, unavailable for larger areas (#14275)
2026-11-25 17:31:42 +01:00
David Mann 80a19d25ee Merge #16023 into the merge queue batch
Canvas Size: a relative size in percent grows or shrinks each side by that share (#14541)
2026-11-25 17:31:41 +01:00
David Mann 7876190068 Merge #16175 into the merge queue batch
#14293: Define Custom Shape stores a targeted path together with the active shape layer
2026-11-25 17:31:41 +01:00
David Mann 92a7f23f42 Merge #16651 into the merge queue batch
Render Video: Alpha Channel option for PNG sequences (#14163)
2026-11-25 17:31:40 +01:00
David Mann 9b2cd89b21 Merge #16183 into the merge queue batch
Auto-Blend Stack Images: the bottom layer shows everywhere (#14212)
2026-11-25 17:31:40 +01:00
David Mann 44c2a2937d Merge #16479 into the merge queue batch
Patterns paint the grey profile's greys in Grayscale documents (#14975)
2026-11-25 17:31:39 +01:00
David Mann 5eaa0d880a Merge #16009 into the merge queue batch
Layers panel: a group row offers New Artboard and Artboard from Group (#14566)
2026-11-25 17:31:39 +01:00
David Mann e376c2311e Merge #15233 into the merge queue batch
Layer Style: the stroke command refuses an eleventh stroke (#15140)
2026-11-25 17:31:38 +01:00
David Mann 8a91901305 Merge #16309 into the merge queue batch
Freeform and Curvature Pens: right-click opens the Pen's path menu
2026-11-25 17:31:38 +01:00
David Mann d577fabd27 Merge #16312 into the merge queue batch
Rectangle, Ellipse and Polygon tools: Alt-click picks the foreground and Fill
2026-11-25 17:31:37 +01:00
David Mann b60b4f8981 Merge #16298 into the merge queue batch
Spot Healing Brush: alerts for a hidden layer, Lock All and a group
2026-11-25 17:31:37 +01:00
David Mann 2d9e145176 Merge #16153 into the merge queue batch
Layer Style: a new Drop Shadow starts with the last committed values
2026-11-25 17:31:36 +01:00
David Mann 7f285b3803 Merge #16147 into the merge queue batch
Fill new shape layers drawn from open pen paths

# Conflicts:
#	crates/ui-egui/src/tools/vector_ui/pen.rs
2026-11-25 17:31:36 +01:00
David Mann 6e11fa7d2f Merge #16127 into the merge queue batch
Tests: the Triangle tool's Make row in Path mode
2026-11-25 17:31:35 +01:00
David Mann c4d35fa941 Merge #16948 into the merge queue batch
Star tool: the points field sets the next star's points, 3 to 20
2026-11-25 17:31:34 +01:00
Prajwal Raj 51aded665f Create Ellipse: its range alert carries the dialog's own title (#13230)
Since the move to the craft UI framework, the Create Shape dialogs already
keep the closest size and raise the "Closest value inserted" alert, but
every one of them titled it PhotoCraft. The reference titles the Create
Ellipse alert with the dialog's name, so open() now leaves alert_title
unset for the Ellipse and the framework falls back to the dialog's own
title. Rectangle, Triangle and Polygon were not measured and keep
PhotoCraft.

Fixes #13230
2026-11-25 22:00:51 +05:30
x-labb 2aa6e06571 Color Table preset tests: start from the installed command registry (#14344) 2026-11-25 16:56:45 +01:00
RickiNano 37c3c0a32c Merge remote-tracking branch 'origin/main' into s073-16442
# Conflicts:
#	crates/engine-core/src/cmd/table/image/adjustments.rs
2026-11-25 16:34:48 +01:00
RickiNano 029cbe6c7f Color Lookup: a smart filter's unknown interpolation reaches its editor unchanged
lookup_filter_params applied the legacy tetrahedral flag before checking the
interpolation name, so {"interpolation":"unsupported","tetrahedral":false}
came back as trilinear although lookup_from_params refuses it. Check the
name first.
2026-11-25 16:24:40 +01:00
David Mann 830316b775 Merge pull request #16955 from davidmann4/fix/16905-repin-own-window-moves
RAW Develop's window moves and resizes again (#16905)
2026-11-25 16:11:58 +01:00
David Mann 1d5af6458e Merge queue batch #16952: #16686, #16417, #16945, #16935, #16012, #16534
Merge queue batch: 6 PRs (#16686, #16417, #16945, #16935, #16012, #16534)
2026-11-25 16:07:27 +01:00
RickiNano 34238f8b55 Layers: Layer from Background's History state reads "Make Layer" (#16760)
The menu entry, the double-click and the lock icon on the Background row
and a recorded action step all run layer.new.layerFromBackground, which
named its one History state "Layer From Background". The reference
application names it "Make Layer".
2026-11-25 16:02:57 +01:00
Sir Starch 61abd76ec6 Merge remote-tracking branch 'upstream/main' into fix/place-embedded-title-14110 2026-11-25 15:38:06 +01:00
David MannandClaude Opus 5.5 23e432ab7d Cargo.lock for craft-libs next a165ef3a2c
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:14:21 +01:00
David MannandClaude Opus 5.5 6604a4cec8 Move craft-libs to storytold next a165ef3a2c and egui to b15ffe9bf (own-window dialogs move and resize, storytold/craft-libs#3476)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:09:15 +01:00
David Mann 416983ec51 Merge #16534 into the merge queue batch
fix(ui): Calculations channel dropdowns list Gray/RGB/Layer Mask/Transparency (#14521)
2026-11-25 14:55:30 +01:00
David Mann a9b731d104 Merge #16012 into the merge queue batch
Brightness/Contrast: refuse a hidden or empty pixel layer (#14359)
2026-11-25 14:55:29 +01:00
David Mann 5a635583f4 Merge #16935 into the merge queue batch
feat(dialogs): the Calculations dialog previews its result channel in grey
2026-11-25 14:55:29 +01:00
David Mann 8b2d05dbab Merge #16945 into the merge queue batch
Free Transform: Rotate and Flip presets commit on whole pixels
2026-11-25 14:55:28 +01:00
David Mann 71f317aa2f Merge #16417 into the merge queue batch
fix(algo): HDR Toning stretches an ordinary image to the full range (#14723)
2026-11-25 14:55:28 +01:00
David Mann ac393630ea Merge #16686 into the merge queue batch
feat(vector): every Pen click gets its own History entry (#12890)
2026-11-25 14:55:27 +01:00
skylar taylor-barrick 9d317c5fbb Enable the PhotoCraft nightly for supervised manual runs (#16594)
* Prepare dormant PhotoCraft release-ref nightly callers

* Keep dormant nightly callers lintable and guarded

* Refresh dormant nightly policy and shared-source pin

* Pin the dormant nightly callers to merged craft-common-actions main

craft-common-actions #330 merged as 077d4657. Both reusable workflows keep the
same inputs and secrets; the callers stay literally off.

* Finish the Nightly session in the app's exit hook

On macOS every quit (Cmd+Q, the close button, File > Quit, app.quit) leaves
through craft::quit, which sends -[NSApplication terminate:]. winit's
applicationWillTerminate: delivers LoopExiting, eframe runs the app's
on_exit, and AppKit then ends the process, so eframe::run_native never
returns there and the controlled-return code after it (the Nightly
session finish) never ran: every Mac Nightly start reported the previous
session as unclean.

Services gets an at_exit hook that on_exit runs once, last. The desktop
app finishes the shared Nightly session there, and again after run_native
for the paths that create no window (renderer failure), where the second
call is a no-op.

* Add the Apple-silicon Nightly build, signing and verification scripts

packaging/macos/nightly.sh compiles the GUI-only PhotoCraft Nightly.app
for aarch64 with no signing material (it refuses any) and writes the
unsigned photocraft-<version>-macos-aarch64-nightly.zip: the nightly-common
source and identity checks, nightly_plist.py's Info.plist, the Nightly icon
and notices, no CLI, DMG or document types, zipped without xattrs. It no
longer runs the bundle before signing.

packaging/macos/nightly-sign.sh is the trusted step the shared signer calls
(--arch aarch64 --input <unsigned zip> --output <final zip>). It requires
all six release secrets, imports the Developer ID with import-cert.sh into
a private keychain it deletes on exit, signs inside-out with the hardened
runtime, timestamp and entitlements, notarizes with notarytool, staples the
ticket into the bundle, and checks the final archive as the Launcher
unpacks it (signature, team, ticket, Gatekeeper) before writing it without
replacing anything. It never compiles or runs the payload.

packaging/macos/nightly-verify.sh runs in a job without secrets (it refuses
any): the same archive checks, then the bundle's --version with an empty
environment, for the signed feed artifact or the unsigned compile output.

nightly-common.sh splits the compile from the version query; Linux keeps
both. The new suite runs the scripts against stand-in Apple tools.

* Build the unsigned macOS Nightly in pull-request CI

A hosted macos-15 job, with no secrets or environment, builds the
aarch64 Nightly bundle with packaging/macos/nightly.sh when a pull
request changes the Mac Nightly packaging or flavor, and checks it with
nightly-verify.sh --expect unsigned, including the bundle's version.

* Add the Linux row to the dormant nightly callers

The single unsigned producer job lists linux-x86_64 beside windows-x86_64:
one producer run builds both platforms for one all-or-nothing release, and
the release-ref signer admits platforms from the protected policy, so there
is no separate Linux job and nightly-sign.yml is unchanged. The pinned shared
revision has no platforms input or Linux leg yet; the callers must be
re-pinned to a reviewed commit that defines them before activation. Every
job stays literally off.

The policy example moves to v3 with a per-platform map; each platform keeps
only its own trust anchor and every authority value stays null.

Packaging lint path filters now cover the files the contract tests read: the
policy example, the installed policy and Linux key paths, and the Sonar
properties.

* Cap the failure-only notarization log in nightly-sign.sh

The shared signer bounds a step's output at 256 KiB; notarytool's log on a
rejected submission is the one large output, now cut at 128 KiB.

* Add the macOS row and stable trust anchors to the dormant nightly callers

The single producer job now lists windows-x86_64, linux-x86_64 and
macos-aarch64, so one producer run builds all three platforms for one
all-or-nothing release. The signer caller still has no platform input; the
release-ref signer admits platforms from the protected v3 policy and reads
signing secrets from the release environment, so neither caller forwards
secrets.

Both callers pin a placeholder for the unmerged multi-platform shared
signer. It must be replaced with the reviewed merged commit before this is
published or activated. Every job stays literally off with no schedule.

The v3 policy example now carries each platform's fixed
nightly-unsigned-<platform> artifact kind and stable's public identities:
the Windows Authenticode subject, the Linux release key fingerprint and the
Apple Developer ID team DJ6XS33FX8 (read from the v0.23.1 macOS code
signature). Other authority values stay null and no policy is installed.

.github/nightly-linux-signing-key.asc is the v0.23.1 release-signing-key.asc
byte for byte. The contract tests check that it holds exactly one public
primary key matching the policy fingerprint, that every platform row names its
artifact kind and identity, and that both callers share one pin.

* Address review: macOS-only exit hook, clean-tree recheck, wider refusals

- The Nightly exit hook is installed only on macOS; Linux and Windows keep
  finishing the session after run_native returns.
- nightly_build_gui checks the tree is still clean after --version (Linux).
- nightly_refuse_signing_env also refuses the Windows, Azure and Linux
  signing names release.yml passes.
- nightly-sign.sh drops the single spctl run before the retried final check.
- nightly-macos.yml also runs for Cargo.toml, Cargo.lock and the text and
  ui-egui build scripts.

* List the macOS Nightly signing tests as tests for Sonar

packaging/macos/nightly_sign_tests.py is a fixture runner like the other
nightly suites; without this Sonar counts it as production code.

* Run the macOS Nightly PR build only with the full-ci label

macOS runners are shared with release builds: no path filters, and a pull
request runs the job only when it carries full-ci (a labeled event only
when the added label is full-ci). ci.yml's concurrency pattern keeps other
labels from running or cancelling a run. workflow_dispatch stays.

* Pin the nightly callers to the merged multi-platform shared signer

Both callers now name craft-common-actions a4f6fd51e854773de8b24b4f92e1ad7e770c08d7, the main
commit that merged #342 (policy v3, the platforms input and the Linux and
macOS legs, all switched off), in uses and tooling-revision. The contract
test now also requires a full 40-character commit for the shared pin.
Every job stays literally off with no schedule.

* Keep the unsigned macOS Nightly archive as a short-lived artifact

Seven-day retention, unsigned zip only, no secrets. It lets keyless signer tests and hand
testing use the exact verified build.

* Keep unlabelled events out of the macOS build's concurrency group

A push to a full-ci PR and the label event arrive together; the event that would be skipped
was sharing the group and cancelling the real build.

* Stop the macOS Nightly scripts' --help at their header comment

* Answer the Launcher's profile-form version query before startup (#16559)

`PhotoCraft --launch-profile nightly-v1 --profile-root <dir> --version`,
the shared producer's smoke, was refused by the strict launch-profile
parser (no `--`), and the refusal opens a native dialog on macOS, which
never returns on a headless runner: the hosted run did not exit in 180 s.

A Nightly build now treats exactly the selector/root pair followed by
`--version` or `-V` as a version query: the same line as plain
`--version`, exit 0, before root validation, process identity, IPC or any
window. Only parse()'s lexical checks apply; every other refusal is
unchanged and `-- --version` stays a file name.

nightly-verify.sh checks both forms, each within 15 seconds and with
nothing on standard error, so the PR's Mac build covers the smoke.

* Harden the Mac Nightly signing helpers (review of #16559)

- nightly_publish_archive runs python3 -I: nightly-sign.sh calls it with
  the signing secrets loaded, so no module from the working directory or
  user site may be imported.
- nightly-sign.sh and nightly-verify.sh list the archive's entries before
  unpacking (python3 -I, zipfile) and refuse absolute paths, `..`, empty
  or backslash components, entries outside PhotoCraft Nightly.app, links
  and special files. The check after unpacking stays.
- The signature check matches the Identifier line literally (grep -F).

* Describe the three-platform nightly and the two signing entities

releasing.md now covers Windows, Linux and macOS and names the macOS signing
scripts and the Linux public key in the release trust review. The preparation
guide lists `platforms` among the unsigned inputs and states the exact macOS
Developer ID leaf (Learning Machines LLC, team DJ6XS33FX8). The Windows
certificate names Learning Machines Inc, and only the team ID is enforced on
macOS.

* Enable the PhotoCraft nightly for supervised manual runs

The producer and release-ref signer callers drop their literal off-guard and
keep only their exact context guards. Both run only when dispatched by the
reviewed manual actor, skylartaylor, who is listed in the producer's
manual-actors and in the policy. nightly-dispatch.yml stays off and there is
no schedule.

.github/nightly-signing-policy.json installs the v3 policy from values read
at their sources: the repository ID, the callers' shared pin, CI's workflow
and jobs, the SonarCloud project, gate and open vulnerabilities, and the
stable v0.23.1 platform identities. producer_workflow_id stays null until
nightly.yml is registered on main, so the shared validator refuses the policy
until that ID is committed.

The contract tests check the guards, the manual actor, the policy's ties to
the callers, Sonar properties and CI triggers. The preparation guide lists
each value's source.

* Pin the nightly callers to craft-common-actions #339

Both callers and the policy's tooling revisions move from a4f6fd51 (#342) to
605d58766e8f536564da8fc81d3676ac86816dea, the main commit that merged #339:
bounded lineage compares, an unresolved-issue reread at the end of candidate
admission and a 1024-character Windows subject bound at policy validation.
Neither callee's inputs nor the policy fields change.

* Let every release manager who can push start nightly runs by hand

The producer's manual-actors and the policy's manual_actors are now the five
members of the release-managers team (id 19837241) with push access:
bflatastic, dylanmtaylor, echelon, FredApps and skylartaylor, sorted the same
way in both. echelon-robot only has read access and is left out. There is
still no automatic signer, no schedule, and the dispatcher stays off.

The contract test requires that exact list in both places and refuses an
actor outside it, a reordered list or a case change.

* Fill in the producer workflow ID now that nightly.yml is on main

producer_workflow_id is 428462603, read from
gh api repos/storytold/photocraft/actions/workflows/nightly.yml (path
.github/workflows/nightly.yml, state active). The shared validator at the
callers' pin now accepts the policy as committed, and the contract test
requires a real numeric ID.

* Bring the nightly guide in line with the enabled callers

The guide no longer says the manual-actor lists are empty or the policy is
unpopulated: the producer and the installed policy both list the five
release managers. The test description now says only the dispatcher must
stay explicitly off, while the enabled producer and signer are checked for
their exact guards. The Windows subject bound is 1024 characters, as
validated since #339, and the remaining "dormant" wording is gone.

* Accept main's current Sonar vulnerabilities as debt for the first run

The policy's Sonar debt is now exactly main's 15 open VULNERABILITY issues,
re-read live from SonarCloud at analysis 19880b44-8bb0-4538-a124-437045a56be2
(commit 27c629f789): the 8 pinned before plus 7 new
pythonsecurity:S8707 issues in scripts/engine_split. The gate conditions are
unchanged. The epoch names the new analysis, and the guide records it.
2026-11-25 07:53:48 -06:00
David Mann 41a0723c58 Merge queue batch #16881: #15562, #16200, #16379, #16553, #16017, #16411, #16638, #16010, #15990, #16661, #16670, #16674, #16680, #16558, #16451, #16689, #16702, #16703, #16533, #16907, #16927
Merge queue batch: 21 PRs (#15562, #16200, #16379, #16553, #16017, #16411, #16638, #16010, #15990, #16661, #16670, #16674, #16680, #16558, #16451, #16689, #16702, #16703, #16533, #16907, #16927)
2026-11-25 14:40:25 +01:00
qvest-ssels fcd6eed991 Star tool: the points field sets the next star's points, 3 to 20
The Star tool's Sides field edited the Polygon tool's sides, and every star drag drew 5 points. The Star tool now has its own star_points option (5 to start and after Reset Tool), shown in the field and used by the drag. A value past 20 becomes 20 and a value under 3 becomes 3, each with the alert "An integer between 3 and 20 is required. Closest value inserted.". Fixes #16867.
2026-11-25 14:04:55 +01:00
David Mann 48ac8e57fc Merge #16927 into the merge queue batch
Smart Guides: Ctrl over the selected layer itself measures nothing (#16861)
2026-11-25 13:28:31 +01:00
David Mann e5ef7adfda Merge #16907 into the merge queue batch
Pasteboard menu: remove separator before Select Custom Color… (#16878)
2026-11-25 13:28:31 +01:00
David Mann 50fd48a706 Merge #16533 into the merge queue batch
fix(paint): Color replacement reads and writes through the document's CMYK profile (#11918)
2026-11-25 13:28:30 +01:00
David Mann 73b6140364 Merge #16703 into the merge queue batch
Clone Stamp: validate whole-percent brush edits and explain controls (#12607)
2026-11-25 13:28:30 +01:00
David Mann b3e8b34ff7 Merge #16702 into the merge queue batch
Dodge and Burn: expose brush angle and pressure for size (#12683, #12667)
2026-11-25 13:28:29 +01:00
David Mann ce4f3b87c9 Merge #16689 into the merge queue batch
Direct Selection: consecutive arrow nudges are one "Nudge Path" step (#13204)
2026-11-25 13:28:29 +01:00