Mathias Korsbäck
fef3b7c647
CPU (macOS): changes CPU to M2 Pro for Mac14,12 host ( #1915 )
...
Currently states it's a M2 but according to https://support.apple.com/en-us/102852 and https://everymac.com/ultimate-mac-lookup/?search_keywords=Mac14%2C12 it's a M2 Pro.
2025-08-17 21:37:17 +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
李通洲
3fcbd80ef0
Board (macOS): detect board-id if available
...
Ref: https://github.com/GuillaumeGomez/sysinfo/pull/1545
2025-06-17 00:06:31 +08:00
Carter Li
3bd750bedf
Host (Linux): detect Linux Binary Compatibility on FreeBSD
...
Fix #1786
2025-06-06 15:38:46 +08:00
Carter Li
4a1ada604c
Host (Linux): more detailed info of WSL
2025-06-06 14:49:32 +08:00
Anshnk
81b7fb06c1
Fix typo, 15,2 isn't a real mac model number
2025-06-02 11:02:10 +08:00
李通洲
9e1b1302fb
Host (Android): add detection for OnePlus market name
...
Fix #1768
2025-05-26 14:22:47 +08:00
李通洲
e73647973d
Host (Windows): fix build on WoA
2025-03-27 09:38:32 +08:00
李通洲
de5ef3842c
Global: fix code smells
2025-03-26 16:44:52 +08:00
李通洲
1129ed9be4
Host (macOS): add new models; fix an invalid model ID
2025-03-26 16:27:15 +08:00
李通洲
a4a2ae7d67
Host (macOS): fix thunderbolt version of new MBPs
...
Fix #1465
2024-12-27 14:07:17 +08:00
李通洲
1ea3264b13
SMBIOS (NetBSD): add more data
2024-12-21 23:54:30 +08:00
李通洲
e45ff546ed
Host: silence compiler warnings
2024-12-10 09:35:52 +08:00
李通洲
2700390371
Host (Sun): fix build
2024-12-09 23:07:24 +08:00
Carter Li
5c01685d69
Host: detect mac model in FreeBSD & Windows
2024-12-09 21:44:31 +08:00
Carter Li
8410a66277
Host (Linux): report mac product name
2024-12-06 18:31:33 +08:00
李通洲
bad85a557a
Host (Android): detect marketing name of vivo smartphone
2024-11-13 15:53:14 +08:00
xiaoran007
3fa0d1ab19
Host (macOS): add HwModel support for new Mac (2024) ( #1381 )
...
* host(macOS): add HwModel support for new Mac (iMac, Mac mini and Macbook Pro 2024)
* Update host_apple.c
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2024-11-09 20:32:35 +08:00
李通洲
4665fdd145
Global: make it compile on NetBSD
...
Doesn't work yet.
2024-10-27 11:43:36 +08:00
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
4a75123eb1
Host (macOS): tidy
2024-07-22 09:23:06 +08:00
李通洲
d9f084894e
General: support more module for --detect-version
2024-07-10 22:09:28 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
李通洲
6439921f85
Smbios (Windows): check if getting SMBIOS data succeeds
2024-05-11 18:07:56 +08:00
李通洲
fef3100fd7
Smbios: add struct layout check
2024-05-11 15:05:43 +08:00
李通洲
6c0c4fa2cf
Host (Linux): improve performance of WSL version detection
2024-04-21 17:28:40 +08:00
李通洲
c6c866d78a
Host (Apple): add MacBook Air 2024
2024-03-12 18:27:02 +08:00
Carter Li
80cc4e3f4a
Host (Linux): detect serial number for Asahi Linux
2024-01-08 11:19:35 +08:00
李通洲
de91429e1a
CI: fix build
2024-01-06 17:11:39 +08:00
李通洲
1d35811253
Windows: make SMBIOS data a singleton
2024-01-06 17:11:26 +08:00
李通洲
446fe907d2
Smbios: add comments, tidy
2024-01-06 17:11:26 +08:00
李通洲
d578f1006c
Host / Chassis (Windows): remove options --*-use-wmi
2024-01-06 17:11:26 +08:00
李通洲
33f3199383
Host / Chassis (Windows): parse SMBIOS data directly
2024-01-06 17:11:25 +08:00
李通洲
21f3875c4f
Host (Windows): detect serial number and UUID
2024-01-06 17:11:25 +08:00
李通洲
6bcd75835e
Host: rename properties
2024-01-05 20:38:29 +08:00
李通洲
24cec76251
Host (Linux): detect serial number and uuid
2024-01-05 16:33:52 +08:00
李通洲
f8ac56691f
Host (FreeBSD): detect serial number and uuid
2024-01-05 16:32:34 +08:00
李通洲
810112cb26
Host (macOS): detect serial number and uuid
2024-01-05 16:29:38 +08:00
李通洲
b6c8649cbf
macOS: improve IO service related code generally
2024-01-05 15:00:50 +08:00
Carter Li
cf98e6f5a1
Global: remove unexpected trailing line endings
...
Ref: https://github.com/fastfetch-cli/fastfetch/pull/671#issuecomment-1867777472
2023-12-23 00:19:50 +08:00
李通洲
5db3c903e5
Host (macOS): fix build
2023-11-28 15:05:10 +08:00
李通洲
91c23c533a
Host (macOS): add general method to query product name
2023-11-28 13:36:19 +08:00
Marius Messerschmidt
6fe0eb5677
ClangTidy: avoid different parameter names for same function
2023-11-18 12:31:57 +01:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
ac654ff346
Host (macOS): update the latest models
2023-11-08 10:43:17 +08:00
matoro
fc0db8c291
Host (Linux): devicetree path for OBP hosts ( #591 )
...
At least SPARC devices have their model name in this devicetree node
and do not have a "model" node. Possibly also POWER Macs, do not have
one to test though.
2023-10-23 23:37:37 +08:00
李通洲
75323d64f8
Chore: fix typo
2023-08-16 16:51:54 +08:00
李通洲
ca31f67c82
Host (Linux): display WSL distro name
2023-07-31 20:29:57 +08:00
李通洲
7abf91aa7f
Host (Android): better host detection
2023-07-27 22:43:47 +08:00