Commit Graph

1392 Commits

Author SHA1 Message Date
Carter Li 4d8d6a5fe9 Brightness (Linux): removes ddcutil dep 2026-09-30 10:36:27 +08:00
Carter Li c88ec3bcc3 Android: improves performance of dex parsing 2026-09-29 23:58:44 +08:00
Carter Li 2838dccbfd Sound (Android): adds support via /dev/binder 2026-09-29 23:58:02 +08:00
Carter Li f0d8c996e6 Sound (Linux): uses raw pulseaudio protocol
Also removes libpulse dependency
2026-09-29 18:22:03 +08:00
Carter Li 4fb57bb39b Global (Windows): eliminates SHGetKnownFolderPath 2026-09-28 23:02:34 +08:00
李通洲 36dc82e926 Bootmgr: cleans code 2026-09-26 14:17:24 +08:00
李通洲 866c5e89c8 Global: fixes several issues found by AI 2026-09-25 17:28:44 +08:00
Carter Li 537635cd9c Logo: adds option logo.position: auto 2026-09-25 09:51:34 +08:00
李通洲 0e04ebdf63 Wallpaper (Android): adds support 2026-09-24 23:42:27 +08:00
李通洲 bba45429ae Global: fixes issues found by AI 2026-09-24 21:27:51 +08:00
Carter Li fb5622215b Common (Format): fixes lua error message trimming 2026-09-24 15:32:15 +08:00
李通洲 28f4f6464b Common (Windows): simplifies winrt helper 2026-09-24 10:09:02 +08:00
Carter Li f8df95d146 Common (Lua): don't segfault when formating a null string
Fixes #2608
2026-09-23 22:29:39 +08:00
Carter Li 3930759007 Common (Windows): adds a WinRT helper 2026-09-23 13:33:35 +08:00
李通洲 e21530551d Common (Percent): adds ffRssiToSignalQuality 2026-09-23 13:33:35 +08:00
Carter Li c26bace3c2 Global: fixes a lot bugs found by AI 2026-09-22 22:09:26 +08:00
李通洲 7f3209181e Global: adds general cache layer 2026-09-22 00:45:40 +08:00
李通洲 2f74d6be4d Networking (Linux): fixes possible memleaks 2026-09-21 20:13:56 +08:00
李通洲 256c6a4257 PublicIP / Weather: fixes possible can only be used once due to internal limitations error 2026-09-21 20:08:11 +08:00
Carter Li 17b98007b4 Logo (Image): improves compatibility for iTerm when printing gif logo 2026-09-21 14:26:29 +08:00
Carter Li 6842ae0757 Common (Format): fixes module format strings mishandling a value that carries more than one leading ANSI escape sequence 2026-09-21 14:22:14 +08:00
Piotr Kubaj fd08fdb9df Global (FreeBSD): fixes build when libc defines memrchr as a macro (#2599)
FreeBSD 16.0-CURRENT's <string.h> now provides C23-style
qualifier-preserving wrappers for the string search functions.  Besides
the prototype, `memrchr` (like `memchr`, `strchr`, `strstr`, `memmem`,
...) is also defined as a function-like macro built on `_Generic`:

    #define memrchr(b, c, n) __qualsel((b), \
        (const void *)(memrchr)((b), (c), (n)), (memrchr)((b), (c), (n)))

`common/memrchr.h` redeclares the function unconditionally.  When
<string.h> has already been included, that declaration is expanded by
the macro and every translation unit fails with:

    src/common/memrchr.h:11:7: error: expected identifier or '('
       11 | void* memrchr(const void* s, int c, size_t n);

A libc that defines `memrchr` as a macro has necessarily declared the
function it wraps, so skip our declaration in that case.  Nothing
changes on platforms where `memrchr` is not a macro, and the fallback
implementation is still selected by `check_function_exists`.
2026-09-21 01:21:57 -05:00
李通洲 39564acde4 Platform: replaces pageSize for pageSizeShift 2026-09-20 20:56:42 +08:00
李通洲 f96a290f3b Packages (Windows): caches winget packages count; enables winget by default 2026-09-20 13:05:09 +08:00
李通洲 15e4bc998a Global (Android): code cleanup 2026-09-20 09:23:32 +08:00
李通洲 58692adabc Common (Networking): fixes a non-pure function marked as pure
Fixes CI
2026-09-19 07:58:59 +08:00
李通洲 665c472482 Wifi (Android): rewrites impl via /dev/binder 2026-09-19 00:39:25 +08:00
李通洲 2594c01fc1 Common: renames androidApi.h for android/api.h 2026-09-18 20:25:46 +08:00
李通洲 873a881dab Battery (Android): rewrites impl via /dev/binder 2026-09-18 20:22:16 +08:00
李通洲 ecbf218d6e Chore: fixes compiling errors 2026-09-18 15:01:11 +08:00
李通洲 811e634dc8 Display (Android): adds real support via /system/bin/cmd 2026-09-18 15:01:10 +08:00
李通洲 70d2dd37a6 Image (Logo): uses native image decoder on Android
Codec (Android): uses `availability` feature test
2026-09-18 01:17:28 +08:00
李通洲 97ac94eb44 Common: adds more gcc constrants 2026-09-17 21:00:36 +08:00
李通洲 f8fd708423 Global: addresses Copilot's review comments 2026-09-17 19:19:25 +08:00
李通洲 9bac273165 NetIO / DiskIO: reduces waitTime & improves accurency 2026-09-17 00:33:47 +08:00
李通洲 d1b747192f Logo (Image): adds animation (gif / apng) support 2026-09-16 20:48:02 +08:00
李通洲 b96d7e7bec Networking: supports chunked response & custom port number 2026-09-16 14:49:50 +08:00
Carter Li fbf79ac6fe FFstrbuf: improves empty-string handling
for ffStrbufMatchSeparatedNS and ffStrbufSeparatedContainNS

Fixes #2585
2026-09-15 10:43:25 +08:00
Carter Li 98ec0a674c IO: increases FF_IO_TERM_RESP_WAIT_MS 2026-09-15 08:45:48 +08:00
李通洲 a90ae0249d IO (Windows): prefers unicode APIs 2026-09-14 22:42:16 +08:00
李通洲 375d0c6b25 Common (IO): adds ffPathGetMtime and uses it 2026-09-14 22:21:49 +08:00
李通洲 e8350a0d6e Logo (Image): drops IM in favor of WIC on Windows 2026-09-14 19:02:50 +08:00
Carter Li 1ee8528f10 Format: makes {#title} and {#key} honors brightColor config 2026-09-13 12:26:57 +08:00
Carter Li ced49ab2a4 Chore: dont let clang-format break my code style 2026-09-13 12:05:07 +08:00
Carter Li ec8b9be354 Packages: opens SQLite DB in immutable mode
.. to avoid `SQLITE_READONLY` errors
2026-09-13 11:13:33 +08:00
李通洲 f37a5a2543 OpenBSD: removes kvm dep 2026-09-11 23:38:10 +08:00
李通洲 5d290cc3d5 Common (CommandOption): find module configuration from JSON config file 2026-09-05 20:14:58 +08:00
李通洲 1128a75d8c InitSystem: uses SystemBasicProcessInformation if available 2026-09-03 10:04:55 +08:00
李通洲 2e06a73102 Modules: exposes localized module name in custom key format as {module-name} 2026-09-01 19:18:02 +08:00
李通洲 8ea4468eec Common (Endian): adds new header 2026-09-01 00:20:40 +08:00