Commit Graph

991 Commits

Author SHA1 Message Date
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
Maciej Mroz
83a9fe1e60 FAsyncPackage::LoadImports uses FConvertedBlueprintsDependencies
#codereview Robert.Manuszewski

[CL 2680180 by Maciej Mroz in Main branch]
2015-09-04 08:48:36 -04:00
Maciej Mroz
b5d265d7af UEBP-40 C++ code generation (WIP):
- Support for dynamically loaded native uclass object
- for classes that are forward-declared in header, there is a proper include in .cpp
- delegate declaration are moved into class scope

[CL 2680142 by Maciej Mroz in Main branch]
2015-09-04 07:50:42 -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
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
Robert Manuszewski
6024b457e4 AsyncLoading: Fixing FAsyncPackageDesc memory leaks, reducing TArray memory allocations.
[CL 2674010 by Robert Manuszewski in Main branch]
2015-08-31 10:00:07 -04:00
Ben Zeigler
2b5d68fd4f #UE4 Fix issue where when using -FixupStringAssetReferences, it would fixup the references inside the package, but not the package header. Now the code that finds string asset references for the package header calls the redirector callback
#codereview michael.noland, Jaroslaw.Palczynski

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2672504 by Ben.Zeigler on 2015/08/28 12:43:30.

[CL 2673370 by Ben Zeigler in Main branch]
2015-08-28 19:36:40 -04:00
Bob Tellez
4400d85f59 [AUTOMERGE]
#UE4 Followup change about detecting legal indicies in the export map hash after code review.

#RB Fred.Kimberley

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2668230 by Bob.Tellez on 2015/08/25 16:00:47.

[CL 2672474 by Bob Tellez in Main branch]
2015-08-28 12:23:15 -04:00
Bob Tellez
1ce221cfa2 [AUTOMERGE]
#UE4 Added ensures to help track down the cause of FORT-14157. This will also avoid the crash, but there might be a deeper issue here.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2668165 by Bob.Tellez on 2015/08/25 15:30:29.

[CL 2672473 by Bob Tellez in Main branch]
2015-08-28 12:22:59 -04:00
Mike Beach
24be9f418e [UE-20194] Down grading an inactionable warning to a plain log.
#codereview Michael.Noland

[CL 2671049 by Mike Beach in Main branch]
2015-08-27 11:56:19 -04:00
Steve Robb
5ff2211a5d Support for RF_Async and RF_AsyncLoading in FReferenceChainSearch::PrintReferencers.
#codereview robert.manuszewski

[CL 2671025 by Steve Robb in Main branch]
2015-08-27 11:47:17 -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
Michael Noland
153a6d3e53 Networking: Reduce incremental allocations in FClassNetCacheMgr::GetClassNetCache
[INTEGRATE] Change 2668348 by Michael.Noland@mnoland-T2784-HDepot on 2015/08/25 16:46:24

[CL 2668709 by Michael Noland in Main branch]
2015-08-25 19:45:41 -04:00
David Nikdel
e49e986054 Merging 2667825 using Main-Branch-Map
#UE4 #CoreUObject #Redirectors
- Allow the active class redirectors map to be loaded from all config files so plugins can define redirectors

[CL 2667833 by David Nikdel in Main branch]
2015-08-25 12:56:13 -04:00
Michael Noland
db51a8a66c Editor: Some more minor formatting changes to save package log output timings, and fixed an indentation issue
[INTEGRATE] Change 2667231 by Michael.Noland@mnoland-T2784-HDepot on 2015/08/25 03:45:48

[CL 2667236 by Michael Noland in Main branch]
2015-08-25 03:47:28 -04:00
David Ratti
2daef398e4 Fix access violation crash in GarbageCollection.cpp - ProcessObjectArray.
[CL 2666992 by David Ratti in Main branch]
2015-08-24 19:32:08 -04:00
Ben Zeigler
237d0968a0 #UE4 Add -FixupStringAssetReferences commandline. When set, it will forcibly load any string asset references referenced by a package before saving that package. This is useful when using the resave packages commandlet because otherwise redirectors pointed to by string asset references are never cleaned up
Fix the StringAssetReferences list to be more efficient, don't store duplicate tuples or empty string references
Fix it so loading blueprints properly sets ThreadContext.SerializedObject, this broke during the async refactor awhile ago
#codereview michael.noland, robert.manuszewski

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2665095 by Ben.Zeigler on 2015/08/21 18:13:36.

[CL 2666720 by Ben Zeigler in Main branch]
2015-08-24 17:06:00 -04:00
Dmitry Rekman
e21c849c94 Core: avoid leaking ICppStructOps.
- Leaking those structures (get allocated in autogenerated code) polluted valgrind's memcheck with thousands of fake leaks.

#codereview Robert.Manuszewski, Steve.Robb

[CL 2665430 by Dmitry Rekman in Main branch]
2015-08-23 01:40:41 -04:00
Maciej Mroz
7979693c02 Early version of redirecting system for "Blueprints converted to C++".
It's supposed to be used while cooking to fix references to objects (BPGC, UDS, UDE), that where converted into a native code.
Converted items have "ReplaceConverted" meta data generated. The MD stores original object path (and all it's redirected paths).

#codereview Nick.Whiting, Mike.Beach, Robert.Manuszewski

[CL 2664247 by Maciej Mroz in Main branch]
2015-08-21 07:19:34 -04:00