Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bbe4988
InitSystem (Linux): support dinit
CarterLi Sep 3, 2024
d824045
CMake: use system system yyjson in unit tests
CarterLi Sep 3, 2024
352ed51
InitSystem (FreeBSD): fix build
CarterLi Sep 3, 2024
d79bf0a
TerminalSize (Windows): support size in pixel detection
CarterLi Sep 3, 2024
aec27c3
Image (Windows): support sixel protocol
CarterLi Sep 3, 2024
90b2bf0
InitSystem (Linux): fix dinit version parsing
CarterLi Sep 3, 2024
9aae274
CI (Windows): build x86-64 binaries with imagemagick support
CarterLi Sep 3, 2024
617661b
Wifi: fix signal quality printing in custom format
CarterLi Sep 3, 2024
4622604
Monitor: fix custom format of `refreshRate`
CarterLi Sep 3, 2024
c39df1a
Uptime: fix custom format of `bootTime`
CarterLi Sep 3, 2024
37cc2c9
Globals: use generic selection when passing format args
CarterLi Sep 3, 2024
32bf857
Format: improve performance; fix `formatArgSet` for bool
CarterLi Sep 3, 2024
879d559
Packaging: update debian stuff [ci skip]
CarterLi Sep 3, 2024
3f67fac
TerminalTheme: support Windows
CarterLi Sep 4, 2024
cf7c5d3
Logo (image-raw): better Windows support
CarterLi Sep 4, 2024
d43c6ff
OpenGL (macOS): support EGL (ANGLE) on macOS
CarterLi Sep 4, 2024
c9d5390
Global: remove `--lib-xxx` support
CarterLi Sep 4, 2024
8371920
Doc: Fix grammer in README.md (#1248) [ci skip]
yonas Sep 5, 2024
f4424b4
Uptime (Linux): fix linux bootTime (#1249)
m4rch3n1ng Sep 5, 2024
7db8d7c
Doc: remove `--lib-xxx` [ci skip]
CarterLi Sep 4, 2024
13452da
CPU (Linux): add more Snapdragon SOCs
CarterLi Sep 6, 2024
de8efb3
CPU (ARM): add new microarchitectures
CarterLi Sep 6, 2024
c24d378
CPU (FreeBSD): detect the number of online cores
CarterLi Sep 6, 2024
de59ffb
Revert "TerminalTheme: fix hanging on screen 5.0"
CarterLi Sep 6, 2024
d8fb8d4
Binary (FreeBSD): use system libelf
CarterLi Sep 7, 2024
f8c58a9
Terminal: add fast path of mate-terminal version detection
CarterLi Sep 7, 2024
1e46014
Binary (FreeBSD): update comments [ci skip]
CarterLi Sep 7, 2024
536e2fb
Doc: update changelog [ci skip]
CarterLi Sep 9, 2024
611d5f9
CPU (Linux): detect Qualcomm Snapdragon SOC
CarterLi Sep 9, 2024
8f1f160
GPU (Linux): improve result for unknown Apple SOC
CarterLi Sep 9, 2024
b2810bc
CPU (Linux): update comments
CarterLi Sep 10, 2024
b7fcd7f
Board (Linux): use model name as board name if SMBIOS is not available
CarterLi Sep 10, 2024
fed2c87
TerminalTheme (macOS): fix hanging on GNU screen 5.0
CarterLi Sep 10, 2024
a052033
IO: allow issuing multiple terminal queries in one call
CarterLi Sep 10, 2024
e8f7118
Command: add new option `--command-param`
CarterLi Sep 10, 2024
68ab41f
Logo (Builtin): Add Lliurex Art (#1257)
juanma1980 Sep 11, 2024
dc541ac
Formatting: support syntax of sub string
CarterLi Sep 11, 2024
9966877
Release: v2.24.0
CarterLi Sep 11, 2024
174dde1
TerminalFont: silence CodeQL warnings
CarterLi Sep 11, 2024
fd432e3
Presets: fix 9.jsonc [ci skip]
CarterLi Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ jobs:
with:
msystem: CLANG64
update: true
install: git mingw-w64-clang-x86_64-7zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-opencl-headers mingw-w64-clang-x86_64-cppwinrt
install: git mingw-w64-clang-x86_64-7zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-opencl-headers mingw-w64-clang-x86_64-cppwinrt mingw-w64-clang-x86_64-imagemagick

- name: print msys version
run: uname -a
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 2.24.0

Changes:
* Support of `--lib-XXX` is removed
* If fastfetch fails to load some `.so` `.dylib` libraries, `LD_LIBRARY_PATH` should be used.

Features:
* Support sixel image protocol on Windows (Logo, Windows)
* Requires imagemagick7 to be installed. MSYS2 is recommended.
* Improve terminal query on Windows (Windows)
* TerminalSize, TerminalTheme
* Detect more ARM microarchitectures and SOC names (CPU, Linux)
* Detect the number of online cores (CPU, FreeBSD)
* Support board name detection for Asahi Linux (Board, Linux)
* Add new option `--command-param` to customize the parameters when running shell
* Support syntax of sub string in `--<module>-format`: `{variable~startIndex,endIndex}`
* See `fastfetch -h format` for detail

Bugfixes:
* Fix tests building when system yyjson is used (#1244)
* Fix dinit detection; support dinit version detection (#1245, InitSystem, Linux)
* Fix signal quality, refresh rate and maybe others in custom format (#1241)
* Fix boot time calculation (#1249, Uptime, Linux)
* Fix custom format for boolean values
* `{?false-value}This should not print{?}{?true-value}This should print{?}` will print `This should print`
* Fix possible hanging when running fastfetch in screen 5.0 (TerminalTheme, macOS)

Logos:
* Add Lliurex

# 2.23.0

Features:
Expand Down
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url

project(fastfetch
VERSION 2.23.0
VERSION 2.24.0
LANGUAGES C
DESCRIPTION "Fast neofetch-like system information tool"
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
Expand Down Expand Up @@ -69,7 +69,7 @@ cmake_dependent_option(ENABLE_FREETYPE "Enable freetype" ON "ANDROID" OFF)
cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX OR SunOS" OFF)
cmake_dependent_option(ENABLE_DDCUTIL "Enable ddcutil" ON "LINUX" OFF)
cmake_dependent_option(ENABLE_DIRECTX_HEADERS "Enable DirectX headers for WSL" ON "LINUX" OFF)
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR FreeBSD OR ANDROID" OFF)
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR ANDROID" OFF)
cmake_dependent_option(ENABLE_THREADS "Enable multithreading" ON "Threads_FOUND" OFF)
cmake_dependent_option(ENABLE_LIBZFS "Enable libzfs" ON "LINUX OR FreeBSD OR SunOS" OFF)

Expand Down Expand Up @@ -398,7 +398,6 @@ set(LIBFASTFETCH_SRC
src/options/modules.c
src/options/logo.c
src/options/general.c
src/options/library.c
src/util/edidHelper.c
src/util/base64.c
src/util/FFlist.c
Expand Down Expand Up @@ -1348,6 +1347,9 @@ if (BUILD_TESTS)
target_link_libraries(fastfetch-test-format
PRIVATE libfastfetch
)
if(yyjson_FOUND)
target_compile_definitions(fastfetch-test-format PRIVATE FF_USE_SYSTEM_YYJSON)
endif()

enable_testing()
add_test(NAME test-strbuf COMMAND fastfetch-test-strbuf)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ See Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
## Usage

* Run it with default configuration: `fastfetch`
* Run it with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) and find what you interest: `fastfetch -c all.jsonc`
* Run it with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) and find what interests you: `fastfetch -c all.jsonc`
* Find all data that fastfetch detects: `fastfetch -s <module> --format json`
* Display help messages: `fastfetch --help`
* Generate config file based on command line arguments: `fastfetch --arg1 --arg2 --gen-config`
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
fastfetch (2.23.0) jammy; urgency=medium

* Update to 2.23.0

-- Carter Li <[email protected]> Tue, 03 Sep 2024 18:44:11 +0800

fastfetch (2.22.0) jammy; urgency=medium

* Update to 2.22.0
Expand Down
2 changes: 1 addition & 1 deletion debian/files
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fastfetch_2.22.0_source.buildinfo universe/utils optional
fastfetch_2.23.0_source.buildinfo universe/utils optional
111 changes: 4 additions & 107 deletions doc/json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -638,113 +638,6 @@
}
}
},
"library": {
"description": "Set the path of a library to load",
"type": "object",
"additionalProperties": false,
"properties": {
"vulkan": {
"type": "string",
"description": "Vulkan module & fallback for GPU output"
},
"freetype": {
"type": "string",
"description": "Used for Termux font detection (Android)"
},
"wayland": {
"type": "string",
"description": "Better display performance and output in wayland sessions.\nSupports different refresh rates per monitor.\n(Linux, FreeBSD)"
},
"xcbRandr": {
"type": "string",
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
},
"xcb": {
"type": "string",
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
},
"xrandr": {
"type": "string",
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
},
"x11": {
"type": "string",
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
},
"drm": {
"type": "string",
"description": "Used for fast resolution and refresh rate detection (Linux, FreeBSD)"
},
"gio": {
"type": "string",
"description": "Needed for values that are only stored GSettings (Linux, FreeBSD, SunOS)"
},
"dconf": {
"type": "string",
"description": "Needed for values that are only stored in DConf + Fallback for GSettings (Linux, FreeBSD, SunOS)"
},
"dbus": {
"type": "string",
"description": "Bluetooth, Player & Media detection (Linux, FreeBSD, SunOS)"
},
"xfconf": {
"type": "string",
"description": "Needed for XFWM theme and XFCE Terminal font (Linux, FreeBSD, SunOS)"
},
"sqlite3": {
"type": "string",
"description": "Needed for pkg & rpm package count (Linux, FreeBSD)"
},
"rpm": {
"type": "string",
"description": "Slower fallback for rpm package count. Needed on openSUSE & old CentOS / Redhat. (Linux)"
},
"imagemagick": {
"type": "string",
"description": "Images in terminal using sixel or kitty graphics protocol (Linux, FreeBSD, SunOS, macOS)"
},
"z": {
"description": "Libz. Faster image output when using kitty graphics protocol (Linux, FreeBSD, SunOS, macOS)",
"type": "string"
},
"chafa": {
"type": "string",
"description": "Image output as ascii art (Linux, FreeBSD, SunOS, macOS)"
},
"egl": {
"type": "string",
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS, Windows)"
},
"glx": {
"type": "string",
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS)"
},
"osmesa": {
"type": "string",
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS)"
},
"opencl": {
"type": "string",
"description": "OpenCL module (Linux, FreeBSD, SunOS, Windows)"
},
"pulse": {
"description": "Pulseaudio. Used for Sound detection (Linux, FreeBSD, SunOS)",
"type": "string"
},
"nm": {
"description": "NetworkManager. Used for Wifi detection (Linux)",
"type": "string"
},
"ddcutil": {
"description": "Used for brightness detection of external displays (Linux)",
"type": "string"
},
"elf": {
"description": "Used for st terminal font detection and systemd version detection (Linux)",
"type": "string"
}
}
},
"modules": {
"description": "Fastfetch modules to run",
"type": "array",
Expand Down Expand Up @@ -1343,6 +1236,10 @@
"description": "Set the shell program to execute the command text\nDefault: cmd for Windows, /bin/sh for *nix",
"type": "string"
},
"param": {
"description": "Set the parameter used when starting the shell\nDefault: /c for Windows, -c for *nix",
"type": "string"
},
"text": {
"description": "Set the command text to be executed",
"type": "string"
Expand Down
5 changes: 4 additions & 1 deletion presets/examples/9.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"type": "disk",
"folders": "/"
},
"battery",
{
"type": "battery",
"key": "Battery"
},
{
"type": "colors",
"paddingLeft": 10,
Expand Down
2 changes: 1 addition & 1 deletion src/common/dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

static bool loadLibSymbols(FFDBusLibrary* lib)
{
FF_LIBRARY_LOAD(dbus, &instance.config.library.libDBus, false, "libdbus-1" FF_LIBRARY_EXTENSION, 4);
FF_LIBRARY_LOAD(dbus, false, "libdbus-1" FF_LIBRARY_EXTENSION, 4);
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_bus_get, false)
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_message_new_method_call, false)
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_message_append_args, false)
Expand Down
Loading