Commit Graph

1016 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
Marc Audy
29b81e9eee Add default parameters consistent with LoadObject for LoadClass
[CL 2687946 by Marc Audy in Main branch]
2015-09-11 10:47:38 -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
3b4ed8857c Missing file from previous checkin
[CL 2687701 by Robert Manuszewski in Main branch]
2015-09-11 07:30:51 -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
82ad956e99 added const version of UProperty::GetOwnerProperty()
[CL 2687669 by Maciej Mroz in Main branch]
2015-09-11 05:53:30 -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
Dan Oconnor
91d5d7dcc0 missed file
[CL 2685049 by Dan Oconnor in Main branch]
2015-09-09 14:08:04 -04:00
Robert Manuszewski
2e5d294b2d Merging CL #2685024
Object iterator optimizations

[CL 2685044 by Robert Manuszewski in Main branch]
2015-09-09 14:07:00 -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
Marc Audy
3ba8c3c2db comment spelling fix
[CL 2683752 by Marc Audy in Main branch]
2015-09-08 17:10:36 -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
Maciej Mroz
45e8455032 FConvertedBlueprintsDependencies - next iteration.
#codereview Robert.Manuszewski

[CL 2683056 by Maciej Mroz in Main branch]
2015-09-08 11:03:41 -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