Commit Graph

68 Commits

Author SHA1 Message Date
Maciej Mroz
8192b0a511 BlueprintCompilerCppBackend:
- support for unconverted types - WIP
- use "UsedAssets" array from the class instead of loading objects

[CL 2704307 by Maciej Mroz in Main branch]
2015-09-24 09:57:06 -04:00
Maciej Mroz
760e728416 Basic support for unconverted BP.
- Native UProperties of an unconverted type, are replaced with properties of the first native type.
- support for Cast and DynamicCast
- various fixes

#codereview Mike.Beach, Robert.Manuszewski

[CL 2704010 by Maciej Mroz in Main branch]
2015-09-24 05:05:37 -04:00
Dan Oconnor
321f40e667 UEBP-40 fixes - blueprints with multiple delegates to declare now compile, blueprints no logner duplicate delegate declarations, enum defaultss in generated code are now always valid symbols, minor whitespace improvement to delegate declarations
[CL 2699985 by Dan Oconnor in Main branch]
2015-09-21 18:20:01 -04:00
Mike Beach
2058d7b664 Fixing the in-editor Blueprint conversion tool so that the files generated match the specified includes.
#codereview Dan.OConnor

[CL 2699819 by Mike Beach in Main branch]
2015-09-21 17:15:50 -04:00
Dan Oconnor
649bb4acb6 Fixes for cast nodes in cpp backend, to test just generate code for BP_Node_Basic
[CL 2697378 by Dan Oconnor in Main branch]
2015-09-18 14:10:51 -04:00
Mike Beach
8fcdbeece4 Coordinating the Blueprint conversion tool with the backend (ensuring filenames are in sync, and that the backend knows what files will and won't be converted).
#codereview Maciej.Mroz

[CL 2697358 by Mike Beach in Main branch]
2015-09-18 14:00:49 -04:00
Maciej Mroz
c38d11436b New way of replacing old BPGC references with new (converted and native) DynamicClass references in Package::Save
#codereview Robert.Manuszewski, Mike.Beach

[CL 2696879 by Maciej Mroz in Main branch]
2015-09-18 07:41:43 -04:00
Maciej Mroz
c254b9121f FGatherConvertedClassDependencies collectsheaders for used interfaces.
[CL 2694874 by Maciej Mroz in Main branch]
2015-09-17 05:26:42 -04:00
Maciej Mroz
6a80e81347 BlueprintCompilerCppBackend: improved interface generation.
[CL 2694856 by Maciej Mroz in Main branch]
2015-09-17 05:15:17 -04:00
Maciej Mroz
e207582c8f UEBP-40 C++ code generation (WIP):
- components created in constructor have CreationMethod = EComponentCreationMethod::Native

#codereview Phillip.Kavan

[CL 2690138 by Maciej Mroz in Main branch]
2015-09-14 09:23:48 -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
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
Phillip Kavan
308be6bebd [UEBP-40] BP->C++ code generation (WiP) - Some fixes to generated code for default subobject instancing.
change summary:
- modified FEmitDefaultValueHelper::HandleInstancedSubobject() to allow callers to control whether or not to generate code to create the instance or access it (if it should already have been created).
- modified FEmitDefaultValueHelper::GenerateConstructor() to generate code to assign a fallback native root component if available (to match the runtime side in the non-generated code case)

#codereview Maciej.Mroz

[CL 2685496 by Phillip Kavan in Main branch]
2015-09-09 17:50:03 -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
Marc Audy
6da868e057 Fix shadowed variable
#codereview Maciej.Mroz

[CL 2683496 by Marc Audy in Main branch]
2015-09-08 15:03:16 -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
Maciej Mroz
446c40f58e UEBP-40 C++ code generation (WIP):
- Refactor, Introduced function FEmitHelper::GetCppName

#codereview Dan.OConnor

[CL 2682851 by Maciej Mroz in Main branch]
2015-09-08 06:44:17 -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
Maciej Mroz
6ce1610a00 Comments added
[CL 2681931 by Maciej Mroz in Main branch]
2015-09-06 09:15:57 -04:00
Maciej Mroz
bec08e1390 UEBP-40 C++ code generation (WIP):
- Gathering coverted class dependencies - fixed and refactored
- improved list of included headers and forward-declared structs

#codereview Mike.Beach

[CL 2681924 by Maciej Mroz in Main branch]
2015-09-06 07:59:37 -04:00
Marc Audy
041ef34cb0 Fix initialization order
#codereview Maciej.Mroz

[CL 2680611 by Marc Audy in Main branch]
2015-09-04 13:13:42 -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
Maciej Mroz
ee57408e3f UEBP-40 C++ code generation (WIP):
- support for UMG (WIP)

[CL 2676673 by Maciej Mroz in Main branch]
2015-09-02 04:22:33 -04:00
Dan Oconnor
aa15c9d311 Object properties are now forward declared, this allows circularly dependent blueprints to compile
#codereview Maciej.Mroz

[CL 2674432 by Dan Oconnor in Main branch]
2015-08-31 14:52:42 -04:00
Maciej Mroz
d26ac8dcda UEBP-40 C++ code generation (WIP):
- Dependencies from CDO are collected

[CL 2673942 by Maciej Mroz in Main branch]
2015-08-31 06:45:02 -04:00