30 Commits

Author SHA1 Message Date
steve robb
a890c0cebe Fixed some 'deprecated' FString usage.
#rb james.hopkin

[CL 34715704 by steve robb in ue5-main branch]
2024-06-27 13:38:15 -04:00
patrick boutot
e046478394 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33404292 by patrick boutot in ue5-main branch]
2024-05-02 14:31:41 -04:00
steve robb
09ac803581 More bool to EAllowShrinking fixes.
[CL 31120031 by steve robb in ue5-main branch]
2024-02-02 05:09:35 -05:00
marc audy
19e84555b3 Silence PVS warnings
[CL 30653812 by marc audy in ue5-main branch]
2024-01-17 01:34:02 -05:00
marc audy
a88b71c8b7 Fix/silence C4702 warnings
#rnx

[CL 29883627 by marc audy in ue5-main branch]
2023-11-22 01:04:15 -05:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
bryan sefcik
f91212124f Added generated.h includes and updated enums to have underlying types.
#preflight 63d458095354589b5c16c0e3

[CL 23895079 by bryan sefcik in ue5-main branch]
2023-01-27 18:45:50 -05:00
christopher waters
625952f82e Fixing compile errors from running IWYU on the entire engine.
#preflight 63bdd7d60b7fcef8b01058bd
#lockdown marc.audy

[CL 23635962 by christopher waters in ue5-main branch]
2023-01-10 19:06:13 -05:00
sebastian nordgren
de150ad082 Content browser settings moved to editor config system.
There are a few settings here that we use in places where it's ambiguous which content browser instance is triggering the change, and those have not been transferred over. A few settings also appear to now be unused, and those have also not been transferred.

Additionally, set the SetDisplayDeveloperFolder(bool, bool) functions which took an override variable have been deprecated, and the overrides moved to SAssetView variables directly - these were used after syncing content to temporarily override filters and weren't persisted.

Tested across 2 Content Browsers, toggling all settings enabled on one, and all setting disabled on the other, and checking that the settings persist across restarts of the editor.

#jira UE-150674
#review-23434533 @editor-ux
#preflight 63bd773868068a8bd64ea317

[CL 23626453 by sebastian nordgren in ue5-main branch]
2023-01-10 09:46:42 -05:00
David Lesage
b5679509f7 #jira UE-167978: Update "Unreal Engine 4" name
#rb trivial
#preflight 6356e6a4e6096564af40d239

[CL 22734123 by David Lesage in ue5-main branch]
2022-10-24 15:31:28 -04:00
Mike Beach
706505599a Providing a hook for external sources to override the editor's main window, much like the project browser does. Allows plugins to provide their own kind of "start up check" dialog.
Switching over the project browser dialog to use the new system.

#rb Lauren.Barnes
#preflight 63293e08b40000c8f04da02a
#preflight 6329eb72fc7f1efbdf479b84

[CL 22100188 by Mike Beach in ue5-main branch]
2022-09-20 15:34:49 -04:00
robert millar
de37b38770 FName -> FSoftObjectPath refactoring.
#rb none
#jira UE-161932
#preflight https://horde.devtools.epicgames.com/job/632649b0ea1c94f4c52f124c

[CL 22068295 by robert millar in ue5-main branch]
2022-09-17 20:27:33 -04:00
bryan sefcik
7b9e5abbcc Pass 1 on plugins:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631b93c6967ffc68fb2c32df

[CL 21935609 by bryan sefcik in ue5-main branch]
2022-09-10 00:03:16 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -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
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
Matt Peters
d64cf41728 AssetRegistry includes (Engine Plugins): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270563191629533ec2b6f6e

[CL 20017756 by Matt Peters in ue5-main branch]
2022-05-02 18:59:38 -04:00
Robb Surridge
1041c22c7e Decouple the documentation part of the "SDK not installed" handler from the tutorial system.
#rb lauren.barnes
#jira UE-141830
#preflight 6217d578436d9307bac81b47

[CL 19204739 by Robb Surridge in ue5-main branch]
2022-03-01 15:17:57 -05:00
Robb Surridge
a34eda9895 Make a delegate on the main frame that can be used to request resources, which plugins can register to listen for.
#rb lauren.barnes
#jira none
#preflight 6217d7cdd71b6cfc9d5b09c5

[CL 19200955 by Robb Surridge in ue5-main branch]
2022-03-01 12:29:13 -05:00
Robb Surridge
59702bf87a Include header necessary for non-unity builds.
#preflight 62165340104496cff898f9e3
#jira none
#rb lauren.barnes

[CL 19095028 by Robb Surridge in ue5-main branch]
2022-02-23 13:02:29 -05:00
Robb Surridge
497b8fc545 Restore tutorial highlight styling to its UE4 appearance, copied from the legacy CoreStyle.
#rb lauren.barnes
#jira UE-141830
#preflight 621534807a4932edb20ea09e

[CL 19079827 by Robb Surridge in ue5-main branch]
2022-02-22 15:49:33 -05:00
Robb Surridge
681743f9ef Take DPI settings into account when placing editor tutorial bubbles.
#rb lauren.barnes
#jira UE-141830
#preflight 620e6d98242ff267d473ba13

[CL 19076985 by Robb Surridge in ue5-main branch]
2022-02-22 14:05:45 -05:00
Robb Surridge
b924672629 Move EditorTutorial asset icon and thumbnail to plugin style.
#jira UE-UE-141830
#preflight 620d73e27948a1e5e4bff541
#rb lauren.barnes

[CL 19033913 by Robb Surridge in ue5-main branch]
2022-02-17 08:53:31 -05:00
Robb Surridge
38f4b3dee4 Copy intro tutorials and their assets to the plugin, along with config settings that refer to them.
#preflight 620d1fb97948a1e5e4b309bd
#jira UE-141830
#rb lauren.barnes

[CL 19033909 by Robb Surridge in ue5-main branch]
2022-02-17 08:52:46 -05:00