李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
3a84a1a5fa
Packages (Windows): add option --packages-winget
2023-10-29 19:37:31 +08:00
李通洲
2c49dcceaf
Options (Library): split code
2023-10-25 16:24:24 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +08:00
李通洲
c77a758741
Packages (Linux): support opkg
...
Fix #574
2023-10-07 14:02:16 +08:00
李通洲
30ae8a2f96
Packages (Linux): fix dpkg package number detection
2023-09-20 16:17:02 +08:00
李通洲
5337e5cead
Packages (Linux): fix snap package number detection on systems other than Ubuntu
...
Fixes 562
2023-09-20 16:03:35 +08:00
李通洲
7f1e2d2f03
Packages (Windows): support winget packages count
...
Guarded behind `--allow-slow-operations`
2023-09-08 15:25:22 +08:00
Tom Briden
250d3c349e
Add paludis (exherbo) package count
2023-07-21 00:19:36 +08:00
李通洲
107b3dc1e3
Pckages (Linux): fix pkgtool detection
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/486#issuecomment-1618808002
2023-07-04 00:16:48 +08:00
李通洲
cf91981d49
Packages (Linux): try detecting pkgtool
...
fix #486
2023-07-03 23:21:14 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
baa8992322
Global: refactor strcmp() == 0 to ffStrEquals()
2023-06-19 17:11:57 +08:00
李通洲
da76c6efbe
Global: refactor strncmp to ffStrStartsWith
2023-06-19 17:11:57 +08:00
李通洲
679622bac0
Packages: don't use singleton
2023-06-13 21:38:06 +08:00
Linus Dierheimer
fc12494ac1
Adapt to new repository url
2023-06-12 17:26:37 +02:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
Linus Dierheimer
bd8d78427b
Fix flatpak package count
...
Fix user package count
Show runtime packages too
Fixes #441
2023-04-06 11:11:31 +02:00
李通洲
b2f3bf3461
Packages (Linux): support flatpak-user
...
Fixes #436
2023-03-24 17:47:03 +08:00
李通洲
c4416379bb
Packages (Linux): support linuxbrew (Homebrew for Linux)
2023-03-08 15:02:58 +08:00
李通洲
6ca4b5391b
Library: refactor FF_LIBRARY_LOAD to use __cleanup__
2023-02-15 14:51:04 +08:00
李通洲
3a9403a2f1
Packages (Windows): optimise
2023-02-09 09:51:51 +08:00
李通洲
878d4608b1
Packages (Windows): fix scoop packages count in non-default install path
2023-02-09 00:15:35 +08:00
李通洲
03d1c62787
Packages (Windows): honor $SCOOP when detecting scoop packages
...
Fix #417
2023-02-08 22:49:30 +08:00
Linus Dierheimer
159f4a3a3c
Fix build on apple
2023-02-01 18:35:06 +01:00
Linus Dierheimer
a1ea7804f3
IO: Separate platform specific implementations
2023-01-28 12:40:12 +01:00
Linus Dierheimer
2c51d55ba2
IO: don't require posix specific stuff for ffPathExists
2023-01-28 11:52:23 +01:00
李通洲
068cbafe3d
Packages: detect pacman package count inside MSYS2 env (Windows)
2023-01-18 23:10:28 +08:00
李通洲
9b6dafe715
Packages: fix rpm count detection
...
Can't believe that this bug has existed for more than 3 months and no one found it
2023-01-16 00:41:35 +08:00
Linus Dierheimer
3ef3cca76b
First round of fixes for FFPlatform
2023-01-15 16:06:50 +01:00
Linus Dierheimer
a1d8e3e598
Introduce FFPlatform
2023-01-15 15:57:26 +01:00
Vanilla
078cb6e5b7
fix[getNixPackagesImpl]: count line with wc -l instead, also fixes leak.
2023-01-09 18:58:52 +08:00
李通洲
0fd63084dc
Global: fix other possible bugs where enumerating directories without ignoring . and ..
2023-01-09 10:45:51 +08:00
李通洲
0a83423731
Packages: support eopkg for Solus ( #360 )
...
UNTESTED
2022-12-27 17:36:58 +08:00
李通洲
eeb008f505
Global: replace all ".so" to FF_LIBRARY_EXTENSION
...
... no matter whether the libraries are linux specific or not
2022-12-17 12:22:11 +08:00
李通洲
3b2c189083
Packages: split brew-cellar and brew-cask (macOS)
...
`brew info` shows number of `brew-cellar` packages only. Split `brew-cellar` out of `brew` to avoid users from confusion.
2022-12-13 11:13:00 +08:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
李通洲
883a535441
Packages: support Chocolatey (Windows)
2022-10-23 23:28:49 +08:00
李通洲
135ca1eeba
Packages: don't rely on environment variables
2022-10-14 17:38:53 +08:00
Linus Dierheimer
1513b8c0db
Fix more build errors
2022-10-13 22:12:31 +02:00
Linus Dierheimer
693cc1e730
Fix build errors
2022-10-13 22:02:58 +02:00
Linus Dierheimer
cf048bc723
Refactor package detection code
2022-10-13 21:43:31 +02:00
李通洲
6f66b87262
Windows: support --list-presets
2022-10-13 23:49:09 +08:00
李通洲
457c2da67d
Packages: silence warnings
2022-10-13 23:49:08 +08:00
李通洲
9879a95570
Packages: fix scoop detection when it's not installed
2022-10-11 19:19:43 +08:00
李通洲
661c174348
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 16:55:51 +08:00
李通洲
af6b7dd81b
Packages: add support for Windows
2022-10-09 15:37:15 +08:00