Commit Graph

408 Commits

Author SHA1 Message Date
Leon Huang
12951d8c9b Defer String Table find/load during module CDO registration, until StartupModule can be called. This resolves warnings that arise during CDO construction before game modules are loaded during cooking.
#rb: Jamie.Dale
#jira: none
#preflight: 6282612d046b81bf93bd9e27
#rnx

[CL 20247073 by Leon Huang in ue5-main branch]
2022-05-17 13:54:29 -04:00
Steve Robb
f4d1564ffe New BitCast<>() function which works like C++20's std::bit_cast<>().
Deprecation of FPlatformMath::IsNegative*() functions.
New FPlatformMath::IsNegativeOrNegativeZero().
Fix up of existing usage to either use < 0 or IsNegativeOrNegativeZero where appropriate.
Fixes for aliasing problems in various FMath functions, including IsNegative*().

Resubmission of CL# 19833778 with fixes for problematic Mac and Android toolchains, causing spurious errors while building PCHs.

#rb devin.doucette, charles.bloom, will.damon, chris.babcock
#jira UE-148435
#preflight 6260764d91376845adf9893f

[CL 19840896 by Steve Robb in ue5-main branch]
2022-04-20 19:05:47 -04:00
Steve Robb
5c1f45e9a8 Undo //UE5/Main/Engine/... changelist 19833778 due to Mac and Android compilation failure.
#rb none
#jira none
#preflight none
#fyi will.damon

[CL 19835840 by Steve Robb in ue5-main branch]
2022-04-20 15:09:51 -04:00
Steve Robb
a9e89c3ed6 New BitCast<>() function which works like C++20's std::bit_cast<>().
Deprecation of FPlatformMath::IsNegative*() functions.
New FPlatformMath::IsNegativeOrNegativeZero().
Fix up of existing usage to either use < 0 or IsNegativeOrNegativeZero where appropriate.
Fixes for aliasing problems in various FMath functions, including IsNegative*().

#rb devin.doucette, charles.bloom
#jira UE-148435
#preflight 625ece48f16e0d2accab15d9

[CL 19833778 by Steve Robb in ue5-main branch]
2022-04-20 13:38:10 -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
jamie dale
a4e867f3e8 Some optimizations to FTextFormatter
- Use TSortedMap for the argument modifier parameters, as these are small sets of data.
 - Use a RW lock to avoid contention on a rarely changing container.
 - Avoid allocating a unique instance in FTextFormat.

#jira
#preflight 62449707b6084b98323cec45
#rb Vincent.Gauthier

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19562338 via CL 19564306 via CL 19564315 via CL 19564329
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566415 by jamie dale in ue5-main branch]
2022-03-30 19:03:41 -04:00
Steve Robb
51802de52f UE_ prefix added to math macros, with switches for turning on deprecation and removal for the old macros.
Fixes for all the macro use in Core.

#rb robert.manuszewski
#jira UE-140139
#preflight 623c54628900c14eecdea9c6

[CL 19493359 by Steve Robb in ue5-main branch]
2022-03-24 07:49:46 -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
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
jamie dale
5a07d1cf0d Avoid contention when calling Rebuild on up-to-date text
The revision data changes rarely, so a RW-lock allows multiple threads to concurrently call Rebuild on up-to-date text instances without incuring a synchronization penalty. Additionally Rebuild is now a no-op for culture invariant text (as it used to be prior to some recent changes to save memory).

#jira FORT-447303
#preflight 620ad09e583261b0a66a9e59
#rb Phillip.Kavan
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18989507 in //UE5/Release-5.0/... via CL 18992559 via CL 18992931
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997154 by jamie dale in ue5-main branch]
2022-02-15 11:27:38 -05:00
jamie dale
79d914a8d0 Fix some text being untranslated in -game due to it being newly generated with a package ID
#jira
[FYI] Leon.Huang
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18927532 via CL 18928121 via CL 18928472 via CL 18929608 via CL 18930097 via CL 18930341
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18930347 by jamie dale in ue5-main branch]
2022-02-09 20:49:10 -05:00
dashan yue
49c43c54b3 Insert a space between the currency code and the numeric value to improve readability when formatting a foreign monetary value. When a currency is not from the current locale, the currency formatter may prepend or append the ISO currency code to disambiguate. This may cause readability issues.
For example, 1500 Japanese yen will be formatted as "Â¥1,500" in ja-JP without the ISO currency code (because it's the local currency of that locale); however it will be formatted as "1 500 JPY" in es-ES, and as "JPY1 500"in es-MX. To improve the readability of the last case, we insert a no-break space between the currency code and the numeric value, so that it can be formatted as "JPY 1 500".

#tests tested in locales en-US, es-ES, es-MX, es-UY, and ja-JP with currencies USD, CAD, JPY, MXN, and UYU. Visually confirmed that they all look as expected.

#ROBOMERGE-AUTHOR: dashan.yue
#ROBOMERGE-SOURCE: CL 18740499 via CL 18743518 via CL 18743662 via CL 18743731 via CL 18745453 via CL 18746263
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18746499 by dashan yue in ue5-main branch]
2022-01-26 17:30:52 -05:00
arne schober
1e74efa195 FEM - Fix small GraphEventLeak
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18622639 via CL 18622681 via CL 18622684 via CL 18623389 via CL 18623422 via CL 18623439
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18623463 by arne schober in ue5-main branch]
2022-01-14 16:23:16 -05:00
jamie dale
b079c9c665 Deleted redundant functions
These no longer override a base function, but they weren't marked with override so it wasn't caught by the compiler.

#rb none
#preflight skip
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18585610 via CL 18586715 via CL 18587546 via CL 18587630 via CL 18588361 via CL 18588398 via CL 18588429
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18588475 by jamie dale in ue5-main branch]
2022-01-12 15:05:43 -05:00
devin doucette
25eb043633 StringBuilder: Deprecated Append(Char) in favor of AppendChar(Char)
Having only one Append overload with a single argument makes for clearer error messages. Otherwise, a failure to match Append(CharRangeType) leads to an error that ArgType cannot be converted to CharType.

#rb Zousar.Shaker
#preflight 61d72f3f6511bc498e54c250

#ROBOMERGE-OWNER: devin.doucette
#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18533638 in //UE5/Release-5.0/... via CL 18534325
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18534364 by devin doucette in ue5-release-engine-test branch]
2022-01-06 14:27:35 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
andrew firth
72dbd9028f [LLM] - misc scopes to improve LLM tracking
[at]dave.barrett
#rb dave.barrett
#preflight 611bf821cc11eb0001814daa

#ROBOMERGE-SOURCE: CL 17287593 via CL 17287601
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17287612 by andrew firth in ue5-release-engine-test branch]
2021-08-24 11:21:38 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
daren cheng
2a7815e949 Fix FastDecimalFormat not handling inf.
#jira UE-118170
#rb Jamie.Dale
#preflight 60cbba56be81e80001b70672

#ROBOMERGE-SOURCE: CL 16713717 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16713742 by daren cheng in ue5-release-engine-test branch]
2021-06-17 18:06:22 -04:00