Juan
3e98034e55
Packages (Linux): check xdg state home for nix user packages ( #844 )
...
Check $XDG_STATE_HOME/nix/profile if ~/.nix-profile is not found as addressed in #837 .
Fix #837
2024-05-02 22:55:50 +08:00
Val V
9ed2f13c78
Packages (Linux): Extended Source Mage support ( #825 )
...
* Extended Source Mage support
* Fix packages format args num
* Correct spelling
2024-05-01 11:25:04 +08:00
李通洲
39dfcb6f10
Packages (Linux): optimise nix detection code
2024-04-29 10:04:20 +08:00
Juan Llamas
882b17834c
Packages (nix): use hash to cache count and process count manually ( #817 )
2024-04-29 09:59:05 +08:00
李通洲
77431671bb
Packages (Linux): add am support
...
Fix : #771
2024-04-03 21:08:55 +08:00
李通洲
609caad02f
Global: use FASTFETCH_TARGET_DIR_USR where applicable
2024-02-26 13:30:09 +08:00
李通洲
15bb5bfb24
Packages: add ability to disable specified package manager
...
Fix #729
2024-02-22 10:03:38 +08:00
李通洲
4e9ee9aa03
Package: code cleanup
2024-02-21 15:40:04 +08:00
李通洲
bb489f9af3
Common: get rid of detection/internal.h
2023-12-30 18:13:54 +08:00
李通洲
40aa4a60d6
Packages: improve performance of pkg and rpm detection
2023-12-08 09:49:17 +08:00
apocelipes
1504e26e38
optimize(Packages): optimize reading large files
...
Using less syscalls and processing data in memory
makes getNumStringsImpl ~300% faster.
The code is much simpler.
2023-12-07 20:32:14 +08:00
李通洲
6bd515fed4
Packages (macOS): rename port to macports
2023-12-04 15:07:13 +08:00
李通洲
3f9462d7c8
Package (macOS): try supporting nix
2023-11-16 10:04:17 +08:00
李通洲
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