mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
- External vector editing on macOS: discover VectorCraft.app in /Applications and ~/Applications, offer Illustrator when an Adobe Illustrator*.app is found, and accept a chosen .app under Other application. CFBundleExecutable is read from a bounded Info.plist (XML or binary, streamed with a nesting cap) and must resolve inside Contents/MacOS; chosen bundles open with /usr/bin/open -a. vectorcraft-cli is looked for in the same bundle, then in known installs. Logic is compiled and unit-tested on every Unix. - Windows "not found" errors name the dialog's "Other application" option. - Native preview hash verification is remembered per source allocation in a 32-entry Weak-keyed LRU (no strong references, no reusable stale addresses, lock not held while hashing), so refreshes and warp frames hash a shared source once. - source_box uses the new io::svg::bounded_canvas_bounds for SVG without Stack Mode, so warp setup gets a frame for drawings whose editable layer caches exceed the budget. Stack Mode and Edit Contents stay strict. Exact 24,000,000-pixel boundary tested. - Document every non-test function this PR adds; describe macOS behaviour in docs/embedded-vector-editing.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>