Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |