Carter Li
cf33bef128
CI: fixes building
2026-08-05 15:30:32 +08:00
Carter Li
7e786bee31
GenConfig: optimises code
2026-08-05 15:21:39 +08:00
Carter Li
cbea6c3cb1
Presets (neofetch): shows board name as host name
...
... when the real host name is not available
2026-08-05 15:02:47 +08:00
Carter Li
48a234d742
GenConfig: removes unused fflush
2026-08-05 14:49:29 +08:00
Carter Li
c271708f7d
GenConfig: don't use Unicode string when drawing options
2026-08-05 14:36:42 +08:00
Carter Li
b42f11442c
GenConfig: improves visibility on light-background terminal
2026-08-05 14:28:49 +08:00
Carter Li
73918956d7
GenConfig: prefers macros instead of hard coded ANSI string
2026-08-05 14:28:49 +08:00
Carter Li
6559c7f42d
GenConfig: don't use Unicode chars on niche platforms
2026-08-05 14:28:11 +08:00
Carter Li
56950e790f
Merge pull request #2490 from fastfetch-cli/dev
...
Release v2.67.0
2026-08-04 20:05:50 -05:00
Carter Li
e7642ea3a2
GenConfig: honors -s set by users
2026-08-04 23:34:15 +08:00
李通洲
a88ef86ce3
InitSystem (Windows): fixes logic of assertions
2026-08-04 21:15:34 +08:00
李通洲
fcf4aca3b7
Shell: fixes a potencial out-of-bound read
2026-08-04 21:14:48 +08:00
李通洲
3f8d141313
GenConfig: disables the feature on Win 8.1; improves redraw logic
2026-08-04 21:05:07 +08:00
李通洲
97a9be27b9
GenConfig: fixes arrow keys not working in Haiku
2026-08-04 20:17:05 +08:00
李通洲
dc46ecbcac
GenConfig: code cleanup
2026-08-04 19:34:14 +08:00
李通洲
984fadf70f
Revert "Global: first step to full C++ project"
...
This reverts commit 241ddb79b0 .
2026-08-04 19:19:37 +08:00
李通洲
1a42cbe1cf
Common (Format): format
2026-08-04 19:18:23 +08:00
Carter Li
9c7cfb864f
Release: v2.67.0
2026-08-04 16:28:33 +08:00
Carter Li
6d795a3572
Fastfetch: adds interactive --gen-config mode
...
removes `--gen-config-*` flags (merged into `--gen-config`)
2026-08-04 15:32:44 +08:00
Carter Li
2af56232a4
FFlist: adds FF_LIST_INSERT_AT and FF_LIST_REMOVE_AT
2026-08-04 15:08:50 +08:00
Carter Li
3196f5efaa
chore: adds defaultOrder to every module's definition
2026-08-04 09:58:31 +08:00
aldahiiir
1626ced83c
OS (Linux): detects Ubuntu Studio installed with core mode
...
The minimal (core) installation ships the `ubuntustudio-desktop-core`
metapackage instead of `ubuntustudio-desktop`, so the existing check
missed it and the system was reported as Kubuntu.
Fixes #2485
2026-08-03 20:01:47 +08:00
李通洲
241ddb79b0
Global: first step to full C++ project
2026-08-03 20:00:27 +08:00
李通洲
66ce39e3fc
Shell (Windows): fixes incompatibility with the newest fish version
2026-08-02 22:02:54 +08:00
李通洲
3fae9e0274
Libc (Windows): simplifies code
2026-07-31 23:12:10 +08:00
李通洲
5eaf98ecd2
Common: forces optionBuf to be 8-byte aligned
2026-07-29 20:15:54 +08:00
Carter Li
00b7c5b56c
Netif (Hurd): fixes a compiler warning
2026-07-28 23:42:08 +08:00
李通洲
305ab14e7b
DisplayServer (Linux): don't assume the monitor has only one preferred mode
...
Fixes #2481
2026-07-28 23:41:07 +08:00
Carter Li
a58fc4f77d
CI: disable Haiku
...
Ref: https://github.com/haikuports/haikuports/issues/14445
2026-07-28 15:21:28 +08:00
Carter Li
b653ef730d
General: removes general.preRun due to security concerns
2026-07-28 15:16:30 +08:00
Carter Li
dc464d6efe
FFstrbuf: prefers ffStrbufEnsureFree
2026-07-28 14:51:54 +08:00
Carter Li
1c3f0eb7c0
FFstrbuf: adds integer overflow checks to EnsureFreeNoCheck and EnsureFixedLengthFree
2026-07-28 14:51:37 +08:00
Carter Li
476cd67345
Networking: adds Content-Length size limit to prevent excessive memory allocation and potential attacks
2026-07-28 13:29:47 +08:00
Carter Li
2c736697d2
Watch: adds -w/--watch as a seconds-based alias for --dynamic-interval
...
Closes #2478
2026-07-28 10:52:04 +08:00
Carter Li
738ad59f54
Revert "Weather: replaces aggressive exit(1) with proper error handling ( #2474 )"
...
This reverts commit c5a8950ad4 .
2026-07-28 10:40:33 +08:00
Carter Li
5476e01407
Revert "PublicIP: replaces exit(1) with proper error status"
...
This reverts commit 18eef29d0a .
2026-07-28 10:38:53 +08:00
Carter Li
4f0b00116e
PublicIP: fixes invalid URL parser
2026-07-28 10:37:36 +08:00
Carter Li
6490e2707f
Networking: relaxes accepted response format
2026-07-28 10:31:32 +08:00
tru3
ccf3909372
Separator: fixes memory leakes
...
- Add missing ffStrbufDestroy(&options->outputColor) in ffDestroySeparatorOptions
to prevent memory leak when outputColor is set via JSON config
- Replace two exit(1) calls in ffPreparePublicIp with proper error status
propagation, matching the pattern used in the weather module
2026-07-24 08:50:59 +08:00
tru3
18eef29d0a
PublicIP: replaces exit(1) with proper error status
...
- Add missing ffStrbufDestroy(&options->outputColor) in ffDestroySeparatorOptions
to prevent memory leak when outputColor is set via JSON config
- Replace two exit(1) calls in ffPreparePublicIp with proper error status
propagation, matching the pattern used in the weather module
2026-07-24 08:50:59 +08:00
h4sht
f6c25667fe
Display: adds missing ffStrbufDestroy calls in ffOptionsDestroyDisplay ( #2476 )
...
13 FFstrbuf fields were initialized but never destroyed, potentially
leaking memory when configured via JSON or command-line:
- barBorderLeft, barBorderRight
- barBorderLeftElapsed, barBorderRightElapsed
- barColorElapsed, barColorTotal, barColorBorder
- tempColorGreen, tempColorYellow, tempColorRed
- percentColorGreen, percentColorYellow, percentColorRed
Co-authored-by: tru3 <tru3@tru3.com >
2026-07-24 08:43:31 +08:00
h4sht
97fa52fef0
FFstrbuf: removes dead code in ffStrbufSubstrBefore ( #2475 )
...
The redundant `if (index < strbuf->length)` check inside the static string
branch is always true since `strbuf->length <= index` is already checked
at the top of the function and returns false. Remove this dead code for clarity.
Co-authored-by: tru3 <tru3@tru3.com >
2026-07-24 08:41:54 +08:00
h4sht
c5a8950ad4
Weather: fixes memory leak and replace aggressive exit(1) with proper error handling ( #2474 )
...
- Add missing ffStrbufDestroy(&options->location) in ffDestroyWeatherOptions
to prevent memory leak when location is set via config
- Replace exit(1) in ffPrepareWeather with setting status to an error string,
allowing the error to be properly propagated through the existing error mechanism
Co-authored-by: tru3 <tru3@tru3.com >
2026-07-24 08:39:07 +08:00
Carter Li
111c1bab75
Codec (macOS): fixes detection for VP9
2026-07-23 09:55:31 +08:00
Carter Li
47dfd8a271
Common (macOS): adds M5x temp detection support
2026-07-22 11:08:17 +08:00
Carter Li
bc1d305aaa
Logo (Builtin): removes hypros
...
Ref: #1178 #2460
2026-07-22 09:29:36 +08:00
徐晓伟
dda39f0c67
CI (Linux): adds loong64 build workflow ( #2469 )
...
* CI: add loong64 build workflow
Add reusable workflow for building fastfetch on LoongArch 64-bit
architecture using QEMU user-mode emulation + Docker container
(lcr.loongnix.cn/debian:14). Integrate into CI pipeline and
release dependencies.
* CI (loong64): pin docker/setup-qemu-action to full commit SHA
Pin to 06116385d9baf250c9f4dcb4858b16962ea869c3 (v4.1.0) for
immutable action reference as required by Codacy.
2026-07-21 21:14:38 +08:00
李通洲
0b72c9b083
Networking (Windows): simplifies code
2026-07-21 21:12:16 +08:00
李通洲
69f3d9ae33
CI (FreeBSD): fixes building
2026-07-20 16:06:22 +08:00
Carter Li
db46e06f2e
Common (Base64): unifies the code of endian testing
2026-07-20 15:36:57 +08:00