Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | service: Eliminate cases of member shadowing | Lioncash | 2021-04-26 | 2 | -4/+4 |
| | | | | | Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors. | ||||
* | applets: Send focus state change message on applet state change | Morph | 2021-04-17 | 8 | -17/+46 |
| | | | | Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe. | ||||
* | applets: Make the applet mode a protected property of Applet | Morph | 2021-04-17 | 14 | -22/+20 |
| | |||||
* | applets/swkbd: Implement the Normal and Inline Software Keyboard Applet | Morph | 2021-04-15 | 3 | -13/+1487 |
| | |||||
* | applets: Pass in the LibraryAppletMode each applet's constructor | Morph | 2021-04-15 | 12 | -31/+56 |
| | |||||
* | applets: Remove the previous software keyboard applet implementation | Morph | 2021-04-15 | 2 | -227/+6 |
| | |||||
* | Merge pull request #5902 from lioncash/core-warn | bunnei | 2021-02-12 | 1 | -1/+2 |
|\ | | | | | core: Silence various warnings on Clang 12 | ||||
| * | am/controller: Remove [[fallthrough]] from unreachable path | Lioncash | 2021-02-09 | 1 | -1/+2 |
| | | | | | | | | | | Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro. | ||||
* | | software_keyboard: Implement Finalize request command | Morph | 2021-02-11 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #5326 from german77/hidUpdate1 | bunnei | 2021-02-06 | 1 | -1/+1 |
|\ | | | | | HID: Update the HID service to match more closely to switchbrew part 1 | ||||
| * | Fix npad struct to match switchbrew | german | 2021-02-04 | 1 | -1/+1 |
| | | |||||
* | | hle: kernel: Reimplement KReadableEvent and KWritableEvent. | bunnei | 2021-02-05 | 2 | -18/+24 |
| | | |||||
* | | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 2021-02-05 | 2 | -5/+5 |
| | | |||||
* | | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 2021-02-05 | 2 | -7/+7 |
|/ | |||||
* | common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT | ReinUsesLisp | 2021-01-15 | 1 | -5/+5 |
| | | | | INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior. | ||||
* | applets/web: Implement the online web browser applet | Morph | 2020-12-18 | 2 | -3/+11 |
| | |||||
* | main, applets/web: Re-add progress dialog for RomFS extraction | Morph | 2020-12-18 | 2 | -32/+44 |
| | |||||
* | pl_u, applets/web: Decrypt shared fonts to TTF files | Morph | 2020-12-18 | 1 | -0/+86 |
| | |||||
* | applets/web: Implement the default web browser applet frontend | Morph | 2020-12-18 | 1 | -1/+4 |
| | |||||
* | applets/web: Implement the offline browser applet backend | Morph | 2020-12-18 | 2 | -13/+143 |
| | |||||
* | applets/web: Initial implementation of the web browser applet | Morph | 2020-12-18 | 3 | -2/+428 |
| | |||||
* | applets: Remove the previous web browser applet implementation | Morph | 2020-12-18 | 4 | -609/+37 |
| | |||||
* | Merge pull request #5166 from lioncash/log-cast | bunnei | 2020-12-09 | 2 | -4/+4 |
|\ | | | | | core: Remove unnecessary enum casts in log calls | ||||
| * | core: Remove unnecessary enum casts in log calls | Lioncash | 2020-12-08 | 2 | -4/+4 |
| | | | | | | | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts. | ||||
* | | Merge pull request #5135 from Morph1984/applets-shadow | bunnei | 2020-12-09 | 1 | -1/+1 |
|\ \ | | | | | | | applets: Resolve variable shadowing | ||||
| * | | applets: Resolve variable shadowing | Morph | 2020-12-05 | 1 | -1/+1 |
| |/ | |||||
* | | controller: Use std::move within ConvertToFrontendParameters() | Lioncash | 2020-12-08 | 1 | -3/+3 |
| | | | | | | | | Avoids unnecessary copies. | ||||
* | | controller: Avoid unnecessary copies in ConfigurationComplete() | Lioncash | 2020-12-08 | 1 | -9/+8 |
|/ | | | | | Avoids unnecessary 1072 byte copies when querying info about controllers. | ||||
* | service: Eliminate usages of the global system instance | Lioncash | 2020-11-27 | 10 | -26/+34 |
| | | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services. | ||||
* | controllers/npad: Rename NPadType to NpadStyleSet | Morph | 2020-11-16 | 1 | -1/+1 |
| | | | | This more accurately represents the underlying type and avoids confusion with NpadType | ||||
* | settings: Preparation for per-game input settings | Morph | 2020-11-16 | 1 | -1/+1 |
| | |||||
* | applets: Rename LibraryAppletVersion to ControllerAppletVersion | Morph | 2020-11-08 | 2 | -15/+15 |
| | |||||
* | applets/controller: Pop normal data for StrapGuide and FirmwareUpdate | Morph | 2020-11-08 | 2 | -6/+19 |
| | |||||
* | applets/controller: Introduce additional checks for mode and caller | Morph | 2020-11-08 | 2 | -5/+39 |
| | | | | | Some games like Cave Story+ set invalid values in the ControllerPrivateArg's mode and caller fields. Use other fields to determine the appropriate mode and caller should either or both fields be invalid. | ||||
* | applets/controller: Add ControllerUpdateFirmwareArg struct | Morph | 2020-11-08 | 1 | -0/+7 |
| | |||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 1 | -13/+13 |
| | |||||
* | core: Fix clang build | Lioncash | 2020-10-18 | 1 | -13/+13 |
| | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | frontend/controller: Eliminate dependency on the global system instance | Lioncash | 2020-09-26 | 1 | -1/+2 |
| | |||||
* | Address feedback | Morph | 2020-09-04 | 2 | -0/+7 |
| | |||||
* | applets/controller: Set min_players to have a minimum value of 1. | Morph | 2020-09-04 | 1 | -1/+1 |
| | | | | - Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask. | ||||
* | applets/controller: Implement "Explain Text" | Morph | 2020-09-04 | 2 | -16/+26 |
| | | | | "Explain Text" is additional text that is shown for each player in the controller applet. | ||||
* | Project Mjölnir: Part 2 - Controller Applet | Morph | 2020-09-04 | 4 | -31/+375 |
| | | | | Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | common/fileutil: Convert namespace to Common::FS | Lioncash | 2020-08-16 | 1 | -8/+8 |
| | | | | | | | | | | | | Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing. | ||||
* | software_keyboard: Resolve a pessimizing move warning | Lioncash | 2020-08-14 | 1 | -2/+1 |
| | | | | | A std::vector created in place like this is already an rvalue and doesn't need to be moved. | ||||
* | General: Tidy up clang-format warnings part 2 | Lioncash | 2020-08-13 | 1 | -1/+2 |
| | |||||
* | Address issues | David Marcec | 2020-07-20 | 1 | -2/+2 |
| | |||||
* | swkbd: Return result for Calc request for inlined swkbd | David Marcec | 2020-07-19 | 2 | -13/+49 |
| | | | | Fixes random swkbd popups in monster hunter | ||||
* | Prevent nullptr dereference on swkbd error case | David Marcec | 2020-06-24 | 1 | -1/+1 |
| | |||||
* | software_keyboard: Eliminate trivial redundant copies | Lioncash | 2020-06-20 | 1 | -2/+2 |
| | | | | We can just make use of moves here to get rid of two redundant copies | ||||
* | core/web_browser: Allow WebApplet to exit gracefully when an error occurs | FearlessTobi | 2020-03-22 | 1 | -0/+6 |
| | | | | | | | | Currently, yuzu just freezes when an error occurs while Initializing the WebApplet. From a user perspective, this obviously isn't great as the game just softlocks. With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally. This works around https://github.com/yuzu-emu/yuzu/issues/2852. | ||||
* | hle: services: Use std::shared_ptr instead of copy by value. | bunnei | 2020-02-08 | 7 | -39/+39 |
| | |||||
* | services: am: Clear events on PopOutData and PopInteractiveOutData. | bunnei | 2020-02-06 | 1 | -0/+2 |
| | |||||
* | am: Refactor IStorage interface. | bunnei | 2020-02-06 | 5 | -10/+10 |
| | |||||
* | applets: software_keyboard: Signal state change on end of interactive session. | bunnei | 2020-02-06 | 1 | -0/+1 |
| | |||||
* | applets: software_keyboard: Minor cleanup. | bunnei | 2020-02-06 | 1 | -2/+2 |
| | |||||
* | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 2019-11-25 | 2 | -6/+6 |
| | | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details. | ||||
* | service: Resolve sign conversion errors | Lioncash | 2019-11-12 | 1 | -8/+8 |
| | | | | | These are fairly trivial to resolve and most of the changes entail using RESULT_UNKNOWN over ResultCode(-1). | ||||
* | Merge pull request #3062 from bunnei/event-improve | bunnei | 2019-11-06 | 1 | -5/+5 |
|\ | | | | | kernel: Improve events | ||||
| * | kernel: events: Remove ResetType::Automatic. | bunnei | 2019-11-03 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | - This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp | ||||
* | | common_func: Use std::array for INSERT_PADDING_* macros. | bunnei | 2019-11-04 | 1 | -5/+6 |
|/ | | | | - Zero initialization here is useful for determinism. | ||||
* | applets: Add accessor for AppletFrontendSet | Zach Hilman | 2019-09-30 | 2 | -0/+6 |
| | | | | Allows other services to call applets without using LLE. | ||||
* | service/am: Remove usages of global system accessors | Lioncash | 2019-09-05 | 12 | -48/+88 |
| | | | | | | Avoids the use of global accessors, removing the reliance on global state. This also makes dependencies explicit in the interface, as opposed to being hidden | ||||
* | file_sys: Rename other ContentRecordType members | Bakugo | 2019-07-02 | 1 | -2/+2 |
| | |||||
* | applets: Pass current process title ID to applets | Zach Hilman | 2019-06-25 | 4 | -14/+20 |
| | | | | Avoids using system accessor to get current process in applet code. | ||||
* | general_frontend: Add documentation for parental controls and ecommerce applets | Zach Hilman | 2019-06-25 | 2 | -16/+16 |
| | |||||
* | web_browser: Only delete temporary directory if it was created | Zach Hilman | 2019-06-25 | 1 | -1/+3 |
| | | | | Prevents crashes with ShopN applet occasionally. | ||||
* | web_browser: Take ECommerce applet frontend optionally in constructor | Zach Hilman | 2019-06-25 | 1 | -1/+6 |
| | | | If it is needed but wasn't passed (or passed nullptr), the Shop handling code will alert and throw an error. | ||||
* | web_browser: Use function tables for execute and initialize | Zach Hilman | 2019-06-25 | 2 | -7/+285 |
| | | | Allows easy handling of multiple shim types, as they have enough in common to be the same backend but not enough to share init/exec. | ||||
* | web_browser: Correct structures and properly parse TLVs/ShimKind | Zach Hilman | 2019-06-25 | 2 | -61/+168 |
| | | | Much, much more HW-accurate and allows us to easily support all of the different web 'shim' types. | ||||
* | applets: Track ECommerce and Parental Control applet frontends | Zach Hilman | 2019-06-25 | 2 | -7/+29 |
| | |||||
* | applets: Implement Auth applet backend | Zach Hilman | 2019-06-25 | 2 | -0/+146 |
| | | | This is responsible for parental controls and supports verifying, changing, and registering PIN codes. | ||||
* | Merge pull request #2482 from DarkLordZach/prepo | bunnei | 2019-06-21 | 5 | -20/+64 |
|\ | | | | | core: Add detailed local reporting feature for development | ||||
| * | loader: Move NSO module tracking to AppLoader | Zach Hilman | 2019-05-26 | 2 | -3/+4 |
| | | | | | | Also cleanup of general stuff | ||||
| * | applets/error: Save report on error applet | Zach Hilman | 2019-05-25 | 1 | -5/+14 |
| | | | | | | | | This matches official behavior with the erpt/eclct/eupld service chain. | ||||
| * | applets: Save report on stubbed applet | Zach Hilman | 2019-05-25 | 4 | -15/+49 |
| | | | | | | | | This also reworks the applet data storage to be peekable. | ||||
* | | common/hex_util: Combine HexVectorToString() and HexArrayToString() | Lioncash | 2019-06-12 | 1 | -6/+6 |
| | | | | | | | | | | | | These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays. | ||||
* | | Merge pull request #2526 from lioncash/global | Zach Hilman | 2019-06-05 | 2 | -5/+37 |
|\ \ | | | | | | | core/telemetry_session: Remove usages of the global system accessor | ||||
| * | | core/core: Remove unnecessary includes | Lioncash | 2019-05-29 | 2 | -5/+37 |
| |/ | | | | | | | | | The contents of these includes aren't used anywhere in this translation unit. | ||||
* | | Merge pull request #1931 from DarkLordZach/mii-database-1 | bunnei | 2019-05-30 | 2 | -6/+7 |
|\ \ | |/ |/| | mii: Implement MiiManager backend and several mii service commands | ||||
| * | mii_manager: Fix incorrect loop condition in mii UUID generation code | Zach Hilman | 2019-04-25 | 2 | -1/+2 |
| | | |||||
| * | profile_select: Port Service::Account::UUID to Common::UUID | Zach Hilman | 2019-04-25 | 2 | -5/+5 |
| | | |||||
* | | core/kernel/object: Rename ResetType enum members | Lioncash | 2019-05-18 | 1 | -3/+3 |
|/ | | | | | | | | | | | | | Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore. | ||||
* | web_browser: Make OpenPage non-const | Zach Hilman | 2019-04-17 | 8 | -15/+20 |
| | |||||
* | main: Add GMainWindow hooks for Error display | Zach Hilman | 2019-04-17 | 1 | -2/+2 |
| | |||||
* | general_backend: Move StubApplet and add backend PhotoViewer | Zach Hilman | 2019-04-17 | 2 | -1/+102 |
| | |||||
* | applets: Add Error applet | Zach Hilman | 2019-04-17 | 3 | -24/+224 |
| | | | Responsible for displaying error codes and messages | ||||
* | applets: Port current applets to take frontend in constructor | Zach Hilman | 2019-04-17 | 6 | -14/+16 |
| | | | As opposed to using Core::System::GetInstance() | ||||
* | applets: Add AppletManager class to control lifetime | Zach Hilman | 2019-04-17 | 2 | -0/+137 |
| | |||||
* | patch_manager: Dump NSO name with build ID | Zach Hilman | 2019-03-28 | 1 | -2/+1 |
| | |||||
* | game_list: Register content with ContentProvider | Zach Hilman | 2019-03-27 | 1 | -2/+3 |
| | |||||
* | core/hle/ipc: Remove unnecessary includes | Lioncash | 2019-03-05 | 2 | -0/+4 |
| | | | | | | | | | | | Removes a few inclusion dependencies from the headers or replaces existing ones with ones that don't indirectly include the required headers. This allows removing an inclusion of core/memory.h, meaning that if the memory header is ever changed in the future, it won't result in rebuilding the entirety of the HLE services (as the IPC headers are used quite ubiquitously throughout the HLE service implementations). | ||||
* | core/frontend/applets/web_browser: Include missing headers | Lioncash | 2019-01-17 | 1 | -2/+8 |
| | | | | Gets rid of a few indirect inclusions. | ||||
* | core/frontend/applets/web_browser: Make OpenPage() non-const | Lioncash | 2019-01-17 | 1 | -1/+1 |
| | | | | | | | | This is a function that definitely doesn't always have a non-modifying behavior across all implementations, so this should be made non-const. This gets rid of the need to mark data members as mutable to work around the fact mutating data members needs to occur. | ||||
* | Merge pull request #1939 from DarkLordZach/web-applet | bunnei | 2019-01-10 | 3 | -1/+229 |
|\ | | | | | applets: Implement HLE web browser applet (LibAppletOff) | ||||
| * | web_browser: Add bounds checking to applet interface | Zach Hilman | 2018-12-29 | 1 | -7/+7 |
| | | |||||
| * | core: Add getter and setter for WebBrowserApplet frontend | Zach Hilman | 2018-12-28 | 1 | -1/+1 |
| | | |||||
| * | applets: Implement LibAppletOff (Web) applet | Zach Hilman | 2018-12-28 | 2 | -0/+228 |
| | | |||||
* | | core/kernel: Remove unnecessary inclusions | Lioncash | 2019-01-01 | 2 | -2/+2 |
|/ | | | | Gets rid of a few unnecessary header dependencies in some source files. | ||||
* | Merge pull request #1781 from DarkLordZach/applet-profile-select | bunnei | 2018-12-23 | 2 | -0/+127 |
|\ | | | | | am: Implement HLE profile selector applet | ||||
| * | applets: Correct event ResetTypes from OneShot to Sticky | Zach Hilman | 2018-12-03 | 4 | -13/+5 |
| | | | | | | | | Fixes bugs relating to signalling in software keyboard. | ||||
| * | applets: Implement ProfileSelect applet | Zach Hilman | 2018-12-03 | 2 | -0/+130 |
| | | | | | | Allows the player to select an emulated profile. | ||||
| * | software_keyboard: Signal state changed event upon construction | Zach Hilman | 2018-12-03 | 1 | -1/+6 |
| | | | | | | Previously, ILibraryAppletAccessor would signal upon creation of any applet, but this is incorrect. A flag inside of the applet code determines whether or not creation should signal state change and swkbd happens to be one of these applets. | ||||
* | | applets: Correct usage of SignalStateChanged event | Zach Hilman | 2018-12-10 | 2 | -5/+4 |
|/ | | | | This was causing some games (most notably Pokemon Quest) to softlock due to an event being fired when not supposed to. This also removes a hack wherein we were firing the state changed event when the game retrieves it, which is incorrect. | ||||
* | hle_ipc: Refactor SleepClientThread to avoid ReadableEvent | Zach Hilman | 2018-11-29 | 1 | -5/+1 |
| | |||||
* | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 2018-11-29 | 2 | -18/+12 |
| | |||||
* | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 2018-11-29 | 2 | -20/+28 |
| | |||||
* | am: Return StubApplet instead of nullptr when AppletId not found | Zach Hilman | 2018-11-22 | 2 | -7/+5 |
| | |||||
* | applets: Add StubApplet | Zach Hilman | 2018-11-22 | 2 | -0/+96 |
| | | | | This will log all data it receives, log all calls to its methods and push dummy data into both channels on execution. | ||||
* | am/applets: Make the applet data broker part of the applet itself. | Lioncash | 2018-11-20 | 4 | -20/+27 |
| | | | | | The accessor should be doing just that, accessing, rather than retaining the lifetime of the data broker as well. | ||||
* | am/applets: Replace includes with forward declarations where applicable | Lioncash | 2018-11-20 | 2 | -2/+9 |
| | | | | | Also resolve places where includes should have been provided, but weren't. | ||||
* | am/applets: Relocate comments above the relevant data member in AppletDataBroker | Lioncash | 2018-11-20 | 1 | -11/+18 |
| | | | | Avoids wonky wrapping and makes it nicer to read. | ||||
* | software_keyboard: Fix erroneous extra PushNormalData | Zach Hilman | 2018-11-19 | 1 | -3/+2 |
| | |||||
* | software_keyboard: Return correct result code on user cancel operation | Zach Hilman | 2018-11-19 | 3 | -5/+1 |
| | |||||
* | applet: Add AppletDataBroker to manage HLE to AM service interaction | Zach Hilman | 2018-11-19 | 4 | -47/+159 |
| | | | | This cleans up most of the callbacks and such in the Applets::Applet interface, while also properly implementing all four data channels. | ||||
* | software_keyboard: Use correct offset for inital text string | Zach Hilman | 2018-11-19 | 1 | -1/+2 |
| | |||||
* | software_keyboard: Check for UTF-8 config flag | Zach Hilman | 2018-11-19 | 2 | -9/+23 |
| | |||||
* | software_keyboard: Push all data over all channels on dialog completion | Zach Hilman | 2018-11-18 | 1 | -18/+26 |
| | |||||
* | applet: Use std::queue instead of std::vector for storage stack | Zach Hilman | 2018-11-18 | 4 | -8/+22 |
| | |||||
* | applet: Add operation completed callback | Zach Hilman | 2018-11-18 | 1 | -1/+1 |
| | |||||
* | software_keyboard: Push buffer size to offset 0x4 in output data | Zach Hilman | 2018-11-18 | 3 | -7/+20 |
| | |||||
* | software_keyboard: Make GetText asynchronous | Zach Hilman | 2018-11-18 | 2 | -5/+19 |
| | | | | a | ||||
* | am: Allow applets to push multiple and different channels of data | Zach Hilman | 2018-11-18 | 3 | -18/+18 |
| | |||||
* | am: Implement text check software keyboard mode | Zach Hilman | 2018-11-18 | 2 | -9/+63 |
| | | | | Allows the game to verify and send a message to the frontend. | ||||
* | am: Deglobalize software keyboard applet | Zach Hilman | 2018-11-18 | 4 | -18/+29 |
| | |||||
* | am/applets: Add connector between frontend and AM applet classes | Zach Hilman | 2018-11-18 | 2 | -0/+128 |
| | | | Provides a middleman between the Frontend provider class and the expected AM::Applets::Applet class needed by ILibraryAppletAccessor | ||||
* | am/applets: Add Applet superclass to describe a generic applet | Zach Hilman | 2018-11-18 | 2 | -0/+75 |
Adds an Initialize and Execute methods which are used by the ILibraryAppletAccessor to start and control the applet. |