From c8fcb72faef99e597377525a80fc1da3ebf065e3 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Tue, 5 Nov 2024 20:49:41 +0900 Subject: [PATCH] fix: panic because the init size is 0,0 set it to 1,1 at the beginning and update the deps --- Cargo.lock | 319 ++++++++---------- Cargo.toml | 34 +- iced_examples/application_launcher/Cargo.toml | 4 +- .../application_launcher/src/main.rs | 2 +- iced_examples/bottom_panel/Cargo.toml | 4 +- iced_examples/zbus_invoked_widget/Cargo.toml | 2 +- iced_layershell/src/application.rs | 7 +- starcolorkeyboard/Cargo.toml | 2 +- 8 files changed, 174 insertions(+), 200 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0977ec9..ba35429 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,12 +27,6 @@ dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "adler2" version = "2.0.0" @@ -116,7 +110,7 @@ dependencies = [ [[package]] name = "application-launcher" -version = "0.9.4" +version = "0.9.5" dependencies = [ "gio", "iced", @@ -268,7 +262,7 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -303,7 +297,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -327,7 +321,7 @@ dependencies = [ "addr2line", "cfg-if", "libc", - "miniz_oxide 0.8.0", + "miniz_oxide", "object", "rustc-demangle", "windows-targets 0.52.6", @@ -411,7 +405,7 @@ dependencies = [ [[package]] name = "bottom_panel" -version = "0.9.4" +version = "0.9.5" dependencies = [ "gio", "iced", @@ -451,7 +445,7 @@ checksum = "bcfcc3cd946cb52f0bbfdbbcfa2f4e24f75ebb6c0e1002f7c25904fada18b9ec" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -468,9 +462,9 @@ checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" [[package]] name = "cairo-rs" -version = "0.20.1" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a0ea147c94108c9613235388f540e4d14c327f7081c9e471fc8ee8a2533e69" +checksum = "d7fa699e1d7ae691001a811dda5ef0e3e42e1d4119b26426352989df9e94e3e6" dependencies = [ "bitflags 2.6.0", "cairo-sys-rs", @@ -542,9 +536,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.31" +version = "1.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "67b9470d453346108f93a59222a9a1a5724db32d0a4727b7ab7ace4b4d822dc9" dependencies = [ "jobserver", "libc", @@ -789,7 +783,7 @@ dependencies = [ [[package]] name = "counter" -version = "0.9.4" +version = "0.9.5" dependencies = [ "iced", "iced_layershell", @@ -798,7 +792,7 @@ dependencies = [ [[package]] name = "counter_lock" -version = "0.9.4" +version = "0.9.5" dependencies = [ "iced", "iced_runtime", @@ -807,7 +801,7 @@ dependencies = [ [[package]] name = "counter_multi" -version = "0.9.4" +version = "0.9.5" dependencies = [ "iced", "iced_layershell", @@ -933,7 +927,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -944,7 +938,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1097,7 +1091,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1164,15 +1158,14 @@ dependencies = [ [[package]] name = "exr" -version = "1.72.0" +version = "1.73.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "887d93f60543e9a9362ef8a21beedd0a833c5d9610e18c67abe15a5963dcb1a4" +checksum = "f83197f59927b46c04a183a619b7c29df34e63e63c7869320862268c0ef687e0" dependencies = [ "bit_field", - "flume", "half", "lebe", - "miniz_oxide 0.7.4", + "miniz_oxide", "rayon-core", "smallvec", "zune-inflate", @@ -1192,9 +1185,9 @@ checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fdeflate" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8090f921a24b04994d9929e204f50b498a33ea6ba559ffaa05e04f7ee7fb5ab" +checksum = "07c6f4c64c1d33a3111c4466f7365ebdcc37c5bd1ea0d62aae2e3d722aacbedb" dependencies = [ "simd-adler32", ] @@ -1206,7 +1199,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", - "miniz_oxide 0.8.0", + "miniz_oxide", ] [[package]] @@ -1221,15 +1214,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8" -[[package]] -name = "flume" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" -dependencies = [ - "spin", -] - [[package]] name = "fnv" version = "1.0.7" @@ -1300,7 +1284,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1360,9 +1344,9 @@ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +checksum = "3f1fa2f9765705486b33fd2acf1577f8ec449c2ba1f318ae5447697b7c08d210" dependencies = [ "fastrand", "futures-core", @@ -1379,7 +1363,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1461,9 +1445,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "gio" -version = "0.20.4" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d999e8fb09583e96080867e364bc1e701284ad206c76a5af480d63833ad43c" +checksum = "d8569975884fdfdbed536b682448fbd8c70bafbd69cac2d45eb1a7a372702241" dependencies = [ "futures-channel", "futures-core", @@ -1478,9 +1462,9 @@ dependencies = [ [[package]] name = "gio-sys" -version = "0.20.4" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f7efc368de04755344f0084104835b6bb71df2c1d41e37d863947392a894779" +checksum = "217f464cad5946ae4369c355155e2d16b488c08920601083cb4891e352ae777b" dependencies = [ "glib-sys", "gobject-sys", @@ -1508,9 +1492,9 @@ checksum = "151665d9be52f9bb40fc7966565d39666f2d1e69233571b71b87791c7e0528b3" [[package]] name = "glib" -version = "0.20.4" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf1ec6d3650bf9fdbc6cee242d4fcebc6f6bfd9bea5b929b6a8b7344eb85ff" +checksum = "358431b0e0eb15b9d02db52e1f19c805b953c5c168099deb3de88beab761768c" dependencies = [ "bitflags 2.6.0", "futures-channel", @@ -1529,22 +1513,22 @@ dependencies = [ [[package]] name = "glib-macros" -version = "0.20.4" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6bf88f70cd5720a6197639dcabcb378dd528d0cb68cb1f45e3b358bcb841cd7" +checksum = "e7d21ca27acfc3e91da70456edde144b4ac7c36f78ee77b10189b3eb4901c156" dependencies = [ "heck", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] name = "glib-sys" -version = "0.20.4" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9eca5d88cfa6a453b00d203287c34a2b7cac3a7831779aa2bb0b3c7233752b" +checksum = "8a5911863ab7ecd4a6f8d5976f12eeba076b23669c49b066d877e742544aa389" dependencies = [ "libc", "system-deps", @@ -1675,9 +1659,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" [[package]] name = "hassle-rs" @@ -1812,7 +1796,7 @@ dependencies = [ [[package]] name = "iced_layershell" -version = "0.9.4" +version = "0.9.5" dependencies = [ "futures", "iced", @@ -1831,13 +1815,13 @@ dependencies = [ [[package]] name = "iced_layershell_macros" -version = "0.9.4" +version = "0.9.5" dependencies = [ "darling", "manyhow", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1868,7 +1852,7 @@ dependencies = [ [[package]] name = "iced_sessionlock" -version = "0.9.4" +version = "0.9.5" dependencies = [ "futures", "iced", @@ -1887,13 +1871,13 @@ dependencies = [ [[package]] name = "iced_sessionlock_macros" -version = "0.9.4" +version = "0.9.5" dependencies = [ "darling", "manyhow", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1915,7 +1899,7 @@ dependencies = [ [[package]] name = "iced_virtualkeyboard" -version = "0.9.4" +version = "0.9.5" dependencies = [ "iced", "iced_layershell", @@ -2018,7 +2002,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.15.0", + "hashbrown 0.15.1", ] [[package]] @@ -2133,7 +2117,7 @@ dependencies = [ [[package]] name = "layershellev" -version = "0.9.4" +version = "0.9.5" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -2185,9 +2169,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.8" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" [[package]] name = "libredox" @@ -2256,9 +2240,9 @@ dependencies = [ [[package]] name = "lyon_geom" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edecfb8d234a2b0be031ab02ebcdd9f3b9ee418fb35e265f7a540a48d197bff9" +checksum = "8af69edc087272df438b3ee436c4bb6d7c04aa8af665cfd398feae627dbd8570" dependencies = [ "arrayvec", "euclid", @@ -2267,9 +2251,9 @@ dependencies = [ [[package]] name = "lyon_path" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c08a606c7a59638d6c6aa18ac91a06aa9fb5f765a7efb27e6a4da58700740d7" +checksum = "8e0b8aec2f58586f6eef237985b9a9b7cb3a3aff4417c575075cf95bf925252e" dependencies = [ "lyon_geom", "num-traits", @@ -2305,7 +2289,7 @@ dependencies = [ "manyhow-macros", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2358,15 +2342,6 @@ dependencies = [ "paste", ] -[[package]] -name = "miniz_oxide" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.8.0" @@ -2505,7 +2480,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2804,7 +2779,7 @@ dependencies = [ "by_address", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2953,7 +2928,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2973,29 +2948,29 @@ checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" [[package]] name = "pin-project" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf123a161dde1e524adf36f90bc5d8d3462824a9c43553ad07a8183161189ec" +checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" +checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] name = "pin-project-lite" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" [[package]] name = "pin-utils" @@ -3030,7 +3005,7 @@ dependencies = [ "crc32fast", "fdeflate", "flate2", - "miniz_oxide 0.8.0", + "miniz_oxide", ] [[package]] @@ -3085,9 +3060,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.88" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9" +checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" dependencies = [ "unicode-ident", ] @@ -3195,9 +3170,9 @@ dependencies = [ [[package]] name = "read-fonts" -version = "0.22.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb94d9ac780fdcf9b6b252253f7d8f221379b84bd3573131139b383df69f85e1" +checksum = "4a04b892cb6f91951f144c33321843790c8574c825aafdb16d815fd7183b5229" dependencies = [ "bytemuck", "font-types", @@ -3243,9 +3218,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", @@ -3337,9 +3312,9 @@ checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" [[package]] name = "rustix" -version = "0.38.37" +version = "0.38.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" +checksum = "375116bee2be9ed569afe2154ea6a99dfdffd257f533f187498c2a8f5feaf4ee" dependencies = [ "bitflags 2.6.0", "errno", @@ -3413,22 +3388,22 @@ checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a" [[package]] name = "serde" -version = "1.0.210" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" +checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.210" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" +checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3451,7 +3426,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3465,7 +3440,7 @@ dependencies = [ [[package]] name = "sessionlockev" -version = "0.9.4" +version = "0.9.5" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -3657,15 +3632,6 @@ dependencies = [ "x11rb", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -dependencies = [ - "lock_api", -] - [[package]] name = "spirv" version = "0.3.0+sdk-1.3.268.0" @@ -3677,7 +3643,7 @@ dependencies = [ [[package]] name = "starcolorkeyboard" -version = "0.9.4" +version = "0.9.5" dependencies = [ "bitflags 2.6.0", "cairo-rs", @@ -3714,9 +3680,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "svg_fmt" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e16a0f46cf5fd675563ef54f26e83e20f2366bcf027bcb3cc3ed2b98aaf2ca" +checksum = "ce5d813d71d82c4cbc1742135004e4a79fd870214c155443451c139c9470a0aa" [[package]] name = "svgtypes" @@ -3752,9 +3718,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.82" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -3763,9 +3729,9 @@ dependencies = [ [[package]] name = "sys-locale" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e801cf239ecd6ccd71f03d270d67dd53d13e90aab208bf4b8fe4ad957ea949b0" +checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" dependencies = [ "libc", ] @@ -3813,22 +3779,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.64" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" +checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.64" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" +checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3898,9 +3864,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.40.0" +version = "1.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" +checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb" dependencies = [ "backtrace", "bytes", @@ -3967,7 +3933,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -4157,7 +4123,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "wasm-bindgen-shared", ] @@ -4191,7 +4157,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4219,7 +4185,7 @@ dependencies = [ [[package]] name = "waycrate_xkbkeycode" -version = "0.9.4" +version = "0.9.5" dependencies = [ "bitflags 2.6.0", "log", @@ -4246,9 +4212,9 @@ dependencies = [ [[package]] name = "wayland-client" -version = "0.31.6" +version = "0.31.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3f45d1222915ef1fd2057220c1d9d9624b7654443ea35c3877f7a52bd0a5a2d" +checksum = "b66249d3fc69f76fd74c82cc319300faa554e9d865dab1f7cd66cc20db10b280" dependencies = [ "bitflags 2.6.0", "rustix", @@ -4269,9 +4235,9 @@ dependencies = [ [[package]] name = "wayland-cursor" -version = "0.31.6" +version = "0.31.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a94697e66e76c85923b0d28a0c251e8f0666f58fc47d316c0f4da6da75d37cb" +checksum = "32b08bc3aafdb0035e7fe0fdf17ba0c09c268732707dca4ae098f60cb28c9e4c" dependencies = [ "rustix", "wayland-client", @@ -4280,9 +4246,9 @@ dependencies = [ [[package]] name = "wayland-protocols" -version = "0.32.4" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5755d77ae9040bb872a25026555ce4cb0ae75fd923e90d25fba07d81057de0" +checksum = "7cd0ade57c4e6e9a8952741325c30bf82f4246885dca8bf561898b86d0c1f58e" dependencies = [ "bitflags 2.6.0", "wayland-backend", @@ -4292,9 +4258,9 @@ dependencies = [ [[package]] name = "wayland-protocols-misc" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d40dd9d2f7f2713724d84b920d6f73ff878f6a353712942f75f78f4dadb72886" +checksum = "da2e42969764e469a115d4bb1c16e9588ef8b75b127ba7a2c9ddf1e140b25ca7" dependencies = [ "bitflags 2.6.0", "wayland-backend", @@ -4305,9 +4271,9 @@ dependencies = [ [[package]] name = "wayland-protocols-plasma" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0a41a6875e585172495f7a96dfa42ca7e0213868f4f15c313f7c33221a7eff" +checksum = "9b31cab548ee68c7eb155517f2212049dc151f7cd7910c2b66abfd31c3ee12bd" dependencies = [ "bitflags 2.6.0", "wayland-backend", @@ -4318,9 +4284,9 @@ dependencies = [ [[package]] name = "wayland-protocols-wlr" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad87b5fd1b1d3ca2f792df8f686a2a11e3fe1077b71096f7a175ab699f89109" +checksum = "782e12f6cd923c3c316130d56205ebab53f55d6666b7faddfad36cecaeeb4022" dependencies = [ "bitflags 2.6.0", "wayland-backend", @@ -4972,9 +4938,9 @@ dependencies = [ [[package]] name = "zbus" -version = "5.0.1" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "333be40ef37976542e10832ba961e3e44ea215a6b1e2673066b303ee3e0ede10" +checksum = "4e0c8d6fdd4c4ac401fd298fd169d538a386e9df3c32ff136e8745dfa443dbd8" dependencies = [ "async-broadcast", "async-process", @@ -4994,21 +4960,22 @@ dependencies = [ "tracing", "uds_windows", "windows-sys 0.59.0", + "winnow", "xdg-home", - "zbus_macros 5.0.1", - "zbus_names 4.0.0", - "zvariant 5.0.1", + "zbus_macros 5.1.0", + "zbus_names 4.1.0", + "zvariant 5.1.0", ] [[package]] name = "zbus_invoked_widget" -version = "0.9.4" +version = "0.9.5" dependencies = [ "futures", "iced", "iced_layershell", "iced_runtime", - "zbus 5.0.1", + "zbus 5.1.0", ] [[package]] @@ -5020,21 +4987,23 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "zvariant_utils 2.1.0", ] [[package]] name = "zbus_macros" -version = "5.0.1" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "381be624000c82e716c2a45d9213fabacf82177591fa8a6ff655d2825450601a" +checksum = "ed1f3cc6313cbefd539b4eee6de36a990897ab6cc2c30a82b3ac29ef9099e6c0" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", - "zvariant_utils 3.0.1", + "syn 2.0.87", + "zbus_names 4.1.0", + "zvariant 5.1.0", + "zvariant_utils 3.0.2", ] [[package]] @@ -5050,13 +5019,14 @@ dependencies = [ [[package]] name = "zbus_names" -version = "4.0.0" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdc27fbd3593ff015cef906527a2ec4115e2e3dbf6204a24d952ac4975c80614" +checksum = "856b7a38811f71846fd47856ceee8bccaec8399ff53fb370247e66081ace647b" dependencies = [ "serde", "static_assertions", - "zvariant 5.0.1", + "winnow", + "zvariant 5.1.0", ] [[package]] @@ -5083,7 +5053,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -5110,16 +5080,17 @@ dependencies = [ [[package]] name = "zvariant" -version = "5.0.1" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c690a1da8858fd4377b8cc3134a753b0bea1d8ebd78ad6e5897fab821c5e184e" +checksum = "a1200ee6ac32f1e5a312e455a949a4794855515d34f9909f4a3e082d14e1a56f" dependencies = [ "endi", "enumflags2", "serde", "static_assertions", - "zvariant_derive 5.0.1", - "zvariant_utils 3.0.1", + "winnow", + "zvariant_derive 5.1.0", + "zvariant_utils 3.0.2", ] [[package]] @@ -5131,21 +5102,21 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "zvariant_utils 2.1.0", ] [[package]] name = "zvariant_derive" -version = "5.0.1" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83b6ddc1fed08493e4f2bd9350e7d00a3383467228735f3f169a9f8820fde755" +checksum = "687e3b97fae6c9104fbbd36c73d27d149abf04fb874e2efbd84838763daa8916" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.82", - "zvariant_utils 3.0.1", + "syn 2.0.87", + "zvariant_utils 3.0.2", ] [[package]] @@ -5156,19 +5127,19 @@ checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] name = "zvariant_utils" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f8d85190ba70bc7b9540430df078bb529620b1464ed4a606010de584e27094d" +checksum = "20d1d011a38f12360e5fcccceeff5e2c42a8eb7f27f0dcba97a0862ede05c9c6" dependencies = [ "proc-macro2", "quote", "serde", "static_assertions", - "syn 2.0.82", + "syn 2.0.87", "winnow", ] diff --git a/Cargo.toml b/Cargo.toml index ca42211..dabb465 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ authors = [ "Aakash Sen Sharma ", ] edition = "2021" -version = "0.9.4" +version = "0.9.5" license = "MIT" repository = "https://github.com/waycrate/exwlshelleventloop" description = "Wayland extra shell lib" @@ -26,32 +26,32 @@ keywords = ["wayland", "wlroots"] readme = "README.md" [workspace.dependencies] -layershellev = { version = "0.9.4", path = "./layershellev" } -sessionlockev = { version = "0.9.4", path = "./sessionlockev" } +layershellev = { version = "0.9.5", path = "./layershellev" } +sessionlockev = { version = "0.9.5", path = "./sessionlockev" } -iced_layershell = { version = "0.9.4", path = "./iced_layershell" } -iced_layershell_macros = { version = "0.9.4", path = "./iced_layershell_macros" } -iced_sessionlock = { version = "0.9.4", path = "./iced_sessionlock" } -iced_sessionlock_macros = { version = "0.9.4", path = "./iced_sessionlock_macros" } -waycrate_xkbkeycode = { version = "0.9.4", path = "./waycrate_xkbkeycode" } +iced_layershell = { version = "0.9.5", path = "./iced_layershell" } +iced_layershell_macros = { version = "0.9.5", path = "./iced_layershell_macros" } +iced_sessionlock = { version = "0.9.5", path = "./iced_sessionlock" } +iced_sessionlock_macros = { version = "0.9.5", path = "./iced_sessionlock_macros" } +waycrate_xkbkeycode = { version = "0.9.5", path = "./waycrate_xkbkeycode" } tempfile = "3.13.0" -thiserror = "1.0.64" -wayland-client = { version = "0.31.6" } +thiserror = "1.0.68" +wayland-client = { version = "0.31.7" } -wayland-protocols = { version = "0.32.4", default-features = false, features = [ +wayland-protocols = { version = "0.32.5", default-features = false, features = [ "unstable", "staging", "client", ] } -wayland-cursor = "0.31.6" +wayland-cursor = "0.31.7" -wayland-protocols-wlr = { version = "0.3.4", default-features = false, features = [ +wayland-protocols-wlr = { version = "0.3.5", default-features = false, features = [ "client", ] } -wayland-protocols-misc = { version = "0.3.4", features = ["client"] } +wayland-protocols-misc = { version = "0.3.5", features = ["client"] } wayland-backend = { version = "0.3.7", features = ["client_system"] } #sctk = { package = "smithay-client-toolkit", version = "0.19.2", features = [ @@ -79,7 +79,7 @@ bitflags = "2.6.0" log = "0.4.22" xkbcommon-dl = "0.4.2" -smol_str = "0.2.2" #NOTE: follwo iced +smol_str = "0.2.2" #NOTE: follow iced memmap2 = "0.9.5" tracing = "0.1.40" @@ -87,6 +87,6 @@ futures = "0.3.31" darling = { version = "0.20.10", features = ["suggestions"] } manyhow = { version = "0.11.4", features = ["darling"] } -proc-macro2 = "1.0.88" +proc-macro2 = "1.0.89" quote = "1.0.37" -syn = { version = "2.0.82", features = ["full"] } +syn = { version = "2.0.87", features = ["full"] } diff --git a/iced_examples/application_launcher/Cargo.toml b/iced_examples/application_launcher/Cargo.toml index 2297f4c..804d850 100644 --- a/iced_examples/application_launcher/Cargo.toml +++ b/iced_examples/application_launcher/Cargo.toml @@ -22,7 +22,7 @@ iced = { workspace = true, features = [ ] } iced_runtime.workspace = true iced_layershell.workspace = true -gio = "0.20.4" -regex = "1.11.0" +gio = "0.20.5" +regex = "1.11.1" xdg = "2.5.2" tracing = "0.1.40" diff --git a/iced_examples/application_launcher/src/main.rs b/iced_examples/application_launcher/src/main.rs index 4c999c8..43d966a 100644 --- a/iced_examples/application_launcher/src/main.rs +++ b/iced_examples/application_launcher/src/main.rs @@ -66,7 +66,7 @@ impl Application for Launcher { } fn namespace(&self) -> String { - String::from("iced_launcer") + String::from("iced_launcer2") } fn subscription(&self) -> iced::Subscription { diff --git a/iced_examples/bottom_panel/Cargo.toml b/iced_examples/bottom_panel/Cargo.toml index 2a9f3f3..df9f37d 100644 --- a/iced_examples/bottom_panel/Cargo.toml +++ b/iced_examples/bottom_panel/Cargo.toml @@ -15,7 +15,7 @@ readme.workspace = true iced = { workspace = true, features = ["image", "svg"] } iced_runtime.workspace = true iced_layershell.workspace = true -gio = "0.20.4" -regex = "1.11.0" +gio = "0.20.5" +regex = "1.11.1" xdg = "2.5.2" tracing = "0.1.40" diff --git a/iced_examples/zbus_invoked_widget/Cargo.toml b/iced_examples/zbus_invoked_widget/Cargo.toml index be1561e..ef3dcf1 100644 --- a/iced_examples/zbus_invoked_widget/Cargo.toml +++ b/iced_examples/zbus_invoked_widget/Cargo.toml @@ -14,5 +14,5 @@ iced.workspace = true iced_runtime.workspace = true iced_layershell.workspace = true -zbus = { version = "5.0.1", default-features = false, features = ["tokio"] } +zbus = { version = "5.1.0", default-features = false, features = ["tokio"] } futures = "0.3.31" diff --git a/iced_layershell/src/application.rs b/iced_layershell/src/application.rs index 31eacf5..f9024f4 100644 --- a/iced_layershell/src/application.rs +++ b/iced_layershell/src/application.rs @@ -345,10 +345,13 @@ async fn run_instance( .expect("Cannot create compositor"); let mut renderer = compositor.create_renderer(); - let physical_size = state.physical_size(); let cache = user_interface::Cache::default(); + + // HACK: the surface size should not be set as 0, 0 + // but it will changed later + // so here set it to 1, 1 let mut surface = - compositor.create_surface(window.clone(), physical_size.width, physical_size.height); + compositor.create_surface(window.clone(), 1, 1); let mut should_exit = false; diff --git a/starcolorkeyboard/Cargo.toml b/starcolorkeyboard/Cargo.toml index 4861d8b..dd56836 100644 --- a/starcolorkeyboard/Cargo.toml +++ b/starcolorkeyboard/Cargo.toml @@ -13,7 +13,7 @@ tempfile.workspace = true xkbcommon = "0.8.0" -cairo-rs = "0.20.1" +cairo-rs = "0.20.5" pango = "0.20.4" pangocairo = "0.20.4"