李通洲
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
李通洲
c1b2ebc66e
CI: fix compiling errors
2023-07-10 18:04:21 +08:00
李通洲
7bd0780f1a
Fastfetch: make --size-max-prefix accept enum values.
2023-07-10 17:30:08 +08:00
李通洲
ad9103c767
Processing (Linux): support timeout
2023-07-10 17:12:18 +08:00
李通洲
e611ce5733
Processing (Linux): don't hang on waitpid(2)
2023-07-10 15:26:10 +08:00
李通洲
856d732e13
Global: add option --size-ndigits and --size-max-prefix
2023-07-10 15:25:45 +08:00
李通洲
d5f0ccae88
LM (Linux): try fixing LightDM version detection
2023-07-10 09:39:24 +08:00
李通洲
d0ce6aabb6
Brightness (Linux): detect brightness of external monitors with DDC/CI
2023-07-09 17:22:04 +08:00
李通洲
300d06ffcd
Fastfetch: don't hide cursor in DEBUG mode
2023-07-09 16:56:12 +08:00
李通洲
ecfe4287aa
JsonConfig: set showErrors=true implicitly if stat is enabled
2023-06-28 11:09:39 +08:00
李通洲
9021c6ee82
JsonConfig: fix compiler warnings
2023-06-25 21:12:27 +08:00
李通洲
ab3290d9cb
WMI (Windows): add --wmi-timeout option
2023-06-25 14:33:13 +08:00
李通洲
8fc31c700f
OS (Windows): code refactor; fix common/library.h usage for C++
2023-06-25 14:14:42 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
5b5527f4c9
JsonConfig: allow JSON files without "modules" key
2023-06-21 16:34:54 +08:00
李通洲
68feaa2800
LM: new module
2023-06-20 23:01:18 +08:00
李通洲
4905d5aded
Wifi (Windows): remove --lib-wlanapi
...
It's not used
2023-06-20 14:14:11 +08:00
李通洲
baa8992322
Global: refactor strcmp() == 0 to ffStrEquals()
2023-06-19 17:11:57 +08:00
李通洲
805fb13b13
Global: refactor strcasecmp() == 0 to ffStrEqualsIgnCase()
...
to prevent me from forgetting to write `== 0`
2023-06-19 15:21:49 +08:00
Carter Li
ba45229db0
Colors: support --colors-symbol
2023-06-18 14:03:29 +08:00
Carter Li
fbbd549db2
Fastfetch: set pipe=true automatically if stdout is not a tty
2023-06-18 12:49:53 +08:00
Carter Li
36a2fee9d5
Global: support --*-key-color
2023-06-18 12:32:47 +08:00
Carter Li
2998b1f02e
Chore: remove --*-error-format
2023-06-18 11:14:50 +08:00
Carter Li
184a6de1e9
JsonConfig: always use ffStrbufSet* to set config properties
2023-06-17 21:08:50 +08:00
李通洲
64bdb59683
Display: print * for primary monitors
...
Also `FF_FORMAT_ARG_VALUE_BOOL` was removed, which makes usages of `FF_FORMAT_ARG_VALUE_*` inconsistant
2023-06-17 19:17:10 +08:00
李通洲
2647d04da3
Android: fix compiling
2023-06-16 09:18:07 +08:00
李通洲
16181b7272
Bios (FreeBSD): code refactor
2023-06-15 13:42:03 +08:00
李通洲
043c41dfc7
Fastfetch: add --no-buffer option
2023-06-13 11:08:49 +08:00
李通洲
17b6ff1a6d
TerminalFont: always init terminalFont.font
2023-06-13 10:57:52 +08:00
Linus Dierheimer
67349354e4
Don't build the combination of musl & features
2023-06-12 17:20:27 +02:00
李通洲
e9b3a799bc
OS: make osFile a global option
...
`OS` is used by Module `Package`
2023-06-12 15:42:56 +08:00
李通洲
df4d6627ee
Player: make playerName a global config
...
`playerName` is used in `ffDetectMedia`, which is used in Module `media` and `player`.
2023-06-12 15:28:31 +08:00
李通洲
e68efb184b
JsonConfig: support more non-module options
2023-06-11 21:31:09 +08:00
李通洲
c7a11e050c
JsonConfig: don't make it a module
...
So that JsonConfig doesn't rely on `--structure`
2023-06-11 00:57:31 +08:00
李通洲
6d6eee9968
JsonConfig: support Logo config (WIP)
2023-06-10 21:35:45 +08:00
李通洲
abe0d2ca78
Global: drop json-c and switch to yyjson
2023-06-10 21:35:45 +08:00
李通洲
3227eee080
Processes: add JSON config
2023-06-10 09:15:15 +08:00
李通洲
0021219f42
Chassis: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
e3ec136cad
Theme: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
db98e406c2
Weather: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
7f9ff587ce
PublicIP: support JSON config
2023-06-10 09:15:15 +08:00