Commit Graph
4 Commits
Author SHA1 Message Date
ReenigneArcher ab53739769 refactor: use typed streaming and platform interfaces
Address cpp:S5008 with borrowed stream session pointers, typed logger
writers, native module and function handles, and C callback adapters.

Preserve the native NVAPI resolver ABI and library ownership. Cover
move-only log builders, real loader failure paths, and resolver results.
2026-10-11 22:45:52 -04:00
ReenigneArcher f6a4abcfbc refactor: make read-only parameters const
Address cpp:S995 across packet readers, shared service handles, platform
metadata, and callbacks without changing native callback signatures.

Preserve POSIX process-group initialization and make formatted log
writes explicit. Cover empty and embedded-null formatted messages.
2026-10-11 21:45:16 -04:00
ReenigneArcher 1c3d35810d refactor: use explicit lambda captures
Resolve 251 cpp:S3608 findings while preserving capture ownership and lifetimes.
2026-10-11 19:57:08 -04:00
ReenigneArcher 29e4d6aa70 refactor(logging): centralize messages and extensible outputs
Replace Boost logging calls with Sunshine text, format, and lazy builder functions to address cpp:S6996 at the shared source. Keep Boost private to the backend and provide independently owned synchronous or asynchronous sinks for future outputs.

Add API, filtering, delivery, ownership, failure, periodic formatting, and external callback tests. Validate with the native build, 53 focused logging tests, Clang syntax checks, Linux syntax checks, and strict Doxygen. The broader native run has only the existing licensed HID broker failure.
2026-10-11 19:20:47 -04:00