Commit graph

1129 commits

Author SHA1 Message Date
Alex Barney
9803634284 Fixup AccessControl and update for 13.1.0 2022-01-12 15:42:42 -07:00
Alex Barney
8ba258034b Fixup ProgramRegistryManager and ProgramInfo 2022-01-12 01:36:54 -07:00
Alex Barney
04a2e51cfa Ensure LocationResolverSet is updated for 13.1.0 2022-01-12 01:32:47 -07:00
Alex Barney
e0deb7ea54
Merge pull request #227 from Thealexbarney/fs-stuff
Update some FS classes for system version 13.1.0

Updated:
- Fs.DirectoryPathParser
- Fs.FileHandleStorage
- Fs.FileStorage
- Fs.FileStorageBasedFileSystem
- Fs.PathFormatter
- Fs.PathNormalizer
- Fs.PathUtility
- Fs.Path
- Fs.WindowsPath
- Fs.Fsa.MountUtility
- Fs.Fsa.Registrar
- Fs.Fsa.UserDirectory
- Fs.Fsa.UserFile
- Fs.Fsa.UserFileSystem
- Fs.Fsa.UserFileSystemPrivate
- Fs.Fsa.UserMountTable
- Fs.Impl.DirectoryAccessor
- Fs.Impl.FileAccessor
- Fs.Impl.FileDataCacheAccessor
- Fs.Impl.FileSystemAccessor
- Fs.Impl.IFileDataCache
- Fs.Impl.MountTable
- FsSrv.Impl.FileSystemInterfaceAdapter
- FsSystem.BufferedStorage
- FsSystem.ConcatenationFileSystem
- FsSystem.FileSystemBufferManager

Added:
- Fs.Range
- Fs.Fsa.UserFileSystemForDebug
- Fs.Impl.GlobalFileDataCacheAccessorReadableScopedPointer
- Fs.Shim.FileDataCache partially
- Fs.Shim.PathBasedFileDataCache skeleton
- FsSystem.CompressedStorage skeleton
- FsSystem.DefaultAsynchronousAccessSplitter
- FsSystem.IAsynchronousAccessSplitter
- FsSystem.Impl.BlockCacheManager
- Util.Utf8StringUtil

