Commit Graph

592 Commits

Author SHA1 Message Date
Steve Robb
d62cc2f0b9 Comment about failed compilation of non-public constructors copied from TIntrusiveReferenceController to TArray::Emplace.
#rb trivial
#jira none
#preflight none

[CL 20381453 by Steve Robb in ue5-main branch]
2022-05-26 13:55:59 -04:00
Steve Robb
aeb9932de0 GitHub #8819 : Resolved TODO for moving TMakeSigned and TMakeUnsigned out of RingBuffer into to its own file
#rb steve.robb
#jira UE-140332
#preflight 628ec3ea2f2409bc1e5e22fc

[CL 20374012 by Steve Robb in ue5-main branch]
2022-05-25 20:17:16 -04:00
devin doucette
b2a07ea03e DDC: Merge from UE5/Main
#preflight 6288ff678828ea88c8af7034
#preflight 628ab5d93246d5019db76ed2
#rb none
#rnx

#ROBOMERGE-OWNER: devin.doucette
#ROBOMERGE-AUTHOR: Devin.Doucette
#ROBOMERGE-SOURCE: CL 20353148 via CL 20353832 via CL 20353839
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20355348 by devin doucette in ue5-main branch]
2022-05-24 16:40:25 -04:00
Steve Robb
b3ef0b9841 Some TArray comment fixes from this PR:
https://github.com/EpicGames/UnrealEngine/pull/8386

#rb trivial
#jira none
#preflight 6282828f216d06861f387f86

[CL 20227172 by Steve Robb in ue5-main branch]
2022-05-16 13:12:37 -04:00
Matt Peters
d2b81774ba Array Iterator: Add RemoveCurrentSwap.
Give RingBuffer its own iterator class since RemoveCurrentSwap does not fit the usual usage of a ringbuffer, which is supposed to maintain order.
#rb Steve.Robb
#rnx
#preflight 627e62587c26e247734d31d3

[CL 20180808 by Matt Peters in ue5-main branch]
2022-05-13 10:10:49 -04:00
Steve Robb
cdb9ff0018 Fix for broken assert strings in TArrayView64.
#rb martin.ridgers
#jira UE-150671
#preflight 6273beed1364d1b5cc4b5243

[CL 20056439 by Steve Robb in ue5-main branch]
2022-05-05 08:34:36 -04:00
Steve Robb
08af762488 Fix for broken assert strings in TArray64.
#rb martin.ridgers
#jira UE-150458
#preflight 626a7f37485a2fed3a2e07af

[CL 19958994 by Steve Robb in ue5-main branch]
2022-04-28 08:05:35 -04:00
Devin Doucette
d73452bd34 StringView: Deprecated the public user-defined literals for string views
#preflight 6266fda5820fbeb9a4bc0580
#rb Steve.Robb

[CL 19908432 by Devin Doucette in ue5-main branch]
2022-04-25 16:34:01 -04:00
Devin Doucette
0b7aa65637 Replaced uses of _U8SV with UTF8TEXTVIEW
#preflight 626310ac006fa20b683d17b9
#rb Zousar.Shaker
#rnx

[CL 19901490 by Devin Doucette in ue5-main branch]
2022-04-25 09:36:34 -04:00
Johan Torp
1921369277 FORCEINLINE TIndexedContainerIterator deferencing operators
These took 3s walltime in a 100m cook

#rb devin.doucette,steve.robb
#preflight none

[CL 19665604 by Johan Torp in ue5-main branch]
2022-04-07 02:52:57 -04:00
Johan Torp
e743c8cc82 Added append to FString overloads for BytesToHex[Lower], FSHAHash, FGuid and optimized them a bit
#rb devin.doucette,zousar.shaker
#preflight 6246b54f323cb7b9911f004f

[CL 19585530 by Johan Torp in ue5-main branch]
2022-04-01 04:33:32 -04:00
jamie dale
9dd1d0168b Added std::initializer_list constructor to TSortedMap, for parity with TMap
#jira
#preflight 62447c6e927e60e34153e8eb
#rb Steve.Robb

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19560020 via CL 19561869 via CL 19561894 via CL 19561911
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19563451 by jamie dale in ue5-main branch]
2022-03-30 16:07:04 -04:00
steve robb
c5b5914bc4 FString and string builder appending fixes for UTF-8 mode.
#rb devin.doucette
#preflight 6234ed690820efd0946e9337

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19450350 via CL 19450854 via CL 19451659 via CL 19451693
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v933-19451510)

[CL 19454569 by steve robb in ue5-main branch]
2022-03-21 13:51:27 -04:00
Matt Peters
9caef6e5f9 TMap: Add Array copy-accessor for the key-value pairs.
#rb Steve.Robb
#rnx
#preflight 6228ab39695c94f981ce8dc3

[CL 19319262 by Matt Peters in ue5-main branch]
2022-03-09 08:43:38 -05:00
Steve Robb
4572ab0897 Another hopeful fix for a PVS static anaylsis warning.
#rb devin.doucette
#jira UE-144621
#preflight 6227d72231133a23da57d922

