Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
96 changes: 94 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,9 @@ perry-codegen-wear-tiles = { path = "crates/perry-codegen-wear-tiles" }
perry-codegen-wasm = { path = "crates/perry-codegen-wasm" }
perry-ui-testkit = { path = "crates/perry-ui-testkit" }
perry-updater = { path = "crates/perry-updater" }

# Patch aws-lc-sys to fix missing poly_rq_mul.S for Linux x86_64
# The upstream crate omits crypto/hrss/asm/poly_rq_mul.S from the linux_x86_64 build,
# causing undefined symbol errors when linking. See: patches/aws-lc-sys-0.40.0-add-poly_rq_mul.patch
[patch.crates-io]
aws-lc-sys = { path = "patches/aws-lc-sys-0.40.0" }
8 changes: 8 additions & 0 deletions crates/perry-api-manifest/src/entries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,14 @@ pub static API_MANIFEST: &[ApiEntry] = &[
method("perry/ui", "Table", false, None),
method("perry/ui", "Canvas", false, None),
method("perry/ui", "CameraView", false, None),
method("perry/ui", "cameraStart", false, None),
method("perry/ui", "cameraStop", false, None),
method("perry/ui", "cameraFreeze", false, None),
method("perry/ui", "cameraUnfreeze", false, None),
method("perry/ui", "cameraSampleColor", false, None),
method("perry/ui", "cameraSetOnTap", false, None),
method("perry/ui", "cameraRegisterFrameCallback", false, None),
method("perry/ui", "cameraUnregisterFrameCallback", false, None),
method("perry/ui", "SplitView", false, None),
method("perry/ui", "ForEach", false, None),
method("perry/ui", "State", false, None),
Expand Down
12 changes: 12 additions & 0 deletions crates/perry-dispatch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,18 @@ pub const PERRY_UI_TABLE: &[MethodRow] = &[
args: &[ArgKind::Widget, ArgKind::Closure],
ret: ReturnKind::Void,
},
MethodRow {
method: "cameraRegisterFrameCallback",
runtime: "perry_ui_camera_register_frame_callback",
args: &[ArgKind::Widget, ArgKind::Closure],
ret: ReturnKind::Void,
},
MethodRow {
method: "cameraUnregisterFrameCallback",
runtime: "perry_ui_camera_unregister_frame_callback",
args: &[ArgKind::Widget],
ret: ReturnKind::Void,
},
// ---- Canvas ----
MethodRow {
method: "Canvas",
Expand Down
3 changes: 3 additions & 0 deletions crates/perry-ui-gtk4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ perry-runtime = { path = "../perry-runtime" }
perry-ffi = { path = "../perry-ffi" }
base64 = "0.22"
libc = "0.2"
lazy_static = "1.4"
gtk4 = { version = "0.9", features = ["v4_6"] }
cairo-rs = "0.20"
# perry/ui MapView (#517). libshumate is GNOME's GTK4-native vector-tile
Expand All @@ -32,6 +33,8 @@ webkit6 = "=0.4"
dirs = "5"
# perry/media — GStreamer playbin for streaming audio playback (#351).
gstreamer = "0.25"
gstreamer-app = "0.25"
gstreamer-video = "0.25"
# perry/media — MPRIS D-Bus exposure for GNOME / KDE / playerctl /
# Bluetooth headphones (#366). Linux-only; zbus has Linux-specific
# system deps that don't build on macOS / Windows hosts, so the crate
Expand Down
Loading