Avoid unintentional construction of names as this can be expensive and bloats the name table.
#jira none
#rb Johan.Torp, Steve.Robb
#rnx
[CL 12341371 by devin doucette in 4.25 branch]
Including StringFwd.h in place of forward declarations offers more flexibility to change how these types are declared.
#jira none
#rb Steve.Robb
#rn minor Core
#robomerge[FORTNITE] Release-12.30
[CL 12235779 by devin doucette in 4.25 branch]
- Ensured the data is fully written and read to/form the pipe between the Editor and CrashReporter.
- Refactored the code sending MTFB to send it as soon as possible
- Added some special exit code to detect when the Editor is still running or the exit code is unknown when the summary event is sent.
#rb Sebastian.Nordgren, Johan.Berg
#jira UE-90733 - Editor summary event may not be sent as expected because CrashReportClient may not consume the pipe data
[CL 12216180 by Patrick Laflamme in 4.25 branch]
Calls to PanicFlushLog should only happen on crashes, and not ensures. On ensures on any thread other than the main thread the editor log, which is not thread safe, will loose these messages. On crashes we don't care about the non thread-safe output devices since we will not recover, we are only interested in the log file.
#jira UE-82581
#rb rob.manuszewski
#ushell-cherrypick of 12147436 by Johan.Berg
[CL 12192433 by Johan Berg in 4.25 branch]
* Added some core string conversion paths
* Added FString::Append() and += overloads to avoid pointless temporaries when appending c strings and various other string types
* Added UTF32 <-> TCHAR string conversion macros
* Optimized QuotedString parsing
* Optimized property parsing
* PackageName optimizations
* SoftObjectPath optimizations
#jira none
#rb see original changelists
#ushell-cherrypick of 11932317 by Johan.Torp
#ushell-cherrypick of 11932319 by Johan.Torp
#ushell-cherrypick of 11932321 by Johan.Torp
#ushell-cherrypick of 11932322 by Johan.Torp
#ushell-cherrypick of 11932324 by Johan.Torp
#ushell-cherrypick of 11932462 by Johan.Torp
#ushell-cherrypick of 11934123 by Johan.Torp
#ushell-cherrypick of 12000177 by Johan.Torp
#ushell-cherrypick of 12000183 by Johan.Torp
#ushell-cherrypick of 12114232 by Johan.Torp
[CL 12147981 by Johan Torp in 4.25 branch]
Modified FGenericCrashContext to perform safe string copies
Caused TLazySingleton crash due to static memory being stomp
#rb jeanfrancois.dube, johan.berg, johan.torp
#jira UE-90162
#ushell-cherrypick of 12124406 by Sebastien.Lussier
[CL 12124880 by Johan Torp in 4.25 branch]
- Fixed value FGenericPlatformMemoryConstants::TotalPhysical not set on Windows (was initialized to zero, but never set)
#rb Stefan.Boberg
[CL 12112859 by Patrick Laflamme in 4.25 branch]
Ensure we're using the 64-bit version of Truncate so it can deal with large files correctly.
#jira UE-89826
#rb Stefan.Boberg
[CL 12094830 by Jamie Dale in 4.25 branch]
FCachedFileHandle wasn't taking the current Tell value of the underlying handle on construction, so for a file opened in append mode it would be out-of-sync. It also wasn't updating its cached values on Truncate.
This also fixes some platform file impls not updating their cached file size on Truncate.
#jira UE-89826
#rb Stefan.Boberg, Patrick.Laflamme
[CL 12094817 by Jamie Dale in 4.25 branch]