李通洲
be11013ae2
LocalIP (BSD): fix building
2025-08-07 23:28:54 +08:00
Carter Li
a84c4dc1f4
Netif: refactor API for dual-stack route detection
...
Unifies IPv4 and IPv6 default route queries under a shared result structure and per-family functions. Improves clarity and extensibility by centralizing route logic, streamlining detection of preferred interfaces, and updating all consumers to use the new API.
Prepares for more robust multi-protocol network information handling.
2025-08-07 16:35:42 +08:00
Jannis Pohl
5e770dc8b0
LocalIP: consider preferred source address when retrieving default route ( #1883 )
...
* LocalIP: consider preferred source address when retrieving default route
* LocalIP: fix logic error when there is no preferred source address
* LocalIP: use macros rather than manual free/close
* LocalIP(BSD): fix build error
* LocalIP: address Copilot suggestions
2025-08-05 23:30:06 +08:00
李通洲
137d5dfe90
LocalIP (Windows): show only preferred IP when showAllIPs is not set
...
Ref: #1883
2025-08-05 19:35:54 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
582268f44f
Disk (Linux): ignore Bedrock Linux subvolumes
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/1881#issuecomment-3148302531
2025-08-03 18:19:45 +08:00
李通洲
9b68674c4f
OS (Linux): don't detect Bedrock linux when ran restricted
...
Fix #1881
2025-08-03 18:18:12 +08:00
李通洲
3cef51ec4a
JsonConfig: refactor string buffer JSON handling for robustness
2025-08-02 17:41:19 +08:00
李通洲
671b11157e
Wifi (macOS): disable using of ipconfig on 15.6 too
...
Ref: #1874
2025-08-01 08:54:31 +08:00
李通洲
78fb55c35c
Chore: remove sensitive data [ci skip]
2025-07-31 18:58:57 +08:00
李通洲
38c0b24daa
WM (Linux): fix a copy-paste error.
2025-07-31 10:50:45 +08:00
李通洲
ce554dbdd0
Uptime / Battery: add formatted duration string in custom format
2025-07-30 15:03:23 +08:00
李通洲
ca79bae36e
Packages (Windows): find scoop installation path by parsing scoop config file
2025-07-29 19:29:40 +08:00
Carter Li
b1f0248fb3
Font (Linux): parse unicode escaped string stored by qt5ct
...
Fix #1864
2025-07-29 18:25:34 +08:00
李通洲
5bb6e22679
GPU (Intel): read render engine temperature only
2025-07-29 14:23:56 +08:00
Carter Li
9ea9291ab8
WM (Linux): add labwc version detection support
2025-07-29 10:20:05 +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
李通洲
4909d693e3
Packages (Windows): don't rely on the existance of $SCOOP when detecting scoop packages
...
Fix #1868
2025-07-28 23:41:48 +08:00
李通洲
d1f20822f1
GPU (macOS): silence compiler warnings
2025-07-28 15:39:35 +08:00
李通洲
1ed804db52
Wifi (macOS): use sudo wdutil info on Tahoe
...
sudo, you know it.
2025-07-28 15:35:02 +08:00
李通洲
f0fc38bcb5
LocalIP (Windows): fix link speed calcuation
2025-07-24 20:11:04 +08:00
李通洲
e7a6b84107
LocalIP (Windows): ignore stopped interfaces
2025-07-24 19:31:41 +08:00
Carter Li
9b491c2f49
Wifi (Linux): fix interface status when the interface is up but not connected
2025-07-22 22:03:53 +08:00
李通洲
b60996bcd1
Packages (Linux): remove qi support
...
Close #1858
2025-07-21 14:19:12 +08:00
李通洲
272c0aad9c
Packages (Linux): improve accuracy of flatpak count detection
...
Fix #1856
2025-07-21 14:06:19 +08:00
Carter Li
847b76b863
GPU (Linux): add GPU temp detection for nouveau driver
2025-07-19 18:17:28 +08:00
Carter Li
5c0ad030cc
GPU (Linux): support advanced detection for nouveau driver
2025-07-19 16:47:42 +08:00
Carter Li
aca2b5336d
WM (Linux): fix a copy-paste error
2025-07-18 18:04:00 +08:00
李通洲
531b25dc2f
Version: replace WIN32 with Windows and Darwin with macOS
2025-07-18 15:08:40 +08:00
李通洲
1bf41d68f9
WM (Linux): add Openbox version detection
2025-07-17 14:15:35 +08:00
Carter Li
a734f18fd5
Chore (Linux): silience compiler warnings
2025-07-15 23:33:26 +08:00
李通洲
eae69049b2
GPU (Windows): more method to detect device name
2025-07-13 01:39:38 +08:00
李通洲
102e8fcc72
GPU (Windows): detect GPU frequency by default
...
Supported on Windows 11 only
2025-07-13 01:16:46 +08:00
李通洲
8372708f98
GPU (Intel): prefer matching GPU with bus id
2025-07-13 01:16:46 +08:00
Juan Llamas
5011edc9d9
Packages (Linux): clean up nix user package detection
2025-07-12 23:57:51 +08:00
Juan Llamas
94a5228ffc
Packages (Linux): add /etc/profiles/per-user detection for nix user packages
2025-07-12 23:57:51 +08:00
李通洲
382c0cd7c3
GPU (Windows): ignore invalid temps
2025-07-12 15:16:36 +08:00
李通洲
ab496b23b7
GPU (Windows): greatly improve performance of GPU temp detection
...
... when `--gpu-driver-specific` is not set. Supported on Windows 10 and later
2025-07-12 01:26:33 +08:00
李通洲
442d58b646
Revert "GPU (macOS): update how integrated GPUs are detected"
...
This reverts commit 5381395c54 .
2025-07-10 16:16:45 +08:00
李通洲
7248868e33
Sound (macOS): improve device id detection
2025-07-10 10:42:23 +08:00
李通洲
b178e43428
GPU (Windows): use nvapi to detect GPU type
2025-07-09 00:28:16 +08:00
李通洲
d00fca26c5
GPU (Windows): clean up
2025-07-09 00:08:13 +08:00
李通洲
6871c8bb73
GPU (Windows): fix Win7 compatibility
2025-07-07 22:34:04 +08:00
李通洲
61adc7cf64
GPU (Windows): new method to detect device type
2025-07-07 22:03:30 +08:00
李通洲
9ba30adcba
GPU (Windows): add driver version fall back
2025-07-06 18:23:14 +08:00
李通洲
c65fb1a868
Battery (Windows): use CMAPI instead of SetupAPI
2025-07-06 17:04:51 +08:00
李通洲
2029679ea5
GPU (Windows): use CMAPI instead of SetupAPI
...
Improve performance
2025-07-06 17:04:31 +08:00
Carter Li
3a1f0485f4
PhysicalDisk: unifying white space trimming
2025-07-05 08:31:21 +08:00
李通洲
64910d0781
OS (Linux): detect fedora variants
...
Fix #1830
2025-07-04 10:31:59 +08:00