Commit graph

867 commits

Author SHA1 Message Date
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
3e17692a25 Update version to v0.15.0 and .NET 6.0 2021-12-18 17:53:51 -07:00
Alex Barney
fc1e098118 Update NUKE version and build script dependencies 2021-12-18 17:53:51 -07:00
Alex Barney
592343212f Add new key sources for key generation 13 2021-12-18 13:49:43 -07:00
Alex Barney
2f8e68e35f Fix LocalFileSystem on Linux 2021-12-18 13:24:10 -07:00
Alex Barney
8ccd4e11c0 Include the pdb file in the .nupkg
Works around jbevain/cecil#610

Using InlineIL.Fody messes up the pdb checksum which makes nuget.org consider the .snupkg to be invalid. Workaround this by including the pdb in the main .nupkg
2021-12-16 18:28:43 -07:00
Alex Barney
9451553fde AesXtsFile: Don't take the input file until the end of the constructor
An exception in the constructor would make it so the file wasn't disposed correctly
2021-12-14 01:43:29 -07:00
Alex Barney
2540f071ea LocalFileSystem: Allow deleting read-only files and directories 2021-12-14 01:43:29 -07:00
Alex Barney
6910049070 Fix bugs when copying directories
- CopyDirectoryRecursively would try to create directories on the source FS instead of the destination FS.
- Don't output file name twice in CopyDirectoryRecursively .
2021-12-14 01:43:29 -07:00
Alex Barney
a76b0ef075 hactoolnet: Fix error when extracting an nca's exefs 2021-12-11 01:37:19 -07:00
Alex Barney
f80af38c64 Add Language enum 2021-12-10 18:16:39 -07:00
Alex Barney
b5ccde1a29 Support NCAs with sparse partitions 2021-12-04 15:49:31 -07:00
Alex Barney
921fbab17a Improve IndirectStorage allocations
Make sure rented arrays are returned and remove delegate allocations by using lambda functions
2021-12-04 15:49:31 -07:00
Alex Barney
40925034e1 Update IndirectStorage and SparseStorage for 13.0 2021-12-04 15:49:31 -07:00
Alex Barney
f180bfeef9 Update BucketTree for 13.0 2021-12-04 15:49:31 -07:00
Alex Barney
771f2cdb26 Add ValueSubStorage 2021-12-04 15:49:31 -07:00
Alex Barney
280fe14b5f Consolidate the 2 separate Buffer types 2021-12-04 15:49:31 -07:00
Alex Barney
f526860599 Modify a few result names 2021-12-04 15:49:31 -07:00
Alex Barney
6a1b24b2f6 Update usage text in readme 2021-11-17 12:00:12 -07:00
Alex Barney
01ecd31110 hactoolnet: Add disablekeywarns option 2021-11-17 12:00:12 -07:00
Alex Barney
80e7466840 Add parameterless constructor to Fs.Path
We can finally initialize Fs.Path correctly thanks to C# 10 allowing parameterless constructors on structs
2021-11-14 18:36:53 -07:00
Alex Barney
edfa3de6cb Update build script and tests to run on .NET 6.0
LibHac and hactoolnet still target .NET 5.0.
We need to build the library with a .NET 6.0 SDK in order to use C# 10 features.
2021-11-14 18:36:53 -07:00
Alex Barney
d816d412b6 Update GitVersion.Tool 2021-11-14 18:36:53 -07:00
Alex Barney
fb00bb7c78 Update codegen for file-scoped namespaces 2021-11-14 18:36:53 -07:00
Alex Barney
34dda02c38 Use file-scoped namespaces 2021-11-14 18:36:53 -07:00
Alex Barney
6fe89a2966 Properly catch exceptions in LocalFileSystem.CleanDirectoryRecursively 2021-11-04 13:25:00 -07:00
Alex Barney
2793648d37 Remove deprecated classes 2021-11-04 13:02:25 -07:00
Alex Barney
0a8fb8a5c0 Update package1 and package2 readers to use SharedRef<T> 2021-11-03 23:08:50 -07:00
Alex Barney
2370f76c62 Bump version to 0.14.0 2021-11-03 23:08:50 -07:00
Alex Barney
257bdf0c46 Fix usages of SharedRef/UniqueRef 2021-11-03 23:08:50 -07:00
Alex Barney
f9f31056ef Use "in" instead of "ref" where appropriate in SharedRef<T> 2021-11-03 23:08:50 -07:00
Alex Barney
770cd222f1 Update Xci.HasPartition for the new path handling 2021-11-03 23:08:50 -07:00
Alex Barney
e14a20b4fa Use SharedRef in the bcat IPC interfaces 2021-11-03 23:08:50 -07:00
Alex Barney
f07e515048 Fix a new SubStorage bug and add NonCopyable attributes 2021-11-03 23:08:50 -07:00
Alex Barney
1f14a1c360 Fix some usages of SharedRef 2021-11-03 23:08:50 -07:00
Alex Barney
a23d01e934 Move code to use SharedRef instead of ReferenceCountedDisposable 2021-11-03 23:08:50 -07:00
Alex Barney
c28128c7dd Add SharedRef<T> and WeakRef<T> 2021-11-03 23:08:50 -07:00
Alex Barney
6082c10efa Fix bug in FileSystemServiceObjectAdapter.DoCreateDirectory 2021-11-03 23:08:50 -07:00
Alex Barney
01ca9e0412 Introduce UniqueRef<T> and use it in IFileSystem 2021-11-03 23:08:50 -07:00
Alex Barney
5f85c0b8e2 Use using statements to dispose Fs.Path variables 2021-11-03 23:08:50 -07:00
Alex Barney
39f727bc0d Address new warnings from Resharper 2021.2 2021-08-06 23:14:58 -07:00
Alex Barney
373ba8ea20
Merge pull request #204 from Thealexbarney/ifilesystem-path
Use nn::fs::Path in IFileSystem and other places
2021-08-06 22:46:34 -07:00
Alex Barney
b244318e3a Add XML docs to Path 2021-08-06 18:51:55 -07:00
Alex Barney
689549fed7 Remove old path code 2021-08-05 12:59:57 -07:00
Alex Barney
aad87ec845 Update the FsSystem namespace to use Fs.Path 2021-08-05 11:59:05 -07:00