Commit Graph

694 Commits

Author SHA1 Message Date
Maciej Mroz
2ab7ef4a33 Back out revision 222 from //depot/UE4/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp
[CL 2687992 by Maciej Mroz in Main branch]
2015-09-11 11:03:12 -04:00
Maciej Mroz
f698ecbe03 UEBP-40 C++ code generation (WIP):
- Test Pipeline for native classes converted from BP (FReplaceConvertedAssetManager)
- DynamicClass support

[CL 2687964 by Maciej Mroz in Main branch]
2015-09-11 10:56:21 -04:00
Maciej Mroz
899a4c1e37 GetDynamicClassConstructFn fix
#codereview Robert.Manuszewski

[CL 2687732 by Maciej Mroz in Main branch]
2015-09-11 08:45:16 -04:00
Robert Manuszewski
776997161a Dynamic classes can now be constructed by their StaticClass() functions (no need to call ConstructDynamicType)
[CL 2687686 by Robert Manuszewski in Main branch]
2015-09-11 06:51:32 -04:00
Robert Manuszewski
2574402b25 Dynamic class fixes
[CL 2687675 by Robert Manuszewski in Main branch]
2015-09-11 06:03:48 -04:00
Robert Manuszewski
b2495cc856 De-templatizing GetPrivateStaticClassBody
[CL 2687674 by Robert Manuszewski in Main branch]
2015-09-11 06:03:23 -04:00
Maciej Mroz
baaf54f35b Dynamic Class InitializePrivateStaticClass fix
#codereview Robert.Manuszewski

[CL 2687664 by Maciej Mroz in Main branch]
2015-09-11 05:43:15 -04:00
Robert Manuszewski
f9c3143c7e Merging CL #2686175
Changing GetUObjectArray() -> GUObjectArray to avoid redundant function calls in places like weak pointers/GC/object iterators

[CL 2686461 by Robert Manuszewski in Main branch]
2015-09-10 11:58:41 -04:00
Maciej Mroz
a23caa0f03 UEBP-40 C++ code generation (WIP):
- refactor
- DynamicClass support
- various bugs

#codereview Mike.Beach, Dan.OConnor, Phillip.Kavan, Robert.Manuszewski

[CL 2686106 by Maciej Mroz in Main branch]
2015-09-10 09:15:43 -04:00
Dan Oconnor
53db26d327 Name mangling logic for blueprint generated classes. This solves problems with ascii characters like '-', '+' and '=', unicode characters, and that match existing c++ identifiers (IE naming a blueprint variable bool or U8) showing up in code generated from blueprints.
#codereview Maciej.Mroz

[CL 2685409 by Dan Oconnor in Main branch]
2015-09-09 17:11:11 -04:00
Mike Beach
85b644f104 [UE-20878] Ensuring that the parent CDO is FULLY serialized by the time we load the child's (handles cyclic dependency load scenarios where the super is in the midst of serializing its CDO, and in turn seeks to load a sub-class's CDO).
#codreview Nick.Whiting

[CL 2685029 by Mike Beach in Main branch]
2015-09-09 14:04:11 -04:00
Zak Middleton
b0ccf15046 #ue4 - Inline FSerialNumberManager::GetBlock()
--------
[AUTOMERGE] Integrated using branch ue4-to-UE4-orion (reversed) of change#2684899 by Zak.Middleton on 2015/09/09 13:06:31.

[CL 2684903 by Zak Middleton in Main branch]
2015-09-09 13:07:28 -04:00
Michael Noland
34a44e7cbf Core: Added support for tracking the total number of objects outside of WITH_EDITOR by defining UE_GC_TRACK_OBJ_AVAILABLE to 1
[INTEGRATE] Change 2684069 by Michael.Noland@mnoland-T2784-HDepot on 2015/09/08 21:44:59

