Commit Graph

205 Commits

Author SHA1 Message Date
nicholas goldstein
b858e7c281 Fix typo in blueprint nativization with TMap entry default Value assignment.
#jira UE-79756
#rb phillip.kavan

[CL 8498068 by nicholas goldstein in Main branch]
2019-09-04 15:54:18 -04:00
Marc Audy
482f804969 Generate __CustomDynamicClassInitialization in the U class not the I class for nativized interfaces
#jira UE-79508
#rb
#rnx
#fyi Phillip.Kavan

[CL 8372996 by Marc Audy in Dev-Framework branch]
2019-08-29 12:06:57 -04:00
Marc Audy
482b5721b9 Fix nativized interfaces not compiling
#jira UE-79508
#rb Phillip.Kavan
#rnx

[CL 8366431 by Marc Audy in Dev-Framework branch]
2019-08-28 18:21:46 -04:00
Marc Audy
d0d9741860 Fix static analysis warning pointing out both too many parameters to a function and a crash!
#rb
#rnx

[CL 8124393 by Marc Audy in Dev-Framework branch]
2019-08-20 08:39:28 -04:00
Marc Audy
95a36b7df4 Allow blueprint users to override the component class of a native introduced component.
#jira UE-26970
#rb Phillip.Kavan

[CL 8037286 by Marc Audy in Dev-Framework branch]
2019-08-14 12:44:32 -04:00
Marc Audy
307e2e8d66 Store a function pointer on UDynamicClass to the custom class initialization (in much the same way that AddReferencedObjects pointer is stored) to ensure the class is initialized before beginning to construct the CDO rather than code embedded in the constructor
#rb Phillip.Kavan
#rnx

[CL 8034012 by Marc Audy in Dev-Framework branch]
2019-08-14 11:50:43 -04:00
Marc Audy
b9bed29109 Fix spelling and remove autos
#rb
#rnx

[CL 7954361 by Marc Audy in Dev-Framework branch]
2019-08-12 17:34:22 -04:00
Marc Audy
971962e6f4 auto removal
#rb
#rnx

[CL 7952458 by Marc Audy in Dev-Framework branch]
2019-08-12 16:56:08 -04:00
Marc Audy
278eda75dd Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 7234503
#rb
#rnx

[CL 7263339 by Marc Audy in Dev-Framework branch]
2019-07-10 13:47:03 -04:00
Marc Audy
502f469036 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5503639
#rb
#rnx

[CL 5504188 by Marc Audy in Dev-Framework branch]
2019-03-22 14:59:27 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Marc Audy
cd87769abd Fix spelling error
#rb
#rnx

[CL 4812116 by Marc Audy in Dev-Framework branch]
2019-01-25 11:13:51 -05:00
Phillip Kavan
8507189fa5 Fix invalid cast of a nativized enum term to its underlying pointer type in generated Blueprint C++ code.
#rb None
#jira UE-66445

[CL 4770254 by Phillip Kavan in Main branch]
2019-01-22 10:50:18 -05:00
Marc Audy
f01727b69c Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4708893
#rb
#rnx

[CL 4708963 by Marc Audy in Dev-Framework branch]
2019-01-11 09:39:44 -05:00
Marc Audy
9d9dccf2e0 Merging using //UE4/Main_to_//UE4/Dev-Framework
#rb
#rnx

[CL 4708860 by Marc Audy in Dev-Framework branch]
2019-01-11 09:24:14 -05:00
Francis Hurteau
57c677da93 Copying //UE4/Dev-Enterprise@4705006 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4705151 by Francis Hurteau in Main branch]
2019-01-10 17:26:53 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Marc Audy
608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
3903a00380 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ CL# 4586854
#rb
#rnx

[CL 4588942 by Marc Audy in Dev-Framework branch]
2018-11-21 22:55:06 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Phillip Kavan
fc4ec4d449 Misc. cleanup of FEmitDefaultValueHelper::AddStaticFunctionsForDependencies().
Change summary:
- Replaced inclusive lambda capture lists and non-compliant occurrences of auto.
- Consolidated EDL boot time paths and replaced TODO comments with updated notes.
- Consolidated work that required a full iteration through the dependencies list into a single pass.

#rnx
#rb Me
#jira None

[CL 4548059 by Phillip Kavan in Dev-Framework branch]
2018-11-07 11:40:46 -05:00
Phillip Kavan
5f94a9f078 Allow nativized Blueprint types to instance other nativized Blueprint types as subobjects when they have one or more non-Blueprint asset preload dependencies (e.g. non-native UMG widgets).
Change summary:
- Added a shared cache to FGatherConvertedClassDependencies. The ctor is now protected and access is done through the static Get() method. This prevents redundant dependency list gathering for a previously-queried class/struct type.
- Switched FGatherConvertedClassDependencies::Assets from a TArray to a TSet (for consistency w/ the other dependency lists).
- Added FGatherConvertedClassDependenciesHelperBase::AddAssetDependency() to consolidate the addition of non-converted type asset dependencies (for consistency and easier maintenance).
- Added FGatherConvertedClassDependencies::GatherAssetsReferencedByConvertedTypes() as a utility method for building a nested asset dependency chain when converted subobject types are involved.
- Modified FFakeImportTableHelper::GetClassesOfSubobjects() to flag nested asset dependencies as CDO preload dependencies for EDL on the outermost converted type. This ensures dependencies will be loaded prior to CDO construction before instancing subobjects of a converted class type.
- Modified FGatherConvertedClassDependencies::AllDependencies() to include nested asset dependencies; this ensures they're included when we're generating the code needed to support the linker's "fake" export table at runtime.
- Some misc. cleanup; replaced a few instances of 'auto' with explicit types and updated a few lambda capture lists in place of previous use of '&' as a catch-all.

#jira UE-62514
#rb Dan.OConnor

[CL 4541116 by Phillip Kavan in Dev-Framework branch]
2018-11-05 15:55:31 -05:00
Marc Audy
9b2158b380 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4523800
#rb
#rnx

[CL 4523891 by Marc Audy in Dev-Framework branch]
2018-10-30 10:40:17 -04:00
Phillip Kavan
1a6f3c41ba Fix uninitialized user-defined struct fields in nativized, cooked builds.
Change summary:
- Modified FEmitDefaultValueHelper::GenerateUserStructConstructor() to ensure that POD fields are always initialized in the converted UDS ctor.

#jira UE-62764
#rb Ben.Zeigler

[CL 4522000 by Phillip Kavan in Dev-Framework branch]
2018-10-29 16:33:11 -04:00