李通洲
46081a3e52
LocalIP (Linux): fixes incorrect return and ensures struct initialization
2025-08-16 04:24:26 +00:00
李通洲
a5fd671b92
LocalIP: fix showMac does not honor defaultRouteOnly
2025-08-15 20:20:43 +08:00
Guiling Qiyu
aec2bfd2a4
Packages (Linux): fixes Linglong detection by counting linglong layers ( #1903 )
...
* Packages (Linux): fixes Linglong detection on Deepin
* Packages (Linux): fixes Linglong detection to count layers
* Update src/detection/packages/packages_linux.c
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2025-08-14 19:47:20 -05:00
Guiling Qiyu
bb9ca73db1
Packages (Linux): fixes Linglong detection on Debian ( #1899 )
...
Fixes #1898
2025-08-14 18:06:42 +08:00
李通洲
9a11ff8ddb
Packages (Android): fix building
2025-08-14 14:42:09 +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
李通洲
7446828866
GPU (macOS): don't set platformApi to Metal when Metal API is not used
2025-08-14 08:34:56 +08:00
李通洲
0b37acec5b
GPU (Windows): ignore software adapters; add verbose logs
2025-08-14 01:07:39 +08:00
李通洲
e1c4365c10
Cursor (macOS): improves color detection and rounding for cursor info
2025-08-13 09:28:25 +08:00
李通洲
4004501d0f
Packages: unifies Nix package detection code
...
Fixes : #1893
2025-08-12 19:37:52 +08:00
李通洲
1ec69d6838
OS (Linux): tidy
2025-08-11 16:38:39 +08:00
李通洲
7f1063d09b
Revert "CPU (macOS): use CPUID for freq detection on Intel"
...
This reverts commit 7ee0e8726e .
2025-08-11 16:35:35 +08:00
Juanma
eee98e54d0
OS (Linux): fix lliurex detection ( #1882 )
...
* Proper detection of lliurex distribution
* fix newline
* Trim version and not versionID as assigned to lliurex-version output
* Update os_linux.c
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2025-08-10 20:45:53 -05:00
Carter Li
b0340d5581
DisplayServer: merge serverVender into wmProtocolName
...
Fix #1888
2025-08-11 09:16:05 +08:00
aequabit
1124342eda
Display (Linux): show brand of Xserver in WM section ( #1888 )
...
* Display: add server vendor string
* Display (X11): fetch server vendor string using XCB/Xlib
* WM: show server vendor string when not empty
* Display (XCB): use proper string helper function
* Display (X11): shorten "The X.Org Foundation" to "Xorg"
2025-08-11 09:03:23 +08:00
李通洲
f184f8dab5
GPU (FreeBSD): fix gpu driver detection when DRM is used
2025-08-10 08:48:00 +08:00
Carter Li
7ee0e8726e
CPU (macOS): use CPUID for freq detection on Intel
2025-08-10 00:14:16 +08:00
Carter Li
a7347130de
LocalIP (Linux): fix building
2025-08-09 22:20:04 +08:00
Carter Li
f3c82ad837
LocalIP (SunOS): add speed detection support
2025-08-09 19:53:31 +08:00
Carter Li
1bde2b31f9
LocalIP (SunOS): support isIPv6AddressPreferred
2025-08-09 19:27:07 +08:00
Carter Li
1edc617b55
LocalIP (SunOS): add more if flags
2025-08-09 19:19:50 +08:00
李通洲
2bb451d9e4
LocalIP (Linux): fix compiler warnings
2025-08-09 18:44:37 +08:00
Carter Li
f96ddb4c10
LocalIP (BSD): fix compiling
2025-08-08 15:32:12 +08:00
李通洲
33983c5402
LocalIP: improve preferred IPv6 address detection
2025-08-08 14:40:04 +08:00
李通洲
02c999725c
NetIO (SunOS): fix build
2025-08-07 23:30:53 +08:00
李通洲
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