Commit Graph

3902 Commits

Author SHA1 Message Date
brian bekich
6d847c813b Backout 19356865 and history index size changes from 18938566
#ROBOMERGE-OWNER: brian.bekich
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19380467 via CL 19380482 via CL 19380489 via CL 19381971 via CL 19394950 via CL 19395258
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402923 by brian bekich in ue5-main branch]
2022-03-16 03:23:00 -04:00
Devin Doucette
01274b17c8 Logging: Added a dedicated master thread for logging
#preflight 622fb0eca709bd110fea0da5
#rb Zousar.Shaker

[CL 19387540 by Devin Doucette in ue5-main branch]
2022-03-15 12:31:55 -04:00
Patrick Boutot
1e4c3973db UHT: Add FieldNotify specifier to UHT. It auto generate the UE_FIELD_NOTIFICATION_DECLARE_CLASS_DESCRIPTOR and UE_FIELD_NOTIFICATION_IMPLEMENT_CLASS_DESCRIPTOR macro. FieldNotify is only available on FProperty and UFunction member of a UCLass and if the UClass implement the INotifyFieldValueChanged interface.
#preflight 622f43d419287beb2c316755

[CL 19372159 by Patrick Boutot in ue5-main branch]
2022-03-14 09:47:28 -04:00
Tim Smith
3044817c8b Deprecate CLASS_NoExport. It was only being used by UHT.
#rb trivial
#rnx
#jira UE-117144
#preflight 622f32e80a342dea04e2face

[CL 19371725 by Tim Smith in ue5-main branch]
2022-03-14 08:36:12 -04:00
paul chipchase
1f90b5c58b Allow stand alone programs to opt into full FPackagePath functionality even if the program is not compiling with the editor.
#rb Matt.Peters
#rnx
#preflight 622b69320a614dcb0cf998d3

- This is useful for stand alone programs that want to compile with core and coreuobject but don't want to compile against the editor/engine.
- To make use of this the program should add 'GlobalDefinitions.Add("UE_SUPPORT_FULL_PACKAGEPATH=1")' to it's Target.cs .
- If the program does not define UE_SUPPORT_FULL_PACKAGEPATH then it will default to WITH_EDITOR which was the pre-existing behavior.

[CL 19370946 by paul chipchase in ue5-main branch]
2022-03-14 03:39:21 -04:00
andrew scheidecker
533e2944b4 Add a FDynamicallyTypedValue class that stores a value as some uninterpreted memory and a pointer to some runtime type information that contains methods to interpret the memory.
The garbage collector gains opcodes to mark references inside these values, though a FProperty to emit those opcodes is not part of this changelist.
#rb Robert.Manuszewski, Steve.Robb
#preflight 622b3d98cd605bd993bb58e1

#ROBOMERGE-AUTHOR: andrew.scheidecker
#ROBOMERGE-SOURCE: CL 19353106 via CL 19354089 via CL 19355248 via CL 19357433 via CL 19357654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19359137 by andrew scheidecker in ue5-main branch]
2022-03-11 14:30:17 -05:00
Robert Manuszewski
fba442df5a Fixed a condition that checks if 'obj refs -history=' value is correct
#jira none
#rb trivial
#preflight none

[CL 19354957 by Robert Manuszewski in ue5-main branch]
2022-03-11 10:23:06 -05:00
Robert Manuszewski
dec28ffca1 Fixing obj refs -history=1 not looking in GC history
#rb trivial
#jira none
#preflight none

[CL 19353464 by Robert Manuszewski in ue5-main branch]
2022-03-11 09:00:59 -05:00
steve robb
0e1e8c13fb Removal of unused CopyFormatted*() and *_TextOnly() functions.
#rb graeme.thornton
#preflight 6229fae77341dd1ecf70f0a0

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19335163 via CL 19339363 via CL 19345711 via CL 19350978 via CL 19351029
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351730 by steve robb in ue5-main branch]
2022-03-11 04:01:36 -05:00
marc audy
51b9541255 Moving IsRoutingPostLoad to a tighter scope to prevent crashes when loading packages with non-native objects
#rb trivial
#preflight none


#ushell-cherrypick of 19339131 by robert.manuszewski

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19317027 via CL 19345332 via CL 19350794 via CL 19350872
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351728 by marc audy in ue5-main branch]
2022-03-11 04:01:16 -05:00
steve robb
388bb6ad45 Deprecation of PLATFORM_COMPILER_HAS_IF_CONSTEXPR.
#rb devin.doucette
#preflight 6228c99b31133a23da858e84

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19322028 via CL 19325625 via CL 19327461 via CL 19327581
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348292 by steve robb in ue5-main branch]
2022-03-10 22:04:02 -05:00
jamie dale
00f04864c0 Added FCoreUObjectDelegates::OnObjectPostCDOCompiled
This is similar to UObject::OnPostCDOCompiled, but doesn't require that you implement the logic on a particular class.

#jira
#preflight 6227b758c653e7ef9f572d0b
#rb Rex.Hill

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19319787 via CL 19319840 via CL 19320685 via CL 19323486 via CL 19323658
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348039 by jamie dale in ue5-main branch]
2022-03-10 21:51:02 -05:00
danny couture
de7b184e48 Add class and object name on check that reports abstract class instanciation failures so we can know more about where this is coming from
#rnx
#rb Matt.Peters
#preflight 622759b0695c94f981a123d1

