李通洲
36a0c273f9
Processing: suggest increasing --processing-timeout when child process timeouts
2024-04-30 14:52:47 +08:00
李通洲
d4a402f4dd
Common: slience compiler warnings
2024-04-28 10:34:28 +08:00
李通洲
866e65749e
Init: tweaks
2024-04-27 16:36:33 +08:00
李通洲
8c2dd1aeac
IO: don't print ANSI escape codes in --pipe mode
2024-04-21 20:12:42 +08:00
李通洲
5e3fdc6c33
DE (Linux): better Gnome version detection
2024-04-17 19:00:45 +08:00
李通洲
03fe5803de
common/properties: we don't use threads any more
2024-04-17 19:00:06 +08:00
李通洲
691cb4ac24
Global: use time string when generating JSON result
2024-04-09 20:47:06 +08:00
李通洲
12ac0ac7a9
Cursor: tidy
2024-04-07 20:09:05 +08:00
李通洲
5c97c012a9
Font (Linux): try fixing style detection
2024-03-24 18:32:50 +08:00
李通洲
79ae650c58
Networking: avoid short recv
2024-03-21 10:42:25 +08:00
李通洲
44107f289e
Network (Windows): fix compiling
2024-03-20 16:09:17 +08:00
李通洲
75927a87b2
Networking: add timeout support for TCP connecting
2024-03-20 15:04:29 +08:00
李通洲
85da30ccf5
Networking: report detailed error messages; support --thread false for debugging
2024-03-20 13:54:27 +08:00
李通洲
7acdaebee4
Printing: merge ffPrintError and ffPrintErrorString
2024-03-07 11:10:18 +08:00
李通洲
6dcfb6b88f
Fastfetch: fully resolve the format arg num issue
...
Ref: #749
2024-03-07 10:47:28 +08:00
李通洲
b9dbb66bd7
fastfetch: revert changes of FASTFETCH_DATATEXT_STRUCTURE
...
Also add comments
2024-03-04 13:47:17 +08:00
李通洲
5d8aa11d81
Fastfetch: small performace optimization
2024-03-04 08:50:38 +08:00
李通洲
153df44282
TerminalFont (Linux): support warp terminal
2024-02-27 23:40:42 +08:00
李通洲
5147651bcb
Temps: rename display.temperature to display.temp
2024-02-27 13:11:39 +08:00
李通洲
ba60d9059f
Temps: support color range customization
2024-02-27 11:00:43 +08:00
李通洲
8f205b8c30
Percent: rename FFPercentConfig to FFColorRangeConfig
2024-02-27 08:32:31 +08:00
李通洲
a0c47204bb
Temp: Display: support better temperature value formatting
...
Fix #737
2024-02-26 11:09:00 +08:00
李通洲
1c87693867
Percent: tidy
2024-02-26 10:23:00 +08:00
李通洲
c918226909
Fastfetch: print videodev2 in --list-features
2024-02-04 09:56:22 +08:00
李通洲
295e119810
Camera (macOS): new module
2024-02-02 20:36:22 +08:00
李通洲
42957356b2
GPU: remove libpci related stuff
2024-02-01 13:38:15 +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
李通洲
ec6195133b
TerminalTheme: add new module
2024-01-22 16:40:27 +08:00
李通洲
7ddc207574
Percentage: add options --percent-color-*
2024-01-20 20:06:42 +08:00
李通洲
d1a791b333
Global: make threshold of percentage colors configurable
...
Fix #689
2024-01-20 18:40:12 +08:00
李通洲
62ca495155
Percentage: prepare to make threshold configurable
2024-01-20 14:10:56 +08:00
李通洲
e7974a7cea
Percentage: refactor function names
2024-01-20 13:49:04 +08:00
李通洲
da5c44b3d0
Percentage: simplify usage of ffAppendPercentBar
2024-01-20 13:27:55 +08:00
李通洲
bd71aa931f
Global: rename common/bar to common/percent
2024-01-20 11:28:38 +08:00
李通洲
947d2ff0a9
Processing (Linux): return error when command is not found
2024-01-18 14:54:14 +08:00
李通洲
c749f214e0
Global: silence warnings when building in 32bit environments
2024-01-17 23:12:55 +08:00
李通洲
d3c7529c45
Processing (Windows): don't use CreateEventW
2024-01-13 13:38:53 +08:00
Carter Li
5693700c16
Bios (FreeBSD): fix boot type detection on some weird platforms
2024-01-08 16:02:52 +08:00
李通洲
0af40ab6a3
Settings (FreeBSD): don't append trailing \0
2024-01-06 18:47:16 +08:00
李通洲
21353b8256
CMake (GPU): change ENABLE_NVIDIA_GPU to ENABLE_PROPRIETARY_GPU_DRIVER_API
2024-01-02 10:49:03 +08:00
李通洲
db6d5d7fd6
Windows: get rid of InitOnceExecuteOnce
2023-12-30 14:19:25 +08:00
李通洲
0284f6bfd1
Font: tidy
2023-12-28 15:42:07 +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
李通洲
3cd81ec3ad
PhysicalDisk: add new module
2023-12-18 15:12:52 +08:00
李通洲
ce9f9ed7ed
Windows: try fixing --no-buffer
2023-12-17 19:04:49 +08:00
apocelipes
6eae425679
fix(Memory): fix reading procfs files and simplify data parsing
...
Files in procfs are always changed by kernel.
It means if we read the data with more than one read syscall,
we could get an incorrect data which was broken by kernel.
A typical case about this problem was reported by psutil in
https://github.com/giampaolo/psutil/issues/2050
Using an big buffer let read reads the whole file can fix this.
psutil uses a 32K buffer while procps-ng uses a 8K buffer, i think a 8K buffer is enough.
2023-12-04 19:47:34 +08:00
李通洲
3fda6e425a
Global: never leak fd to child processes
2023-12-04 15:14:40 +08:00