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
Carter Li
0feec933ea
Camera: removes unused #includes
2026-07-17 10:40:48 +08:00
Carter Li
6c03db8be9
Codec (macOS): fixes a memory leak
2026-07-17 10:35:30 +08:00
Carter Li
f0564fb9a7
Camera: adds missing ffStrbufDestroy
2026-07-17 10:34:56 +08:00
李通洲
8bf1aca7fc
GPU (Windows): correctly report virtual GPUs
...
Fixes #2461
2026-07-16 19:27:39 +08:00
李通洲
445311978e
Logo: silence GCC warnings by unsilencing CLANG warnings
2026-07-16 19:14:22 +08:00
Carter Li
d9f5e006b5
Logo (Builtin): removes MagpieOS
...
Dead years ago: https://github.com/magpie-linux
2026-07-16 10:48:12 +08:00
Carter Li
21fbf14fb8
Logo (Builtin): removes Furreto, EmperorOS and Magix
...
Ref: #2460
2026-07-16 10:46:57 +08:00
Carter Li
dd30c82b83
TerminalFont: supports both syntax for alacritty
2026-07-15 09:16:03 +08:00
李通洲
b41cdb0ca6
Chore: siliences more compiler warnings
2026-07-14 18:58:00 +08:00
李通洲
2b03bacb28
Global: further code cleanups
2026-07-14 15:07:30 +08:00
李通洲
7dcc7d40d5
InitSystem (Windows): adds support
...
Note: Windows doesn't have a unix-like init system process, but it does have the first userland process, which is `smss.exe`
2026-07-14 15:04:29 +08:00
Carter Li
a0fd59d869
DisplayServer (Linux): don't try to inline functions with variable arguments
2026-07-14 11:05:17 +08:00
Carter Li
1c352bb4de
DisplayServer (Linux): removes an old hack
2026-07-14 11:03:00 +08:00
Carter Li
29d626f41d
DisplayServer (Linux): wait for delayed Wayland output events
...
Ref: #2451
2026-07-14 10:56:44 +08:00
Carter Li
8ca6bb084d
Common (Library): adds FF_LIBRARY_LOAD_SYMBOL_VAR_LAZY
2026-07-14 10:50:36 +08:00
Carter Li
eeae601924
Global: silences compiler warnings
2026-07-13 10:03:30 +08:00
Carter Li
773e3ea497
TerminalFont: small code cleanups
2026-07-13 10:03:30 +08:00
clice lee
317c0cfb86
TerminalFont (Ghostty): parse config files statically instead of exec'ing ghostty +show-config ( #2122 )
2026-07-12 20:59:10 -05:00
李通洲
e0c31be9d5
Battery: changes battery status to array type in custom format
2026-07-11 15:23:24 +08:00
李通洲
75f00af98d
Global: replaces __auto_type to auto
2026-07-11 11:23:41 +08:00
李通洲
9d6bb7d717
Global: replaces __typeof__ to typeof
2026-07-11 11:12:23 +08:00
Carter Li
bf1af71d03
Shell (Linux): fixes a potiential fish version detection error
2026-07-11 08:14:25 +08:00
李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
873454191f
Global: uses typed enums
2026-07-10 18:09:46 +08:00
Carter Li
89ad35d8a1
GPU (BSD): fixes building when DRM is not enabled
2026-07-10 13:41:13 +08:00
Carter Li
d651f3de43
Common (Tracer): updates comments [ci skip]
2026-07-10 13:11:17 +08:00
Carter Li
c5c61584d9
CPU / GPU (macOS): fixes operator priority bug
2026-07-10 10:12:00 +08:00
Carter Li
48c3b4f980
CPU (Linux): removes ARM core count in CPU name
2026-07-10 08:32:42 +08:00
Carter Li
93bca8d480
CPU (Linux): disables printing package count by default
...
The detection code is problematic. Let's hide the package count before we can find the root cause.
2026-07-10 08:32:42 +08:00
Carter Li
c690fe5aa9
BluetoothRadio: fixes memleaks
2026-07-10 08:32:42 +08:00
Carter Li
55e674e1cb
GPU: code cleanups and bug fixes
2026-07-09 20:40:49 +08:00