Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
James Moran
529771e2d5 Adding encryption and compression support to UnrealPak & Pak files.
#codereview Robert.Manuszewski, Josh.Adams

[CL 2109121 by James Moran in Main branch]
2014-06-18 07:50:34 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00