Commit Graph
117 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 e9af4a1aa4 refactor(web): sonar fixes (#5740) 2026-09-17 11:23:23 -04:00
Dave Lane 7c8926d701 test(web-ui): add tests and coverage (#5736) 2026-09-16 12:56:35 -04:00
Dave Lane d23336dc4d refactor(web-ui): single page application (#5731) 2026-09-16 09:55:20 -04:00
Dave Lane f54f9dfc57 chore(deps): move boost to CPM and bump to 1.92 (#5730) 2026-09-15 20:14:58 -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 8cd8539a15 test: PowerShell tests with Pester and Sonar fixes (#5708) 2026-09-13 22:34:49 -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 307a608045 fix(web-ui): localize config categories (#5688) 2026-09-11 11:07:06 -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 4ffca95587 ci(homebrew): run tests in separate step (#5669) 2026-09-10 10:30:48 -04:00
Dave Lane f7e550d4ab feat(config): add gamepad_driver option (#5653) 2026-09-08 19:27:07 -04:00
dependabot[bot]andReenigneArcher af505b7649 build(deps): bump third-party/tray from 1d0d696 to c329d9f (#5630)
* build(deps): bump third-party/tray from `1d0d696` to `c329d9f`

Bumps [third-party/tray](https://github.com/LizardByte/tray) from `1d0d696` to `c329d9f`.
- [Release notes](https://github.com/LizardByte/tray/releases)
- [Commits](https://github.com/LizardByte/tray/compare/1d0d69623fe7ddb3da180db4b99417f9497d4f79...c329d9fd0d39dfb47f0f2fb5467e1db2e8a1d623)

---
updated-dependencies:
- dependency-name: third-party/tray
  dependency-version: c329d9fd0d39dfb47f0f2fb5467e1db2e8a1d623
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* test(tray): enable tray test hooks

Gate `TRAY_ENABLE_TEST_HOOKS` behind `BUILD_TESTS` in dependency setup and propagate the same definition to test targets when tray tests are enabled. This keeps production tray builds unchanged while allowing tray-specific test hook code to be compiled consistently for supported platforms.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-09-06 14:25:12 -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
Dave Lane f02f1aebbc build(Linux): use compiler-selected libgcov for coverage (#5597) 2026-09-02 10:12:57 -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