Commit Graph

38 Commits

Author SHA1 Message Date
sebastian nordgren
e624bfeef0 Added Widget List to Widget Reflector, which lists all currently active widgets, grouped by creation location. This can be useful for pinpointing SWidget leaks.
This requires UE_WITH_SLATE_DEBUG_WIDGETLIST to be defined, since it makes use of the functionality in FWidgetList.

#rb francis.hurteau, patrick.boutot
#preflight 619604814f57fbea790c031f

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18234947 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18234957 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-18 04:29:32 -05:00
geoff evans
644c5ee9c1 Check GIgnoreDebugger for assert system debug break
Add command line arg to set GIgnoreDebugger
Remove GIgnoreDebugger from UE_BUILD_SHIPPING
Fix up naming convention and deprecate _DebugBreakAndPromptForRemote

=== Notes ===

Sometimes it's useful to run a process with a debugger attached, but knowing you get the same behavior as if it weren't, including how the assert system behaves

Such situations include:
* Tight timing of assert and exceptions in different threads
* When rarely reproducable ensure()s fire before or between breakpoints set in the debugger

=== Hashtags ===

#jira none
#rb steve.robb
#preflight 6182e64d924922000186366e

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18045343 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18045348 by geoff evans in ue5-release-engine-test branch]
2021-11-03 22:09:49 -04: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
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
zahra nikbakht
b6eaaccc74 Exclude Widget Reflector window from debugging #RB patrick.boutot #jira ue-118804
#preflight 60ef7ad8ef22fa0001b23651

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

[CL 16857982 by zahra nikbakht in ue5-release-engine-test branch]
2021-07-14 21:25:14 -04:00
patrick boutot
b382b6e48e Slate: Add LexToString to EInvalidateWidgetReason. Update SlateTraceFlags and ConsoleSlateDebuggerInvalidate with the newest EInvalidateWidgetReason. Add ConsoleSlateDebuggerBreak to break the application when a widget get invalidated or painted.
#rb vincent.gauthier
#preflight 609e8283423c960001e9906f

#ROBOMERGE-SOURCE: CL 16329896 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16329927 by patrick boutot in ue5-release-engine-test branch]
2021-05-14 11:08:03 -04:00
Patrick Boutot
120469e3b5 Slate: Rename "Collapsed" SlateAttribute to "AffectVisibility". It represent more the intention. If the parent is collapsed, the child SlateAttribute was not updated even if they were marked as "update when collapsed". Update the widget reflector to show the name of the SlateAttribute (only if the widget is live). Call GetRelativeLayoutScale after the attribute are updated.
#preflight 60801fe317b40800013076ce

[CL 16072465 by Patrick Boutot in ue5-main branch]
2021-04-21 09:41:28 -04:00
Patrick Boutot
fb3d85f625 Fix build. Missing file from CL15929257
#rnx

[CL 15929724 by Patrick Boutot in ue5-main branch]
2021-04-06 09:40:42 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Patrick Boutot
b0185fbd0b Slate: Add SlateAttribute info to the Slate.Debug.LogAllWidgets command.
[CL 15472736 by Patrick Boutot in ue5-main branch]
2021-02-19 12:41:09 -04:00
Vincent Gauthier
219ef73815 CVar Documentation corrections
#jira UEDOC-14440
#rb trivial
#rnx

[CL 15349622 by Vincent Gauthier in ue5-main branch]
2021-02-06 12:41:58 -04:00
Patrick Boutot
45c10aaa90 Slate: Fix build issue with WigetList
#jira UE-104788
#rnx
#rb none

[CL 14954926 by Patrick Boutot in ue5-main branch]
2020-12-18 11:50:32 -04:00
Patrick Boutot
2f6348b707 Slate: Update WidgetList with FParse::Bool.
#rnx

[CL 14954282 by Patrick Boutot in ue5-main branch]
2020-12-18 07:28:31 -04:00
Patrick Boutot
32bad4cd65 Reduce size of SWidget by 14% by moving data that is not used often to MetaData. Deprecate SWidget::Cursor, you should now use SetCursor or GetCursor.
#jira none
#rb matt.kuhlenschmidt

[CL 14803645 by Patrick Boutot in ue5-main branch]
2020-11-21 06:26:26 -04:00
Patrick Boutot
c8b2ae9472 Slate: Add SlateInvalidationWidgetList a container, similar to a paged array, that can update the fast path list faster. It uses 2 indexes instead of one. It only rebuilds the elements that are affected by the update. Use FSlateInvalidationWidgetIndex and FSlateInvalidationWidgetSortIndex. FWidgetProxy is currently used but will be phase out soon to remove duplication and improve performance.
#jira UE-99527, UETOOL-2349

[CL 14795597 by Patrick Boutot in ue5-main branch]
2020-11-20 08:38:28 -04:00
Patrick Boutot
1c99db1521 Fix some inplicit conversation in Slate code.
#jira UE-88354

[CL 14601427 by Patrick Boutot in ue5-main branch]
2020-10-28 14:08:51 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
nick darnell
319b1819f9 Slate - Adding additional SlateDebugger information for when the cursor changes, and who changes it.
#ROBOMERGE-SOURCE: CL 12189769 via CL 12190844 via CL 12196422
#ROBOMERGE-BOT: (v662-12191386)

[CL 12196756 by nick darnell in Main branch]
2020-03-16 09:03:39 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
nick darnell
e471539670 Slate - The CSV Profiler define shouldn't have been behind with slate debugging.
#ROBOMERGE-SOURCE: CL 10766154 via CL 10768306 via CL 10768497 via CL 10771162 via CL 10771289
#ROBOMERGE-BOT: (v610-10636431)

[CL 10771496 by nick darnell in Main branch]
2019-12-17 14:59:00 -05:00
nick darnell
c952331400 Slate - Adding CSV profiling timers and counters to some key areas in Slate for performance reports. Also adding an event that fires when something invalidates more than a command line parameter level of parents, currently set to 5. I think I want it to be smarter though, some way to marking certain widgets as generating events when they're invalidated.
Andrew Ladenberger, Matt Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10763959 via CL 10763980 via CL 10763994 via CL 10764091 via CL 10764149
#ROBOMERGE-BOT: (v610-10636431)

[CL 10764216 by nick darnell in Main branch]
2019-12-17 11:07:46 -05:00
dan hertzka
b196058dd5 Moving everything based on FUserAndPointer in FSlateApplication over into FSlateUser directly
- Secondary users now have a faux cursor to control
- Slate now supports per-user tooltips and drag-drop operations
- FSlateUsers are now accessible from outside of FSlateApplication
- Internally enforcing validity of the UserIndex associated with input events within GetOrCreateUser/RegisterNewUser
- ForEachUser provides an FSlateUser& now
- Added the SLATE_SCOPE macro to allow public access to class elements from within the slate module only (external modules see them as protected)

[REVIEW] [at]Nick.Darnell, [at]Nick.Atamas, [at]Matt.Kuhlenschmidt, [at]Chris.Gagnon, [at]Cody.Albert
#rb Nick.Darnell


#ROBOMERGE-SOURCE: CL 8494217 via CL 8501221
#ROBOMERGE-BOT: (v406-8472469)

[CL 8502630 by dan hertzka in Main branch]
2019-09-05 04:38:52 -04:00