李通洲
1a42cbe1cf
Common (Format): format
2026-08-04 19:18:23 +08:00
Carter Li
6d795a3572
Fastfetch: adds interactive --gen-config mode
...
removes `--gen-config-*` flags (merged into `--gen-config`)
2026-08-04 15:32:44 +08:00
李通洲
5eaf98ecd2
Common: forces optionBuf to be 8-byte aligned
2026-07-29 20:15:54 +08:00
Carter Li
00b7c5b56c
Netif (Hurd): fixes a compiler warning
2026-07-28 23:42:08 +08:00
Carter Li
1c3f0eb7c0
FFstrbuf: adds integer overflow checks to EnsureFreeNoCheck and EnsureFixedLengthFree
2026-07-28 14:51:37 +08:00
Carter Li
476cd67345
Networking: adds Content-Length size limit to prevent excessive memory allocation and potential attacks
2026-07-28 13:29:47 +08:00
Carter Li
6490e2707f
Networking: relaxes accepted response format
2026-07-28 10:31:32 +08:00
h4sht
97fa52fef0
FFstrbuf: removes dead code in ffStrbufSubstrBefore ( #2475 )
...
The redundant `if (index < strbuf->length)` check inside the static string
branch is always true since `strbuf->length <= index` is already checked
at the top of the function and returns false. Remove this dead code for clarity.
Co-authored-by: tru3 <tru3@tru3.com >
2026-07-24 08:41:54 +08:00
李通洲
0b72c9b083
Networking (Windows): simplifies code
2026-07-21 21:12:16 +08:00
Carter Li
db46e06f2e
Common (Base64): unifies the code of endian testing
2026-07-20 15:36:57 +08:00
Carlos Milán Figueredo
7223803a76
Common (Base64): corrects byte order on big-endian hosts ( #2470 )
...
ffBase64EncodeRaw unconditionally byte-swapped the input word via
__builtin_bswap32, which only produces the intended big-endian byte
layout on little-endian hosts. On big-endian hosts the word is already
in the correct order, so the swap corrupted the encoded output.
Guard the swap with __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ so the
encoder is correct on both endiannesses.
2026-07-20 02:29:59 -05:00
李通洲
9d6bb7d717
Global: replaces __typeof__ to typeof
2026-07-11 11:12:23 +08:00
李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
Carter Li
d651f3de43
Common (Tracer): updates comments [ci skip]
2026-07-10 13:11:17 +08:00
李通洲
6358bd7844
FFstrbuf: optimises ffStrbufEnsureFreeNoCheck
2026-07-07 19:15:36 +08:00
Carter Li
827bc26b0a
Trace: removes useless empty lines
2026-07-03 15:40:32 +08:00
Carter Li
52c9730542
Tracer: query tid only when threading is enabled
2026-07-03 15:36:41 +08:00
Carter Li
d031d6c20f
FFPlatform (Windows): hard codes i686 CPU arch
2026-07-03 14:36:18 +08:00
李通洲
a447928853
FFstrbuf: don't try to inline functions with varargs
2026-06-30 19:35:34 +08:00
李通洲
9f446bdad7
Common (Library): adds fast path for loading only one lib
2026-06-30 19:35:34 +08:00
Carter Li
08d419d75c
Global: adds a simple tracer
2026-06-30 16:19:57 +08:00
李通洲
0e257f25c2
Platform (Windows): one less syscall
2026-06-30 09:03:00 +08:00
Carter Li
195e148cc1
Common: inlines more functions
2026-06-30 09:03:00 +08:00
Carter Li
64d205628e
Common (Settings): adds SQLITE_OPEN_NOMUTEX fiag when opening sqlite db
2026-06-26 22:52:59 +08:00
李通洲
eff0108bb5
Codec (Linux): adds va-x11 method
2026-06-23 15:33:58 +08:00
Carter Li
fa2c56cb9f
Global: fixes bugs found by CI
...
The code quality is to be improved...
2026-06-23 13:16:49 +08:00
Carter Li
e1963e41be
Networking (Linux): don't use MSG_DONTWAIT to send HTTP request
...
Ref #2401
2026-06-20 10:17:04 +08:00
Carter Li
5fd059827d
Display: fetch text serial if available instead of the 4-byte integer
2026-06-19 18:56:08 +08:00
Carter Li
96685b7ebe
Global: cleanups FF_HAVE_DRM macro
2026-06-18 17:45:19 +08:00
Carter Li
49a1e42efd
CI: updates spellcheck
2026-06-18 13:39:56 +08:00
Carter Li
4e44c0520b
GPU: detects max PCI gen & link width
2026-06-14 19:51:29 +08:00
Carter Li
ebb0cf77bd
CMake: checks linux kernel headers
2026-06-13 12:29:51 +08:00
Carter Li
17914dc29e
Global: unifies FF_STR macro
2026-06-13 12:29:51 +08:00
Carter Li
52970e2d13
Processing (Linux): don't use /proc/pid/exe as exePath when the file is not executable (no permission)
2026-06-11 10:15:50 +08:00
Carter Li
a720e1f945
Fastfetch (Windows): moves SetConsoleMode and SetConsoleOutputCP to the start of process
...
Fixes #2383
2026-06-08 10:58:14 +08:00
李通洲
cbc84fda6c
Common (Lua): addresses AI's feedback
2026-06-05 18:21:28 +08:00
李通洲
70e67177fe
Common (Lua): supports BINARY_LINK_TYPE=dynamic
2026-06-05 17:22:16 +08:00
李通洲
54792e61ff
Common (Lua): detects circular reference in encode_json
2026-06-04 20:15:54 +08:00
Carter Li
b34e2a4055
Common (Base64): adds static to internal functions
2026-06-04 17:22:24 +08:00
Carter Li
72cb64a500
Common (Lua): optimises code; fixes incompatibility against lua 5.3
2026-06-04 10:48:01 +08:00
Carter Li
c20b532c7a
Common (Format): adds | for center aligning
2026-06-02 16:03:04 +08:00
Carter Li
3c59161aca
Common (Format): handles ANSI escapes when padding/truncating variable strings
...
Fixes #2364
2026-06-02 15:55:10 +08:00
Carter Li
bd454632c3
FFstrbuf: inlines more functions
2026-06-02 15:42:40 +08:00
Carter Li
e73adc27a0
Common: fixes wcwidth handling
2026-06-02 15:05:13 +08:00
Carter Li
15c6014c04
Common: don't inline ffUtf8CharLenWidth
2026-06-02 14:01:59 +08:00
Carter Li
54f18982ac
Common: renames arrayUtil to arrutil
2026-06-02 10:59:18 +08:00
Carter Li
45f35b1c4d
Library (Linux): adds simple debug log
2026-06-02 09:27:38 +08:00
Carter Li
2c65eee00f
Common (Lua): adds json_encode
2026-06-01 19:27:37 +08:00
Carter Li
825b8b8715
Codec (Linux): adds vdpau fallback impl
2026-05-31 23:37:49 +08:00