Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
354 commits
Select commit Hold shift + click to select a range
b042b90
TerminalShell: improve shell detection on Windows
CarterLi Oct 15, 2022
54e271c
Merge pull request #297 from CarterLi/dev
LinusDierheimer Oct 15, 2022
5749a8f
TerminalShell: improve speed on Windows
CarterLi Oct 15, 2022
437431a
TerminalShell: support Windows PowerShell version detection
CarterLi Oct 15, 2022
c1fc6e2
Processing: handle a possible error
CarterLi Oct 15, 2022
76684e4
TerminalShell: speed up PowerShell version detection by querying the …
CarterLi Oct 15, 2022
a090bed
Logo: try printing logo on Windows Server
CarterLi Oct 15, 2022
a829e85
LocalIP: support --localip-name-prefix on Windows
CarterLi Oct 15, 2022
ec80a41
Merge pull request #298 from CarterLi/dev
LinusDierheimer Oct 15, 2022
2499cbd
Add Garuda small variant
VitoFe Oct 15, 2022
973eb81
Merge pull request #302 from VitoFe/dev
LinusDierheimer Oct 15, 2022
5d5663e
Kernel: fix detection on Windows
CarterLi Oct 16, 2022
38b3aae
Windows: simplify WMI query code
CarterLi Oct 16, 2022
19a9b18
Disk: Linux impl working
LinusDierheimer Oct 17, 2022
c1fec9b
Disk: Apple implementation working
LinusDierheimer Oct 17, 2022
ee70536
Disk: Don't always build apple code
LinusDierheimer Oct 17, 2022
a03eaed
Disk: add options#
LinusDierheimer Oct 17, 2022
fb2dca2
Merge pull request #303 from CarterLi/win
LinusDierheimer Oct 17, 2022
b812f1d
Disk: Fix build on windows
LinusDierheimer Oct 17, 2022
7bbd2ae
Merge pull request #305 from LinusDierheimer/work/disk_refactor
LinusDierheimer Oct 17, 2022
727a698
Update builtin.c
hayatehay Oct 18, 2022
bbcc040
Update README.md
hayatehay Oct 18, 2022
7f9269c
Update builtin.c
hayatehay Oct 18, 2022
e3ea39a
Disk: add volume name detection
CarterLi Oct 18, 2022
3d5ef18
Disk: don't convert NAN to integer; don't print 0B / 0B (0%)
CarterLi Oct 18, 2022
581c6f5
Swap: split code out from memory detection
CarterLi Oct 18, 2022
0505926
Merge pull request #307 from CarterLi/dev
LinusDierheimer Oct 18, 2022
eb1738b
Merge pull request #309 from CarterLi/swap
LinusDierheimer Oct 18, 2022
596c776
fix univalent's colours
hayatehay Oct 19, 2022
aa0501b
Merge pull request #306 from Jin-Asanami/dev
LinusDierheimer Oct 19, 2022
b27453d
Revert "Add Univalent GNU/Linux's logo"
LinusDierheimer Oct 19, 2022
c7adbc1
Merge pull request #311 from LinusDierheimer/revert-306-dev
LinusDierheimer Oct 19, 2022
fbc7671
Android: add vulkan support for GPU detection
CarterLi Oct 20, 2022
e13c88c
Global: support bar output for percentage value #294
CarterLi Oct 18, 2022
5fb9622
Merge pull request #308 from CarterLi/bar
LinusDierheimer Oct 22, 2022
7f82f8d
Merge pull request #312 from CarterLi/android
LinusDierheimer Oct 22, 2022
0aac358
Init: simplify module arg parsing code
CarterLi Oct 19, 2022
69b3a68
Init: improve option parsing performance
CarterLi Oct 22, 2022
688a16c
Disk: fix `--disk-folder` parsing on Windows
CarterLi Oct 22, 2022
1588f58
Windows: silence warnings when building with clang
CarterLi Oct 22, 2022
62ab091
Printing: improve performace of ffPrintCharTimes
CarterLi Oct 23, 2022
bddf1c6
Merge pull request #313 from CarterLi/fix
LinusDierheimer Oct 23, 2022
ed85b82
Init: enable buffering on Windows
CarterLi Oct 23, 2022
e59d645
Silence warnings
CarterLi Oct 23, 2022
1395abc
TerminalFont: improve Windows Terminal terminal font detection on Win…
CarterLi Oct 23, 2022
65b342c
Merge pull request #314 from CarterLi/dev
LinusDierheimer Oct 23, 2022
883a535
Packages: support Chocolatey (Windows)
CarterLi Oct 23, 2022
42fec6e
Logo: add new Windows 11 logo
CarterLi Oct 24, 2022
f470744
Kernel: improve performance, detect code name (Windows)
CarterLi Oct 25, 2022
e225b49
Disk: don't print hidden removable volumes (macOS)
CarterLi Oct 25, 2022
470d160
Uptime: support freebsd
CarterLi Oct 26, 2022
aca2c01
Processes: support freebsd
CarterLi Oct 26, 2022
64b9f69
Swap: support freebsd
CarterLi Oct 26, 2022
9c73f6b
TerminalShell: support freebsd
CarterLi Oct 26, 2022
f93bd9e
TerminalFont: fix platform font detection
CarterLi Oct 26, 2022
b878d3c
Merge pull request #315 from CarterLi/dev
LinusDierheimer Oct 26, 2022
60ad679
CpuUsage: support freebsd
CarterLi Oct 27, 2022
3ee15d0
CpuUsage: add to presets/all
CarterLi Oct 27, 2022
895d151
Host: support freebsd
CarterLi Oct 27, 2022
9ad7ba7
CpuTemp: support freebsd
CarterLi Oct 27, 2022
5472621
Disk: support freebsd
CarterLi Oct 27, 2022
2a1330d
README: clearify we support FreeBSD only, not OpenBSD or NetBSD
CarterLi Oct 27, 2022
302a588
TerminalShell: fix shellExe detection on macOS
CarterLi Oct 27, 2022
2ee5b3b
TerminalShell: add support for tcsh
CarterLi Oct 27, 2022
8b43605
README: document Chocolatey support
CarterLi Oct 27, 2022
ba1fc7a
Merge pull request #319 from CarterLi/dev
LinusDierheimer Oct 27, 2022
5d306ed
Don't print vulkan driver info, if it contains new lines
LinusDierheimer Oct 27, 2022
4634606
CpuUsage: clearify the restriction on Android
CarterLi Oct 27, 2022
de964d3
Disk: only prints useful mount points on Android
CarterLi Oct 27, 2022
b8f14c9
Disk: detect Windows volumes on WSL
CarterLi Oct 27, 2022
a8a1f98
Merge pull request #323 from CarterLi/dev
LinusDierheimer Nov 1, 2022
45f8b86
Don't segfault if 0 is given as argument index
LinusDierheimer Nov 1, 2022
54c649e
Add Parabola GNU/Linux-libre logo
Nov 1, 2022
0e92fc2
README: Add Parabola to logos sections
Nov 1, 2022
9a51d20
Merge pull request #327 from jumps-are-op/add_parabola_logo
LinusDierheimer Nov 1, 2022
449d121
Fix setting `cpu-format`
Nov 1, 2022
37b1d24
Merge pull request #328 from jumps-are-op/fix_cpu_format_setting
LinusDierheimer Nov 1, 2022
c455718
add nobara logo
wvlab Nov 2, 2022
8224f8c
README: Add Nobara to avaliable logos section
wvlab Nov 2, 2022
25a8332
Merge pull request #329 from wvlab/dev
LinusDierheimer Nov 2, 2022
4f97692
Networking: support nowait connection (Windows)
CarterLi Nov 1, 2022
46ebb52
Thread: split `ffThreadCreateAndDetach`; add `ffThreadJoin`
CarterLi Nov 2, 2022
9da7bb3
Networking: support nowait connection (Posix)
CarterLi Nov 2, 2022
922de37
Merge pull request #330 from CarterLi/dev
LinusDierheimer Nov 4, 2022
67feba6
Add Vanilla OSlogo
kbdharun Nov 8, 2022
e51b827
Merge pull request #333 from kbdharun/dev
LinusDierheimer Nov 10, 2022
d670a9a
Kernel: support Windows 7
CarterLi Nov 5, 2022
f889d91
TerminalShell: add basic support for ConEmu
CarterLi Nov 6, 2022
0605cb7
OS: fix Windows 7 detection
CarterLi Nov 6, 2022
1ea4441
TerminalFont: add support for ConEmu
CarterLi Nov 6, 2022
85a554b
CPU: support Windows 7
CarterLi Nov 6, 2022
f4666fc
README: document Windows 10- support
CarterLi Nov 6, 2022
e3de39d
Windows: add version info in binaries
CarterLi Nov 5, 2022
a5306d6
Windows: enable console processing, disable output buffer
CarterLi Nov 12, 2022
227eb70
CpuUsage: fix calucation on Windows
CarterLi Nov 15, 2022
3f008c4
CpuUsage: improve performance
CarterLi Nov 15, 2022
0bbecb3
Thread: silence compiler warnings
CarterLi Nov 16, 2022
8aca8a2
Temps: silence compiler warnings
CarterLi Nov 15, 2022
d0c18c4
DisplayServer: don't use private API (macOS)
CarterLi Nov 16, 2022
0361a30
Font: simplify code; fix memleaks (macOS)
CarterLi Nov 16, 2022
d0d6f48
osascript: simplify code (macOS)
CarterLi Nov 16, 2022
a498e9e
CPU: don't remove `(R)` in CPU name to be consistant with GPU name
CarterLi Nov 17, 2022
fb78d9b
TerminalFont: support Warp; improve performance of Apple Terminal (ma…
CarterLi Nov 17, 2022
e8e586c
Windows / macOS: simplify code
CarterLi Nov 12, 2022
fde9379
Android: simplify code; fix mistakes in terminal font detection code
CarterLi Nov 17, 2022
2a34978
Thread: silence compiler warnings
CarterLi Nov 16, 2022
7084785
GPU: remove special handling for WSL
CarterLi Nov 17, 2022
f1cc942
Host: detect WSL version
CarterLi Nov 17, 2022
859f645
Disk: fix size detection on 32bit Linux
CarterLi Nov 17, 2022
0a65867
Windows: fix memleaks
CarterLi Nov 19, 2022
55c6374
WmTheme: support Windows 7
CarterLi Nov 19, 2022
b6b9558
Windows: partially revert a5306d60eec383f0c697bd16ac308254dc1dce45 to…
CarterLi Nov 19, 2022
1c69d6c
Disk: use statvfs64 only when __USE_LARGEFILE64 is defined
CarterLi Nov 20, 2022
b85c1c4
Merge pull request #332 from CarterLi/dev
LinusDierheimer Nov 20, 2022
c0037c9
Refactor CMakeLists.txt
LinusDierheimer Nov 20, 2022
19c5904
Memory: improve performance by not querying WMI (Windows)
CarterLi Nov 21, 2022
308408a
Processes: improve performance (Windows)
CarterLi Nov 21, 2022
04c9d16
util: introduce register helpers and use them (Windows)
CarterLi Nov 21, 2022
fbd8c02
BIOS: improve performance (Windows)
CarterLi Nov 21, 2022
5aebb40
Board: improve performance (Windows)
CarterLi Nov 21, 2022
4355039
Host: improve performance (Windows)
CarterLi Nov 21, 2022
6a304db
OS: improve performance (Windows)
CarterLi Nov 21, 2022
9ef95e4
CPU: improve performance (Windows)
CarterLi Nov 21, 2022
629c2de
util: add a helper function to convert wide strings (Windows)
CarterLi Nov 21, 2022
27212e8
Battery: improve performance (Windows)
CarterLi Nov 21, 2022
772dd1e
GPU: improve performance (Windows)
CarterLi Nov 22, 2022
ae562ac
Cursor: support Windows (not working yet)
CarterLi Nov 23, 2022
051423e
util: add mallocHelper and use it
CarterLi Nov 23, 2022
66f8a8c
TerminalFont: fix Windows Terminal font detection when running inside…
CarterLi Nov 23, 2022
4fa3ca9
util/register: fix crashing when value string contains non-ascii chars
CarterLi Nov 23, 2022
b28da10
WmTheme: detect accent color (Windows)
CarterLi Nov 23, 2022
0f08233
Users: improve performance (Windows)
CarterLi Nov 23, 2022
31863ba
CpuUsage: remove unused code (Windows)
CarterLi Nov 23, 2022
325aa53
Font: improve performance (Windows)
CarterLi Nov 23, 2022
11258c0
TerminalShell: code cleanup (Windows)
CarterLi Nov 24, 2022
4b3ed67
TerminalShell: detect Clink
CarterLi Nov 24, 2022
8de88ad
add CRUX logo, update README.md
draumaz Nov 24, 2022
d500bdf
WmTheme: convert known color values to readable strings
CarterLi Nov 24, 2022
d70b310
BSD: fix build
CarterLi Nov 24, 2022
c50d7bf
Logo: remove `Windows 11 Old`, add `Windows 11 Small`
CarterLi Nov 24, 2022
686a66e
Merge pull request #340 from draumaz/dev
LinusDierheimer Nov 24, 2022
3c7f02b
Merge pull request #338 from CarterLi/dev
LinusDierheimer Nov 24, 2022
7da45d6
DE: fix detection for Windows Server
CarterLi Nov 24, 2022
0ab38bb
CPU: fix cpu freq detection in WSL
CarterLi Nov 24, 2022
00f86c6
CMake: Don't require pkg-config
LinusDierheimer Nov 24, 2022
c57417e
Logo: adjust ubuntu logo style
CarterLi Nov 25, 2022
34d3021
Build: fix Android is incorrectly detected as Linux
CarterLi Nov 25, 2022
c6a9217
Windows: silense compiler warnings
CarterLi Nov 25, 2022
4316ba9
CpuUsage: optimise performance further
CarterLi Nov 25, 2022
4cf1d5b
util: rename unicode helper function names
CarterLi Nov 26, 2022
5c38146
util: rename register -> registry
CarterLi Nov 26, 2022
a55add1
Wifi: add new module
CarterLi Nov 26, 2022
5e54424
Wifi: load wlanapi.dll dynamically
CarterLi Nov 27, 2022
db33d24
common/io: improve performance for large files
CarterLi Nov 27, 2022
974dc96
Wifi: support multiple interfaces
CarterLi Nov 28, 2022
57b794c
macOS: fix build
CarterLi Nov 28, 2022
b3e635a
Wifi: support macOS
CarterLi Nov 28, 2022
7991aba
TerminalFont: support deepin-terminal
CarterLi Dec 1, 2022
0cad657
Swap: correct implementation (Windows)
CarterLi Dec 1, 2022
be698bd
Processes: don't hard code magic numbers (Windows)
CarterLi Dec 1, 2022
1dc578b
Wifi: silence warnings
CarterLi Dec 1, 2022
15a98a8
Linux: fix some memleaks
CarterLi Dec 2, 2022
2a8235a
Host: improve performance (macOS)
CarterLi Dec 2, 2022
8b0d034
FFstrbuf: fix bug of AppendF when string len == ffStrbufGetFree
CarterLi Dec 2, 2022
911780b
Cursor: silence compiler warnings
CarterLi Dec 2, 2022
19ec59c
Wifi: init basic support for Linux
CarterLi Dec 2, 2022
58aa3e9
Init: add `--disable-stdout-buffer` option
CarterLi Dec 3, 2022
4f0be4f
Wifi: silence compiler warnings
CarterLi Dec 5, 2022
983bd50
FFstrbuf: improve performance of InitF
CarterLi Dec 6, 2022
d946a46
TerminalFont: fix memleaks (Linux)
CarterLi Dec 8, 2022
b4e2997
Tests: don't include `fastfetch.h`
CarterLi Dec 6, 2022
ed259fa
Windows: tweaks
CarterLi Dec 8, 2022
4558af2
Windows: fix build
CarterLi Dec 10, 2022
72dcc52
Global: rename `--disable-stdout-buffer` to `--unbuffered`
CarterLi Dec 10, 2022
e3590bc
Wmtheme: fix detection on Windows 10-
CarterLi Dec 10, 2022
24ae7ec
Windows: build msvcrt version for Windows 10-
CarterLi Dec 10, 2022
68b98c1
Windows: disable stdout buffer
CarterLi Dec 10, 2022
3a5af1b
Logo: data source option
LinusDierheimer Dec 12, 2022
b21cfc1
Termialshell: ignore sh
LinusDierheimer Dec 12, 2022
c242001
Fix build without chafa
LinusDierheimer Dec 12, 2022
3b2c189
Packages: split brew-cellar and brew-cask (macOS)
CarterLi Dec 13, 2022
7e98fa8
Vulkan: don't require vulkan-loader (macOS)
CarterLi Dec 13, 2022
c9bc1f8
Vulkan: build with vulkan-loader (macOS)
CarterLi Dec 13, 2022
b09aa32
Global: support `--stat` option for benchmark
CarterLi Dec 14, 2022
54912df
Option: enable `--show-errors` if `--stat` is set
CarterLi Dec 14, 2022
c9e9ec3
CI: print time usage
CarterLi Dec 14, 2022
d151901
Common: improve resolution of `ffTimeGetTick`
CarterLi Dec 14, 2022
e4a5194
Rework stdout buffering on Windows.
CarterLi Dec 14, 2022
6710967
README: update notes for Windows 10-
CarterLi Dec 14, 2022
338cc1d
Add back trailing white spaces which are unexpectedly removed by IDE
CarterLi Dec 14, 2022
d601cc8
DisplayServer: make 3rd party window manager plugin detection a slow …
CarterLi Dec 14, 2022
7640042
add enso logo
Dec 15, 2022
a3cb660
Locale: refactor
CarterLi Dec 16, 2022
704834b
Merge pull request #350 from JackGannonUK/dev
LinusDierheimer Dec 16, 2022
eeb008f
Global: replace all ".so" to FF_LIBRARY_EXTENSION
CarterLi Dec 17, 2022
047b32e
CpuUsage: make the result more accurate
CarterLi Dec 15, 2022
27fb0c6
Battery: improve performance (Windows)
CarterLi Dec 15, 2022
6a49ae6
Locale: silence warnings (Windows)
CarterLi Dec 17, 2022
ff6e982
Global: remove caching except image caching
CarterLi Dec 17, 2022
c7bec3d
Image: enable imagemagick 6 on macOS
CarterLi Dec 19, 2022
d4ec500
Image: fix compile error when building with chafa enabled
CarterLi Dec 19, 2022
10584eb
Image: document macOS support; update CI
CarterLi Dec 19, 2022
1b2a61e
Image: init MagickCore environment before using it
CarterLi Dec 20, 2022
01d2d77
Image: fix resource leaks
CarterLi Dec 20, 2022
2f5cbfb
Image: enable im7 on macOS
CarterLi Dec 20, 2022
75341e8
Image: make it compile on Windows
CarterLi Dec 20, 2022
1153d29
TerminalFont: improve conhost font detection (Windows)
CarterLi Dec 20, 2022
d21ce9b
Image: tidy
CarterLi Dec 20, 2022
8f3900a
Windows: add manifest file to indicate that we use UTF-8 and support …
CarterLi Dec 20, 2022
985fc99
Revert "Image: tidy"
CarterLi Dec 20, 2022
225d1dd
Init: don't try to find config files in XDG folders on platforms othe…
CarterLi Dec 20, 2022
c991803
Update help.txt
kojq Dec 21, 2022
89983a2
Update help.txt
kojq Dec 21, 2022
265b983
Update help.txt
kojq Dec 21, 2022
afe56a3
Update help.txt
kojq Dec 21, 2022
d5b3ae9
Update help.txt
kojq Dec 21, 2022
620adc0
Update help.txt
kojq Dec 21, 2022
a247a8d
Update help.txt
kojq Dec 21, 2022
bcc7b63
Update help.txt
kojq Dec 21, 2022
a95eb65
Merge pull request #352 from CarterLi/dev
CarterLi Dec 21, 2022
fba4bca
Merge branch 'dev' into dev
kojq Dec 21, 2022
c9c2526
Added OpenMandriva
Dec 21, 2022
5283f10
Merge pull request #357 from AloneER0/dev
LinusDierheimer Dec 21, 2022
0cacedf
Image: enable Chafa on Windows
CarterLi Dec 21, 2022
f50b478
Image: try fixing caching
CarterLi Dec 21, 2022
14e318c
Merge branch 'dev' into dev
kojq Dec 21, 2022
8d40b2c
Merge pull request #355 from kojq/dev
LinusDierheimer Dec 21, 2022
c45ef08
Image: expose more chafa settings
CarterLi Dec 22, 2022
89347b7
Image: add dirty support of iTerm image protocol
CarterLi Dec 22, 2022
3e60768
Image: dont leak memories
CarterLi Dec 22, 2022
e0c6c46
README: update document of Windows 10- and image logo support
CarterLi Dec 22, 2022
ecc6b47
TerminalFont: support Kitty
CarterLi Dec 23, 2022
a336145
Image: add fast path for kitty protocol
CarterLi Dec 23, 2022
47e01a7
Image: print more debug info when errored
CarterLi Dec 23, 2022
051f664
Image: fix build
CarterLi Dec 23, 2022
3d19388
Spelling and grammer fixes
doubletimedan Dec 23, 2022
9479235
TerminalShell: fix mintty detection (Windows)
CarterLi Dec 24, 2022
dc35fed
TerminalShell: detect Windows Terminal Preview
CarterLi Dec 24, 2022
83c6e80
Correct Windows version
doubletimedan Dec 24, 2022
3c18fd8
Merge pull request #358 from doubletimedan/dev
CarterLi Dec 24, 2022
cb48c12
Chassis: seperate module
CarterLi Dec 24, 2022
21c76f3
Chassis: fix compiler warnings
CarterLi Dec 25, 2022
7a6a2ad
Chassis: fix compiler warnings
CarterLi Dec 25, 2022
d956bd2
Image: update cache folder's name
CarterLi Dec 27, 2022
5160644
Logo: add Solus logo (#360)
CarterLi Dec 27, 2022
0a83423
Packages: support eopkg for Solus (#360)
CarterLi Dec 27, 2022
6ff67e8
Memory: refactor, don't cache results
CarterLi Dec 28, 2022
90359d2
Global: don't require sysinfo.h globally
CarterLi Dec 28, 2022
6becc8f
Swap: improve performance on Linux
CarterLi Dec 28, 2022
fd14513
Changelog: add changes for 1.8.0
CarterLi Dec 28, 2022
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/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ Output of `fastfetch --list-features`:

<!--
If you get the following error: `Error: couldn't find config: [...]`, copy the files in [presets](../../presets/) to `/usr/share/fastfetch/presets/` or `~/.local/share/fastfetch/presets/`.
If this isn't possible (or too much work) for you, post the output of `fastfetch --show-errors --recache --multithreading false --disable-linewrap false`.
If this isn't possible (or too much work) for you, post the output of `fastfetch --show-errors --multithreading false --disable-linewrap false`.
-->
175 changes: 162 additions & 13 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
uses: github/codeql-action/analyze@v2

- name: run fastfetch
run: ./fastfetch --recache --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all

- name: run flashfetch
run: ./flashfetch
run: time ./flashfetch

- name: run tests
run: ctest

- name: get fastfetch version
id: ffversion
run: echo "::set-output name=ffversion::$(./fastfetch --version-raw)"
run: echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT

- name: upload artifacts
uses: actions/upload-artifact@v3
Expand All @@ -64,7 +64,7 @@ jobs:
uses: actions/checkout@v3

- name: install required packages
run: brew install vulkan-loader molten-vk
run: brew install vulkan-loader molten-vk imagemagick chafa

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -81,10 +81,10 @@ jobs:
uses: github/codeql-action/analyze@v2

- name: run fastfetch
run: ./fastfetch --recache --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all

- name: run flashfetch
run: ./flashfetch
run: time ./flashfetch

- name: run tests
run: ctest
Expand All @@ -95,8 +95,8 @@ jobs:
name: fastfetch-macos
path: ./fastfetch-*.*

bsd:
name: BSD
freebsd:
name: FreeBSD
runs-on: macos-12
permissions:
security-events: write
Expand All @@ -113,24 +113,173 @@ jobs:
run: |
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
cmake --build . --target package
./fastfetch --recache --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
./flashfetch
time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
time ./flashfetch
ctest

- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: fastfetch-bsd
name: fastfetch-freebsd
path: ./fastfetch-*.*

windows:
name: Windows
runs-on: windows-latest
permissions:
security-events: write
contents: read
defaults:
run:
shell: msys2 {0}
steps:
- name: checkout repository
uses: actions/checkout@v3

- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
msystem: CLANG64
update: true
install: git mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-cjson mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-opencl-icd

- name: print msys version
run: uname -a

# https://github.com/msys2/MINGW-packages/issues/13524#event-7555720785
- name: create OpenCL.pc
run: |
cat > /clang64/lib/pkgconfig/OpenCL.pc << EOF
prefix=/clang64
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: OpenCL
Description: Open Computing Language generic Installable Client Driver Loader
Version: 2022.09.30-1
Libs: -L${libdir} -lOpenCL.dll
Cflags: -I${includedir}
EOF

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: c, cpp

- name: configure project
run: env PKG_CONFIG_PATH=/clang64/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .

- name: build project
run: cmake --build .

- name: perform CodeQL analysis
uses: github/codeql-action/analyze@v2

- name: copy necessary dlls
run: cp /clang64/bin/{libcjson,libOpenCL,vulkan-1}.dll .

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all

- name: run flashfetch
run: time ./flashfetch

- name: run tests
run: ctest

- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: fastfetch-windows
path: |
./*.dll
./fastfetch.exe
./flashfetch.exe

windows-old:
name: Windows-old
runs-on: windows-latest
permissions:
security-events: write
contents: read
defaults:
run:
shell: msys2 {0}
steps:
- name: checkout repository
uses: actions/checkout@v3

- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-cjson mingw-w64-x86_64-vulkan-loader mingw-w64-x86_64-opencl-icd

- name: print msys version
run: uname -a

# https://github.com/msys2/MINGW-packages/issues/13524#event-7555720785
- name: create OpenCL.pc
run: |
cat > /mingw64/lib/pkgconfig/OpenCL.pc << EOF
prefix=/mingw64
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: OpenCL
Description: Open Computing Language generic Installable Client Driver Loader
Version: 2022.09.30-1
Libs: -L${libdir} -lOpenCL.dll
Cflags: -I${includedir}
EOF

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: c, cpp

- name: configure project
run: env PKG_CONFIG_PATH=/mingw64/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_BUFFER=Off .

- name: build project
run: cmake --build .

- name: perform CodeQL analysis
uses: github/codeql-action/analyze@v2

- name: copy necessary dlls
run: cp /mingw64/bin/{libcjson,libOpenCL,vulkan-1}.dll .

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all

- name: run flashfetch
run: time ./flashfetch

- name: run tests
run: ctest

- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: fastfetch-windows-old
path: |
./*.dll
./fastfetch.exe
./flashfetch.exe

release:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'LinusDierheimer/fastfetch'
name: Release
runs-on: ubuntu-latest
needs:
- linux
- macos
- bsd
- freebsd
- windows
permissions:
contents: write
steps:
Expand All @@ -150,4 +299,4 @@ jobs:
tag: ${{ needs.linux.outputs.ffversion }}
commit: ${{ github.sha }}
artifactErrorsFailBuild: true
artifacts: fastfetch-linux/*,fastfetch-macos/*,fastfetch-bsd/*
artifacts: fastfetch-linux/*,fastfetch-macos/*,fastfetch-freebsd/*,fastfetch-windows/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**/.cache/
**/.kdev4/
**/.DS_Store
/.vs
cscope.*
tags
fastfetch.kdev4
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
# 1.8.0

This release introduces Windows support! Fastfetch now fully support all major desktop OSes (Linux, macOS, Windows and FreeBSD)

Notable Changes:
* Bios / Board / Chassis modules are splitted against Host module for performance reasons
* Caching is removed. Option `--nocache` is removed accordingly

Features:
* Windows (7 and newer) is officially and fully supported
* FreeBSD support is improved greatly (Cpu Temp, Cpu Usage, Disk, Host, Processes, Swap, Terminal / Shell, Uptime)
* Adds a new flag `--stat`, which prints time usage for individual modules
* Adds Wifi module which supports Windows and macOS
* Adds data source option for logo printing
* Detects Homebrew Cellar and Cask seperately
* Detects WSL version
* Detects disk based on mount point
* Exposes more chafa configs
* Improves performance for Cpu Usage, Public IP, Weather modules
* Improves performance for Kitty image protocol when both image width / height specified
* Improves performance for large file loading
* Improves performance for macOS WM and Host detection
* Improves shell and terminal detection on macOS
* Supports Deepin Terminal terminal font
* Supports GPU detection on Android
* Supports Kitty Terminal terminal font
* Supports bar output for percentage values
* Supports eopkg package manager detection
* Supports iTerm image logo protocol
* Supports image logo printing on macOS
* Supports tcsh version detection
* Vulkan module on macOS no longer requires vulkan-loader to work

Logos:
* Alpine
* CRUX
* EndeavourOS
* Enso
* Garuda small
* Nobara
* OpenMandriva
* Parabola GNU/Linux-libre
* Rocky
* Rosa
* Solus
* Univalent
* Vanilla OS

Bugfixes:
* Fixes disk size detection on 32bit Linux (#337)
* Fixes cpu freq detection in WSL
* Fixes internal bug of FFstrbuf
* Fixes some memory leaks
* Fixes segfault if 0 is given as argument index
* Lots of code refactors

# 1.7.5

Fixes a crash on linux that could happen when getting zsh version (#285)
Expand Down
Loading