summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration
AgeCommit message (Collapse)Author
2018-11-01Merge pull request #1615 from lioncash/inputbunnei
configure_system: Contrain profile usernames to 32 characters
2018-10-31configure_system: Contrain profile usernames to 32 charactersLioncash
Previously, we would let a user enter an unbounded name and then silently truncate away characters that went over the 32-character limit. This is kind of bad from the UX point of view, because we're essentially not doing what the user intended in certain scenarios. Instead, we clamp it to 32 characters and make that visually apparent in the dialog box to provide a name for a user.
2018-10-30Merge pull request #1595 from FreddyFunk/castbunnei
configure_system: Fix compiler warning
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-10-28configure_system: Fix compiler warningFrederic Laing
2018-10-27configure_system: Make GetIcon() return the scaled 64x64 iconLioncash
Avoids the need to put the scaling parameters all over the place for the common case. The only other time scaling is done is to generate the smaller 48x48 image, so this is fine.
2018-10-27configure_system: Move entry formatting for the user account list entries to ↵Lioncash
its own function Avoids the need to duplicate this all over the place, and makes it translator-friendly across the board.
2018-10-27configure_system: Display errors to the user if file operations fail when ↵Lioncash
setting user images We should display an error to the user if setting a user image for an account fails, rather than continuing onwards.
2018-10-25configure_system: Make the file selector text translatableLioncash
This should be localizable, since it's user-facing text.
2018-10-25configure_system: Make GetAccountUsername() an internal functionLioncash
We can just make the function accept an arbitrary ProfileManager reference and operate on that instead of tying the function to the class itself. This allows us to keep the function internal to the cpp file and removes the need to forward declare the UUID struct.
2018-10-25configure_system: Default initialize member variablesLioncash
These should be initialized to deterministic values so it's easier to catch improper behavior, as it'll always be reproducable, instead of performing uninitialized reads.
2018-10-25configure_system: Simplify UUID generation call in AddUser()Lioncash
This is a static function so we can just perform an assignment directly.
2018-10-25configure_system: Amend function casingLioncash
2018-10-25configure_system: Add missing override specifier on the destructorLioncash
2018-10-25configure_system: Make public slots privateLioncash
These are only used within this class, so we can make them private to keep their use contained. This also gets rid of the pre-Qt5 'slot' identifier, since Qt 5's connection syntax doesn't require a function to be declared a slot anymore.
2018-10-24Merge pull request #1570 from lioncash/optionalbunnei
profile_manager: Use std::optional instead of boost::optional
2018-10-24Merge pull request #1558 from lioncash/ptrbunnei
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
2018-10-24profile_manager: Use std::optional instead of boost::optionalLioncash
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
2018-10-24configure_system: Clear current username before overwritingZach Hilman
Prevents bug where old username would remain if the new username was shorter in length.
2018-10-24yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a ↵Lioncash
raw pointer Same behavior, less code.
2018-10-23yuzu/configuration/config: Reorganize member variable and function layoutLioncash
Makes the class layout consistent with the others.
2018-10-23profile_manager: Create save data if it doesn't exist on useZach Hilman
2018-10-23acc: Fix account UUID duplication errorZach Hilman
2018-10-23configure_system: Clear selection after user deleteZach Hilman
2018-10-23profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman
2018-10-23qt: Add Profile Manager UI to system settingsZach Hilman
2018-10-23settings: Add users and current_user settings and remove usernameZach Hilman
2018-10-23Added Amiibo support (#1390)David
* Fixed conflict with nfp * Few fixups for nfc * Conflict 2 * Fixed AttachAvailabilityChangeEvent * Conflict 3 * Fixed byte padding * Refactored amiibo to not reside in "System" * Removed remaining references of nfc from system * used enum for Nfc GetStateOld * Added missing newline * Moved file operations to front end * Conflict 4 * Amiibos now use structs and added mutexes * Removed amiibo_path
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-07qt: Add UI option to configure argumentsZach Hilman
2018-10-06citra_qt/configuration: misc input tab improvementszhupengfei
* Added a context menu on the buttons including Clear & Restore Default * Allow clearing (unsetting) inputs. Added a Clear All button * Allow restoring a single input to default (instead of all)
2018-10-06qt: Update telemetry linksLioncash
These were pointing to a non-existent webpage.
2018-10-06Merge pull request #1332 from FearlessTobi/port-web-backendbunnei
Port web_service from Citra
2018-10-05Merge pull request #1440 from lioncash/arraybunnei
ui_settings: Place definition of the theme array within the cpp file
2018-10-04ui_settings: Place definition of the theme array within the cpp fileLioncash
Placing the array wholesale into the header places a copy of the whole array into every translation unit that uses the data, which is wasteful. Particularly given that this array is referenced from three different translation units. This also changes the array to contain pairs of const char*, rather than QString instances. This way, the string data is able to be fixed into the read-only segment of the program, as well as eliminate static constructors/heap allocation immediately on program start.
2018-10-03Merge pull request #1428 from lioncash/qtbunnei
configure_graphics: Make functions internally linked where applicable
2018-10-03Merge pull request #1431 from lioncash/audiobunnei
configure_audio: Minor cleanup-related changes
2018-10-02configure_input: Make analog mapping strings translatableLioncash
These strings are user-facing, so they should be specified as translatable with tr().
2018-10-02configure_audio: Move combo box index setting to their own functionsLioncash
Keeps the individual behaviors in their own functions, and cleanly separate. We can also do a little better by converting the relevant IDs within the core to a QString only once, instead of converting every string into a std::string.
2018-10-02configure_audio: Use QString::fromStdString() for converting audio device namesLioncash
This ensures that the proper codec will always be used no matter what. It also avoids relying on ASCII conversions.
2018-10-02configure_audio: Add disambiguation comment for the volume percentage stringLioncash
Disambiguates what the string represents to help translators more easily understand what it is that they're translating. While we're at it, we can move the code to its own function, so that we don't need to specify the same string twice.
2018-10-02configure_graphics: Make functions internally linked where applicableLioncash
These aren't used outside of this translation unit, so they can be internally linked.
2018-10-02Review comments - part 5fearlessTobi
2018-10-02Review comments - part 3fearlessTobi
2018-10-02Address a bunch of review commentsfearlessTobi
2018-10-02Port web_service from CitrafearlessTobi
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-09-12Merge pull request #1302 from lioncash/configbunnei
yuzu/configure_gamelist: Mark combo-box strings as translatable
2018-09-12Merge pull request #1163 from FearlessTobi/add-audio-stretchingbunnei
audio_core: Add audio stretching support
2018-09-12yuzu/configure_gamelist: Make combo box strings translatableLioncash
Given these are shown to the user, they should be translatable. While we're at it, also set up the dialog to automatically retranslate the dialog along with the combo boxes if it receives a LanguageChange event.