Commit Graph

62 Commits

Author SHA1 Message Date
x1nixmzeng
97ed221d8b Fixed writing data to the host device
New paths can now be created if they do not exist - this allows content
packages such as savedata to be written to disk
2015-02-16 23:04:10 +00:00
x1nixmzeng
4f7761c5e2 Support for wildcard queries
Provides support for persistent wildcard file requests, as described in
#96
Also moved CanonicalizePath into common code (poly::fs)
2015-02-13 23:41:19 +00:00
Ben Vanik
ea5175cab5 Fixing path issues for host FS. 2015-02-12 21:52:46 -08:00
x1nixmzeng
0d0b406acf Resolving entry names
Some more string manipulation fluff
2015-02-13 00:26:02 +00:00
Ben Vanik
dc731f6a31 Most of XamContent* methods, besides enumeration.
Progress on #152.
2015-02-12 14:16:43 -08:00
x1nixmzeng
9300551e31 Various fixes to resolving relative paths
Rewritten the canonicalization path logic to better handle complex
relative paths
2015-02-12 01:39:22 +00:00
x1nixmzeng
4351f48c7b Resolve relative file paths
Implemented path normalization so relative paths can be correctly
resolved
2015-02-11 01:11:52 +00:00
Ben Vanik
cc6d03ab2c Removing unneeded fs entry type. 2015-02-09 16:59:28 -08:00
Ben Vanik
00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik
1a70606904 QueryFileSystemAttributes/QueryVolume for STFS/ISO. 2015-01-05 22:32:44 -08:00
Ben Vanik
a82629efd5 Fix dots in path names. 2015-01-04 21:08:47 -08:00
Ben Vanik
caad11b30b Support root-relative paths. 2015-01-04 20:57:12 -08:00
Ben Vanik
a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
Ben Vanik
6f802c2432 Fixing many clang warnings. 2014-08-21 23:10:08 -07:00
Ben Vanik
08b0226a16 Finishing unique_ptr'ing and fixing file memory management (for now). 2014-08-21 07:54:19 -07:00
Ben Vanik
c59d053404 unique_ptr'ing things and removing some XECLEANUP. 2014-08-20 23:26:46 -07:00
Ben Vanik
cecf83b7b7 Removing xenia/malloc.*
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik
854bcdb60a Moving mmap to poly, cleaning up devices. 2014-08-17 12:57:02 -07:00
Ben Vanik
24fe169f36 Last bit of string cleanup. string.h finally gone. 2014-08-17 11:48:29 -07:00
Ben Vanik
383d3acbb0 Some fs/ cleanup. 2014-08-16 21:36:01 -07:00
Ben Vanik
f2a9fa3bf9 XECOUNT to countof. 2014-08-16 17:58:33 -07:00
Ben Vanik
54ce9db743 Starting to remove some macros. 2014-08-16 16:57:00 -07:00
Ben Vanik
ead74f2cdb More string switching. 2014-08-16 16:46:20 -07:00
Ben Vanik
7c5fa88661 More string swapping and cleaning up main(). 2014-08-16 16:34:13 -07:00
Ben Vanik
66d2336e38 More string conversion. 2014-08-16 02:50:08 -07:00
Ben Vanik
a4dfc23abc Working on switching to std::string. 2014-08-16 02:30:23 -07:00
Ben Vanik
bca49bed4b Removing xe_mutex_t. 2014-08-16 00:56:50 -07:00
Ben Vanik
3de39aaf10 Postmortem debug target now loads/scans the trace and inits the filesystem. 2014-08-15 22:02:10 -07:00
Ben Vanik
ec4f41fec4 Moving byte order/memory access to poly. 2014-07-17 19:20:17 -07:00
Ben Vanik
ce70978ef6 Starting to split up alloy/core.h. 2014-07-14 19:18:42 -07:00
Ben Vanik
e9284dfaed More C++11ification. 2014-07-13 22:28:00 -07:00
Ben Vanik
bf882714d0 Cleaning up asserts and file/line macros. 2014-07-12 16:51:52 -07:00
Ben Vanik
1d54342930 Starting to cleanup includes a bit. Still a mess. 2014-07-11 18:03:35 -07:00
Ben Vanik
829b4f67bf ReadFile EOF. 2014-06-10 20:40:11 -07:00
Anthony Pesch
60a7e79e1a assume c++11
clang didn't like static members in anonymous structures, gave them names
WriteEvent template wouldn't resolve for temporary values without const decl in clang
added a few missing headers
added -fno-operator-names for xbyak compilation under gcc/clang
2014-05-14 00:35:21 -07:00
gibbed
44847e9042 Moved QueryVolume and QueryFileSystemAttributes to Device from Entry. 2014-01-23 11:23:26 -08:00
gibbed
6671908375 QueryVolume, QueryFileSystemAttributes stubs with accompanying XVolumeInfo and XFileSystemAttributeInfo. Needs further improvement. 2014-01-22 17:54:10 -08:00
gibbed
870a59f225 Turns out NtQueryDirectoryFile only returns a single entry at a time. 2014-01-19 06:57:43 -08:00
gibbed
c7276454d7 Added file_name argument to QueryDirectory. 2014-01-19 02:05:51 -08:00
Ben Vanik
71de4e77dc Fixing memory leak and zeroing on alloc. 2014-01-19 01:51:57 -08:00
Ben Vanik
268bbf105d QueryDirectory for STFS. 2014-01-19 01:47:06 -08:00
gibbed
7da2ad30b0 absolute_path for XFile and Entry. 2014-01-19 01:28:34 -08:00
gibbed
d22b59555e Fixed QueryDirectory for DiscImageFile and STFSContainerFile. 2014-01-19 00:52:17 -08:00
gibbed
124b419b6b Added name() and path() to XFile. 2014-01-19 00:51:08 -08:00
gibbed
1277325603 Stubbed QueryDirectory on STFSContainerEntry. 2014-01-19 00:07:48 -08:00
gibbed
f306db970d Merge branch 'master' of https://github.com/benvanik/xenia 2014-01-18 23:45:48 -08:00
Ben Vanik
50a692d20f Allowing STFS v2 with a warning. 2014-01-18 23:41:40 -08:00
gibbed
8536425d76 Remove comment about file paths. And don't recompute file name length. 2014-01-18 23:41:04 -08:00
gibbed
0db3577a84 Added QueryDirectory to Entry. 2014-01-18 23:40:22 -08:00
gibbed
6386fe50c2 QueryDirectory for DiscImageEntry. Untested. 2014-01-18 23:40:01 -08:00