李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
48c3b4f980
CPU (Linux): removes ARM core count in CPU name
2026-07-10 08:32:42 +08:00
Carter Li
fa2c56cb9f
Global: fixes bugs found by CI
...
The code quality is to be improved...
2026-06-23 13:16:49 +08:00
Carter Li
09e28451ec
CPU (Linux): simplifies code of frequency detection
2026-06-09 13:38:49 +08:00
Carter Li
35c2f8c924
CPU (Linux): fixes physical core detection on non-x86
2026-06-09 13:09:58 +08:00
Carter Li
10b0d0ca3e
CPU (Android): adds Exynos 2600
2026-05-28 19:20:21 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
李通洲
c7ecc33b64
Global: removes FFlist::elementSize
...
Improves performance of module Sound and PhysicalMemory
2026-04-14 15:47:26 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
Carter Li
a313fd1572
Linux: uses the standard /sys/firmware/devicetree/base instead of the outdated /proc/device-tree
2026-01-20 09:11:47 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
Carter Li
18c3cd2e66
CPU (Linux): fixes speed detection on s390x
...
Fixes #2129
2026-01-05 10:50:55 +08:00
Carter Li
b21f35e914
CMake (Hurd): defines O_PATH=0
2026-01-05 10:45:19 +08:00
Yelninei
dc69e44829
CPU(Linux): Fix build on GNU.
2025-12-11 21:32:45 +08:00
Carter Li
f2a29309f3
CPU (Linux): prevents variables from integer overflow
2025-12-11 09:52:50 +08:00
Carter Li
bca56b2049
CPU (Linux): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
a94f0efb5b
CPU: adds NUMA node detection
2025-11-18 09:30:47 +08:00
李通洲
0a792e4935
CPU (Android): adds detection support for Samsung Exynos SoCs
2025-10-14 14:49:29 +08:00
李通洲
05108977e8
CPU (Android): improves Android SoC vendor and model detection
2025-10-14 14:49:29 +08:00
Carter Li
88c8dcb3e8
CPU (Linux): improves detection for T-Head CPU vendor
...
Ref: #1997
2025-10-10 10:55:12 +08:00
Carter Li
f3a8fedf0a
CPU (Linux): improves SoC name detection from device tree
...
Fixes #1997
2025-10-10 10:50:20 +08:00
李通洲
af26828f91
CPU (Linux): adds support for HP PA‑RISC & SuperH CPU architecture detection
2025-10-05 09:22:06 +08:00
李通洲
bfc23232f8
CPU (Android): adds support for new Qualcomm and MediaTek SoC codes
2025-09-23 09:13:10 +08:00
Qing Yun
0a4d6220e9
CPU (Linux): add cpu name detection for ia64
2025-09-04 18:34:14 +08:00
Carter Li
9f5046d69f
CPU/GPU (Linux): Improves CPU/GPU temp detection accuracy on Linux/Android
2025-08-28 18:58:00 +08:00
李通洲
bc05a30724
CPU (Linux): improve temp detection
...
Support Android
2025-08-28 09:29:33 +08:00
Carter Li
dd1a799abb
CPU (Linux): detects march on aarch64
2025-08-27 09:22:02 +08:00
李通洲
9ae968fbd3
CPU: adds CPU microarchitecture detection for x64 and reporting
...
Fixes #1928
2025-08-23 15:17:57 +08:00
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +08:00
Carter Li
6ec73863ab
CPU (Android): make SOC detection more loose
...
It's less accurate, but higher chance to match.
2025-07-29 09:28:41 +08:00
Carter Li
8c2f93151d
CPU (Android): add more QSD SOCs
2025-07-29 09:28:36 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
Carter Li
e13eb05073
CPU (Linux): detect physical core count on non-x86 platforms
2025-04-05 12:08:35 +08:00
李通洲
7562e05123
Chore: fix a lot code smell
2025-03-25 22:08:50 +08:00
Techflash
7b5dc58140
CPU (Linux): fix CPU detection on some PPC platforms ( #1640 )
...
On some PowerPC devices (notably the Nintendo Wii and Nintendo Wii U),
fastfetch detects the CPU incorrectly. It goes down the code path
of 'detectSocName()', and actually matches the model of the device
itself... as the CPU model name. This is obviously incorrect, and
leads to reporting such as 'CPU: wii'. Disable this code path
alltogether on PPC to prevent this, and just let it pull from cpuinfo.
This lets it have correct CPU reporting, such as on the Wii, giving
'CPU: 750CL @ 0.73GHz'.
2025-03-25 03:05:23 -05:00
Carter Li
99e8d1f2bb
CPU (Linux): loosely detect cpu name of unknown platform
2025-02-08 10:38:13 +08:00
Carter Li
263d2902dd
CPU (Linux): add cpu name detection for s390x
2025-02-08 10:31:06 +08:00
Carter Li
1d21d02878
CPU (Linux): support physical core count and package count detection on loongarch
2025-02-07 10:07:00 +08:00
李通洲
356501270a
CPU (Linux): detect for model name on unknown platform
2025-02-05 16:10:01 +08:00
李通洲
4d842ac6b6
CPU (Linux): fix build on PPC
2025-01-27 21:53:39 +08:00
李通洲
1279bbcf28
CPU (Linux): rework cpuinfo parsing
2025-01-27 13:20:51 +08:00
李通洲
f601d2d9f5
CPU (Linux): add comments
2025-01-26 09:47:31 +08:00
Carter Li
026489c934
CPU (Android): add QS8E for Galaxy
2025-01-24 10:05:24 +08:00
Carter Li
1f5e56c69e
CPU (Android): detect new QS8E
2025-01-23 19:33:42 +08:00
Carter Li
35d431dd3f
CPU (Linux): detect SOC name on RISCV
...
Fix #1519
2025-01-22 22:19:23 +08:00