Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #720 from Subv/getentrytype_root | Sebastian Valle | 2018-07-19 | 1 | -0/+4 |
|\ | | | | | Filesystem: Return EntryType::Directory for the root directory. | ||||
| * | Filesystem: Return EntryType::Directory for the root directory. | Subv | 2018-07-19 | 1 | -0/+4 |
| | | | | | | | | It is unknown if this is correct behavior, but it makes sense and fixes a regression with Stardew Valley. | ||||
* | | Merge pull request #712 from lioncash/fsp | bunnei | 2018-07-19 | 1 | -17/+22 |
|\ \ | | | | | | | fsp_srv: Misc individual changes | ||||
| * | | fsp_srv: Remove unnecessary vector construction in IFile's Write() function | Lioncash | 2018-07-19 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | We can avoid constructing a std::vector here by simply passing a pointer to the original data and the size of the copy we wish to perform to the backend's Write() function instead, avoiding copying the data where it's otherwise not needed. | ||||
| * | | fsp_srv: Remove unnecessary std::vector construction in IDirectory's Read() function | Lioncash | 2018-07-19 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using a second std::vector as a buffer to convert another std::vector's data into a byte sequence, however we can just use pointers to the original data and use them directly with WriteBuffer, which avoids copying the data at all into a separate std::vector. We simply cast the pointers to u8* (which is allowed by the standard, given std::uint8_t is an alias for unsigned char on platforms that we support). | ||||
| * | | fsp_srv: Make IStorage constructor explicit | Lioncash | 2018-07-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Prevents implicit conversions. | ||||
| * | | fsp_srv: Add missing includes | Lioncash | 2018-07-19 | 1 | -0/+5 |
| | | | | | | | | | | | | Gets rid of relying on indirect inclusions. | ||||
| * | | fsp_srv: Resolve sign-mismatch warnings in assertion comparisons | Lioncash | 2018-07-19 | 1 | -3/+3 |
| | | | |||||
| * | | fsp_srv: Respect write length in Write() | Lioncash | 2018-07-19 | 1 | -4/+5 |
| |/ | | | | | | | | | | | | | | | | | | | | | Previously we were just copying the data whole-sale, even if the length was less than the total data size. This effectively makes the actual_data vector useless, which is likely not intended. Instead, amend this to only copy the given length amount of data. At the same time, we can avoid zeroing out the data before using it by passing iterators to the constructor instead of a size. | ||||
* | | filesystem: std::move VirtualDir instance in VfsDirectoryServiceWrapper's constructor | Lioncash | 2018-07-19 | 1 | -1/+3 |
| | | | | | | | | Avoids unnecessary atomic reference count incrementing and decrementing | ||||
* | | filesystem: Use std::string's empty() function instead of comparing against a literal | Lioncash | 2018-07-19 | 1 | -1/+1 |
| | | | | | | | | | | This is simply a basic value check as opposed to potentially doing string based operations (unlikely, but still, avoiding it is free). | ||||
* | | filesystem: Remove pragma disabling global optimizations | Lioncash | 2018-07-19 | 1 | -2/+0 |
|/ | | | | This was just an artifact missed during PR review. | ||||
* | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 2018-07-19 | 4 | -115/+383 |
| | | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | ||||
* | General Filesystem and Save Data Fixes (#670) | Zach Hilman | 2018-07-17 | 4 | -87/+125 |
| | |||||
* | Merge pull request #559 from Subv/mount_savedata | bunnei | 2018-07-12 | 1 | -2/+11 |
|\ | | | | | Services/FS: Return the correct error code when trying to mount a nonexistent savedata. | ||||
| * | Services/FS: Return the correct error code when trying to mount a nonexistent savedata. | Subv | 2018-06-19 | 1 | -2/+11 |
| | | |||||
* | | Revert "Virtual Filesystem (#597)" | bunnei | 2018-07-08 | 4 | -404/+70 |
| | | | | | | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | ||||
* | | Virtual Filesystem (#597) | Zach Hilman | 2018-07-06 | 4 | -70/+404 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename | ||||
* | | Update clang format | James Rowe | 2018-07-03 | 1 | -2/+2 |
| | | |||||
* | | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 2 | -28/+28 |
|/ | |||||
* | Common/string_util: add StringFromBuffer function | mailwl | 2018-06-07 | 1 | -22/+9 |
| | | | | convert input buffer (std::vector<u8>) to string, stripping zero chars | ||||
* | general: Make formatting of logged hex values more straightforward | Lioncash | 2018-05-02 | 2 | -6/+6 |
| | | | | | | This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on). | ||||
* | filesystem: Move logging macros over to new fmt-compatible ones | Lioncash | 2018-04-24 | 2 | -30/+29 |
| | |||||
* | Service/FS: implement IFileSystem::RenameFile | mailwl | 2018-04-24 | 1 | -1/+21 |
| | |||||
* | service: Use nested namespace specifiers where applicable | Lioncash | 2018-04-20 | 3 | -12/+6 |
| | | | | Tidies up namespace declarations | ||||
* | fsp_srv: Implement DeleteFile. | bunnei | 2018-04-15 | 1 | -1/+15 |
| | | | | - Used by Binding of Isaac. | ||||
* | fsp_srv: Implement IFile::Flush. | bunnei | 2018-04-15 | 1 | -1/+9 |
| | |||||
* | Various fixes and clang | Hexagon12 | 2018-04-11 | 1 | -12/+5 |
| | |||||
* | Updated fsp-srv with more service names. | Hexagon12 | 2018-04-10 | 1 | -4/+102 |
| | |||||
* | Fix spelling of Initialize | James Rowe | 2018-04-07 | 2 | -3/+3 |
| | |||||
* | hle_ipc, fsp_srv: Cleanup logging. | bunnei | 2018-04-01 | 1 | -2/+2 |
| | |||||
* | fsp_srv: Implement GetSize and SetSize. | bunnei | 2018-03-31 | 1 | -2/+21 |
| | |||||
* | Merge pull request #255 from Subv/sd_card | bunnei | 2018-03-24 | 3 | -2/+106 |
|\ | | | | | FS: Implemented access to the SD card | ||||
| * | FS: Implemented IFileSystem::CreateDirectory. | Subv | 2018-03-21 | 1 | -0/+15 |
| | | |||||
| * | FS: Implemented IFileSystem's OpenDirectory function. | Subv | 2018-03-20 | 1 | -0/+28 |
| | | | | | | | | Note that the filter parameter is not yet implemented. | ||||
| * | FS: Added the IDirectory IPC interface and implemented its two functions. | Subv | 2018-03-20 | 1 | -0/+51 |
| | | |||||
| * | FS: Implement MountSdCard. | Subv | 2018-03-20 | 1 | -2/+6 |
| | | |||||
| * | FS: Added an SDMC archive factory and registered it to the SDMC archive on startup. | Subv | 2018-03-20 | 2 | -0/+6 |
| | | |||||
* | | oops | N00byKing | 2018-03-19 | 1 | -3/+3 |
| | | |||||
* | | Clean Warnings (?) | N00byKing | 2018-03-19 | 1 | -3/+3 |
|/ | |||||
* | FS: Stubbed CreateSaveData. It currently does nothing. | Subv | 2018-03-04 | 2 | -0/+15 |
| | |||||
* | FS: Make EnsureSaveData create the savedata folder when called for the first time. | Subv | 2018-03-04 | 2 | -0/+20 |
| | |||||
* | FS: Implement MountSaveData and some of the IFile interface. | Subv | 2018-03-02 | 2 | -0/+189 |
| | |||||
* | Filesystem: Added a SaveData Factory and associated Disk_FileSystem. | Subv | 2018-03-02 | 2 | -2/+10 |
| | |||||
* | service: Remove remaining uses of BufferDescriptor*. | bunnei | 2018-02-14 | 1 | -3/+1 |
| | |||||
* | fsp_srv: Stub MountSdCard. | bunnei | 2018-02-10 | 2 | -0/+9 |
| | |||||
* | Service: stub some functions in am, audio, time, vi services | mailwl | 2018-02-07 | 1 | -0/+1 |
| | |||||
* | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 2018-01-25 | 1 | -9/+9 |
| | |||||
* | service: Fix all incorrect IPC response headers. | bunnei | 2018-01-25 | 1 | -2/+2 |
| | |||||
* | fsp_srv: Various improvements to IStorage:Read implementation. | bunnei | 2018-01-21 | 3 | -48/+72 |
| | |||||
* | filesystem: Implement basic IStorage functionality. | David Marcec | 2018-01-21 | 4 | -0/+252 |