Commit Graph

290 Commits

Author SHA1 Message Date
Devin Doucette
605998206f CompactBinary: Replaced local ReadUnaligned function with FPlatformMemory::ReadUnaligned
#preflight 6294ced34c7bcac173d19fb1
#rb Zousar.Shaker
#rnx

[CL 20431253 by Devin Doucette in ue5-main branch]
2022-05-30 11:19:23 -04:00
Steve Robb
7778bc5c05 GitHub #8600 : Rename Ar to StructuredArchive
#rb steve.robb
#jira UE-134432
#preflight 628e287d2c7cb2d10d65322d

[CL 20363343 by Steve Robb in ue5-main branch]
2022-05-25 09:20:14 -04:00
Johan Torp
cc9fe95874 Speculative fix for bogus PVS warning
#jira UE-150098
#rb none
#preflight 62825666046b81bf93bc31ba

[CL 20225267 by Johan Torp in ue5-main branch]
2022-05-16 11:31:19 -04:00
robert millar
949ed7ba3a Insert dummy values into memory images for names like vtable pointers.
#rb ben.ingram

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 20115901 via CL 20115948 via CL 20115961 via CL 20115990
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20117747 by robert millar in ue5-main branch]
2022-05-09 23:27:24 -04:00
Jason Adcock
dccca1fb87 Fix Fortnite Networking Versioning between FN and UE branches
#jira UE-147571, UE-149373, UE-146854
#rb ryan.gerleve
#preflight

[CL 20053774 by Jason Adcock in ue5-main branch]
2022-05-04 20:56:28 -04:00
ilya loshchinin
963c439757 FLargeMemoryData NonUnity buildfix
#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19971791 via CL 19973251 via CL 19973403
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19974317 by ilya loshchinin in ue5-main branch]
2022-04-28 21:19:22 -04:00
ilya loshchinin
6bd4945ede Optimized StaticDuplicateObject by pooling its temporary memory block allocation.
Added FPooledLargeMemoryData that allows lockless access to temporary memory blocks.

#tests Squads games on WSL, using FramePro to validate performance gains
#rb danny.couture,jamie.dale

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19970339 via CL 19971380 via CL 19972286
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19974304 by ilya loshchinin in ue5-main branch]
2022-04-28 21:18:27 -04:00
Devin Doucette
92a888c1f6 Replaced uses of _ASV with ANSITEXTVIEW
#preflight 6266acf50634d0904cdfe91c
#rb Steve.Robb
#rnx

[CL 19903251 by Devin Doucette in ue5-main branch]
2022-04-25 11:31:36 -04:00
Jason Adcock
b08b6305ac Make replay serialization errors (FBitReader::SetOverflowed) more obvious
#jira UE-147626
#rb ryan.gerleve
#preflight

[CL 19854615 by Jason Adcock in ue5-main branch]
2022-04-21 15:47:45 -04:00
steve robb
c4817fc296 Removal of SA_FIELD_NAME.
#rb graeme.thornton
#preflight 624f47086637e291d3d49b2d
[FYI] francis.hurteau

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19680202 via CL 19681535 via CL 19681539 via CL 19681542
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19682750 by steve robb in ue5-main branch]
2022-04-07 21:06:54 -04:00
steve robb
0316418f30 Split StructuredArchive code into individual files.
#rb none
[FYI] graeme.thornton, francis.hurteau
#preflight 624ce75c0b1b11b96bb0d52e

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19644869 via CL 19645450 via CL 19645856 via CL 19645875
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19651014 by steve robb in ue5-main branch]
2022-04-06 13:39:54 -04:00
Josh Adams
b71785edfb - Fixed a crash with some null memory image types (likely a type #if'd out of shipping)
#rb ben.ingram
#jira UE-144230
#preflight 623dfb918330d27ee3736098

[CL 19515683 by Josh Adams in ue5-main branch]
2022-03-25 13:41:00 -04:00
brian bekich
fda9b2af93 Add ResetData to FBitReader that won't reallocate the internal buffer unless it is necessary
Reducing allocations during replay scrub

#rb john.barrett

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19482343 via CL 19483947 via CL 19486339 via CL 19496184 via CL 19496470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19498463 by brian bekich in ue5-main branch]
2022-03-24 13:29:02 -04:00
robert millar
9b14ca87aa When building name patches, compare names case sensitively. (Sorting was already done case sensitively.)
Removing ensure from FName about unfreezing names that were created for a case-insensitive target. We rely on the archive used for serialization to save names with their case intact.

