Commit Graph

17 Commits

Author SHA1 Message Date
mikko mononen
5e47fe32b2 PropertyBag: Ref count UPropertyBags to make them available in C++ constructors
#jira UE-156132
#rb Mieszko.Zielinski
#preflight 62a6f9ecbf050eb24f5e28b3

[CL 20624027 by mikko mononen in ue5-main branch]
2022-06-13 05:04:41 -04:00
mikko mononen
37de7a0cf2 InstancedSructArray: Fix for nonunity compile
#rb trivial
#preflight 628dd992277bee3c6a4c3784

[CL 20361131 by mikko mononen in ue5-main branch]
2022-05-25 03:37:08 -04:00
mikko mononen
f47169e845 FInstancedStructArray, heterogenous array of structs
#jira UE-153269
#preflight 628c8f276f6741ae3155dc08

[CL 20345176 by mikko mononen in ue5-main branch]
2022-05-24 04:02:53 -04:00
Mieszko Zielinski
92986342bf Added an "index iterator" to StructTypeBitSet allowing retrieval of iterrative retrieval of indices representing a given value.
Also, added some unit tests for it.

#review-20138757
#preflight 627ce7d09f7ad2a14bc6aff8
#preflight 627cf037ce4192efbe3778e9

[CL 20163173 by Mieszko Zielinski in ue5-main branch]
2022-05-12 07:51:07 -04:00
Mieszko Zielinski
8476f0f6ae Proper solution to static StructTracker compilation/linking issue
#review-19902964
#preflight 6266e3c80634d0904ce82afc
#jira UE-150071
#preflight 6267c1bb820fbeb9a4f77f4a

[CL 19917319 by Mieszko Zielinski in ue5-main branch]
2022-04-26 06:11:41 -04:00
mikko mononen
d2adb2cc5b PropertyBag: fix for NoPCH compilation of the tests
#jira UE-149696
#preflight 62624fdca2579b4c773905b3

[CL 19861884 by mikko mononen in ue5-main branch]
2022-04-22 03:04:47 -04:00
marc audy
006002155d Fix non-unity no-pch issues
#preflight 626180076119a1a496ab2bdf
#rnx

[CL 19852196 by marc audy in ue5-main branch]
2022-04-21 13:34:58 -04:00
Mieszko Zielinski
a9f90cacf2 Fix to StructTypeBitSet.StructTracker being instanced per module.
#review-19827285
#preflight 625fe08edd47b4ad2166d510
#jira UE-149046

[CL 19829083 by Mieszko Zielinski in ue5-main branch]
2022-04-20 09:30:32 -04:00
Mieszko Zielinski
93878f211f Renamed TScriptStructTypeBitSet to TStructTypeBitSet and extended it to handle UStructs as well.
#review-19806496
#preflight 625ea946804460ab0f0220fd

[CL 19806903 by Mieszko Zielinski in ue5-main branch]
2022-04-19 08:40:11 -04:00
mikko mononen
898275734f Property Bag: UPropertyBag and FInstancedPropertyBag
- Property bags allows to create customs structs via code or UI and store them in an property bag instance
- Bags are identified by their layout, a UScriptStruct is created for each unique layout
- The instances serialize the layout, not the type, to simplify handling with old data
- Property values can be migrated between different bags

#jira UE-147507
#review
#preflight 625e96dbdb15ac92db919089

[CL 19806374 by mikko mononen in ue5-main branch]
2022-04-19 07:13:19 -04:00
Mieszko Zielinski
fd42c48b84 Added a new way to construct ScriptStructTypeBitset for types known at compile time.
Also implemented the |-operator
The CL contains tests for the new functionality.

#review-19264109
#preflight 62220656b066ef60bba4b2f7

[CL 19264630 by Mieszko Zielinski in ue5-main branch]
2022-03-04 07:46:26 -05:00
mieszko zielinski
8f36781caf FStructArrayView created and initial unit test added.
[REVIEW] [at]Mikko.Mononen
#preflight 61f8fe62a6632a34f36b3fd6

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18806486 in //UE5/Release-5.0/... via CL 18808545 via CL 18822170
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822476 by mieszko zielinski in ue5-main branch]
2022-02-02 02:45:03 -05:00
mieszko zielinski
f54af8f128 Fixed ScriptStructTypeBitSet's hash calculation so that trailing 0 not affect the hash value.
Also, added a test that verifies that behavior.

#preflight 612c946ce68f05000127d346


#ROBOMERGE-SOURCE: CL 17349549
#ROBOMERGE-BOT: (v865-17346139)

[CL 17349550 by mieszko zielinski in ue5-main branch]
2021-08-30 04:36:47 -04:00
yoan stamant
0fd6f79209 Fix ClangEditor Win64
#jira UE-118824
#rb mieszko.zielinski maxime.mercier


#ROBOMERGE-SOURCE: CL 16761977
#ROBOMERGE-BOT: (v835-16672529)

[CL 16762022 by yoan stamant in ue5-main branch]
2021-06-23 16:47:55 -04:00
mieszko zielinski
45b6c0c4fb ScriptStructTypeBitSet unit test fix
#rb trivial


#ROBOMERGE-SOURCE: CL 16759441
#ROBOMERGE-BOT: (v835-16672529)

[CL 16759465 by mieszko zielinski in ue5-main branch]
2021-06-23 13:28:26 -04:00
mieszko zielinski
84e0fae66f Introduction of a generic container type for tracking sub-types of a given UStruct and storing their presence in a bitfield
#ROBOMERGE-SOURCE: CL 16742694
#ROBOMERGE-BOT: (v835-16672529)

[CL 16742699 by mieszko zielinski in ue5-main branch]
2021-06-22 10:20:27 -04:00
mikko mononen
73a5b6e287 InstancedStructStream
- Append only bufferfor heterogenous structs

#jira none
#rb Maxime.Mercier
#preflight 60912714722d56000189cb54

[CL 16191985 by mikko mononen in ue5-main branch]
2021-05-04 07:32:27 -04:00