2684 Commits

Author SHA1 Message Date
李通洲
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
李通洲
301e6153e1 WM/DE (Linux): revert 2486e68fe32a932f2ff83653ff292759733e9f0a because it seems to cause too many issues
Ref: #495 #489 #481#480
2023-07-10 18:02:40 +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
李通洲
9719c17d19 LM (Linux): detect sshd version 2023-07-10 17:11:27 +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
李通洲
e99b45a24b
TerminalFont (Linux): support xterm 2023-07-09 22:30:12 +08:00
李通洲
cad89fccd1 Terminal: detect xterm terminal version 2023-07-09 22:15:03 +08:00
李通洲
98079f583c
Brightness (macOS): fix crashing when no external display connected 2023-07-09 19:32:38 +08:00
李通洲
da6dafe49a CI (Linux): ddcutil is not available on Ubuntu 20.04; disable it 2023-07-09 17:36:36 +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
李通洲
f1667357f5 LM (Linux): fix compiling 2023-07-09 00:36:29 +08:00
李通洲
30afe7e86b
Brightness (macOS): detect brightness of external monitors with DDC/CI 2023-07-08 23:56:44 +08:00
李通洲
faf6d139d1
Brightness (Windows): detect brightness of external monitors with DDC/CI 2023-07-08 23:54:46 +08:00
李通洲
55c516a14b DisplayServer: prepare for DDC/CI 2023-07-08 10:06:04 +08:00
李通洲
713a62b383 Logo: fix segfault with fastfetch -l 2023-07-08 09:18:19 +08:00
李通洲
11cd795425 LM (Linux): detection LightDM version 2023-07-08 09:18:19 +08:00
李通洲
09d843d47f
CMake: don't install global config file
No one use it. Note we just don't install the default config file with
`make install`; `/etc/fastfetch/config.conf` is still looked at runtime.

Fix #491
2023-07-08 09:30:13 +08:00
李通洲
53569d5a66
Terminal: support Cockpit version detection 2023-07-07 09:40:04 +08:00
李通洲
b9f192682c
Doc: update changelog 2023-07-06 23:26:45 +08:00
李通洲
e7db3cd7fe
Logo: support builtin small logo
Also improve performance of builtin logo finding

Assume you are running macOS

* default -> macos
* `-l small` -> macos_small
* `--logo-type small` -> macos_small
* `-l macos` -> macos
* `-l macos --logo-type small` -> macos_small
* `-l macos_small` -> macos_small
* `-l macos_small --logo-type small` -> error, because Logo `macos_small_small` doesn't exist
2023-07-06 23:16:05 +08:00
李通洲
71ed353fde
Logo (Builtin): make Windows 11 small colorable 2023-07-06 15:49:41 +08:00
李通洲
36950a9539
Presets: update examples 2023-07-06 15:43:53 +08:00
李通洲
dad5457700
Presets: more examples 2023-07-06 09:06:35 +08:00
李通洲
0e5932fbc1
Presets: print more information 2023-07-05 16:03:46 +08:00
李通洲
341b2ef62d
Presets: don't use module Date and Time 2023-07-05 15:53:45 +08:00
李通洲
5e9f850fe1
Title: fix typo fdqn -> fqdn; support standard module args 2023-07-05 15:47:47 +08:00
李通洲
7bd9e1e750
LocalIP: fix --compact 2023-07-05 15:06:34 +08:00
李通洲
03442022ed
Disk: fix --disk-folders printing duplicated paths 2023-07-05 14:33:17 +08:00
李通洲
763890053b
JsonConfig: implement --load-config for JSON config file 2023-07-05 14:21:35 +08:00
李通洲
d9f5c4d894
Merge branch 'master' into dev 2023-07-05 10:07:41 +08:00
李通洲
92588e1159
Fastfetch: fix memory leaks 1.12.2 2023-07-05 10:05:24 +08:00
李通洲
3245b8a453
Merge branch 'master' into dev 2023-07-05 09:55:09 +08:00
李通洲
948a480859
Release: v1.12.2 2023-07-05 09:44:44 +08:00
李通洲
ee90d886ab
Packages (Linux): print pkgtool package count in custom module format mode 2023-07-05 09:43:52 +08:00
李通洲
f74c643a84
Host (macOS): fix incorrect Host on M2 Mac Studio with M2 Max CPU (#490) 2023-07-05 09:39:16 +08:00
李通洲
03efbe5f6a
TerminalShell (Windows): fix #488 2023-07-05 09:39:16 +08:00
李通洲
085479a923
Shell (Windows): fallback shell version detection to file version 2023-07-05 09:39:16 +08:00
李通洲
482b15c62e
Packages (Linux): try detecting pkgtool
fix #486
2023-07-05 09:18:00 +08:00
李通洲
1f5da2736e
Terminal (Linux): support terminator version detection 2023-07-05 09:12:37 +08:00