summaryrefslogtreecommitdiffstats
path: root/build/visual-studio/core
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-10-03 21:09:16 -0400
committerGitHub <noreply@github.com>2022-10-03 18:09:16 -0700
commit0b51ea6bb54b1d8a12695ccc2c259fd591069791 (patch)
tree1ff0587eb1454891bf8421a86b95ed5e95419e75 /build/visual-studio/core
parentcc3548c92b1cf028b94d7a264a55df83e6d4d212 (diff)
IMutableFileSystem::saveFileBlob (#2427)
* #include an absolute path didn't work - because paths were taken to always be relative. * Remove ref count for Entry in RiffFileSystem. Free up backing Entry types (to work around Dictionary not doing this). * Some small improvements to RiffFileSystem. * Add testing for file systems. * Split out MemoryFileSystem. * Add some documentation around different FileSystems. * Small tiry up - removing unused headers, fixing some comments. Use StringBlob::moveCreate where appropriate. * Small improvement to MemoryFileSystem. Improve documentation comments a little. * Added PathKind * * Make MemoryFileSystem not have implicit directories * Make RelativeFileSystem only allow access to files in file system (kind of like chroot) * Added Path::simplifyAbsolute * Special handling for root of MemoryFileSystem * Improvements around paths for different impls * More improvements around RelativeFileSystem. Special case root handling. * Test archive serialization. Move testinf from compression. Remove the implicit directory test -> doesn't work on all file systems. * Small optimization that removes need for check for a parent unless an item is being *created*. * Add implicit path testing. * Add support for saveFileBlob Add testing for saveFileBlob * Removed TemporaryFileSet Added PlatformUtil::outputDebugMessage * Some small improvements around RelativeFileSystem. * Split out ImplicitDirectoryCollector so can use without requiring compression systems. * Split out StringSliceIndexMap into own files.
Diffstat (limited to 'build/visual-studio/core')
-rw-r--r--build/visual-studio/core/core.vcxproj4
-rw-r--r--build/visual-studio/core/core.vcxproj.filters12
2 files changed, 16 insertions, 0 deletions
diff --git a/build/visual-studio/core/core.vcxproj b/build/visual-studio/core/core.vcxproj
index 6311e4b8b..a49ccd040 100644
--- a/build/visual-studio/core/core.vcxproj
+++ b/build/visual-studio/core/core.vcxproj
@@ -277,6 +277,7 @@
<ClInclude Include="..\..\..\source\core\slang-hash.h" />
<ClInclude Include="..\..\..\source\core\slang-hex-dump-util.h" />
<ClInclude Include="..\..\..\source\core\slang-http.h" />
+ <ClInclude Include="..\..\..\source\core\slang-implicit-directory-collector.h" />
<ClInclude Include="..\..\..\source\core\slang-io.h" />
<ClInclude Include="..\..\..\source\core\slang-lazy-castable-list.h" />
<ClInclude Include="..\..\..\source\core\slang-linked-list.h" />
@@ -305,6 +306,7 @@
<ClInclude Include="..\..\..\source\core\slang-std-writers.h" />
<ClInclude Include="..\..\..\source\core\slang-stream.h" />
<ClInclude Include="..\..\..\source\core\slang-string-escape-util.h" />
+ <ClInclude Include="..\..\..\source\core\slang-string-slice-index-map.h" />
<ClInclude Include="..\..\..\source\core\slang-string-slice-pool.h" />
<ClInclude Include="..\..\..\source\core\slang-string-util.h" />
<ClInclude Include="..\..\..\source\core\slang-string.h" />
@@ -333,6 +335,7 @@
<ClCompile Include="..\..\..\source\core\slang-free-list.cpp" />
<ClCompile Include="..\..\..\source\core\slang-hex-dump-util.cpp" />
<ClCompile Include="..\..\..\source\core\slang-http.cpp" />
+ <ClCompile Include="..\..\..\source\core\slang-implicit-directory-collector.cpp" />
<ClCompile Include="..\..\..\source\core\slang-io.cpp" />
<ClCompile Include="..\..\..\source\core\slang-lazy-castable-list.cpp" />
<ClCompile Include="..\..\..\source\core\slang-lz4-compression-system.cpp" />
@@ -353,6 +356,7 @@
<ClCompile Include="..\..\..\source\core\slang-std-writers.cpp" />
<ClCompile Include="..\..\..\source\core\slang-stream.cpp" />
<ClCompile Include="..\..\..\source\core\slang-string-escape-util.cpp" />
+ <ClCompile Include="..\..\..\source\core\slang-string-slice-index-map.cpp" />
<ClCompile Include="..\..\..\source\core\slang-string-slice-pool.cpp" />
<ClCompile Include="..\..\..\source\core\slang-string-util.cpp" />
<ClCompile Include="..\..\..\source\core\slang-string.cpp" />
diff --git a/build/visual-studio/core/core.vcxproj.filters b/build/visual-studio/core/core.vcxproj.filters
index bf553e327..9266db917 100644
--- a/build/visual-studio/core/core.vcxproj.filters
+++ b/build/visual-studio/core/core.vcxproj.filters
@@ -90,6 +90,9 @@
<ClInclude Include="..\..\..\source\core\slang-http.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\..\..\source\core\slang-implicit-directory-collector.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\..\..\source\core\slang-io.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -174,6 +177,9 @@
<ClInclude Include="..\..\..\source\core\slang-string-escape-util.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\..\..\source\core\slang-string-slice-index-map.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\..\..\source\core\slang-string-slice-pool.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -254,6 +260,9 @@
<ClCompile Include="..\..\..\source\core\slang-http.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\..\..\source\core\slang-implicit-directory-collector.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\..\..\source\core\slang-io.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@@ -314,6 +323,9 @@
<ClCompile Include="..\..\..\source\core\slang-string-escape-util.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\..\..\source\core\slang-string-slice-index-map.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\..\..\source\core\slang-string-slice-pool.cpp">
<Filter>Source Files</Filter>
</ClCompile>