Commit Graph

1169 Commits

Author SHA1 Message Date
daren cheng
7f18bf73d1 Fix mouse offset at non-standard resolutions.
#jira UE-117869
#rb Vincent.Gauthier
#preflight 6102e20803d30300016de6d7

[CL 16999127 by daren cheng in ue5-main branch]
2021-07-29 14:34:43 -04:00
aditya ravichandran
fad168c6e5 Updated Message Log to the new style guidelines and added a console command for testing Message Log
#okfforgithub public

#jira UETOOL-2468

#rb lauren.barnes

#preflight 60f9b6d3d3905c0001c644ff

[CL 16930439 by aditya ravichandran in ue5-main branch]
2021-07-22 16:16:57 -04:00
mark lintott
d790fa8c84 Updated DDC Widget
Added detailed resource and cache backend information.
Added new indicators for Busy, Upload, Download, LocalCache and RemoteCache
Minor modifications to StudioAnalytics to re-use the stats gathering code
#rb francis.hurteau
[FYI] jeff.farris


#ROBOMERGE-SOURCE: CL 16929122
#ROBOMERGE-BOT: (v838-16927207)

[CL 16929180 by mark lintott in ue5-main branch]
2021-07-22 15:09:44 -04:00
Patrick Boutot
6d7bd61caa Slate: Change the inner type of FChildren::FWidgetRef::WidgetReference to prevent implicit copy of the argument in unoptimized build.
#preflight 60f725e75eeb86000177f356
#fyi francis.hurteau

[CL 16907898 by Patrick Boutot in ue5-main branch]
2021-07-21 07:30:59 -04:00
Matt Kuhlenschmidt
365f760435 Fix static analysis warnings
[CL 16904113 by Matt Kuhlenschmidt in ue5-main branch]
2021-07-20 19:31:35 -04:00
Matt Kuhlenschmidt
aa0df604d3 Slate text widgets now have a "Text Overflow" argument that dicates what happens to text when it is larger than its clip rect. The two overflow methods are Clip and Ellipsis. Clip is the default and existing behavior where text is clipped per pixel. Ellipsis replaces clipped text with a "..." string to provide a more polished look when text is clipped.
Supports left and right justification and left and right text flows.

The ellipsis uses the U+2026 character or 3 dots if the font does not have U+2026. Localizers can override the text used.

Unsupported:
- Simple, non-shaped text
- Non-axis aligned clip rects.
- Center justified text

#rb jamie.dale
#preflight 0f59f9a92cf890001166d15

[CL 16898534 by Matt Kuhlenschmidt in ue5-main branch]
2021-07-20 13:19:19 -04:00
Patrick Boutot
79277260b7 Slate: Prevent access to an invalided widget after we process its child order.
#fyi aurel.cordonnier

[CL 16882761 by Patrick Boutot in ue5-main branch]
2021-07-19 08:44:12 -04:00
aurel cordonnier
bd1faed902 Temporary workaround: demoting assert to warning to unblock FastCook build tests.
#fyi Patrick.Boutot
#rnx

[CL 16878388 by aurel cordonnier in ue5-main branch]
2021-07-17 15:39:00 -04:00
Patrick Boutot
1723f65ccc Slate: Add check to see if the InvalidationWidget is still valid after a child order. Add debug command to verify that relationship between widgets parent/children.
#jira UE-119316
#rb vincent.gauthier
#preflight 60f043cacaf0590001d99ab9

[CL 16863185 by Patrick Boutot in ue5-main branch]
2021-07-15 11:51:33 -04:00
zahra nikbakht
1d79ad25dd Exclude Widget Reflector window from debugging #RB patrick.boutot #jira ue-118804
#preflight 60ef7ad8ef22fa0001b23651

[CL 16857938 by zahra nikbakht in ue5-main branch]
2021-07-14 21:22:16 -04:00
Patrick Boutot
d527990f7c Slate: Add test to verify that SlateAttribute of types float and double and finite (not NaN).
#rb vincent.gauthier

[CL 16852815 by Patrick Boutot in ue5-main branch]
2021-07-14 14:14:28 -04:00
Patrick Boutot
b9f80890bf Slate: Rename FSlateDeprecatedTAttribute to TSlateDeprecatedTAttribute to respect the coding standards.
#preflight 60ee250f19a006000128b06c

