Skip to content

Bump gpui-kit to 0.6.6 and gpui-pre to 0.3.6 - #544

Merged
Tryanks merged 1 commit into
mainfrom
chore/gpui-base-0.6.6
Sep 27, 2026
Merged

Tryanks merged 1 commit into
mainfrom
chore/gpui-base-0.6.6

Conversation

@Tryanks

@Tryanks Tryanks commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Moves the tree to gpui-kit 0.6.6 / gpui-pre 0.3.6 (zed@d89e9c2 → zed@bcf6582). No Tcode source changes.

Dependencies

  • gpui-base, gpui-kit-assets, gpui-component-macros, gpui-wry 0.6.4 → 0.6.6; every gpui-pre-* crate 0.3.5 → 0.3.6, including the excluded crates/platform/gpui-ios and gpui-android. gpui-base 0.6.6 pins gpui-pre =0.3.6; its sources (and those of the other three gpui-kit crates) are byte-identical to 0.6.4.
  • Only gpui entries in Cargo.lock changed. gpui-pre-media is removed; objc2-core-audio, objc2-core-audio-types, objc2-core-media arrive with gpui-pre-macos's screen capture moving to objc2.

Upstream changes that reach Tcode without code changes

  • macOS: traffic lights return to the configured traffic_light_position after leaving fullscreen (previously they could keep their fullscreen frames).
  • macOS: normal windows track hover through an ActiveAlways tracking area, so hover states update while the app is inactive.
  • macOS: a closed window releases its native view, Metal layer and command queue (an accesskit adapter cycle kept them alive).
  • WindowBounds::centered centers on the display's visible bounds and clamps the size to them, so the 1200×800 default no longer sits under the menu bar/Dock or overflows small screens.
  • Windows: native prompt dialogs are owned by and closed with their window.
  • Test support: debug_bounds is also recorded for elements inside cached views.

New API, not adopted

  • App::on_missing_glyphs (fallback-exhausted grapheme reports). gpui-base does not use it. Adopting it would need AndroidTextSystem to forward set_missing_glyph_sink after its Canvas emoji fallback (as gpui-pre-web does), and the iOS text system to implement it.
  • ShapedLine::cursor() / ShapedLineCursor, paint_with_underline_handler, Window::paint_underline_with_exclusions.

Checks run (macOS arm64)

  • cargo fmt --all --check, cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo nextest run --workspace --locked: 944 passed, 5 skipped
  • RUSTFLAGS='-D warnings': cargo check -p tcode-ios --target aarch64-apple-ios-sim, cargo ndk -t arm64-v8a check -p tcode-android, cargo check -p tcode-web --target wasm32-unknown-unknown
  • cargo-machete: clean

Not run locally: Windows and Linux builds (left to CI); the app was not launched.

gpui-base, gpui-kit-assets, gpui-component-macros and gpui-wry 0.6.4 ->
0.6.6, and every gpui-pre crate 0.3.5 -> 0.3.6, including the
workspace-excluded iOS and Android backends. gpui-base 0.6.6 pins
gpui-pre =0.3.6; its own sources are unchanged from 0.6.4. Only the gpui
entries in Cargo.lock were updated; gpui-pre-media is gone and
objc2-core-audio/-audio-types/-media come in with gpui-pre-macos moving
screen capture to objc2 bindings.

No source changes are needed: PlatformAtlas taking its key by value and
the new PlatformTextSystem::set_missing_glyph_sink (default no-op) do not
touch code the mobile backends implement or call.
@Tryanks
Tryanks merged commit 4819ad3 into main Sep 27, 2026
7 checks passed
@Tryanks
Tryanks deleted the chore/gpui-base-0.6.6 branch September 27, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant