李通洲
984fadf70f
Revert "Global: first step to full C++ project"
...
This reverts commit 241ddb79b0 .
2026-08-04 19:19:37 +08:00
李通洲
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
Carter Li
2af56232a4
FFlist: adds FF_LIST_INSERT_AT and FF_LIST_REMOVE_AT
2026-08-04 15:08:50 +08:00
Carter Li
3196f5efaa
chore: adds defaultOrder to every module's definition
2026-08-04 09:58:31 +08:00
李通洲
241ddb79b0
Global: first step to full C++ project
2026-08-03 20:00:27 +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
dc464d6efe
FFstrbuf: prefers ffStrbufEnsureFree
2026-07-28 14:51:54 +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
Carter Li
47dfd8a271
Common (macOS): adds M5x temp detection support
2026-07-22 11:08:17 +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
李通洲
9db4ec82fd
Version (macOS): siliences a compiler warning
2026-07-19 18:06:00 +08:00
李通洲
2b03bacb28
Global: further code cleanups
2026-07-14 15:07:30 +08:00
Carter Li
8ca6bb084d
Common (Library): adds FF_LIBRARY_LOAD_SYMBOL_VAR_LAZY
2026-07-14 10:50:36 +08:00
李通洲
75f00af98d
Global: replaces __auto_type to auto
2026-07-11 11:23:41 +08: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
873454191f
Global: uses typed enums
2026-07-10 18:09:46 +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
5ab192ee05
Common (Thread): adds ffThreadGetCurrentId
2026-06-30 00:39:36 +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
Carter Li
70061625f7
Chore: adds FF_A_COLD
2026-06-08 10:38:28 +08:00
李通洲
c706201282
Global: adds some always_inline
2026-06-06 23:01:18 +08:00