gui: move gpui-ce to 17d9c8e8 (HEAD as of 2026-09-27)
HEAD renames the packages to gpui-ce and gpui_ce_platform; their lib names are unchanged, so the dependency keys stay gpui/gpui_platform and no import moves. It needs Rust 1.95, which the flake now provides. The one API break is Deferred::with_priority becoming priority, with the same meaning for an explicit value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b5eb1ea68d
commit
249cf90d96
8 files changed
+477
-516
No files matched your search
Generated
+468
-504
File diff suppressed because it is too large.
Load diff
@@ -8,11 +8,8 @@ name = "syn-gui"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Pinned: gpui-ce's HEAD has since renamed this package to `gpui-ce` and raised
|
||||
# its MSRV past the flake's toolchain, so an unpinned `cargo update` breaks the
|
||||
# build. Moving the pin forward is a deliberate migration, not a lockfile bump.
|
||||
gpui = { package = "gpui", git = "https://github.com/gpui-ce/gpui-ce", rev = "791398406aec62096c96592bf91375ba53e686e3" }
|
||||
gpui_platform = { git = "https://github.com/gpui-ce/gpui-ce", rev = "791398406aec62096c96592bf91375ba53e686e3" }
|
||||
gpui = { package = "gpui-ce", git = "https://github.com/gpui-ce/gpui-ce", rev = "17d9c8e8fdb30a329d817ca06bff424e8e848f1a" }
|
||||
gpui_platform = { package = "gpui_ce_platform", git = "https://github.com/gpui-ce/gpui-ce", rev = "17d9c8e8fdb30a329d817ca06bff424e8e848f1a" }
|
||||
synchronicity = { path = "../lib", package = "synchronicity_lib", features = ["multimedia", "cbr"] }
|
||||
syn-daemon = { path = "../syn-daemon" }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
@@ -2681,7 +2681,7 @@ impl NotesView {
|
||||
fn render_context_menu(&self) -> Option<impl IntoElement + use<>> {
|
||||
let position = self.context_menu.as_ref()?.position;
|
||||
let menu = self.context_menu_view.clone()?;
|
||||
Some(deferred(anchored().position(position).snap_to_window().child(menu)).with_priority(2))
|
||||
Some(deferred(anchored().position(position).snap_to_window().child(menu)).priority(2))
|
||||
}
|
||||
|
||||
fn render_dialog(&self, theme: &Theme, cx: &mut Context<Self>) -> impl IntoElement + use<> {
|
||||
|
||||
@@ -729,7 +729,7 @@ impl SynchronicityView {
|
||||
fn render_context_menu(&self) -> Option<impl IntoElement + use<>> {
|
||||
let position = self.context_menu.as_ref()?.position;
|
||||
let menu = self.context_menu_view.clone()?;
|
||||
Some(deferred(anchored().position(position).snap_to_window().child(menu)).with_priority(2))
|
||||
Some(deferred(anchored().position(position).snap_to_window().child(menu)).priority(2))
|
||||
}
|
||||
|
||||
/// What this window shows where a popped-out screen used to be.
|
||||
|
||||
@@ -275,7 +275,7 @@ impl<T: Clone + PartialEq + 'static> Render for Combobox<T> {
|
||||
)),
|
||||
),
|
||||
)
|
||||
.with_priority(1),
|
||||
.priority(1),
|
||||
)
|
||||
})
|
||||
.on_children_prepainted({
|
||||
|
||||
@@ -214,7 +214,7 @@ impl<E: ParentElement + Styled + IntoElement + 'static> Element for ContextMenu<
|
||||
),
|
||||
),
|
||||
)
|
||||
.with_priority(1)
|
||||
.priority(1)
|
||||
.into_any(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ impl<T: StatefulInteractiveElement + IntoElement + 'static> RenderOnce for Dropd
|
||||
},
|
||||
),
|
||||
))
|
||||
.with_priority(1),
|
||||
.priority(1),
|
||||
);
|
||||
// Anchor the menu to the trigger's bottom-left, in window coordinates.
|
||||
let below: Point<Pixels> = trigger_bounds
|
||||
@@ -165,7 +165,7 @@ impl<T: StatefulInteractiveElement + IntoElement + 'static> RenderOnce for Dropd
|
||||
.snap_to_window()
|
||||
.child(menu),
|
||||
)
|
||||
.with_priority(2),
|
||||
.priority(2),
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -1475,7 +1475,7 @@ impl PlayerControls {
|
||||
)),
|
||||
),
|
||||
)
|
||||
.with_priority(10)
|
||||
.priority(10)
|
||||
}
|
||||
|
||||
/// The draggable speed slider, spanning [`MIN_SPEED`]–[`MAX_SPEED`], with
|
||||
|
||||
Reference in new issue
Block a user