Commit Graph
11425 Commits
Author SHA1 Message Date
David Mann ee6e30e7a2 Merge PR #9042: perf(gpu): NVIDIA's own memory on Linux, so many-layer documents stay off the CPU budget penalty (#5973) 2026-10-27 02:04:33 +01:00
David MannandClaude Opus 5.5 b341c07898 Merge main into fix/snapshot-followups
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-27 02:04:07 +01:00
ffd4d480bb Integration: bound the nvidia-smi query, smallest of same-id cards (#9042)
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>
2026-10-27 02:02:57 +01:00
David Mann 20e3a66c87 Merge PR #9601: fix(ui): Camera Raw's Color Mixer Hue tracks show the neighbouring hues 2026-10-27 01:59:50 +01:00
473648732d Integration: drop the duplicated Change entry and history row in ui-parity.md (#9154)
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>
2026-10-27 01:57:48 +01:00
David Mann e15bf0af01 Merge PR #9678: Free Transform: show the live W/H readout in the ruler unit (#9400) 2026-10-27 01:57:35 +01:00
David Mann ec9738806d Merge PR #9154: Color panel: the cube modes warn when a colour can't print (#8672) 2026-10-27 01:57:35 +01:00
David Mann cd485b6c2c Merge remote-tracking branch 'origin/main' into pr-7689-fixup 2026-10-27 01:54:27 +01:00
David Mann 68a5bbf2c3 Merge PR #9444: fix(ui): Select and Mask starts from its defaults unless Remember Settings is on (#9423) 2026-10-27 01:53:49 +01:00
David MannandClaude Opus 5.5 55673a1e49 Address CodeRabbit review: pick the first snapshot's type layers on their own (#6087)
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>
2026-10-27 01:42:42 +01:00
skylar taylor-barrick 5c25299b61 Merge pull request #9749 from storytold/fix/nextest-0.9.150
ci: require nextest 0.9.150
2026-10-26 18:42:23 -06:00
David Mann a16f9e3e06 Merge remote-tracking branch 'origin/main' into HEAD 2026-10-27 01:26:26 +01:00
David Mann 999e98e8b1 Merge remote-tracking branch 'origin/main' into HEAD 2026-10-27 01:22:22 +01:00
David Mann b92dc34e48 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/prefs_ui.rs
2026-10-27 01:17:25 +01:00
saschaweissandClaude Opus 5.5 7786c2247b fix(ui): keep the Color Picker preview on the document it was opened on
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
2026-10-27 01:11:34 +01:00
Don OmondiandClaude Opus 5.5 4c76339c36 Address CodeRabbit review: macOS app bundles, label, digest cache, SVG warp bounds
- 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>
2026-10-27 03:02:40 +03:00
aiongg 065c2c2beb test: keep split modules visible to the source scans
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.
2026-10-26 22:54:56 +00:00
aiongg 85539a4f37 refactor(raw): split testgen.rs into testgen/ 2026-10-26 22:54:56 +00:00
aiongg 1f0d1a4ef3 refactor(psd): move tiff.rs's transcode module to tiff/transcode.rs 2026-10-26 22:54:56 +00:00
aiongg bb641e918a refactor(codecs): split tiff.rs into tiff/ 2026-10-26 22:54:56 +00:00
aiongg 96e670150f refactor(text): split layout.rs into layout/ 2026-10-26 22:54:56 +00:00
aiongg 57bfd18bd7 refactor(text): split psd.rs into psd/ 2026-10-26 22:54:56 +00:00
aiongg 9cfb3cc5b0 refactor(io): split smart_map.rs into smart_map/ 2026-10-26 22:54:56 +00:00
aiongg 2aa88b0956 refactor(io): split psd_export.rs into psd_export/ 2026-10-26 22:54:56 +00:00
aiongg 4d07ccded0 refactor(algo): split panorama.rs into panorama/ 2026-10-26 22:54:56 +00:00
aiongg ff2a29a364 refactor(algo): split inpaint.rs into inpaint/ 2026-10-26 22:54:56 +00:00
aiongg 7ba8fdc79f refactor(gpu): split plan.rs into plan/ 2026-10-26 22:54:56 +00:00
aiongg 81c83b124f refactor(gpu): split lib.rs into batch, cells, consts, convert, encode, fx_passes, kit, paging, readback, setup, textures 2026-10-26 22:54:56 +00:00
aiongg 273de6ace0 refactor(compose): split adjust.rs into adjust/ 2026-10-26 22:54:55 +00:00
aiongg 32588fb0ac refactor(compose): split effects.rs into effects/ 2026-10-26 22:54:55 +00:00
aiongg 9bb2423533 refactor(compose): split lib.rs into composite, content, ctx, extents, fx_cache, reduced, render 2026-10-26 22:54:55 +00:00
aiongg f44e18d6fe refactor(ui-egui): move text modules under text/ 2026-10-26 22:54:55 +00:00
aiongg b786bb01c1 refactor(ui-egui): move prefs modules under prefs/ 2026-10-26 22:54:55 +00:00
aiongg e47ee81e38 refactor(ui-egui): move input modules under input/ 2026-10-26 22:54:55 +00:00
aiongg 36199e41c3 refactor(ui-egui): move tools modules under tools/ 2026-10-26 22:54:55 +00:00
aiongg afd0b1c108 refactor(ui-egui): move widgets modules under widgets/ 2026-10-26 22:54:55 +00:00
aiongg 086bdba303 refactor(ui-egui): move menus modules under menus/ 2026-10-26 22:54:55 +00:00
aiongg b6afd0953d refactor(ui-egui): move dialogs modules under dialogs/ 2026-10-26 22:54:55 +00:00
aiongg 0b2c35c024 refactor(ui-egui): move panels modules under panels/ 2026-10-26 22:54:55 +00:00
aiongg c9ae745010 refactor(ui-egui): move canvas modules under canvas/ 2026-10-26 22:54:55 +00:00
aiongg b32f4a0a55 test(engine): name the print_cmds child tests by their cmd:: path
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.
2026-10-26 22:54:55 +00:00
aiongg 501b7f3459 refactor(engine): move the *_cmds modules under cmd/ 2026-10-26 22:54:55 +00:00
aiongg 27d3634239 refactor(engine): move commands.rs to cmd.rs 2026-10-26 22:54:55 +00:00
aiongg 07b6d0602d refactor(ui-egui): split camera_raw_ui.rs into camera_raw_ui/ 2026-10-26 22:54:55 +00:00
aiongg d9f198e8b9 refactor(ui-egui): split caf_ui.rs into caf_ui/ 2026-10-26 22:54:55 +00:00
aiongg 17a3dd3204 refactor(ui-egui): split adjust_editors.rs into adjust_editors/ 2026-10-26 22:54:55 +00:00
aiongg 0a45d8d79b refactor(ui-egui): split gpu_canvas.rs into gpu_canvas/ 2026-10-26 22:54:55 +00:00
aiongg e10abdb0bb refactor(ui-egui): split vector_ui.rs into vector_ui/ 2026-10-26 22:54:55 +00:00
aiongg fa061e9255 refactor(ui-egui): split widgets.rs into widgets/ 2026-10-26 22:54:55 +00:00
aiongg 093c008d68 refactor(ui-egui): split prefs_ui.rs into prefs_ui/ 2026-10-26 22:54:55 +00:00