summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-17Merge pull request #6204 from lat9nq/sdl2-externalMorph
externals: Add SDL 2.0.12
2021-04-17gitmodules: Remove unneeded prefixlat9nq
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2021-04-17Merge pull request #6205 from Morph1984/applet-focus-state-changebunnei
applets: Send focus state change message on applet state change
2021-04-17applets: Send focus state change message on applet state changeMorph
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
2021-04-17applets: Make the applet mode a protected property of AppletMorph
2021-04-16Merge pull request #6125 from ogniK5377/nvdec-close-devbunnei
nvdrv: Cleanup CDMA Processor on device closure
2021-04-16Merge pull request #6133 from Morph1984/project-eleuthiabunnei
Project Eleuthia - On-Screen Keyboard and Error Applet Overlays
2021-04-16externals: Add SDL 2.0.12lat9nq
Since Bintray is (soon to be) no more, there needs to be a way to acquire SDL2. Since 20.04's version is older than our minimum required version (2.0.12), add it as an external.
2021-04-16Merge pull request #6201 from bunnei/remove-bintraybunnei
cmake: Remove use of bintray for externals.
2021-04-15cmake: Remove use of bintray for externals.bunnei
- Bintray will be deprecated on May 1st 2021 (https://bintray.com/) - We were previously using this for Qt (non-Windows) and SDL. - I've moved to bundled SDL on Windows.
2021-04-15Merge pull request #6119 from german77/SDLMappingbunnei
InputCommon: Address mapping and naming issues with SDL2
2021-04-16Address issuesChloe Marcec
2021-04-15applets/swkbd: Implement the Qt Software Keyboard frontendMorph
The Qt Software Keyboard frontend attempts to mimic the software keyboard rendered by the Nintendo Switch. This frontend implements multiple keyboard types, such as the normal software keyboard, the numeric pad software keyboard and the inline software keyboard. Keyboard and controller input is also supported in this frontend. Keyboard input is handled as native keyboard input, and so the on-screen keyboard cannot be navigated with the keyboard arrow keys as the arrow keys are used to move the text cursor. Controller input is translated into mouse hover movements on the onscreen keyboard or their respective button actions (B for backspace, A for entering the selected button, L/R for moving the text cursor, etc). The text check dialogs can also be confirmed with controller input through the use of the OverlayDialog Massive thanks to Rei for creating all the UI for the various keyboards and OverlayDialog. This would not have been possible without his excellent work. Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-15error: Make the error code as the title text of the OverlayDialogMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-15overlay_dialog: Add an overlay text dialog that accepts controller inputMorph
An OverlayDialog is an interactive dialog that accepts controller input (while a game is running) This dialog attempts to replicate the look and feel of the Nintendo Switch's overlay dialogs and provide some extra features such as embedding HTML/Rich Text content in a QTextBrowser. The OverlayDialog provides 2 modes: one to embed regular text into a QLabel and another to embed HTML/Rich Text content into a QTextBrowser. Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-15main: Move meta type registration into its own functionMorph
Moves the existing meta type registration into its own function and adds registration of common integral, floating point and string types. This function is also now called in the constructor of the GMainWindow instead of on starting a game.
2021-04-15input_interpreter: Fix button hold being interpreted incorrectly on initMorph
We reset all the button states to 0 except the first index (which has all the buttons as pressed) to prevent a button hold being interpreted as a button that was pressed once on the first poll.
2021-04-15qt_themes: Add styles for the On-Screen Keyboard and OverlayDialogIts-Rei
2021-04-15icons: Add icons for the On-Screen Keyboard overlayIts-Rei
2021-04-15applets/swkbd: Implement the Default Software Keyboard frontendMorph
2021-04-15applets/swkbd: Implement the Normal and Inline Software Keyboard AppletMorph
2021-04-15ILibraryAppletCreator: Implement CreateHandleStorageMorph
Used by Monster Hunter Generations Ultimate
2021-04-15hle_ipc: Add helper functions to get copy/move handlesMorph
2021-04-15ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logsMorph
Avoids unnecessary console spam when the inline software keyboard is used.
2021-04-15applets: Pass in the LibraryAppletMode each applet's constructorMorph
2021-04-15applets: Remove the previous software keyboard applet implementationMorph
2021-04-14Merge pull request #6199 from lioncash/log-nsbunnei
common/log: Move Log namespace into the Common namespace
2021-04-14log/backend: Correct order of const in copy constructorLioncash
Follows our predominant coding style. Also explicitly specifies the move constructor/assignment operator as well.
2021-04-14common/log: Move Log namespace into the Common namespaceLioncash
Forgot to move this over when I moved the rest of the source files with lacking namespaces over.
2021-04-14Merge pull request #6196 from bunnei/asserts-settingbunnei
core: settings: Add setting for debug assertions and disable by default.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-04-14core: settings: Add setting for debug assertions and disable by default.bunnei
- This is a developer-only setting and no longer needs to be enabled by default. - Also adds "use_auto_stub" setting to SDL frontend while we are here. - Supersedes #1340.
2021-04-14Merge pull request #6197 from ameerj/kreslimit-cleanupbunnei
k_resource_limit: Cleanup of member variables/headers
2021-04-13Merge pull request #6195 from Morph1984/controller-applet-motionbunnei
applets/controller: Hook up the "Motion" button functionality
2021-04-14k_resource_limit: Minor cleanup of member variables/headersameerj
2021-04-13Merge pull request #6185 from ameerj/process-reslimitbunnei
kernel/process: Replace process resource limit instance with the kernel's resource limit
2021-04-13Merge pull request #6191 from lioncash/vdtorbunnei
engine_interface: Add missing virtual destructor
2021-04-13Merge pull request #6190 from lioncash/constfn2bunnei
vk_master_semaphore: Add missing const qualifier for IsFree()
2021-04-13Merge pull request #6188 from lioncash/bitsbunnei
vk_texture_cache: Make use of bit_cast where applicable
2021-04-13Merge pull request #6187 from lioncash/sign-convbunnei
texure_cache/util: Resolve implicit sign conversions with std::reduce
2021-04-13applets/controller: Hook up the "Motion" button functionalityMorph
I forgot to hook this up during the development of the controller applet, this PR amends that.
2021-04-12Merge pull request #6186 from lioncash/cache-erasebunnei
query_cache: Make use of std::erase_if
2021-04-12Merge pull request #6193 from lioncash/incguardbunnei
nvidia_flags: Add missing header guard
2021-04-12nvidia_flags: Add missing header guardLioncash
Prevents potential inclusion compilation errors.
2021-04-12kernel/process: Replace process resource limit instance with the kernel's ↵ameerj
resource limit This commit addresses the inaccurate behavior of kernel processes creating their own resource limit, rather than utilizing the kernel's system-wide resource limit instance.
2021-04-12Merge pull request #6192 from lioncash/discardbunnei
k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
2021-04-12k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()Lioncash
This function has a void return value, so this attribute doesn't apply to it.
2021-04-12engine_interface: Add missing virtual destructorLioncash
Eliminates a potential bug vector related to inheritance. Plus, we should generally be specifying the destructor as virtual within purely virtual interfaces to begin with.
2021-04-12vk_master_semaphore: Deduplicate atomic access within IsFree()Lioncash
We can just reuse the already existing KnownGpuTick() to deduplicate the access.
2021-04-12vk_master_semaphore: Add missing const qualifier for IsFree()Lioncash
This member function doesn't modify class state.