李通洲
b6c8649cbf
macOS: improve IO service related code generally
2024-01-05 15:00:50 +08:00
李通洲
54bd4346ec
Temps (macOS): rename functions
2023-12-27 08:46:49 +08:00
李通洲
17d6f84850
Temps (macOS): update sensors of M2X
2023-12-27 08:45:02 +08:00
Carter Li
b1f54ab7a2
Battery (Linux): fix temp detection for asahi
2023-12-26 16:44:13 +08:00
apocelipes
113b1b8fc2
fix: fix trailing space
2023-12-23 02:55:14 +00:00
李通洲
f20b6d4387
Temps (macOS): support Apple M3
2023-12-08 16:10:10 +08:00
Marius Messerschmidt
40e977be31
Spelling: fix spelling of files in src/detection/
2023-11-18 15:47:22 +01:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
f8eabdd8a6
Battry (Linux): try detecting cycle count and temperature
2023-11-06 19:08:17 +08:00
李通洲
5b2006cd06
Global: get rid of locks
...
Psychological burden NO MORE
2023-10-31 14:42:45 +08:00
李通洲
38d5791d57
GPU: support memory, core count detection
2023-10-28 13:56:43 +08:00
李通洲
dd3109cd89
GPU: better nvidia GPU temp detection
2023-10-27 21:16:03 +08:00
李通洲
59a9209621
GPU: support Nvidia GPU temp detection
2023-10-27 00:00:19 +08:00
李通洲
e7df94495c
Temp (FreeBSD): improve CPU temp detection
2023-10-10 13:41:08 +08:00
李通洲
90ea096ca3
macOS: don't keep variable matchDict
2023-10-07 15:51:05 +08:00
李通洲
74233ac0cb
Temps (macOS): code refactors
2023-08-07 10:19:08 +08:00
李通洲
f1d4611a7d
Temps (macOS): adjust CPU and GPU sensors for m2 apple silicon
...
Ref: https://github.com/exelban/stats/commit/14e29c4d60229c363cca9c9d25c30c87b7870830
2023-08-07 10:16:10 +08:00
李通洲
c4c490663b
WMI (Windows): code refactor
2023-06-25 14:16:49 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
Carter Li
85597e4d46
CPU (FreeBSD): actually support temp detection
2023-06-22 04:06:08 +00:00
李通洲
baa8992322
Global: refactor strcmp() == 0 to ffStrEquals()
2023-06-19 17:11:57 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
7f15f91bd3
Temps (Windows): dirty support
...
Note: https://stackoverflow.com/a/17083409
2023-02-23 21:31:33 +08:00
李通洲
b634c70f80
Temp (Apple): support memory temperature detection for future use
2023-02-14 17:29:21 +08:00
Linus Dierheimer
a1ea7804f3
IO: Separate platform specific implementations
2023-01-28 12:40:12 +01:00
李通洲
e651633c54
Temp: detect both device/class anddevice/device/class
2023-01-21 06:54:51 +08:00
李通洲
6f4bdafb0c
Temp: fix severial issues. Fixes #398
...
1. Temp detection has been gated behind of `--*-temp`. Don't make it a slow operation
2. According to [the kernel doc](https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface ), `temp1_input` is millidegree Celsius, which should be divided by 1000
3. There is no `/sys/class/hwmon/hwmon3/device/class` on my laptop, but `/sys/class/hwmon/hwmon3/device/device/class`. Need to confirm with @LinusDierheimer
4. Small code optimizations
2023-01-21 06:18:19 +08:00
李通洲
8aca8a2229
Temps: silence compiler warnings
2022-11-17 10:18:13 +08:00
李通洲
1b594d9ed1
Thread: add common thread abstraction layer, and make threading optional
2022-10-12 21:59:21 +08:00
李通洲
3d2497f963
macOS: fix compile warnings
2022-10-11 19:19:43 +08:00
Carter Li
fcbeecb0d5
Temps: test & fix temp detection on Intel ( macOS )
2022-10-01 00:29:51 +08:00
李通洲
0f824536f9
Temps: open SMC service only once ( macOS )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00