Commit Graph

418 Commits

Author SHA1 Message Date
Vasilii
7a2e47b992 Merge pull request #201 from jonasmalacofilho/only-parse-sensors-json-once
Only parse the JSON from sensors once
2021-04-28 18:34:02 +03:00
Jonas Malaco
824282e0d6 sensorsUtil: prevent re-parsing of the JSON output 2021-04-28 06:38:29 -03:00
Jonas Malaco
cb33301cc7 commandLineUtil: toggle _updated after the callback returns
The callback can be used to process the received data a single time, and
in that case this._updated should only be toggled after the callback has
completed, since other methods may depend on its side effects.

In other scenarios the order does not matter (either way).
2021-04-28 06:38:29 -03:00
Vasilii
0fe773b35a Merge pull request #200 from andyholmes/use-gsubprocess
commandLineUtil: refactor to use GSubprocess
2021-04-27 20:13:42 +03:00
Andy Holmes
e37b6c6c6e commandLineUtil: refactor to use GSubprocess
This means doing all IO in a background thread, rather than popping
lines synchronously off a pipe.
2021-04-25 21:49:36 -07:00
Vasilii
3222eb7bfa Merge pull request #198 from audreytoskin/locale
More consistent .mo file names
2021-04-24 07:54:55 +03:00
Audrey Toskin
e29ce35aae More consistent .mo file names
Every other compiled locale file uses the name "freon.mo" under the
relevant language-specific directory, so Turkish should too.
2021-04-20 10:52:21 -07:00
Vasilii
457aac45e8 Merge pull request #197 from brianegan/gnome-forty
Update to Gnome Forty
2021-04-12 18:59:19 +03:00
brianegan
8e24564722 Update to Gnome Forty 2021-04-01 14:14:05 +02:00
Vasilii
19464d4e70 Merge pull request #191 from Vistaus/master
Added Dutch translation
2020-11-01 18:55:56 +03:00
Heimen Stoffels
ef8614ab3a Added Dutch translation 2020-11-01 14:13:56 +01:00
Vasilii
0c1d394162 Merge pull request #190 from muhaaliss/master
Turkish translations added
2020-10-31 11:43:07 +03:00
Muha Aliss
3ba5d03f90 Turkish translations added 2020-10-29 16:24:11 +03:00
Vasilii
8d860f2875 Merge pull request #188 from mokilcde/master
fix "Error meta is null on Gnome 3.38"
2020-10-10 07:37:46 +03:00
Michael Ott
3029f4f7b8 fix "Error meta is null on Gnome 3.38" 2020-10-08 20:22:49 +02:00
UshakovVasilii
6b8d1693dd fix metadata 2020-10-03 13:40:26 +03:00
Vasilii
11e1566df3 Merge pull request #183 from ignapk/3.37.90
Update to 3.37.90 (3.38)
2020-08-18 09:08:27 +03:00
ignapk
96af75371a use ClutterActor's expand/align properties
BoxLayout meta child (expand/align) properties have long been depracated and recently fully removed in gnome shell 3.37.2 (!1274), in favor of ClutterActor's ones.

