notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit dbba0e1bb043b104855e8f2ccae48253a812cdcb
parent 400050f3fba63f7a673720ff9e55cc50fa1257b7
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 30 Jun 2025 10:45:31 -0700

android: fix remaining keyboard issues

Fixes: https://github.com/damus-io/notedeck/issues/896
Fixes: https://github.com/damus-io/notedeck/issues/894
Fixes: https://github.com/damus-io/notedeck/issues/895
Fixes: https://github.com/damus-io/notedeck/issues/893
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MCargo.lock | 51++++++++++++++++++++++++++++++++++++---------------
MCargo.toml | 14+++++++-------
2 files changed, 43 insertions(+), 22 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -105,7 +105,28 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "android-activity" version = "0.6.0" -source = "git+https://github.com/damus-io/android-activity?rev=a8948332c7c551303d32eb26a59d0abd676e47a5#a8948332c7c551303d32eb26a59d0abd676e47a5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef6978589202a00cd7e118380c448a08b6ed394c3a8df3a430d0898e3a42d046" +dependencies = [ + "android-properties", + "bitflags 2.9.1", + "cc", + "cesu8", + "jni 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", + "jni-sys 0.3.0", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys 0.6.0+11769913", + "num_enum", + "thiserror 1.0.69", +] + +[[package]] +name = "android-activity" +version = "0.6.0" +source = "git+https://github.com/damus-io/android-activity?rev=c3c0decc83c4d6c94d2c448391fc8dd51b13f3d9#c3c0decc83c4d6c94d2c448391fc8dd51b13f3d9" dependencies = [ "android-properties", "bitflags 2.9.1", @@ -1344,7 +1365,7 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dpi" version = "0.1.1" -source = "git+https://github.com/damus-io/winit?rev=14d61a74bee0c9863abe7ef28efae2c4d8bd3743#14d61a74bee0c9863abe7ef28efae2c4d8bd3743" +source = "git+https://github.com/damus-io/winit?rev=eaff639ab0a14fccf595241f687be883154b267c#eaff639ab0a14fccf595241f687be883154b267c" [[package]] name = "dpi" @@ -1355,7 +1376,7 @@ checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" [[package]] name = "ecolor" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "bytemuck", "emath", @@ -1365,7 +1386,7 @@ dependencies = [ [[package]] name = "eframe" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ahash", "bytemuck", @@ -1401,7 +1422,7 @@ dependencies = [ [[package]] name = "egui" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "accesskit", "ahash", @@ -1418,7 +1439,7 @@ dependencies = [ [[package]] name = "egui-wgpu" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ahash", "bytemuck", @@ -1437,7 +1458,7 @@ dependencies = [ [[package]] name = "egui-winit" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ahash", "arboard", @@ -1455,7 +1476,7 @@ dependencies = [ [[package]] name = "egui_extras" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ahash", "egui", @@ -1472,7 +1493,7 @@ dependencies = [ [[package]] name = "egui_glow" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ahash", "bytemuck", @@ -1536,7 +1557,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "emath" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "bytemuck", "serde", @@ -1625,7 +1646,7 @@ dependencies = [ [[package]] name = "epaint" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" dependencies = [ "ab_glyph", "ahash", @@ -1643,7 +1664,7 @@ dependencies = [ [[package]] name = "epaint_default_fonts" version = "0.31.1" -source = "git+https://github.com/damus-io/egui?rev=73a831ed43d3a8592611e2948b505add88d8aba2#73a831ed43d3a8592611e2948b505add88d8aba2" +source = "git+https://github.com/damus-io/egui?rev=bcc9074805b53cc935ab8e853929c914ca170b69#bcc9074805b53cc935ab8e853929c914ca170b69" [[package]] name = "equator" @@ -6813,10 +6834,10 @@ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" [[package]] name = "winit" version = "0.30.8" -source = "git+https://github.com/damus-io/winit?rev=14d61a74bee0c9863abe7ef28efae2c4d8bd3743#14d61a74bee0c9863abe7ef28efae2c4d8bd3743" +source = "git+https://github.com/damus-io/winit?rev=eaff639ab0a14fccf595241f687be883154b267c#eaff639ab0a14fccf595241f687be883154b267c" dependencies = [ "ahash", - "android-activity", + "android-activity 0.6.0 (git+https://github.com/damus-io/android-activity?rev=c3c0decc83c4d6c94d2c448391fc8dd51b13f3d9)", "atomic-waker", "bitflags 2.9.1", "block2 0.5.1", @@ -6868,7 +6889,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4409c10174df8779dc29a4788cac85ed84024ccbc1743b776b21a520ee1aaf4" dependencies = [ "ahash", - "android-activity", + "android-activity 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "atomic-waker", "bitflags 2.9.1", "block2 0.5.1", diff --git a/Cargo.toml b/Cargo.toml @@ -90,15 +90,15 @@ strip = true # Strip symbols from binary* #egui_extras = { path = "/home/jb55/dev/github/emilk/egui/crates/egui_extras" } #epaint = { path = "/home/jb55/dev/github/emilk/egui/crates/epaint" } -egui = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } -eframe = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } -egui-winit = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } -egui-wgpu = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } -egui_extras = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } -epaint = { git = "https://github.com/damus-io/egui", rev = "73a831ed43d3a8592611e2948b505add88d8aba2" } +egui = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } +eframe = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } +egui-winit = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } +egui-wgpu = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } +egui_extras = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } +epaint = { git = "https://github.com/damus-io/egui", rev = "bcc9074805b53cc935ab8e853929c914ca170b69" } puffin = { git = "https://github.com/jb55/puffin", package = "puffin", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } puffin_egui = { git = "https://github.com/jb55/puffin", package = "puffin_egui", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } #winit = { git = "https://github.com/damus-io/winit", rev = "14d61a74bee0c9863abe7ef28efae2c4d8bd3743" } #winit = { path = "/home/jb55/dev/github/rust-windowing/winit" } -android-activity = { git = "https://github.com/damus-io/android-activity", rev = "a8948332c7c551303d32eb26a59d0abd676e47a5" } +#android-activity = { git = "https://github.com/damus-io/android-activity", rev = "7c8d44c1265c5cb5f0f15137c2e060991671def8" } #android-activity = { path = "/home/jb55/dev/github/rust-mobile/android-activity/android-activity" }