Commit Graph
15001 Commits
Author SHA1 Message Date
Mex f0f09d33f3 docs: remove unavailable Windows x86 downloads 2026-11-21 17:31:49 +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
David Mann 4e896bbfbe Merge PR #15765: Show each document's title and close control in Tile 2026-11-21 11:09:35 +01:00
David Mann 33ce9d6184 Merge PR #15835: Document tab menu: Close, Close Others and Reveal in Finder act on the clicked tab 2026-11-21 11:09:28 +01:00
David Mann 720aa5c1c4 Merge PR #15993: Restore Custom Shape Alt-click colour sampling (#15856) 2026-11-21 11:09:22 +01:00
David Mann 5ff1de10c4 Merge PR #15883: Lens Blur: an alpha channel as the depth map runs again (#15882) 2026-11-21 11:09:17 +01:00
FredApps b4a4443b1e #8895: preserve the fill path when merging main 2026-11-21 11:08:34 +01:00
aiongg 42c853396d Merge pull request #16050 from aiongg/pin-next-1121
Pin craft-libs next 683fe0603
2026-11-21 00:51:37 -05:00
aiongg 0cc267d2db Export As trial reads the registry through install::command_specs, so it holds in a process of its own 2026-11-21 05:08:14 +00:00
aiongg f454882458 Pin craft-libs 683fe0603: photocraft-doc holds LayerId as plain data without the UI
craft-layers keys tree ids by their Hash (craft-libs#2774), so photocraft-doc depends on craft-tracked and craft-ui-macros instead of craft's ui feature, and the layering check passes.
2026-11-21 04:34:23 +00:00
aiongg fa384d87b3 Panel docking: no explicit deref for the kept panel set (clippy explicit_auto_deref) 2026-11-21 04:19:28 +00:00
aiongg cfa1d0e7cf Pin craft-libs next 614f4d5f1
The dock keeps an Arc<Workspace> and a Tracked spec model, the toolbar rail
takes Tracked slots, the Layers panel holds its rows as plain data in a
Tracked, and the menu bar is a Tracked model keyed for the native menu's
sync. PhotoCraft states the Creative component set. Export As lists its
resample methods, and layer.exportAs describes them, in the engine's order.

Part of #15476
2026-11-21 03:55:47 +00:00
David Mann 06afefff53 Merge pull request #16002 from davidmann4/repin/craft-libs-next-home
Repin craft-libs next (memoized views, Home screen, scroll bars, dialog fixes, default agent folder)
2026-11-21 00:45:52 +01:00
David Mann f1c56c2db7 PDF editable import: a dashed zero-length subpath with butt caps paints nothing
craft-libs next's hayro resolves degenerate subpaths before stroking
(ISO 32000-2 8.5.3.2: only round caps paint them), so for butt caps the
zero-length subpath no longer reaches the importer and the page stays
editable. The test now checks that: no warning, one shape with only the
visible line, its dashes kept. The guard in push_shape stays for paths
that still carry such a subpath.
2026-11-20 23:49:48 +01:00
David Mann 3bd0223b13 Pin craft-libs next at 50e00dd49 with the default agent folder
next now has storytold/craft-libs#2550 (the default agent folder and the
agent_folders answer), #2612 (snap targets reach past their spans), #2631
(scroll bar arrows take no keyboard focus) and #2634 (Enter in the hex
field confirms).

- next vendors vello_common and vello_cpu for hayro; the patch section
  follows it.
- craft_pdf::raster::Options gained max_coverage; the PDF importer keeps
  craft-pdf's default (None).
- storytold/craft-libs#2363 gates a component's story-suite registration
  on its crate's own `suite` feature and emits it ungated without one,
  which needs craft's test kit in every build. ui-egui declares `suite`
  (off): PhotoCraft runs no craft story suite.
2026-11-20 22:47:44 +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 Mann b9f0711784 Format the rulers scroll bar assertion 2026-11-20 20:20:57 +01:00
David Mann 9823868073 Rulers scroll bar test follows the document chrome; chrome trials wait for #15709
With document_chrome the accessible scroll bar is the track, one step
arrow (the bar's thickness) below the view's top. The two chrome settle
trials measure replaying that the memoized title bar and dock groups only
do once PhotoCraft's state is tracked (#15709).
2026-11-20 20:20:27 +01:00
David Mann 0f92ab7b1a Pin craft-libs next at e94e82dc8 and move to memoized views
craft-libs next merged storytold/craft-libs#2533: memoized views replace
the settling regions. The app follows it:
- the shell slots, the dock chrome, the panels and the tool rail no
  longer take content versions (the framework memoizes them), so the
  region versions and their trial go, with the keys that only fed them;
- Tool is MemoProps, as the tool rail's props;
- the menu bar's English-name hook is a capture-free function, reading
  the names the bar's model published;
- request_own_repaint is request_repaint;
- the drag trials count replayed memoized views.

Snap targets reach past their spans (reach_past_spans), as layer edges do
in the reference application; this needs storytold/craft-libs#2612.
2026-11-20 19:47:00 +01:00
David Mann 171e3a8579 Merge remote-tracking branch 'origin/main' into repin/craft-libs-next-home 2026-11-20 19:19:34 +01:00
aiongg 877d588440 Merge pull request #15897 from aiongg/repin-next-1120
Release fixes: pin craft-libs next (submenus, overlays, drag lag); tool overlays clip to the view
2026-11-20 13:17:06 -05:00
David Mann 3c22f8962c Merge remote-tracking branch 'origin/main' into repin/craft-libs-next-home 2026-11-20 18:53:14 +01:00
David Mann 473855a49f Merge branch 'repin-next-1120' of https://github.com/aiongg/photocraft into repin/craft-libs-next-home 2026-11-20 18:53:14 +01:00
David Mann 8477d24b13 Turn on the craft-libs fixes the app opts into
- Home screen: the rail's navigation (Home selected, Learn), the
  community links as its footer and the PhotoCraft title (home_layout).
- Document scroll bars: document_chrome (wider bars, arrows, corner).
- Save for Web: a typed width and height reach the export, replacing
  the percent; the ignored-slices notice shows, translatable.
- Stroke's Width declares px; New Layer's Opacity shares the Mode row.

Each with a test that fails without the change.
2026-11-20 18:52:55 +01:00
FredAppsandFredApps ec247bdcab Cover Move selection and transform clicks before the UI split (#15970)
* Use the document mutator in the damage-history fixture

* Compile the archive driver without framework-only lint dependencies

* Cover dormant Move selection and transform cases

* Check resized pixels when transform click commits

---------

Co-authored-by: FredApps <[email protected]>
2026-11-21 00:40:37 +07:00