summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon
AgeCommit message (Collapse)Author
7 daysReplace string concatination with `fmt::format`Dr. Dystopia
13 daysMerge pull request #14749 from tygyh/Replace-conditions-with-regexScott Mansell
UICommon: Replace `find != std::npos` with `contains`
13 daysUICommon: Replace `find != std::npos` with `contains`Dr. Dystopia
2026-07-19GameFile: Disallow mods from being convertedJoshua Vandaële
2026-07-08mingw: lower case windows includesCraig Carnell
2026-05-05Merge pull request #14532 from Dentomologist/autoupdatechecker_fix_edge_casesDentomologist
AutoUpdateChecker: Fix Edge Cases
2026-04-20Replace `find(x) != npos` with `contains(x)` - CoreDr. Dystopia
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-04-11Merge pull request #14500 from Sintendo/span2Jordan Woyak
Replace `const std::vector&` arguments with `std::span`
2026-03-31AutoUpdate: Only set triggered flag if process creation succeedsDentomologist
Don't set `s_update_triggered` if the updater process fails to be created. This will allow users in that situation to try to start an update later without having to restart Dolphin first.
2026-03-31AutoUpdate: Don't start redundant update checksDentomologist
Ignore any new update check requests if one is already in progress.
2026-03-30UICommon: Create User/Logs/ at startupJosJuice
We used to create User/Logs/ as a side effect of creating User/Logs/Mail/, but the creation of User/Logs/Mail/ was removed in 8cbfee2, so now nothing is creating User/Logs/ anymore. Let's explicitly create it.
2026-03-23Use more std::span argumentsSintendo
2026-03-21AudioPane: Fix WASAPI default device combo selectionDentomologist
Set the default value of `Config::MAIN_WASAPI_DEVICE` to `default` instead of `Default`. This fixes an issue where `AudioPane`'s `Output Device` combo would be blank if `WASAPI` was selected and the user had never changed the value of `Output Device`. We don't have to worry about backward compatibility with users who have `Default` in their config because config values aren't written unless they've been changed at some point from the default, and the combo has always saved `default` instead of `Default`. Audio still worked during emulation in this situation because the fallback for an unrecognized device name is the default device. To help prevent similar situations in the future references to `MAIN_WASAPI_DEVICE`'s default value now call `GetDefaultValue` instead of hardcoding the expected default, or use the new helper function `Config::IsDefaultValue`.
2026-02-15Added Triforce supportcrediar
2026-02-03Merge pull request #13594 from jordan-woyak/state-cleanupsJordan Woyak
State: Simplify interthread communication and general cleanups.
2026-02-02ResourcePack: Fix loading resource packsJoshua Vandaële
This is something I missed when updating minizip, this mistake made it so resource packs didn't find any textures
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...)
2026-01-24Clean includesSintendo
2026-01-24Common/FileSearch: Refactor DoFileSearchSintendo
2026-01-19Core: Add a HookableEvent for UICommon::FlushUnsavedData.Jordan Woyak
2026-01-19Android: Detect when native code should flush unsaved dataJosJuice
2026-01-17Fix various typos and spelling mistakesSintendo
2025-11-27Use minizip-ng's CMakeLists instead of relying on our own implementationJoshua Vandaële
This is a carry over from back when we used `minizip` and had our own CMakeLists for it.
2025-11-18Merge pull request #13748 from ↵JosJuice
Dentomologist/autoupdatechecker_delete_old_updater_log_file AutoUpdateChecker: Delete old Updater.log file
2025-11-02Common: Make HookableEvent use non-static data.Jordan Woyak
Co-authored-by: Dentomologist <dentomologist@gmail.com>
2025-10-29UICommon.cpp: Revert changes from #13866Joshua Vandaële
2025-10-27PathPane: Use ConfigControls where applicableJoshua Vandaële
2025-10-27WiiPane: Use ConfigControls where applicableJoshua Vandaële
2025-10-27GameCubePane: Use ConfigControls where applicableJoshua Vandaële
2025-10-02Merge pull request #13926 from ↵Jordan Woyak
Dentomologist/settings_open_file_dialog_at_user_path Settings: Open file dialogs at user path instead of custom path
2025-09-24chore: remove unused Logs/Mail/ dirFarmerbilly27
2025-09-01Settings: Open file dialogs at user pathDentomologist
When opening a file dialog to set the location of a custom path, use the corresponding user path as the starting location instead of the current custom path. When no custom path was set the dialog would be opened with a blank path which causes Windows (not sure about other platforms) to open the dialog at the same location where the last dialog was closed, or at the current working directory if no previous dialog had been opened. If a nonempty custom path has been set then it has also set the corresponding user path, so the behavior in that case is unchanged.
2025-07-23USBUtils: Refactor USB device handlingJoshua Vandaële
2025-06-14Source: Remove redundant lambda parameter listsDr. Dystopia
2025-06-09AutoUpdateChecker: Delete old Updater.log fileDentomologist
Delete old Updater.log file from GetExeDirectory(). The log was moved to GetUserPath(D_LOGS_IDX) in 5.0-14529, but users looking to make a bug report might find the old one instead so let's delete it to prevent any confusion.
2025-05-22minizip-ng: Stop using compatibility modeJoshua Vandaële
2025-05-03Common and VideoCommon: Change texture data from std::vector to ↵Jordan Woyak
Common::UniqueBuffer.
2025-05-02UICommon: Include implicit headerAlfred Wingate
The header isn't implicitly included on musl. Bug: https://bugs.gentoo.org/952952 Signed-off-by: Alfred Wingate <parona@protonmail.com>
2025-04-25VideoConfig: Remove ConfigChangedCallback on shutdownDentomologist
2025-04-25UICommon: Merge ConfigChangedCallbacksDentomologist
Use a single lambda as a callback which calls InitCustomPaths and RefreshConfig instead of having separate callbacks for each of them. This fixes the callback for InitCustomPaths not being removed on shutdown; the callback for the lambda (previously for RefreshConfig) is already removed in Shutdown().
2025-04-22Merge pull request #13474 from JosJuice/rock-band-playstationJordan Woyak
IOS: Disguise Rock Band PlayStation USB devices as Wii equivalents
2025-04-21Implement Triforce ID parsingZopolis4
2025-04-21Adding support for detecting .bin imagesZopolis4
2025-03-31IOS: Disguise Rock Band PlayStation USB devices as Wii equivalentsJosJuice
This lets you use PS3 Rock Band controllers with Wii Rock Band and Guitar Hero games. A normal user will probably never have any reason to disable this behavior, but I figured maybe there's some person out there who would like to disable it. (For instance, I know there's a mod for RB3 that's trying to implement the same kind of cross-console controller compatibility, and that can only be tested if the behavior I'm adding is disabled.) So the behavior is controlled by an INI-only setting.
2025-03-29Merge pull request #13221 from mitaclaw/nrvo-fails-1JMC47
GCC: Remedy NRVO Fails
2025-03-10GCC: Remedy NRVO Failsmitaclaw
Using the `-Wnrvo` flag introduced by GCC 14, I identified a few places where NRVO was clearly intended, but is fumbled.
2025-03-09Modernize `std::sort` with ranges and projectionsmitaclaw
In PPCTables.cpp, the code is currently unused so I was unable to test it. In CustomPipeline.cpp, a pointer to member function cannot be used due to 16.4.5.2.1 of the C++ Standard regarding "addressable functions". https://eel.is/c++draft/namespace.std#6 In Fs.cpp and DirectoryBlob.cpp, these examples used projections in a previous iteration of this commit, but no longer do. Still, they remain in this commit because the PR they would actually belong to is already merged.
2025-03-09Simplify `std::find_if` with `std::ranges::find` and projectionsmitaclaw
In LabelMap.cpp, the code is currently unused so I was unable to test it. In WiiUtils.cpp, the magic value `1u` was replaced by the constant value `DiscIO::PARTITION_UPDATE`.
2025-01-19Fix build with minizip-ng 4.0.8Joshua Vandaële