7562 Commits

Author SHA1 Message Date
Carter Li ff8b69019f Release: v2.66.1 2.66.1 2026-09-01 10:44:16 +08:00
Carter Li 28c367c6a4 Shell: improves fish version detection for newer fish version 2026-09-01 10:41:25 +08:00
李通洲 48929622f8 DisplayServer (Linux): don't assume the monitor has only one preferred mode
Fixes #2481
2026-09-01 10:41:25 +08:00
李通洲 1754aaef5f Common: forces optionBuf to be 8-byte aligned 2026-09-01 10:41:25 +08:00
aldahiiir da401a7c3e 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-09-01 10:36:42 +08:00
李通洲 412fda612f Version (macOS): siliences a compiler warning 2026-09-01 10:36:42 +08:00
Carter Li 2299439873 DisplayServer (Linux): don't try to inline functions with variable arguments 2026-09-01 10:36:42 +08:00
h4sht 62fe9e1d11 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-09-01 10:36:42 +08:00
h4sht e9258cc5a8 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-09-01 10:36:42 +08:00
tru3 d8ae93f85d 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-09-01 10:36:42 +08:00
李通洲 ff1ecb4166 Common (Sysctl): handle varying data lengths in integer retrieval functions 2026-09-01 10:36:42 +08:00
Carter Li d8ef56c3b3 Shell: fixes the fast path of ash version detection 2026-09-01 10:27:09 +08:00
Carter Li 68a0f5e3c6 DiskIO / NetIO: fixes I/O rate calculation precision, prevent div-by-zero 2026-09-01 10:27:09 +08:00
Carter Li a0e913a14c Display: fixes bright colours incorrectly active in light theme
Fixes #2509
2026-09-01 10:27:09 +08:00
Carter Li 9a940d73ba Codec (macOS): fixes a symbol not found error when running on 10.15 2026-09-01 10:27:09 +08:00
Carter Li 19ae272052 FFstrbuf: prefers ffStrbufEnsureFree 2026-09-01 10:27:09 +08:00
Carter Li d9286050b6 FFstrbuf: adds integer overflow checks to EnsureFreeNoCheck and EnsureFixedLengthFree 2026-09-01 10:27:09 +08:00
Carter Li 14ca210655 Networking: adds Content-Length size limit to prevent excessive memory allocation and potential attacks 2026-09-01 10:27:09 +08:00
Carter Li 300ad93022 PublicIP: fixes invalid URL parser 2026-09-01 10:27:09 +08:00
Carter Li 63ff315914 Networking: relaxes accepted response format 2026-09-01 10:27:09 +08:00
Carter Li 7663cb4399 Codec (macOS): fixes detection for VP9 2026-09-01 10:27:09 +08:00
Carter Li 944c63e8ec Common (Base64): unifies the code of endian testing 2026-08-31 16:35:27 +08:00
Carter Li 12f0088d72 Codec (macOS): fixes a memory leak 2026-08-31 16:34:59 +08:00
Carter Li 4826986cd8 Camera: adds missing ffStrbufDestroy 2026-08-31 16:34:23 +08:00
Carter Li 0869809857 Merge pull request #2446 from fastfetch-cli/dev
Release: v2.66.0
2.66.0
2026-07-10 02:04:09 -05:00
Carter Li c31779e99d CI: ensures CMAKE_BUILD_TYPE is correctly set 2026-07-10 14:44:39 +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 c34c3e5aae Release: v2.66.0 2026-07-10 10:21:45 +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
Carter Li 0495c47909 GPU (Linux): fixes GPU core counting on Asahi Linux 2026-07-09 20:04:11 +08:00
Marvin Hinz 2f79c39f62 OS (Linux): adds support for proxmox backup server detection (#2443)
* add support for proxmox backup server detection

* Update Proxmox identifiers and pretty names

* Simplify Proxmox logo names in p.inc

---------

Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
2026-07-09 19:05:22 +08:00
Carter Li 44056f1c85 GPU (Linux): fixes accurate AMD GPU names are not queried in driverSpecific mode 2026-07-08 18:14:06 +08:00
李通洲 6358bd7844 FFstrbuf: optimises ffStrbufEnsureFreeNoCheck 2026-07-07 19:15:36 +08:00
Carter Li 11d77e0d09 Logo (Builtin): updates linuxmint_small 2026-07-06 17:27:33 +08:00
李通洲 ec25659503 Presets: uses the builtin icons in examples/10 to avoid inconsistency [ci skip]
Fixes #2438
2026-07-05 08:16:55 +08:00
Carter Li 35dbcb2588 CI: updates scripts 2026-07-04 18:49:00 +08:00
Carter Li 8b6a74f2ec Doc: update changelog 2026-07-03 16:18:01 +08:00
Carter Li 2ea6c3767e Logo (Builtin): cleanup a lot of distro names 2026-07-03 16:15:58 +08:00
Carter Li 827bc26b0a Trace: removes useless empty lines 2026-07-03 15:40:32 +08:00
Carter Li e12f3631d4 OS (Linux): fixes potencial issue 2026-07-03 15:37:38 +08:00
Carter Li 52c9730542 Tracer: query tid only when threading is enabled 2026-07-03 15:36:41 +08:00
Carter Li 225d9e7771 Release: v2.65.3 2026-07-03 14:50:59 +08:00
Carter Li d031d6c20f FFPlatform (Windows): hard codes i686 CPU arch 2026-07-03 14:36:18 +08:00
李通洲 35af768d92 Shell (Windows): improves performance of Windows PowerShell version detection 2026-07-03 11:07:15 +08:00
Carter Li 22c4620345 Logo (Builtin): adds Azure Linux
Fixes #2435
2026-07-03 09:45:34 +08:00