李通洲
b34283eaf0
Chore: fix a warning of warning
2024-10-05 11:33:57 +08:00
Carter Li
320283a538
LocalIP: fix bug that flags are appended multiple times
2024-10-05 10:28:43 +08:00
apocelipes
40ab735e6b
LocalIp: support get interface flags ( #1315 )
2024-10-05 09:49:27 +08:00
Carter Li
716bfe7cc1
Global: use glob(3) if wordexp(3) is not available
2024-10-04 20:00:28 +08:00
李通洲
84fc5b4503
TPM (Windows): corrently report TPM device is not found
...
Fix #1314
2024-10-04 19:58:55 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
d06f9a1509
Chore (Windows): silence some warnings
2024-10-04 17:49:18 +08:00
李通洲
c2b60a2ebf
Logo (Builtin): remove some paddings
2024-10-03 21:58:38 +08:00
李通洲
937b2e41ed
Terminal (Linux): remove invalid info when fail to detect terminal by process tracing
2024-10-03 21:58:37 +08:00
Carter Li
53a373c9cf
Monitor: don't deprecate this module
2024-10-03 20:58:14 +08:00
Carter Li
46c8bc1f99
Board (Linux): trim strings
2024-10-03 20:47:31 +08:00
kralverde
89d3924659
CPU (Linux): fix temperature detection ( #1308 )
...
Return proper NaN instead of false -> 0.0 coercion
2024-10-02 07:43:58 +08:00
Carter Li
b49c509a6c
DateTime: add day-pretty
...
Fix #1305
2024-10-01 17:44:23 +08:00
Carter Li
99626149f6
Display (FreeBSD): add guards between linux specific code
2024-10-01 17:26:29 +08:00
李通洲
3381262930
Monitor: make it an alias of Display module
2024-10-01 12:10:15 +08:00
李通洲
6dd6266a2a
GPU (Linux): fix possible buffer overflow
2024-10-01 09:30:39 +08:00
李通洲
18be6c8fd1
Display: don't use non-ascii charactors
...
Which cannot be displayed in Linux console
2024-09-30 23:42:08 +08:00
李通洲
5bdae7afc3
Display: display ppi in integer
2024-09-30 23:40:47 +08:00
李通洲
316849e5df
Monitor: remove module
2024-09-30 23:35:34 +08:00
李通洲
d5c395fb85
Display (Windows): merge features of Monitor module
2024-09-30 23:25:08 +08:00
李通洲
46eb0e4b1c
Display (Linux): merge features of Monitor module
2024-09-30 22:43:29 +08:00
李通洲
fb0a18dc82
Display (macOS): merge monitor module features
2024-09-30 20:16:24 +08:00
李通洲
ca442b3da4
Monitor (macOS): improve performance
2024-09-30 19:53:10 +08:00
李通洲
a32361fdc5
Brightness: add new option --brightness-compact
2024-09-30 15:45:06 +08:00
Carter Li
d77f0fe3d9
CPU (Linux): detect SOC name if available
2024-09-30 15:09:06 +08:00
Carter Li
1df129083b
GPU (Linux): add a special case for brcm
2024-09-30 15:02:49 +08:00
Carter Li
2cd6cb3ca1
Board (Linux): use /proc/device-tree/board if available
2024-09-30 15:00:55 +08:00
李通洲
d97999ddc9
GPU (Linux): trim trailing new line
...
Fix #1303
2024-09-29 23:08:41 +08:00
李通洲
1901b9308f
GPU: use adapterLuid as deviceID for non-pci devices
2024-09-29 15:42:31 +08:00
李通洲
a7c7493733
GPU (Windows): fix uninitialized variables
2024-09-29 15:34:57 +08:00
Carter Li
88097463af
Display (Linux): report displays of unknown connection state too
...
Ref: #1301
2024-09-29 10:25:46 +08:00
李通洲
5381395c54
GPU (macOS): update how integrated GPUs are detected
2024-09-29 10:24:15 +08:00
Ziyao
51796de69a
Display (Linux): detect all enabled or connected connectors ( #1301 )
...
DRM connectors have two properties, "enabled" and "status", standing for
"enabled by userspace" and "a display has been connected". Connector
status cannot be reliably detected sometimes, in this case status will
be set to unknown and it is still okay to enable it. Some drivers are
also able to enable disconnected connectors.
So it is both meaningful to detect connectors in two states,
- An enabled connector, where it must have been operating in some
configuration required by userspace
- A connected connector, where driver is sure a display has been
connected to the port, this is the obvious case.
In the original implementation, only information of connected connectors
are detected and an enabled connector without hotplug detection
capability, like a Composite video connector, will be silently ignored.
Switch to the new strategy to detect these connectors correctly.
References: https://github.com/torvalds/linux/blob/3efc57369a0ce8f76bf0804f7e673982384e4ac9/include/drm/drm_connector.h#L58-L89
Signed-off-by: Yao Zi <ziyao@disroot.org >
2024-09-29 10:23:20 +08:00
李通洲
140b9834cc
Logo (Builtin): add GXDE OS
...
Fix #1300
2024-09-28 23:58:50 +08:00
Carter Li
a424839d2f
CPU (Linux): remove bios_limit detection
2024-09-28 17:10:22 +08:00
Carter Li
38f07ade44
GPU (Linux): fix building with old kernel headers
2024-09-28 08:13:54 +08:00
Carter Li
7ae7ff8cef
GPU (Linux): detect EU count & vmem size of Intel GPUs
2024-09-27 23:36:08 +08:00
Carter Li
842ba9fd4e
GPU: use driver reported adapter name if available
2024-09-27 15:02:32 +08:00
Carter Li
5058a93428
GPU (Linux): use renderDN instead of cardN when detecting AMD cards
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/1284#issuecomment-2377437210
2024-09-27 10:47:57 +08:00
Carter Li
d6eff93c12
GPU: fix usage of bsearch
2024-09-27 09:54:22 +08:00
李通洲
03565384e6
Chore (macOS): use simplified syntax
2024-09-27 09:16:54 +08:00
李通洲
a3a4f0a64a
Kmod: support macOS
2024-09-27 09:02:00 +08:00
李通洲
af067c7c3f
Util: rename KernelMod to Kmod
2024-09-27 08:39:21 +08:00
李通洲
8bbc985d98
CMake: fix more linking errors in dynamic mode
2024-09-27 00:20:47 +08:00
李通洲
254876b9e6
GPU (Linux): try fixing linking errors when dyamic linking is used
...
Fix #1295
2024-09-27 00:19:31 +08:00
李通洲
78fc5a2b5d
GPU: fix compiling error when -DCUSTOM_PCI_IDS_PATH is used
2024-09-27 00:00:04 +08:00
李通洲
745c041b44
GPU (Linux): fix some obvious bugs found in #1284
2024-09-26 23:53:13 +08:00
Carter Li
d095f39418
TPM (FreeBSD): fix silly bug...
2024-09-26 19:23:21 +08:00
李通洲
af63e6e98b
GPU (macOS): detect GPU driver version
2024-09-26 16:43:54 +08:00
Carter Li
fc05d728f3
Util: add function ffKernelModLoaded and use it
2024-09-26 16:05:34 +08:00