diff --git a/Cargo.lock b/Cargo.lock index faaa955b..233a1bcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,12 +72,6 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "bitflags" version = "2.4.1" @@ -119,7 +113,7 @@ version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2650f66005301bd33cc486dec076e1293c4cecf768bc7ba9bf5d2b1be339b99c" dependencies = [ - "bitflags 2.4.1", + "bitflags", "cairo-sys-rs", "glib", "libc", @@ -570,7 +564,7 @@ version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01e191cc1af1f35b9699213107068cd3fe05d9816275ac118dc785a0dd8faebf" dependencies = [ - "bitflags 2.4.1", + "bitflags", "futures-channel", "futures-core", "futures-executor", @@ -864,16 +858,6 @@ version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi 0.3.9", -] - [[package]] name = "libloading" version = "0.8.3" @@ -939,7 +923,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 2.4.1", + "bitflags", "cfg-if", "cfg_aliases", "libc", @@ -964,50 +948,27 @@ dependencies = [ "libc", ] -[[package]] -name = "nvml-wrapper" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd21b9f5a1cce3c3515c9ffa85f5c7443e07162dae0ccf4339bb7ca38ad3454" -dependencies = [ - "bitflags 1.3.2", - "libloading 0.7.4", - "nvml-wrapper-sys 0.7.0", - "static_assertions", - "thiserror", - "wrapcenum-derive", -] - [[package]] name = "nvml-wrapper" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c9bff0aa1d48904a1385ea2a8b97576fbdcbc9a3cfccd0d31fe978e1c4038c5" dependencies = [ - "bitflags 2.4.1", - "libloading 0.8.3", - "nvml-wrapper-sys 0.8.0", + "bitflags", + "libloading", + "nvml-wrapper-sys", "static_assertions", "thiserror", "wrapcenum-derive", ] -[[package]] -name = "nvml-wrapper-sys" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c961a2ea9e91c59a69b78e69090f6f5b867bb46c0c56de9482da232437c4987e" -dependencies = [ - "libloading 0.7.4", -] - [[package]] name = "nvml-wrapper-sys" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "698d45156f28781a4e79652b6ebe2eaa0589057d588d3aec1333f6466f13fcb5" dependencies = [ - "libloading 0.8.3", + "libloading", ] [[package]] @@ -1191,12 +1152,12 @@ dependencies = [ [[package]] name = "process-data" -version = "1.3.0" +version = "1.4.0" dependencies = [ "anyhow", "glob", "libc", - "nvml-wrapper 0.9.0", + "nvml-wrapper", "once_cell", "regex", "serde", @@ -1273,7 +1234,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "resources" -version = "1.3.0" +version = "1.4.0" dependencies = [ "anyhow", "async-channel", @@ -1287,7 +1248,7 @@ dependencies = [ "log", "nix", "num_cpus", - "nvml-wrapper 0.10.0", + "nvml-wrapper", "once_cell", "paste", "plotters", @@ -1364,7 +1325,7 @@ version = "0.38.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" dependencies = [ - "bitflags 2.4.1", + "bitflags", "errno 0.3.8", "libc", "linux-raw-sys", diff --git a/Cargo.toml b/Cargo.toml index 894015a3..ec1d6c99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resources" -version = "1.3.0" +version = "1.4.0" authors = ["nokyan "] edition = "2021" diff --git a/data/net.nokyan.Resources.metainfo.xml.in.in b/data/net.nokyan.Resources.metainfo.xml.in.in index 19146ace..7871def1 100644 --- a/data/net.nokyan.Resources.metainfo.xml.in.in +++ b/data/net.nokyan.Resources.metainfo.xml.in.in @@ -66,6 +66,47 @@ + + +

+ Resources 1.4 is here and brings with it some quality of life features and bug fixes along with an upgrade to the new GNOME 46 runtime. Enjoy! +

+

+ 🐛 Bug fixes +

+
    +
  • Users other than the current user were mistakenly shown as root in the Processes view
  • +
  • The titlebar for GPU views was inconsistent with the other titlebars
  • +
  • Some widgets did not have accessibility labels
  • +
  • RAM size was calculated wrongly
  • +
  • Dialogs regarding process manipulation (such as ending a process) still said “Application”
  • +
  • App names in the Applications view were not localized into the user’s language
  • +
+

+ ✨ New features +

+
    +
  • Resources can now show graphs in the sidebar too (this is enabled per default but can be toggled back to the old bars in the settings)
  • +
  • CPU time of processes can now be shown in the Processes view
  • +
  • Read speed and write speed in Drive views now also have graphs
  • +
  • When launched, Resources will now start with the view that was last opened
  • +
  • When launched, Resources will now sort the items in the Applications and Processes views by what they were last sorted by
  • +
  • Added device descriptions for better distinction between similar devices (disabled by default)
  • +
  • There are now keyboard shortcuts for manipulating processes and applications
  • +
+

+ 📈 Improvements +

+
    +
  • Upgraded the Flatpak runtime to GNOME 46, allowing Resources to use libadwaita 1.5’s new and improved dialogs
  • +
  • Added brand colors and changed Resources’ summary to adhere to new Flathub guidelines
  • +
  • The column views in the Applications and Processes views now have undershoot and their backgrounds now looks less out of place
  • +
  • The power usage properties in GPU views are now more compact
  • +
  • Widgets with graphs in them now look closer to libadwaita’s not-that-new-anymore action rows
  • +
  • Improved app detection for GNOME Terminal and Google Chrome
  • +
+
+

@@ -121,4 +162,4 @@ mobile - + \ No newline at end of file diff --git a/data/resources/screenshots/1.png b/data/resources/screenshots/1.png index 420dbd8d..573f138f 100644 Binary files a/data/resources/screenshots/1.png and b/data/resources/screenshots/1.png differ diff --git a/data/resources/screenshots/2.png b/data/resources/screenshots/2.png index 2f7976ae..5e90041d 100644 Binary files a/data/resources/screenshots/2.png and b/data/resources/screenshots/2.png differ diff --git a/data/resources/screenshots/3.png b/data/resources/screenshots/3.png index 6c615ca1..1e762753 100644 Binary files a/data/resources/screenshots/3.png and b/data/resources/screenshots/3.png differ diff --git a/data/resources/screenshots/4.png b/data/resources/screenshots/4.png index fd598c8a..ddca8bb9 100644 Binary files a/data/resources/screenshots/4.png and b/data/resources/screenshots/4.png differ diff --git a/data/resources/screenshots/5.png b/data/resources/screenshots/5.png index 1e31c2c6..c047656a 100644 Binary files a/data/resources/screenshots/5.png and b/data/resources/screenshots/5.png differ diff --git a/data/resources/screenshots/6.png b/data/resources/screenshots/6.png index 658823c1..70e37ac5 100644 Binary files a/data/resources/screenshots/6.png and b/data/resources/screenshots/6.png differ diff --git a/data/resources/screenshots/7.png b/data/resources/screenshots/7.png index 0ad4a36e..ea4880a6 100644 Binary files a/data/resources/screenshots/7.png and b/data/resources/screenshots/7.png differ diff --git a/lib/process_data/Cargo.toml b/lib/process_data/Cargo.toml index cd184c6d..479e0092 100644 --- a/lib/process_data/Cargo.toml +++ b/lib/process_data/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "process-data" -version = "1.3.0" +version = "1.4.0" authors = ["nokyan "] edition = "2021" @@ -20,7 +20,7 @@ once_cell = "1.18.0" regex = "1.8.4" sysconf = "0.3.4" serde = { version = "1.0.180", features = ["serde_derive"] } -nvml-wrapper = "0.9.0" +nvml-wrapper = "0.10.0" syscalls = { version = "0.6.15", features = ["all"] } libc = "0.2.150" uzers = "0.11.3" diff --git a/meson.build b/meson.build index a0886181..23063882 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'resources', 'rust', - version: '1.3.0', + version: '1.4.0', meson_version: '>= 0.59', ) @@ -12,8 +12,8 @@ base_id = 'net.nokyan.Resources' dependency('glib-2.0', version: '>= 2.66') dependency('gio-2.0', version: '>= 2.66') -dependency('gtk4', version: '>= 4.8.0') -dependency('libadwaita-1', version: '>= 1.4.0') +dependency('gtk4', version: '>= 4.10.0') +dependency('libadwaita-1', version: '>= 1.5.0') glib_compile_resources = find_program('glib-compile-resources', required: true) glib_compile_schemas = find_program('glib-compile-schemas', required: true) @@ -52,7 +52,7 @@ endif meson.add_dist_script( 'build-aux/dist-vendor.sh', meson.project_build_root() / 'meson-dist' / meson.project_name() + '-' + version, - meson.project_source_root() + meson.project_source_root(), ) if get_option('profile') == 'development'