Carter Li
cbca6a965c
Logo: prints ASCII logo line by line
2026-05-22 19:09:34 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +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
李通洲
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
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
302b8a7b1b
CommandLine: adds dynamic output refresh support with interval option
2025-11-05 10:21:05 +08:00
李通洲
ea86273a0e
Common: refactors time formatting to use a shared buffer and utility macro
2025-08-19 09:49:43 +08:00
李通洲
0fe3db419e
Separator: honors FQDN settings in Title module
2025-08-14 13:30:02 +08:00
李通洲
146981009b
CommandLine: add --gen-config-full
2025-08-11 14:49:22 +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
李通洲
3dd78422eb
Global: Improve ARRAY_SIZE macro using __is_array
2025-04-30 14:47:37 +08:00
李通洲
9cda7e20fb
Chore: simplify fastfetch.h
2025-04-14 10:28:01 +08:00
李通洲
fd26373c8f
Global: overall optimization
2024-10-26 11:42:07 +08:00
李通洲
40b8023ff9
CI: fix build for old compilers
2024-10-18 21:07:50 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
188dbde595
Chore: remove all #ifndef guards
2024-10-17 22:33:52 +08:00
李通洲
c9d539090d
Global: remove --lib-xxx support
2024-09-04 15:56:11 +08:00
李通洲
899f176f21
Logo: fix while chars not visible in terminal of light theme
2024-06-04 14:23:30 +08:00
李通洲
a44b8264af
Fastfetch: remove the old function of --gen-config
...
The file `config_user.txt` has not been maintained for long. Let's remove it.
2023-11-13 10:32:45 +08:00
李通洲
8bdd410e97
Migration: support specifying config file path
2023-10-26 16:22:05 +08:00
李通洲
399e2235d4
Options (Display): split code
2023-10-26 10:26:15 +08:00
李通洲
2c49dcceaf
Options (Library): split code
2023-10-25 16:24:24 +08:00
李通洲
3c5b002414
Options (Modules): split code
2023-10-25 15:38:46 +08:00
李通洲
ca37206a49
Options (Logo): renaming symbols
2023-10-25 15:31:13 +08:00
李通洲
8a939e981c
Options (General): symbol renaming to prevent from possible naming conflicts
2023-10-25 14:43:15 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +08:00
李通洲
04c3a4ccf7
Logo: move logo options related code to a new folder
2023-10-25 10:44:34 +08:00
李通洲
ec87790e4f
Global: init support for JSON config file migration (WIP)
2023-10-23 16:17:07 +08:00
李通洲
0b0e286b9c
DiskIO: support --diskio-name-prefix
2023-10-08 16:30:09 +08:00
李通洲
276e22f6b0
DiskIO: init module
2023-10-07 23:56:15 +08:00
李通洲
154657b455
NetUsage: rename to NetIO
2023-09-27 00:06:11 +08:00
李通洲
69373906ca
Windows: pre-basic msvc support
2023-09-26 20:13:32 +08:00
李通洲
24a6efa227
NetUsage: finish first working version
2023-09-26 19:54:19 +08:00
李通洲
14f26879de
Global: init --format json support ( #527 )
2023-09-05 15:29:46 +08:00
李通洲
b1ac31f590
Global: add option --percent-ndigits
2023-08-24 09:35:17 +08:00
李通洲
f23384725f
Version: add new module
2023-08-21 09:19:16 +08:00
李通洲
0b473e3bff
Fastfetch: refactor the code of --list-modules
2023-08-20 20:51:55 +08:00
李通洲
c7f0172b25
CMake: Add option ENABLE_SYSTEM_YYJSON
...
Fix : #525
2023-08-19 11:11:50 +08:00
李通洲
e5e4c8bf88
Fastfetch: refactor command line option parsing code
...
1. improve performance
2. remove `-c`
3. rename `--recache` to `--logo-recache`, and remove `-r`
2023-08-17 16:10:05 +08:00
李通洲
c888254f70
Modules: major code refactor
...
Also fix some bugs found when refactoring
2023-08-17 16:10:02 +08:00
李通洲
a0c4f2febd
Global: support --bar-width
2023-08-16 16:51:41 +08:00
李通洲
559bca4223
Global: add --bar-char-elapsed, --bar-char-total and --bar-border options
2023-08-16 14:41:56 +08:00
李通洲
e6be90614a
fastfetch: support --key-width
2023-08-15 21:11:52 +08:00
李通洲
c70787bde9
Fastfetch: tidy
2023-08-15 16:52:35 +08:00
李通洲
cd4a512291
Chore: embed yyjson source code
...
Ref: https://github.com/fastfetch-cli/fastfetch/discussions/523
2023-08-14 20:48:37 +08:00
李通洲
7965107347
PhysicalDisplay: rename module to Monitor
2023-08-09 16:31:24 +08:00
李通洲
921f3e3c34
PhysicalDisplay: fix typo
2023-08-09 13:27:52 +08:00
李通洲
bb0279bae1
NativeResolution: rename module to PhycialDisplay
2023-08-09 10:00:57 +08:00
李通洲
a58db92ab8
NativeResolution: init code
2023-08-08 20:18:24 +08:00