162 Commits

Author SHA1 Message Date
jonathan bard
f4579dc1d9 Added console command tooltips when displaying the history
Also, for the console command text box, there is now a tooltip for the command currently being typed (if it's valid), which also displays the current value for CVars (to avoid typing the variable without parameter, switch to the log window to peak at the current value and back to the console command to enter a new value)
Also added tooltips forcefields for both the edit text box and the suggestion list view

#jira none
#rb Josh.Adams

[CL 35825261 by jonathan bard in ue5-main branch]
2024-08-27 10:45:06 -04:00
josh adams
fb3a9b88d7 - Added support to OutputLog to only have the TargetDevice functionality if DeveloperTools are included in the target (so programs can use it without needing to pull in the whole mess that is TargetPlatform)
#rb Brandon.Schaefer, David.Harvey

[CL 34683489 by josh adams in ue5-main branch]
2024-06-26 14:10:36 -04:00
jason walter
5910e9923a Add arguments to SOutputLog to control limiting the output log by the number of lines. This is opt-in and depends on the console variable OutputLogModule.LimitLogging=true to enable in the right click menu of the output window. By default the value is off and SwitchboardListener is the only app that enables the feature currently.
#jira UE-218467

[CL 34674626 by jason walter in ue5-main branch]
2024-06-26 10:11:09 -04:00
Tonetfal
b5ab2fd4de PR #11813: Output log filtering controls
* Add shift modifier to skip setting the All Categories filter of the OutputLog

#rb logan.buchy
#jira UE-213468

[CL 33500475 by Tonetfal in ue5-main branch]
2024-05-07 18:45:22 -04:00
ross smith2
c55926f6b1 Fix category filtering in the Output Log when the "Show All" checkbox is enabled
FOutputLogFilter::IsMessageAllowed no longer includes the state of the "Show All" checkbox (bShowAllCategories) in the filtering logic; this restores the filtering logic wrt "Show All" to as it was prior to changelist 25554621 ( it preserves the addition of IgnoreFilterVerbosities from 25554621 ).

FOutputLogTextLayoutMarshaller::GetCategoryForLocation now extracts the category from the TextLayout.  The previous implementation was broken in the case of any applied filters because it was based on the unfiltered Messages array.

#jira UE-198158
#rb brooke.hubert, logan.buchy

[CL 33370898 by ross smith2 in ue5-main branch]
2024-05-01 08:53:40 -04:00
patrick boutot
a2b5613488 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 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
ben hoffman
29f76431e7 Editor | Make it possible to listen when the Status Bar Output Log is cleared
The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.

NOTE: This is a resubmit of a fairly old CL that got backed out due to issues with compiling on clang. I have altered the problematic code to make it compile.

#rb sebastian.arleryd, aditya.ravichandran
#jira none

Note: The PF is actually to make submit tool work but actually its 6622a95a37485b66bb46449f, submit tool is failing because its from a different stream.

#ushell-cherrypick of 32932719 by gabriel.wreczycki

[CL 33109990 by ben hoffman in ue5-main branch]
2024-04-19 14:08:43 -04:00
wouter dek
a315d156dd Add tooltip with cvar help text to console suggestions
#rb Patrick.Boutot

[CL 32929328 by wouter dek in ue5-main branch]
2024-04-12 10:34:14 -04:00
david harvey
79752fe11f [trivial] set a default LogFontSize for OutputLog
- code default size of 0 was only overridden if BaseEditorPerProjectUserSettings.ini existed which isn't the case for staged Programs

#rnx
#rb david.harvey

[CL 32248258 by david harvey in ue5-main branch]
2024-03-14 12:25:33 -04:00
florin pascu
937a75b1c3 Fix QuickLaunch Android
#jira UE-205200
#rb Chris.Babcock, Jack.Porter

[CL 31082732 by florin pascu in ue5-main branch]
2024-02-01 06:25:59 -05:00
florin pascu
367836ea48 First part of TargetPlatform(TP) refactor into TargetPlatformSettings(TPS) and TargetPlatformControls(TPC)
TPS doesn't need SDK and will be used to get info about the platform
TPC requires SDK
AndroidTP has been converted to the new system
#jira UE-200883
#rb Jack.Porter

[CL 30963885 by florin pascu in ue5-main branch]
2024-01-29 04:50:19 -05:00
ben hoffman
0c2ceb7981 Add support for manual auto-complete commands in the Output Log console
#rb Patrick.Boutot, aditya.ravichandran
#jira none

#ushell-cherrypick of 30885232 by kristof.morva1

[CL 30939858 by ben hoffman in ue5-main branch]
2024-01-26 16:00:39 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
zach brockway
1a72acf10d Output Log: Refactor Settings dropdown menu to use UToolMenu to enable customization.
#jira UE-200067
#rb Dominik.Peacock, jason.walter

[CL 30674888 by zach brockway in ue5-main branch]
2024-01-17 18:48:52 -05:00
jorgenpt
362478921a PR #11324: Fix the "Clear on PIE" option no longer appearing
#jira UE-203880

[CL 30618638 by jorgenpt in ue5-main branch]
2024-01-15 09:49:00 -05:00
ben hoffman
214d5e2b07 [Backout] - CL28802239
#fyi ben.hoffman
Original CL Desc
-----------------------------------------------------------------
Editor | Make it possible to listen when the Status Bar Output Log is cleared

The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.

#rb sebastian.arleryd

#ushell-cherrypick of 28707029 by gabriel.wreczycki

[CL 28823870 by ben hoffman in ue5-main branch]
2023-10-16 19:00:07 -04:00
ben hoffman
37e9a074bb Editor | Make it possible to listen when the Status Bar Output Log is cleared
The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.

#rb sebastian.arleryd

#ushell-cherrypick of 28707029 by gabriel.wreczycki

[CL 28802239 by ben hoffman in ue5-main branch]
2023-10-16 12:27:30 -04:00
francis hurteau
20279e0831 Truncation warning fixes for output log
#jira UE-166274
#rb Devin.Doucette

[CL 26780626 by francis hurteau in ue5-main branch]
2023-08-02 14:14:55 -04:00
jonathan bard
7a170c9f24 A couple of adjustments to console input :
* Closed the suggestion box when using the keyboard shortcut (tilde key, usually) to switch between status bar console input to output log console input
* Auto-adjusted the editable text box size so that we better see the content for long console commands

#rb sebastian.arleryd
#preflight 647715d80848b7126daffd3f

[CL 25700377 by jonathan bard in ue5-main branch]
2023-05-31 09:09:27 -04:00
scott nelson
4062891c40 Restore Show All performing select/unselect all functionality to SOuptutLog
#preflight skipped

[CL 25593258 by scott nelson in ue5-main branch]
2023-05-23 18:34:03 -04:00
scott nelson
8d2de2be53 Add ability for different verbosities in OutputLog to ignore Category Filter and always display
#rb Rex.Hill
[FYI] Dave.Belanger
#preflight 64669bfbc571db717b2b209a

[CL 25555678 by scott nelson in ue5-main branch]
2023-05-19 21:31:58 -04:00
Steve Robb
4ca123d256 Made FBufferedLine movable.
#rb devin.doucette
#jira none
#preflight 645a56df6534a4f504337292

[CL 25400707 by Steve Robb in ue5-main branch]
2023-05-10 04:45:22 -04:00
aaron eady
3583ca2a80 #JIRA UE-157022
OutputLogModule (clear on pie);

Fixing the clear on pie checkbox to work by putting in the correct path.

-- Code --
OutputLogModule:
FOutputLogModule::ClearOnPIE() - Changed the path from UnrealEd.EditorPerProjectUserSettings to OutputLog.OutputLogSettings when getting the bool.

#rb lauren.barnes
[REVIEW] [at]guillaume.morreel
#tests PIE, made sure the output log cleared.

[CL 24811058 by aaron eady in ue5-main branch]
2023-03-27 18:30:23 -04:00
Matt Peters
04cfca73af SOutputLog: remove no-longer-needed deregistration now that we have removed the registration.
#rnx
#rb Brandon.Schaefer
#preflight 64191bd95d3e25354f2f36d8

[CL 24730293 by Matt Peters in ue5-main branch]
2023-03-21 08:06:19 -04:00
scott nelson
612548c4b8 Add a caching mechanism to OutputLogModule to persist per session filter settings when the OutputLog is closed then reopened
#rb Dave.Belanger
#preflight 63ed92d0e558a2dbb2aea0ff

[CL 24267552 by scott nelson in ue5-main branch]
2023-02-16 15:40:54 -05:00