This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository evisum.
View the commit online.
commit 12b60cf0a3460a8d1c2fe0f431430e5a65c9f73b
Author: Alastair Poole <[email protected]>
AuthorDate: Sat May 9 00:51:27 2026 +0100
CPU: Fix min/max frequency and temperature readings.
By some miracle I renamed the enigmatic API so we don't clash.
Thank you Jesus. What a stroke of good fortune.
---
NEWS | 6 ++++++
VERSION | 2 +-
meson.build | 2 +-
src/bin/ui/visuals/cpu_default.c | 12 ++++++------
src/bin/ui/visuals/meson.build | 1 +
5 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/NEWS b/NEWS
index 23d9d2e..2b259a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+============
+Evisum 2.0.8
+============
+
+ * Fix CPU default visualisation bounds check.
+
============
Evisum 2.0.7
============
diff --git a/VERSION b/VERSION
index f1547e6..815e68d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.0.7
+2.0.8
diff --git a/meson.build b/meson.build
index ad7c32a..202a00a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
##### Project
project('evisum', 'c',
- version : '2.0.7',
+ version : '2.0.8',
meson_version : '>= 0.56.0')
efl_version = '>= 1.27.0'
diff --git a/src/bin/ui/visuals/cpu_default.c b/src/bin/ui/visuals/cpu_default.c
index 640b084..701fec7 100644
--- a/src/bin/ui/visuals/cpu_default.c
+++ b/src/bin/ui/visuals/cpu_default.c
@@ -51,10 +51,10 @@ _core_times_main_cb(void *data, Ecore_Thread *thread) {
uint64_t seq = 0;
Ext *ext = pd->ext;
- if (!system_cpu_frequency_min_max_get(&ext->freq_min, &ext->freq_max)) ext->cpu_freq = 1;
+ if (!cores_frequency_min_max(&ext->freq_min, &ext->freq_max)) ext->cpu_freq = 1;
- system_cpu_temperature_min_max_get(&ext->temp_min, &ext->temp_max);
- if ((system_cpu_n_temperature_get(0)) != -1) ext->cpu_temp = 1;
+ cores_temperature_min_max(&ext->temp_min, &ext->temp_max);
+ if ((core_id_temperature(0)) != -1) ext->cpu_temp = 1;
ecore_thread_name_set(thread, "cpu");
@@ -313,10 +313,10 @@ evisum_ui_cpu_visual_default(Evas_Object *parent_box) {
EINA_SAFETY_ON_NULL_RETURN_VAL(ext, NULL);
ext->cpu_count = system_cpu_count_get();
- if (!system_cpu_frequency_min_max_get(&ext->freq_min, &ext->freq_max)) ext->cpu_freq = 1;
+ if (!cores_frequency_min_max(&ext->freq_min, &ext->freq_max)) ext->cpu_freq = 1;
- system_cpu_temperature_min_max_get(&ext->temp_min, &ext->temp_max);
- if ((system_cpu_n_temperature_get(0)) != -1) ext->cpu_temp = 1;
+ cores_temperature_min_max(&ext->temp_min, &ext->temp_max);
+ if ((core_id_temperature(0)) != -1) ext->cpu_temp = 1;
ext->cpu_order = cpu_order = malloc((ext->cpu_count) * sizeof(int));
if (!cpu_order) {
diff --git a/src/bin/ui/visuals/meson.build b/src/bin/ui/visuals/meson.build
index 3a504f5..deeb278 100644
--- a/src/bin/ui/visuals/meson.build
+++ b/src/bin/ui/visuals/meson.build
@@ -1,4 +1,5 @@
src += files([
+ '../../enigmatic/system/machine.c',
'cpu_default.c',
'cpu_default.h',
'cpu_basic.c',
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.