Change the way some structs are laid out so that they don't use LayoutKind.Explicit or the size parameter of StructLayout. The ArrayN<T> types are now used for structs containing inline arrays.
The offsets of all fields in structs where layout matters are now documented in the LibHac.Tests project inside tests that make sure struct layouts are correct.
2022-01-11 13:49:51 -07:00
Alex Barney
06806517da Build: Continue the build when skipping the Sign task 2022-01-09 18:14:29 -07:00
Alex Barney
71ca5e3444 Use .NET SDK 6.0.101 2022-01-07 18:39:51 -07:00
Alex Barney
e0b482f44b Add a description of the LibHac.Tools namespace 2022-01-07 00:33:47 -07:00
Alex Barney
14fcdc9d67 Move Npdm, LayeredFileSystem 2022-01-07 00:33:47 -07:00
Alex Barney
a289059ecf Move InMemoryFileSystem, PathParser, PathTools 2022-01-07 00:33:47 -07:00
Alex Barney
d0a1d98885 Move PartitionFileSystemBuilder, ConcatenationStorage 2022-01-07 00:33:47 -07:00
Alex Barney
c5f904710a Move IntegrityVerificationStorage 2022-01-07 00:33:47 -07:00
Alex Barney
27bf4a1003 Move DirectoryEntryEx 2022-01-07 00:33:47 -07:00
Alex Barney
00a5b07da0 Remove use of PathTools constants 2022-01-07 00:33:47 -07:00
Alex Barney
865f271fe7 Move StreamFile, StreamStorage, StorageExtensions, FileReader 2022-01-07 00:33:47 -07:00
Alex Barney
c6a09d1dfa Move StorageStream, NullFile, NullStorage 2022-01-07 00:33:47 -07:00
Alex Barney
de2d6746fe Move FileSystemExtensions, Messages 2022-01-07 00:33:47 -07:00
Alex Barney
5acff2acab Move CachedStorage, SectorStorage and derivatives 2022-01-07 00:33:47 -07:00
Alex Barney
ae35a1b916 Fix or suppress some ReSharper warnings 2022-01-07 00:33:47 -07:00
Alex Barney
0846b86249 Move AesXtsFileSystem 2022-01-07 00:33:47 -07:00
Alex Barney
f73d206901 Move ResultNameResolver 2022-01-07 00:33:47 -07:00
Alex Barney
8e5f400048 Move CryptoOld 2022-01-07 00:33:47 -07:00
Alex Barney
2bd1c05ed5 Move some files to LibHac.Common 2022-01-07 00:33:47 -07:00
Alex Barney
50dab0c7c9 Move InternalsVisibleToAttribute to the .csproj 2022-01-07 00:33:47 -07:00
Alex Barney
bba1030143 Move Lz4 2022-01-07 00:33:47 -07:00
Alex Barney
56b0695d0a Move Calibration 2022-01-07 00:33:47 -07:00
Alex Barney
34faf2b468 Move RomFs 2022-01-07 00:33:47 -07:00
Alex Barney
aa153980be Move NcaUtils 2022-01-07 00:33:47 -07:00
Alex Barney
7681429c97 Move NxFileStream, Delta 2022-01-07 00:33:47 -07:00
Alex Barney
3c6d082ad4 Make sure modifiers are all in a consistent order 2022-01-07 00:33:47 -07:00
Alex Barney
e3d55f6793 Move Keys 2022-01-07 00:33:47 -07:00
Alex Barney
2d86d63fc6 Move FsSystem/Save 2022-01-07 00:33:47 -07:00
Alex Barney
fef8e16a85 Move FileSystemClientUtils 2022-01-07 00:33:47 -07:00
Alex Barney
a88b3058e9 Move Ticket, SwitchFs, Cnmt, Nro, Xci again 2022-01-07 00:33:47 -07:00
Alex Barney
da930dfa81 Move Xci 2022-01-07 00:33:47 -07:00
Alex Barney
6cae86eb9c Disable another warning on fixed array structs 2022-01-06 11:12:07 -07:00
Alex Barney
d412c15387 Add Utf8StringUtil and update MountUtility for 13.1.0 2022-01-05 14:05:10 -07:00
Alex Barney
123fc0655d Update Fs.Path for 13.1.0 2022-01-05 12:04:09 -07:00
Alex Barney
1f8277202f Update DirectoryPathParser, PathUtility and WindowsPath for 13.1.0 2022-01-05 00:21:45 -07:00
Alex Barney
61b29e57a3 Update PathFormatter and PathNormalizer for 13.1.0 2022-01-04 22:17:35 -07:00
Alex Barney
e1fd31c1ff Update layout of Loader and Kvdb structs 2022-01-02 22:58:11 -07:00
Alex Barney
b0e679d000 Update struct layout of Ns structs 2022-01-02 16:52:57 -07:00
Alex Barney
b7e8ea8249 Update struct layout of most remaining Fs structs 2022-01-02 14:14:37 -07:00
Alex Barney
9a358a4e30 Remove unnecessary DebuggerDisplayAttributes 2021-12-30 20:49:36 -07:00
Alex Barney
ec38f80066 Update layout of Boot and some Fs structs
Boot:
- EncryptedKeyBlob
- KeyBlob
- Package1MarikoOemHeader
- Package1MetaData
- Package1Stage1Footer
- Package1Pk11Header
- Package2Header
- Package2Meta

Fs:
- ApplicationInfo
- CodeVerificationData
- DirectoryEntry
- EncryptionSeed
- FileSystemProxyErrorInfo
- StorageErrorInfo
- FileTimeStamp
- FileTimeStampRaw
- ProgramIndexMapInfo
- QueryRangeInfo
- RightsId
2021-12-30 17:12:29 -07:00
Alex Barney
57750b896d Update layout of Arp, Bcat, and some Fs structs
Stop using LayoutKind.Explicit and the Size parameter of StructLayout
2021-12-29 15:47:20 -07:00
Alex Barney
5380902376 Rename some save enum/struct fields 2021-12-29 10:13:42 -07:00
Alex Barney
5013e7d2ec Use fixed array structs instead of Data* structs 2021-12-29 10:06:02 -07:00
Alex Barney
53e5029ef4 Remove StructLayout and fix naming in KeySet 2021-12-28 22:53:09 -07:00
Alex Barney
7c3b8df564 Remove unnecessary StructLayoutAttributes in FixedArrays 2021-12-28 22:47:37 -07:00
Alex Barney
f0df8c2d9b Remove Do* methods from IStorage 2021-12-28 17:00:37 -07:00