Commit Graph
884 Commits
Author SHA1 Message Date
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 da549a8012 refactor: scope conditional temporaries
Resolve 81 cpp:S6004 findings with if and switch initializers while preserving native resource lifetimes through callbacks and I/O.
2026-10-11 20:31:05 -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
ReenigneArcher ed9edb33cf fix(logging): keep test severity exclusive to test builds 2026-10-11 17:15:10 -04:00
ReenigneArcher f30fd59e40 fix(logging): keep managed logger definitions consistent across builds 2026-10-11 15:38:28 -04:00
ReenigneArcher 06c8b24a31 fix(input): restore cross-platform refactor compilation 2026-10-11 15:38:24 -04:00
ReenigneArcher ed10580504 fix(confighttp): restore API documentation and portable endpoint tests 2026-10-11 15:38:19 -04:00
ReenigneArcher 15b06f1707 refactor(config): inject owned settings into runtime services
Replace namespace configuration state with an application-owned store. Pass immutable startup settings into services, platform capture and encoder contexts, network helpers, CLI commands, and tray callbacks. Keep runtime credentials in synchronized snapshots and gamepad policy in its input owner.

Validation: UCRT64 sunshine, test_sunshine, audio-info, and sunshinesvc builds with tray support; 566 regression tests passed and 5 device/workflow tests skipped; strict production Doxygen, required clang-format, and CLI smoke checks passed. Full Linux/macOS builds, hardware coverage, and hosted Sonar reanalysis remain CI validation.
2026-10-11 14:37:32 -04:00
ReenigneArcher 0c5726af82 refactor(windows): own platform resources and service control state 2026-10-11 14:37:32 -04:00
ReenigneArcher 404b8ab881 refactor(capture): own input video and Linux runtime state 2026-10-11 14:37:32 -04:00
ReenigneArcher e8d034b01f refactor(video): retain immutable compiled shader bundles 2026-10-11 14:37:32 -04:00
ReenigneArcher 16483edf2b refactor(servers): own HTTP process session and display state 2026-10-11 14:37:31 -04:00
ReenigneArcher 9ba13e3126 refactor(runtime): own application infrastructure and logging 2026-10-11 14:37:31 -04:00
ReenigneArcher 691bd04e97 refactor(platform): own dynamically loaded API tables 2026-10-11 14:37:31 -04:00
ReenigneArcher c55267afa3 refactor(tests): replace shared overrides with owned providers 2026-10-11 12:50:46 -04:00
ReenigneArcher a3bb44f2e8 refactor: make immutable globals const and remove unused frame 2026-10-11 12:38:29 -04:00
Andy GrundmanandDave Lane 82b22c71f6 fix(config): allow disabling FEC by setting fec_percentage to 0 (#5454)
Co-authored-by: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com>
2026-10-11 12:02:38 -04:00
Dave Lane 31392866b1 refactor: resolve Sonar cpp:S5945 findings (#5897) 2026-10-11 10:12:57 -04:00
Dave Lane 88428ca4ee refactor: resolve Sonar cpp:S6177 findings (#5896) 2026-10-10 22:09:59 -04:00
Conn O'GriofaandDave Lane 6aec9753b3 feat(linux/portal): Support multiple XDG Portal session implementations (#5856)
Co-authored-by: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com>
2026-10-10 19:44:41 -04:00
Cold3011 22ab9b2fac fix(kmsgrab): accept all 32bpp cursor formats, convert to ARGB8888 (#5864) 2026-10-10 13:26:28 -04:00
Jim MartinandJim Martin e9b24114c2 fix(windows): preserve the saved display layout while streaming (#5625)
Co-authored-by: Jim Martin <jdvmi00@users.noreply.github.com>
2026-10-10 10:07:58 -04:00
MMagTechandMMagTech 3411311acf fix(linux/kms): reinitialize capture when the captured plane stays empty (#5885)
Co-authored-by: MMagTech <mmagtech@users.noreply.github.com>
2026-10-10 00:07:44 -04:00
VincentandVincent d23354d441 fix(linux/wlr): capture frames when the compositor has them (#5883)
Co-authored-by: Vincent <264232962+superuser404notfound@users.noreply.github.com>
2026-10-09 21:35:52 -04:00
Carlos Barrero 484bcd3335 fix(linux/audio): capture in the canonical channel layout (#5743) 2026-10-09 17:37:29 -04:00
Raphael Derosso Pereira 899095522a fix(linux): close the DRM render-node fd owned by wl::dmabuf_t (#5764)
Signed-off-by: Raphael Derosso Pereira <raphael@insignis.com.br>
2026-10-09 12:52:40 -04:00
Alex Ford fd45d2dd85 feat(windows): add externally managed audio capture (#5647) 2026-10-09 09:21:47 -04:00
eastginza 31da0d8db9 fix(windows): correct shader selection for sRGB-encoded FP16 framebuffer (Win11 SDR) (#5106) 2026-10-09 00:38:48 -04:00
Dave Lane db1e08d5b7 fix(input): target mouse input at the streamed display (#5739) 2026-10-08 22:54:42 -04:00
neatnoise 3f2e767a7b feat(linux/wlr): enable Vulkan encoding for wlroots capture (#5734) 2026-10-07 12:20:41 -04:00
Conn O'Griofa 5e13eb6799 fix(linux): radv: don't force video_encode on autoprobe (#5849) 2026-10-03 18:16:27 -04:00
Conn O'Griofa efe624ffc7 fix(linux/vaapi): adjust balanced preset; don't try to override default quality (#5847) 2026-10-03 11:12:22 -04:00
bitness dfa9e88497 chore(linux/nvenc): document libavcodec HEVC behavior (#5691) 2026-09-30 22:53:43 -04:00
Eduardo Mozart de Oliveira 820700cbeb fix(api): dynamically reload apps if modified on disk (#5506) 2026-09-29 17:41:26 -04:00
Dave Lane c6969080f7 fix(macos): system tray left click menu (#5830) 2026-09-29 08:56:32 -04:00
neatnoise d41a2a32ca feat(vulkan): add vk_quality config option (#5783) 2026-09-28 23:44:53 -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
Conn O'Griofa 1222ff62ab fix(linux/portalgrab): don't use TaskPool for xdg_worker thread. (#5822) 2026-09-28 09:35:35 -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
Conn O'Griofa e1e6700bbb feat(linux/pipewire): add pts passthrough whitelist, cleanups (#5791) 2026-09-25 16:24:14 -04:00
Conn O'Griofa 55d6c0f878 feat(linux): Portal capture fallback support, misc fixes (#5774) 2026-09-25 14:47:58 -04:00
Dave Lane 3a8dcea0df docs: migrate documentation to Dockle (#5749) 2026-09-20 19:17:45 -04:00
Dave LaneandAndy Grundman 6d4a95955e build(macOS): remove zero-initialization (#5744)
Co-authored-by: Andy Grundman <105828+andygrundman@users.noreply.github.com>
2026-09-17 14:56:47 -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 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