Carter Li
881730d0bd
TerminalFont: improves Ghostty config loading with fallback support
...
Fixes : #2500
2026-08-08 22:40:34 +08:00
Carter Li
ba60d7975c
Camera (macOS): simplifies code
2026-08-07 09:37:39 +08:00
Carter Li
51a4f34bb5
Codec (macOS): fixes a symbol not found error when running on 10.15
2026-08-07 09:37:39 +08:00
Carter Li
80101a5803
GenConfig: simplifes code
2026-08-05 15:47:42 +08:00
Carter Li
7e786bee31
GenConfig: optimises code
2026-08-05 15:21:39 +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
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
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
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
李通洲
0b72c9b083
Networking (Windows): simplifies code
2026-07-21 21:12:16 +08:00
Carter Li
db46e06f2e
Common (Base64): unifies the code of endian testing
2026-07-20 15:36:57 +08:00
Carlos Milán Figueredo
7223803a76
Common (Base64): corrects byte order on big-endian hosts ( #2470 )
...
ffBase64EncodeRaw unconditionally byte-swapped the input word via
__builtin_bswap32, which only produces the intended big-endian byte
layout on little-endian hosts. On big-endian hosts the word is already
in the correct order, so the swap corrupted the encoded output.
Guard the swap with __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ so the
encoder is correct on both endiannesses.
2026-07-20 02:29:59 -05:00
李通洲
9db4ec82fd
Version (macOS): siliences a compiler warning
2026-07-19 18:06:00 +08:00
李通洲
62180366fc
Theme (Windows): reports basic is DWM is disabled
2026-07-17 23:00:31 +08:00