Commit Graph
91 Commits
Author SHA1 Message Date
Eduardo Mozart de Oliveira c19554acbc test(process): mock undo environment test to bypass ci process launch restrictions and secure get_env 2026-09-29 14:47:39 -03:00
Eduardo Mozart de Oliveira 95ed08abf2 test(process): simplify undo test command using inline strings and bypass ci impersonation 2026-09-29 14:16:18 -03:00
Eduardo Mozart de Oliveira 514e186510 test(process): silence sonar cpp:S3656 warning for protected members in test fixtures 2026-09-29 14:07:21 -03:00
Eduardo Mozart de Oliveira 5121de6b5f fix(process): preserve session env vars during refresh and fix tests 2026-09-29 13:44:49 -03:00
Eduardo Mozart de Oliveira 908873d6e6 Merge branch 'master' into fix/applist-reload 2026-09-29 12:27:40 -03:00
Eduardo Mozart de Oliveira 99ecd7e16a fix(process): prevent initial parse skip and preserve running state on refresh
The timestamp guard in proc::refresh() compared against a value-initialized
file_time_type{}, which on MSYS2 UCRT64 GCC 16.2 compares greater-or-equal
to file_time_type::clock::now(). This caused the very first refresh() call
at startup to skip parsing apps.json, leaving the application list empty.

Replace the bare file_time_type with std::optional<file_time_type> so that
nullopt unambiguously represents 'never parsed', regardless of platform
clock epoch.

Additionally, refresh() previously move-assigned the entire newly parsed
proc_t over the global proc::proc, which overwrites _app_id, _process,
_process_group, and cleanup iterators for an in-flight streaming session.
Refreshing the Moonlight app list during a session could therefore lose
process tracking, preventing /cancel from terminating the running app.

Add proc_t::update_apps_and_env() to replace only _apps and _env from the
newly parsed result, preserving all active process state.

