From 8e5bc54f97588e10033b165e0837c2e71a8fbe79 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Wed, 4 Dec 2024 20:46:52 +0900 Subject: [PATCH] chore: bump to 0.11.0 --- Cargo.lock | 36 +++++++++---------- Cargo.toml | 18 +++++----- .../src/build_pattern/application.rs | 11 ++++++ iced_layershell/src/build_pattern/daemon.rs | 11 ++++++ iced_sessionlock/src/build_pattern.rs | 11 ++++++ 5 files changed, 60 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 022db7f..bf475cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "application-launcher" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "gio", "iced", @@ -405,7 +405,7 @@ dependencies = [ [[package]] name = "bottom_panel" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "gio", "iced", @@ -783,7 +783,7 @@ dependencies = [ [[package]] name = "counter" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_layershell", @@ -792,7 +792,7 @@ dependencies = [ [[package]] name = "counter_lock" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_runtime", @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "counter_lock_pattern" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_runtime", @@ -810,7 +810,7 @@ dependencies = [ [[package]] name = "counter_multi" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_layershell", @@ -820,7 +820,7 @@ dependencies = [ [[package]] name = "counter_multi_pattern" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_layershell", @@ -830,7 +830,7 @@ dependencies = [ [[package]] name = "counter_pattern" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_layershell", @@ -1825,7 +1825,7 @@ dependencies = [ [[package]] name = "iced_layershell" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "futures", "iced", @@ -1844,7 +1844,7 @@ dependencies = [ [[package]] name = "iced_layershell_macros" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "darling", "manyhow", @@ -1881,7 +1881,7 @@ dependencies = [ [[package]] name = "iced_sessionlock" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "futures", "iced", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "iced_sessionlock_macros" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "darling", "manyhow", @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "iced_virtualkeyboard" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "iced", "iced_layershell", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "layershellev" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -3515,7 +3515,7 @@ dependencies = [ [[package]] name = "sessionlockev" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -3727,7 +3727,7 @@ dependencies = [ [[package]] name = "starcolorkeyboard" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "bitflags 2.6.0", "cairo-rs", @@ -4316,7 +4316,7 @@ dependencies = [ [[package]] name = "waycrate_xkbkeycode" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -5100,7 +5100,7 @@ dependencies = [ [[package]] name = "zbus_invoked_widget" -version = "0.11.0-rc5" +version = "0.11.0" dependencies = [ "futures", "iced", diff --git a/Cargo.toml b/Cargo.toml index 650ca54..c81b216 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ authors = [ "Aakash Sen Sharma ", ] edition = "2021" -version = "0.11.0-rc5" +version = "0.11.0" license = "MIT" repository = "https://github.com/waycrate/exwlshelleventloop" description = "Wayland extra shell lib" @@ -26,14 +26,14 @@ keywords = ["wayland", "wlroots"] readme = "README.md" [workspace.dependencies] -layershellev = { version = "0.11.0-rc5", path = "./layershellev" } -sessionlockev = { version = "0.11.0-rc5", path = "./sessionlockev" } - -iced_layershell = { version = "0.11.0-rc5", path = "./iced_layershell" } -iced_layershell_macros = { version = "0.11.0-rc5", path = "./iced_layershell_macros" } -iced_sessionlock = { version = "0.11.0-rc5", path = "./iced_sessionlock" } -iced_sessionlock_macros = { version = "0.11.0-rc5", path = "./iced_sessionlock_macros" } -waycrate_xkbkeycode = { version = "0.11.0-rc5", path = "./waycrate_xkbkeycode" } +layershellev = { version = "0.11.0", path = "./layershellev" } +sessionlockev = { version = "0.11.0", path = "./sessionlockev" } + +iced_layershell = { version = "0.11.0", path = "./iced_layershell" } +iced_layershell_macros = { version = "0.11.0", path = "./iced_layershell_macros" } +iced_sessionlock = { version = "0.11.0", path = "./iced_sessionlock" } +iced_sessionlock_macros = { version = "0.11.0", path = "./iced_sessionlock_macros" } +waycrate_xkbkeycode = { version = "0.11.0", path = "./waycrate_xkbkeycode" } tempfile = "3.14.0" thiserror = "1.0.69" diff --git a/iced_layershell/src/build_pattern/application.rs b/iced_layershell/src/build_pattern/application.rs index 404ebd8..146ca89 100644 --- a/iced_layershell/src/build_pattern/application.rs +++ b/iced_layershell/src/build_pattern/application.rs @@ -734,6 +734,17 @@ impl SingleApplication

{ self } + /// set the default_text_size + pub fn default_text_size(self, default_text_size: iced::Pixels) -> Self { + Self { + settings: MainSettings { + default_text_size, + ..self.settings + }, + ..self + } + } + pub fn namespace( self, namespace: impl NameSpace, diff --git a/iced_layershell/src/build_pattern/daemon.rs b/iced_layershell/src/build_pattern/daemon.rs index ad58528..0a82e20 100644 --- a/iced_layershell/src/build_pattern/daemon.rs +++ b/iced_layershell/src/build_pattern/daemon.rs @@ -1018,6 +1018,17 @@ impl Daemon

{ self } + /// set the default_text_size + pub fn default_text_size(self, default_text_size: iced::Pixels) -> Self { + Self { + settings: MainSettings { + default_text_size, + ..self.settings + }, + ..self + } + } + pub fn namespace( self, namespace: impl NameSpace, diff --git a/iced_sessionlock/src/build_pattern.rs b/iced_sessionlock/src/build_pattern.rs index 2411f7a..f90292d 100644 --- a/iced_sessionlock/src/build_pattern.rs +++ b/iced_sessionlock/src/build_pattern.rs @@ -736,6 +736,17 @@ mod pattern { self } + /// set the default_text_size + pub fn default_text_size(self, default_text_size: iced::Pixels) -> Self { + Self { + settings: MainSettings { + default_text_size, + ..self.settings + }, + ..self + } + } + /// Sets the style logic of the [`Application`]. pub fn style( self,