Commit Graph

376 Commits

Author SHA1 Message Date
jon nabozny
a68bcb52d3 Redo changes from CL-10931598 with crash fix and copyright update.
[FYI] Bob.Tellez
#rb None


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 10982730 via CL 10982741 via CL 10982750
#ROBOMERGE-BOT: (v632-10940481)

[CL 10983012 by jon nabozny in Main branch]
2020-01-14 11:48:31 -05:00
Phillip Kavan
7e80ceffb7 Expose the new 'UncookedOnly' UBT module type to UHT in order to exclude uncooked-only script code modules from nativized Blueprint dependencies.
#jira UE-86099
#rb Ben.Marsh, Steve.Robb

[CL 10940572 by Phillip Kavan in Dev-Framework branch]
2020-01-10 08:04:46 -05:00
bob tellez
b84ee521f5 Back out changelist 10931598. Likely cause for crash at startup
[FYI] Jon.Nabozny
#rb none

#ROBOMERGE-OWNER: bob.tellez
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 10933120 via CL 10933137 via CL 10933157
#ROBOMERGE-BOT: (v626-10872990)

[CL 10933303 by bob tellez in Main branch]
2020-01-09 16:58:28 -05:00
jon nabozny
3b3eb87e75 Push Model Replication Core.
Provides the basic interface, machinery, and codegen for allowing games to notify the networking system when properties have been changed.

[at]Ryan.Gerleve, [at]Brian.Bekich, [at]Peter.Engstrom, [at]Mattias.Hornlund, [at]LouisPhilippe.Seguin, [at]Bart.Hawthorne, [at]Marc.Audy, [at]Dan.OConnor
#rb Dan.Oconnor, Peter.Engstrom, Steve.Robb


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 10931598 via CL 10931603 via CL 10931604
#ROBOMERGE-BOT: (v626-10872990)

[CL 10931773 by jon nabozny in Main branch]
2020-01-09 15:57:29 -05:00
marc audy
80986e13a9 UHT Additional cleanup
* Remove FNameLookupCPP struct and interface name maps. Overhead of managing/locking maps provides no benefit to the very simple Printf that it is ultimately doing.
* Remove unused FNameLookupCPP source file
* Remove GClassStrippedHeaderTextMap and GClassHeaderNameWithNoPathMap as they are unused
* No longer add Enum hashes to global table as they are not read.
* CheckedMetadataSpecifiers now stored as a FName keyed TMap as the incoming values are names not strings, so no need to convert name to string
#jira
#rnx
#rb


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10879228 via CL 10879328 via CL 10879344
#ROBOMERGE-BOT: (v626-10872990)

[CL 10880488 by marc audy in Main branch]
2020-01-06 12:52:50 -05:00
marc audy
a7f3d43678 UHT optimizations part 6 - Generate files in parallel. Improves code generation phase by ~50%.
* Restructured code so that FNativeClassHeaderGenerator can now use ParallelFor for 3 phases: creating the .generated.h files, creating the .gen.cpp, and exporting the generated headers
* FNameLookupCPP, GPackageSingletons, GGeneratedCodeHashes, GetTypePackageName, FNativeClassHeaderGenerator::GetPackageSingletonName, FTypeSingletonCache, and FTypeSingleton::GetExternDecl now use RWScopeLocks to safely control access to globals/statics
#jira
#rnx
#rb


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10876463 via CL 10876464 via CL 10876465
#ROBOMERGE-BOT: (v624-10872983)

[CL 10876473 by marc audy in Main branch]
2020-01-04 15:28:16 -05:00
marc audy
be914fe1d5 Fix Mac UHT compile
#jira
#rnx


#ROBOMERGE-SOURCE: CL 10873679 via CL 10873683 via CL 10873684
#ROBOMERGE-BOT: (v624-10872983)

[CL 10873701 by marc audy in Main branch]
2020-01-02 12:15:59 -05:00
marc audy
a46a5a31b6 UHT optimizations part 5 - Minor optimizations and clean up of code generation
#jira
#rnx
#rb


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10873665 via CL 10873666 via CL 10873667
#ROBOMERGE-BOT: (v624-10872983)

[CL 10873695 by marc audy in Main branch]
2020-01-02 12:15:23 -05:00
Ryan Durand
74c879d5f3 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870960 by Ryan Durand in Main branch]
2019-12-26 23:06:02 -05:00
jon nabozny
b3b736e9ee Export symbols for ValidateGeneratedRepEnums header declared functions.
This should prevent link errors for classes defined in plugins.

[at]Satchit.Subramanian, [at]Marc.Audy
#rb Marc.Audy


#ROBOMERGE-SOURCE: CL 10720800 via CL 10720845
#ROBOMERGE-BOT: (v610-10636431)

