Commit Graph

38 Commits

Author SHA1 Message Date
Daniel Lamb
9164155740 Fixed cook on the fly streaming server from not working because couldn't find plugins directory.
#codereview Josh.Adams

[CL 2642767 by Daniel Lamb in Main branch]
2015-08-03 19:22:59 -04:00
Marcus Wassmer
d4e748672c Fix MediaFramework GC problems.
Also fix a leak with PS4 moviestreamer.
#codereview Max.Preussner

[CL 2634271 by Marcus Wassmer in Main branch]
2015-07-27 14:36:39 -04:00
Jamie Dale
cfc4051acf Added functions to access low-level file stat data as a single file-system request
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]
2015-07-27 13:52:55 -04:00
Marcus Wassmer
c91364ee90 Fix cookonthefly plugin discovery
#codereview Daniel.Lamb,Josh.Adams

[CL 2595743 by Marcus Wassmer in Main branch]
2015-06-22 13:47:45 -04:00
Eric Newman
88b6f69941 Pass through bAllowWrite flag for PlatformFilePak and NetworkPlatformFile
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]
2015-06-08 18:39:51 -04:00
Daniel Lamb
e2e5ac707b Fixed issue with cook on the fly client not finding the plugins directory when starting up, which means they will not be cleaned.
[CL 2548240 by Daniel Lamb in Main branch]
2015-05-12 20:11:29 -04:00
Daniel Lamb
6b4bca90f4 Cookon the fly client searches plugin directory for out of date files.
[CL 2539933 by Daniel Lamb in Main branch]
2015-05-06 17:01:05 -04:00
Ankit Khare
5cf849a5a1 Enable HTML5 for Mac Rocket
#codereview ben.marsh

[CL 2519794 by Ankit Khare in Main branch]
2015-04-21 15:42:57 -04:00
Dmitry Rekman
7a367ae37f Make OpenRead() aware about intended sharing mode of the file.
- 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]
2015-03-16 17:14:06 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Marc Audy
e5ba044eb0 Fix shadowed variables
[CL 2451810 by Marc Audy in Main branch]
2015-02-19 12:13:52 -05:00
Marcus Wassmer
0a1cc724b6 Fix cookonthefly TLS crash.
#codereview jaroslaw.surowiec

[CL 2447210 by Marcus Wassmer in Main branch]
2015-02-16 11:08:14 -05:00
Jaroslaw Surowiec
beef593d5a Stats - Stats for async task running on the thread pool
[CL 2446649 by Jaroslaw Surowiec in Main branch]
2015-02-16 03:16:32 -05:00
Marcus Wassmer
50304bc878 Implement iterative deploy for PS4
games also now sandbox their own files on /data/.
#codereview peter.sauerbrei,lee.clark

[CL 2393136 by Marcus Wassmer in Main branch]
2014-12-18 17:37:28 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Marcus Wassmer
f01736f196 Do PS4 Path shortening at staging time.
#codereview josh.adams,lee.clark

[CL 2365274 by Marcus Wassmer in Main branch]
2014-11-19 14:20:49 -05:00
Jeff Campeau
feff8b9f42 Add option for platform to specify local paths to skip caching.
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]
2014-11-07 09:47:25 -05:00
Robert Manuszewski
55f4bd6581 Removed [URL] GameName=Name from ini as we no longer need it for anything else than fixing the game name case (passed from command line)
#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]
2014-10-14 10:31:43 -04:00
Ankit Khare
d40dcb3005 #HTML5 #UE4 Fix up cook on the fly to use the async Transport APIs.
- 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]
2014-08-18 16:55:29 -04:00
Daniel Lamb
c4e09e7650 Fix for slow cook on the fly issue.
Reverted a bunch unsolicited file handling code back to the way it used to be.

[CL 2249125 by Daniel Lamb in Main branch]
2014-08-08 19:46:54 -04:00
Ankit Khare
b98de3ee40 #UE4 #HTML5
#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]
2014-07-24 19:26:40 -04:00
Daniel Lamb
fb24e44128 Made cook on the fly terminate connection earlier if unsupported platform connects.
#codereview Marcus.Wassmer

[CL 2228903 by Daniel Lamb in Main branch]
2014-07-23 15:31:40 -04:00
Daniel Lamb
7184ecc682 Seperated the support for tcp and http transports when using file serving so that they can be used at the same time.
#codereview Peter.Sauerbrei
#codereview Ankit.Khare

[CL 2170710 by Daniel Lamb in Main branch]
2014-07-07 15:39:19 -04:00
Ankit Khare
ba01b4d00a #UE4 #HTML5
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]
2014-06-18 19:38:50 -04:00