Commit Graph

134 Commits

Author SHA1 Message Date
yellows8
3a14e9094a
Fixed error handling with appletHolderPushInData() for tmem-storage in swkbdShow(). 2019-03-28 21:01:04 -04:00
yellows8
b463693094 Changed errorApplicationSetNumber to static inline. 2019-03-28 20:19:38 -04:00
yellows8
8b5a4d580d Various minor changes + changed some error* funcs to static inline. Removed errorResultBacktraceClose, errorSystemClose, and errorApplicationClose. 2019-03-28 20:19:38 -04:00
yellows8
b91bc09c57 Added ErrorType enum. errorCode* funcs are now static inline + minor changes. Updated docs. 2019-03-28 20:19:38 -04:00
yellows8
505042bc73 Added ErrorCode and the funcs for it, funcs which use low/desc now use this instead. Updated docs. 2019-03-28 20:19:38 -04:00
yellows8
0ea16ae8c7 Added errorResultRecordShow/errorCodeRecordShow. 2019-03-28 20:19:38 -04:00
yellows8
f6287086d3 Added errorResultShow/errorCodeShow. Updated ErrorCommonHeader and added ErrorPctlArg. 2019-03-28 20:19:38 -04:00
yellows8
6be5ad949e In errorSystemSetContext(), return immediately on pre-4.0.0. 2019-03-28 20:19:38 -04:00
yellows8
68e3204a88 Added support for errorResultBacktrace*. Updated/added error structs. 2019-03-28 20:19:38 -04:00
yellows8
018441a1f6 Added support for errorEulaShow/errorSystemUpdateEulaShow. 2019-03-28 20:19:38 -04:00
yellows8
1ec8e3b29e Added support for error Application. Allow passing NULL to errorSystemCreate() for fullscreen_message, and minor other adjustments. 2019-03-28 20:19:38 -04:00
yellows8
3995447de7 Renamed error funcs and updated/added structs. Updated errorSystemCreate. Merged errorConfigSetShortDescription/errorConfigSetDetailedDescription into errorSystemCreate. Replaced errorConfigSetModule/errorConfigSetDescription with errorSystemSetCode, and added an errorSystemSetResult wrapper. Added errorSystemSetLanguageCode and errorSystemSetContext. 2019-03-28 20:19:38 -04:00
yellows8
9bf699f712 Improved error-applet launching handling. Updated ErrorConfig and added ErrorContext. 2019-03-28 20:19:38 -04:00
Liam Minopulos
ecfc8f8966 Added error LibraryApplet wrapper (#243)
* Implement error applet
2019-03-28 20:19:38 -04:00
yellows8
275a61a2e2 Improved WebWifi, including handling for NULL conntest_url. 2019-03-09 16:18:10 -05:00
yellows8
bf3673c19f Added WebFooterFixedKind enum. Actually check sysver in webConfigSetFooterFixedKind. Updated web docs. 2019-03-07 21:36:48 -05:00
yellows8
4160622165 Support passing NULL for webConfigShow out. Minor docs adjustment. 2019-03-06 23:46:46 -05:00
yellows8
9d0603845a Updated WebBootDisplayKind and added WebBackgroundKind + WebLeftStickMode. Improved web docs. 2019-03-05 23:33:54 -05:00
yellows8
18a4351330 Use the actual enum for webConfigSetBootDisplayKind instead of u32. Improved web docs. 2019-03-04 17:20:18 -05:00
yellows8
a897b9a836 Moved web common AppletHolder into WebCommonConfig, _webShow now takes AppletHolder as a param. Added webConfigRequestExit. Renamed WebExitReason_Unknown2 to WebExitReason_Requested. 2019-03-04 10:46:19 -05:00
yellows8
c10508d95e Added WebExitReason enum and improved LastUrl/CallbackUrl docs. 2019-03-03 23:30:06 -05:00
yellows8
ded540e5f1 Implemented full support for web Offline-applet + minor other changes. Improved web docs. 2019-03-03 20:37:14 -05:00
yellows8
b19c35fe2c Added webReplyGet* funcs. Added WebReplyType enum and _webTLVReadVarSize. 2019-03-02 20:44:22 -05:00
yellows8
2ed160624a webConfigShow now uses new struct WebCommonReply as the output, for supporting WebCommonTLVStorage reply data. 2019-03-02 11:11:39 -05:00
yellows8
bc7b178036 Added webConfigSetAdditionalCommentText, webConfigSetAdditionalMediaData, and webConfigSetMediaCreatorApplicationRatingAge. Improved web docs. 2019-03-01 22:49:01 -05:00
yellows8
166652a0eb Removed version check from webShareCreate. 2019-03-01 22:25:23 -05:00
yellows8
dc3cf7084e Added webConfigSetAlbumEntry and webConfigSetApplicationAlbumEntry. 2019-03-01 22:17:11 -05:00
yellows8
fbf1aab792 Initial support for web ShareApplet. Check shim-kind in webConfigSetDisplayUrlKind. 2019-03-01 21:54:45 -05:00
yellows8
6211510b21 In webConfigSetBootAsMediaPlayer with News on 3.0.0+, set WebArgType_BootAsMediaPlayerInverted. Added _webTLVRead/_webConfigGet*. Improved web docs. 2019-03-01 16:33:13 -05:00
yellows8
121f2cf868 Added webConfigSetScreenShot, and minor other web changes. 2019-02-28 22:15:18 -05:00
yellows8
4ef0dd09f0 Added webConfigSetMediaPlayerUserGestureRestriction, webConfigSetJsExtension, webConfigSetTouchEnabledOnContents, webConfigSetPageCache, webConfigSetWebAudio, webConfigSetFooterFixedKind, webConfigSetPageFade, webConfigSetBootLoadingIcon, and webConfigSetPageScrollIndicator. Minor other changes. 2019-02-28 21:54:08 -05:00
yellows8
5f9264df16 Added webConfigSetFooter and webConfigSetKeyRepeatFrame. 2019-02-28 17:54:57 -05:00
yellows8
344d87a3e4 Added support for web Lobby applet. Added webConfigSetBackgroundKind, webConfigSetPointer, and webConfigSetLeftStickMode. Fixed order of web funcs. Minor other web adjustments. 2019-02-28 13:07:56 -05:00
yellows8
6736053ae1 Added webConfigSetUserID, and internal web adjustments. 2019-02-27 22:48:48 -05:00
yellows8
526441a547 Added webYouTubeVideoCreate and improved web docs. 2019-02-27 20:44:11 -05:00
yellows8
eb750b641b Added webNewsCreate, webConfigSetEcClientCert, and webConfigSetShopJump. Improved web docs. 2019-02-27 17:52:00 -05:00
yellows8
ef71282f31 Added webConfigSetBootAsMediaPlayer and webConfigSetMediaPlayerAutoClose. Updated WebBootDisplayKind. Removed 'Enabled' from WebArgType enums. 2019-02-26 21:54:47 -05:00
yellows8
a48f7c3502 Added webConfigSetBootDisplayKind and enum WebBootDisplayKind. Added enum WebShimKind_Offline. Minor other web adjustments. 2019-02-26 19:40:20 -05:00
yellows8
9e11dd1bd7 Added error handling for web TLVs. webPageCreate and webConfigSet* now return Result. Moved webWifiCreate/webWifiShow immediately after _webShow in web.c. 2019-02-26 17:55:16 -05:00
yellows8
2cd9825074 Added webConfigSetCallbackUrl, webConfigSetCallbackableUrl, and webConfigSetUserAgentAdditionalString. Improved web docs. 2019-02-26 15:16:26 -05:00
yellows8
50e2d43b70 Added WebArgType enum. 2019-02-25 23:22:49 -05:00
yellows8
91bf06653e Added webConfigSetDisplayUrlKind. Added more _webConfigSet* funcs. 2019-02-25 21:23:53 -05:00
yellows8
708ad83ead Renamed webShow to webConfigShow. Added webConfigSetWhitelist. 2019-02-25 20:12:36 -05:00
yellows8
7ccc29f397 Internal web arg handling improvements. 2019-02-25 19:38:15 -05:00
yellows8
ec5f1dc17f Renamed WebPageConfig to WebCommonConfig with more fields. Renamed webPageShow to webShow. Various web improvements including version handling. 2019-02-25 19:08:49 -05:00
yellows8
4b8e501fdb Various web improvements, changed/added some structs. 2019-02-23 17:00:10 -05:00
yellows8
0a230bae65 Fixed issue in _webTLVWrite. Updated web docs. The url param for webPageCreate is no longer optional. 2019-02-21 00:15:09 -05:00
yellows8
601c76b508 Initial support for WebApplet/non-webWifi. 2019-02-20 23:42:17 -05:00
yellows8
425df41e7e Improved internal web applet launching/exit handling. 2019-02-20 18:34:16 -05:00
yellows8
d90893c566 Expose libappletCreateWriteStorage. 2019-02-19 21:46:53 -05:00
yellows8
e2f05654dd Moved web applet-exit handling into a dedicated func, which can optionally handle reading the applet reply storage. Added out param to webWifiShow for the applet reply data. 2019-02-18 22:32:18 -05:00
yellows8
f392dc0ce2 Added libappletReadStorage and libappletPopOutData. 2019-02-18 22:29:53 -05:00
yellows8
e3f021bab3 Verify that the version is 2.0.0+ in swkbdInlineCreate. 2019-02-18 16:42:12 -05:00
fincs
11b7bece4a Change all services except fatal to use hosversion* instead of kernelAboveXYZ 2019-02-18 21:48:49 +01:00
yellows8
6c3f72929d Fixed WebWifiPageArg struct, improved web-wifi handling and added docs. 2019-02-18 12:29:40 -05:00
yellows8
b3b5816fd0 Added swkbdInlineAppearArgSetLeftButtonText and swkbdInlineAppearArgSetRightButtonText. 2019-01-28 21:15:45 -05:00
yellows8
2ebac06061 Updated swkbdInlineMakeAppearArg, this now just writes defaults and sets type to the input param. Added swkbdInlineAppearArgSetOkButtonText. 2019-01-28 16:54:38 -05:00
yellows8
6b91ac26a5 Added swkbdInlineSetUserWordInfo/swkbdInlineUnsetUserWordInfo. Handle storage-tmem closing in _swkbdProcessReply. Better CustomizeDic handling. Other changes. 2019-01-22 22:29:48 -05:00
yellows8
4a119e4028 Added swkbdInlineSetCustomizeDic/swkbdInlineUnsetCustomizeDic. Updated SwkbdChangedStringArg struct. 2019-01-21 18:33:15 -05:00
yellows8
be8e196eb0 Moved state field from swkbdInlineUpdate into SwkbdInline, and added out_state param. Removed unused State param from _swkbdProcessReply. Added SwkbdState enum. 2019-01-18 23:48:31 -05:00
yellows8
dbadcd76ed Implemented _swkbdProcessReply() with actual handling. Added set-callback funcs. Automatically call swkbdInlineSetUtf8Mode in swkbdInlineCreate. 2019-01-18 22:11:41 -05:00
Samuel P
8360e561c5 Added WifiWebAuthApplet launching (#233)
* Added WifiWebAuthApplet launching
2019-01-18 20:00:34 -05:00
yellows8
40d5fb8587 Added SwkbdReplyType. Added initial impl for _swkbdProcessReply. 2019-01-17 21:31:18 -05:00
yellows8
4250fb3752 Updated SwkbdInlineCalcArg struct. Added: swkbdInlineSetKeytopBgAlpha, swkbdInlineSetFooterBgAlpha, swkbdInlineSetKeytopScale, and swkbdInlineSetKeytopTranslate. Implemented field updating in swkbdInlineUpdate. 2019-01-16 20:34:53 -05:00
yellows8
8cc321d0f1 Allocate tmp-buffers for swkbd-inline, for use in swkbdInlineUpdate. Moved code for writing bool flags into dedicated funcs. Added: swkbdInlineSetInputModeFadeType, swkbdInlineSetAlphaEnabledInInputMode, swkbdInlineSetKeytopAsFloating, swkbdInlineSetFooterScalable. Removed a comment. 2019-01-15 21:31:02 -05:00
yellows8
74683089a0 Fixed+updated swkbd-inline structs. Added: swkbdInlineSetVolume, swkbdInlineSetInputText, swkbdInlineSetCursorPos, swkbdInlineSetUtf8Mode, swkbdInlineSetTouchFlag, swkbdInlineSetUSBKeyboardFlag, swkbdInlineSetDirectionalButtonAssignFlag, swkbdInlineSetSeGroup, and swkbdInlineSetBackspaceFlag. Added some storage reading to swkbdInlineUpdate. 2019-01-15 16:51:19 -05:00
yellows8
1a91c10c19 Added SwkbdInlineMode enum. 2019-01-14 14:57:28 -05:00
yellows8
9d5127d37d Improved keySetDisableBitmask handling in swkbdInlineMakeAppearArg. 2019-01-14 11:14:50 -05:00
yellows8
a812587a31 Updated SwkbdAppearArg. Updated comments. 2019-01-13 19:51:01 -05:00
yellows8
8cd2808eff Added swkbdInlineAppear, swkbdInlineDisappear, and swkbdInlineMakeAppearArg. Updated SwkbdAppearArg. 2019-01-11 18:24:14 -05:00
yellows8
2900622cb5 Initial SwkbdInline impl, minor swkbd adjustments. 2019-01-04 22:05:06 -05:00
yellows8
653bcb27c9 Added SwkbdTextDrawType and replaced unk_x3b8 with textDrawType. 2018-12-24 01:00:39 -05:00
yellows8
21e01dfd68 Added SwkbdKeyDisableBitmask. 2018-12-23 22:55:19 -05:00
yellows8
477058d28a Added SwkbdType. Specifically set the type to SwkbdType_Normal in the Preset funcs which use it. Set type properly on 5.0.0+ for swkbdConfigMakePresetDownloadCode. Improved swkbd docs, including documenting what fields are set by the Preset funcs. 2018-12-23 01:26:00 -05:00
yellows8
56b767efbf Implemented actual swkbd TextCheck support. Moved strbuf alloc from _swkbdProcessOutput into swkbdShow(), so that it can be used for TextCheck. Added validation for the out_string* params in swkbdShow(). The out_string buffer is now cleared before calling _swkbdProcessOutput. 2018-12-23 00:39:06 -05:00
yellows8
e8482f7581 Improved SwkbdArgV0, and updated swkbd docs. 2018-12-22 19:26:38 -05:00
yellows8
e892e91360 Moved swkbd version init into swkbdCreate, and use the newer swkbd versions. Added swkbdConfigMakePreset*(). Changed unk_x3e0 to u32, and various other adjustments. 2018-12-22 16:50:20 -05:00
yellows8
901dc817e7 Handle <=3.0.0 swkbd versions, and filled in the arg struct. Handle the workbuf. Added a param to swkbdCreate and added swkbdClose. Added swkbdConfigSet*Text and swkbdConfigSet*OptionalSymbolKey. Various other changes. 2018-12-22 11:51:51 -05:00
yellows8
59382cab1f Added LibnxError_LibAppletBadExit, which is now used in swkbd. 2018-12-20 21:08:36 -05:00
yellows8
58cbacc76f Handle the output swkbd storage. 2018-12-20 20:49:50 -05:00
yellows8
32f93bef5d Added initial swkbd impl. 2018-12-20 13:06:20 -05:00
yellows8
2d5000ba57 Added libappletPushInData. Moved common storage creation+writing code into 1 func, in libapplet.c. 2018-12-20 12:57:35 -05:00
yellows8
0bab302c3b Added libappletRequestHomeMenu and libappletRequestJumpToSystemUpdate. 2018-12-19 20:37:19 -05:00
yellows8
6e10568589 Added applets/libapplet. Added appletSetThemeColorType and appletGetThemeColorType. 2018-12-19 19:49:57 -05:00