Commit Graph
454 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 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
FredAppsandFredApps c2a9ee5f30 Cache UI command and tool lookups (#15715)
* Cache UI command and tool lookups

* Use fast hashing for fixed runtime IDs

---------

Co-authored-by: FredApps <[email protected]>
2026-11-20 18:11:12 +07: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
Dylan M. Taylor e9bb736189 io: move remaining PSD block bytes to craft-psd (#15839)
* io: cut over remaining PSD block bytes to craft-psd

* io: unwrap PsdFile::to_bytes in clipping_path_resource_2999 test
2026-11-19 17:51:07 -05:00
David Mann a1b93266a9 Merge #14481 into the merge queue batch
Color Table: recolour by index, black past a shrunk table (#14342)
2026-11-19 22:27:46 +01:00
David MannandClaude Opus 5.5 8edd769be3 Pin craft-libs to the merge of craft-libs#2391 on next
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:35:54 +01:00
David Mann 810f4cb7eb Merge origin/main into automation/shared-live-client
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine/Cargo.toml
2026-11-19 17:40:46 +01:00
David Mann 363f37f6c8 Merge pull request #15685 from davidmann4/integration-batch-21
Integration batch 21: EPIC-UI-REWORK PRs green on main (WIP)
2026-11-19 17:17:24 +01:00
David MannandClaude Opus 5.5 32b6d22b2a automation: the MCP CLI uses the shared live client (#15762)
photocraft-cli mcp resolved each tool call with its own copy of the
"find the open window" client. craft-libs now ships that client for
every app (craft_control::agents::Live, re-exported as
craft::automation::agents::Live by craft-libs#2391), so live.rs keeps
only PhotoCraft's parts: reading its saved preferences, its bridge
client and its headless session. The app's AgentSwitch::watch takes a
plain closure now instead of craft_host::Wake.

The craft-libs pin is craft-libs#2391's head for now; it moves to the
merge commit on next once that lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 15:52:51 +01:00
FredApps 44a50908d9 Isolate exhaustive oil rounding proof 2026-11-19 13:19:45 +01:00
David MannandClaude Opus 5.5 81e95dfc21 Integration: craft-libs pin to next 04ba41419b (craft-libs#2242, #15540)
Moves every craft-libs pin from 18ffc07519 to the current next head, two commits newer: storytold/craft-libs#2242
(a dialog that opens on a text field selects its text). craft-svg keeps its own rev.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:43 +01:00
FredApps 1995d4bd94 Merge pull request #15374 from Terra854/codex/svg-embedded-image-validation
Validate embedded SVG images and reuse checked XML
2026-11-19 07:28:27 +07:00
Dylan M. Taylor 8bd642b27b chore(ipp): use craft-ipp from craft-libs (#15684) 2026-11-18 19:08:37 -05:00
FredApps bb00e4fea0 Merge main while preserving validated SVG dependency graph 2026-11-19 00:25:54 +01:00
Terra854 98eeb5a286 Merge upstream main to pick up the Linux and Windows lint fixes 2026-11-19 06:26:31 +08:00
David Mann 3f9495d2e6 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-18 23:10:10 +01:00
aiongg e98af2cb65 Pin craft-libs next at 18ffc07519 2026-11-18 21:19:36 +00:00
aiongg 4109fb1c79 Pin craft-libs next at 68df8bf16c
Moves every craft-libs pin from a6b9d9c986 to the current next head. The
lockfile adds craft-cloud-ui (now a craft-ui dependency) and
craft-theme-editor. No PhotoCraft code uses an item the update removes or
changes: Dialog::side_buttons, IconSpec::set, ThemeScope::mode, the
drag::start and dock-target signatures, ui-canvas readout/hud and the
colour-warning types are not used here, and ColorPopover::picker's
closure (now Fn) captures nothing. The egui fork rev is unchanged.
2026-11-18 20:47:51 +00:00
FredApps f5c66274b9 fix(svg): pin merged shared embedded-image validation
Advance craft-svg and its seven-source dependency closure to upstream merge7b8c1ec. Preserve registry versions and unrelated shared pins; remove obsolete direct SVG zune-jpeg edge per upstream manifest. Lock candidate reconstructed from reviewed dependency delta; hosted --locked validation pending, no local Cargo run.
2026-11-18 17:10:58 +01:00
FredApps 894456f1e3 Merge validated baseline source into SVG integration staging
Preserve #15374 author commits while preparing final immutable shared SVG pin. Baseline Windows pointer and FreeBSD gates still require repair; not a merge to main.
2026-11-18 16:37:51 +01:00
Zaxaerith 5ebc3b4cc9 fix(format): drop unused photocraft-formats dependency (#15468) 2026-11-18 20:22:34 +08:00
FredApps a8f39a54d9 Merge pull request #11712 from Triwarr/wintab-sys-pin
Pin wintab-sys to 0.1.0 next to wintab
2026-11-18 16:20:26 +07:00
Terra854 c1c53e2942 Preserve smart-object SVG compatibility and address review
Merge PhotoCraft main, retaining its framework dependency snapshot. Keep compressed smart-object refresh on native-size import, preserve omission warnings, and avoid redundant stage probes. Cover the save/reopen path, parser limits, and the native save-back notice.
2026-11-18 02:27:31 +08:00
aiongg ed14e1c413 PhotoCraft on the craft UI framework (#15449)
PhotoCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (next branch): shell, dock and panels, hosted dialogs, keyboard, focus, IME and pointer routing, the canvas's view commands, themes and tokens. The engine, document model, file formats, commands and automation stay. PhotoCraft pins storytold/craft-libs next.
2026-11-17 10:41:35 -05:00
Terra854 05e97d9fe9 Preserve accepted SVG depth boundaries through the shared API 2026-11-17 20:12:43 +08:00
Terra854 9e0e5f680f Pin the validated shared SVG API and document parser guard 2026-11-17 19:17:33 +08:00
Terra854 0fba145604 Reuse shared SVG validation and bound source cache work 2026-11-17 19:04:53 +08:00
Terra854 cd6ff65ba7 Catch SVG maintenance up with main 2026-11-17 18:24:48 +08:00
Dylan M. Taylor ee2482c662 Merge pull request #15341 from storytold/cutover/shared-tysh-fallback
psd: preserve lenient TySh recovery through craft-psd
2026-11-16 17:56:31 -05:00
Terra854 ff193387ce Validate embedded SVG images and reuse checked XML 2026-11-17 03:59:30 +08:00
FredApps a94e84dd8d text: take the TySh envelope from craft-psd (#778)
parse_tysh/write_tysh/translate_tysh/transform_is_safe become adapters over
craft_psd::text::envelope (extracted from here in craft-libs#1594); only the
Affine <-> [f64; 6] mapping stays. write_tysh/build_tysh return Option: a block
the shared writer refuses (unsafe transform, non-finite bounds, > 8 MiB) is not
written, and export falls back to pixels with its existing warning. craft-psd
re-pinned to craft-libs main eafb50af (additions only in crates/psd).
2026-11-16 12:35:11 +01:00
FredApps 6f4a2cbaed Merge pull request #15036 from Terra854/codex/raw-adapter-safety
Unify shared adapters and preserve RAW calibration and provenance
2026-11-16 11:14:43 +01:00
FredApps 5e5292c1a2 Merge remote-tracking branch 'origin/main' into raw-adapter-safety 2026-11-16 09:57:19 +01:00
FredApps 7ba9f0d619 Merge main into extract/shared-displace-payload 2026-11-16 09:50:24 +01:00
FredApps 2d4bc13c49 Merge main into cutover/psd-unicode-names 2026-11-16 08:10:43 +01:00
FredApps e8531bbfd9 Merge main into codex/raw-adapter-safety
Keep main's newer craft-psd (2284a6bf) and craft-cms (c6eb84d4) pins;
keep this branch's unified fe6b443a pins elsewhere (newer than main's
ad8faa1c). Cargo.lock regenerated from main's lock.
2026-11-16 07:04:22 +01:00
FredApps 1ad3e068b5 Merge main into cutover/psd-unicode-names 2026-11-16 06:52:53 +01:00
FredApps 40076f8c56 Merge main into cutover/psd-channel-resources 2026-11-16 06:52:35 +01:00
FredApps 471d97c3c2 Merge remote-tracking branch 'origin/main' into w15191
# Conflicts:
#	Cargo.lock
#	crates/io/Cargo.toml
2026-11-16 02:33:37 +01:00
Dylan M. Taylor 8531232050 Merge shared annotation and guide integrations into channel names cutover 2026-11-15 20:23:16 -05:00
Dylan M. Taylor e76ca374e8 Merge pull request #15189 from storytold/refactor/shared-psd-guides
Use shared PSD guides resource decoding
2026-11-15 20:21:08 -05:00
Dylan M. Taylor 99657bbbf5 Merge pull request #15148 from storytold/refactor/shared-psd-annotations
io: cut PSD annotation records over to shared codec
2026-11-15 20:12:25 -05:00