李通洲
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
5e1e94473e
Bootmgr (macOS): don't hard-code the firmware name
2026-06-03 15:23:42 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
Carter Li
31a35cf845
Bios (NetBSD): adds fall back method
2026-04-03 10:25:04 +08:00
Carter Li
6cf403da7d
Global: renames smbiosHelper to smbios
2026-03-31 20:01:25 +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
李通洲
f32bf9e94f
Bios (macOS): tidy
2026-03-24 15:12:21 +08:00
Carter Li
ab17fb08ef
Global (macOS): queries SMBIOS data directly on Intel Mac
2026-03-21 18:38:01 +08:00
Carter Li
07f6f93415
Host (Linux): reports marketing product name on Asahi Linux
2026-03-12 10:01:40 +08:00
李通洲
e15d06bbad
Chore (Windows): move NT stuff to common
2026-03-01 13:58:38 +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
李通洲
4b517263d0
Chore (macOS): refactors code for better resource management
2025-10-13 14:27:23 +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
Carter Li
55249c2294
BIOS (SunOS): detect BIOS type
2025-06-21 20:46:51 +08:00
李通洲
7562e05123
Chore: fix a lot code smell
2025-03-25 22:08:50 +08:00
李通洲
a9f5722fd9
BIOS (OpenBSD): check bios type
2025-03-23 11:34:02 +08:00
李通洲
a3f50f32bf
Smbios (OpenBSD): add support for legency BIOS
2025-03-23 11:19:49 +08:00
Carter Li
d1385804bb
Bios (Haiku): report BIOS type
2025-02-17 21:24:35 +08:00
Carter Li
c693e5ab5f
Bios (NetBSD): try detecting boot method
2024-10-31 00:40:29 +08:00
李通洲
4665fdd145
Global: make it compile on NetBSD
...
Doesn't work yet.
2024-10-27 11:43:36 +08:00
李通洲
ae76d2d032
IO (Linux): improve performance of ffPathExists
2024-10-15 19:40:03 +08:00
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
d727547b1c
SunOS: make SMBIOS related modules work
2024-06-16 22:25:16 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
李通洲
445dd94b53
Bootmgr: add new module
2024-05-15 21:49:15 +08:00
李通洲
7c03fc1550
Bios: move bootmgr detection to a new module
2024-05-15 21:40:18 +08:00
李通洲
06a8f12d6a
Bios (Windows): detect secure boot state & boot manager
...
Boot manager detection requires Administrator privilege to work
2024-05-15 20:39:22 +08:00
Carter Li
8c7edf4d2d
Bios (Linux): detect boot manager & secure boot
2024-05-15 19:00:26 +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
Carter Li
5693700c16
Bios (FreeBSD): fix boot type detection on some weird platforms
2024-01-08 16:02:52 +08:00
李通洲
c1c7f7b93f
Bios (Windows): use SMBIOS result
2024-01-06 17:11:26 +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
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
97d9ffd193
Bios: detect firmware type
2023-11-06 15:29:55 +08:00
李通洲
a2b00cbf9e
Bios (Android): add support
2023-07-27 22:50:19 +08:00
李通洲
c6416b5ccb
Host (Windows): cleanup useless smbios values
2023-07-04 17:53:28 +08:00
李通洲
6528f076fa
Bios (macOS): support bios date detection
2023-06-29 11:26:35 +08:00
李通洲
651b33082d
Bios (macOS): fix bios version detection
2023-06-29 11:16:07 +08:00
李通洲
0f8ebd2269
Bios: rename biosRelease to release
2023-06-29 10:46:41 +08:00
李通洲
466477429d
Bios: code refactor
2023-06-22 22:35:09 +08:00
Carter Li
376cb4a1eb
Global: SMBIOS related code cleanup
2023-06-22 10:45:43 +00:00
李通洲
291c43dd31
Bios: print as ${version} (${release})
...
As biosRelease looks more like a version on my laptop
2023-06-22 16:55:11 +08:00
李通洲
9f5dc24bf6
Bios: print version; don't print N/A
2023-06-19 21:20:18 +08:00
李通洲
05c41ffd89
Bios: code refactor
2023-06-17 19:17:10 +08:00
李通洲
16181b7272
Bios (FreeBSD): code refactor
2023-06-15 13:42:03 +08:00