summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Address issuesDavid Marcec2020-07-201-2/+2
|
* swkbd: Return result for Calc request for inlined swkbdDavid Marcec2020-07-192-13/+49
| | | | Fixes random swkbd popups in monster hunter
* Prevent nullptr dereference on swkbd error caseDavid Marcec2020-06-241-1/+1
|
* software_keyboard: Eliminate trivial redundant copiesLioncash2020-06-201-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 occursFearlessTobi2020-03-221-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.bunnei2020-02-087-39/+39
|
* services: am: Clear events on PopOutData and PopInteractiveOutData.bunnei2020-02-061-0/+2
|
* am: Refactor IStorage interface.bunnei2020-02-065-10/+10
|
* applets: software_keyboard: Signal state change on end of interactive session.bunnei2020-02-061-0/+1
|
* applets: software_keyboard: Minor cleanup.bunnei2020-02-061-2/+2
|
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-252-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 errorsLioncash2019-11-121-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-improvebunnei2019-11-061-5/+5
|\ | | | | kernel: Improve events
| * kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-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.bunnei2019-11-041-5/+6
|/ | | | - Zero initialization here is useful for determinism.
* applets: Add accessor for AppletFrontendSetZach Hilman2019-09-302-0/+6
| | | | Allows other services to call applets without using LLE.
* service/am: Remove usages of global system accessorsLioncash2019-09-0512-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 membersBakugo2019-07-021-2/+2
|
* applets: Pass current process title ID to appletsZach Hilman2019-06-254-14/+20
| | | | Avoids using system accessor to get current process in applet code.
* general_frontend: Add documentation for parental controls and ecommerce appletsZach Hilman2019-06-252-16/+16
|
* web_browser: Only delete temporary directory if it was createdZach Hilman2019-06-251-1/+3
| | | | Prevents crashes with ShopN applet occasionally.
* web_browser: Take ECommerce applet frontend optionally in constructorZach Hilman2019-06-251-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 initializeZach Hilman2019-06-252-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/ShimKindZach Hilman2019-06-252-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 frontendsZach Hilman2019-06-252-7/+29
|
* applets: Implement Auth applet backendZach Hilman2019-06-252-0/+146
| | | This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
* Merge pull request #2482 from DarkLordZach/prepobunnei2019-06-215-20/+64
|\ | | | | core: Add detailed local reporting feature for development
| * loader: Move NSO module tracking to AppLoaderZach Hilman2019-05-262-3/+4
| | | | | | Also cleanup of general stuff
| * applets/error: Save report on error appletZach Hilman2019-05-251-5/+14
| | | | | | | | This matches official behavior with the erpt/eclct/eupld service chain.
| * applets: Save report on stubbed appletZach Hilman2019-05-254-15/+49
| | | | | | | | This also reworks the applet data storage to be peekable.
* | common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash2019-06-121-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/globalZach Hilman2019-06-052-5/+37
|\ \ | | | | | | core/telemetry_session: Remove usages of the global system accessor
| * | core/core: Remove unnecessary includesLioncash2019-05-292-5/+37
| |/ | | | | | | | | The contents of these includes aren't used anywhere in this translation unit.
* | Merge pull request #1931 from DarkLordZach/mii-database-1bunnei2019-05-302-6/+7
|\ \ | |/ |/| mii: Implement MiiManager backend and several mii service commands
| * mii_manager: Fix incorrect loop condition in mii UUID generation codeZach Hilman2019-04-252-1/+2
| |
| * profile_select: Port Service::Account::UUID to Common::UUIDZach Hilman2019-04-252-5/+5
| |
* | core/kernel/object: Rename ResetType enum membersLioncash2019-05-181-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-constZach Hilman2019-04-178-15/+20
|
* main: Add GMainWindow hooks for Error displayZach Hilman2019-04-171-2/+2
|
* general_backend: Move StubApplet and add backend PhotoViewerZach Hilman2019-04-172-1/+102
|
* applets: Add Error appletZach Hilman2019-04-173-24/+224
| | | Responsible for displaying error codes and messages
* applets: Port current applets to take frontend in constructorZach Hilman2019-04-176-14/+16
| | | As opposed to using Core::System::GetInstance()
* applets: Add AppletManager class to control lifetimeZach Hilman2019-04-172-0/+137
|
* patch_manager: Dump NSO name with build IDZach Hilman2019-03-281-2/+1
|
* game_list: Register content with ContentProviderZach Hilman2019-03-271-2/+3
|
* core/hle/ipc: Remove unnecessary includesLioncash2019-03-052-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 headersLioncash2019-01-171-2/+8
| | | | Gets rid of a few indirect inclusions.
* core/frontend/applets/web_browser: Make OpenPage() non-constLioncash2019-01-171-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-appletbunnei2019-01-103-1/+229
|\ | | | | applets: Implement HLE web browser applet (LibAppletOff)
| * web_browser: Add bounds checking to applet interfaceZach Hilman2018-12-291-7/+7
| |
| * core: Add getter and setter for WebBrowserApplet frontendZach Hilman2018-12-281-1/+1
| |
| * applets: Implement LibAppletOff (Web) appletZach Hilman2018-12-282-0/+228
| |
* | core/kernel: Remove unnecessary inclusionsLioncash2019-01-012-2/+2
|/ | | | Gets rid of a few unnecessary header dependencies in some source files.
* Merge pull request #1781 from DarkLordZach/applet-profile-selectbunnei2018-12-232-0/+127
|\ | | | | am: Implement HLE profile selector applet
| * applets: Correct event ResetTypes from OneShot to StickyZach Hilman2018-12-034-13/+5
| | | | | | | | Fixes bugs relating to signalling in software keyboard.
| * applets: Implement ProfileSelect appletZach Hilman2018-12-032-0/+130
| | | | | | Allows the player to select an emulated profile.
| * software_keyboard: Signal state changed event upon constructionZach Hilman2018-12-031-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 eventZach Hilman2018-12-102-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 ReadableEventZach Hilman2018-11-291-5/+1
|
* kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-292-18/+12
|
* core: Port all current usages of Event to Readable/WritableEventZach Hilman2018-11-292-20/+28
|
* am: Return StubApplet instead of nullptr when AppletId not foundZach Hilman2018-11-222-7/+5
|
* applets: Add StubAppletZach Hilman2018-11-222-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.Lioncash2018-11-204-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 applicableLioncash2018-11-202-2/+9
| | | | | Also resolve places where includes should have been provided, but weren't.
* am/applets: Relocate comments above the relevant data member in AppletDataBrokerLioncash2018-11-201-11/+18
| | | | Avoids wonky wrapping and makes it nicer to read.
* software_keyboard: Fix erroneous extra PushNormalDataZach Hilman2018-11-191-3/+2
|
* software_keyboard: Return correct result code on user cancel operationZach Hilman2018-11-193-5/+1
|
* applet: Add AppletDataBroker to manage HLE to AM service interactionZach Hilman2018-11-194-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 stringZach Hilman2018-11-191-1/+2
|
* software_keyboard: Check for UTF-8 config flagZach Hilman2018-11-192-9/+23
|
* software_keyboard: Push all data over all channels on dialog completionZach Hilman2018-11-181-18/+26
|
* applet: Use std::queue instead of std::vector for storage stackZach Hilman2018-11-184-8/+22
|
* applet: Add operation completed callbackZach Hilman2018-11-181-1/+1
|
* software_keyboard: Push buffer size to offset 0x4 in output dataZach Hilman2018-11-183-7/+20
|
* software_keyboard: Make GetText asynchronousZach Hilman2018-11-182-5/+19
| | | | a
* am: Allow applets to push multiple and different channels of dataZach Hilman2018-11-183-18/+18
|
* am: Implement text check software keyboard modeZach Hilman2018-11-182-9/+63
| | | | Allows the game to verify and send a message to the frontend.
* am: Deglobalize software keyboard appletZach Hilman2018-11-184-18/+29
|
* am/applets: Add connector between frontend and AM applet classesZach Hilman2018-11-182-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 appletZach Hilman2018-11-182-0/+75
Adds an Initialize and Execute methods which are used by the ILibraryAppletAccessor to start and control the applet.