Skip to content

Commit 215029e

Browse files
authored
Merge pull request #919 from fastfetch-cli/dev
Release: v2.12.0
2 parents da0db04 + 533f54f commit 215029e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1892
-465
lines changed

CHANGELOG.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,62 @@
1+
# 2.12.0
2+
3+
Changes:
4+
* The long deprecated flag based config files are removed.
5+
* They can still be used with `xargs fastfetch < /path/to/config.conf`
6+
* `--gen-config` can be used to migrate them to json based config files
7+
* The long deprecated options `--set` and `--set-keyless` are removed.
8+
* `Kernel` module now prints kernel name by default
9+
10+
Features:
11+
* Support `st` terminal font detection for font configuration compiled in `st` binary (TerminalFont, Linux)
12+
* Add option `--color-output` to change output color of all modules except `Title`, `Separator`
13+
* `display.color.output` in JSONC config file
14+
* Add option `--<module>-output-color` to change output color of one specified module, which overrides the global option `--color-output`
15+
* Add option `--publicip-ipv6` to print IPv6 address (PublicIP)
16+
* Add new module `Loadavg` to print load averages (Loadavg)
17+
* Add new module `PhysicalMemory` to print information of physical memory devices (PhysicalMemory)
18+
* Requires root permission to work on Linux and FreeBSD
19+
* Support specifying `--logo-width` only for `--kitty-direct` and `--iterm` (Logo)
20+
* Add option `--localip-show-all-ips` to show all IPs assigned to the same interface (LocalIP)
21+
* Default to `false`
22+
* Improve compatibility with `(*term)` (#909, Terminal, macOS)
23+
24+
Bugfixes:
25+
* Rename option `--temperature-unit` to `--temp-unit` as documented in help messages
26+
* Fix alternate logo doesn't work with `{ "type": "builtin" }` (#914, Logo)
27+
28+
Logos:
29+
* Fix DahliaOS detection
30+
* Add openSUSE Slowroll
31+
* Add macOS3
32+
* Add Quirinux
33+
134
# 2.11.5
235

336
Bugfix:
4-
537
* Fix logo printing for OpenMandriva (#896)
638
* Remove `--os-file` in help messages
739

840
# 2.11.4
941

1042
Changes:
11-
1243
* Fastfetch will print a colorless ascii logo in `--pipe` mode for better `lolcat` compatibility. `fastfetch | lolcat` should work and no `--pipe false` needed.
1344
* Previously the logo would be disabled in `--pipe` mode.
14-
* `--os-file` was removed and CMake option `-DCUSTOM_OS_RELEASE_PATH=/path/to/os-release` was added. This option should not used in most cases.
45+
* Use `--pipe -l none` to get the old beheavior
46+
* `--os-file` was removed and CMake option `-DCUSTOM_OS_RELEASE_PATH=/path/to/os-release` was introduced for configuring at compile time by package managers if needed. This option should not used in most cases.
1547

1648
Bugfixes:
17-
1849
* Fix possible out-of-bound memory access (#868)
19-
* Fix Apple Terminal detection (macOS, Terminal)
20-
* Fix doubled output in custom formation (#852)
50+
* Fix Apple Terminal detection (#878, macOS, Terminal)
2151
* Fix deprecation warning for macOS 14.0 hopefully (#860, macOS, Camera)
22-
* Fix memory leaks when passing informative options
52+
* Fix memory leaks when passing informative options (#888)
2353
* Fix JSON config `size.ndigits` doesn't work
2454

2555
Features:
26-
2756
* Enable `--pipe` mode if environment variable `$NO_COLOR` is set
2857
* Support Armbian and Proxmox distro detection (OS, Linux)
2958

3059
Logo:
31-
3260
* Add Armbian
3361

3462
# 2.11.3

CMakeLists.txt

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.11.5
4+
VERSION 2.12.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -297,6 +297,7 @@ set(LIBFASTFETCH_SRC
297297
src/detection/opencl/opencl.c
298298
src/detection/os/os.c
299299
src/detection/packages/packages.c
300+
src/detection/physicalmemory/physicalmemory.c
300301
src/detection/publicip/publicip.c
301302
src/detection/terminaltheme/terminaltheme.c
302303
src/detection/terminalfont/terminalfont.c
@@ -334,6 +335,7 @@ set(LIBFASTFETCH_SRC
334335
src/modules/gamepad/gamepad.c
335336
src/modules/kernel/kernel.c
336337
src/modules/lm/lm.c
338+
src/modules/loadavg/loadavg.c
337339
src/modules/locale/locale.c
338340
src/modules/localip/localip.c
339341
src/modules/memory/memory.c
@@ -344,6 +346,7 @@ set(LIBFASTFETCH_SRC
344346
src/modules/os/os.c
345347
src/modules/packages/packages.c
346348
src/modules/physicaldisk/physicaldisk.c
349+
src/modules/physicalmemory/physicalmemory.c
347350
src/modules/processes/processes.c
348351
src/modules/player/player.c
349352
src/modules/poweradapter/poweradapter.c
@@ -399,6 +402,7 @@ if(LINUX)
399402
src/detection/bluetooth/bluetooth_linux.c
400403
src/detection/disk/disk_linux.c
401404
src/detection/physicaldisk/physicaldisk_linux.c
405+
src/detection/physicalmemory/physicalmemory_linux.c
402406
src/detection/diskio/diskio_linux.c
403407
src/detection/displayserver/linux/displayserver_linux.c
404408
src/detection/displayserver/linux/drm.c
@@ -417,6 +421,7 @@ if(LINUX)
417421
src/detection/icons/icons_linux.c
418422
src/detection/libc/libc_linux.c
419423
src/detection/lm/lm_linux.c
424+
src/detection/loadavg/loadavg_linux.c
420425
src/detection/locale/locale_linux.c
421426
src/detection/localip/localip_linux.c
422427
src/detection/gamepad/gamepad_linux.c
@@ -464,6 +469,7 @@ elseif(ANDROID)
464469
src/detection/cpuusage/cpuusage_linux.c
465470
src/detection/disk/disk_linux.c
466471
src/detection/physicaldisk/physicaldisk_linux.c
472+
src/detection/physicalmemory/physicalmemory_nosupport.c
467473
src/detection/diskio/diskio_linux.c
468474
src/detection/displayserver/displayserver_android.c
469475
src/detection/font/font_nosupport.c
@@ -472,6 +478,7 @@ elseif(ANDROID)
472478
src/detection/icons/icons_nosupport.c
473479
src/detection/libc/libc_android.c
474480
src/detection/lm/lm_nosupport.c
481+
src/detection/loadavg/loadavg_linux.c
475482
src/detection/locale/locale_linux.c
476483
src/detection/localip/localip_linux.c
477484
src/detection/gamepad/gamepad_nosupport.c
@@ -520,6 +527,7 @@ elseif(BSD)
520527
src/detection/cursor/cursor_linux.c
521528
src/detection/disk/disk_bsd.c
522529
src/detection/physicaldisk/physicaldisk_bsd.c
530+
src/detection/physicalmemory/physicalmemory_linux.c
523531
src/detection/diskio/diskio_bsd.c
524532
src/detection/displayserver/linux/displayserver_linux.c
525533
src/detection/displayserver/linux/drm.c
@@ -538,6 +546,7 @@ elseif(BSD)
538546
src/detection/lm/lm_linux.c
539547
src/detection/icons/icons_linux.c
540548
src/detection/libc/libc_bsd.c
549+
src/detection/loadavg/loadavg_bsd.c
541550
src/detection/locale/locale_linux.c
542551
src/detection/localip/localip_linux.c
543552
src/detection/gamepad/gamepad_bsd.c
@@ -586,14 +595,16 @@ elseif(APPLE)
586595
src/detection/cursor/cursor_apple.m
587596
src/detection/disk/disk_bsd.c
588597
src/detection/physicaldisk/physicaldisk_apple.c
598+
src/detection/physicalmemory/physicalmemory_apple.m
589599
src/detection/diskio/diskio_apple.c
590600
src/detection/displayserver/displayserver_apple.c
591601
src/detection/font/font_apple.m
592602
src/detection/gpu/gpu_apple.c
593603
src/detection/gpu/gpu_apple.m
594604
src/detection/host/host_apple.c
595-
src/detection/lm/lm_nosupport.c
596605
src/detection/icons/icons_nosupport.c
606+
src/detection/lm/lm_nosupport.c
607+
src/detection/loadavg/loadavg_bsd.c
597608
src/detection/libc/libc_apple.c
598609
src/detection/locale/locale_linux.c
599610
src/detection/localip/localip_linux.c
@@ -651,11 +662,13 @@ elseif(WIN32)
651662
src/detection/icons/icons_windows.c
652663
src/detection/libc/libc_windows.cpp
653664
src/detection/lm/lm_nosupport.c
665+
src/detection/loadavg/loadavg_nosupport.c
654666
src/detection/locale/locale_windows.c
655667
src/detection/localip/localip_windows.c
656668
src/detection/gamepad/gamepad_windows.c
657669
src/detection/media/media_nosupport.c
658670
src/detection/memory/memory_windows.c
671+
src/detection/physicalmemory/physicalmemory_linux.c
659672
src/detection/monitor/monitor_windows.c
660673
src/detection/netio/netio_windows.c
661674
src/detection/opengl/opengl_windows.c
@@ -767,7 +780,7 @@ if(BSD AND EXISTS "/usr/local/bin/objdump")
767780
endif()
768781
endif()
769782

770-
target_compile_definitions(libfastfetch PUBLIC _GNU_SOURCE _XOPEN_SOURCE __STDC_WANT_LIB_EXT1__=1)
783+
target_compile_definitions(libfastfetch PUBLIC _GNU_SOURCE _XOPEN_SOURCE __STDC_WANT_LIB_EXT1__=1 _FILE_OFFSET_BITS=64)
771784
if(WIN32)
772785
target_compile_definitions(libfastfetch PUBLIC WIN32_LEAN_AND_MEAN=1)
773786
elseif(APPLE)

completions/bash

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ __fastfetch_completion()
191191
"--escape-bedrock"
192192
"--pipe"
193193
"--title-fqdn"
194-
"--escape-bedrock"
195194
"--disk-folders"
196195
"--disk-show-external"
197196
"--disk-show-hidden"
@@ -227,8 +226,6 @@ __fastfetch_completion()
227226
"--separator"
228227
"-s"
229228
"--structure"
230-
"--set"
231-
"--set-keyless"
232229
"--player-name"
233230
"--percent-type"
234231
"--publicip-url"

0 commit comments

Comments
 (0)