Commit Graph

34 Commits

Author SHA1 Message Date
henrik karlsson
3c9aacb1ad [Engine/Plugins]
* Updated public headers for ~170 engine plugins using iwyu to remove includes not needed. Removed includes are still available behind UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63c08f4a2a6acaf1622bcc73
#rb none

[CL 23674775 by henrik karlsson in ue5-main branch]
2023-01-13 01:54:01 -05:00
henrik karlsson
6c0988b13c [Engine/Plugins/Editor]
* Ran IWYU on all private code in the plugins under this folder.

#preflight 63bbb322c45a2c81e0673a9c
#rb chris.waters

[CL 23631839 by henrik karlsson in ue5-main branch]
2023-01-10 15:24:20 -05:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
benjamin fox
f349a7f9b4 Add Custom Icon for Blueprint Header View Plugin
#jira UE-146860
#preflight 630d3529f92416fb9273bcdd
#rb david.garza

[CL 21691163 by benjamin fox in ue5-main branch]
2022-08-29 18:41:53 -04:00
benjamin fox
02e0bfb836 Add UserDefinedStruct support to BPHeaderView
#preflight 62db0f7d461e862154f708cc
#rb david.garza

[CL 21229816 by benjamin fox in ue5-main branch]
2022-07-22 17:19:13 -04:00
benjamin fox
37486effbd Check MemberProperty name instead of ChangedProperty name in UBlueprintHeaderViewSettings::PostEditChangeProperty
#jira UE-155448
#rb ben.hoffman
#preflight skip

[CL 20556665 by benjamin fox in ue5-main branch]
2022-06-08 10:52:34 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
benjamin fox
06b55b3af2 Save asset picker config in the Header Preview
#jira UE-150228
#preflight 6282b22e6d51c29ec4207bbe
#rb phillip.kavan

[CL 20261267 by benjamin fox in ue5-main branch]
2022-05-18 10:57:10 -04:00
lauren barnes
4b82e918fa Replacing legacy EditorStyle calls with AppStyle
#rb header and class name replacement

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20078276 via CL 20078825
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20106316 by lauren barnes in ue5-main branch]
2022-05-09 13:51:26 -04:00
benjamin fox
04570dbc47 Fix Syntax Color not changing in C++ Header Preview Settings
#jira UE-150218
#rb trivial
#preflight skip

[CL 19925133 by benjamin fox in ue5-main branch]
2022-04-26 14:17:36 -04:00
benjamin fox
ef423e1034 Fix missing includes
#jira UE-150239
#rb none
#preflight skip

[CL 19924877 by benjamin fox in ue5-main branch]
2022-04-26 14:04:55 -04:00
benjamin fox
d71137e598 BP Header Preview: Add buttons to browse to asset and open asset
#jira UE-149898
#rb marc.audy
#preflight 6266b812e73e257316085f8f

[CL 19902921 by benjamin fox in ue5-main branch]
2022-04-25 11:09:11 -04:00
benjamin fox
d2f4b63825 Clamp Blueprint Header Preview settings Font Size to avoid ensure
#jira UE-149906
#rb dave.jones2
#preflight skip

[CL 19873420 by benjamin fox in ue5-main branch]
2022-04-22 17:12:17 -04:00
benjamin fox
951fb31807 BPHeaderView: Remove OnBlueprintChanged delegate when header view is closed
#jira UE-148939
#jira UE-149769
#preflight 6261b4467d162829ae88e3ba
#rb ben.hoffman

[CL 19856813 by benjamin fox in ue5-main branch]
2022-04-21 17:59:34 -04:00
benjamin fox
c6d9246dae BP Header View: Add Sorting option for optimal struct padding
#jira UE-147423
#preflight 624b64f1dc6183e3f54a7060
#rb justin.hare

[CL 19743702 by benjamin fox in ue5-main branch]
2022-04-13 14:59:02 -04:00
benjamin fox
d8d9275d12 Rename Blueprint Header View to clearer Blueprint Equivalent C++ Header Preview
#rb trivial
#jira UE-147420
#preflight skip

[CL 19629952 by benjamin fox in ue5-main branch]
2022-04-05 15:54:11 -04:00
benjamin fox
8be59f45e8 Align Name validation in the BP Header View with the Blueprint Editor
#jira UE-147422
#preflight 62463f76b6084b9832505740
#rb phillip.kavan

[CL 19614032 by benjamin fox in ue5-main branch]
2022-04-04 15:50:39 -04:00
benjamin fox
24172c87ab Fix BP Header View using the wrong font
#rb trivial
#preflight skip

[CL 19577164 by benjamin fox in ue5-main branch]
2022-03-31 15:37:25 -04:00
benjamin fox
c9ccf2ae7f BPHeaderView: Expose FontSize and ListItem SelectionColor to config
#jira UE-147421
#rb ben.hoffman
#preflight 624386943a5a4c1622b7f545

[CL 19559534 by benjamin fox in ue5-main branch]
2022-03-30 13:13:37 -04:00
benjamin fox
834d90fec4 BPHeaderView: Add a Jump to Definition option to Function items via context menu or double click
#preflight 623cb77f5c488c89d6d67f6e
#rb justin.hare

[CL 19542427 by benjamin fox in ue5-main branch]
2022-03-29 11:06:58 -04:00
benjamin fox
10bce07e2a Fix Incorrect Property Flags in Header View
#rb trivial
#preflight skip

[CL 19482157 by benjamin fox in ue5-main branch]
2022-03-23 13:58:36 -04:00
benjamin fox
1c992fe454 BPHeaderView: Automatically select blueprint if Header View was summoned from the Blueprint Editor
#jira UE-145184
#preflight 623a2efddb0f61c79263c558
#rb ben.hoffman

[CL 19472793 by benjamin fox in ue5-main branch]
2022-03-22 17:44:34 -04:00
benjamin fox
fa55698aaa Fix Incorrect Include path
#rb none
#rnx
#preflight skip

[CL 19469536 by benjamin fox in ue5-main branch]
2022-03-22 14:18:08 -04:00
benjamin fox
9429b5c817 BP Header View: Add Context Menu action to Blueprint Assets to open the Header View
#jira UE-145343
#preflight 6238e38dbc1cf2803858c491
#rb marc.audy

[CL 19466563 by benjamin fox in ue5-main branch]
2022-03-22 10:54:10 -04:00
benjamin fox
9d73525274 BP Header View: Add context menu options to rename illegal fields
#jira UE-145334
#rb justin.hare
#preflight 6238dae6bc1cf28038588181

[CL 19457403 by benjamin fox in ue5-main branch]
2022-03-21 16:12:17 -04:00