chore: Update GPUI and fix DeferredScrollToItem API changes. (#1315)

This commit is contained in:
Jason Lee 2025-09-30 16:10:25 +08:00 committed by GitHub
parent 8b0898147f
commit 69af1be6e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 16 deletions

32
Cargo.lock generated
View file

@ -605,7 +605,7 @@ dependencies = [
"bitflags 2.9.1", "bitflags 2.9.1",
"cexpr", "cexpr",
"clang-sys", "clang-sys",
"itertools 0.12.1", "itertools 0.11.0",
"lazy_static", "lazy_static",
"lazycell", "lazycell",
"log", "log",
@ -628,7 +628,7 @@ dependencies = [
"bitflags 2.9.1", "bitflags 2.9.1",
"cexpr", "cexpr",
"clang-sys", "clang-sys",
"itertools 0.13.0", "itertools 0.11.0",
"log", "log",
"prettyplease", "prettyplease",
"proc-macro2", "proc-macro2",
@ -1158,7 +1158,7 @@ dependencies = [
[[package]] [[package]]
name = "collections" name = "collections"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"rustc-hash 2.1.1", "rustc-hash 2.1.1",
@ -1586,7 +1586,7 @@ dependencies = [
[[package]] [[package]]
name = "derive_refineable" name = "derive_refineable"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -2714,7 +2714,7 @@ dependencies = [
[[package]] [[package]]
name = "gpui" name = "gpui"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"as-raw-xcb-connection", "as-raw-xcb-connection",
@ -2885,7 +2885,7 @@ dependencies = [
[[package]] [[package]]
name = "gpui_macros" name = "gpui_macros"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"heck 0.5.0", "heck 0.5.0",
"proc-macro2", "proc-macro2",
@ -3152,7 +3152,7 @@ dependencies = [
[[package]] [[package]]
name = "http_client" name = "http_client"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@ -3172,7 +3172,7 @@ dependencies = [
[[package]] [[package]]
name = "http_client_tls" name = "http_client_tls"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"rustls", "rustls",
"rustls-platform-verifier", "rustls-platform-verifier",
@ -4058,7 +4058,7 @@ dependencies = [
[[package]] [[package]]
name = "media" name = "media"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bindgen 0.71.1", "bindgen 0.71.1",
@ -4818,7 +4818,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]] [[package]]
name = "perf" name = "perf"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"collections", "collections",
"serde", "serde",
@ -5637,7 +5637,7 @@ dependencies = [
[[package]] [[package]]
name = "refineable" name = "refineable"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"derive_refineable", "derive_refineable",
"workspace-hack", "workspace-hack",
@ -5748,7 +5748,7 @@ dependencies = [
[[package]] [[package]]
name = "reqwest_client" name = "reqwest_client"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@ -6305,7 +6305,7 @@ checksum = "0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749"
[[package]] [[package]]
name = "semantic_version" name = "semantic_version"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"serde", "serde",
@ -6858,7 +6858,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]] [[package]]
name = "sum_tree" name = "sum_tree"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"arrayvec", "arrayvec",
"log", "log",
@ -8098,7 +8098,7 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]] [[package]]
name = "util" name = "util"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-fs 2.1.3", "async-fs 2.1.3",
@ -8133,7 +8133,7 @@ dependencies = [
[[package]] [[package]]
name = "util_macros" name = "util_macros"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#77854f46274d464a9171deb07e61858f57963d1c" source = "git+https://github.com/zed-industries/zed.git#6af385235d2dbd145391861556704edb1523ebf3"
dependencies = [ dependencies = [
"perf", "perf",
"quote", "quote",

View file

@ -104,6 +104,7 @@ impl VirtualListScrollHandle {
item_index: ix, item_index: ix,
strategy, strategy,
offset, offset,
scroll_strict: false,
}); });
} }