李通洲
02dc6a4428
Modules: adds * to format args which are available in key format
2026-09-15 22:24:18 +08:00
李通洲
2e06a73102
Modules: exposes localized module name in custom key format as {module-name}
2026-09-01 19:18:02 +08:00
Carter Li
e0c239729b
L10n: adds cs id tr uk vi
...
Assisted-By: LLM
2026-08-21 10:19:06 +08:00
Samuel Torres
0c4ec62cac
L10n: (gl) Added Galician Support
2026-08-21 00:25:32 +08:00
李通洲
2de674ec9a
L10n (Ar / He): adds support
...
Fixes #2520
2026-08-16 10:52:23 +08:00
李通洲
359cb0a79a
L10n (Pt): renames pt_BR to pt
2026-08-16 10:52:14 +08:00
Carter Li
f95167e907
Global: adds option key-language
...
Fixes #2503
2026-08-14 23:33:54 +08:00
Carter Li
3908c39ce2
Modules: adds l10n strings
2026-08-14 22:47:24 +08:00
Carter Li
3196f5efaa
chore: adds defaultOrder to every module's definition
2026-08-04 09:58:31 +08:00
李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
李通洲
c601b68bc6
Doc: improves overall English grammer
2026-04-16 18:27:11 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
李通洲
831659966f
Style: adds Cpp11BracedListStyle: Block
2026-03-31 14:20:21 +08:00
李通洲
5f261702a9
Style: adds BreakBeforeCloseBracketBracedList: true
2026-03-31 14:20:21 +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
李通洲
3a35f9735b
Global: renames FFformatArgType to FFArgType for future reuse
2026-03-12 15:07:19 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
3ce3de2963
OS: set the icon of unknown OS type as a cog
2025-08-18 14:03:52 +08:00
李通洲
3b5e9c74d6
Modules: return bool to indicate whether the detection is succeeded
2025-08-18 13:38:30 +08:00
李通洲
fa4e11c73b
JsonConfig: write all flags when generating config file
2025-08-05 16:47:48 +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
李通洲
559082806b
Modules: export module info
2025-08-04 00:06:28 +08:00
李通洲
6f8d276545
Modules: add init and destroy option callbacks to module info
2025-08-03 18:40:53 +08:00
李通洲
094d736d38
Modules: remove all parseCommandOptions and related stuff
2025-08-03 10:22:32 +08:00
李通洲
0b02543ef2
JsonConfig: refactor JSON key handling to improve safety and consistency
...
Also make keys case-sensitive
2025-08-02 18:51:03 +08:00
李通洲
c79b67efc1
Modules: don't report errors when condition key is set
2025-07-18 16:16:38 +08:00
李通洲
0bfa12c38c
OS: allow customize key format with kernel name and distro name
2025-02-20 15:59:28 +08:00
李通洲
6429c20466
OS: prefer pretty names
...
Hopefully we can end the controversy.
Fix #1483 #1038
2025-01-06 08:58:14 +08:00
李通洲
9a36d63d18
Global: refactor code of -h <module>-format
2024-12-11 10:47:02 +08:00
李通洲
f9713d5ee2
OS (Android): display android icon
2024-11-10 13:57:57 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
37cc2c9c1b
Globals: use generic selection when passing format args
2024-09-04 08:53:16 +08:00
李通洲
57ffe3bad2
Fastfetch: add icons
2024-07-23 23:02:35 +08:00
李通洲
9df394bba3
Revert "OS (Linux): prioritize prettyName over name"
...
This reverts commit ecd69370ab .
2024-07-03 16:37:51 +08:00
Carter Li
a749014e7c
Kernel: code refactor
2024-07-02 10:47:14 +08:00
Carter Li
ecd69370ab
OS (Linux): prioritize prettyName over name
2024-07-01 08:56:00 +08:00
李通洲
edba2492e1
OS (SunOS): don't parse unstructured text
2024-06-18 22:06:40 +08:00
李通洲
dbe0c84c48
OS (Linux): don't display duplicate entries
2024-06-07 10:37:33 +08:00
Carter Li
c8451cab52
Global: support for named format arguments
...
Fix #796
2024-05-28 10:23:29 +08:00
李通洲
08c6a6e4cb
OS (macOS): don't print build id
...
Remove special handling
2024-05-03 13:20:23 +08:00
李通洲
8b838cef61
OS (Linux): fix name detection for MX
...
Fix #847
2024-05-03 12:57:51 +08:00
李通洲
7acdaebee4
Printing: merge ffPrintError and ffPrintErrorString
2024-03-07 11:10:18 +08:00
李通洲
6dcfb6b88f
Fastfetch: fully resolve the format arg num issue
...
Ref: #749
2024-03-07 10:47:28 +08:00
李通洲
730c0d1c92
Fastfetch: print module description for --list-modules
2023-11-17 14:12:57 +08:00
李通洲
f4a263df01
Migration: finish modules support
2023-10-24 14:41:29 +08:00
李通洲
ec87790e4f
Global: init support for JSON config file migration (WIP)
2023-10-23 16:17:07 +08:00
李通洲
44632e9bf6
Global: don't expose internal functions
2023-10-23 13:32:40 +08:00
李通洲
e7938216ba
Global: :%s/ffGenerate\w+Json/$0Result/g
2023-10-23 13:32:39 +08:00