Commit Graph
63 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 24738d4dd4 Perspective Crop: snap the drag start through the framework (#11803)
Main moved the tool's press and drag handling into craft-libs, so the
app-side snap_start is gone. storytold/craft-libs#4274 put the rule in
the framework's PerspectiveCropTool, which snaps through the canvas's
Snap the app already gives. Pin craft-libs at its current main, which
carries it, and port the tests to the new tool: a drag from beyond a
corner starts at it (also while dragging), one near an edge starts on
it, one inside or outside on one axis stays, Snap or Document Bounds
off changes nothing, and clicked corners stay put.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 20:00:19 +01:00
FredApps a24a1cb7ad Adopt retained UI registrations and paint storage (#17809)
* Adopt merged retained UI and paint storage across PhotoCraft

* Adapt UI inspections and preference labels to the shared revision

* Share retained-paint text inspection across UI tests
2026-11-29 18:02:25 +01:00
aiongg 86931c85e6 Pin craft-libs at the merge of craft-libs#3917 (requests taken, per-context sizing measures) 2026-11-27 19:20:33 +00:00
aiongg 35b60e9341 build: pin craft-libs at storytold/craft-libs#3900's head 7d9544226d 2026-11-27 15:19:10 +00:00
aiongg e7767a86c2 build: pin craft-libs at storytold/craft-libs#3900's head 47ba4dfd38
The frame-floor batch on storytold main with craft-libs#3801. toml moves
to 1.1.8, the version craft-update pins exactly.
2026-11-27 15:10:08 +00:00
David MannandClaude Opus 5.5 be49e08345 Pin egui at storytold/egui#65's merge commit and craft-libs at storytold/craft-libs#3801's head (#17148)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 15:15:54 +01:00
David MannandClaude Opus 5.5 b8304c6d5d build: craft-libs at storytold/craft-libs#3801's head (egui_fork::REV matches the egui pin)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 00:42:09 +01:00
David MannandClaude Opus 5.5 951cfadeeb perf(ui): a pointer move that changes nothing under the pointer runs no frame (#17148)
PhotoCraft turns on the framework's pointer-move gate
(storytold/craft-libs#3801, storytold/egui#65): a move with no button held
runs a frame only when what lies under the pointer changes, a drag runs, or
the pointer is over a canvas, which follows the pointer (its cursor, the
rulers' marks, the readouts). craft-libs and egui are pinned at those PRs'
heads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 00:27:41 +01:00
David MannandClaude Opus 5.5 d201f0ebe5 build: move craft-libs to storytold next a46af76c (storytold/craft-libs#3788 merged)
Also brings storytold/craft-libs#3773 (readout flicker between moves).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 22:17:14 +01:00
David MannandClaude Opus 5.5 a5fb6aa532 build: pin craft-libs at storytold/craft-libs#3788 (Layers blend rows replay, #17131)
main's pin 5d2c8bdcf with the PR's one change merged in; move to next once it merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 21:00:10 +01:00
David MannandClaude Opus 5.5 3a9b2eed72 Move craft-libs to storytold next 5d2c8bdcf4 (tool flyouts check the shown tool, storytold/craft-libs#3746)
The flyout rows check the shown tool and draw no empty ring before the
others (#17102). The new pin also carries:
- a list's toggle cell reports one access node, a CheckBox when it is
  one (craft-libs 73743edd0): the Brush Settings test clicks the
  Enable Scattering check box by that role;
- a color row with opacity (craft-libs 39a7ddf9d): four numbers read
  back as the fields' f32 Rgba value, so the printable-area test
  compares the area within f32's precision (file.print allows 2 pt).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 18:56:21 +01:00
David MannandClaude Opus 5.5 735f15b492 Agents: move craft-libs to next with the token cache fix (#17006)
craft-libs 5c30761a (next, with craft-libs#3599): a settings change
(agents off and on, another port) reads the agent token file again
instead of reusing a token from an earlier failed start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 01:39:05 +01:00
David MannandClaude Opus 5.5 09e1d1cb60 Agents: no UI freeze every 5 s from a refused token file (#17006)
Move craft-libs to the newest `next` (83a63bca, with craft-libs#3579)
and egui to the revision `next` pins (b9770908).

craft-libs#3579: the agent link no longer retries a refused token file
every 5 s from the UI thread (each try started whoami and PowerShell,
~300 ms), replaces a token file an older PhotoCraft wrote without
restricting it on Windows, and reuses the checked token when it retries
a taken port.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:21:56 +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 MannandClaude Opus 5.5 2f9362d241 Move craft-libs to storytold next 3656e8aaa4 (dock-gap fixes, storytold/craft-libs#3383, #3360, #3058, #3086, #3212)
On that pin DockAreaOutput.window_files is grouped per window; the files dropped on a floating panel's window are
flattened before they open (as aiongg/photocraft@54911df7f5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:11:59 +01:00
David MannandClaude Opus 5.5 39f8ba661d Move craft-libs to storytold next a3174010b7 (font-manager builds for wasm again, storytold/craft-libs#3399)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:45:04 +01:00
David MannandClaude Opus 5.5 a2a757a997 Move craft-libs to storytold next c6a4484bca and egui to a87d00caa (storytold/craft-libs#3357)
craft-libs next now names egui a87d00caa in craft::egui_fork::REV, so the egui-fork gate passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 21:20:21 +01:00
David MannandClaude Opus 5.5 87c83781ea Move craft-libs to storytold next a4db799563 (own-window dialogs keep their size, task bar keeps its controls)
Brings storytold/craft-libs#3269 (#16595) and storytold/craft-libs#3343 (#16657).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 20:42:16 +01:00
aiongg 218d0780fe Move craft-libs to storytold next 7762aab37b, which carries every release fix 2026-11-24 14:56:42 +00:00
aiongg 50b2584dcc Move craft-libs to rc-integration 3e5f0cbdbc (adds the memo view fill fix from craft-libs#3319: the title bar spans the window again) 2026-11-24 13:32:25 +00:00
aiongg 0a453eb6f7 Move craft-libs to rc-integration df7df7c663 (next 3238a3eca8 with the release fixes and craft-libs#3319) 2026-11-24 07:36:31 +00:00
aiongg 135a6b342f Move craft-libs to next
Pin craft-libs to the rc-integration branch and egui to the AccessKit-per-viewport branch, and follow the framework's API changes: swatch paints and the Registration kind, save answers as Picked::Saved, the Save for Web colour table as host-held shifts, Done in Save for Web, colour requests through StackDialog, zoom schemes, wheel schemes, glyph cells, face paints, preset selections, the print destination, and the command palette's search index.
2026-11-24 05:46:22 +00: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
aiongg 280de1fbf2 Pin craft-libs at 7ab3cf8196 (a rescan with no changes keeps the catalog generation) 2026-11-23 02:43:24 +00:00
aiongg cc716aa8ea Pin craft-libs at bb7e01295d (a row pick of the current family adds no edit) 2026-11-22 23:58:23 +00:00
aiongg 7e3a68e867 Pin craft-libs next 8d436f486a: font picker keys, sample text 2026-11-22 20:18:14 +00:00
aiongg 2fbdb300e3 Merge main into set-d-pin 2026-11-22 20:18:14 +00:00
aiongg 0bcffd2391 Merge PhotoCraft main; pin craft-libs at 20574f0ed4 (next 8d436f486a) 2026-11-22 20:07:39 +00:00
aiongg 5823239d3f Pin craft-libs at c57fac1215 (font live updates on next 27e5af8151) 2026-11-22 18:20:40 +00:00
aiongg d94ff170de Merge upstream main; pin craft-libs at 31ea44ee (next with the PhotoCraft font menu port and the live font catalog) 2026-11-22 16:32:01 +00:00
aiongg 85a201b7fb Pin craft-libs next 315a223e69: native window to the runtime, font picker tests
embed::before_ui takes the native window, so on Windows the runtime answers the
window's hit test and resize starts at the press (craft-libs#2995). It also fits
a window bigger than its display once, which replaces work_area::fit_window.
Adds the font picker tests for craft-libs#3010: typed keys stay in the search,
and hover previews without a history step.
2026-11-22 15:38:16 +00:00
aiongg 90e393ea85 Merge upstream main; pin craft-libs at ce643eb0 (next with the live font catalog and picker fixes) 2026-11-22 14:00:06 +00:00
David MannandClaude Opus 5.5 feb746d18b Merge main 6e0e587d96 and repin craft-libs to next e953d47a3, egui to f5025284
next now carries storytold/craft-libs#2977 and #2978. craft-develop stays
at main's craft-libs rev c42c34bfa, which is not on next.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 12:39:22 +01:00
aiongg d03b045939 Pick a family installed while the font menu is open on the first click
Pins craft-libs at 77ec2f3d (craft-libs#2781 with craft-libs#3006) and the egui fork at f5025284, the revision craft-libs next uses.
2026-11-22 06:22:58 +00:00
aiongg 9c81e31868 Merge upstream main; pin craft-libs at eefb3a73 (next with the live font catalog) 2026-11-22 05:39:30 +00:00
David MannandClaude Opus 5.5 69252058d7 Repin craft-libs to next cec6d87ff and egui to 72cb386ac
Brings storytold/craft-libs#2919 (layer eye stays empty, #16321),
#2929 (About tab spacing, #16325), #2931 (Space after an Alt tap,
#16327), #2932 (scroll bar range and drag, #16328, #16329), #2934
(grip ticks and the toolbar grip, #16332, #16333) and #2939 (About
stays inside the window, #16326).

The Overscroll scroll bar test follows the new range: the document
plus, on each side, the visible length less 100 screen points.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 01:51:55 +01:00
David MannandClaude Opus 5.5 ef6b794a24 Repin craft-libs next at 77c7c623; panel bodies replay on a hover; versions follow review (#16145)
craft-libs 77c7c623 brings storytold/craft-libs#2830 (#2812: panels and
widgets read the modifiers, not the pointer frame) and #2860
(RasterDisplay::region_fill). With it a canvas hover replays every
panel body, and the hover trial now requires that.

Versions, from the review:
- every version holds the preferences' revision: Preferences' Apply and
  OK and other prefs writers run no counted command (units on the
  options bar and Info panel);
- the Navigator's version holds the adjustment preview its picture
  shows, as the Histogram's does;
- the Histogram's version holds when its histograms landed, since the
  worker lands them with no command or revision;
- the options bar's version holds whether a canvas gesture runs (the
  symmetry menu's Transform entry);
- Home counts as the Properties panel not shown, so its Reset session
  starts anew after a Home visit.

The chrome trials look at the whole frame (a view that ran in a
discarded pass and replayed in the last counts as run); the language
check counts the tab rows frame-wide, since the new titles take a
second pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 18:39:00 +01:00
aiongg 4ab5a61f2f Merge upstream main; pin craft-libs at cb684d02 (next with the live font catalog) 2026-11-21 16:33:25 +00: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 44205e94de Pin craft-libs at db702f98 for live font catalog updates 2026-11-21 06:17:49 +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 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 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 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 eaf864e3c9 Pin craft-libs next at 62189858a for the Home screen rail
Moves every craft-libs dependency to storytold/craft-libs next 62189858a
and egui to the fork rev that next pins (6525c879). This brings
craft-libs#2424 (Home screen rail and empty-state card) and the Home
screen spacing fix.

Call sites follow the new craft-libs API: Picked gained Failed and
Downloaded (a failed save keeps its message, a browser download counts
as nothing chosen, as the app writes its own saves), SettingsDocument's
apply is the PreferencesDraft trait method, and the control channel's
document map takes the page index (one page per document).
2026-11-20 17:36:12 +01:00
aiongg 01ffcd522b Pin craft-libs next with the drag fixes; whole-app drag trial 2026-11-20 06:04:34 +00:00
aiongg 8a145e90a0 Pin craft-libs next with the submenu, overlay and clipboard fixes 2026-11-20 04:25:56 +00:00
aiongg 254b570f14 Pin craft-libs next
Every craft-libs git dependency (craft-psd, craft-svg and craft-ipp included) and the vendored
hayro, krilla and linesweeper patches take one rev, and egui follows the rev craft-libs next pins.
2026-11-20 03:47:57 +00:00
dotCooCoo a89a4faa49 IPP: the re-export crate keeps the never-crash lints
#15684 replaced crates/ipp/src/lib.rs with a re-export of craft_ipp and
dropped the crate's forbid(unsafe_code) and never-crash deny lines. The
scorecard counts that attribute on every crate root, so docs/scorecard.md
went stale on main and `scorecard::tests::staleness_check_and_determinism`
and the lint job's `scorecard` step fail on every pull request.

This puts the two lines back, so the scorecard reads 25 of 25 again and
matches the committed docs/scorecard.md.
2026-11-18 17:09:06 -08:00