Commit Graph
5038 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 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 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
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
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 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 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 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 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 e9ebbe1107 Merge #15855 into the merge queue batch
fix(selection): give Quick Selection's Enhance Edge its measured soft rim
2026-11-20 14:16:40 +01:00
David Mann 55372923bd Merge #15764 into the merge queue batch
fix(actions): Load Actions waits for a running recording
2026-11-20 14:16:39 +01:00
David Mann 8b8ff0a709 Merge #15810 into the merge queue batch
Auto-Blend Layers: a selected Background stays the Background (#14214)
2026-11-20 14:16:39 +01:00
David Mann 0a84102123 Merge #15783 into the merge queue batch
Preserve legacy Airbrush rates and initial Fade steps
2026-11-20 14:16:38 +01:00
David Mann 79100d117a Merge #15775 into the merge queue batch
Read the Object Finder seed at full resolution
2026-11-20 14:16:37 +01:00
David Mann acea29d552 Merge #15725 into the merge queue batch
Label Ellipse tool creation steps in History
2026-11-20 14:16:35 +01:00
David Mann 331846a92e Merge #15319 into the merge queue batch
Duplicate Layer: leave Indexed documents out of the destination list (#14612)
2026-11-20 14:16:35 +01:00
David Mann 22938f5e88 Merge #14662 into the merge queue batch
fix(engine): Image Rotation Arbitrary follows the Image Interpolation preference
2026-11-20 14:16:34 +01:00
FredAppsandFredApps a1f4dc1aa1 Use the document mutator in the damage-history fixture (#15959)
Co-authored-by: FredApps <[email protected]>
2026-11-20 19:28:10 +07:00
FredAppsandFredApps abad0deaea Hold the normalized layer selection across engine reads (#15907)
* Hold ordered layer selection across reads

* Migrate UI and automation to the borrowed document selection

* Fix held selection migration diagnostics

* Preserve held selection for unchanged active layer

* Keep owned selection snapshots in engine tests

* Allow consuming a document state without cloning

* Preserve document ownership on close and capture export selection

* Migrate engine integration tests to held selection

* Keep isolate-layer test selection snapshot

* Read the active layer before editing the gradient test document

* Remove redundant selection slice borrows

---------

Co-authored-by: FredApps <[email protected]>
2026-11-20 18:11:54 +07:00
FredAppsandFredApps 4f348a17ab Retain damage across document revisions (#15749)
* Retain damage across document revisions

* Count canvas conversion after neutral revisions

* Check paragraph box damage against ink bounds

* Bound damage growth on deep documents

* Keep recorded effect reach without growing twice

* Construct indexed layer trees in damage history tests

---------

Co-authored-by: FredApps <[email protected]>
2026-11-20 18:11:43 +07:00
FredAppsandFredApps 4fd58daa82 Use fixed scratch volume capacity in engine unit tests (#15794)
* Use fixed scratch volume capacity in engine unit tests

* Test fixed scratch capacity during preference setup

---------

Co-authored-by: FredApps <[email protected]>
2026-11-20 18:11:33 +07:00
hnoerenberg 84e48c9630 cargo fmt 2026-11-20 09:45:29 +01:00
hnoerenberg a9c031ee39 Merge upstream/main into fix/rotate-interpolation-pref-14465
# Conflicts:
#	crates/engine/src/cmd/mode_cmds.rs
2026-11-20 09:41:00 +01:00
FredApps 421cfd0f74 Merge main into Channel Mixer percentage fix
Preserve the Channel Mixer rounding regression alongside main Color Balance coverage. Source and whitespace checks passed; hosted CI will validate the integrated tree.
2026-11-20 09:28:05 +01:00
hnoerenberg d3a1a2aa4c Merge upstream/main into fix/layer-from-bg-name-14821 2026-11-20 09:16:34 +01:00
rmsff bab27ebf30 Test the Quick Selection refusal in Indexed Color and Bitmap 2026-11-20 10:11:11 +03:00
rmsff 3946436c63 Quick Selection: refuse Indexed Color and Bitmap documents
The reference application refuses a Quick Selection click or drag there
with an alert and selects nothing. select.quick now returns its words,
and the canvas shows them in the OK alert without running the command.
Multichannel and Duotone weren't measured and keep selecting.
2026-11-20 10:11:11 +03:00
rmsff 038e4e9bb8 Object Selection: alert when a rectangle finds nothing, silent click
A rectangle that finds nothing opens the reference application's "Couldn't find an object to select" alert with "Don't show again" instead of a status-bar hint. Over an area where the sampled layer has no pixels it still records an "Object Selection" History state (select.object "recordEmptyArea"); scripts keep the #5246 error. A click that finds nothing shows no message.
2026-11-20 10:10:55 +03:00
aiongg 01ffcd522b Pin craft-libs next with the drag fixes; whole-app drag trial 2026-11-20 06:04:34 +00:00
aiongg 95b3a93003 Merge the drag lag fixes (photocraft#15867) 2026-11-20 06:04:05 +00:00
Dan 7d1c4c6688 Merge main and preserve guides during exact Arbitrary turns
Keep the guides transformed by the exact turn when Image Rotation requests them. Crop and Ruler Straighten still clear guides. Check guide positions, colours and undo through the rotation commands.
2026-11-20 05:08:06 +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
Hector Villarreal 12d075b149 Merge main into fix/export-preserve-details
crates/ui-egui/src/dialogs/export_dialog.rs: main's version. Since #15449 the
Export As dialog is the framework's, so the PR's resample_field and
resample_label changes no longer apply; Preserve Details is added to main's
RESAMPLE_CHOICES in the next commit. The engine side (RESAMPLE with seven
methods, preserveDetails in presets) merged cleanly.
2026-11-19 21:46:45 -06:00
David Mann 29cfc7b3cb Merge #15397 into the merge queue batch
Place Embedded: a placed file keeps its physical size at the document's resolution (#14105)
2026-11-20 02:04:36 +01:00
David Mann 53e11b4045 Merge #14529 into the merge queue batch
Variables: Preview checkbox in the Apply Data Set dialog (#14496)
2026-11-20 02:04:33 +01:00
David Mann 8c16bacd5d Merge #14657 into the merge queue batch
Apply Image: Darker Color and Lighter Color blending (#14478)
2026-11-20 02:04:32 +01:00
David Mann 066fe93ec3 Merge #14542 into the merge queue batch
Color Table: an .act count of 0 loads as one white entry (#14374)
2026-11-20 02:04:32 +01:00
David Mann 17d0c45b5c Merge #15007 into the merge queue batch
Find and Replace Text: search the layers in the reference order (#14661)
2026-11-20 02:04:32 +01:00
David Mann ddb38c9efc Merge #14424 into the merge queue batch
Check Spelling: start at the active layer, go up the stack and wrap
2026-11-20 02:04:31 +01:00
David Mann 76c5769455 Merge #13888 into the merge queue batch
Paths to Illustrator: lower-case c / l for segments that end on a smooth anchor (#13781)
2026-11-20 02:04:29 +01:00
David Mann 081747710d Merge #15045 into the merge queue batch
Color lookup export: bake the whole visible stack over the canvas, masks included
2026-11-20 02:04:29 +01:00
David Mann 7d4d3d85db Merge #15212 into the merge queue batch
fix(layer-style): start a new Outer Glow at the measured defaults

# Conflicts:
#	crates/engine/src/layer_style.rs
2026-11-20 02:04:28 +01:00
hnoerenberg b2e4444f3a Merge upstream/main into fix/quick-selection-enhance-edge-12923
17 commits, no overlap with the quick-selection edge work (smartselect_cmds.rs, matting.rs, quick.rs untouched upstream).
2026-11-20 01:03:57 +01:00