Commit Graph

3465 Commits

Author SHA1 Message Date
Carter Li bbb92543b0 Display (Wayland): uses DisplayConfig on GNOME if available 2026-10-17 10:23:13 +08:00
Carter Li fdd4a60d9d Packages (macOS): tidy [ci skip] 2026-10-14 10:37:58 +08:00
Carter Li 6eb3a8148b Packages (macOS): falls back to pkgsrc's standard package database path
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-13 21:35:50 -05:00
Carter Li 4f6a329ea3 Gamepad (Windows): ensures cancelled read completion is fully awaited
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-13 21:29:52 -05:00
Carter Li 8a0c1d2f6c Wifi (Android): fixes Android 17 support
Fixes the Wifi transmit link speed being read from a field a vendor writes in front of it, rather than from the transmit speed itself
2026-10-13 20:53:11 +08:00
Carter Li 2aa053a904 Sound (Android): adds new bluetooth device type
the Bluetooth LE hearing aid, the two Bluetooth peripheral-mode paths and the proxy endpoint.
2026-10-13 20:47:58 +08:00
Carter Li a9ee641bd6 Display (Android): fixes Android display detection reporting nothing on Android 11 2026-10-13 19:20:51 +08:00
李通洲 f93ffed57a Disk: fix Windows quota affecting free space and unify disk size calculation
- Windows: use FILE_FS_FULL_SIZE_INFORMATION_EX on Windows 10 1809+ (Build >= 17763) when calcType != AVAILABLE to get ActualTotalAllocationUnits/ActualAvailableAllocationUnits (ignoring per-user disk quotas). Fall back to legacy FILE_FS_FULL_SIZE_INFORMATION with CallerAvailableAllocationUnits when calcType is AVAILABLE or EX is unavailable.
- Unix-like: respect --disk-calc-type. Use f_bfree for FREE, f_bavail for AVAILABLE (Linux/BSD/SunOS). Haiku currently always uses free_blocks.
- Refactor FFDisk: remove bytesUsed and bytesAvailable; compute used = total - free in disk module.
- Disk module: update custom format (remove `size-available`, add `bytes-used` and `bytes-total`); update JSON output (remove `bytes.available`, `bytes.used`).
- Disk detection: stop computing used in common path; let each platform set bytesFree by chosen semantics.

