李通洲
a3182c31cb
Chore: add FF_C_NONNULL
2025-07-28 15:35:02 +08:00
李通洲
cf2034b93e
Processing (Windows): redirect unused std handles to NUL to avoid potential errors
2025-07-18 10:39:11 +08:00
李通洲
f7db03b8c4
Processing (*nix): use traditional fork-exec on Android and OpenBSD
...
Fix https://github.com/termux/termux-packages/issues/25369
2025-07-18 10:37:52 +08:00
李通洲
40e57b7698
IO: increase PROC_FILE_BUFFSIZ to avoid possible short reads
2025-06-30 19:16:08 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
李通洲
3c3188eb05
IO (Windows): support ~ expanding
2025-04-07 16:43:48 +08:00
李通洲
6bbed12083
IO: remove fast path of ffPathExists, which causes too many problems
...
Fix #1662
2025-04-03 22:38:05 +08:00
李通洲
6dd18050be
IO: don't suppress IO in debug mode
2025-03-23 21:56:32 +08:00
Carter Li
ab0240e9b7
IO (Haiku): access /path/to/file/ doesn't work. Work around it
2025-02-18 06:58:09 +08:00
François Revol
01f400c15f
Haiku: minimal implementation ( #1538 )
2025-02-05 09:08:28 +08:00
李通洲
b33692aa7d
Logo: randomly select one if the logo source expands to multiple files
...
Fix #1426
2024-12-05 14:16:30 +08:00
李通洲
97e1b987dd
Global: pack all enums and make flag enums unsigned
2024-11-14 11:00:44 +08:00
李通洲
1d92bf864a
IO (macOS): fix logo fails to load from symlinked files
...
Fix #1395
2024-11-13 15:15:50 +08:00
Carter Li
4799f9277e
Revert "IO: optimize createSubfolders ( #1382 )" ( #1390 )
...
This reverts commit 0284e4ccc4 .
2024-11-11 17:33:22 +08:00
apocelipes
0284e4ccc4
IO: optimize createSubfolders ( #1382 )
2024-11-10 08:27:34 +08:00
李通洲
8f79d6ab1d
Chore: silence some warnings
2024-10-17 15:39:11 +08:00
李通洲
cc86c2c428
CI (Linux): try fixing build
2024-10-15 21:43:55 +08:00
李通洲
ae76d2d032
IO (Linux): improve performance of ffPathExists
2024-10-15 19:40:03 +08:00
李通洲
746cff471f
IO (Windows): fix build
2024-10-12 19:44:30 +08:00
Carter Li
29dd6d88c9
IO: add function ffReadFileDataRelative
2024-10-12 10:41:58 +08:00
李通洲
15fc3bcc92
IO (Windows): add ffAppendFileBufferRelative
2024-10-12 10:13:23 +08:00
Carter Li
68406cd044
IO (Linux): use openat to simplify code
2024-10-11 16:36:08 +08:00
李通洲
2d356aa644
IO: don't reuse va_list
...
Fix #1321
2024-10-06 09:29:54 +08:00
李通洲
b34283eaf0
Chore: fix a warning of warning
2024-10-05 11:33:57 +08:00
Carter Li
716bfe7cc1
Global: use glob(3) if wordexp(3) is not available
2024-10-04 20:00:28 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
d06f9a1509
Chore (Windows): silence some warnings
2024-10-04 17:49:18 +08:00
李通洲
a052033dc6
IO: allow issuing multiple terminal queries in one call
2024-09-10 15:18:12 +08:00
李通洲
fed2c87f67
TerminalTheme (macOS): fix hanging on GNU screen 5.0
2024-09-10 11:12:16 +08:00
李通洲
de59ffb31f
Revert "TerminalTheme: fix hanging on screen 5.0"
...
It breaks kitty terminal font detection
This reverts commit 1ab86a8ab9 .
2024-09-06 16:40:24 +08:00
李通洲
1ab86a8ab9
TerminalTheme: fix hanging on screen 5.0
2024-09-02 09:26:54 +08:00
李通洲
5a9c3154fa
IO (Unix): fix isDir condition checking; skip hidden files
...
Fix #1216
2024-08-26 16:10:44 +08:00
Carter Li
a070519721
IO: disallow input echo
2024-07-31 09:40:00 +08:00
李通洲
ec8391f6c6
Global: don't use __has_include
...
It reports false results in ubuntu 20.04. Details unknown.
2024-07-30 11:06:42 +08:00
李通洲
9268d8449e
IO (Windows): remove debug output
...
Fix #1097
2024-07-15 16:01:19 +08:00
Carter Li
f8d5f56dee
GPU (Linux): remove possible overhead
2024-07-08 09:11:53 +08:00
李通洲
27a1d9f8c6
Logo (Image): fix building on Windows
2024-06-28 18:08:16 +08:00
李通洲
a4614ec412
IO (Windows): implement ffSuppressIO
2024-06-26 13:50:42 +08:00
李通洲
e257f876ae
TerminalSize (Windows): make it work when stdin or stdout is redirected
2024-06-26 10:51:44 +08:00
李通洲
47a9cf0450
IO: enable terminal query in --pipe mode
2024-06-26 10:01:36 +08:00
李通洲
0bc9149a23
IO: improve ffGetTerminalResponse
2024-06-25 16:09:19 +08:00
李通洲
b5e199d2b2
IO (Linux): make sure stdin and stdout are tty when querying terminal
2024-06-25 09:43:31 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
李通洲
8c2dd1aeac
IO: don't print ANSI escape codes in --pipe mode
2024-04-21 20:12:42 +08:00
李通洲
8f51763374
Linux: allow command substitution when expanding paths
...
Ref: https://github.com/fastfetch-cli/fastfetch/discussions/698
2024-01-23 13:13:30 +08:00
Carter Li
5693700c16
Bios (FreeBSD): fix boot type detection on some weird platforms
2024-01-08 16:02:52 +08:00
apocelipes
e85a4b9ff5
refactor(IO): clean up ffAppendFDBuffer
...
for 2 reasons:
- Simplify the Code.
- ffAppendFDBuffer can't make assumptions about how the read data will
be processed, so the trim calls are inappropriate.
2023-12-22 11:49:57 +00:00
apocelipes
b9368ac20d
feature(IO): support searching user's config file from configDirs
2023-12-20 10:28:51 +00:00
李通洲
11b1b97567
IO: only retry when open() error is ENOENT / ERROR_PATH_NOT_FOUND
...
Close : #663
2023-12-18 21:08:29 +08:00
李通洲
4ae0c43c6f
IO: remove support of FF_PATHTYPE_LINK
2023-12-18 20:49:32 +08:00