xfce4-sensors-plugin merge requestshttps://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests2021-07-22T22:39:28Zhttps://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/30Fix memory issues2021-07-22T22:39:28ZGhost UserFix memory issuesPatches:
- Fix preliminary config memory leak
- Fix a use-after-free error when disabling a tachometer
- Code cleanup: Remove an unused macro parameterPatches:
- Fix preliminary config memory leak
- Fix a use-after-free error when disabling a tachometer
- Code cleanup: Remove an unused macro parameterv1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/31Code cleanup: Sensor read config cleanup2021-07-23T17:58:29ZGhost UserCode cleanup: Sensor read config cleanupChanges:
- Fix conditional memory leaks caused by `g_return_if_fail()`
- Replace hard-coded constants with `sizeof()`Changes:
- Fix conditional memory leaks caused by `g_return_if_fail()`
- Replace hard-coded constants with `sizeof()`v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/33Use a drawing area to display sensor data in text UI style2021-07-24T16:28:26ZGhost UserUse a drawing area to display sensor data in text UI styleThe previous implementation was utilizing a `GtkLabel`. A `GtkDrawingArea` provides slightly more freedom than a `GtkLabel` when displaying text. This patch improves the formula determining the maximum number of text lines, and prevents ...The previous implementation was utilizing a `GtkLabel`. A `GtkDrawingArea` provides slightly more freedom than a `GtkLabel` when displaying text. This patch improves the formula determining the maximum number of text lines, and prevents the size of the plugin to shrink when, for example, the text oscillates between "1000 rpm" and "999 rpm".
Horizontal: ![Screenshot_20210724_182026](/uploads/384748d06ae15637141219ab4ba7aabb/Screenshot_20210724_182026.png)
Vertical: ![Screenshot_20210724_182035](/uploads/4c56ac3d6593a6f518069fb8aebffa9d/Screenshot_20210724_182035.png)
Deskbar: ![Screenshot_20210724_182050](/uploads/b284b801a8332637493dc4792509e079/Screenshot_20210724_182050.png)
Horizontal dark: ![Screenshot_20210724_182114](/uploads/391a300712716914523bc3a909adba9d/Screenshot_20210724_182114.png)
Closes: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/7
Closes: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/18v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/34configure: Check for libsensors if it is enabled explicitly2021-07-25T16:08:42ZGhost Userconfigure: Check for libsensors if it is enabled explicitlySee also: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/16See also: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/16v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/36Update configuration flags for GitLab distcheck2021-07-25T16:36:13ZGhost UserUpdate configuration flags for GitLab distcheckFor now, `--disable-libsensors` is used because `lm_sensors` isn't in the build container.
See also: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/16For now, `--disable-libsensors` is used because `lm_sensors` isn't in the build container.
See also: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/16v1.4.0