summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/NetPlay
AgeCommit message (Collapse)Author
2026-05-19lint formattingTom Pratt
2026-05-19Separate out GetExternalIPAddress helper functionTom Pratt
De-duplicates the two inline implementations and prepares it for use from Android.
2026-04-17Improve usage of std::move and const references parametersMartino Fontana
Accomplished using `run-clang-tidy` with `performance-move-const-arg,performance-unnecessary-value-param,modernize-pass-by-value`. Changed arguments to const references, removed them where inappropriate (e.g. sink parameters). Same with std::move. Manually reviewed each change to make sure that it makes sense, and do something more appropriate if possible.
2026-03-23Use more std::span argumentsSintendo
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2025-09-28Merge pull request #13161 from oltolm/fix_qt6_warningsJMC47
dolphinQt: fix Qt6 deprecation warnings
2025-08-01Merge pull request #13794 from Sintendo/doouble-lookupAdmiral H. Curtiss
Avoid map/set double lookups
2025-07-19fix Qt6 deprecation warningsoltolm
2025-07-08Avoid map/set double lookupsSintendo
Fix some common anti-patterns with these data structures. - You can dereference the iterator returned by `find` to access the underlying value directly, without an extra `operator[]`/`at`. - Rather than checking for an element before insertion/deletion, you can just do the operation and if needed check the return value to determine if the insertion/deletion succeeded.
2025-07-07Merge pull request #13753 from JoshuaVandaele/netplay-hoverblurJordan Woyak
ClickBlurLabel: Create a label which is blurred until it is clicked
2025-06-25ClickBlurLabel: Create a label which is blurred until it is clickedJoshua Vandaële
This is particularly useful for people who stream their desktop and don't want to accidentally leak their IP or room.
2025-06-14Source: Remove redundant lambda parameter listsDr. Dystopia
2025-06-07Merge pull request #13665 from jordan-woyak/dark-mode-filterJordan Woyak
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
2025-06-07Merge pull request #13522 from ↵Jordan Woyak
tygyh/Enforce-overriding-destructor-style-Core&UnitTests Core & UnitTests: Make overriding explicit and remove redundant virtual specifiers on overriding destructors
2025-06-07DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an ↵Jordan Woyak
event filter.
2025-06-06DolphinQt: Remove redundant window hintsDentomologist
Remove window hints clearing the flag Qt::WindowContextHelpButtonHint, which is already off by default in Qt 6. In Qt 5 this flag was set by default for QDialogs, and on Windows put a ? button in the corner of the title bar allowing users to activate Qt's QWhatsThis help system for a given widget. Since we don't set that text the ? button was useless and so we hid it manually.
2025-05-10DolphinQT/Netplay: Make variables constantDr. Dystopia
2025-05-01Make overriding explicit and remove redundant virtual specifiers on ↵Dr. Dystopia
overriding destructors - Core & UnitTests
2025-03-10VideoConfig: Eliminate NetPlay related members.Jordan Woyak
2025-01-01Simplify `std::find` with `Common::Contains`mitaclaw
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp). The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2024-10-10Modernize `std::adjacent_find` with rangesmitaclaw
2024-10-04Partially revert "Revert "Audit uses of IsRunning and GetState""JosJuice
This reverts the revert commit bc67fc97c39628c76a4dbca411b0e8a9bfaf726a, except for the changes in BaseConfigLoader.cpp, which caused the bug that made us revert 72cf2bdb87f09deff22e1085de3290126aa4ad05. PR 12917 contains an improved change to BaseConfigLoader.cpp, which can be merged (or rejected) independently. A few changes have also been made based on review comments.
2024-08-22Add support for libfmt-11Alfred Wingate
fmt::join was moved into fmt/ranges.h Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-08-14Use 'contains' methodDr. Dystopia
2024-06-26Revert "Audit uses of IsRunning and GetState"JosJuice
This reverts commit 72cf2bdb87f09deff22e1085de3290126aa4ad05. SYSCONF settings are getting cleared when they shouldn't be. Let's revert the change until I get proper time to figure out why it's broken.
2024-06-21Audit uses of IsRunning and GetStateJosJuice
Some pieces of code are calling IsRunning because there's some particular action that only makes sense when emulation is running, for instance showing the state of the emulated CPU. IsRunning is appropriate to use for this. Then there are pieces of code that are calling IsRunning because there's some particular thing they must avoid doing e.g. when the CPU thread is running or IOS is running. IsRunning isn't quite appropriate for this. Such code should also be checking for the states Starting and Stopping. Keep in mind that: * When the state is Starting, the state can asynchronously change to Running at any time. * When we try to stop the core, the state gets set to Stopping before we take any action to actually stop things. This commit adds a new method Core::IsUninitialized, and changes all callers of IsRunning and GetState that look to me like they should be changed.
2024-05-04Merge pull request #12695 from mitaclaw/core-global-system-4Admiral H. Curtiss
Core::IsRunning: Avoid Global System Accessor
2024-05-01Core::IsRunning: Avoid Global System Accessormitaclaw
2024-04-30DolphinQt: Properly Delete (Some) Widgetsmitaclaw
This is not every memory leak, just the ones that were obvious.
2023-11-30Merge pull request #11382 from skyfloogle/traversal-fix-2Mai
Traversal: Use low TTL for probe packet
2023-11-25NetPlaySetupDialog: Fix spacing in Connect tabDentomologist
Add a spacer between the alert text and Connect button to prevent the alert text from migrating down with larger window heights.
2023-11-04DolphinQt: Remove unnecessary qOverloadsDentomologist
qOverload is used to disambiguate pointers to overloaded functions, but most of the usages in the code base were with non-overloaded functions.
2023-08-12DolphinQt: Set window decorations for all top-level QWidgets.Admiral H. Curtiss
2023-05-20Traversal: Notify user of TTL to be usedFloogle
2023-04-24Common/TraversalProto: Move interface into Common namespaceLioncash
Gets the types out of the global namespace.
2023-04-24Common/TraversalClient: Move interface into Common namespaceLioncash
Gets the interface out of the global namespace.
2023-01-31Cleanup headersScott Mansell
2022-10-12Remove most uses of StringFromFormat in favor of fmtPokechu22
2022-09-24Merge pull request #11047 from AdmiralCurtiss/netplay-save-options-reworkAdmiral H. Curtiss
Netplay: Simplify save data options.
2022-09-22Merge pull request #10949 from Zopolis4/reprecatedJMC47
Resolve C++20 deprecation warnings
2022-09-20Netplay: Simplify save data options.Admiral H. Curtiss
2022-09-19Netplay: Rename variable names in NetSettings to match style guide.Admiral H. Curtiss
2022-08-08Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in ↵Zopolis4
C++20" warning
2022-08-02NetPlay: use sha1 instead of md5Shawn Hoffman
2022-08-02NetPlay: rename md5 -> game digestShawn Hoffman
2022-05-24NetPlay: Make messages about non-matching games clearerPokechu22
2022-03-27Merge pull request #10497 from martinD2014/masterAdmiral H. Curtiss
Change the highlighted button on each window
2022-03-15NetPlayDialog: Display external IP/Port as seen by the traversal server when ↵Jordan Woyak
it's used.
2022-03-08Add NonDefaultQPushButton to set autoDefault of buttons to falseMartin
2022-01-14Fix static initialisation order fiasco issue for Version variablesLéo Lam
Fixes a crash that could occur if the static constructor function for the MainSettings.cpp TU happened to run before the variables in Common/Version.cpp are initialised. (This is known as the static initialisation order fiasco.) By using wrapper functions, those variables are now guaranteed to be constructed on first use.