[CL 16848023 by Patrick Boutot in ue5-main branch]
2021-07-14 07:11:38 -04:00
Patrick Boutot
00309bce64 Fix shadow declaration type introduced with CL16841247
#rb none

[CL 16843042 by Patrick Boutot in ue5-main branch]
2021-07-13 17:31:57 -04:00
Patrick Boutot
f746c89481 Slate: Convert SCanvas TAttribute to TSlateAttribute.
#jira UE-109146
#preflight 60edaf36a34bf50001dd8256

[CL 16841247 by Patrick Boutot in ue5-main branch]
2021-07-13 15:30:37 -04:00
Marc Audy
b1782f0284 "Fix" error C4003 not enough arguments for function-like macro invocation 'max'
#codereview Patrick.Boutot

[CL 16820585 by Marc Audy in ue5-main branch]
2021-07-11 20:10:12 -04:00
Marc Audy
b8a1262c35 Fix shadowing error
#codereview Patrick.Boutot

[CL 16815985 by Marc Audy in ue5-main branch]
2021-07-08 13:10:26 -04:00
marc audy
ab62e74ee5 Remove incorrectly nested deprecation pragma
[FYI] Patrick.Boutot

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

[CL 16811723 by marc audy in ue5-main branch]
2021-07-06 12:59:02 -04:00
Brandon Schaefer
ae6e0ae6fc Fix issues where if WITH_SLATE_DEBUGGING is force to 0 in a debug build it fails to compile
#jira none
#rb none
#fyi Lauren.Barnes

[CL 16787974 by Brandon Schaefer in ue5-main branch]
2021-06-25 15:51:15 -04:00
Patrick Boutot
7bd1a1cd35 Fix "hides class member" compilation warnings in WidgetSlotWithAttributeSupport.h
[CL 16785657 by Patrick Boutot in ue5-main branch]
2021-06-25 13:03:22 -04:00
Patrick Boutot
94553d5b9e Slate: Add TSlateSlotAttribute, an equivalent of TSlateMemberAttribute but for FSlot. TSlateMemberAttribute only supports SWidget. Used an interface to support more types in the future. TSlateSlotAttribute are updated in the order they are declared (like TSlateMemberAttribute) and by index in the TPanelChildren array.
#jira UE-109145
#rb daren.cheng
#preflight 60d5ca630123b7000150eb46

[CL 16782896 by Patrick Boutot in ue5-main branch]
2021-06-25 09:20:32 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Steve Robb
8a8da9d696 TSharedPtr now uses std::atomic and more appropriate (more optimal) memory ordering in ESPMode::ThreadSafe mode.
#rb andriy.tylychko
#jira none

[CL 16758234 by Steve Robb in ue5-main branch]
2021-06-23 11:56:03 -04:00
Patrick Boutot
2f19029159 Slate: Remove the SlateAttribute dependency feature in favor of OnValueChanged.
#preflight 60c72c33b9446100017019b3

[CL 16659164 by Patrick Boutot in ue5-main branch]
2021-06-14 11:47:42 -04:00
Patrick Boutot
2ed0275040 Slate: Re-introduce SlateAttribute.OnValueChanged(). N.B. You are only allowed to invalidate attribute in the callback that doesn't affect the child order or the visibility of the widget.
[CL 16653867 by Patrick Boutot in ue5-main branch]
2021-06-13 10:22:57 -04:00
Patrick Boutot
aa18ef4a11 Slate: Deprecate SLATE_SUPPORTS_SLOT. SLATE_SLOT_ARGUMENT should now be use. The new macro support FSlotArguments. That let us create slot with TAttribute that can be transform into SlateAttribute.
Deprecate TAlignmentWidgetSlotMixin old declartive function. They were not invalidating the widget.
Deprecate TPanelChildren.Add and Insert function. We now use TUniquePtr, the ownership of the Slot wouldn't exist outside of the life of the slot.
#jira UE-109145
#preflight 60c262b49e139d000114edda

[CL 16639956 by Patrick Boutot in ue5-main branch]
2021-06-11 07:54:18 -04:00