李通洲
b065b3da51
Global: optimises usage of FFstrbuf and FFlist
2026-01-09 20:14:00 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
288d25e17c
Packages (Windows): fixes possible UB
...
Reported by Github Copilot
2025-12-18 14:21:55 +08:00
Dariqq
0130f610e9
Chore (Windows): Standardize windows header casing. ( #2096 ) [ci skip]
...
Followup to 0b6ca158ea .
Co-authored-by: Dariqq <dariqq@noreply.codeberg.org >
2025-12-16 18:53:26 -06:00
李通洲
0b6ca158ea
Packages (Windows): improves performance for directory enumeration
2025-12-08 16:42:14 +08:00
全てずんだもんの所爲です
84a5c6ebe8
Packages (Linux): add kiss packages count ( #2072 )
2025-11-30 19:10:07 -06:00
李通洲
e6985a8832
Global: handles missing config directories more gracefully
2025-08-27 15:29:38 +08:00
Carter Li
1d32344cf7
Global (GNU): code cleanups
2025-08-24 19:37:06 +08:00
Yelninei
e508100a15
disable ffPackagesGetNix on when it is not defined
2025-08-24 11:29:01 +01:00
Guiling Qiyu
aec2bfd2a4
Packages (Linux): fixes Linglong detection by counting linglong layers ( #1903 )
...
* Packages (Linux): fixes Linglong detection on Deepin
* Packages (Linux): fixes Linglong detection to count layers
* Update src/detection/packages/packages_linux.c
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2025-08-14 19:47:20 -05:00
Guiling Qiyu
bb9ca73db1
Packages (Linux): fixes Linglong detection on Debian ( #1899 )
...
Fixes #1898
2025-08-14 18:06:42 +08:00
李通洲
9a11ff8ddb
Packages (Android): fix building
2025-08-14 14:42:09 +08:00
李通洲
4004501d0f
Packages: unifies Nix package detection code
...
Fixes : #1893
2025-08-12 19:37:52 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
3cef51ec4a
JsonConfig: refactor string buffer JSON handling for robustness
2025-08-02 17:41:19 +08:00
李通洲
ca79bae36e
Packages (Windows): find scoop installation path by parsing scoop config file
2025-07-29 19:29:40 +08:00
李通洲
4909d693e3
Packages (Windows): don't rely on the existance of $SCOOP when detecting scoop packages
...
Fix #1868
2025-07-28 23:41:48 +08:00
李通洲
b60996bcd1
Packages (Linux): remove qi support
...
Close #1858
2025-07-21 14:19:12 +08:00
李通洲
272c0aad9c
Packages (Linux): improve accuracy of flatpak count detection
...
Fix #1856
2025-07-21 14:06:19 +08:00
Juan Llamas
5011edc9d9
Packages (Linux): clean up nix user package detection
2025-07-12 23:57:51 +08:00
Juan Llamas
94a5228ffc
Packages (Linux): add /etc/profiles/per-user detection for nix user packages
2025-07-12 23:57:51 +08:00
Carter Li
f1cc2d124c
Packages (OpenBSD): fix counting by ignoring hidden folders
2025-06-13 20:38:51 +08:00
Carter Li
4b2fa07fdc
Packages (Linux): fix dnf package count detection (v2)
2025-06-03 10:53:02 +08:00
Carter Li
e203f4eeaf
Packages (Linux): fix dnf package count detection
...
Fix #1777
2025-06-03 09:33:43 +08:00
李通洲
7a8ffb27bd
Packages: split code
2025-05-26 15:12:47 +08:00
Rabindra Dhakal
8d5d8b4c90
Packages (Linux): add soar packages count ( #1531 )
...
* add soar packages count
* use || instead of concat for better compatibility with older SQLite versions
* convert package flags to 64-bit
2025-04-05 23:54:27 +08:00
李通洲
b662db452f
Packages (Linux): add pkgsrc detection
...
We will not add pkgsrc detection for macOS unless someone can verify it.
Ref: https://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/fastfetch/patches/patch-src_detection_packages_packages__linux.c?rev=1.1;content-type=text%2Fplain
2025-03-19 14:59:59 +08:00
Kerem Gökcek
4f4622eab9
Packages (Linux): Add support for Pisi Linux ( #1580 )
2025-02-24 15:29:14 +08:00
李通洲
13723893ba
Packages (Haiku): rename package manager name to hpkg
2025-02-18 10:38:14 +08:00
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