Carter Li
104b33c1f7
Display: defaults disableLinewrap to false
2026-06-23 11:05:11 +08:00
李通洲
b49f0b3d9c
Fastfetch: improves error message for config errors
2026-06-19 20:19:50 +08:00
李通洲
bc686b2c84
Logo: improves error message for chafa options
2026-06-19 20:14:58 +08:00
李通洲
135547fd50
Logo: don't accept chafa options when chafa is disabled
2026-06-05 22:19:35 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
李通洲
3f0a93d057
Logo: reworks position: top; adds a new option --logo-padding-bottom
2026-05-22 20:26:18 +08:00
Carter Li
5df00a3394
Global: adds missing #endifs back
2026-05-13 13:14:21 +08:00
Carter Li
27bffb3464
Windows: removes unused config wmiTimeout
2026-05-13 11:07:48 +08:00
李通洲
875afb7cde
Media (Windows): adds global.playerName selection support
2026-05-13 10:19:45 +08:00
Carter Li
cd25803e32
Option: adds a missing validation
2026-04-30 09:27:05 +08:00
李通洲
528f9f152c
Config: adds display.common.(ndigits|spaceBeforeUnit)
2026-04-16 15:45:12 +08:00
李通洲
4236d830cc
Options: uses enums instead of hard code number [ci skip]
2026-04-15 10:09:44 +08:00
李通洲
c851c39837
Options: fixes copy&paste errors
2026-04-15 09:56:23 +08:00
李通洲
c7ecc33b64
Global: removes FFlist::elementSize
...
Improves performance of module Sound and PhysicalMemory
2026-04-14 15:47:26 +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
李通洲
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
李通洲
cd8a0fc5f1
Global: enables debug mode when $FF_DEBUG is set
...
in case of `debugMode` is accessed before `--debug` is parsed
2026-03-14 22:27:36 +08:00
李通洲
d3453de73c
Global: puts more fastfetch-only properties into FFdata
2026-01-15 15:06:23 +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
李通洲
dbb9d8a660
Display: adds missing #include
2025-11-05 09:59:27 +08:00
李通洲
32dcf9487f
Option: adds configurable spacing between icon and string keys
...
Fixes #2004
2025-10-13 09:54:34 +08:00
李通洲
505ff6ff65
Global: renames fractionTrailingZeros enum to always/never for consistance
2025-09-05 12:27:03 +08:00
李通洲
390549394d
Fastfetch: removes redundant assignment in display config parsing
...
found by copilot
2025-09-05 11:08:37 +08:00
李通洲
59742bca00
Fastfetch: improves frequency display config validation and schema
2025-09-03 16:01:09 +08:00
李通洲
303edb97ce
Fastfetch: add option --faction-trailing-zeros
2025-09-03 14:20:23 +08:00
Carter Li
5de432b083
Fastfetch: defaults display.fraction.ndigits to 2
2025-09-03 09:58:40 +08:00
李通洲
34c34d25c4
JsonConfig: fixes fractionNdigits will be incorrectly set to 0 when specifying null
2025-09-02 14:44:15 +08:00
李通洲
54d8b0a95d
Global: adds configurable trailing zeros for double formatting
2025-09-02 14:12:58 +08:00
Carter Li
5c9a0a1f88
Fastfetch: clarify that --debug is debug-mode only
2025-08-28 09:32:01 +08:00
Carter Li
74e0732390
Common (GNU): more __GNU__ tests
2025-08-24 21:40:22 +08:00
Yelninei
71fbe04367
Start work on GNU
2025-08-24 11:29:01 +01:00
李通洲
d9455adc7f
Display: fix invalid size.maxPrefix default value in generated config file
2025-08-06 21:57:21 +08:00
李通洲
655d11c1cc
Chore: fix building on Windows
2025-08-05 19:15:52 +08:00
李通洲
e32987c408
JsonConfig: make all non-module keys case-sensitive
2025-08-05 16:47:48 +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
李通洲
3cef51ec4a
JsonConfig: refactor string buffer JSON handling for robustness
2025-08-02 17:41:19 +08:00
李通洲
54c5bc5110
Bar: refactor config to use nested objects and deprecates old fields
2025-08-01 15:12:30 +08:00
李通洲
c6675f82f0
Bar: add customizable bar color options for percentage bars
2025-08-01 15:03:24 +08:00
李通洲
afe2c85047
Bar: add configurable elapsed bar borders for percent bars
...
Fix #1875
2025-08-01 15:03:24 +08:00
李通洲
aa0bbd5aee
Percent: add option --percent-width
2025-07-30 15:06:16 +08:00
李通洲
a0174e8666
Global: add new unit related options
...
1. `--<module>-space-before-unit`
2. `--duration-abbreviation`
3. various code refactoring and cleanups
2025-07-30 15:03:23 +08:00
李通洲
468d1e0903
Display: add option --fraction-ndigits
...
to control number of digits to print when formatting ordinary fraction numbers
2025-07-16 10:33:20 +08:00
李通洲
08ed14b42a
Logo: support "type": "command-raw"
...
Fix #1780
2025-06-02 11:46:43 +08:00
Carter Li
fd158b41e1
Logo (Chafa): fix setting chafa.symbols
...
Fix #1709
2025-04-24 09:02:45 +08:00
Carter Li
72afa9ef99
Networking (Linux): improve performance by TFO and response compression
2025-03-15 22:35:11 +08:00
李通洲
a66e1b2e6d
Doc: fix SI size prefix description
...
Fix #1589
2025-02-27 21:13:58 +08:00
李通洲
ba7885913d
Weather: honor display.temp.unit
...
Fix #1560
2025-02-14 10:31:13 +08:00