mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [v6.1.5]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Update dependencies
|
||||||
|
- Fix fan-curve proxy type signatures
|
||||||
|
|
||||||
## [v6.1.4]
|
## [v6.1.4]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
379
Cargo.lock
generated
379
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "6.1.4"
|
version = "6.1.5"
|
||||||
rust-version = "1.82"
|
rust-version = "1.82"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@@ -44,8 +44,8 @@ smol = "^2.0"
|
|||||||
mio = "0.8.11"
|
mio = "0.8.11"
|
||||||
|
|
||||||
futures-util = "0.3.31"
|
futures-util = "0.3.31"
|
||||||
zbus = "5.1.1"
|
zbus = "5.5.0"
|
||||||
logind-zbus = { version = "5.0.0" } #, default-features = false, features = ["non_blocking"] }
|
logind-zbus = { version = "5.2.0" } #, default-features = false, features = ["non_blocking"] }
|
||||||
|
|
||||||
serde = { version = "^1.0", features = ["serde_derive"] }
|
serde = { version = "^1.0", features = ["serde_derive"] }
|
||||||
ron = "*"
|
ron = "*"
|
||||||
@@ -66,7 +66,7 @@ gif = "^0.12.0"
|
|||||||
|
|
||||||
versions = "6.2"
|
versions = "6.2"
|
||||||
|
|
||||||
notify-rust = { version = "4.11.4", features = ["z", "async"] }
|
notify-rust = { version = "4.11.5", features = ["z", "async"] }
|
||||||
|
|
||||||
sg = { git = "https://github.com/flukejones/sg-rs.git" }
|
sg = { git = "https://github.com/flukejones/sg-rs.git" }
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ macro_rules! task_watch_item_notify {
|
|||||||
&self,
|
&self,
|
||||||
signal_ctxt: SignalEmitter<'static>,
|
signal_ctxt: SignalEmitter<'static>,
|
||||||
) -> Result<(), RogError> {
|
) -> Result<(), RogError> {
|
||||||
use zbus::export::futures_util::StreamExt;
|
use futures_util::StreamExt;
|
||||||
|
|
||||||
let ctrl = self.clone();
|
let ctrl = self.clone();
|
||||||
concat_idents::concat_idents!(watch_fn = monitor_, $name {
|
concat_idents::concat_idents!(watch_fn = monitor_, $name {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
(
|
(
|
||||||
device_name: "FA617NS",
|
device_name: "FA617NS",
|
||||||
product_id: "",
|
product_id: "",
|
||||||
layout_name: "fa617ns",
|
layout_name: "fx505d",
|
||||||
basic_modes: [Static, Breathe, Pulse],
|
basic_modes: [Static, Breathe, Pulse],
|
||||||
basic_zones: [],
|
basic_zones: [],
|
||||||
advanced_type: None,
|
advanced_type: None,
|
||||||
@@ -872,4 +872,4 @@
|
|||||||
advanced_type: None,
|
advanced_type: None,
|
||||||
power_zones: [Ally],
|
power_zones: [Ally],
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ use std::process::Command;
|
|||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
|
use futures_util::StreamExt;
|
||||||
use log::{debug, error, info, warn};
|
use log::{debug, error, info, warn};
|
||||||
use notify_rust::{Hint, Notification, Timeout, Urgency};
|
use notify_rust::{Hint, Notification, Timeout, Urgency};
|
||||||
use rog_platform::platform::GpuMode;
|
use rog_platform::platform::GpuMode;
|
||||||
@@ -19,7 +20,6 @@ use supergfxctl::pci_device::{GfxMode, GfxPower};
|
|||||||
use supergfxctl::zbus_proxy::DaemonProxy as SuperProxy;
|
use supergfxctl::zbus_proxy::DaemonProxy as SuperProxy;
|
||||||
use tokio::runtime::Runtime;
|
use tokio::runtime::Runtime;
|
||||||
use tokio::task::JoinHandle;
|
use tokio::task::JoinHandle;
|
||||||
use zbus::export::futures_util::StreamExt;
|
|
||||||
|
|
||||||
use crate::config::Config;
|
use crate::config::Config;
|
||||||
use crate::error::Result;
|
use crate::error::Result;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ macro_rules! set_ui_callbacks {
|
|||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
let mut x = proxy_copy.receive().await;
|
let mut x = proxy_copy.receive().await;
|
||||||
concat_idents::concat_idents!(set = set_, $proxy_fn {
|
concat_idents::concat_idents!(set = set_, $proxy_fn {
|
||||||
use zbus::export::futures_util::StreamExt;
|
use futures_util::StreamExt;
|
||||||
while let Some(e) = x.next().await {
|
while let Some(e) = x.next().await {
|
||||||
if let Ok(out) = e.get().await {
|
if let Ok(out) = e.get().await {
|
||||||
handle_copy.upgrade_in_event_loop(move |handle| {
|
handle_copy.upgrade_in_event_loop(move |handle| {
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ pub fn setup_anime_page(ui: &MainWindow, _states: Arc<Mutex<Config>>) {
|
|||||||
let anime_copy = anime.clone();
|
let anime_copy = anime.clone();
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
let mut x = anime_copy.receive_builtin_animations_changed().await;
|
let mut x = anime_copy.receive_builtin_animations_changed().await;
|
||||||
use zbus::export::futures_util::StreamExt;
|
use futures_util::StreamExt;
|
||||||
while let Some(e) = x.next().await {
|
while let Some(e) = x.next().await {
|
||||||
if let Ok(out) = e.get().await {
|
if let Ok(out) = e.get().await {
|
||||||
handle_copy
|
handle_copy
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ pub fn setup_aura_page(ui: &MainWindow, _states: Arc<Mutex<Config>>) {
|
|||||||
// spawn required since the while let never exits
|
// spawn required since the while let never exits
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
let mut x = proxy_copy.receive_led_mode_data_changed().await;
|
let mut x = proxy_copy.receive_led_mode_data_changed().await;
|
||||||
use zbus::export::futures_util::StreamExt;
|
use futures_util::StreamExt;
|
||||||
while let Some(e) = x.next().await {
|
while let Some(e) = x.next().await {
|
||||||
if let Ok(out) = e.get().await {
|
if let Ok(out) = e.get().await {
|
||||||
handle_copy
|
handle_copy
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2025-02-14 09:21+0000\n"
|
"POT-Creation-Date: 2025-02-15 22:46+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ impl Display for GpuMode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(i32)]
|
#[repr(u32)]
|
||||||
#[derive(
|
#[derive(
|
||||||
Deserialize,
|
Deserialize,
|
||||||
Serialize,
|
Serialize,
|
||||||
@@ -191,7 +191,7 @@ impl Display for GpuMode {
|
|||||||
Clone,
|
Clone,
|
||||||
Copy,
|
Copy,
|
||||||
)]
|
)]
|
||||||
#[zvariant(signature = "i")]
|
#[zvariant(signature = "u")]
|
||||||
/// `platform_profile` in asus_wmi
|
/// `platform_profile` in asus_wmi
|
||||||
pub enum PlatformProfile {
|
pub enum PlatformProfile {
|
||||||
#[default]
|
#[default]
|
||||||
|
|||||||
Reference in New Issue
Block a user