Embrace the change to provide compatibility with upcoming gnome shell 3.38 release
2020-08-16 15:21:34 +02:00
Vasilii
1ccc753ddf Merge pull request #181 from gaul/negative-average
Exclude negative temperatures from average
2020-08-05 15:44:52 +03:00
Andrew Gaul
9240372a1c Exclude negative temperatures from average
These are unlikely to be valid and ruin the average.  I observed -263
degC for temp1 on an Intel NUC8.
2020-08-04 22:18:52 +09:00
Vasilii
c6d5c57490 Merge pull request #179 from hlechner/hide-degrees-option
add an option to hide/show the degrees celsius or degrees fahrenheit on panel
2020-07-28 08:54:01 +03:00
Vasilii
31b6ea664e Merge pull request #177 from uno20001/hungarian_translation
Update Hungarian translation
2020-07-28 08:53:30 +03:00
hlechner
dc88f1bb01 add an option to hide/show the degrees celsius or degrees fahrenheit on panel 2020-07-20 20:32:14 -03:00
uno20001
a9422c8741 update Hungarian translation, create mo file 2020-07-17 18:16:00 +02:00
Vasilii
8c5b70ac66 Merge pull request #175 from l3nn4rt/master
Create styleshell.css
2020-06-18 09:46:24 +03:00
l3nn4rt
a9154daa64 Create styleshell.css
Add padding to panel labels if icons not shown
2020-06-17 17:44:10 +02:00
Vasilii
de00783c89 Merge pull request #172 from FrithjofArngren/master
Change the gpu and temperature symbolic icons
2020-06-03 15:59:00 +03:00
Vasilii
0eeb8eaa1b Merge pull request #173 from bowiechen/bowiechen/locale_zh_TW_update
Updated zh_TW localization
2020-06-03 15:55:55 +03:00
Bowie Chen
144498ac0b Updated zh_TW localization 2020-05-31 11:53:53 -07:00
Arngren
d6a4cff1fd Changed the gpu and temperature symbolic icons 2020-05-28 12:49:59 +02:00
Vasilii
3a88a99dcc Merge pull request #170 from uno20001/hungarian_translation
Hungarian translation
2020-05-16 08:05:19 +03:00
Vasilii
c60527fe7c Merge pull request #169 from amivaleo/master
Added italian translation
2020-05-16 08:05:10 +03:00
uno20001
2389a3aedb Hungarian translation 2020-05-12 14:15:38 +02:00
Jimmy
3faacb55bb Delete a.dat 2020-05-12 12:03:46 +02:00
Jimmy
7fd46cc244 Added italian translation 2020-05-12 12:03:18 +02:00
Jimmy
cfcc27d7df Create a.dat 2020-05-12 12:02:38 +02:00
Jimmy
76955ca501 Added italian translation 2020-05-12 12:01:58 +02:00
Vasilii
758a5c55bd Merge pull request #168 from user501254/patch-1
Switch to `gnome-extensions prefs` on Gnome Shell 3.36
2020-05-03 09:44:18 +03:00
Ashesh Singh
fa474d0d4e Update gnome version 2020-05-01 22:23:05 -05:00
Ashesh Singh
93216cb920 Switch to gnome-extensions 2020-05-01 22:20:39 -05:00
Vasilii
ae99cc74c4 Merge pull request #162 from jonasmalacofilho/optimize-nvidia-temps
Switch to nvidia-smi to reduce CPU load when fetching GPU temperatures
2020-02-26 07:43:40 +03:00
Jonas Malaco
4833a2e190 Switch to nvidia-smi to reduce CPU load when fetching GPU temperatures
At least on one Intel systems (i7-8700K/delidded/watercooled) the
display of the GPU temperature of NVIDIA cards caused perceptible spikes
in CPU utilization, frequency and temperature of individual cores.

This was eventually tracked down to nvidia-settings being substantially
slower and, more importantly, computationally intensive than nvidia-smi.

Switch the nvidiaUtil implementation to use nvidia-smi.  In the process,
simplify the label parsing and label vs. temperature code because
nvidia-smi allows us greater control over the output.
2020-02-21 10:03:49 -03:00
Vasilii
96fddd790c Merge pull request #158 from EUA/master
Added 2nd sensor and detection for nvme-cli.
2020-01-13 21:23:39 +03:00
Erdem U. Altinyurt
b6e56f0f4a Rewriten smartctl for all devices, (using nvmeUtil as a template). 2020-01-10 03:52:48 +03:00
Erdem U. Altinyurt
98b787e44f Added 2nd sensor and detection for nvme-cli. 2020-01-10 03:41:42 +03:00
Erdem U. Altinyurt
cab232cb4e Merge pull request #1 from UshakovVasilii/master
Sync with upstream
2020-01-10 03:40:07 +03:00
Vasilii
d1abae6ad9 Merge pull request #157 from jonasmalacofilho/remove-object-actor
Remove deprecated use of Actor.actor
2019-12-16 20:27:41 +03:00
Jonas Malaco
dbcd29a5a6 Remove deprecated use of Actor.actor
In Gnome 3.34 accessing <object>.actor results in a warning:

Usage of object.actor is deprecated for Freon_FreonMenuButton
get@resource:///org/gnome/shell/ui/environment.js:249:29
_init@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:96:9
enable@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:637:17
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:31

The actor property is no longer needed, as Freon_FreonMenuButton already
is an Actor.

Additionally, we only support old Gnome versions on the Freon versions of the
same era, so we do not need to worry about backwards compatibility (see #153).

Reported-by: @49studebaker
Fixes: #156 ("JS WARNING: " [...])
Related: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 ("this.actor = this removal")
2019-12-15 13:27:11 -03:00
UshakovVasilii
f83688a197 update gnome version 2019-09-29 10:59:43 +03:00
Vasilii
87a5d56036 Merge pull request #152 from jonasmalacofilho/construct-freon-item-through-register-class
Fix issues with GNOME 3.4
2019-09-27 15:45:41 +03:00