李通洲
90ea096ca3
macOS: don't keep variable matchDict
2023-10-07 15:51:05 +08:00
李通洲
d8b2151143
CPU (macOS): support Apple Silicon frequency detection
2023-09-08 10:11:56 +08:00
李通洲
904c9eb3c4
CPU (macOS): code refactor
2023-09-08 10:11:31 +08:00
李通洲
28e412b79d
CPU: add JSON printing support
2023-09-05 15:29:46 +08:00
李通洲
74233ac0cb
Temps (macOS): code refactors
2023-08-07 10:19:08 +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
李通洲
56effcb189
CPU: use module options
2023-06-12 10:33:28 +08:00
李通洲
39582471e8
Global: major FFlist related code refactor
2023-06-10 09:15:15 +08:00
李通洲
f205982ae5
CPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
ff6e982050
Global: remove caching except image caching
2022-12-17 12:41:11 +08:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
李通洲
100e59fd49
Temps: add options to enable detection ( disabled by default )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
Linus Dierheimer
f5ac85c4e3
Only detect temps if --allow-slow-operations is given
2022-09-24 15:59:36 +02:00
Linus Dierheimer
d31d157b00
New caching mechanism for CPU
2022-09-21 17:26:10 +02:00
Linus Dierheimer
2a61d29be9
sysctl utils
2022-09-19 21:31:50 +02:00
Linus Dierheimer
cfcc4c8375
MacOS cpu support
2022-09-04 14:12:04 -07:00
Linus Dierheimer
ea60fd0a0d
Separate cpu detection and printing logic
2022-09-04 22:20:12 +02:00