Commit Graph

773 Commits

Author SHA1 Message Date
Maciej Mroz
6ae197307e UEBP-40 C++ code generation (WIP):
- timelines
- "AddComponent" support
- class subobjects are stored in UClass::MiscObjects
- various fixed, FDefaultValueHelperContext

#codereview Nick.Whiting, Mike.Beach

[CL 2648953 by Maciej Mroz in Main branch]
2015-08-08 05:43:51 -04:00
Mikolaj Sieluzycki
2c6b592435 Fix UEnum serialization redirect issues.
#codereview Robert.Manuszewski

[CL 2648031 by Mikolaj Sieluzycki in Main branch]
2015-08-07 11:53:36 -04:00
Robert Manuszewski
746075c8de FCustomVersion optimizations:
- Friendly name will no longer be serialized
- Reduced memory footprint of friendly names
- Faster custom version look up when serializing many custom versions

[CL 2646438 by Robert Manuszewski in Main branch]
2015-08-06 10:59:07 -04:00
Jaroslaw Palczynski
65779f92d4 Content resave to get rid of short package name's from references during QAGame startup and a warning fix.
[CL 2646335 by Jaroslaw Palczynski in Main branch]
2015-08-06 08:35:45 -04:00
Robert Manuszewski
9ab0996834 Backing out bad merge. Insert package predicate has already been changed to < instead of <= in main.
#codereview Josh.Markiewicz

[CL 2646208 by Robert Manuszewski in Main branch]
2015-08-06 04:09:21 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
Mikolaj Sieluzycki
019a8752c3 Fix UEnum issues with incorrect _MAX enum value.
#codereview Robert.Manuszewski

[CL 2644738 by Mikolaj Sieluzycki in Main branch]
2015-08-05 08:56:11 -04:00
Mikolaj Sieluzycki
a53cf2e072 Make UEnums store values as uint8 instead of int8.
#codereview Robert.Manuszewski

[CL 2643276 by Mikolaj Sieluzycki in Main branch]
2015-08-04 08:20:16 -04:00
Jamie Dale
957ac9fa98 Added FPackageName::TryConvertLongPackageNameToFilename
This allows you to attempt convert a package name (or path) into a filename (or path) without generating an assert. FPackageName::LongPackageNameToFilename now calls this function and asserts on failure.

[CL 2642167 by Jamie Dale in Main branch]
2015-08-03 13:10:54 -04:00
Maciej Mroz
2a56e642f6 #jira UE-19425 Crash caused by Cast of nullptr to ArrayProperty
ArrayLibrary functions use ProcessContext also for the Array (not only for the actual context object, that would be always ArrayLibrary CDO)

#codereview Nick.Whiting, Mike.Beach

[CL 2641865 by Maciej Mroz in Main branch]
2015-08-03 09:59:39 -04:00
Bob Tellez
57607df3c3 [AUTOMERGE]
#UE4 Allowing ResetLoader to get called on FAsyncPackages in cooked games. Previously DetachLinker would get called right before which prevents ResetLoader from deleting the linker and reclaiming the memory used until the UPackage is destroyed.

#codereview Robert.Manuszewski

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2640980 by Bob.Tellez on 2015/07/31 17:03:42.

[CL 2640982 by Bob Tellez in Main branch]
2015-07-31 17:04:17 -04:00
Saul Abreu
a6e1ded6f6 Fixed improper pointer math for accessing the value of a fixed sized array property in gathering localization data from text properties.
[CL 2640824 by Saul Abreu in Main branch]
2015-07-31 15:36:58 -04:00
Robert Manuszewski
789a52c723 Moving linker serialization from UObject to UPackage to fix UObject mem reporting
[CL 2640432 by Robert Manuszewski in Main branch]
2015-07-31 11:40:23 -04:00
Robert Manuszewski
92cdf56f08 Merging CL #2599282 by Ben.Zeigler@BenZeiglerZ on 6/24/2015 2:34:03 PM
#UE4 Change the order of the async loading tick to process loaded packages before reading in new ones. This stops it from preloading all packages and exploding memory usage before it processes any of the loaded ones.
Change it so newly requested async load packages are placed after packages of equal priority, this stops them from interrupting in progress loads of the same priority

[CL 2640423 by Robert Manuszewski in Main branch]
2015-07-31 11:35:23 -04:00
Maciej Mroz
08af6cf6b5 UEBP-40 C++ code generation (WIP):
- Native Access Specifiers
- FEmitDefaultValueHelper fix/improvements

#codereview Robert.Manuszewski, Nick.Whiting

[CL 2640098 by Maciej Mroz in Main branch]
2015-07-31 06:27:05 -04:00
Terence Burns
59f985be48 UE-17189 - Making changes in "Project Settings" now only edits one property in the default*.ini. With the exception of Array properties, which needs a whole other implementation. That will be incoming later.
[CL 2640062 by Terence Burns in Main branch]
2015-07-31 05:53:46 -04:00
Robert Manuszewski
cd55f4a847 GC will now spawn sub-tasks as soon as there's enough work without waiting for the parent task to finish processing all objects
[CL 2639298 by Robert Manuszewski in Main branch]
2015-07-30 16:01:18 -04:00
Mike Beach
096ca9f202 [UE-17675] Deferred initialization of cyclic CDO objects now runs as if RF_NeedLoad was not set (as it wouldn't have been when it was deferred).
#codreview Dan.OConnor

[CL 2638830 by Mike Beach in Main branch]
2015-07-30 11:35:45 -04:00
Robert Manuszewski
d715edad4e Thread safety changes for object delete listener
[CL 2638651 by Robert Manuszewski in Main branch]
2015-07-30 10:27:22 -04:00
Maciej Mroz
8c945ed1d8 Cis fix
[CL 2638457 by Maciej Mroz in Main branch]
2015-07-30 06:39:18 -04:00
Maciej Mroz
753ab509a0 UEBP-40 C++ code generation (WIP):
- CppBackend: A prototype of the navite code generating - to create default values in a struct.
- Added PPF_ExportCpp flag. Work In Progress.

#codereview Nick.Whiting

[CL 2638411 by Maciej Mroz in Main branch]
2015-07-30 05:56:25 -04:00
Robert Manuszewski
d707c1f5eb Replacing a for loop with memcpy when filling FGCTask's objects to serialize
[CL 2637398 by Robert Manuszewski in Main branch]
2015-07-29 14:59:37 -04:00
Saul Abreu
e1fe253a7c Implemented localized package loading based on trying to find the package located under "<ContentRoot>/L10N/<CultureCode>/<OriginalPackagePath>". The localized package content subdirectories are also filtered out of the content browser views. In the editor, package paths are not redirected in any additional manner, but outside the editor the package paths redirect to the calculated localized package location.
[CL 2636232 by Saul Abreu in Main branch]
2015-07-28 18:21:55 -04:00
Robert Manuszewski
e669b95cd7 Changing Finished SavePackage to not be a warning (spams cook log with warnings).
#codereview Daniel.Lamb

[CL 2634625 by Robert Manuszewski in Main branch]
2015-07-27 17:28:51 -04:00
Bob Tellez
b3b6ef475f Checking in Mikolaj Sieluzycki's change to fix up callsites to ask for the value of an enum entry instead of the index. The value and the index are the same unless the enum specified element values in its declaration (i.e. enum MyEnum { FirstValue = 1 })
[CL 2634487 by Bob Tellez in Main branch]
2015-07-27 16:26:39 -04:00