nvidia_video_memory ran `nvidia-smi` with Command::output(), which has no
deadline. It runs on the UI thread at startup, under the video-memory cache
lock, so a driver that never answers the query kept the window from opening.
It now runs with a 2 s deadline (stdout read on a helper thread, try_wait
polling), and a late process is killed and reaped on a detached thread.
parse_nvidia_smi took the first line naming the vendor/device id. Two cards
of one model with different memory (`0x2C0510DE, 16303` then
`0x2C0510DE, 8192`) gave 16 GB though wgpu may be on the 8 GB one; it now
takes the smallest.
Co-authored-by: Vishnu Vardhan Varma Byrraju <112673081+VishnuByrraju@users.noreply.github.com>
Co-authored-by: Khawar Zamman Wani <28915582+wanikhawar@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PR's follow-up commit appended the reworded entries instead of
replacing the first ones, so both versions were in the doc. Keeps the
"at least 53 pt tall" wording.
Co-authored-by: hectorviov <1501713+hectorviov@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Served fonts chose the layers to redraw from the open document only, so the
first History snapshot was refreshed only for layers the open document still
had, and with the open layer's "shows our own layout" verdict. A type layer
deleted since the document opened kept its fallback-font pixels in the
snapshot, and a PSD layer edited since lost the file's pixels there.
`served_fonts::pick` now checks the snapshot (when it no longer is the open
document) on its own, and `Session::refresh_type_layers` takes
`TypeLayerRef`s that say which version each layer was picked in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A command Color Picker now records the document it was opened on, and its
live canvas preview never runs against another document that became
active while the picker was open (its layer ids would point elsewhere).
Covers the tab-switch gap noted in review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QvfaMyAX4i4PbKBMnvFj6
- 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>
The i18n coverage scan and prefs_usage stopped reading a file at its first `#[cfg(test)] mod`. A split parent declares `#[cfg(test)] mod tests;` before the rest of its code, so the scans skipped that code, and on main an inline test module in the middle of panels.rs hid the code after it. Both now drop only the body of an inline test module.
The prefs audits in scorecard and prefs_usage count a read when the section and the field appear in the same file. Both now also treat a split module (`foo.rs` with `foo/`) as one file, and prefs_usage leaves out `engine/src/prefs/` as scorecard already does, since that directory now holds the rest of the prefs model.
On main and on this branch: the i18n coverage report is identical (2,142 source keys; the old scan found 2,049 on main), `cargo xtask scorecard --check` is up to date, and prefs_usage passes.
The spooling tests rerun themselves in a child process with an exact test-name filter. print_cmds moved under cmd/, so the filters name cmd::print_cmds::tests::…; with the old names the child ran no tests.