Commit Graph

410 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Bob Tellez
fd2bf9289b #UE4 Clearing the parent and interface function maps on a class during RemoveStaleFunctions to allow them to be regenerated at the next request. This prevents a crash where the parent class map is populated with old function pointers.
#codereview Marc.Audy

[CL 2675060 by Bob Tellez in Main branch]
2015-08-31 22:10:13 -04:00
Marc Audy
4cedc994d5 Optimize FindFunctionByName
[CL 2674041 by Marc Audy in Main branch]
2015-08-31 10:26:47 -04:00
Graeme Thornton
2cb3084599 Integrating CL 2668961 into main:
Improvements and fixes for dependency preloading
 - Fix check when mutliple load requests reference a shared asset
 - Added a package load flag to disable dependency preloading on that package
 - Fix a crash when loading default materials by disabling preloading
 - Added WIP code to cooker to sort maps in pak file.

Display level load times for persistent levels when using "stat levels"

[CL 2669089 by Graeme Thornton in Main branch]
2015-08-26 08:11:35 -04:00
Robert Manuszewski
43728870d0 When cooking saving package will now skip creating exports and imports that are editor-only (are instances of an editor class).
[CL 2662441 by Robert Manuszewski in Main branch]
2015-08-20 06:52:43 -04:00
Maciej Mroz
3e409622bd UEBP-40 C++ code generation (WIP):
- code refactor
- Latent info support
- Literal structures are properly generated

[CL 2657543 by Maciej Mroz in Main branch]
2015-08-17 02:54:13 -04:00
Maciej Mroz
cafe67aae5 UClass::MiscObjects -> UClass::ConvertedSubobjectsFromBPGC
[CL 2655847 by Maciej Mroz in Main branch]
2015-08-14 04:32:03 -04:00