You can now use GetStatData to get all of the stat data for a file (its timestamps, size, read-only state, and type (file or directory)) in a single file-system request. Depending on the platform, this can be much more efficient than making multiple requests.
This change also adds alternate directory iteration functions (IterateDirectoryStat and IterateDirectoryStatRecursive) for when you need the stat data along with the files/directories on disk. For platforms that provide this stat data as part of the low-level directory iteration (such as Windows), this can yield much better performance than making two separate file-system requests. Platforms that do not provide this information as part of the directory iteration will just perform a stat request while iterating.
#platformnotify Josh.Adams
[CL 2634161 by Jamie Dale in Main branch]
Fixes bug where Fortnite cooked builds being unable to open log files through PlatformFilePak since they are open for write.
Merged //depot/UE4-Fortnite/Engine/Source/Runtime/... to //depot/UE4/Engine/Source/Runtime/...
[CL 2580616 by Eric Newman in Main branch]
- Currently essential on Windows only; other platforms may make use of this when managing file handles.
#codereview Eric.Newman, Robert.Manuszewski, Josh.Adams, Michael.Trepka, Chris.Babcock, Marcus.Wassmer, Peter.Sauerbrei
[CL 2480709 by Dmitry Rekman in Main branch]
Fix CreateDirectory to support multiple drive letters on Xbox One.
Fix some full path stomping on Xbox One.
Log to developer scratch partition by default on Xbox One.
[CL 2352498 by Jeff Campeau in Main branch]
#change Removed GGameName usage from code and replaced it with FApp::*GameName API
#change Added FApp::SetGameName(), FApp::IsGameNameEmpty()
#change Added IFileManager::GetFilenameOnDisk to get the correct case of a filename on disk
#change Renamed GGameName to GInternalGameName
[CL 2328446 by Robert Manuszewski in Main branch]
- Use a temporary buffer to collect all the unsolicited files and then pass them on as and when requested for single threaded HTML5.
#daniel.lamb
[CL 2261419 by Ankit Khare in Main branch]
#TTP 338960 CRITICAL: UFE: CRASH: Quick Launching project for HTML5
- Fixup some logic change which went in a recent refactor for nfs.
- Correctly launch firefox with the right http protocol url instead of file:// when cook on the fly is set.
- Re- enable http nfs for win64.
#codereview peter.sauerbrei
[CL 2230905 by Ankit Khare in Main branch]
HTML5 browser build fixes for NFS over http.
Todo: Correctly generate html5 file when serving via NFS.
howto:
- flip relevant bools in UEBuildHTML5.cs
- build html5/cooker.
- run cook on the fly server via UFE.
- Remove .data/.data.js references from .html ( see todo)
- point browser at http://cookserver:DEFAULT_FILE_SERVING_PORT/gamename.html
#codereview peter.sauerbrei
[CL 2109950 by Ankit Khare in Main branch]