Commit Graph

30 Commits

Author SHA1 Message Date
Gil Gribb
2bff847be0 UE4 - Lots of changes to the task graph include new experimental scheduler, current used on PS4, but expected to be used on all platforms after it shakes out.
[CL 2680413 by Gil Gribb in Main branch]
2015-09-04 11:22:22 -04:00
Shaijan
309a233c96 Unshelved from pending changelist '2618083':
PR #1377: use StableSort to sort pak files to preserve previous sorting by fileĆ  (Contributed by Shaijan)

[CL 2641890 by Daniel Lamb in Main branch]
2015-08-03 10:24:42 -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
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
KitatusStudios
7775a401b1 PR #931: Cleaning up Spelling Errors / Grammer Errors in Comments (Contributed by KitatusStudios)
[CL 2577221 by Matt Kuhlenschmidt in Main branch]
2015-06-04 13:19:17 -04:00
Daniel Lamb
92fcbdbf52 Forced patch pak files to be mounted on top of original pak files (first to be read in the queue).
This will need to be changed when the manifests for installed pak files are implemented.

[CL 2520310 by Daniel Lamb in Main branch]
2015-04-21 19:12:44 -04:00
Peter Knepley
e84aac9158 Merging 2496325
//depot/UE4-UT/...

to //depot/UE4/...

[CL 2496332 by Peter Knepley in Main branch]
2015-03-30 18:06:50 -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
bruce nesbit
0ffd9d1906 Another revision to IPlatformPak::FFileIterator constructor. (Fixed initialisation of DirectoryIt)
#codereview Marc.Audy

[CL 2466177 by bruce nesbit in Main branch]
2015-03-02 07:41:50 -05:00
bruce nesbit
b6575f9e5f Fixed default directory iterator assignment in FFileIterator.
#codereview Marc.Audy

[CL 2465809 by bruce nesbit in Main branch]
2015-03-01 15:29:44 -05:00
Marc Audy
a4915b9214 Don't crash if the pak file has no files in it.
[CL 2456407 by Marc Audy in Main branch]
2015-02-23 12:53:53 -05:00
James Moran
3deb184649 Temporary fix for failed check(TlsSlot) when using compressed pak files.
#codereview Jaroslaw.Surowiec

[CL 2451747 by James Moran in Main branch]
2015-02-19 11:43:41 -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
Peter Knepley
c1579c61ca Merging CL 2440669, unmount pak support
//depot/UE4-UT/...

to //depot/UE4/...

[CL 2445284 by Peter Knepley in Main branch]
2015-02-13 15:33:23 -05:00
Jaroslaw Surowiec
710c4da708 Core - Replaced FPlatformProcess::CreateSyncEvent with FPlatformProcess::GetSynchEventFromPool, CreateSyncEvent is not longer publicly available
#codereview Robert.Manuszewski

[CL 2421974 by Jaroslaw Surowiec in Main branch]
2015-01-28 07:31:10 -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
ae11a5d621 Various fixes for include patterns that rely on delayed function instantiation to compile, which prevents including them in isolation. Tidy up some other include patterns.
[CL 2374720 by Ben Marsh in Main branch]
2014-12-03 09:26:36 -05:00
Dmitry Rekman
5c58cd81b3 Fix modular server builds.
- The project file (passed with abs path) could be found in the pak file, but its directory could not.
- Fixed by PeterK in UT4 branch.

#codereview Robert.Manuszewski, Peter.Knepley

(Merging CL 2345332 from UT4 branch to main).

[CL 2364254 by Dmitry Rekman in Main branch]
2014-11-18 19:34:38 -05:00
Frank Fella
ec05ac91a5 AddContentDialog - A dialog and lower level infrastructure for adding additional content to an existing game. Currently there is only support for the new "feature pack" upack files.
#codereview matt.kuhlenschmidt, nick.atamas

[CL 2353064 by Frank Fella in Main branch]
2014-11-07 09:55:57 -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
Marc Audy
0e09f0dd31 Allow initialization of a PakFile from an existing Archive
[CL 2315770 by Marc Audy in Main branch]
2014-10-01 08:33:39 -04:00
Marcus Wassmer
d3267165c0 Merge UE4-ShooterGame -> UE4
#codereview john.pollard,jeff.campeau,ryan.gerleve

[CL 2289995 by Marcus Wassmer in Main branch]
2014-09-09 12:12:38 -04:00
James Moran
1244baef61 Changing FPakListEntry < operator to be FORCEINLINE
#codereview Robert.Manuszewski

[CL 2225515 by James Moran in Main branch]
2014-07-21 09:34:32 -04:00
James Moran
162145ebd1 HTTP based chunk installer/stage downloader. Currently Disabled.
#codereview Leigh.Swift, Robert.Manuszewski, Josh.Adams

[CL 2223607 by James Moran in Main branch]
2014-07-18 14:18:37 -04:00