#rb ben.ingram, johan.torp

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19422180 via CL 19424113 via CL 19430180 via CL 19430244
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19432581 by robert millar in ue5-main branch]
2022-03-18 02:34:50 -04:00
steve robb
87fb605867 TCHAR array init fixes for UTF-8 mode.
#rb devin.doucette
#preflight 6231e536e2541b4ff3af6cd2

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19405353 via CL 19408955 via CL 19419621 via CL 19419706
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19420584 by steve robb in ue5-main branch]
2022-03-17 10:29:53 -04:00
Johan Torp
c98b32e33e Silence static analys warning
#jira UE-144965
#rb trivial
#rnx
#preflight 6230a502306f46da14877a0c

[CL 19386054 by Johan Torp in ue5-main branch]
2022-03-15 11:00:57 -04:00
steve robb
0e1e8c13fb Removal of unused CopyFormatted*() and *_TextOnly() functions.
#rb graeme.thornton
#preflight 6229fae77341dd1ecf70f0a0

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19335163 via CL 19339363 via CL 19345711 via CL 19350978 via CL 19351029
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351730 by steve robb in ue5-main branch]
2022-03-11 04:01:36 -05:00
marc audy
abffec6e31 StructuredArchive namespace fixes.
#rb none
#preflight 6228bfd231133a23da83376d


#ushell-cherrypick of 19339219 by steve.robb

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19320363 via CL 19345602 via CL 19350976 via CL 19351027
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351729 by marc audy in ue5-main branch]
2022-03-11 04:01:29 -05:00
arciel rekman
0872f56977 Fix overflows reported by static analysis (UE-141612)
#rb Ben.Ingram, Jason.Nadro
[REVIEW] [at]Ben.Ingram, [at]Jason.Nadro
#jira UE-141612
#preflight 6220e0846a33f9b416aa4681
#lockdown Mihnea.Balta
#rnx

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 19244385 in //UE5/Release-5.0/... via CL 19248971
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19262903 by arciel rekman in ue5-main branch]
2022-03-04 03:03:38 -05:00
steve robb
288f3de432 Fixes for the implicit conversion of ints and chars to TCHARs in UTF-8 mode.
#rb trivial
#preflight 621ed0b4e15c51d8c5e5d081

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19219816 via CL 19220283 via CL 19220288 via CL 19223679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227684 by steve robb in ue5-main branch]
2022-03-02 15:30:50 -05:00
ryan gerleve
54ec0d3530 Fix LWC replay compatibility.
Store UE package version in replay data and propagate it to the archives used for playback.
Make a best effort to fix up the case of the HISTORY_SERIALIZE_DOUBLE_VECTORS_AS_DOUBLES network version and LARGE_WORLD_COORDINATES package version so that pre-LWC replays will play back correctly. This allows vectors serialized in replays with operator<< to correctly use the UE package version for LWC backwards-compatibility.
#preflight 62100713676ae0301346900f
#rb Peter.Engstrom
#jira UE-142527

#ROBOMERGE-AUTHOR: ryan.gerleve
#ROBOMERGE-SOURCE: CL 19082180 in //UE5/Release-5.0/... via CL 19097060
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140729 by ryan gerleve in ue5-main branch]
2022-02-24 23:27:35 -05:00
robert millar
b7b8b8d70c Fixes for memory image names.
Correctly write to MemoryImageNames array, copy contents of TArrayView rather than the layout of the view object itself, handle name layout during patch application on foreign platforms.

#rb none
[FYI] johan.torp, ben.ingram

#ROBOMERGE-OWNER: Ben.Woodhouse
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19068807 via CL 19068829 via CL 19074886 via CL 19075335 via CL 19077116
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19077183 by robert millar in ue5-main branch]
2022-02-22 14:13:32 -05:00
Dan Thompson
d412b366a3 Adding support to writing platform specific tags to the asset registry during cook by the book.
FArchive now holds a "CookData" blob that contains relevant information for cooking. The TargetPlatform has been moved to this structure, and it has a reference to a CookContext that can hold data generated during the cook that doesn't get serialized to the uasset (in this case, the asset registry tags).
#rb Matt.Peters
#preflight 62151bc4797dbbeb472af77d
#preflight 621011f6ff52bfecfc032b15
#preflight 62152777141b500e17eb24ef

[CL 19076066 by Dan Thompson in ue5-main branch]
2022-02-22 13:32:02 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator&lt;&lt;, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00
Matt Peters
4a1ee197f7 Move _Serialize per-class and per-object scopes into the LoadTime and AssetLoadTime channels.
#rb Danny.Couture
#rnx
#preflight 620d18ad3d541467563c027c

[CL 19014940 by Matt Peters in ue5-main branch]
2022-02-16 10:42:41 -05:00