summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration
AgeCommit message (Collapse)Author
2019-06-05Merge pull request #2515 from lioncash/narrowingZach Hilman
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
2019-06-04Merge pull request #2525 from FearlessTobi/remove-unused-settingsMat M
yuzu: Remove unused birthday setting
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-30rasterizer_opengl: Remove OpenGL core profileReinUsesLisp
2019-05-29qt: Silence name collision warningsReinUsesLisp
2019-05-29yuzu: Remove unused birthday settingfearlessTobi
Fixes #2522.
2019-05-26game_list_worker: Add better error handling to cachingZach Hilman
2019-05-26yuzu: Clear partial/full game list cache when data is updatedZach Hilman
2019-05-26ui_settings: Add option to cache game listZach Hilman
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman
Also cleanup of general stuff
2019-05-25qt: Make UI option for 'Reporting Services' temporaryZach Hilman
Reports are unnecessary for normal users and this is to prevent 'power' users from enabling the feature by accident.
2019-05-25settings: Add 'Reporting Services' config optionZach Hilman
Full enable/disable for all reports.
2019-05-25configure_hotkeys: Remove unnecessary Settings::Apply() callLioncash
Nothing from the hotkeys dialog relies on this call occurring, and is already called from the dialog that calls applyConfiguration().
2019-05-25configure_hotkeys: Tidy up key sequence conflict error stringLioncash
Avoids mentioning the user and formalizes the error itself.
2019-05-25configure_hotkeys: Change critical error dialog into a warning dialogLioncash
critical() is intended for critical/fatal errors that threaten the overall stability of an application. A user entering a conflicting key sequence is neither of those.
2019-05-25configure_hotkeys: Move conflict detection logic to IsUsedKey()Lioncash
We don't need to extract the entire set of hotkeys into a list and then iterate through it. We can traverse the list and early-exit if we're able to.
2019-05-25configure_hotkeys: Remove unused EmitHotkeysChanged()Lioncash
1. This is something that should be solely emitted by the hotkey dialog itself 2. This is functionally unused, given there's nothing listening for the signal.
2019-05-24yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect ↵Lioncash
call A checkbox is able to be tri-state, giving it three possible activity types, so in the connect call here, it would actually be truncating an int into a bool. Instead, we can just listen on the toggled() signal, which passes along a bool, not an int.
2019-05-20yuzu/configuration/config: Make default hotkeys an internally-linked array ↵Lioncash
in the cpp file Given the array is a private static array, we can just make it internally linked to hide it from external code. This also allows us to remove an inclusion within the header.
2019-05-20yuzu/configuration/config: Specify string conversions explicitlyLioncash
Allows the configuration code to build successfully with implicit string conversions disabled.
2019-05-20Merge pull request #2455 from lioncash/configbunnei
configuration/config: Move config loading and saving to functions based off groups
2019-05-19yuzu/configuration/configure_web: Specify string conversions explicitlyLioncash
Allows the web config code to compile with implicit string conversions disabled. We can also deduplicate the calls to create the pixmap.
2019-05-19yuzu/configuration/configure_system: Specify string conversions explicitlyLioncash
Allows the system config code to build successfully with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_profile_manager: Mark UI string as translatableLioncash
This is a user-facing string, so it should be marked as translatable.
2019-05-19yuzu/configuration/configure_per_general: Specify string conversions explicitlyLioncash
Allows the per-game configuration to be successfully built with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_mouse_advanced: Clean up array accessesLioncash
Deduplicates array accesses and uses a named variable where appropriate.
2019-05-19yuzu/configuration/configure_mouse_advanced: Specify string conversions ↵Lioncash
explicitly Allows the advanced mouse configuration code to build with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_input_player: Clean up array accessesLioncash
Rather than repeatedly index arrays that have quite a large array index, we can just use a named variable instead.
2019-05-19yuzu/configuration/configure_input_player: Specify string conversions explicitlyLioncash
Allows the player input configuration code to compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_input: Mark controller type names as translateableLioncash
These are user-facing strings, so they should be localizable.
2019-05-19yuzu/configuration/configure_general: Specify string conversions explicitlyLioncash
Allows the general configuration code to successfully compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_gamelist: Specify string conversions explicitlyLioncash
Allows the gamelist configuration code to compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_audio: Store power on query into a variableLioncash
Avoids using the system accessor more than necessary, and ensures that both dialog boxes see the same power on state.
2019-05-19yuzu/configuration/configure_audio: Tidy up function castLioncash
We can just use qOverload here to tidy up the function cast.
2019-05-19yuzu/configuration/configure_audio: Specify string conversions explicitlyLioncash
Allows the audio configuration code to build with implicit string conversions disabled.
2019-05-17qt/configure_graphics: Shadow options at runtimeReinUsesLisp
Compatibility profile and the disk shader cache settings shouldn't be changed at runtime. This aims to address that shadowing those options.
2019-05-09configure_dialog: Remove the Whats This? button from the dialogLioncash
2019-05-09configuration/config: Move config loading and saving to functions based off ↵Lioncash
groups Over time our config values have grown quite numerous in size. Unfortunately it also makes the single functions we have for loading and saving values more error prone. For example, we were loading the core settings twice when they only should have been loaded once. In another section, a variable was shadowing another variable used to load settings from a completely different section. Finally, in one other case, there was an extraneous endGroup() call used that didn't need to be done. This was essentially dead code and also a bug waiting to happen. This separates the section loading code into its own separate functions. This keeps variables only visible to the code that actually needs it, and makes it much easier to visually see the end of each individual configuration group. It also makes it much easier to visually catch bugs during code review. While we're at it, this also uses QStringLiteral instead of raw string literals, which both avoids constructing a lot of QString instances, but also makes it much easier to disable implicit ASCII to QString and vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII as compilation flags.
2019-04-25profile_select: Port Service::Account::UUID to Common::UUIDZach Hilman
2019-04-20Allow picking a Compatibility Profile for OpenGL.Fernando Sahmkow
This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq
2019-04-16Merge pull request #2376 from lioncash/constbunnei
yuzu/configure_hotkey: Minor changes
2019-04-13Merge pull request #2357 from zarroboogs/force-30fps-modebunnei
Add a toggle to force 30FPS mode
2019-04-11ui_settings: Rename game directory variablesFreddyFunk
2019-04-09configure_hotkeys: Pass the dialog as a parent to SequenceDialog()Lioncash
Without passing in a parent, this can result in focus being stolen from the dialog in certain cases. Example: On Windows, if the logging window is left open, the logging Window will potentially get focus over the hotkey dialog itself, since it brings all open windows for the application into view. By specifying a parent, we only bring windows for the parent into view (of which there are none, aside from the hotkey dialog).
2019-04-09configure_hotkeys: Avoid dialog memory leak within Configure()Lioncash
Without a parent, this dialog won't have its memory freed when it happens to get destroyed.
2019-04-09configure_hotkeys: Mark member variables as const where applicable in ↵Lioncash
Configure()
2019-04-09configure_hotkeys: Make comparison check a little more self-documentingLioncash
This is checking if an index is valid or not and returning early if it isn't.
2019-04-09configure_dialog: Amend constructor initializer list orderLioncash
Avoids a -Wreorder compiler warning.
2019-04-09configure_hotkey: Remove unnecessary includeLioncash
Avoids dumping all of the core settings machinery into whatever files include this header. Nothing inside the header itself actually made use of anything in settings.h anyways.
2019-04-09configure_hotkey: Make IsUsedKey() a const member functionLioncash
This doesn't actually modify instance state of the dialog, so this can be made const.