Commit Graph

155 Commits

Author SHA1 Message Date
henrik karlsson
4a36cfe8ff Moved operator== to be hidden friend instead of put directly in global namespace
Moved GetTypeHash function to be hidden friend instead of put directly in global namespace.

Note that the function/operator needs to be fully inlined in the type or placed in the cpp. If the function is added as friend but then implemented outside the type then hidden friend optimization won't work.

This should improve compile time somewhat according to msvc devs.

#rb Steve.Robb
#preflight 6360b7052b5338aceb26471b

[CL 22889837 by henrik karlsson in ue5-main branch]
2022-11-01 15:50:27 -04:00
yohann dossantos
e3275ca59b Improve Scrollbox slot to support the same settings than the vertical/horizontal/stack box:
- size rule auto and strech.
- max size.
Expose the size rule also in the ScrollBoxSlot for UMG.

tests:
-reverted some workaround in the code and used the new FillSize slot parameter with success.
-tested a lot of sub editors, as the code also impact vertical/horizontal box.
-created new UMG data in QAGame using the new attributes (will submit them soon), and used blueprint graph to change the size settings of a scrollbox slot.

#jira UE-161777
#rb patrick.boutot
#preflight 6360112be86070572fd89aae

[CL 22868510 by yohann dossantos in ue5-main branch]
2022-10-31 14:44:30 -04:00
Zak Middleton
a68f85d9d2 #ue5 - Truncation/conversion fixes for ProjectLauncher, MediaAssets, ProjectTargetPlatformEditor, and associated UI code.
#jira UE-160837
#rb Dave.Jones2, Andrew.Davidson
#preflight 63518de9f92c325024c03814

[CL 22693245 by Zak Middleton in ue5-main branch]
2022-10-21 12:58:17 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
bryan sefcik
06f6cf2700 Added IWYU pragmas.
#preflight 62d018faa6141b6adfe93e82

[CL 21090145 by bryan sefcik in ue5-main branch]
2022-07-14 09:41:39 -04:00
Patrick Boutot
eb15d9e8ee Slate: Convert SlateRect, Margin and SlateRotatedRect from double to float. Without the deprecation path, it creates a lot of errors. I will deprecate slowly the functionnality that use FVector2D once I convert the other basic structures.
#jira UE-137340
#rb editor-ui-systems
#preflight 62a7567d504e8c54a76dc9cd

[CL 20631832 by Patrick Boutot in ue5-main branch]
2022-06-13 14:48:44 -04:00
Patrick Boutot
02661d9bc4 Slate: Transform ResourceManager & SlateRenderer from Vector2D to Vector2f.
#jira UE-137340
#rb vincent.gauthier
#preflight 627a4b80fc07e0a9b4ee414c

[CL 20125423 by Patrick Boutot in ue5-main branch]
2022-05-10 13:26:06 -04:00
patrick boutot
9dd7a01831 Slate: Use reference when iterating on SWidget children.
#rb daren.cheng
#preflight 62444810dc6183e3f5f0836b

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19557164 via CL 19557298 via CL 19557360
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561867 by patrick boutot in ue5-main branch]
2022-03-30 14:51:54 -04:00
patrick boutot
0de0725d3d Slate: Try to fix random crash while iterating on SWidget.
#rb none
#preflight 61fce6e2e058822bdabf53a7

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18861466 via CL 18861467 via CL 18861468 via CL 18861668 via CL 18861772
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18861779 by patrick boutot in ue5-main branch]
2022-02-04 06:55:54 -05:00
patrick boutot
beb5f7670e Slate: Fix Num() that is not called every loop like previoulsy. Some widgets add/remove children while they are beeing iterating on.
#jira UE-139306, FORT-444155
#preflight 61f842e8a6632a34f3525401

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18803173 via CL 18803177 via CL 18803181 via CL 18804419 via CL 18821687
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822073 by patrick boutot in ue5-main branch]
2022-02-02 02:16:11 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
patrick boutot
e340a0acab Slate: Fix reference to rvalue in FChildren
#jira UE-139306
[FYI] daren.cheng
#preflight none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18772549 in //UE5/Release-5.0/... via CL 18772571 via CL 18772833
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18772841 by patrick boutot in ue5-main branch]
2022-01-28 12:00:27 -05:00
patrick boutot
742d5b30a7 Slate: Remove had used to detect rare thread issue.
#jira UE-139306
#preflight 61f2ba66f50f352300ceacd2

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18755151 via CL 18755161 via CL 18755167 via CL 18756773 via CL 18758805
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760836 by patrick boutot in ue5-main branch]
2022-01-27 15:47:39 -05:00
aurel cordonnier
bf8783604c Fix for no unity error
#rnx
#preflight none
[FYI] daren.cheng

