yellows8
67eacc8034
Added support for the [9.0.0+] friendsLa functionality. Added AccountNetworkServiceAccountId (and updated friendsLa for this). Added FriendsFriendInvitationGameModeDescription, FriendsFriendInvitationId, and FriendsFriendInvitationGroupId.
2019-11-12 10:24:27 -05:00
yellows8
9ca626fd82
Improved docs.
2019-11-11 19:18:44 -05:00
yellows8
9888df18da
Moved most ncm types into ncm_types.h. Renamed FsStorageId to NcmStorageId, with updated names for some values (now located in ncm_types.h). Various improvements + improved docs.
2019-11-11 18:19:45 -05:00
yellows8
cc64ec7236
Added NsReceiveApplicationProgress/NsSendApplicationProgress, updated NsApplicationDeliveryInfo, and improved docs. Added the following: nsSelectLatestSystemDeliveryInfo, nsVerifyDeliveryProtocolVersion, nsHasAllContentsToDeliver, nsCompareApplicationDeliveryInfo, nsCanDeliverApplication, nsListContentMetaKeyToDeliverApplication, nsNeedsSystemUpdateToDeliverApplication, nsEstimateRequiredSize, nsRequestReceiveApplication, nsCommitReceiveApplication, nsGetReceiveApplicationProgress, nsRequestSendApplication, nsGetSendApplicationProgress, nsCompareSystemDeliveryInfo, nsListNotCommittedContentMeta, and nsGetApplicationDeliveryInfoHash.
2019-11-09 21:13:23 -05:00
yellows8
24f77642c9
Updated the NsSystemDeliveryInfo struct. Added nsGetApplicationDeliveryInfo and NsApplicationDeliveryInfo.
2019-11-08 16:11:05 -05:00
cathery
d4c5fbdf0f
hiddbg: Add hiddbgIsHdlsVirtualDeviceAttached ( #345 )
2019-11-07 19:27:13 +01:00
yellows8
5a7f14409e
Updated nssu docs.
2019-11-05 22:34:08 -05:00
yellows8
09423066b0
Updated the type for the size param for ncmContentStorageCreatePlaceHolder.
2019-11-03 22:04:52 -05:00
yellows8
6c7ad3095c
Added setsysGetPctlReadyFlag/setsysSetPctlReadyFlag. Fixed ordering.
2019-11-03 16:39:29 -05:00
yellows8
454244602c
Added setsysGetTouchScreenMode/setsysSetTouchScreenMode and SetSysTouchScreenMode. Minor adjustment.
2019-11-02 16:32:12 -04:00
yellows8
8ee7afca99
Added setsysGetMemoryUsageRateFlag.
2019-11-02 16:08:08 -04:00
yellows8
e5dd8a741d
Added setsysGetHomeMenuScheme and setsysGetHomeMenuSchemeModel. Added SetSysHomeMenuScheme. Minor adjustment.
2019-11-02 15:29:38 -04:00
yellows8
ddafdbd2ac
Minor style adjustment.
2019-11-01 23:00:12 -04:00
yellows8
e6d687990c
Added setsysGetPlatformRegion/setsysSetPlatformRegion and SetSysPlatformRegion.
2019-11-01 22:57:29 -04:00
yellows8
df4bbcf2d7
Use const for various hid vibration funcs.
2019-11-01 19:11:18 -04:00
yellows8
e2b9b09b61
Added hidIsVibrationDeviceMounted.
2019-11-01 19:04:14 -04:00
yellows8
fa27331045
Initialize time by using TimeServiceType/__nx_time_service_type, with the default now being User.
2019-11-01 13:20:55 -04:00
yellows8
1f792cd92f
Various improvements/fixes and improved docs. Added nvGetServiceSession. Return an actual error when the value for determing which service to init is invalid, for services which use *ServiceType/AppletType. Improved cleanup handling. Fixed inverted logic in the spl cleanup define.
2019-10-31 22:53:42 -04:00
yellows8
4981ea02c0
Updated docs to use the updated name of a define.
2019-10-30 10:50:58 -04:00
yellows8
4ab50e3752
Use official naming instead of 'title(ID)'. Use 'uid(s)' instead of 'userID(s)'. Updated various struct field names. Improved docs + minor other improvements.
2019-10-30 10:38:05 -04:00
yellows8
28e06a94ec
usbhs: Swapped the INPUT/OUTPUT endpoint descriptors in UsbHsInterfaceInfo to support [8.0.0+], and convert that struct to the new layout internally when running on pre-8.0.0. Closes #341 .
2019-10-29 16:48:20 -04:00
yellows8
ccea53c837
ns: Updated param names for nssuRequestSendSystemUpdate/nssuControlRequestReceiveSystemUpdate and improved docs.
2019-10-29 12:09:10 -04:00
fincs
af4a025e9b
sfdnsres: Correct some more parameter names
2019-10-28 13:27:55 +01:00
fincs
1e0bcfbf87
resolver: Add commands to configure behavior (most not implemented)
2019-10-28 12:36:43 +01:00
fincs
a2c35fb2e7
sfdnsres: timeout parameter is actually cancel_handle
2019-10-28 12:36:43 +01:00
fincs
26f620dc0e
Split up socket.c + work in progress changes:
...
- DNS stuff moved to runtime/resolver.c & .h
- Address manipulation functions moved to runtime/util/inet_addr.c
- Removed sfdnsres/nifm handling in runtime/devices/socket.c
- Renamed socketGetLastBsdResult to socketGetLastResult
- Renamed socketGetLastSfdnsresResult to resolverGetLastResult
- gethostid now inits/deinits nifm as needed
- sfdnsres related configuration gone from SocketInitConfig
- Fixed bug in addrinfo deserialization
- getaddrinfo rewritten, hints can now be NULL
- TODO: add back a way to control service discovery/cancel handle
2019-10-28 12:36:29 +01:00
Michael Scire
989893721f
ro: rename GetProcessModuleInfo
2019-10-28 12:18:14 +01:00
Michael Scire
8394986e19
ldr: update names
2019-10-28 12:18:14 +01:00
Michael Scire
07ad046acf
svc: change TitleId to ProgramId
2019-10-28 12:17:55 +01:00
yellows8
4ecc597d0d
ncm: Renamed the titleID field in NcmProgramLocation to program_id. Minor docs adjustment.
2019-10-28 02:21:23 -04:00
yellows8
9d7f968773
NcmContentMetaKey title_id field renamed to id.
2019-10-27 21:19:49 -04:00
yellows8
622c0509a5
ncm: Added alignas within the NcmContentId struct, and added NcmPlaceHolderId. Use NcmPlaceHolderId instead of NcmContentId where needed.
2019-10-27 19:19:16 -04:00
yellows8
01133f7f6d
Use const for the location param with pmshellLaunchProgram.
2019-10-27 18:22:54 -04:00
fincs
1592b2892f
sfdnsres: Major rewrite using new-ipc, fixed numerous IPC bugs, removed phantom commands
2019-10-27 17:25:53 +01:00
yellows8
b6af00d908
Updated the NsSystemDeliveryInfo struct and added nsGetSystemDeliveryInfo.
2019-10-26 23:40:53 -04:00
yellows8
b0980e4c9f
Fixed the type for key_generation in NcmRightsId.
2019-10-26 22:15:23 -04:00
fincs
5340c7d7dc
Add multithreaded BSD/socket support; revise BSD service type handling so that bsd:u is the default (since it has 22 worker threads as opposed to bsd:s's 11)
2019-10-26 17:26:04 +02:00
fincs
bc13692938
Introduce SessionMgr for managing multiplexed services; change fs to use it
2019-10-26 16:44:32 +02:00
yellows8
051ad2dc60
Improved bool handling, clear IPC in-struct padding, and use serviceAssumeDomain prior to serviceClose in non-_{name}Cleanup funcs. Removed PACKED from the _usbHsIfCtrlXferAsync IPC in-struct. Fixed the code setting the IPC in-struct for _nsCmdRequestSendReceiveSystemUpdate, which is used by nssuRequestSendSystemUpdate/nssuControlRequestReceiveSystemUpdate. Minor other changes. Updated a param name for capsscCaptureRawImageWithTimeout.
2019-10-25 20:29:43 -04:00
yellows8
b4a003e176
fs: Minor improvements. Fixed cmd order. IPC improvements + clear padding in IPC in-struct. Improved bool handling.
2019-10-25 19:35:59 -04:00
yellows8
e833257b65
applet: Minor internal improvements. Updated param type for appletRequestLaunchApplicationWithUserAndArgumentForDebug. Clear IPC in-struct padding, improved bool handling, and use serviceAssumeDomain when closing Service objects outside of _appletCleanup.
2019-10-25 19:24:56 -04:00
yellows8
04179b286d
nfc: Replaced the handle within NfcDeviceHandle with an u8-array. Removed PACKED from the nfpCreateApplicationArea in-struct. Improved bool handling.
2019-10-25 19:11:03 -04:00
fincs
58e1e7e5b6
bsd: Update for new-ipc
2019-10-25 17:19:30 +02:00
yellows8
e5c1e35ede
vi: Renamed viGetDisplayMinimumZ to viGetZOrderCountMin, and renamed viGetDisplayMaximumZ to viGetZOrderCountMax. Updated param types. Clear IPC in-struct padding + minor other changes.
2019-10-24 18:06:33 -04:00
fincs
4ab2384449
fatal: Rename functions/types to match official names more closely
2019-10-24 23:25:07 +02:00
yellows8
a808c53efc
ncm/pm: Added NcmProgramLocation, which is now used by pmshellLaunchProgram (which was renamed). Updated pm names to match wiki. Adjusted order in pm.c/pm.h / minor changes.
2019-10-24 16:42:52 -04:00
yellows8
0d5e51757d
grc: Renamed grcdRead to grcdTransfer and updated the param names for it.
2019-10-23 23:32:33 -04:00
yellows8
ea5dcfddfa
ncm: Renamed NcmNcaId to NcmContentId. Added NcmRightsId struct, which is now used by the RightsId funcs. Updated params / params types, this includes replacing array buf-byte-sizes with entry-count. Fixed handling for ncmContentStorageGetPath/ncmContentStorageGetPlaceHolderPath. Improved bool handling + clear IPC in-struct padding. Minor improvements.
2019-10-23 19:14:04 -04:00
fincs
d025041e3d
sm: Introduce and use SmServiceName struct (with better codegen)
2019-10-22 20:10:52 +02:00
yellows8
7103b08740
sm: Minor improvements + IPC input improvements. Minor param type adjustment for smRegisterService.
2019-10-22 10:20:21 -04:00
fincs
e9e392bbe2
binder: Update for new-ipc
2019-10-22 16:11:10 +02:00
fincs
9e83f82a62
Enhance fsOpen_SystemSaveData/fsdevMountSystemSaveData
2019-10-21 21:15:40 +02:00
fincs
47b0403333
Pass plain AccountUid inputs by value instead of by non-const pointer
2019-10-21 16:57:01 +02:00
fincs
13fbde91b0
fsdev: Added fsdevMountSaveData/SystemSaveData wrappers
2019-10-21 12:38:18 +02:00
fincs
54f6fa5420
fs: Use official method names, document min sysver, correct a few parameters
2019-10-21 12:37:38 +02:00
fincs
c77b88d868
Major cleanup and refactor of fsdev and romfsdev, see details:
...
fsdev:
- Removed fsdevGetDefaultFileSystem and default-fs handling
- Refactored CWD support to have (dynamically allocated) per-device CWDs
(CWD support as a whole can be turned off with __nx_fsdev_support_cwd)
- Optimized calls by passing pointer to device through r->deviceData
- Use the per-thread path buffer directly as the argument to FS functions
- Removed redundant cross-device check in fsdev_rename
- Fixed string comparison logic in fsdevFindDevice
- fsdev_fixpath now accepts an input device in order to skip device
lookup (extensively used along with r->deviceData)
- Mounting a filesystem now automatically sets the default device
if there wasn't any previous default device (or if it's stdnull)
- fsdevMountSdmc no longer sets cwd to the folder containing the
executable - this logic was moved to a new internal function
called on startup by default (and it is now disabled for NSOs)
- Other miscellaneous optimizations
romfsdev:
- Cleaned up romfsMount* functions, removed unused/unnecessary logic
- Changed romfsMount* functions to return real result codes
- Renamed romfsMount to romfsMountSelf and improved documentation
- Removed romfsInitFromFile and romfsInitFromStorage (use Mount instead)
- Added documentation for romfsInit and romfsExit
2019-10-20 22:22:04 +02:00
yellows8
0403c988ba
hidsys: Fixed cmd order. Fixed output size for hidsysGetUniquePadSerialNumber.
2019-10-20 02:35:30 -04:00
yellows8
a774fb81cc
Added hidsysSetNotificationLedPatternWithTimeout. Updated docs with sysver requirements which were previously missing.
2019-10-19 19:51:51 -04:00
Michael Scire
2e2d227ac7
vi: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
9e2df3ad53
ldr: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
a3e7b1affb
smm: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
71b44cfb02
psc: update for new-ipc
2019-10-20 01:13:39 +02:00
Michael Scire
61fabbe1bc
i2c: update for new-ipc
2019-10-20 01:13:39 +02:00
Michael Scire
7292ddfcd8
fspr: update for new-ipc
2019-10-20 01:11:27 +02:00
Michael Scire
77563f027a
bpc: update for new-ipc
2019-10-20 01:11:26 +02:00
Michael Scire
040767ce57
clkrst: update for new-ipc
2019-10-20 01:11:25 +02:00
Michael Scire
960f99e7a2
pcv: update for new-ipc
2019-10-20 01:11:24 +02:00
Michael Scire
16fde00323
spsm: update for new-ipc
2019-10-20 01:11:23 +02:00
Michael Scire
48905d70d2
gpio: update for new-ipc
2019-10-20 01:11:23 +02:00
yellows8
edcd25bdae
Added hiddbgWriteSerialFlash.
2019-10-19 18:42:45 -04:00
yellows8
ecd6cd73ca
Fixed hiddbgReadSerialFlash. Added hiddbgAcquireOperationEventHandle and hiddbgGetOperationResult.
2019-10-19 12:19:23 -04:00
SciresM
415adf5b93
threads: support using existing mem as stack ( #336 )
2019-10-19 04:25:23 +02:00
yellows8
5f5d4c9785
pdm: Renamed PdmApplicationEvent to PdmAppletEvent, and renamed pdmqryQueryApplicationEvent to pdmqryQueryAppletEvent. Renamed *entryindex fields in various structs to *entry_index. Updated param types and minor param name adjustments.
2019-10-18 16:53:26 -04:00
fincs
3c610fb2cb
fsdev: Allow directory entry cache size to be configured dynamically
2019-10-18 21:23:11 +02:00
yellows8
d1c045f745
usbhs: Updated for new-ipc. Minor improvements and improved docs.
2019-10-17 23:23:06 -04:00
yellows8
e82819d8a4
usbds: Updated for new-ipc. Added sysver checking. Updated the intf_num param type for usbDsRegisterInterfaceEx, likewise with intf_num fields used elsewhere. Renamed the Service 'h' field in UsbDsInterface/UsbDsEndpoint to 's'. Minor improvements + improved docs.
...
usbComms: Fixed locking issue which caused a hang in usbCommsInitialize*() when init fails.
2019-10-17 17:34:36 -04:00
yellows8
45bf08bf8d
audren: Updated for new-ipc. Renamed audrenGetServiceSession to audrenGetServiceSession_AudioRenderer. Use the [3.0.0+] *Auto cmd with audrenRequestUpdateAudioRenderer when available. Minor adjustments + improved docs.
2019-10-16 10:14:57 -04:00
yellows8
d40cc55833
audin: Updated for new-ipc. Use the [3.0.0+] *Auto cmds when available. Added count param to audinListAudioIns. Added audinGetServiceSession and audinGetServiceSession_AudioIn.
2019-10-15 19:58:12 -04:00
yellows8
80cc0bb86a
audout: Added audoutGetServiceSession and audoutGetServiceSession_AudioOut. Improved docs.
2019-10-15 18:13:22 -04:00
yellows8
39a67c6c31
audout: Updated for new-ipc. Added count param to audoutListAudioOuts.
2019-10-15 14:07:28 -04:00
yellows8
1526e8e98e
Updated hwopus for new-ipc. Added types.h include to auddev.h/hwopus.h.
2019-10-14 21:07:38 -04:00
yellows8
f4ce807b1b
auddev: Updated for new-ipc and improved docs.
2019-10-14 19:59:04 -04:00
yellows8
98968b45f3
nfc: Replaced HidControllerID usage with struct NfcDeviceHandle. Updated params for nfpListDevices. Minor internal changes.
2019-10-14 17:21:38 -04:00
yellows8
a14cd3a70c
set: Replaced SetSysFlag/setsysGetFlag/setsysSetFlag with dedicated funcs for each flag, which also handles checking sysver now when needed. Fixed cmd order. Improved docs.
2019-10-14 14:31:22 -04:00
yellows8
a489a123c2
grc: Updated for new-ipc and fixed cmd order.
2019-10-13 22:49:06 -04:00
yellows8
67ccc66f15
Changed the nfpu prefix to nfp. Changed the nfcu prefix to nfc. Renamed nfpuIsNfcEnabled to nfcIsNfcEnabled. Added nfpSetServiceType/nfcSetServiceType and the enums for it. Moved nfc service init/exit into seperate funcs nfcInitialize/nfcExit. Renamed NfpuInitConfig to NfcRequiredMcuVersionData, removed it from nfpInitialize() input, and handle it properly as an array. Minor other changes.
2019-10-13 19:38:24 -04:00
yellows8
1a0b5569ab
nfc: Updated for new-ipc. Added sysver check for nfpuAttachAvailabilityChangeEvent which was missing. Fixed the order of cmds. Renamed nfpuGetInterface to nfpuGetServiceSession_Interface. Added nfpuGetServiceSession, nfcuGetServiceSession, and nfcuGetServiceSession_Interface. Various minor changes and improved docs.
2019-10-13 13:36:51 -04:00
yellows8
16e4e9e2b3
hid: Updated for new-ipc. Updated param types. Minor improvements and improved docs.
2019-10-12 12:29:51 -04:00
yellows8
58346564f7
irs: Updated for new-ipc. Improved docs.
2019-10-11 22:35:56 -04:00
yellows8
5b51efe4a8
hiddbg: Updated for new-ipc. Improved docs.
2019-10-11 21:27:32 -04:00
yellows8
55f769e0b8
hidsys: Updated for new-ipc. Updated param types. Fixed cmd order. Fixed _hidsysGetMaskedSupportedNpadStyleSet to actually use the input AppletResourceUserId, not g_hidsysAppletResourceUserId. Added hidsysAcquireSleepButtonEventHandle to the .h, which was previously missing. Minor changes + improved docs.
2019-10-11 15:34:34 -04:00
yellows8
d3376aa816
lbl: Updated for new-ipc and improved docs.
2019-10-11 11:18:51 -04:00
yellows8
d25144afbd
pl: Updated for new-ipc. Updated param types for plGetSharedFontByType and plGetSharedFont. Improved docs and minor other changes.
2019-10-11 01:47:23 -04:00
yellows8
44c45555cd
pctl: Updated for new-ipc. Added pctlGetServiceSession and pctlGetServiceSession_Service.
2019-10-10 22:03:22 -04:00
yellows8
1b610070f5
pdmqry: Updated for new-ipc and updated for using AccountUid. Renamed pdmqryGetUserPlayedApplications to pdmqryQueryRecentlyPlayedApplication. Renamed pdmqryGetUserAccountEvent to pdmqryGetRecentlyPlayedApplicationUpdateEvent. Minor param name adjustment.
2019-10-10 21:06:14 -04:00
yellows8
39288a832e
capssc: Updated for new-ipc.
2019-10-10 13:01:25 -04:00
yellows8
21e35ede7c
capsu: Updated for new-ipc. Updated param types for capsuGetAlbumFileList*(), and updated for using AccountUid. Improved docs.
2019-10-10 12:44:21 -04:00
yellows8
2940833a1b
caps(su): Updated for new-ipc. Updated for using AccountUid.
2019-10-08 22:01:37 -04:00
yellows8
3a1459cf4c
applet: Updated for using AccountUid and improved docs.
2019-10-08 21:05:00 -04:00
yellows8
3e5c129431
fs: Updated for using AccountUid and removed FS_SAVEDATA_USERID_COMMONSAVE.
2019-10-08 18:05:25 -04:00
yellows8
929990b7c8
web/friendsLa: Updated for using AccountUid. Renamed webConfigSetUserID to webConfigSetUid, and renamed WebArgType_UserID to WebArgType_Uid.
2019-10-08 17:44:53 -04:00
yellows8
95f91c431c
account: Updated for new-ipc. Renamed the username field in AccountProfileBase to nickname. Fixed various param types, and also removed the output bool from accountGetLastOpenedUser. Added struct AccountUid for proper userIDs, which replaces u128-userIDs. Added accountUidIsValid. Added accountSetServiceType()/AccountServiceType. Improved docs and minor improvements.
...
env: Updated UserIdStorage handling for using AccountUid.
2019-10-08 15:41:18 -04:00
yellows8
040b33c457
time: Updated for new-ipc. Renamed _timeGetClockSession to timeGetServiceSession_SystemClock, and added it to the .h. Added timeGetServiceSession_TimeZoneService. Fixed the order of cmds. Fixed param types for timeGetTotalLocationNameCount, timeLoadLocationNameList, timeToPosixTime, and timeToPosixTimeWithMyRule. The location_name_size param for timeLoadLocationNameList was replaced with location_name_max, which is max entries instead of buffer byte-size. Internal improvements and improved docs.
2019-10-06 22:06:22 -04:00
yellows8
ae582d8cb4
Changed the output of appletGetOperationMode/appletGetPerformanceMode to enums AppletOperationMode/ApmPerformanceMode.
2019-10-06 19:05:58 -04:00
yellows8
71e249e6a4
apm: Updated for new-ipc. Added enum ApmPerformanceMode. Added apmGetServiceSession_Session. Improved docs.
2019-10-06 19:02:05 -04:00
yellows8
ed2d72b9ff
csrng: Updated for new-ipc. Removed copyright comment-header in the .c (other .c don't have it and the .h has one anyway).
2019-10-06 15:49:36 -04:00
yellows8
e320f3cdf1
psm: Updated for new-ipc and minor internal improvements.
2019-10-06 12:24:29 -04:00
yellows8
f58c7fe786
Fixed includes in nifm.h/wlaninf.h.
2019-10-05 20:47:24 -04:00
yellows8
75795933a7
nifm: Updated for new-ipc. Added nifmGetServiceSession_StaticService and nifmGetServiceSession_GeneralService. Fixed order of cmds and improved docs. Improved _nifmCreateGeneralService.
2019-10-05 12:38:42 -04:00
yellows8
be2cb63722
wlaninf: Updated for new-ipc.
2019-10-04 20:36:51 -04:00
yellows8
1c334bafb9
set: Updated for new-ipc. Changed the type of the Language param for setMakeLanguage*() from s32 to SetLanguage. Added size_out param to setsysGetSettingsItemValue which was previously missing. Minor param name adjustment for setsysBindFatalDirtyFlagEvent. Improved docs.
2019-10-04 14:41:10 -04:00
yellows8
c8550c378b
Include sf/service.h instead of sm.h, in the service/ headers for services which were previously updated for new-ipc.
2019-10-04 10:20:15 -04:00
yellows8
c4b1a68269
applet: Added macros in applet.c for defining cmds' impl in a single line, using the ipc helper funcs. Some cmds which previously didn't have NotInitialized checks now do so via the macros. Fixed the order of some cmds.
2019-10-03 20:03:45 -04:00
XorTroll
9eb4bfca20
Add missing hidsys function in header
2019-10-03 17:28:35 +02:00
Adubbz
0395a4190e
Adjust NcmApplicationMetaExtendedHeader for 9.0.0
2019-10-03 16:09:33 +02:00
yellows8
9916fe93a0
applet: Updated for new-ipc, various internal improvements, and changed the transfer_size param type for appletReadThemeStorage to u64.
2019-10-02 19:02:20 -04:00
yellows8
f17773c64f
Check for nullptr before copying to out_data in serviceDispatchImpl.
2019-10-01 20:50:09 -04:00
yellows8
2e56959916
Updated ts for new IPC.
2019-09-30 20:04:51 -04:00
yellows8
08272ed12e
Improved docs. Added nsGetServiceSession_GetterInterface, nsGetServiceSession_ApplicationManagerInterface, nsvmGetServiceSession, nsdevGetServiceSession, and nssuGetServiceSession.
2019-09-30 19:23:36 -04:00
Adubbz
33d8c83ddc
ncm: Use u8 rather than actual types to ensure correct struct sizes
2019-09-30 16:11:55 +02:00
yellows8
e02f3a82b8
Minor docs fix.
2019-09-30 01:49:32 -04:00
yellows8
80880728e5
Updated NsSystemUpdateProgress docs.
2019-09-30 01:44:34 -04:00
yellows8
fe836e2145
Updated NsSystemDeliveryInfo docs.
2019-09-27 00:18:54 -04:00
yellows8
e0c72684c5
Minor comments alignment adjustment.
2019-09-26 23:48:25 -04:00
yellows8
ab1903e382
Updated the NsSystemUpdateProgress struct.
2019-09-26 23:47:08 -04:00
yellows8
ae9bd198a7
Updated the NsSystemDeliveryInfo struct.
2019-09-26 19:53:55 -04:00
yellows8
e483dc87a0
Added NsApplicationControlSource for use with nsGetApplicationControlData. Fixed actual_size handling for nsGetApplicationControlData.
2019-09-26 18:42:47 -04:00
yellows8
653a1a6b9a
Fixed the param and sysver-check for nsvmGetSafeSystemVersion, and updated docs.
2019-09-26 17:21:54 -04:00
yellows8
075a743cfb
Added support for nssu, and added the structs/enums for it. Added NSSU_CARDUPDATE_TMEM_SIZE_DEFAULT. Moved cmd_id param in the ns helper funcs to the last param. Improved docs.
2019-09-26 17:07:26 -04:00
yellows8
0749dfd67f
Added services/async.
2019-09-26 16:57:39 -04:00
Adubbz
8330f23d20
Updated ncm to new libnx ipc ( #331 )
...
* Updated to new libnx ipc
* Improved docs
* Added firmware req comments
* Improved ncmContentMetaDatabaseGetContentIdByType
* Fix ncmContentMetaDatabaseGetContentIdByTypeAndIdOffset
2019-09-25 21:52:51 -04:00
yellows8
f9eb0c88ee
Use new IPC with ns. Updated the params for nsListApplicationRecord/nsListApplicationContentMetaStatus. Updated docs.
2019-09-23 21:01:10 -04:00
yellows8
c93fab39c8
Added ncm docs.
2019-09-23 17:00:16 -04:00
yellows8
66a4db694b
Added docs for FsStorageId.
2019-09-23 16:58:58 -04:00
fincs
c3f0210cf6
time: Correct timeToPosixTime(WithMyRule) to accept number of timestamps instead of raw byte size
2019-09-22 18:12:28 +02:00
fincs
ecbc77840e
fs: Update names of enum/flag types for style consistency and correctness
2019-09-21 19:54:21 +02:00
fincs
77888f8b1f
fs: Use new IPC interface + fixes, see details:
...
- Argument types corrected to better reflect their actual types
(mostly several incorrect instances of size_t were changed to u64)
- Const correctness fixes
- fsEventNotifierGetEventHandle changed to output an Event (with
user configurable autoclear) instead of a raw Handle
2019-09-21 16:27:15 +02:00
fincs
21d15b5a8e
cmif: Fix C++ warnings and errors
2019-09-21 14:15:19 +02:00
fincs
62d795a3c6
fs: Add support for setting priority through IPC context [5.0.0+]
2019-09-21 03:31:08 +02:00
fincs
8a0aef8824
Fix new compiler warnings raised by GCC 9.x
2019-09-21 00:58:33 +02:00
Michael Scire
aafbc310c2
spl: update to use new-ipc
2019-09-20 12:17:27 -07:00
Michael Scire
f465206082
pm: update to use new-ipc
2019-09-20 12:16:54 -07:00
fincs
d7564ce80d
Add serviceAssumeDomain + minor codegen optimization in serviceDispatch*
2019-09-20 19:27:24 +02:00
fincs
96fc7dd8cd
Minor style fixes in new IPC code
2019-09-20 14:54:45 +02:00
fincs
c3b920d210
cmif/service: Support passing optional 5.0.0+ context data to requests
2019-09-20 01:48:10 +02:00
fincs
4eda677b93
Add compiler optimization hint to remove unused domain handling code
2019-09-20 01:36:22 +02:00
fincs
2224be3f88
Add cmifCloneCurrentObject and serviceClone (i.e. non-Ex variants)
2019-09-20 00:11:44 +02:00
fincs
dedd29b431
sm: Remove smHasInitialized (use Initialize+GetService+Exit instead)
2019-09-19 23:47:37 +02:00
fincs
20b26296af
Replace serviceClone with serviceCloneEx
2019-09-19 13:21:21 +02:00
fincs
99c325ed5b
Further cleanup in SM code; smEncodeName is now constexpr
2019-09-19 12:56:21 +02:00
fincs
6ad0042147
Introduce new IPC interface wrapper code, see details:
...
- Service object moved away from sm.h and into its own file (sf/service.h)
- Service object completely redesigned, but a (mostly)
backwards compatible API was kept
- New low level HIPC request/response code
- New CMIF client-oriented code
- New service IPC dispatch functions
- Pointer buffer size automatically retrieved for all sessions
- Removed previous manual pointer buffer size query code
- SM rewritten with new IPC code
- All other services are still pending IPC rewrite
2019-09-19 03:50:28 +02:00
fincs
0a3592d4dd
Deprecate current IPC interface
2019-09-19 02:58:12 +02:00
fincs
02b5d3b474
Introduce NX_INLINE and NX_CONSTEXPR
2019-09-19 02:46:13 +02:00
yellows8
f4fe3376bd
Fixed the names for nsdevLaunchApplication, nsdevLaunchApplicationWithStorageId, nsdevGetRunningApplicationProcessId, and nsdevSetCurrentApplicationRightsEnvironmentCanBeActive. Updated the sysver checks for nsdevIsSystemMemoryResourceLimitBoosted since it was removed with [9.0.0+].
2019-09-17 13:19:29 -04:00
yellows8
87332e2685
Added SetLanguage_ZHHANS/SetLanguage_ZHHANT. Added SetRegion_CHN, SetRegion_KOR, and SetRegion_TWN.
2019-09-15 23:39:42 -04:00
yellows8
ceab0a693c
Updated docs.
2019-09-14 22:55:25 -04:00
yellows8
b1317d3ff8
Added ts.
2019-09-14 20:46:37 -04:00
yellows8
fa25df27d0
Added support for friendsLa. Added friends.h.
2019-09-14 19:26:07 -04:00
yellows8
4ce9c0b038
Updated hdls to support [9.0.0+]. Added hiddbgGetUniquePadDeviceTypeSetInternal. Actually load the output rc from resp in AbstractedPad/VirtualPad funcs.
2019-09-14 11:13:56 -04:00
yellows8
042c756d72
Added HidDeviceTypeBits and HidDeviceType. Updated docs.
2019-09-14 11:05:16 -04:00
SciresM
c55383c973
lr: fix 9.x RedirectApplication* commands ( #326 )
...
* lr: fix 9.x RedirectApplication* commands
* lr: correct LegalInformation->ApplicationLegalInformation
2019-09-13 12:34:21 +02:00
yellows8
9d632b856d
Added HidNpadInterfaceType enum.
2019-09-13 02:47:53 -04:00
yellows8
326619c271
Added hidGetNpadInterfaceType.
2019-09-13 00:05:43 -04:00
Michael Scire
1a676a68f5
hid: set SYSTEM/SYSTEM_EXT as supported styles.
...
Starting in 9.0.0, HID shared memory no longer populates
the SystemExt controller (which libnx calls LAYOUT_DEFAULT) unless
it is explicitly set as supported. This changes hidInitialize() to
set it and System as supported.
2019-09-12 12:48:27 +02:00
yellows8
b06a6ff29f
Updated sysver checks for the AbstractedPad cmds which were removed in [9.0.0+].
2019-09-11 16:36:08 -04:00
yellows8
b89191c435
Added support for launching the Album applet via albumLa.
2019-09-09 11:10:33 -04:00
yellows8
76e86a9a80
Updated the AlbumReportOption enum.
2019-09-08 20:11:56 -04:00
yellows8
297f84c912
Updated docs.
2019-09-08 19:23:29 -04:00
yellows8
b7311b6ab1
Added support for capsu. Updated caps.h. Improved docs. Added enum CapsContentType. Added structs CapsScreenShotAttributeForApplication, CapsScreenShotDecodeOption, CapsApplicationAlbumFileEntry, and CapsLoadAlbumScreenShotImageOutputForApplication. Added capsGetDefaultStartDateTime, capsGetDefaultEndDateTime, capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry, and capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry.
2019-09-08 19:20:17 -04:00
yellows8
4f74aa1ad1
Updated docs for OffscreenRecordingParameter. Updated param names for grcMovieMakerFinish.
2019-08-31 19:07:11 -04:00
yellows8
7d08c7cc7c
Updated CapsAlbumFileDateTime. Updated docs.
2019-08-31 11:53:15 -04:00
yellows8
eeabd3bed0
Added capssuSaveScreenShotWithUserData, capssuSaveScreenShotWithUserIds, capssuSaveScreenShotEx1, and capssuSaveScreenShotEx2. Updated params for capssuSaveScreenShot and capssuSaveScreenShotEx0. Added enum AlbumReportOption, and structs CapsApplicationData/CapsUserIdList. Updated CapsScreenShotAttribute. Updated docs.
2019-08-30 23:17:58 -04:00
yellows8
5dc2fc0b7e
Removed AlbumFileEntry and reverted grcMovieMakerFinish back to using CapsApplicationAlbumEntry, since AlbumFileEntry is a duplicate of multiple other structs.
2019-08-30 12:55:50 -04:00
yellows8
6d7d96a751
Added struct AlbumFileEntry, which grcMovieMakerFinish now uses. Updated CapsApplicationAlbumEntry.
2019-08-28 22:56:20 -04:00
yellows8
b269f58f8f
Renamed capsscCaptureScreenshot to capsscCaptureRawImageWithTimeout.
2019-08-28 22:38:12 -04:00
yellows8
318f2b33b6
Added appletCreateMovieMaker. Added support for grc MovieMaker. Improved grc docs.
2019-08-28 18:41:43 -04:00
yellows8
c790aa0fab
Added capsGetShimLibraryVersion. Added comments to audio.h.
2019-08-27 19:14:18 -04:00
yellows8
4177031ebe
Use the same style for all system-versions.
2019-08-26 13:05:49 -04:00
yellows8
6246f56305
Changed the type for NacpStruct.ratingAge to s8.
2019-08-26 11:56:24 -04:00
yellows8
0569ca7588
Updated docs. Use proper doxygen sections instead of plain comments, and use same style for all system-versions in applet docs. Internal applet.c improvements. Added appletGetServiceSession_*() funcs.
2019-08-26 10:40:24 -04:00
yellows8
bde3ae5a77
Added binder_session param to nwindowCreate(), which is now used with the binderInitSession() call instead of a hard-coded Service. Moved the viGetSession_IHOSBinderDriverRelay() call into nwindowCreateFromLayer(), for this new param.
2019-08-25 20:08:22 -04:00
yellows8
5e535bc2eb
Added support for grcd.
2019-08-24 23:30:30 -04:00
yellows8
c8b9120ba4
Updated docs.
2019-08-24 11:00:26 -04:00
yellows8
86ab999ee2
Added grc, for trimming videos. Added appletCreateGameMovieTrimmer, appletReserveResourceForMovieOperation, and appletUnreserveResourceForMovieOperation. Added structs CapsAlbumFileDateTime/CapsAlbumEntryId and updated CapsAlbumEntry.
2019-08-24 10:55:43 -04:00
yellows8
7c18df6d4c
Added appletRequestFlushGamePlayingMovieForDebug.
2019-08-22 10:27:49 -04:00
yellows8
c7cab0351c
Added appletExecuteProgram, appletJumpToSubApplicationProgramForDevelopment, appletRestartProgram, and appletGetPreviousProgramIndex. Added AppletProgramSpecifyKind.
2019-08-21 17:38:35 -04:00
yellows8
79e6db16be
Added appletPrepareForJit.
2019-08-21 12:14:29 -04:00
yellows8
c3b32581c9
Added appletGetLaunchStorageInfoForDebug.
2019-08-20 18:16:45 -04:00
yellows8
8135d6cbc5
Updated applet docs.
2019-08-20 15:17:41 -04:00
yellows8
487aed9a59
Added appletTerminateAllLibraryApplets/appletAreAnyLibraryAppletsLeft and appletApplicationTerminateAllLibraryApplets/appletApplicationAreAnyLibraryAppletsLeft.
2019-08-20 14:33:56 -04:00
yellows8
e069da4320
Added appletHolderTerminate.
2019-08-20 11:44:55 -04:00
yellows8
0f8e18573d
Added appletLaunchDevMenu.
2019-08-20 11:19:49 -04:00
yellows8
447ca35c29
Added appletPopRequestLaunchApplicationForDebug.
2019-08-19 22:08:19 -04:00
yellows8
579a5203b6
Added appletBeginToObserveHidInputForDevelop.
2019-08-19 21:19:47 -04:00
yellows8
7bcea54a65
Updated applet docs.
2019-08-19 19:11:22 -04:00
yellows8
ecd9127bed
Added appletHolderRequestExitOrTerminate and appletApplicationRequestExitLibraryAppletOrTerminate. Minor internal improvements.
2019-08-18 23:15:41 -04:00
yellows8
c34bea8d4c
Improved infinite-sleep-loop handling, and use it for appletStartShutdownSequenceForOverlay/appletStartRebootSequenceForOverlay.
2019-08-18 19:40:17 -04:00
WerWolv
ac75527491
Filled in missing NacpStruct fields ( #322 )
...
* Filled in missing NacpStruct fields
2019-08-18 19:23:41 -04:00
yellows8
f1dfb2c23b
Added support for AppletApplication. Added AppletApplicationExitReason. Added AppletApplicationLaunchProperty and AppletApplicationLaunchRequestInfo. Added appletCreateApplication, appletPopLaunchRequestedApplication, appletCreateSystemApplication, appletPopFloatingApplicationForDevelopment, and appletOpenMainApplication. Minor internal changes + updated docs.
2019-08-18 17:30:11 -04:00
Alex Barney
758db03ca4
Add some FS commands ( #321 )
...
* Implement fsOpenCustomStorageFileSystem
* Add more FS commands
fsExtendSaveDataFileSystem
fsSetGlobalAccessLogMode
fsGetGlobalAccessLogMode
* Savedata sizes are signed.
2019-08-17 11:36:43 -04:00
yellows8
e7a09f7be7
Added appletGetAppletResourceUsageInfo. Added struct AppletResourceUsageInfo.
2019-08-17 00:34:46 -04:00
yellows8
19741cb103
Added appletRequestLaunchApplicationWithUserAndArgumentForDebug.
2019-08-16 23:56:29 -04:00
yellows8
2f3fa0030e
Renamed AppletLaunchParameterKind_Application to AppletLaunchParameterKind_UserChannel.
2019-08-16 22:42:10 -04:00
yellows8
7cc9295684
Added appletInvalidateTransitionLayer.
2019-08-16 22:31:01 -04:00
yellows8
fc09340a42
Added appletPerformSystemButtonPressing and the enum types for it. Updated docs.
2019-08-16 22:05:34 -04:00
yellows8
b20147eeb7
Added appletExitAndRequestToShowThanksMessage.
2019-08-16 21:10:35 -04:00
yellows8
10e2e71ea2
Enter infinite-sleep-loop in appletRequestToShutdown/appletRequestToReboot. Minor change in appletHolderJump.
2019-08-16 20:19:50 -04:00
yellows8
112da06f37
Renamed AppletNotificationMessage to AppletMessage. Updated docs.
2019-08-16 15:42:04 -04:00
yellows8
eeaa63aa28
Added appletPushContext/appletPopContext. Added appletHolderJump. Added appletGetAppletInfo. Added libappletSetJumpFlag. Added structs AppletProcessLaunchReason and AppletInfo.
2019-08-15 21:43:09 -04:00
yellows8
8db92d48a5
Added libappletArgsPop. Improved docs.
2019-08-14 21:55:07 -04:00
yellows8
77961c6ede
Added appletPopInData, appletPushOutData, appletPopInteractiveInData, appletPushInteractiveOutData, appletGetPopInDataEvent, appletGetPopInteractiveInDataEvent, appletPopExtraStorage, appletGetPopExtraStorageEvent, appletUnpopInData, and appletUnpopExtraStorage. Improved docs.
2019-08-14 18:23:11 -04:00
yellows8
5090c54654
Added appletGetMainAppletAvailableUsers.
2019-08-13 21:26:50 -04:00
yellows8
a17c73e783
Added appletGetMainAppletStorageId, appletGetDesirableKeyboardLayout, appletGetIndirectLayerProducerHandle, and appletGetCurrentApplicationId.
2019-08-13 19:06:39 -04:00
yellows8
b09b2deb2d
Added appletRequestExitToSelf.
2019-08-13 17:18:22 -04:00
yellows8
6017cba043
Added comment for NacpStruct.
2019-08-13 12:48:07 -04:00
yellows8
c516388ba0
Added appletCanUseApplicationCore, appletGetMainAppletApplicationControlProperty, and appletGetMainAppletApplicationDesiredLanguage. Added docs for appletGetDesiredLanguage.
2019-08-13 12:46:49 -04:00
yellows8
0137f582da
Added struct AppletAttribute. Use cmd OpenLibraryAppletProxy on [3.0.0+] when running appletInitialize for AppletType_LibraryApplet.
2019-08-12 11:14:58 -04:00
Robin Lambertz
37fdcb5726
svcGetInfo id0 should be an u32
...
svcGetInfo uses an u32 for id0 in the kernel (which moves W1 and not X1).
2019-08-09 21:18:57 +02:00
yellows8
15b3181c93
Fixed docs.
2019-08-08 13:39:07 -04:00
yellows8
f9ccfb79d2
Added appletGetApplicationIdForLogo, appletSetGpuTimeSliceBoost, appletSetAutoSleepTimeAndDimmingTimeEnabled, appletTerminateApplicationAndSetReason, appletSetScreenShotPermissionGlobally, appletStartShutdownSequenceForOverlay, appletStartRebootSequenceForOverlay, and appletSetHandlingHomeButtonShortPressedEnabled.
2019-08-08 13:35:16 -04:00
yellows8
f5b24bd244
Added appletStartSleepSequence, appletStartShutdownSequence, appletStartRebootSequence, appletIsAutoPowerDownRequested, appletLoadAndApplyIdlePolicySettings, appletNotifyCecSettingsChanged, appletSetDefaultHomeButtonLongPressTime, appletUpdateDefaultDisplayResolution, appletShouldSleepOnBoot, and appletGetHdcpAuthenticationFailedEvent.
2019-08-08 11:32:27 -04:00
averne
f13d9ba6cc
Added viDestroyManagedLayer ( #316 )
2019-08-08 12:41:10 +02:00
yellows8
3bbc181531
Added appletRequestToGetForeground, appletLockForeground, appletUnlockForeground, appletPopFromGeneralChannel, and appletGetPopFromGeneralChannelEvent.
2019-08-07 19:57:03 -04:00
SciresM
9049a12209
vi: add ViPowerState_On_Deprecated enum entry ( #318 )
2019-08-07 21:13:57 +02:00
yellows8
75c79e8d5e
Replaced appletHomeButtonReaderLockAccessorGetEvent with appletGetHomeButtonReaderLockAccessor. Added appletGetReaderLockAccessorEx, appletGetWriterLockAccessorEx, and appletGetHomeButtonWriterLockAccessor. Added support for AppletLockAccessor.
2019-08-05 22:40:14 -04:00
yellows8
6c194fc6a6
Added appletRequestToAcquireSleepLock, appletReleaseSleepLock, and appletReleaseSleepLockTransiently.
2019-08-03 20:53:42 -04:00
yellows8
d73e1a09b5
Minor docs change.
2019-08-02 14:28:02 -04:00
yellows8
1bb777afe7
Added support for IAppletCommonFunctions. Added appletReadThemeStorage, appletWriteThemeStorage, appletGetDisplayLogicalResolution, appletSetDisplayMagnification, appletSetHomeButtonDoubleClickEnabled, and appletGetHomeButtonDoubleClickEnabled. Minor other changes.
2019-08-02 14:16:59 -04:00
yellows8
98fbadc778
Added appletUpdateLastForegroundCaptureImage, appletUpdateCallerAppletCaptureImage, appletGetLastForegroundCaptureImageEx, appletGetLastApplicationCaptureImageEx, appletGetCallerAppletCaptureImageEx, appletTakeScreenShotOfOwnLayer, appletCopyBetweenCaptureBuffers, appletClearCaptureBuffer, appletClearAppletTransitionBuffer, appletAcquireLastApplicationCaptureSharedBuffer, appletReleaseLastApplicationCaptureSharedBuffer, appletAcquireLastForegroundCaptureSharedBuffer, appletReleaseLastForegroundCaptureSharedBuffer, appletAcquireCallerAppletCaptureSharedBuffer, appletReleaseCallerAppletCaptureSharedBuffer, and appletTakeScreenShotOfOwnLayerEx.
2019-08-01 12:24:22 -04:00
yellows8
f49e8cb217
Added struct LibAppletInfo. Added appletHolderGetLibraryAppletInfo and appletGetLibraryAppletInfo.
2019-07-30 20:03:24 -04:00
yellows8
64783b7cc2
Updated unk_x8 in the PdmPlayEvent struct.
2019-07-30 18:37:08 -04:00
yellows8
2257e3ccf4
Updated LibAppletMode enum and added appletHolderSetOutOfFocusApplicationSuspendingEnabled.
2019-07-30 17:34:05 -04:00
yellows8
6df890c47b
Added appletSetExpectedMasterVolume, appletGetExpectedMasterVolume, appletChangeMainAppletMasterVolume, and appletSetTransparentVolumeRate.
2019-07-29 22:05:32 -04:00
yellows8
773111b3f2
Cache the preselected user in accountInitialize. Get/set the preselected userID in env, so that accountGetPreselectedUser() is usable multiple times. Renamed accountGetActiveUser to accountGetLastOpenedUser. Improved docs.
2019-07-29 19:00:52 -04:00
yellows8
4fa878f4b1
Added hidGetSupportedNpadStyleSet. Moved hidSetSupportedNpadStyleSet to match cmd order. Added hidsysGetSupportedNpadStyleSetOfCallerApplet.
2019-07-29 18:22:46 -04:00
yellows8
7310c8f880
Added appletGetAppletResourceUserIdOfCallerApplet, appletSetAppletWindowVisibility, and appletSetAppletGpuTimeSlice. Minor other change.
2019-07-29 18:18:19 -04:00
fincs
01d648e7ed
Add support for new homebrew ABI keys + loader info
2019-07-29 21:17:09 +02:00
yellows8
409957c432
Added appletGetCradleFwVersion, appletIsInControllerFirmwareUpdateSection, appletSetPerformanceConfigurationChangedNotification, and appletGetOperationModeSystemInfo. Moved appletHomeButtonReaderLockAccessorGetEvent to match cmd order. Fixed a check in appletGetDefaultDisplayResolution.
2019-07-28 20:52:37 -04:00
yellows8
93eaa74131
Added appletGetCradleStatus and appletGetBootMode. Added _appletCmdNoInOutU8 for internal use, which _appletCmdNoInOutBool now uses. Fixed docs.
2019-07-27 12:33:56 -04:00
yellows8
79fa22fdbd
Improved pm docs.
2019-07-27 12:30:06 -04:00
yellows8
aeca9041d5
Added appletGetApplicationIdByContentActionName.
2019-07-25 23:47:03 -04:00
yellows8
31d34a6915
Added AppletTvPowerStateMatchingMode and AppletSystemButtonType. Added appletSetLcdBacklightOffEnabled, appletGetDefaultDisplayResolution, appletGetDefaultDisplayResolutionChangeEvent, appletGetHdcpAuthenticationState, appletGetHdcpAuthenticationStateChangeEvent, appletSetTvPowerStateMatchingMode, and appletPerformSystemButtonPressingIfInFocus. Minor other changes.
2019-07-25 21:40:42 -04:00
yellows8
3b2e484d88
Minor appletNotifyRunning improvements and added docs.
2019-07-25 20:26:34 -04:00
yellows8
493abc7703
Moved sections in applet.c/.h to match the order of the get-session cmds. Improved docs/comments.
2019-07-25 16:23:35 -04:00
yellows8
ed2f4a68f7
Added appletIsSystemBufferSharingEnabled, appletGetSystemSharedLayerHandle, and appletGetSystemSharedBufferHandle.
2019-07-24 19:45:39 -04:00
yellows8
974f5b9a1b
Added AppletIdentityInfo and AppletId_application. Moved sections in applet.h to match the applet.c order. Added/updated comments/docs. Check applet-type in _appletExitProcessAndReturn. Added appletSetScreenShotAppletIdentityInfo, appletGetMainAppletIdentityInfo, appletGetCallerAppletIdentityInfo, appletGetCallerAppletIdentityInfoStack, and appletGetNextReturnDestinationAppletIdentityInfo.
2019-07-24 16:20:52 -04:00
Adubbz
b59682652d
Implement various SaveDataExtraData commands ( #315 )
...
* Implement fsReadSaveDataFileSystemExtraData
* Implement fsReadSaveDataFileSystemExtraDataBySaveDataSpaceId and fsWriteSaveDataFileSystemExtraData
2019-07-24 11:28:05 -04:00
yellows8
a5e4609be3
Added appletGetProgramTotalActiveTime.
2019-07-23 10:57:35 -04:00
Adubbz
bc5d01400f
Implement fsOpenGameCardFileSystem
2019-07-22 22:09:22 +02:00
yellows8
6942c8db75
Added AppletHookType_RequestToDisplay, AppletNotificationMessage_RequestToDisplay, and AlbumImageOrientation. Added appletSetControllerFirmwareUpdateSection, appletSetDesirableKeyboardLayout, appletSetHandlesRequestToDisplay, appletApproveToDisplay, appletOverrideAutoSleepTimeAndDimmingTime, appletSetIdleTimeDetectionExtension, appletGetIdleTimeDetectionExtension, appletSetInputDetectionSourceSet, appletReportUserIsActive, appletSetAutoSleepDisabled, appletIsAutoSleepDisabled, and appletSetWirelessPriorityMode. Improved docs.
2019-07-20 13:18:58 -04:00
XorTroll
c07a637e2c
Fix typo in pdm GetServiceSession command
2019-07-19 19:56:54 +02:00
Thomas Guillemard
3f6cf66243
Make it possible to use the binder API with an arbitrary service ( #309 )
...
This is useful if you want to connect to "dispdrv" for example.
2019-07-18 19:12:03 +02:00
yellows8
74337842a0
Added AppletNotificationMessage enum and improved docs. Added support for appletSetRestartMessageEnabled, appletSetRequiresCaptureButtonShortPressedMessage, and appletSetAlbumImageTakenNotificationEnabled. Renamed appletSetScreenShotImageOrientation to appletSetAlbumImageOrientation.
2019-07-17 19:15:53 -04:00
yellows8
b896b33e3e
Added appletEnterFatalSection/appletLeaveFatalSection.
2019-07-16 15:47:47 -04:00
yellows8
f13b75d87c
Added appletGetPseudoDeviceId and appletSetApplicationAlbumUserData. Use ipcQueryPointerBufferSize for ISelfController in appletInitialize. Moved appletIsIlluminanceAvailable in applet.h to match cmd order.
2019-07-16 12:27:46 -04:00
yellows8
933cfb543d
Added support for applet ApplicationCopyright. Fixed a comment.
2019-07-14 17:42:46 -04:00
yellows8
333de18494
Added appletRequestToShutdown and appletRequestToReboot.
2019-07-13 20:04:26 -04:00
yellows8
3270bf3996
Reordered applet funcs to match cmdid order, improved docs, etc. Added appletBeginBlockingHomeButtonShortAndLongPressed and appletEndBlockingHomeButtonShortAndLongPressed.
2019-07-13 19:45:53 -04:00
yellows8
2262259984
Added appletGetDisplayVersion.
2019-07-13 18:57:37 -04:00
friedkeenan
da4c060278
Add a bunch of GetServiceSession functions ( #305 )
...
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00
yellows8
40d7e0de51
Use an enum for appletSetScreenShotPermission with info from wiki. Improved applet docs. Use _appletIsApplication() instead of _appletIsRegularApplication() in appletQueryApplicationPlayStatistics/appletQueryApplicationPlayStatisticsByUid. Added appletGetGpuErrorDetectedSystemEvent. Added support for the [7.0.0+] CreateApplication*ToStartForQuest cmds.
2019-07-13 10:45:40 -04:00
Adubbz
0e724040ad
Added fsDeleteSaveDataFileSystemBySaveDataSpaceId ( #304 )
2019-07-13 14:21:16 +02:00
yellows8
26544cba43
Uodated docs + the PdmAccountEvent struct.
2019-07-09 21:31:01 -04:00
yellows8
f418536e37
Added support for pdmqry.
2019-07-09 21:18:42 -04:00
Adubbz
4f441a4f28
Implement fsCreateSaveDataFileSystemBySystemSaveDataId (and wrappers) + fsDisableAutoSaveDataCreation ( #302 )
...
Also fixes everal cases of weird naming in fs
2019-07-05 03:56:52 +02:00
friedkeenan
61c0f4b2d9
Add hidsysGetUniquePadSerialNumber ( #303 )
2019-07-05 03:55:22 +02:00
Thomas Guillemard
2c1763c692
Add more ITimeZoneService related commands ( #300 )
...
This commit adds timeGetDeviceLocationName, timeSetDeviceLocationName, timeGetTotalLocationNameCount, timeLoadLocationNameList, timeLoadTimeZoneRule, timeToPosixTime, timeToPosixTimeWithMyRule, and timeToCalendarTime.
2019-07-03 21:29:24 +02:00
yellows8
ee7b30a7b4
Added KEY_HOME and KEY_CAPTURE for use with HiddbgHdlsState::buttons.
2019-07-01 20:08:10 -04:00
yellows8
015ca9652c
Filled in the PdmApplicationPlayStatistics struct.
2019-06-30 10:46:54 -04:00
yellows8
7f7ba17802
Fixed appletQueryApplicationPlayStatistics and added appletQueryApplicationPlayStatisticsByUid. Renamed AppletApplicationPlayStatistics to PdmApplicationPlayStatistics, updated it, and moved it to new file pdm.h.
2019-06-29 20:44:55 -04:00
yellows8
8147dca2a4
Updated the HiddbgHdlsNpadAssignment struct.
2019-06-28 23:02:39 -04:00
yellows8
b938016a67
Minor hiddbg fixes.
2019-06-28 21:39:33 -04:00
yellows8
156410b549
Added support for AbstractedPad. Improved hiddbgInitialize(). Updated hiddbg docs.
2019-06-28 21:36:53 -04:00
SciresM
950e1ec5ed
pm: add bm cmds, BoostSystemThreadResourceLimit ( #299 )
2019-06-29 00:35:22 +02:00
Michael Scire
a7522f1d4c
Mark arguments to svcCreateProcess as const.
2019-06-28 02:35:44 +02:00
yellows8
e1e2a05a34
Added hiddbgUpdateControllerColor and hiddbgUpdateDesignInfo.
2019-06-26 15:05:11 -04:00
Michael Scire
48133f72ce
ldr: add getters for shell/dmnt/pm
2019-06-26 17:33:10 +02:00
yellows8
74c102ed3f
Added hiddbgReadSerialFlash.
2019-06-25 22:40:49 -04:00
yellows8
a9c35dceb8
Updated comments for HiddbgHdlsDeviceInfo.
2019-06-25 18:41:11 -04:00
yellows8
cebc1bed33
Updated HiddbgHdlsDeviceInfo struct.
2019-06-25 11:33:35 -04:00
Michael Scire
18f977aa76
pm: add getters for pminfo, pmshell
2019-06-25 16:13:52 +02:00
yellows8
65e2e791a3
Updated Hdls structs.
2019-06-24 21:50:17 -04:00
Michael Scire
6978003c42
sm/smm: Add GetServiceSession
2019-06-24 21:43:45 +02:00
SciresM
e1a6a463c2
Add enums for GetInfo/GetSystemInfo ( #292 )
2019-06-22 00:05:56 +02:00
yellows8
0d17c53d00
Updated HiddbgHdlsState struct.
2019-06-12 15:43:33 -04:00
yellows8
5a3eb542b2
Updated Hdls structs and docs. Added hidGetControllerDeviceType, hidGetControllerFlags, and hidGetControllerPowerInfo. Added/updated hid structs.
2019-06-08 21:51:46 -04:00
yellows8
3e39f97fe5
Added support for hiddbg Hdls.
2019-06-06 20:52:33 -04:00
yellows8
9947048f8b
Added support for [8.0.0+] swkbd functionality: swkbdConfigSetUnkFlag, swkbdConfigSetTrigger, swkbdInlineSetChangedStringV2Callback, and swkbdInlineSetMovedCursorV2Callback. Added swkbdInlineLaunchForLibraryApplet and swkbdInlineSetDecidedCancelCallback. Moved initArg setup into swkbdInlineLaunch*.
2019-06-04 19:13:36 -04:00
thedax
133ffe92fd
Implement setsys GetDeviceNickname/SetDeviceNickname ( #289 )
...
* Implement setsys(Get/Set)DeviceNickname.
Thanks to @shchmue & @thog for tips on the send/recv buffers!
2019-06-04 10:22:51 -04:00
Adubbz
8cf419802a
Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath ( #288 )
...
* Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath
2019-06-03 14:51:21 -04:00
Michael Scire
3afc9ae371
Add FsBisStorageId enum
2019-06-03 14:48:45 -04:00
Michael Scire
4d049ee7c4
enum alignment fixes
2019-06-03 14:48:45 -04:00
Michael Scire
b68441e36f
style fixes, note 4.0.0+
2019-06-03 14:48:45 -04:00
Michael Scire
ac9d76f373
fs: fix file/storage API, add fsdevCreateFile, add fsOpenFileSystemWithPatch.
2019-06-03 14:48:45 -04:00
yellows8
d2bfc032f8
Added support for the additional web [8.0.0+] functionality: webConfigSetMediaPlayerUi and webReplyGetMediaPlayerAutoClosedByCompletion. Various other changes.
2019-05-19 15:15:00 -04:00
Thomas Guillemard
977bb9d7e8
i2c: add ReceiveAudo and ExecuteCommandList
...
Also make buf const in SendAuto.
2019-05-17 19:38:47 -04:00
fincs
d966bee9fa
Const correctness in nvGpuZbcAddColor (and fix comment typo)
2019-05-17 21:20:11 +02:00
fincs
320b054f6e
Added nvGpu* wrapper functions for zcull/zbc/tpc ioctls
2019-05-17 21:15:57 +02:00
fincs
f13c3cface
Add/correct /dev/nvhost-ctrl-gpu ioctls
2019-05-17 20:03:05 +02:00
yellows8
90620daf05
Added romfsMountFromCurrentProcess().
2019-05-17 11:15:43 -04:00
yellows8
f6f6adf1cb
Use the proper IPC buffer type for _usbHsEpGetXferReport with [3.0.0+].
2019-05-16 18:48:19 -04:00
yellows8
836bb367aa
Renamed ipc_buffer_size to pointer_buffer_size for ipcAddSendSmart/ipcAddRecvSmart.
2019-05-11 11:17:33 -04:00
Michael Scire
f92852fbe5
ncm: add NcmContentMetaType, NcmContentMetaAttribute enums
2019-05-09 12:42:50 +02:00
Michael Scire
a1861509f5
ncm: add ncmContentMetaDatabaseGetAttributes
2019-05-09 12:42:50 +02:00
SciresM
e114a361be
fsdev: add way of getting last returned result. ( #276 )
...
Adds fsdevGetLastResult, which returns a thread local Result updated by every call to fsdev_translate_error.
Also changes fsdev_translate_error to return EIO instead of raw results, when not translatable.
2019-05-08 16:44:17 +02:00
yellows8
e359010e75
Improved fs_dev docs.
2019-05-05 17:17:08 -04:00
Adubbz
1d3e208807
Added fsdevDeleteDirectoryRecursively
2019-05-05 18:26:08 +02:00
yellows8
afaa33df2e
Added partial support for SevenSixAxisSensor.
2019-05-03 18:38:37 -04:00
fincs
d911c47d2e
Miscellaneous documentation fixes
2019-05-03 14:32:02 +02:00
Michael Scire
4094c014ff
spl: fix BootReason command names
2019-05-03 03:33:56 +02:00
SciresM
c6e115fd1f
i2c: flesh out I2cDevice enum ( #273 )
...
* i2c: flesh out I2cDevice enum
2019-05-02 17:38:10 -04:00
CTCaer
67cd70c00c
[hid] Update NotificationLed structs ( #272 )
...
* [hid] Update NotificationLed structs
2019-04-27 18:11:01 -04:00
yellows8
aad6b55793
Filled in the HidsysNotificationLedPattern struct and added HidsysNotificationLedPatternCycle. Closes #240 .
2019-04-26 21:47:02 -04:00
yellows8
46d5771312
const for hidsysSetNotificationLedPattern input pattern.
2019-04-25 19:30:10 -04:00
yellows8
bed9213f41
Added hidsysSetNotificationLedPattern and the struct for it.
2019-04-25 19:27:45 -04:00
yellows8
d4789c37c9
Added hidsysGetUniquePadsFromNpad and hidsysGetUniquePadIds.
2019-04-25 14:31:00 -04:00
Michael Scire
0666e4651e
spl: fix cryptAesCtr definition
2019-04-25 14:39:10 +02:00
SciresM
ee34c620f7
pcv: add pcvGetModuleId ( #269 )
...
* pcv: add pcvGetModuleId
2019-04-24 19:44:13 -04:00
Samuel P
bc1786b7b0
pcv Set/GetClockRate changes in 8.0.0 ( #266 )
...
* version check on pre-8.0.0 pcv funcs
* clkrst API
* Add PcvModuleId enum
2019-04-24 13:36:19 -04:00
yellows8
1dd057ac09
Added pctlConfirmStereoVisionPermission and pctlResetConfirmedStereoVisionPermission.
2019-04-22 12:33:01 -04:00
Michael Scire
9884ce0462
ldr: change ldrDmntGetModuleInfos to match roDmnt
2019-04-22 16:57:03 +02:00
Michael Scire
50db74a15b
Implement ro:1
2019-04-22 16:57:03 +02:00
Michael Scire
23bd10f6db
ro: add ldrRoLoadNrrEx, fix roDmnt
2019-04-22 16:57:03 +02:00
yellows8
76b6f521fe
Added appletIsVrModeEnabled and appletSetVrModeEnabled.
2019-04-21 13:45:49 -04:00
Michael Scire
6b50fddd9b
Implement svcQueryProcessMemory
2019-04-21 13:48:59 +02:00
Michael Scire
4448b354dd
loader: fix LoaderModuleInfo definition
2019-04-21 12:15:03 +02:00
yellows8
3b0f2014e3
Added appletGetCurrentIlluminance, appletGetCurrentIlluminanceEx, and appletIsIlluminanceAvailable.
2019-04-20 16:11:05 -04:00
yellows8
2916bd631a
Added pctlIsStereoVisionPermitted.
2019-04-20 16:09:35 -04:00
Lioncash
896c81246e
kernel/ipc: Resolve missing initializer warnings
...
In C++ projects with higher warning levels, this header can cause some
missing initializer warnings to leak over. This silences those from
occurring.
2019-04-16 00:54:20 +02:00
yellows8
3dde2148cc
Added appletSetCpuBoostMode, appletGetCurrentPerformanceConfiguration, and ApmCpuBoostMode enum. Updated comments / various minor changes.
2019-04-14 12:16:37 -04:00
yellows8
d4de738dfd
Added support for [6.0.0+] web functionality. Various minor changes.
2019-04-12 21:37:53 -04:00
yellows8
57b028fec5
Added support for swkbd [6.0.0+] functionality. Added swkbdConfigSet*() funcs which should now be used instead of accessing the arg structs directly. Added version checking for some swkbdInlineSet*() funcs. Various other changes.
2019-04-09 18:32:54 -04:00
yellows8
31dee5072a
Sync FsSave/FsSaveDataInfo with wiki.
2019-04-04 22:31:02 -04:00
yellows8
8a3f105bab
Removed PACKED from FsSaveDataInfo/FsTimeStampRaw and fixed FsSave alignment.
2019-04-04 18:32:45 -04:00
Michael Scire
16f8255fd5
crypto: guard #defines with #ifndef
2019-04-04 20:13:36 +02:00
Michael Scire
c3a94f5bce
crc: fix -Wsign-compare warning
2019-04-04 20:13:36 +02:00
Michael Scire
408ae95120
cleanup headers, add crc32 acceleration
2019-04-04 20:13:36 +02:00
Michael Scire
e4481e12cb
Implement AES-(128, 192, 256)-CMAC
2019-04-04 20:13:36 +02:00
Michael Scire
13a690a5a8
hmac: expose HMAC_*_KEY_MAX defines
2019-04-04 20:13:36 +02:00
Michael Scire
21a704f0b6
Implement accelerated sha1 + hmac-sha1
2019-04-04 20:13:36 +02:00
Michael Scire
0dde100135
Implement accelerated SHA256, HMAC-SHA256
2019-04-04 20:13:36 +02:00
Michael Scire
e4dda8fa46
minor style fixes
2019-04-04 20:13:36 +02:00
Michael Scire
017b47151d
Implement accelerated AES-XTS
2019-04-04 20:13:36 +02:00
Michael Scire
82ae0f0c9e
cbc/ctr: expose iv/ctr reset
2019-04-04 20:13:36 +02:00
Michael Scire
3eb6dd45a6
Implement accelerated AES-CTR
2019-04-04 20:13:36 +02:00
Michael Scire
9c7adf0c44
crypto: add aes-cbc apis.
2019-04-04 20:13:36 +02:00
Michael Scire
f8375c46c0
crypto: add aes-ecb block enc/dec
2019-04-04 20:13:36 +02:00
yellows8
4f0aa0a589
Updated pctlauth docs.
2019-04-01 21:31:46 -04:00
yellows8
39f40b26ae
Added pctl.
2019-04-01 21:29:51 -04:00
yellows8
7b25d55342
Added pctlauth.
2019-03-31 22:01:48 -04:00
yellows8
9bbcee9bcf
Added libappletStart and libappletLaunch. Updated comments.
2019-03-31 21:59:04 -04:00
yellows8
fd9e02b271
Added romfsMountFromFsdev and fsdevTranslatePath. Internal romfs_dev improvements.
2019-03-29 19:49:08 -04:00
fincs
626b07fac8
Implement TLS slot support (with destructors)
2019-03-29 18:40:26 +01:00
yellows8
2729cafbe0
Updated ErrorContext struct.
2019-03-29 13:36:40 -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
71a711e5d7
Updated ErrorContext.
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
plutoo
b7fe92f3a2
rwlock: Move over to condvar implementation. ( #255 )
...
This one is superior to the previous because it is write-preferring.
2019-03-28 23:53:04 +01:00
Michael Scire
1bea504732
Added fsOpenDataStorageByDataId and romfsMountFromDataArchive
2019-03-25 00:02:18 +01:00
Michael Scire
43128b613b
romfs: refactor to allow specifying mount name
2019-03-25 00:02:18 +01:00
yellows8
b897c3a650
Updated web docs.
2019-03-22 20:51:09 -04:00
yellows8
afdd8d07e8
Updated usbhs docs regarding 7.0.0+.
2019-03-21 11:19:20 -04:00
natinusala
9c016a4cee
Implemented nifmGetInternetConnectionStatus
2019-03-19 12:35:52 -04:00
Michael Theall
b49cb8a1a6
const params for usbDs
2019-03-16 00:07:39 +01:00
exelix
093471609d
Change nifm initialization mode and add SetWirelessCommunicationEnabled ( #247 )
...
* Init nifm in the proper context, add SetWirelessCommunicationEnabled
* add nifmSetServiceType to set which nifm service to init
2019-03-15 17:11:40 -04:00
natinusala
a7facade0a
Implement wlaninfGetState and wlaninfGetRSSI
2019-03-15 11:35:02 -04:00
yellows8
5d121a20b9
Changed types for fields in MousePosition to s32.
2019-03-12 16:21:22 -04:00
yellows8
c542d3ab8a
Added hidMouseMultiRead + mouse handling adjustments. Closes #235 .
2019-03-11 23:34:58 -04:00
Lioncash
03143cbadc
hwopus: Document second member of HwopusHeader
...
This second member indicates the Opus encoder's entropy coder's final
range. While nothing in the service actually does anything with the
final range as far as I can tell, this is specified within RFC 6716
(https://tools.ietf.org/html/rfc6716 , see section "6. Conformance") as a
means of ensuring decoder conformance. States as follows:
"In addition, a compliant decoder implementation MUST have
the same final range decoder state as that of the reference decoder."
So what is likely done when performing compliance testing is the data is
encoded, and then the final range of the encoder is sent via this
header, then during decoding, the final range would be checked against
to ensure that it's valid.
2019-03-10 21:34:54 -04:00
yellows8
ef370fd33a
Fixed WebWifi docs.
2019-03-09 21:51:32 -05: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
c193337d9b
Added WebExitReason_ErrorDialog.
2019-03-06 23:57:47 -05:00
yellows8
4160622165
Support passing NULL for webConfigShow out. Minor docs adjustment.
2019-03-06 23:46:46 -05:00
yellows8
9e52d7c4df
Check for sysver [3.0.0+] for viSetDisplayMagnification.
2019-03-06 13:56:36 -05:00
yellows8
9d0603845a
Updated WebBootDisplayKind and added WebBackgroundKind + WebLeftStickMode. Improved web docs.
2019-03-05 23:33:54 -05:00
exelix
2d1116743e
Add wrappers for brightness-related functions ( #246 )
...
* Add wrappers for brightness-related functions
2019-03-04 21:37:33 -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
7479be4256
Added WebShimKind_Shop and removed a comment.
2019-03-04 12:26:54 -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
d353213d72
Added appletHolderRequestExit.
2019-03-04 10:42:07 -05:00
yellows8
c10508d95e
Added WebExitReason enum and improved LastUrl/CallbackUrl docs.
2019-03-03 23:30:06 -05:00
yellows8
142811f943
Improved web docs.
2019-03-03 21:50:26 -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
e55dfd69c7
Mention capssu.h in the webConfigSetApplicationAlbumEntry docs.
2019-03-01 23:04:28 -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
bbd0dcbd2b
Added CapsAlbumEntry + comments.
2019-03-01 22:16:05 -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
ff3a4f9844
Renamed usbDsEndpoint_StallCtrl to *Stall.
2019-03-01 12:40:23 -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
b58bc0a5dc
Document what webConfigSetUserAgentAdditionalString is used for.
2019-02-28 16:50:45 -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
6dea82a668
Moved applet notification-msg handling code into new funcs appletGetMessage and appletProcessMessage (with some improvements), which appletMainLoop now calls.
2019-02-27 19:03:35 -05:00
yellows8
eb750b641b
Added webNewsCreate, webConfigSetEcClientCert, and webConfigSetShopJump. Improved web docs.
2019-02-27 17:52:00 -05:00
exelix
ad5b8c019f
Add some functions from IOverlayAppletProxy and hid:sys ( #242 )
2019-02-27 16:17:03 +01:00
Michael Scire
d2c24bbe10
pm: Add pmdmntGetServiceSession()
2019-02-27 12:44:44 +01: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
904deeec10
Updated @brief in the web.h docs-header.
2019-02-26 15:23:01 -05:00
yellows8
2cd9825074
Added webConfigSetCallbackUrl, webConfigSetCallbackableUrl, and webConfigSetUserAgentAdditionalString. Improved web docs.
2019-02-26 15:16:26 -05:00
yellows8
6aa2640e4a
Fixed comment alignment for WebArgType.
2019-02-25 23:24:29 -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
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
plutooo
e8f3964475
barrier: More efficient impl, maybe
2019-02-23 21:05:39 +01: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
d61c2d07b6
Added appletRequestLaunchApplication and appletRequestLaunchApplicationForQuest.
2019-02-19 23:12:29 -05:00
yellows8
d90893c566
Expose libappletCreateWriteStorage.
2019-02-19 21:46:53 -05:00
Luke Street
1415df75e4
Update svcSleepThread definition
2019-02-19 18:18:50 -05:00
yellows8
567828f44e
Fixed doxygen issues / improved docs. Closes #230 .
2019-02-19 16:56:33 -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
fincs
61cc738730
Introduce hosversion.h - HOS version detection utilities
...
- Simplify kernel/detect.h logic; introduce detectKernelVersion()
- Use set:sys (if available) during __appInit in order to initialize
the current HOS version
2019-02-18 21:48:41 +01:00
yellows8
6c3f72929d
Fixed WebWifiPageArg struct, improved web-wifi handling and added docs.
2019-02-18 12:29:40 -05:00
fincs
ee2e19ce38
Improve names/documentation for jit kernel patch functions in detect.h/c + codestylefixes
2019-02-16 16:42:08 +01:00
yellows8
1cb2c18fa5
Added capssc.
2019-02-15 20:30:39 -05:00
averne
7d9601810d
Added nfp:user services wrappers. ( #237 )
...
* hid: move official/libnx controller converters to hid.h
2019-02-15 19:06:41 +01:00
plutooo
17731d750e
Add function to test OFW behavior under CFW
2019-02-14 22:03:47 +01:00
plutooo
fc557cbf2a
Detect and use the CFW jit patch.
2019-02-13 22:40:00 +01:00
yellows8
16cbf1c9f6
Fixed minimum required sysver for capssu.
2019-02-11 20:36:41 -05:00
yellows8
e02b6c167a
Added capssu and caps.h.
2019-02-08 19:47:13 -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
shibbs
131b92a8c8
Add in more NIFM functionality ( #236 )
2019-01-27 00:12:15 +01: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
203aa2b368
Added viGetIndirectLayerImageMap and viGetIndirectLayerImageRequiredMemoryInfo.
2019-01-14 11:12:49 -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
2e3fd9bd9f
Use const for appletQueryApplicationPlayStatistics.
2019-01-05 14:47:42 -05:00
yellows8
2ccaa302a1
Added appletQueryApplicationPlayStatistics. Use BufferType_Normal instead of 0 in _appletGetSessionProxy.
2019-01-05 14:34:18 -05:00
yellows8
9aa0f901d1
Fixed doxygen for swkbd.h.
2019-01-04 22:07:10 -05:00
yellows8
2900622cb5
Initial SwkbdInline impl, minor swkbd adjustments.
2019-01-04 22:05:06 -05:00
fincs
06733c4750
Fix NvColorFormat enum
2019-01-04 22:30:52 +01:00
yellows8
82e526c72f
Added appletHolderActive and appletHolderCheckFinished.
2019-01-04 11:46:36 -05:00
XProger
f589310ef2
fix unusable touch by adding touch identifier into touchPosition
2019-01-03 21:16:06 +01:00
fincs
e708372dca
Finally remove deprecated old gfx API
2019-01-03 21:13:20 +01:00
fincs
49efa74e70
Remove static_asserts from hid.h in order to avoid a hard dependency on C11
2019-01-01 03:27:43 +01:00
yellows8
e59036d4c8
Added PsmSession, which is now an additional param for: psmBindStateChangeEvent, psmWaitStateChangeEvent, and psmUnbindStateChangeEvent. Hence, the psm session is now handled with this object instead of libnx automatically handling it internally. psmBindStateChangeEvent no longer calls psmUnbindStateChangeEvent. Other adjustments.
2018-12-31 19:36:07 -05:00
yellows8
e9cc565e92
Fixed usbhs 3.0.0+ support with usbHsAcquireUsbIf.
2018-12-26 11:18:09 -05:00
yellows8
36a2404e4b
Updated applet/swkbd comments.
2018-12-24 20:13:09 -05:00
yellows8
e03c23e126
Added comments for SwkbdTextDrawType_DownloadCode/unk_x3e0.
2018-12-24 20:03:23 -05:00
yellows8
584b856299
Removed typedef for SwkbdKeyDisableBitmask. Changed the type for SwkbdArgV0 type and textDrawType to the enums.
2018-12-24 11:23:30 -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
715b597ef1
Removed comment from swkbdConfigSetInitialText, since the previous tmem commit fixed this.
2018-12-23 22:19:49 -05:00
yellows8
6355ead6d3
Fixed dicFlag type.
2018-12-23 01:47:11 -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
854e3058ba
Replaced appletSetMediaPlaybackStateForApplication with appletSetMediaPlaybackState, which now supports non-Application. Added _appletCmdInU8/_appletCmdInBool, the latter is now used by appletSetMediaPlaybackState.
2018-12-21 11:33:56 -05:00
Cpasjuste
8be5cad7f8
Added appletSetMediaPlaybackStateForApplication
2018-12-21 10:30:28 -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
d821185e3d
Added buffer param to appletCreateTransferMemoryStorage and appletCreateHandleStorageTmem, tmemCreateFromMemory will now be used with this when buffer is not NULL.
2018-12-20 12:59:59 -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
fincs
252e8ef9ff
Add tmemCreateFromMemory
2018-12-20 16:12:22 +01: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
fincs
f448b0fbad
nvioctlMap_Param -> nvioctlNvmap_Param
2018-12-19 19:33:31 +01:00
fincs
ccf85a134b
Added more RGB*() helper macros & fixed a few typos
2018-12-19 19:33:31 +01:00
fincs
e7c58fe59e
Deprecate old gfx API; scheduled for removal at a later date.
2018-12-19 19:33:31 +01:00
fincs
1b18a3b056
console_sw: Use Framebuffer object instead of old gfx api. Moved RGBA8/_MAXALPHA to framebuffer.h.
2018-12-19 19:33:31 +01:00