Fixes #2651
2026-10-13 15:35:12 +08:00
Carter Li 73ebe95120 GPU (Pci): hardens the parser; adds tests 2026-10-13 09:17:26 +08:00
Carter Li b7bc8ca99d Display (Android): adds cmd display get-displays back
and updates changelog
2026-10-12 14:40:09 +08:00
Carter Li 1bab113d25 Display (Android): be compatible with Android 17 2026-10-12 14:20:21 +08:00
Carter Li 3b042d26ab Sound (Linux): adds ALSA backend as a fallback 2026-10-12 00:22:02 +08:00
Carter Li 1e8b4eb974 Gamepad (Windows): tidy 2026-10-11 14:53:32 +08:00
Carter Li ad1d12ed38 Terminal (Android): reports real app display name instead of hard coding Termux 2026-10-11 10:42:42 +08:00
Carter Li ab6ec4c3f5 Media (Android): adds app uid support 2026-10-11 10:42:41 +08:00
Carter Li 1f32e0bcb2 Display (Android): removes old detection methods 2026-10-11 00:44:15 +08:00
Carter Li d7b66c8677 Common (Android): unifies dex parsers 2026-10-10 23:55:38 +08:00
Carter Li 7f9faeb720 Display (Android): detects via binder 2026-10-10 22:57:48 +08:00
Carter Li 124f474f81 Media (macOS): don't spawn child process 2026-10-10 16:32:09 +08:00
Carter Li 068d86ef13 Sound (Linux): updates comments 2026-10-10 15:44:04 +08:00
Carter Li 10379d600d Packages (Linux): hardens getdents64 usage 2026-10-10 15:42:41 +08:00
Carter Li 07a7211526 Command: extends useStdErr to useOutput 2026-10-10 14:00:30 +08:00
李通洲 0806145f4d Command (Windows): detects command not found error (WIP) 2026-10-10 14:00:30 +08:00
Carter Li 30d6fb542b LocalIP (macOS): fixes MAC address reporting 20:00:00:00:00:00 on macOS 27 2026-10-09 23:02:44 +08:00
Carter Li 10ca4f171e Global (Android): fixes building on old API level 2026-10-07 01:45:49 +08:00
Carter Li 04a5c2d9d3 Camera (Android): tidy 2026-10-07 00:35:45 +08:00
Carter Li 4909ac0d52 OpenBSD: eliminates some compiler warnings 2026-10-06 09:34:49 +08:00
Carter Li fb89af3d84 Common: adds zlib helpers 2026-10-06 09:31:58 +08:00
Mohd Quamar Tyagi 3a069b2331 Packages (macOS): adds pkgsrc detection on macOS (#2627)
* feat(packages): add pkgsrc detection on macOS

* Simplify pkgsrc directory retrieval logic

Removed fallback logic for pkgsrc directory retrieval.

---------

Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
2026-10-05 00:07:02 -05:00
Carter Li 1989c6f549 Codec (Linux): eliminates a compiler warning [ci skip] 2026-10-05 12:16:36 +08:00
Carter Li 6e2a25759d Networking: removes compression support 2026-10-04 17:36:05 +08:00
Carter Li 8102478f2f Global: prefers gnu::cleanup 2026-10-03 18:09:17 +08:00
Carter Li 1b3594f600 Global: adds more FF_DEBUG 2026-10-03 18:09:17 +08:00
Carter Li ae1288d087 Global (Windows): adds more FF_DEBUG 2026-10-03 12:29:52 +08:00
Carter Li b201fd2db9 Common: improves reliability of FF_DEBUG 2026-10-03 10:53:21 +08:00
Carter Li a57ebe992a Battery (Windows): eliminates a compiler warning [ci skip] 2026-10-02 23:40:59 +08:00
Carter Li 54dcb1b6f9 Wifi (SunOS): eliminates a maybe-uninitialized warning 2026-10-02 23:25:06 +08:00
Carter Li cee27354ba Battery (Android): removes dumpsys path 2026-10-02 22:04:29 +08:00
Carter Li 109644ec77 Disk (Haiku): fixes /boot being removed by hideFolders 2026-10-02 21:18:20 +08:00
Carter Li 782b7b8fd1 Display (macOS): don't read CGDisplayModeRef's private layout 2026-10-02 20:08:01 +08:00
Carter Li ab200636f1 Battery (Android): adds temperature and remaining time detection 2026-10-01 20:59:13 +08:00
Carter Li 4d8d6a5fe9 Brightness (Linux): removes ddcutil dep 2026-09-30 10:36:27 +08:00
Carter Li ef853fe858 Brightness (Linux): adds a native impl 2026-09-30 10:35:55 +08:00
Carter Li 47fbfcb0e9 Media (Android): fixes the descriptors a media session reply delivered being closed from a reply that had already gone out of scope, which closed a descriptor that was not theirs and leaked the ones that were 2026-09-30 00:40:57 +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 6ff7925f45 Packages (macOS): prefers getdirentries64 2026-09-29 13:36:32 +08:00
Jami Kettunen a3f46d9742 CPU (Linux): make Snapdragon X1/X2 detection more correct (#2625)
Use the previously discussed soc_id which have public values in EDK2.

The so far used toplevel devicetree compatible values weren't as precise
and some logic (x1, x2p, x2e) simply was dead code.

Also drops the CPU test due to reading soc_id sysfs file, could be
adapted if still wanted around.
2026-09-28 21:06:21 -05:00
Carter Li 4fb57bb39b Global (Windows): eliminates SHGetKnownFolderPath 2026-09-28 23:02:34 +08:00