[CL 2684085 by Michael Noland in Main branch]
2015-09-08 22:01:08 -04:00
Zak Middleton
04956b6ef1 #ue4 - Improved FWeakObjectPtr::Get() performance. Avoiding redundant work (namely multiple TUObjectArray accesses). Inlined some internal functions that were not being inlined. Removed some branches, especially in the common case when bEvenIfPendingKill=false.
--------
[AUTOMERGE] Integrated using branch ue4-to-ue4-orion (reversed) of change#2683567 by Zak.Middleton on 2015/09/08 15:43:38.

[CL 2683577 by Zak Middleton in Main branch]
2015-09-08 15:46:55 -04:00
Robert Manuszewski
536408e150 Adding UDynamicClass for dynamic UObject types
[CL 2683083 by Robert Manuszewski in Main branch]
2015-09-08 11:20:14 -04:00
Robert Manuszewski
d02f2256d1 Basic support for 'dynamic' Utypes (types that don't need to be constructed at runtime, can be GC'd, etc). Native blueprint support for UHT.
[CL 2682947 by Robert Manuszewski in Main branch]
2015-09-08 09:23:57 -04:00
Jamie Dale
378e2a170b Fixed Data Table CSV/JSON importing not working correctly with FName properties that contain a space
UE-20839 - Data Table cannot import FName properties that contain a space

UNameProperty::ImportText_Internal would only import a name with a space if it was surrounded by quotes, but it will only be surrounded by quotes if PPF_Delimited is set.

This changes UNameProperty::ImportText_Internal to work more like UStrProperty::ImportText_Internal, and perform different import logic based on the PPF_Delimited flag.

#RB Robert.Manuszewski

[CL 2682467 by Jamie Dale in Main branch]
2015-09-07 10:31:19 -04:00
Maciej Mroz
ac295f03eb UEBP-40 C++ code generation (WIP):
- improved (working) code for UMG Widgets
- various fixes

[CL 2682439 by Maciej Mroz in Main branch]
2015-09-07 09:39:56 -04:00
Gil Gribb
2bff847be0 UE4 - Lots of changes to the task graph include new experimental scheduler, current used on PS4, but expected to be used on all platforms after it shakes out.
[CL 2680413 by Gil Gribb in Main branch]
2015-09-04 11:22:22 -04:00
Graeme Thornton
e41c65091a Integrate CL 2676785 to main
Fixes/improvements for dependency preloading
 - Move dependency lookups earlier in synchronous package load so that they happen BEFORE the source package has its linker created
 - Put loose (non-map based) packages FIRST in the PAK file. Matches general access patterns better and gets higher pak seek contiguity.

[CL 2680002 by Graeme Thornton in Main branch]
2015-09-04 02:50:51 -04:00
Marc Audy
6ae91ce19b Use utility function instead of doing work directly
[CL 2679065 by Marc Audy in Main branch]
2015-09-03 14:14:42 -04:00
Robert Manuszewski
40c9e01412 Basic support for native blueprints in async loading and linker (WIP)
[CL 2678725 by Robert Manuszewski in Main branch]
2015-09-03 11:36:12 -04:00
Michael Schoell
e954e01df9 UserDefinedStructs and Local Variables can have non-basic type arrays of size 1 without resetting to being size 0.
ArrayProperty will no longer assume "()" is an empty array. This was a bug.

GameplayTag pins will no longer store "()" for empty sized arrays.

UserDefinedStructureEditor now uses a normal DetailsView instead of a StructureDetails view, leveraging the same code that supports local variables in Blueprints.

#jira UE-20381 - Adding Elements to multiple Struct Arrays of a specific variable type is unreliable

[CL 2678541 by Michael Schoell in Main branch]
2015-09-03 10:18:46 -04:00
Robert Manuszewski
26806c12dc Minor fix for checking available object count in UObject array.
[CL 2678421 by Robert Manuszewski in Main branch]
2015-09-03 07:58:47 -04:00
Robert Manuszewski
79f8a213a6 Further reducing the number of allocations during GC.
Force inlined some of the functions as they were not inlined by the compiler.

Added GC array pool leak checks

[CL 2678415 by Robert Manuszewski in Main branch]
2015-09-03 07:46:22 -04:00