Commit Graph

68 Commits

Author SHA1 Message Date
Yukino Song
e43420f18b Merge remote-tracking branch 'sunshine/master' 2025-07-13 23:16:01 +08:00
Cameron Gutman
c0823c7444 fix(power): don't wake up every 500ms to poll while not streaming (#4051) 2025-07-06 13:16:56 -05:00
ReenigneArcher
2259141bd2 build(packaging): version number improvements (#4037) 2025-07-03 19:07:02 -04:00
Cameron Gutman
9db11a9061 feat(security/windows): Add defense-in-depth measure for insecure system PATH configuration (#3971)
feature(security/windows): Add defense-in-depth measure for insecure system PATH configuration

If an administrator has configured their system insecurely by adding a
user-writeable path to the system-wide PATH variable, this can cause
apps running as admin to load DLLs planted in this directory.

While the root cause is clearly the misconfigured system, we can reduce
Sunshine's exposure to this by asking Windows not to search the PATH.

https://devblogs.microsoft.com/oldnewthing/20200420-00/?p=103685
2025-06-12 23:11:03 -04:00
Yukino Song
3e0cbaf2c2 Implement pause/resume commands w/ APOLLO_APP_STATUS envvar 2025-06-05 15:40:03 +08:00
Yukino Song
1ca19853c2 Fix encoder probing when no display is active 2025-05-31 15:04:06 +08:00
Yukino Song
00c2528778 Make sure to use the desired GPU when probing encoders with virtual display 2025-05-12 23:00:59 +08:00
Yukino Song
6b45f75dc5 Create a temporary virtual display to probe encoders when no active display is present 2025-05-12 22:56:27 +08:00
Yukino Song
56646c2a81 Add option to configure auto discovery(mDNS)
resolves #539
potentially resolves #611
2025-04-15 00:11:29 +08:00
Yukino Song
e2d058faae Merge remote-tracking branch 'sunshine/master' 2025-04-10 05:50:16 +08:00
ReenigneArcher
3e41770d44 fix(config): ensure logging config settings are properly loaded (#3777) 2025-04-03 13:32:46 -04:00
Yukino Song
a31828dd9c Merge remote-tracking branch 'sunshine/master' 2025-04-01 20:05:27 +08:00
ReenigneArcher
5f9fe26df3 fix(config): parse config after logging initialized (#3769) 2025-03-30 15:33:39 -04:00
Yukino Song
fd059e36f0 Merge remote-tracking branch 'origin/master' 2025-02-06 09:14:18 +08:00
ReenigneArcher
c2420427b1 style: adjust clang-format rules (#2186)
Co-authored-by: Vithorio Polten <reach@vithor.io>
2025-01-19 22:34:47 -05:00
Yukino Song
1dc6465f12 Merge remote-tracking branch 'origin/master' 2025-01-14 23:43:50 +08:00
Lukas Senionis
76bea8acb9 feat(display): Configure display device based on user config (#3441) 2025-01-07 20:40:48 -05:00
Yukino Song
2619132570 Merge remote-tracking branch 'origin/master' 2024-12-14 19:02:11 +08:00
Lukas Senionis
1543f584ab feat(display)!: Add libdisplaydevice dependency and output name mapping (#2894) 2024-12-11 14:17:44 -05:00
Yukino Song
47cd872714 Also set locale for boost::filesystem::path 2024-10-29 01:53:15 +08:00
Yukino Song
6e407578c3 Add QR code pairing 2024-08-31 12:04:39 +08:00
Yukino Song
420bf13e88 Merge remote-tracking branch 'origin/master' 2024-08-27 21:47:20 +08:00
ReenigneArcher
6593fa5d61 feat: add publisher metadata (#3080) 2024-08-24 20:14:45 -04:00
Yukino Song
276a0496a8 Add option to quit Apollo from webpage w/ hide tray menu controls 2024-08-24 04:01:38 +08:00
Yukino Song
8db50446a7 Support headless mode 2024-08-21 23:39:41 +08:00
ns6089
4fd6c66edb Handle CTRL_CLOSE_EVENT on Windows (#2952)
This allows us to terminate gracefully when console window is closed.
Mostly relevant for portable builds.
2024-08-03 21:21:10 +00:00
Cameron Gutman
e7c420dd6e Provide SSSE3, AVX2, and AVX512 optimized Reed-Solomon functions (#2828)
* Provide SSSE3, AVX2, and AVX512 optimized Reed-Solomon functions

* Update nanors to fix AVX-512 memory corruption
2024-07-11 20:22:57 -05:00
ReenigneArcher
1dd4b68e1c docs(src): add examples alias and general cleanup (#2763) 2024-06-28 08:34:14 -04:00
Vithorio Polten
509576d616 feat(input/linux): add support for more virtual input devices (#2606)
Co-authored-by: ABeltramo <beltramo.ale@gmail.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-06-16 00:21:18 +00:00
Tejas Rao
fed482caf0 build(win): use UCRT64 environment instead of MinGW64. (#2323)
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
2024-05-25 16:28:14 -04:00
hdL6c
5c1bad7155 Musl Linux fixes (#2401) 2024-04-11 22:34:26 -05:00
ReenigneArcher
2da6fb050a fix(logging): add logging namespace and create logging::init method (#2336) 2024-04-02 20:57:57 -04:00
ReenigneArcher
4ebc7b5cef build(macos): add build strategy matrix (#2211) 2024-03-05 08:56:09 -05:00
Cameron Gutman
83e3ea5aa7 Use a common function to abort for debugging purposes 2024-02-27 21:21:16 -06:00
ReenigneArcher
8074bf8c8d fix(main): fix version printing (#2167) 2024-02-23 20:00:53 -05:00
ReenigneArcher
8689469ea8 refactor(main): move remaining entry related code (#2127) 2024-02-11 14:15:45 -05:00
ReenigneArcher
cd2153f340 refactor(main): move file operation functions to new source (#2124) 2024-02-10 07:37:27 -05:00
ReenigneArcher
1c50bc502b refactor(main): move map_port to network (#2115) 2024-02-09 09:15:47 -05:00
ReenigneArcher
0aa4f06c39 refactor(logging): separate logging from main (#2110) 2024-02-07 09:59:24 -05:00
Cameron Gutman
0d7811ad43 Demote FFmpeg fatal errors
Fixes #1849
2023-12-29 23:01:28 -06:00
ns6089
a0fcaf7d19 Properly join session monitor window thread 2023-10-10 21:10:40 -05:00
Cameron Gutman
a29978d3de Don't start the session monitor window when launched in command mode 2023-10-05 21:50:48 -05:00
ReenigneArcher
f76879eb0d feat(ui): add port mapping table (#1681) 2023-09-30 13:52:56 -04:00
Elia Zammuto
dc967ccc7b Event Ballons and Tray Icon improvements (#1561)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2023-09-15 20:48:51 -04:00
Cameron Gutman
f9a00f3ed4 Fix FFmpeg logging going to stdout rather than our log file 2023-08-24 18:24:24 -05:00
Cameron Gutman
cadd3da9a7 Use UTF-8 conversion for log output and C standard library functions 2023-08-11 20:15:14 -05:00
ns6089
f245f777f7 Modify and restore NVIDIA control panel settings
Namely:
- Power profile for sunshine.exe
- Global OpenGL/Vulkan DXGI swapchain
2023-07-19 01:14:08 -05:00
Cameron Gutman
9a65c91671 Rename SunshineSvc to SunshineService
This avoids a MalwareBytes false positive.

Fixes #1126
2023-05-26 17:54:38 -05:00
Cameron Gutman
0f1dc1bb05 Print a warning if GameStream is using conflicting ports 2023-05-25 19:07:13 -05:00
Cameron Gutman
32ca9d41de Fix crash on exit if a process is currently running 2023-05-15 19:11:51 -06:00