Commit Graph
11 Commits
Author SHA1 Message Date
Rob CoenenandClaude Opus 5.5 24a2297fa6 fix(shell): closing the window no longer crashes on macOS
On macOS 26 the app aborted when its window closed (the end of a
`--screenshot` run, and the same close path that quitting and the close
button take) with NSRangeException: "Cannot remove an observer
<_NSTouchBarFinderObservation> for the key path "nextResponder" from
<WinitView> because it is not registered as an observer", exit 134.

Cause: accesskit_macos 0.26 subclasses winit's view at runtime and, when
the adapter drops, sets the view's class back. By then AppKit's Touch Bar
finder has observed the view with KVO, which gave it a class of its own;
putting the old class back breaks that observation, and AppKit throws
when it removes it on the next display cycle. Fixed upstream in
accesskit_macos 0.27.2 (AccessKit/accesskit#835), which only eframe and
egui 0.37 can use (egui-winit 0.37 -> accesskit_winit 0.34).

Measured on macOS 26.5 (M1), display awake:
- `anicraft --screenshot`: main 3/3 exit 134, this branch 5/5 exit 0,
  same picture.
- A bare eframe window closed with ViewportCommand::Close: eframe 0.36
  with accesskit 6/8 crashed, without accesskit 0/8, eframe 0.37 with
  accesskit 0/10.

The bump, by egui 0.37's migration notes:
- WidgetType is Role (SelectableLabel -> Button, Checkbox -> CheckBox,
  CollapsingHeader -> DisclosureTriangle, ColorButton -> ColorWell);
  Id::new -> Id::unique; Ui::id -> Ui::scope_id.
- Screenshots come back through a callback (Context::request_screenshot)
  instead of an Event::Screenshot; MouseWheel events carry a source.
- egui now names its own panel and window resize handles for screen
  readers, and hands a tooltip to them as the control's description: the
  pseudo-locale tests list egui's names with its close button, and count
  file paths and open documents' names as data.

wgpu stays at 30. New crates (Linux clipboard: wl-clipboard-rs and its
dependencies; accesskit_ios) are MIT or MIT OR Apache-2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:05:27 +01:00
Tanish Manku cdce1f52f4 chore: merge main (data tables, video import) into the second outside features batch (M8) 2026-11-20 01:15:42 -07:00
Tanish Manku 9ea84dad3a chore: merge main (video import) into data tables (M6)
Bindings apply after the reference video is placed, where main now unwraps the layer's shown
elements; command lists keep both sides' entries.
2026-11-19 15:32:59 -07:00
Silvertree2010 a2f7def6e5 feat(modify): Trace Bitmap and Convert to Bitmap (#463) 2026-11-19 17:05:48 +00:00
Tanish Manku ffd8abe510 feat(data): data tables that drive animation: tables in the Library, bindings applied in evaluate, bake, data.* commands and the shell (M6)
Numeric tables kept in the document (CSV, TSV through craft-csv, JSON), bindings of a column to a symbol instance's x, y, scale, rotation, alpha or the frame a graphic shows, applied purely in evaluate; Bake to Keyframes; a table viewer and a Data section in Properties.

Measured (test profile, Windows 10): import of 100 000 rows x 10 columns from 3.2 MB of CSV in 63 ms; evaluate of 200 instances 15 us unbound, 82 us with 200 bindings on a 1 000-row keyed table; bake of those 200 instances in 4.9 ms.
2026-11-18 08:50:41 -07:00
Tanish Manku fea891cf59 feat(shell): File › Import › Import Video: options, progress with Cancel, reference videos on the stage, relink in Layer Properties (M5) 2026-11-18 08:05:29 -07:00
Tanish Manku d2238584ab feat(shell): Convert Audio to Keyframes and Auto Lip-Sync dialog with a live graph and stage preview, from Modify › Timeline and Properties (M5) 2026-11-18 04:30:42 -07:00
Tanish Manku 0f90ef98bc feat(shell): document tabs above the stage, each with its own session, view and autosave; New and Open bring a tab, closing asks about unsaved changes, quitting asks once for all (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 9249fb2fee docs: ADR 0109, the guide's drawing chapter, roadmap and changelog for the shape commands, picker eyedropper and transformation origins (M1)
The ADR file now holds number 0109, so its reservation row is gone. Context
help (F1) opens the guide at the new section from the two dialogs.
2026-11-17 21:21:57 -07:00
Tanish Manku 4a25817937 chore: merge main (guide search and context help) into saved commands (M6)
Context help gains the macro namespace and the Save As Command and Manage Saved Commands
windows; the guide's chapter list numbers both new chapters.
2026-11-16 18:26:04 -07:00
Tanish Manku 1538c8e277 feat(app): context help on F1, Help › Help for This and each panel menu, with a checked map to the guide; Using this guide chapter (M8) 2026-11-13 23:57:47 -07:00