Commit Graph

6084 Commits

Author SHA1 Message Date
Carter Li 4a97cc6825 Bluetooth: adds option showType 2026-09-23 15:11:06 +08:00
Carter Li a78d2a7737 Bluetooth (Windows / macOS): adds Bluetooth LE device detection 2026-09-23 14:02:08 +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
Carter Li fe49a9624e Host (macOS): adds new models 2026-09-22 09:47:45 +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
Carter Li b726ee5a85 Chore: fixes a comment [ci skip] 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
Natsu 203ccb31fa Packages (Linux): detects rum overlay packages (#2597) 2026-09-21 00:30:25 -05:00
Carter Li b803d1ac82 Logo (Image): tidy 2026-09-21 09:25:35 +08:00
李通洲 eda38a37ba Battery (Android): adds debug output 2026-09-21 00:01:45 +08:00
李通洲 0b76d33f07 Wifi(Android): fixes errors when location permission is not granted
Security detection support is also added
2026-09-20 23:49:39 +08:00
李通洲 39564acde4 Platform: replaces pageSize for pageSizeShift 2026-09-20 20:56:42 +08:00
李通洲 3bfc4ec674 Terminal (Windows): uses $SSH_TTY if available 2026-09-20 19:23:35 +08:00
李通洲 fea55b276e Terminal (Windows): ignores services; fixes ssh env detection 2026-09-20 16:25:52 +08:00
李通洲 bc51f1ba0c Brightness (Windows): fixes debug messages 2026-09-20 16:25:14 +08:00
李通洲 38e4ba290d OS (Windows): adds comments 2026-09-20 14:21:25 +08:00
李通洲 f96a290f3b Packages (Windows): caches winget packages count; enables winget by default 2026-09-20 13:05:09 +08:00
李通洲 67da836a27 Top: reduces waitTime to 250ms 2026-09-20 11:24:25 +08:00
李通洲 15e4bc998a Global (Android): code cleanup 2026-09-20 09:23:32 +08:00
李通洲 f9f368c1fb Battery (Android): uses dumpsys if available 2026-09-20 08:13:11 +08:00
李通洲 4a33a2c410 Player (Windows): improves player name detection 2026-09-20 00:50:01 +08:00
Carter Li 6142077656 Chore: eliminates a compiler warning 2026-09-19 18:34: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
李通洲 e1d7360453 Display (Android): adds richer information and adds detectWithGetprop back 2026-09-18 20:22:16 +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
李通洲 098b501d0e Camera (Android): uses NDK instead of the unstable termux-api 2026-09-18 15:01:10 +08:00
李通洲 7baaae166f DE (Android): improves Android ROM detection
Fixes #2541
2026-09-18 15:01:10 +08:00
Ian Ribeiro 560a9f419d WM (Linux): supports Umbriel version detection (#2594) 2026-09-18 11:42:19 +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
Carter Li c23c98a85a Logo (Image): supports transparent background of sixel logos 2026-09-17 16:39:19 +08:00
Carter Li 1b7cc1cd30 CPU (Linux): adds SoC name of MacBook Neo 2026-09-17 14:02:29 +08:00
Carter Li 59e33150dd CPU (Android): updates the marketing name of Dimensity 9600 Pro 2026-09-17 14:01:13 +08:00
Carter Li e004c97ee0 CMake: adds option -DENABLE_IMAGE_LOGO=<BOOL> 2026-09-17 13:50:07 +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
李通洲 02dc6a4428 Modules: adds * to format args which are available in key format 2026-09-15 22:24:18 +08:00
李通洲 53e868667a Logo (Image): fixes a copy-paste error 2026-09-15 20:11:36 +08:00