François Revol
01f400c15f
Haiku: minimal implementation ( #1538 )
2025-02-05 09:08:28 +08:00
李通洲
5137a9e7a4
Packages: fix file type check
2025-01-18 19:34:50 +08:00
李通洲
f76981c241
Packages (SunOS): fix building
2025-01-17 15:58:09 +08:00
李通洲
85050f7ff1
Packages: add pkgsrc; code refactor
...
Fix #1515
2025-01-17 11:01:47 +08:00
Carter Li
8b3017c0d9
Packages (Linux): remove possible final newlines in am config
2025-01-08 10:28:13 +08:00
Carter Li
b282ac5d47
Packages (Linux): support am-user
...
Fix #771
2025-01-08 09:46:12 +08:00
Carter Li
637c37e81c
Packages (macOS): remove redundant tokens
2025-01-05 17:28:01 +08:00
李通洲
eae0fee032
Packages (OpenBSD): fix a typo that prevents package counting from working
2024-12-18 14:24:13 +08:00
李通洲
7c8250c68c
StringUtil: rename ffStrCopy and correctly reflect its usage
2024-11-11 18:02:23 +08:00
李通洲
5e7d9ed45e
Packages (Linux): add qi support
2024-11-11 17:37:01 +08:00
李通洲
7fab6f27ee
Packages (BSD): support mport
2024-11-10 12:47:26 +08:00
Carter Li
3f41306c91
Packages (NetBSD): add support
2024-10-30 22:42:46 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
48bb5b8746
Chore: use ffStrCopyN instead of strlcpy
2024-10-17 22:29:38 +08:00
李通洲
67a35c92ff
Chore (Linux): code cleanup
2024-10-15 21:43:41 +08:00
Carter Li
1c598add39
Chore (Linux): always ignore hidden files when enumerating directories
2024-10-15 10:16:58 +08:00
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
c936d170b2
Packages (Linux): support pacstall
2024-09-22 12:30:37 +08:00
李通洲
a77d972834
Packages (Linux): count flatpak runtime packages
...
Fix #1085
2024-09-22 12:21:56 +08:00
李通洲
a1f0570a96
Chore: fix typos
2024-09-13 22:26:47 +08:00
李通洲
cd11a9dff4
Packages (Windows): fix compiling
2024-09-13 21:31:25 +08:00
李通洲
9faa38296a
Packages: don't cache values if we fail to acquire modify time
2024-09-13 16:37:22 +08:00
Carter Li
af450ae788
Packages (FreeBSD): cache result
2024-09-13 10:02:50 +08:00
Carter Li
03c901b260
Packages (Linux): cache result based on mtime
2024-09-13 09:12:13 +08:00
李通洲
c9d539090d
Global: remove --lib-xxx support
2024-09-04 15:56:11 +08:00
Amaro Martínez
5b78b2e897
Packages (Linux): add Linglong support ( #1214 )
...
Support for counting Linglong applications installed in Deepin, Ubuntu and Debian distros.
Packages are installed using the ``ll-cli`` package manager frontend:
https://linglong.dev/guide/ll-cli/introduction.html#ll-cli%E7%AE%80%E4%BB%8B
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2024-08-26 09:19:14 +08:00
李通洲
060544b899
Packages (Linux): detect flatpak-app only
...
The runtime packages detection was inaccurate. The official `flatpak
list` ignores some packages (notablily *.Locale) but the logic is
currently unknown.
2024-07-03 20:01:27 +08:00
Carter Li
1841e1a99d
SunOS: support CPU & packages detection
2024-06-17 01:01:21 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
Dariqq
999f52b0b7
Packages (Linux): Improve speed of Guix package detection. ( #999 )
...
Instead of waiting for guix to parse the manifest file of a profile
parse it directly by counting "/gnu/store" entries and fitlering out duplicates.
The new implementation now also accounts for propagated-inputs of packages.
Co-authored-by: Carter Li <zhangsongcui3371@sina.com >
2024-06-06 10:06:56 +00:00
李通洲
0b75caaf96
Chore: strcasecmp => ffStrEqualsIgnCase
2024-06-03 14:17:01 +08:00
Carter Li
3ba899261f
Util: add ffCharIsDigit and use it
2024-05-28 15:34:59 +08:00
Dariqq
965777323e
Packages (Linux): Add Guix package manager. ( #972 )
...
- Add 3 new count results: guixHome, guixSystem and guixUser.
- Add initial detection logic based on neofetch.
- Add a guixAll variable as sum of all guix results.
- Add options to disable guix detection.
2024-05-28 08:50:18 +08:00
李通洲
714b88c638
Packages (Linux): try fixing nix-user detection
...
Fix #937
2024-05-20 19:14:32 +08:00
Anonyzard
06b2ff9a08
Add Loc-OS Linux support ( #926 )
...
* Logo (Builtin): add Loc-OS
* Packages (Linux): add lpkg and lpkgbuild detection
2024-05-17 09:19:26 +08:00
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