#ROBOMERGE-OWNER: danny.couture
#ROBOMERGE-AUTHOR: danny.couture
#ROBOMERGE-SOURCE: CL 19319145 via CL 19320240 via CL 19321182 via CL 19321247
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348011 by danny couture in ue5-main branch]
2022-03-10 21:49:50 -05:00
justin marcus
8df3a69f3d Fix missing closing paren in log message
#rb trivial

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 19309128 via CL 19309138 via CL 19312263 via CL 19315592 via CL 19315668
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347728 by justin marcus in ue5-main branch]
2022-03-10 21:37:10 -05:00
steve robb
deebf593a2 Fix for mixing SUBOBJECT_DELIMITER_CHAR with non-TCHARs - when used in a ternary in particular, it caused the result to become promoted to an integer.
#rb martin.ridgers
#preflight 6225fe2d825c6abb99fa5d1c

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19284148 via CL 19295463 via CL 19304889 via CL 19305094
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347125 by steve robb in ue5-main branch]
2022-03-10 21:02:28 -05:00
pj kack
0988dfc4fb AsyncLoading2: Fix crash in seamless server travel.
When reloading an existing UPackage make sure to always set all serialized package flags again since they may have been cleared since the last load.
One example is UWorld::FinishDestroy that may clear PKG_ContainsMap on its world UPackage.

#jira UE-135502
#rb carlmagnus.nordin,per.larsson
#rnx
#preflight 62275410e83598518f2a720f

#ROBOMERGE-AUTHOR: pj.kack
#ROBOMERGE-SOURCE: CL 19302798 in //UE5/Release-5.0/... via CL 19303924
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346856 by pj kack in ue5-main branch]
2022-03-10 20:49:12 -05:00
robert manuszewski
1074c5e48c Added a few utility functions to help with using property setters and getters with properties representing containers (Arrays / Sets / Maps) or structs
#preflight 6221fb52b066ef60bba404a3
#rb Steve.Robb

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19264826 via CL 19266236 via CL 19271583 via CL 19278279 via CL 19293645
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19344991 by robert manuszewski in ue5-main branch]
2022-03-10 19:36:10 -05:00
Zousar Shaker
b23efc3a7b Reduce overhead from high frequency redundant access tracking caused by resolving the same TObjectPtr repeatedly. Saves 3 minutes from large project full cook.
#rb matt.peters
#jira UE-144430
#preflight 622843e68138f020c641085e
#ushell-cherrypick of 19283269 by Zousar.Shaker

[CL 19322440 by Zousar Shaker in ue5-main branch]
2022-03-09 12:44:16 -05:00
Matt Peters
6b69c8a5d9 #jira UE-144941
Make the cooked AssetRegistry.bin deterministic.
#rb Johan.Torp
#rnx
#preflight 6228b03acc09078bab52ecbb

[CL 19319417 by Matt Peters in ue5-main branch]
2022-03-09 09:03:55 -05:00
Marc Audy
ccd2d95215 Nested subobjects that have overriden properties in a blueprint now be initialized correctly from their archetype, not the native default values
#jira UE-139048

Nested subobjects that are part of Objects created from a template will now correctly initialize their properties from the supplied template
#jira UE-138949

#rb Phillip.Kavan, Ben.Hoffman
#preflight 622661ff9d201d1ecdf2845c
#preflight 6227afc27077eb04cf74a929

[CL 19308998 by Marc Audy in ue5-main branch]
2022-03-08 14:52:11 -05:00
mark lintott
e6fc5fe952 Static Analysis Fixes
#rb trivial
#jira UE-144624
#preflight 62223924c33b6ba25d0bb1d6

[CL 19266980 by mark lintott in ue5-main branch]
2022-03-04 11:11:37 -05:00
Ryan Gerleve
d23e502ddd Fix replicated references to class default objects.
They're considered stably named for networking again, so they can be referred to by path. This had changed as unintended fallout of CL 18803336 updating UObjectBaseUtility::IsDefaultSubobject.

#jira UE-143225
#rb marc.audy, brian.bekich
#preflight 6221794dbf662715a8d933c0

[CL 19260867 by Ryan Gerleve in ue5-main branch]
2022-03-03 21:42:23 -05:00
CarlMagnus Nordin
d22a30228c Fixed incorrect FStructuredArchive operator<< overload for TObjectPtr
#rnx
#rb steve.robb
#preflight 6220d5256a33f9b416a80a05

[CL 19244103 by CarlMagnus Nordin in ue5-main branch]
2022-03-03 10:31:20 -05:00
steve robb
1c8c8ca258 Typo fix.
#rb trivial

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19220517 via CL 19220534 via CL 19223704
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227716 by steve robb in ue5-main branch]
2022-03-02 15:32:00 -05:00
steve robb
288f3de432 Fixes for the implicit conversion of ints and chars to TCHARs in UTF-8 mode.
#rb trivial
#preflight 621ed0b4e15c51d8c5e5d081

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19219816 via CL 19220283 via CL 19220288 via CL 19223679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227684 by steve robb in ue5-main branch]
2022-03-02 15:30:50 -05:00