Commit Graph
15095 Commits
Author SHA1 Message Date
David Mann 089d2f8942 Merge branch 'pr-14413' into pr-14454
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:19:14 +01:00
David MannandClaude Opus 5.5 e33b62659d PR #14413: the Include Background tests export Artboard Content Only
Red and Blue Board overlap in the test document. Include Overlapping Areas, the default since #14381, puts Blue Board's pixels on the Red Board page, so the tests, written before it, now ask for Artboard Content Only unless they set the content themselves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 19:18:53 +01:00
David Mann c9d5892806 Merge branch 'pr-14381' into pr-14413
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:07:21 +01:00
David Mann ce61a98e1c Merge branch 'pr-14321' into pr-14381
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:03:59 +01:00
David MannandClaude Opus 5.5 b689784b4b PR #14321: Include Artboard Name shows without Export Options
A form section's body runs to the next section and hides with it. Below the Export Options section the Include Artboard Name checkbox showed only while Export Options was ticked; both checkboxes now come before either section.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 19:03:40 +01:00
David Mann d44259eba2 Merge branch 'pr-14361' into pr-14321
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 18:48:28 +01:00
David MannandClaude Opus 5.5 9c3a994ed6 PR #14361: the Reverse Page Order dialog test exports every board
Export Selected Artboards from main opens ticked while a board is selected, so the dialog exported one page and the test, written before it, expected two.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 18:47:52 +01:00
David Mann 137d18b82c Merge branch 'pr-14292' into pr-14361 2026-11-21 18:35:55 +01:00
David MannandClaude Opus 5.5 1a7f95c13e PR #14292: drop the import the merged export loop no longer uses
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 18:35:40 +01:00
David MannandClaude Opus 5.5 449cec5def PR #14454: the PDF overlap radio test reads the first radio pair, now that the page mode pair is below it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:41:25 +01:00
David MannandClaude Opus 5.5 02e6d6966e cargo fmt after merging #14272
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:40:50 +01:00
David MannandClaude Opus 5.5 d5a3e093a4 PR #14361: the Artboards to PDF params doc has a plain arrow again
The Reverse Page Order change wrote the arrow before the result as mis-decoded UTF-8 (three Latin-1 characters).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:38:14 +01:00
David MannandClaude Opus 5.5 c8e47b7b30 Merge PR #14413 (with #14381, #14321, #14361, #14292 and #14272) into #14454
Artboards to PDF keeps Document Per Artboard together with Include
Overlapping Areas, Include Background in Export (soft-masked pages,
in both modes), Reverse Page Order (the page names turn with the
pages, so each per-artboard file keeps its board's name) and the
scratch check before the files are written. The params doc lists
every option.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:37:48 +01:00
David Mann 6fc0d8bd57 Merge remote-tracking branch 'origin/main' into pr-14454
# Conflicts:
#	crates/ui-egui/src/menus/view_cmds/dialogs.rs
2026-11-21 17:36:40 +01:00
David MannandClaude Opus 5.5 149610c6c9 Merge PR #14381 (with #14321, #14361, #14292 and #14272) into #14413
Artboards to PDF keeps Include Background in Export together with
Include Overlapping Areas, Reverse Page Order and the scratch checks:
pages come from the chosen board documents with their board ids (for
the hidden-board rule), and the shared JPEG page helper also returns
the soft mask taken from the composite before it goes over white. The
params doc lists every option.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:36:24 +01:00
David Mann 60aa3b2718 Merge remote-tracking branch 'origin/main' into pr-14413
# Conflicts:
#	crates/ui-egui/src/menus/view_cmds/dialogs.rs
2026-11-21 17:35:30 +01:00
David MannandClaude Opus 5.5 33d7f9d527 Merge PR #14321 (with #14361, #14292 and #14272) into #14381
Artboards to PDF keeps Include Overlapping Areas / Artboard Content
Only next to Reverse Page Order, and builds its pages through the shared
JPEG page helper with the scratch checks. The params doc lists both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:35:03 +01:00
David Mann 93d21f12e0 Merge remote-tracking branch 'origin/main' into pr-14381
# Conflicts:
#	crates/ui-egui/src/menus/view_cmds/dialogs.rs
2026-11-21 17:34:33 +01:00
David MannandClaude Opus 5.5 13bd6c27d0 Merge PR #14361 (with #14292 and #14272) into #14321
Artboards to Files keeps Include Artboard Name with its Name Options,
the reference File Type list with its scratch checks and the per-type
Export Options: the name border is added first, then the type's
options apply, and both form keys are stripped or nested before the
command runs. The params docs are merged into one, and the include-name
dialog tests pick PNG-24, now that the list has no plain PNG.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:34:15 +01:00
David Mann b2c763a003 Merge remote-tracking branch 'origin/main' into pr-14321
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 17:33:04 +01:00
David MannandClaude Opus 5.5 3955245a67 Merge PR #14292 (Artboards to Files Export Options and File Type list) into #14361
Artboards to PDF keeps its Reverse Page Order and gains the scratch checks before the write.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:32:48 +01:00
David Mann 0677417098 Merge remote-tracking branch 'origin/main' into pr-14361 2026-11-21 17:32:26 +01:00
David MannandClaude Opus 5.5 5fa29351fd Merge PR #14272 (Artboards to Files File Type list) into #14292
Artboards to Files keeps both: the reference File Type list (PNG-8,
PNG-24, PDF, Targa; PSD chosen when the dialog opens) with its scratch
checks before every write, and the per-type Export Options with their
warnings. The options of PNG apply to PNG-8 and PNG-24, a PNG-8 asked
to interlace says it is written without, the params docs are merged
into one, and the Export Options dialog tests use PNG-24 and cover
Targa.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 17:32:16 +01:00
David Mann 1af7ecaeab Merge remote-tracking branch 'origin/main' into pr-14292 2026-11-21 17:29:26 +01:00
David Mann dc405d077a Merge pull request #16180 from aiongg/frame-t2t3
Memoized views for the status bar, menu model, brush picker and preset lists; pin craft-libs next
2026-11-21 17:19:55 +01:00
aiongg 919e66b497 Palette trial: every entry keeps its command's English name, as its label or beside a translated label 2026-11-21 15:05:22 +00:00
aiongg 78ea49c77e Clippy: preset rows take slices, a named type for a resolved gradient, no explicit derefs of the Tracked brush and presets in tests 2026-11-21 14:34:53 +00:00
aiongg 3b04515f1c Migrate Presets writes the presets only when it adds a group: a migration that adds nothing leaves their revision alone 2026-11-21 14:34:53 +00:00
David Mann da58055365 Merge pull request #16176 from davidmann4/fix/16172-home-rail-icons-cards
Home: the old Discord and GitHub icons, recent cards of one size (#16172)
2026-11-21 15:15:14 +01:00
aiongg 4a5555bdcb Pin craft-libs next 7d8b961515 (craft-libs#2756) 2026-11-21 14:11:22 +00:00
David MannandClaude Opus 5.5 0203c5865d Repin craft-libs next at 2946b2041
Brings in storytold/craft-libs#2758 (New Document: Background Contents
before the advanced fields, the save-preset icon on the Name row, section
captions), #2762, #2767, #2770, #2729, #2785 and #2569.

previews, stroke trails and Object Finder hover masks now take a Serials.
The app holds one (texture_serials) for all of them, since a preview of one
name is made in several places (a transform begins in one, re-renders in
another). The Object Finder job sends the region only; its mask is made on
the UI thread, as a cache hit's already is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:10:27 +00:00
aiongg 6f6466987a PhotocraftApp::commands_run goes: nothing reads it since the region versions went 2026-11-21 14:07:16 +00:00
aiongg d370e394e0 Canvas brush picker: it closes when its popover writes its binding; the output's open is false in a run that shows no layer 2026-11-21 14:07:16 +00:00
aiongg da93d53af6 The canvas brush picker is a memoized view; idle trial: an idle open picker runs no component 2026-11-21 14:07:16 +00:00
aiongg 4bfb5c7567 Preset lists as sources: brush picker, Brushes panel, tip grid, preset panels and pickers, Fill, Pattern Fill, Layer Style and the Preset Manager build their rows from MemoProps inputs; brush picker count trials 2026-11-21 14:07:15 +00:00
aiongg c9ebb9246d Menu facts build fixes; the gate's refused list derived from the menu facts; trials run engine commands directly 2026-11-21 14:07:15 +00:00
aiongg 7ba70a634e Menu floor trials: idle key bytes equal at small and large model sizes, no derived builds when settled, a status message runs only the status view, the menu model builds only for a shown fact, and the held model equals a fresh build after each step of a script 2026-11-21 14:07:15 +00:00
aiongg 4a97e311c8 Status bar as one memo view: StatusProps with the values, item, view, messages and progresses, events through an Outbox; the job's progress is a pure value (jobs_ui::status_job) 2026-11-21 14:07:15 +00:00
aiongg 292cdc6dc5 Menu model derived from MenuFacts: the facts the rows show, through their revisions or as small plain values; state_hash, had_input and the hash-keyed MenuModel go; the native menus re-sync on the bar's revision and the keymap. PresetState.rev gives way to the Tracked revision, saves that rename a document move documents_generation, and the default proof setup shares the built-in profile 2026-11-21 14:07:15 +00:00
aiongg 4c78950e68 Menu facts, step 1: session areas the rules read held in Tracked
The clipboards, the presets, the colour proofs and the image-assets list become
Tracked, so the menu's facts can key on their revisions. DocId derives PlainData
and MemoProps. UI: the recent files and the workspaces become Tracked.
2026-11-21 14:07:15 +00:00
aiongg c19d432dec UiState saves its Tracked fields through the facade's tracked-serde feature and compares by value again 2026-11-21 14:07:15 +00:00
aiongg a8f21a383d Brush tip is Tracked: the Brush Preset field runs only for the presets, the tip and the values it shows
photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's
tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle,
roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial:
brush_settle_trials.
2026-11-21 14:07:15 +00:00
aiongg a3eb80d5dd Memoized views: options bar lead, Brush Preset field, Brush Settings toggle, paint members, Brushes and Color panels
The picker's and the Brushes panel's view states are Tracked; the trials count memoized views.
2026-11-21 14:07:15 +00:00
aiongg cf84333049 Brush and presets are Tracked
The engine's ToolState.brush and ToolState.presets are Tracked, so a memoized view that shows them keys on their revisions; photocraft-paint's brush types derive PlainData.
2026-11-21 14:07:15 +00:00
David MannandClaude Opus 5.5 8f3e231794 Home: the old Discord and GitHub icons, recent cards of one size (#16172)
Discord and GitHub shared a globe icon since the framework move; they get the
speech bubble and the chain link back. The recent cards grew to fill the row
(about 390 points at a desktop width); they keep one size again, about 230
points, as many to a row as fit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:25:40 +01:00
David Mann fbd84f2d88 Merge pull request #16092 from davidmann4/integration-batch-23
Integration batch 23: EPIC-UI-REWORK tab close, Tile titles, Custom Shape Alt-click, Lens Blur depth channel
2026-11-21 13:54:13 +01:00
David Mann b228042786 Merge main into integration batch 23 2026-11-21 12:01:36 +01:00
David MannandClaude Opus 5.5 e1af1f7b7b Batch fix-up for #15883: Lens Blur depth channel stays with its document
Lens Blur's Depth Map Source names an alpha channel by its index in the
document the dialog opened on. With #15883 that index now reaches the
command, so when the control channel makes another document active under
the open dialog (`ui.window.open`), preview and OK would blur by the other
document's channel at the same index. The dialog now captures its document
at open, like Match Color captures its destination, and preview and the
held OK refuse a channel source on another document. Back on the first
document, OK applies it. A Smart Filter edit keeps its own target check.

Found by review on the integration batch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 12:01:21 +01:00
FredApps e20e9a9e8e Merge pull request #8895 from jturnbach/fix/8389-stroke-spacing-warning
fix(engine): paint.stroke warns when its spacing leaves only the firs…
2026-11-21 17:48:39 +07:00
FredApps bbdad67c1a #8895: enable pressure sizing in the stroke warning test 2026-11-21 11:29:09 +01:00