Make ShouldDoHotloadFromIDE() more robust against the possiblity that the PID of a long-gone Editor instance has been recycled as a system process.
#jira none
[CL 16026733 by jonathan adamczewski in ue5-main branch]
1) Refactored preparsing to scan for @UCLASS, @USTRUCT, and @ENUM and define then. This means that no new entries into the type definition info system will be added after pre-parsing and thus remove the need for any type of locking during code generation.
2) Parsing and code generation is now being done in a strict order based on dependencies and no longer by project. This removes the need of explicitly parsing depedencies first or waiting on hashes to be computed. (Provided a 50%-80% improvement in code generation time)
3) Changed HeaderParser to be specific to one source file. Removed the need to pass the source file around since it is always known at construction time. Simplified some error handling logic.
4) Changed parallel for loops to using event graph to provide more concurrency.
5) Refactored the main program flow into concise steps.
Testing:
Verified that the headers generated exactly the same for:
1) First person C++ Project
2) UnrealEditor
3) QAGame
4) ShooterGame
5) FortniteGame
FYI: Marc had reviewed this as part of a larger change but some parts were extract. These are the remaining changes.
#rb marc.audy
#rnx
#preflight 6078666a02850d00010e22c5
[CL 16023636 by Tim Smith in ue5-main branch]
Moving the UHTConfig to BaseParser along with a support routine to be used by a future change.
#rb trivial
#rnx
#preflight 607764150af8c60001c4a435
[CL 16013445 by Tim Smith in ue5-main branch]
This is a preparatory change ahead of adding the ability to build NET Core projects to the CsCompile task, and subsequent conversion of NET Framework projects to NET Core. On its own, it should have no substantive visible effect.
#jira none
[CL 16008195 by jonathan adamczewski in ue5-main branch]
This new functionallity will be used in future additions.
#rb devin.doucette
#rnx
#preflight 607707d03f280e000105eeac
[CL 16006786 by Tim Smith in ue5-main branch]
New mechanism for maintaining the overall result.
Helper methods for making try blocks.
Work in progress
#rb steve.robb
#rnx
#preflight 607706d22674e100018f74af
[CL 16006480 by Tim Smith in ue5-main branch]
Refactor GetMaxActionsToExecuteInParallel to Utils from LocalExecutor and share with ParallelExecutor
Remove logic to use average of physical and logical cores if hyper-threading is enabled
#jira UE-113283
#rb Jonathan.Adamczewski Ben.Marsh
[CL 15997233 by Joe Kirchoff in ue5-main branch]