[CL 19312808 by Steve Robb in ue5-main branch]
2022-03-08 17:48:31 -05:00
Steve Robb
450dc11a12 Hopeful static analysis fix: "warning: 'NumBits' operand is less than the 'NumBitsPerWord' operand, the result is always equal to the left operand."
#rb devin.doucette
#jira UE-144621
#preflight 62262dc1123eef55e6f00af4

[CL 19289913 by Steve Robb in ue5-main branch]
2022-03-07 14:38:38 -05:00
ola olsson
7b8bfe3c90 Add FBinaryHeap move constructor and delete copy constructor & assignment operator to prevent use-after free (e.g., due to failed return value optimization).
- Fixes crash in debug builds in the Nanite builder.

#jira UE-144196
#rb rune.stubbe
#preflight 621e01b43e14f0c7e53551d7

#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 19196777 in //UE5/Release-5.0/... via CL 19196815
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19212747 by ola olsson in ue5-main branch]
2022-03-01 19:54:36 -05:00
Devin Doucette
62d8cf86fa DepletableMpscQueue: Added an AllocatorType template parameter
The AllocatorType must have static void* Malloc(SIZE_T Size, uint32 Alignment) and static void Free(void*). This can be extended in the future to make the allocator a member if desired, without breaking compatibility with this version.

The default AllocatorType uses FMemory::Malloc and FMemory::Free.

#preflight 621e34c5e15c51d8c5d12f0f
#rb Andriy.Tylychko, Arne.Schober
#rnx

[CL 19201865 by Devin Doucette in ue5-main branch]
2022-03-01 13:07:41 -05:00
justin moe
26d37ab765 No longer pass TArrayView by const ref, also add overload for const argument type.
#rb vritvij.kadam
[FYI] jason.stasik

#ROBOMERGE-AUTHOR: justin.moe
#ROBOMERGE-SOURCE: CL 19095642 via CL 19100846 via CL 19101491 via CL 19109914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147261 by justin moe in ue5-main branch]
2022-02-25 10:11:25 -05:00
ilya loshchinin
4b58a73582 Added support for using FramePro profiling scopes in MallocBinned2 allocator: added a separate memory allocator for FramePro, added support for TArrays to use a different base malloc, rather than FMemory.
#rb louisphilippe.seguin, robert.millar
#tests automatic and manual FramePro captures of Squads games on Linux in WSL2 and cloud hardware (m5.4)

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19091015 via CL 19094278 via CL 19095759 via CL 19101834
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141844 by ilya loshchinin in ue5-main branch]
2022-02-25 00:09:54 -05:00
steve robb
18f0096e92 StringConv.h support for UTF-8 mode.
#rb devin.doucette
#preflight 62102cf27e111e92375cbb68

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19060362 via CL 19071303 via CL 19071392 via CL 19072078
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v920-19070459)

[CL 19073050 by steve robb in ue5-main branch]
2022-02-22 10:36:45 -05:00
Stefan Boberg
88eb85837e Fix for VS2022 compilation errors with most recent compiler (17.1.0)
`operator new` needs to be forward declared

#rb steve.robb
#preflight 1903208

[CL 19048596 by Stefan Boberg in ue5-main branch]
2022-02-18 06:12:31 -05:00
devin doucette
70d0aea9a6 DDC: Added support for 64-bit sizes in the legacy cache
Includes an optimization to avoid an extra copy of data loaded from the cache.

#jira UE-103039
#preflight 6205f379b84973a2bb76d942
#lockdown Aurel.Cordonnier
#rb Zousar.Shaker

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18954059 in //UE5/Release-5.0/... via CL 18954686 via CL 18955089
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18955195 by devin doucette in ue5-main branch]
2022-02-11 12:56:47 -05:00
steve robb
04c949d2bb TSizedInlineAllocator added as the inlined equivalent of TSizedHeapAllocator.
TInlineAlloctor changed to be an alias of TSizedInlineAllocator, and TInlineAlloctor64 added.
Fix for Pakfile creation when the uncompressed buffer size exceeds int32 capacity.

#rb devin.doucette
[FYI] scott.lindeneau
#jira UE-141912
#preflight 6203bc9b7244040418573f53

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 18921401 in //UE5/Release-5.0/... via CL 18926938 via CL 18928756
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929198 by steve robb in ue5-main branch]
2022-02-09 19:26:03 -05:00
andrew davidson
a687bd02ed Merge //UE5/Dev-LWCRendering[at]18755967
LWC: Serialize LWC double types as double. Enable double bulk serialization for all bulk-serializable-as-float LWC types.
#lockdown marc.audy
#rb marc.audy
#preflight 61f83517114ec25fe0ad5f15

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18795077 in //UE5/Release-5.0/... via CL 18795472 via CL 18797572
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18798048 by andrew davidson in ue5-main branch]
2022-01-31 16:44:37 -05:00