[CL 10720847 by jon nabozny in Main branch]
2019-12-13 16:30:31 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
fred kimberley
579dff4c7b Added a new function for cleaning up the sparse class data.
Use FMemory::Malloc and FMemory::Free to allocate and deallocate the sparse class data. This removes the need for virtual functions on individual classes doing this.
Removed code gen that was creating virtual function implementations for allocating sparse class data based on the class.

#jira UE-84226
#rb Marc.Audy
#lockdown Cristina.Riveron
#rnx

#ROBOMERGE-SOURCE: CL 10419745 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10419748 by fred kimberley in Main branch]
2019-11-25 12:45:07 -05:00
marc audy
43643cc24e There is no need to export the Z_Construct_UFunction declarations.
#jira
#rb Fred.Kimberley, Michael.Noland


#ROBOMERGE-SOURCE: CL 10376351 via CL 10376395 via CL 10376428
#ROBOMERGE-BOT: (v594-10333955)

[CL 10377550 by marc audy in Main branch]
2019-11-22 14:27:30 -05:00
jon nabozny
46d8cfbc70 Fix UHT Generation of RepIndices and don't sort Native Rep Properties.
Fixes an issue where the generated RepIndices could be invalid due to UHT not being able to know the size of static arrays or final offset of bitfield properties.

[at]Brian.Bekich, [at]Steve.Robb, [at]Ryan.Gerleve, [at]Peter.Engstrom, [at]Mattias.Hornlund
#rb Peter.Engstrom


#ROBOMERGE-SOURCE: CL 10372135 via CL 10372142 via CL 10372146
#ROBOMERGE-BOT: (v594-10333955)

[CL 10376545 by jon nabozny in Main branch]
2019-11-22 14:12:36 -05:00
marc audy
90b03dc45e Go back to exporting all properties PPO accessors until the nativization constructor building is revisited and stops creating entries for things it shouldn't be.
#jira
#rnx


#ROBOMERGE-SOURCE: CL 10111230 via CL 10111234
#ROBOMERGE-BOT: (v587-10111126)

[CL 10111235 by marc audy in Main branch]
2019-11-12 06:36:50 -05:00
marc audy
91336656d1 Config properties need a PPO stub for the time being
#jira UE-84187
#rnx


#ROBOMERGE-SOURCE: CL 10099536 via CL 10099586
#ROBOMERGE-BOT: (v586-10095595)

[CL 10099589 by marc audy in Main branch]
2019-11-11 13:39:11 -05:00
marc audy
45c4bf4552 Move implementation of RPCWrapper functions in to generated cpp instead of generated h
#rb Michael.Noland
#jira
#rnx


#ROBOMERGE-SOURCE: CL 10094466 via CL 10094498
#ROBOMERGE-BOT: (v584-10094073)

[CL 10094521 by marc audy in Main branch]
2019-11-11 09:48:51 -05:00
marc audy
1178806675 Cleanup GetCPPName to properly reuse interface names rather than creating a new one each time.
Reduce some unnecessary string allocations
Do not export __PPO__ private access functions for properties that are not BlueprintVisible
#rb Fred.Kimberley
#jira
#rnx


#ROBOMERGE-SOURCE: CL 10088649 via CL 10088652
#ROBOMERGE-BOT: (v574-10069753)

[CL 10088987 by marc audy in Main branch]
2019-11-08 17:25:13 -05:00
fred kimberley
4e53acb98b Added info about the sparse class data structure into the class info hash used to detect changes during hot reloads.
#jira UE-81310
#rb Michael.Noland

#ROBOMERGE-SOURCE: CL 10034704 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v565-10026848)

[CL 10034715 by fred kimberley in Main branch]
2019-11-05 18:28:53 -05:00
fred kimberley
06d68a4a4f Remove a redundant ensure.
#jira UE-82988
#rb none

#ROBOMERGE-SOURCE: CL 9961779 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9961780 by fred kimberley in Main branch]
2019-11-01 17:50:13 -04:00
jon nabozny
d92450caa5 Generate enums with RepIndex values for native Replicated Properties.
These can be used with simple macro expansions to get Rep Indices for properties without actually looking up UProperty pointers.

[at]LouisPhilippe.Seguin, [at]Brian.Bekich, [at]Ryan.Gerleve
#rb Steve.Robb, Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 9746038 via CL 9746044
#ROBOMERGE-BOT: (v542-9736015)

[CL 9746047 by jon nabozny in Main branch]
2019-10-22 11:26:43 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Marc Audy
d078ac3f77 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 9298289
#rb
#rnx

[CL 9300430 by Marc Audy in Dev-Framework branch]
2019-09-30 11:36:53 -04:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
Marc Audy
5fb00d38a0 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 8902520
#rb
#rnx

[CL 8914290 by Marc Audy in Dev-Framework branch]
2019-09-19 17:46:29 -04:00