From 6d3b60cb96b88e495bd75a69a9496f39480f58e3 Mon Sep 17 00:00:00 2001 From: lorenzomicheli Date: Fri, 9 Oct 2026 10:24:36 +0000 Subject: [PATCH] Pin gpui-mobile with the review fixes to the night-mode and emoji PRs Fork main 3d74121 merges the revised android-host-night-mode (c62c318) and android-host-emoji-font (77126f2), which longbridge/gpui-mobile#30 and #29 will carry: night mode is read from the application context, and the emoji font's AssetManager is kept for the life of the process. Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 26 +++++++++++++------------- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 08dbb1f..1252393 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -632,7 +632,7 @@ dependencies = [ "bitflags 2.13.2", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.11.0", "log", "prettyplease", "proc-macro2", @@ -1480,7 +1480,7 @@ dependencies = [ "libc", "option-ext", "redox_users 0.5.3", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -1715,7 +1715,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2270,7 +2270,7 @@ dependencies = [ "log", "presser", "thiserror 2.0.21", - "windows 0.62.2", + "windows 0.58.0", ] [[package]] @@ -2702,7 +2702,7 @@ dependencies = [ [[package]] name = "gpui-pre-mobile" version = "0.1.0" -source = "git+https://github.com/Bombatomica64/gpui-mobile?rev=2e32b5878b431c22189e7dcb0aff72567ab7ea5f#2e32b5878b431c22189e7dcb0aff72567ab7ea5f" +source = "git+https://github.com/Bombatomica64/gpui-mobile?rev=3d741215d64f28a47d53ad0010eab8c8697459c2#3d741215d64f28a47d53ad0010eab8c8697459c2" dependencies = [ "accesskit_android", "android-activity", @@ -3292,7 +3292,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.62.2", + "windows-core 0.58.0", ] [[package]] @@ -4353,7 +4353,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -5457,7 +5457,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -5991,7 +5991,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -6524,7 +6524,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -6894,7 +6894,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -7323,7 +7323,7 @@ checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" dependencies = [ "memoffset", "tempfile", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -8035,7 +8035,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index b8a05db..a1be709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ crate-type = ["cdylib"] # (see MOBILE_PATCHES.md for what each carries on top of upstream). gpui = { package = "gpui-pre", version = "=0.3.8", default-features = false } gpui-kit = { git = "https://github.com/Bombatomica64/gpui-kit", rev = "11a7beb93292051a7fcc009f34bf93a00f167b4c", default-features = false, features = ["component", "assets"] } -gpui-mobile = { package = "gpui-pre-mobile", git = "https://github.com/Bombatomica64/gpui-mobile", rev = "2e32b5878b431c22189e7dcb0aff72567ab7ea5f", default-features = false, features = ["clipboard", "share"] } +gpui-mobile = { package = "gpui-pre-mobile", git = "https://github.com/Bombatomica64/gpui-mobile", rev = "3d741215d64f28a47d53ad0010eab8c8697459c2", default-features = false, features = ["clipboard", "share"] } # Kit's FPS / frame-time HUD (enables gpui's `profiler` frame trace). gpui-fps = { git = "https://github.com/Bombatomica64/gpui-kit", rev = "11a7beb93292051a7fcc009f34bf93a00f167b4c" } anyhow = "1" diff --git a/src/lib.rs b/src/lib.rs index 8f4c00a..dd3a5c0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,7 @@ use gpui::{App, AppContext as _, WindowOptions}; pub const GPUI_KIT_VERSION: &str = "0.7.1"; pub const GPUI_VERSION: &str = "gpui-pre 0.3.8"; -pub const GPUI_MOBILE_REVISION: &str = "Bombatomica64/gpui-mobile 2e32b58"; +pub const GPUI_MOBILE_REVISION: &str = "Bombatomica64/gpui-mobile 3d74121"; /// Runs on the GPUI render thread once the first surface exists. pub fn launch(cx: &mut App) {