Commit Graph
14963 Commits
Author SHA1 Message Date
aiongg 44205e94de Pin craft-libs at db702f98 for live font catalog updates 2026-11-21 06:17:49 +00: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
aiongg ee10f7f352 Canvas scroll bars with rulers: the bars run along the view, as in 0.23.1 2026-11-20 17:24:51 +00:00
FredAppsandFredApps c0771fe72b Build the CI archive driver without framework-only lint dependencies (#15963)
* Use the document mutator in the damage-history fixture

* Compile the archive driver without framework-only lint dependencies

---------

Co-authored-by: FredApps <[email protected]>
2026-11-21 00:07:08 +07:00
Dylan M. Taylor 663b2a4db3 test(io): add PSD resource 2999 duplicate/rename and brst truncation parity tests (#15992) 2026-11-20 12:00:41 -05:00
aiongg 5bcb5549a8 Merge upstream main into repin-next-1120 2026-11-20 16:37:01 +00: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
David Mann 954d8341c7 Merge remote-tracking branch 'origin/main' into repin/craft-libs-next-home
# Conflicts:
#	crates/ui-egui/src/panels/region_versions.rs
2026-11-20 17:27:49 +01:00
aiongg 52c8b93569 Brush resize: the size preview shows at the canvas rect 2026-11-20 15:59:32 +00:00
David Mann 3af21cf94f Merge queue batch #15982: #15112, #13225, #14431, #15253, #15787, #14628
Merge queue batch: 6 PRs (#15112, #13225, #14431, #15253, #15787, #14628)
2026-11-20 16:50:30 +01:00
David MannandClaude Opus 5.5 5d60d84b8e automation: create the default agent folder only when a direction uses it (#15974)
Same fix as craft-libs#2557 for the window side: with a flag or the
person's own folder covering every direction, the default was created
and never used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 16:03:24 +01:00
David Mann 830d9033a3 Merge #14628 into the merge queue batch
Artboard from Group: the artboard is Normal at 100 % opacity (#14552)

# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-20 15:52:19 +01:00
David Mann d3bc1e0c7c Merge #15787 into the merge queue batch
Continue selected Work Paths with the Freeform Pen
2026-11-20 15:52:18 +01:00
David Mann e291d5e8a7 Merge #15253 into the merge queue batch
Use exact right-angle turns in Arbitrary canvas rotation (#14469)
2026-11-20 15:52:18 +01:00
David Mann 3f666ef0ba Merge #14431 into the merge queue batch
Lens Correction batch: open with the reference defaults and file types
2026-11-20 15:52:18 +01:00
David Mann ce32662e0b Merge #13225 into the merge queue batch
Quick Selection: refuse Indexed Color and Bitmap documents

# Conflicts:
#	crates/engine/src/cmd/smartselect_cmds.rs
2026-11-20 15:52:17 +01:00
David Mann 59147c730c Merge #15112 into the merge queue batch
fix(compose): honour Anti-aliased for the Inner Shadow map
2026-11-20 15:52:16 +01:00
David Mann 7428bb1fef Merge queue batch #15973: #11327, #14455, #14908, #15031, #15284, #15919, #15793, #15805, #15899, #14697
Merge queue batch: 10 PRs (#11327, #14455, #14908, #15031, #15284, #15919, #15793, #15805, #15899, #14697)
2026-11-20 15:51:58 +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 7fbe96eaca Merge #14697 into the merge queue batch
Name the Artboard from Layers history step "New Artboard From Layers" (#14578)

# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-20 15:06:08 +01:00
David Mann 9ba104d960 Merge #15899 into the merge queue batch
Record Cargo units when planning shard archives
2026-11-20 15:06:07 +01:00
David Mann f29e605b57 Merge #15805 into the merge queue batch
Restore Magnetic Lasso cursor preference coverage
2026-11-20 15:06:06 +01:00
David Mann 8cff4491b3 Merge #15793 into the merge queue batch
Honor Overscroll in the canvas scrollbars
2026-11-20 15:06:06 +01:00
David Mann 872e1e1b39 Merge #15919 into the merge queue batch
fix(type): Ctrl shows the transform box over a Type Mask session (#12082)
2026-11-20 15:06:05 +01:00
David Mann 6831a19167 Merge #15284 into the merge queue batch
fix(algo): continue straight bands and stripes through the fill's hole
2026-11-20 15:06:05 +01:00
David Mann d7b23e1460 Merge #15031 into the merge queue batch
Export As: Resample lists Preserve Details, in the reference order
2026-11-20 15:06:05 +01:00
David Mann ce75b3be93 Merge #14908 into the merge queue batch
fix(engine): Layer from Background takes the lowest free Layer N
2026-11-20 15:06:04 +01:00
David Mann e6187cc5bf Merge #14455 into the merge queue batch
fix(engine): the Channel Mixer command mixes with whole percentages
2026-11-20 15:06:04 +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 21c551d76f Merge queue batch #15906: #13634, #13810, #15102, #14662, #15013, #15319, #15725, #15735, #15746, #15773, #15775, #15783, #15792, #15776, #15810, #15764, #15855, #15413, #15414
Merge queue batch: 19 PRs (#13634, #13810, #15102, #14662, #15013, #15319, #15725, #15735, #15746, #15773, #15775, #15783, #15792, #15776, #15810, #15764, #15855, #15413, #15414)
2026-11-20 14:55:56 +01:00
David Mann 3ac105d444 Merge #15414 into the merge queue batch
Pen in Shape mode: make the shape layer on the first click and fill the open path
2026-11-20 14:16:40 +01:00
David Mann af3ca29666 Merge #15413 into the merge queue batch
Vertical Type tools: the I-beam turns on its side (#12063)
2026-11-20 14:16:40 +01:00