8 Commits
Author SHA1 Message Date
Rob CoenenandClaude Opus 5.5 c19554938b fix(shell): dock edges keep their size under egui 0.37
egui 0.37 salts a panel's id with its parent Ui's scope, so the dock's
resize handle is ui.scope_id().with(id).with("__resize"). The shell still
looked for id.with("__resize"): a drag never reached the layout, so the
size wasn't saved and the handle's screen-reader name went to an id no
widget had. New test: dragging the right dock's edge keeps its new size.

Also from review: the pseudo-locale test exempts only names of documents
opened from a file (an unsaved document's "Untitled" is still checked),
and docs/localisation.md says egui shapes text with HarfRust and lacks
only bidi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:35:33 +01:00
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 217cb3453b fix(i18n): keep the i18n files' formatting, credit Noto Sans Hebrew, and say what the face is for (M8)
Follow-up to outside PR #486: restores the untouched lines rustfmt rewrapped (READY and the test lists other tracks edit), renames the Hebrew test for what it checks (never offered yet), checks Georgian still draws with the Hebrew face behind it, adds the ATTRIBUTION row, and words the docs for what the face does today: Hebrew letters in names, not an interface language.
2026-11-19 14:44:15 -07:00
HagaiBA cddc15092b fix(i18n): keep Hebrew out of ready_codes until bidi exists and respect script subtags 2026-11-19 20:58:29 +02:00
HagaiBA 8f13fb08fa feat(i18n): embed Noto Sans Hebrew, offer Hebrew locale, and expose RTL direction helper 2026-11-19 18:11:32 +02:00
Davit Matchakhelidze 39cc5484d5 fix(i18n): validate the Georgian face before offering or loading it; REQUIRED alone enforces it (M8) 2026-11-11 20:13:21 +04:00
Davit Matchakhelidze 4947b7d12d feat(ui): draw and offer Georgian with Noto Sans Georgian from craft-fonts (M8)
Embeds craft-fonts' NotoSansGeorgian.ttf (Geor) as a fallback face in every
family, and offers Georgian (ka) only in builds that embedded it. Without
CRAFT_FONTS_DIR nothing changes.
2026-11-11 16:38:04 +04:00
Tanish Manku 4f10fa7939 docs: ADR 0040 interface languages, localisation guide, roadmap, changelog (M8) 2026-11-10 00:42:06 -07:00