From 25a25d0a401ba269c1946a55f7a49c0e10b6f7f4 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 30 Dec 2023 17:50:18 +0100 Subject: [PATCH] Update Vizia with resizing patch --- CHANGELOG.md | 4 ++++ Cargo.lock | 22 +++++++++++----------- nih_plug_vizia/Cargo.toml | 4 +++- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c27dbda..d9fcca2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,10 @@ state is to list breaking changes. debug message. This makes the non-fatal debug assertion failures easier to spot. +### Fixed + +- Various `baseview` dependencies now have their versions pinned. + ## [2023-12-30] ### Added diff --git a/Cargo.lock b/Cargo.lock index 9260ce1f..a7060b65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4049,7 +4049,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.23.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "bitflags 1.3.2", "cssparser", @@ -4762,7 +4762,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vizia" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "vizia_baseview", "vizia_core", @@ -4772,7 +4772,7 @@ dependencies = [ [[package]] name = "vizia_baseview" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "baseview 0.1.0 (git+https://github.com/RustAudio/baseview.git?rev=2c1b1a7b0fef1a29a5150a6a8f6fef6a0cbab8c4)", "femtovg", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "vizia_core" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "accesskit", "bitflags 2.4.1", @@ -4817,7 +4817,7 @@ dependencies = [ [[package]] name = "vizia_derive" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "proc-macro2", "quote", @@ -4827,12 +4827,12 @@ dependencies = [ [[package]] name = "vizia_id" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" [[package]] name = "vizia_input" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "bitflags 1.3.2", "keyboard-types", @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "vizia_storage" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "morphorm", "vizia_id", @@ -4851,7 +4851,7 @@ dependencies = [ [[package]] name = "vizia_style" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "bitflags 2.4.1", "cssparser", @@ -4864,7 +4864,7 @@ dependencies = [ [[package]] name = "vizia_window" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "accesskit", "morphorm", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "vizia_winit" version = "0.1.0" -source = "git+https://github.com/vizia/vizia.git?rev=c9ff4015e4de4b7de470fe6a3d43e27aee156162#c9ff4015e4de4b7de470fe6a3d43e27aee156162" +source = "git+https://github.com/robbert-vdh/vizia.git?tag=patched-2023-12-30#0a4af1999d24f866d8e274a7810c4b61eea95a91" dependencies = [ "accesskit", "accesskit_winit", diff --git a/nih_plug_vizia/Cargo.toml b/nih_plug_vizia/Cargo.toml index 6da7f595..aab07115 100644 --- a/nih_plug_vizia/Cargo.toml +++ b/nih_plug_vizia/Cargo.toml @@ -12,7 +12,9 @@ nih_plug = { path = ".." } nih_plug_assets = { git = "https://github.com/robbert-vdh/nih_plug_assets.git" } baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "2c1b1a7b0fef1a29a5150a6a8f6fef6a0cbab8c4" } -vizia = { git = "https://github.com/vizia/vizia.git", rev = "c9ff4015e4de4b7de470fe6a3d43e27aee156162", default_features = false, features = ["baseview", "clipboard", "x11"] } +# This contains an as of writing not yet merged patch for rounding errors when +# resizing, and a workaround for certain events not firing when resizing +vizia = { git = "https://github.com/robbert-vdh/vizia.git", tag = "patched-2023-12-30", default_features = false, features = ["baseview", "clipboard", "x11"] } crossbeam = "0.8" # To make the state persistable