Add regression tests covering both fixes.
2026-09-29 12:25:42 -03:00
Dave Lane c6969080f7 fix(macos): system tray left click menu (#5830) 2026-09-29 08:56:32 -04:00
Dave Lane 2435fb421d fix(input): honor extended keyboard modifier (#5821) 2026-09-28 21:43:24 -04:00
Dave Lane 052b413216 feat(permissions): expose platform access and restart after grants (#5820) 2026-09-28 21:42:59 -04:00
Dave Lane 8fc40974c9 feat(macos): add gamepad support using libvirtualhid (#5807) 2026-09-27 16:20:34 -04:00
Dave Lane c69d370c35 fix(input): serialize queued packets per stream (#5818) 2026-09-27 13:53:30 -04:00
Dave Lane 0daeb0e35b fix(pairing): replace duplicate client certificates (#5737) 2026-09-17 11:23:38 -04:00
Dave Lane d23336dc4d refactor(web-ui): single page application (#5731) 2026-09-16 09:55:20 -04:00
Dave Lane 1cca880503 fix(flatpak): remove need to prefix commands (#5723) 2026-09-15 08:34:12 -04:00
Dave Lane 63d35f702e chore(deps): bump libvirtualhid (#5722) 2026-09-14 19:36:13 -04:00
Dave Lane e306c8d904 test(linux): synchronize environment sanitizer tests (#5710) 2026-09-14 11:27:43 -04:00
Dave Lane d64016a464 fix(linux): repair privileged DRM worker build (#5706) 2026-09-13 19:34:04 -04:00
c553565b98 Merge commit from fork
Sanitize GUI loader and plugin environment variables before privileged initialization, failing closed when the environment cannot be cleaned.

Retain CAP_SYS_ADMIN only on a dedicated DRM worker, route KMS and CUDA DRM access through it, reject queued work safely during overflow or shutdown, and drop the worker privileges when DRM access is no longer needed.

Add Linux regression coverage for the sanitizer and document the new privileged-worker interfaces.

Co-authored-by: Conn O'Griofa <749000+psyke83@users.noreply.github.com>
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-09-13 16:37:49 -04:00
Dave Lane fb925302d0 fix(linux): export all Wayland DMA-BUF planes (#5699) 2026-09-13 09:31:45 -04:00
Dave Lane 0aa78e5978 fix(web-ui): add XDG Portal token reset (#5701) 2026-09-13 09:31:10 -04:00
Dave Lane 9124e77f8a fix(network): respect configured bind address (#5700) 2026-09-12 20:35:11 -04:00
Dave Lane 2ebaae37d2 fix(linux): handle NVENC in builds without CUDA (#5698) 2026-09-12 16:30:01 -04:00
Cameron Gutman fbf12d019c fix: missing initializers and incorrect default for native_pen_touch (#5693) 2026-09-12 10:32:04 -04:00
Dave Lane ffd1212170 fix(api): return the final result of pairing (#5680) 2026-09-10 21:57:23 -04:00
Dave Lane f2c9f34d90 fix(deps): fix legacy nvenc presets and bump third-party/build-deps (#5668) 2026-09-10 11:54:52 -04:00
Dave Lane f7e550d4ab feat(config): add gamepad_driver option (#5653) 2026-09-08 19:27:07 -04:00
Dave Lane 73ccd68f3c fix(macOS): enable microphone permission flow (#5621) 2026-09-06 08:37:08 -04:00
Dave Lane 71189aecc1 chore(deps): bump libvirtualhid (#5585) 2026-09-05 21:44:54 -04:00
Dave Lane aa92000dc6 refactor: pairing flow, pairing tests, and inline struct comments (#5602) 2026-09-03 08:51:02 -04:00
Dave Lane 4d768847fc Merge commit from fork 2026-09-02 20:33:20 -04:00
Dave Lane 82bccdf698 Merge commit from fork 2026-09-02 20:08:24 -04:00
Dave Lane ccf97e3879 Merge commit from fork 2026-09-02 19:48:25 -04:00
Dave Lane 1583e7c4a7 Merge commit from fork 2026-09-02 19:44:39 -04:00
dasepmochandReenigneArcher 3841ac593c fix: iterator/stat utility edge cases and add tests (#5308)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-09-02 08:57:41 -04:00
Seth MooreandReenigneArcher 9f7daa5e5a fix(input): track/release client keycode for modifiers (#5558)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-09-01 19:07:20 -04:00
tonyctalopeandReenigneArcher f111d6a4af fix(windows): capture the configured audio sink instead of the default device (#5408)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-09-01 15:27:48 -04:00
matix753andReenigneArcher c59469b779 fix(video): fall back to SDR when HDR isn't supported (#5429)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-09-01 12:56:04 -04:00
Dave Lane c75d5d769b feat(input): update libvirtualhid integration (#5563) 2026-08-29 21:09:02 -04:00
Dave Lane 05b49f0d87 chore: update Virtual HID requirements and mouse refresh (#5547) 2026-08-23 14:44:37 -04:00
pollopopoandReenigneArcher f0ad7cdedb feat(amf): add amd_max_au_size option (#4926)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-08-21 15:32:20 -04:00
Zach DentonandReenigneArcher 3dfbfe0906 fix(wayland): use the current wl_output mode (#5150)
Signed-off-by: Zach Denton <z@chdenton.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-08-20 23:00:50 -04:00
Dave Lane d3c5e2c85e fix(input): preserve aux gamepad data and bump libvirtualhid (#5531) 2026-08-20 17:00:44 -04:00
luanweslley77andluanweslley77 6ad5f9735d fix(linux/pipewire): restore dummy buffer for software encoders and fix buffer ownership (#5495)
Co-authored-by: luanweslley77 <luanweslley77@users.noreply.github.com>
2026-08-18 11:59:30 -04:00
Dave Lane 6aece1b8d2 fix(virtual-hid): remove license expiration (#5517) 2026-08-17 14:50:19 -04:00
Dave Lane 687e12d013 feat(input): implement libvirtualhid adding new gamepad styles (#5368) 2026-08-16 15:24:58 -04:00
Dave Lane 7df8c62ea7 feat(logging): rotating log files (#5485) 2026-08-07 21:12:25 -04:00
Dave Lane 0784774fec test(tray): add system tray tests (#4221) 2026-07-29 20:30:43 -04:00
Dave Lane fb3d85cff4 fix(nvenc): dynamic nv codec sdk selection (#5451) 2026-07-26 21:06:28 -04:00
Dave Laneandk4idyn c8325cbdd1 fix(amf): wire h264_amf coder and profile mapping (#5442)
Co-authored-by: k4idyn <252943111+k4idyn@users.noreply.github.com>
2026-07-24 14:27:39 -04:00
Dave Lane 24cbf6f833 chore(sonar): change NOSONAR comment style (#5410) 2026-07-13 17:31:55 -04:00