Cameron Gutman
c63b918bb2
Don't hardcode the server signature length
2023-11-29 21:53:49 -06:00
Cameron Gutman
6fa53691aa
Fix implicit default constructor warning
2023-10-02 17:42:35 -05:00
Cameron Gutman
49e0679864
Synchronize with possible concurrent writers to the NvComputer object
2023-10-01 17:46:27 -05:00
Cameron Gutman
0976bc39b3
Only reserialize hosts if a serializable attribute changed
2023-10-01 17:28:06 -05:00
Cameron Gutman
facd6e4e56
Revert "Batch delayed flushes to improve performance on macOS"
...
This reverts commit aa74e6930b
.
2023-10-01 16:33:14 -05:00
Cameron Gutman
d2dc0aa1b1
Don't serialize apps for the host backup
...
This takes a ton of time on macOS and most of the data is just a local cache anyway
2023-10-01 16:13:22 -05:00
Cameron Gutman
aa74e6930b
Batch delayed flushes to improve performance on macOS
2023-10-01 15:26:28 -05:00
Cameron Gutman
39465f6d8a
Override some Material 3 colors to improve contrast
2023-09-27 00:51:51 -05:00
Cameron Gutman
47b04eee3e
Remove use of deprecated QByteArray::count()
2023-09-12 18:07:44 -05:00
Cameron Gutman
6e34c21175
Fix signed integer overflow found by UBSan
2023-09-11 21:23:39 -05:00
Cameron Gutman
d165bf7498
Sort the host list
2023-09-03 16:20:29 -05:00
Cameron Gutman
a1d592bb87
Fix loss of all paired computers if Moonlight is terminated while writing the computer list
2023-09-02 16:43:25 -05:00
Cameron Gutman
841aeccd6b
Don't call QHostInfo::fromName() to "resolve" an IP address literal
...
Fixes #1037
2023-07-26 01:59:00 -05:00
Cameron Gutman
abc391f32a
Improve AV1 support
2023-07-16 15:38:58 -05:00
Cameron Gutman
d17cdbda93
Replace another QSharedPointer::get() call with Qt 5.10 alternative
2023-07-16 00:18:17 -05:00
Cameron Gutman
2252abefbf
Fix build break on Qt 5.10 and earlier
2023-07-16 00:13:09 -05:00
Casey Korver
ea06ec0133
Correct spelling mistakes found with Codespell
2023-07-09 13:21:18 -05:00
Cameron Gutman
5424576f73
Ensure serverCodecModeSupport is always non-zero
2023-07-05 19:46:30 -05:00
Cameron Gutman
a81c6a1c5e
Initial work on AV1 support
2023-07-03 00:45:36 -05:00
Cameron Gutman
ef988cc8af
Destroy the QMdnsEngine Server and Cache when not polling
...
These set background timers to refresh state, rebind sockets,
and refresh the cache. This is all stuff that we don't want to
be doing while streaming.
2023-06-21 00:54:11 -05:00
Cameron Gutman
df0c4c8208
Delete the QNetworkAccessManager when we're done with it
...
Apparently having this object around can lead to background
network scans happening that cause WiFi perf degradation.
2023-06-20 21:51:28 -05:00
Cameron Gutman
5e6b60bae0
Fix handling of IPv6 literals with port numbers
2023-03-18 14:47:23 -05:00
Cameron Gutman
bccffe09e2
Purge NVIDIA-specific strings
2023-03-18 14:20:51 -05:00
Cameron Gutman
35e226273c
Tell the host if we want gamepads to persist after disconnection
2023-02-20 16:52:28 -06:00
Cameron Gutman
90e25e60d6
Add FPS values for all attached displays and support custom FPS values
...
Fixes #926
2023-02-03 00:45:27 -06:00
Cameron Gutman
80659160d3
Consolidate launch and resume and skip FPS hack for Sunshine
2023-02-03 00:36:30 -06:00
Cameron Gutman
dd9de3fcb4
Offset the ports used for WOL if the host is using alternate ports
2022-11-13 11:39:28 -06:00
Cameron Gutman
6710d0561a
Use current HTTP port if ExternalPort is not present
2022-11-13 11:35:47 -06:00
Cameron Gutman
411998d4e3
Implement detection of local IPv6 addresses
2022-11-02 20:35:41 -05:00
Cameron Gutman
448633ec3c
Fix some log messages with extra spaces
2022-11-02 19:25:44 -05:00
Cameron Gutman
a13f8e7937
Ensure delayed flushes complete during shutdown
2022-10-25 02:43:55 -05:00
Cameron Gutman
5bfe56472f
Fix build
2022-10-25 02:08:46 -05:00
Cameron Gutman
16a9ed682e
Use a single flush thread for ComputerManager
...
Some QSettings backends don't like concurrent writes and using a
single thread improves write batching behavior.
2022-10-25 02:07:16 -05:00
Cameron Gutman
29ac7893d7
Don't enforce the NVENC H.264 resolution limit on Sunshine hosts
...
Closes #882
2022-10-25 01:18:10 -05:00
Cameron Gutman
cebd3bf751
Save hosts on a separate thread
...
QSettings on macOS Ventura performs horribly when saving a lot of values
(like several hosts or a host with a large app list). This change considerably
improves UI performance by moving the long operation off the main thread.
2022-10-25 00:07:07 -05:00
Cameron Gutman
cb04925c6e
Optimize locking in ComputerManager to reduce reader contention
2022-10-25 00:07:07 -05:00
Cameron Gutman
b7a340bd00
Improve locking in NvComputer class
2022-10-24 23:53:02 -05:00
Cameron Gutman
2a0f837120
Stop issuing further HTTP requests when quitting
2022-10-24 23:46:57 -05:00
Cameron Gutman
8d087ba5b1
Allow localization of pairing error strings
2022-10-12 22:20:15 -05:00
Cameron Gutman
c7a30d8728
Allow a pairing attempt even if the PC is busy
...
Pairing while busy doesn't work with GFE but works with Sunshine
2022-10-12 22:15:58 -05:00
Cameron Gutman
692942e5be
Move PIN generation into ComputerManager to be shared with CLI pairing
2022-08-24 00:21:25 -05:00
Cameron Gutman
f4acd629a1
Save hosts immediately after pairing concludes to ensure the server cert is persisted
2022-08-24 00:20:22 -05:00
Cameron Gutman
be7852dfc0
Remove desktop resolution in favor of native (unscaled) resolution
...
Seeing 2 "native" resolutions for a single high DPI display is confusing.
If someone wants a lower resolution aspect-ratio match of a display, they
can use a custom resolution.
2022-08-16 01:22:26 -05:00
Cameron Gutman
b0804ce048
Fix native resolution detection on high DPI wayland systems
2022-08-16 00:25:57 -05:00
Cameron Gutman
1cbdd0e675
Display the HDR option if the platform has a decoder that supports it
2022-01-29 00:59:04 -06:00
Cameron Gutman
c4d85cf928
Don't show HDR option if we know it's unsupported
2021-12-12 17:43:20 -06:00
Cameron Gutman
c658daeac6
Remove unneccessary EVP_get_digestbyname() invocation
...
This causes problems with pre-OpenSSL 1.1.0 clients that don't
call OpenSSL_add_all_algorithms() during initialization. This
is known to affect Steam Link on firmware 815.
2021-07-17 20:32:50 -05:00
Cameron Gutman
48728efee0
Add support for dynamic HTTPS port
2021-07-03 00:00:27 -05:00
Cameron Gutman
043c55ae66
Add missing changes to fix build
2021-07-02 23:54:17 -05:00
Cameron Gutman
fa3f822cf1
Rework handling of addresses to allow alternate HTTP ports
2021-07-02 23:34:54 -05:00