| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-08 | Merge pull request #850 from DarkLordZach/icon-meta | bunnei | |
| Add Icons and Metadata Support | |||
| 2018-08-06 | loader: Add icon and title support to XCI | Zach Hilman | |
| 2018-08-06 | Use const where applicable | Zach Hilman | |
| 2018-08-06 | Avoid parsing RomFS to directory in NCA | Zach Hilman | |
| 2018-08-04 | content_archive: Add support for titlekey cryptography | Zach Hilman | |
| 2018-08-04 | Merge pull request #849 from DarkLordZach/xci | bunnei | |
| XCI and Encrypted NCA Support | |||
| 2018-08-02 | vfs_vector: Remove unused variable in FindAndRemoveVectorElement() | Lioncash | |
| This wasn't being used for anything, so it can be removed. | |||
| 2018-08-02 | vfs_vector: Avoid unnecessary copies where applicable | Lioncash | |
| The lambda elements should be taken by const reference here, and we can move the virtual directory passed to ReplaceFileWithSubdirectory() | |||
| 2018-08-01 | Add missing parameter to files.push_back() | Zach Hilman | |
| 2018-08-01 | Use more descriptive error codes and messages | Zach Hilman | |
| 2018-08-01 | Use ErrorEncrypted where applicable and fix no keys crash | Zach Hilman | |
| 2018-08-01 | Add missing includes and use const where applicable | Zach Hilman | |
| 2018-08-01 | Make XCI comply to review and style guidelines | Zach Hilman | |
| 2018-08-01 | Extract mbedtls to cpp file | Zach Hilman | |
| 2018-08-01 | Remove files that are not used | Zach Hilman | |
| 2018-07-29 | partition_filesystem: Remove dynamic_cast in PrintDebugInfo() | Lioncash | |
| We shouldn't be upcasting our file instances. Given a PartitionFilesystem is currently designed to accept any arbitrary VfsFile instances, casting to a more specific type than that is just bad design, and shows an interface design issue. | |||
| 2018-07-27 | RomFS Extraction | Zach Hilman | |
| 2018-07-23 | Merge pull request #785 from lioncash/fs | bunnei | |
| partition_filesystem: Use std::move where applicable | |||
| 2018-07-23 | VFS Regression and Accuracy Fixes (#776) | Zach Hilman | |
| * Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator& | |||
| 2018-07-23 | partition_filesystem: Use std::move where applicable | Lioncash | |
| Avoids copying a std::string instance and avoids unnecessary atomic reference count incrementing and decrementing. | |||
| 2018-07-23 | NRO Assets and NACP file format | Zach Hilman | |
| Cleanup Review fixes | |||
| 2018-07-22 | vfs: Correct file_p variable usage within InterpretAsDirectory() | Lioncash | |
| ReplaceFileWithSubdirectory() takes a VirtualFile and a VirtualDir, but it was being passed a string as one of its arguments. The only reason this never caused issues is because this template isn't instantiated anywhere yet. This corrects an issue before it occurs. | |||
| 2018-07-22 | file_util, vfs: Use std::string_view where applicable | Lioncash | |
| Avoids unnecessary construction of std::string instances where applicable. | |||
| 2018-07-21 | file_util: Use a u64 to represent number of entries | Lioncash | |
| This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away. | |||
| 2018-07-21 | Merge pull request #754 from lioncash/part | bunnei | |
| partition_filesystem, vfs_real: Minor changes | |||
| 2018-07-21 | Merge pull request #755 from lioncash/ctor | bunnei | |
| file_sys/errors: Remove redundant object constructor calls | |||
| 2018-07-20 | file_sys/errors: Remove redundant object constructor calls | Lioncash | |
| Given we're already constructing the error code, we don't need to call the constructor inside of it. | |||
| 2018-07-20 | vfs_real: Remove redundant copying of std::vector instances in GetFiles() ↵ | Lioncash | |
| and GetSubdirectories() We already return by value, so we don't explicitly need to make the copy. | |||
| 2018-07-20 | partition_filesystem, vfs_real: Add missing standard includes | Lioncash | |
| 2018-07-20 | partition_filesystem, vfs_real: Use std::move in ↵ | Lioncash | |
| ReplaceFileWithSubdirectory() where applicable Avoids unnecessary atomic increment and decrement operations. | |||
| 2018-07-20 | partition_filesystem, vfs_real: Use std::distance() instead of subtraction | Lioncash | |
| This is a little bit more self-documenting on what is being done here. | |||
| 2018-07-20 | vfs_offset: Simplify TrimToFit() | Lioncash | |
| We can simply use std::clamp() here, instead of using an equivalent with std::max() and std::min(). | |||
| 2018-07-20 | vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by ↵ | Lioncash | |
| const reference Given the data is intended to be directly written, there's no need to take the std::vector by value and copy the data. | |||
| 2018-07-20 | vfs: Use variable template variants of std::is_trivially_copyable | Lioncash | |
| Provides the same behavior, but with less writing | |||
| 2018-07-20 | vfs: Amend constness on pointers in WriteBytes() and WriteArrays() member ↵ | Lioncash | |
| functions to be const qualified These functions don't modify the data being pointed to, so these can be pointers to const data | |||
| 2018-07-20 | Merge pull request #737 from lioncash/move | bunnei | |
| filesys/loader: std::move VirtualFile instances in constructors where applicable | |||
| 2018-07-20 | vfs_offset: std::move file and name parameters of OffsetVfsFile | Lioncash | |
| Avoids potentially unnecessary atomic reference count incrementing and decrementing, as well as string copying. | |||
| 2018-07-19 | partition_filesystem: Return pfs_dirs member variable within GetSubdirectories() | Lioncash | |
| This should be returned here, otherwise pfs_dirs is effectively only ever added to, but never read. | |||
| 2018-07-19 | Merge pull request #703 from lioncash/const | bunnei | |
| savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function | |||
| 2018-07-19 | Merge pull request #702 from lioncash/initialize | bunnei | |
| partition_filesystem: Ensure all class members of PartitionFilesystem are initialized | |||
| 2018-07-19 | Merge pull request #701 from lioncash/moving | bunnei | |
| content_archive: Minor changes | |||
| 2018-07-18 | savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const ↵ | Lioncash | |
| member function This function doesn't alter class state. | |||
| 2018-07-18 | partition_filesystem: Ensure all class members of PartitionFilesystem are ↵ | Lioncash | |
| initialized Previously is_hfs and pfs_header members wouldn't be initialized in the constructor, as they were stored in locals instead. This would result in things like GetName() and PrintDebugInfo() behaving incorrectly. While we're at it, initialize the members to deterministic values as well, in case loading ever fails. | |||
| 2018-07-18 | content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const reference | Lioncash | |
| There's no need to take this by value when it's possible to avoid unnecessary copies entirely like this. | |||
| 2018-07-18 | content_archive: Add missing standard includes | Lioncash | |
| 2018-07-18 | content_archive: std::move VirtualFile in NCA's constructor | Lioncash | |
| Gets rid of unnecessary atomic reference count incrementing and decrementing. | |||
| 2018-07-18 | vfs: Deduplicate accumulation code in VfsDirectory's GetSize() | Lioncash | |
| We can just use a generic lambda to avoid writing the same thing twice. | |||
| 2018-07-18 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | |
| * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||
| 2018-07-17 | General Filesystem and Save Data Fixes (#670) | Zach Hilman | |
| 2018-07-14 | FileSys: Append the requested path to the filesystem base path in DeleteFile. | Subv | |
| We were trying to delete things in the current directory instead of the actual filesystem directory. This may fix some savedata issues in some games. | |||
