李通洲
9500ca8f83
Logo: fix poll() timeout or failed error when image is very large
...
Fix #554
2023-09-03 17:50:20 +08:00
李通洲
04d56d9b6a
IO: fix short read when reading from pipe
2023-09-02 10:04:57 -04:00
李通洲
bddcb4772c
DE (FreeBSD): add fast path for xfce4 version detection
2023-08-29 10:47:24 +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
李通洲
970863e7df
Global: simplify code of module matching
2023-08-20 21:35:38 +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
李通洲
77e0d9dba1
JsonConfig: prepare for module weather and public ip
2023-08-18 13:38:32 +08:00
李通洲
67fe1e66b5
Windows: fix build
2023-08-17 17:15:30 +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
李通洲
8ed28673a9
Global: support --module-key-width per module
2023-08-16 13:21:15 +08:00
李通洲
e6be90614a
fastfetch: support --key-width
2023-08-15 21:11:52 +08:00
李通洲
8835f66b8c
Fastfetch: unescape strings only when parsing .conf files
...
So that `NO_CONFIG=1 ./fastfetch --os-key \\\\ -s os -l none` prints `\\: *`
2023-08-15 16:41:04 +08:00
李通洲
b39c84f81e
IO (Android): fix compiler errors if wordexp is not available
2023-08-14 10:03:53 +08:00
李通洲
658598f43a
--logo-source / --load-config: support path with env variables (*nix)
2023-08-13 10:59:50 +08:00
李通洲
290e721ee1
--logo-source / --load-config: support path with env variables (Windows)
2023-08-13 10:18:16 +08:00
李通洲
a87a0470ca
Fastfetch: fix #517
...
1. Fix specifying `--set-keyless` with the same key second time won't override the value set before
2. Fix specifying `--color` second time won't clear the value set before
2023-08-12 10:04:02 +08:00
李通洲
add33186a8
Fastfetch: improve performance of --structure parsing
2023-08-10 16:55:49 +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
李通洲
819c78e74c
Fastfetch: add option --bright-color
2023-08-04 16:05:25 +08:00
李通洲
7d347a9b46
Logo (Builtin): use meaningful macros
...
instead of raw color codes
2023-08-03 14:30:53 +08:00
李通洲
5137b7d646
Revert "IO: only suppress IO in release mode"
...
This reverts commit f1ec86a371 .
2023-08-01 16:20:00 +08:00
李通洲
f1ec86a371
IO: only suppress IO in release mode
...
It can be annoy when printing debug messages
2023-08-01 15:16:58 +08:00
李通洲
674618930d
DisplayServer: add option --ds-force-drm
...
Fixes #505
2023-07-31 23:11:39 +08:00
李通洲
b4d1c97d2c
Separator: support Unicode / double width separator string
...
Fixes #504
2023-07-31 16:22:56 +08:00
李通洲
af2c6a832e
Fastfetch: add new option --temperature-unit
2023-07-27 15:58:49 +08:00
李通洲
c9741d1662
Parsing: simplify code
2023-07-27 15:17:54 +08:00
李通洲
8cbeb709f9
TerminalSize: add new module
2023-07-26 18:18:27 +08:00
李通洲
841be619ba
Global: use ffStrbufInitStatic
2023-07-25 17:35:09 +08:00
李通洲
2aa637ecc8
Processing (Linux): don't return on POLLHUP
...
In case child process finishs too fast
2023-07-24 21:30:41 +08:00
李通洲
d13e72b815
Processing: always trim white spaces
2023-07-20 16:10:13 +08:00
李通洲
9de7a78f43
JsonConfig: don't disable --show-errors when setting --stat false
2023-07-19 15:44:40 +08:00
李通洲
a77553409b
Processing (Windows): try fixing Win7 compatiblity
2023-07-16 19:22:58 +08:00
李通洲
64ea1af991
Processing: always trim trailing new lines
2023-07-15 15:46:19 +08:00
李通洲
a9466654b2
Processing (macOS): fix compiling
2023-07-15 08:25:57 +08:00
李通洲
87ebdef8df
Processing (Linux): don't leave zombie processes
2023-07-15 00:33:38 +08:00
李通洲
dfefb802d0
Processing (Linux): always poll before read
2023-07-11 20:28:59 +08:00
李通洲
11adefd839
Processing (Windows): fix hanging when executing cygwin processes
2023-07-11 19:45:16 +08:00
李通洲
992fd6e5ad
Processing (Windows): properly implement timed reading
2023-07-11 16:00:58 +08:00
李通洲
ced2347829
Processing (Linux): fix potential hang when reading large buffer
...
`write` in child process blocks when the pipe is full. However because we are `waitpid`ing, we don't read the pipe, so that the pipe is never free. Therefore `write` in child process blocks forever and `waitpid` hangs.
Fix #493
2023-07-11 11:13:13 +08:00
李通洲
7dae59ee92
Processing: add --processing-timeout
2023-07-10 22:20:30 +08:00
李通洲
d53b584ba2
Processing (Windows): support timeout
2023-07-10 21:02:13 +08:00
李通洲
9c9ba2f1a1
CI (Linux): fix build on musl
2023-07-10 18:10:59 +08:00