#ROBOMERGE-OWNER: aurel.cordonnier
#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 18719673 via CL 18720019 via CL 18720025 via CL 18720617 via CL 18720676
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18720678 by aurel cordonnier in ue5-main branch]
2022-01-25 03:36:30 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
ben hoffman
64e252935c Clean up type truncation warnings
#jira UE-116218
#rb trivial
#rnx
#preflight 61e6efb4837b79f7ccebe551

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18641648 in //UE5/Release-5.0/... via CL 18641663 via CL 18641684
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18641708 by ben hoffman in ue5-main branch]
2022-01-18 12:13:22 -05:00
andrew davidson
64ac833019 Reduce UI memory regression caused by FVector2D conversion to double.
#rb matt.kuhlenschmidt
#rnx

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18442516 via CL 18442517 via CL 18442518 via CL 18442619 via CL 18445006
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445183 by andrew davidson in ue5-release-engine-test branch]
2021-12-13 13:31:04 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
patrick boutot
99ae894746 Slate: Change the inner type of FChildren::FWidgetRef::WidgetReference to prevent implicit copy of the argument in unoptimized build.
#preflight 60f725e75eeb86000177f356
[FYI] francis.hurteau

#ROBOMERGE-SOURCE: CL 16907898 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16907906 by patrick boutot in ue5-release-engine-test branch]
2021-07-21 07:31:22 -04:00
patrick boutot
a5daabaadf Slate: Rename FSlateDeprecatedTAttribute to TSlateDeprecatedTAttribute to respect the coding standards.
#ROBOMERGE-SOURCE: CL 16848023 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16848035 by patrick boutot in ue5-release-engine-test branch]
2021-07-14 07:12:38 -04:00
patrick boutot
bbdccc862f Fix shadow declaration type introduced with CL16841247
#rb none

#ROBOMERGE-SOURCE: CL 16843042 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16843061 by patrick boutot in ue5-release-engine-test branch]
2021-07-13 17:32:34 -04:00
patrick boutot
c26cf7c6c3 Slate: Convert SCanvas TAttribute to TSlateAttribute.
#jira UE-109146
#preflight 60edaf36a34bf50001dd8256

#ROBOMERGE-SOURCE: CL 16841247 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16841262 by patrick boutot in ue5-release-engine-test branch]
2021-07-13 15:31:13 -04:00
marc audy
b285429036 "Fix" error C4003 not enough arguments for function-like macro invocation 'max'
[CODEREVIEW] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16820585 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16820586 by marc audy in ue5-release-engine-test branch]
2021-07-11 20:10:43 -04:00
marc audy
7c4efd3e97 Fix shadowing error
[CODEREVIEW] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16815985 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16816001 by marc audy in ue5-release-engine-test branch]
2021-07-08 13:14:09 -04:00
marc audy
b17ed28f8d Remove incorrectly nested deprecation pragma
[FYI] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16811718 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v836-16769935)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 16811719 by marc audy in ue5-release-engine-test branch]
2021-07-06 12:58:28 -04:00