Commit Graph
11 Commits
Author SHA1 Message Date
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 1cca880503 fix(flatpak): remove need to prefix commands (#5723) 2026-09-15 08:34:12 -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
Dave Lane 24cbf6f833 chore(sonar): change NOSONAR comment style (#5410) 2026-07-13 17:31:55 -04:00
Dave LaneandKishi 09dc9e4c35 chore: use lizardbyte-common in c++ (#5356)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-06-30 19:12:10 -04:00
David Lane e836354e5a feat(web-ui): add browse feature to find directories/executables/files (#4848) 2026-03-13 22:55:04 -04:00
Cilps the PumpkinandReenigneArcher 76b3a8596f feat(api): add application image endpoint (#4627)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-01-27 16:34:03 -05:00