Commit Graph

147 Commits

Author SHA1 Message Date
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
dave belanger
9c6dac69b2 Code only cvar to hide console command
#rb Rex.Hill
#preflight 63d59cd631334253e56ad42d

[CL 23919190 by dave belanger in ue5-main branch]
2023-01-30 19:23:36 -05:00
francis hurteau
239f9e142c Truncation warning fixes for multiple core modules:
Analytics, AnalyticsET, Cbor, Serialization, XMLParser, DerivedDataEditor, DirectoryWatcher, LogVisualizer, OutputLog, InputCore

#jira UE-166274
#rb Devin.Doucette
#preflight 63c01436d862fdd347e2dd74

[CL 23664694 by francis hurteau in ue5-main branch]
2023-01-12 11:57:28 -05:00
daren cheng
18bd138fa8 Add Locks to SOutputLog to prevent read / write race condition crashes.
#jira UE-171308
#preflight 63928172c709c72756ef82e0
#rb Sebastian.Nordgren
#lockdown jeanmichel.dignard

[CL 23466952 by daren cheng in ue5-main branch]
2022-12-09 14:17:30 -05:00
daren cheng
f810d2c9b8 Speculative fix crash when packaging due to logging.
#jira UE-163994, UE-166147, UE-162995
#rb Patrick.Boutot
#preflight 6345c6cbcc615cdcf718993d
#lockdown jeanmichel.dignard

[CL 22513035 by daren cheng in ue5-main branch]
2022-10-13 17:42:11 -04:00
yohann dossantos
59b5769eca -Text font size changes in Text Box (Multy-Line) widget applies only after moving the text widget
It was the initial bug, but while looking at it, I noticed that the MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.
In order to fix the underlying issue (in addition to fix the initial bug), I removed the Font from FEditableTextBoxStyle, and moved the FTextBlockStyle from MultilineEditableTextBox to FEditableTextBoxStyle.
It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the text block style is now embedded in the editable text box style, it cannot be initialized the exact same way, and I had to do some changes to ensure there was no regression, by configuring various FEditableTextBoxStyle in some style files. I also change the default value for TextBlockStyle to better match our default theme.

-Default font is not set for text widgets.
EditableWidget: ensure to have a default font, and to set the style when calling SynchronizeProperties to ensure it reacts directly without having to force a refresh (by moving the widget for instance)

Bonus:
-Move to cpp some private methods that where 'forced' inline (and we were using function pointer on them). It will avoid some noise in public interface and speed up iteration / compile time when playing with them.

#jira UE-96464
#jira UE-137126

[RN] MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.The Font from FEditableTextBoxStyle has been removed, and the FTextBlockStyle moved from MultilineEditableTextBox to FEditableTextBoxStyle. It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the FTextBlockStyle is now embedded in the FEditableTextBoxStyle, it cannot be initialized the exact same way, and you can now configure the FTextBlockStyle of FEditableTextBoxStyle when creating one from scratch, by calling SetTextStyle on it.


Test
- created a Widget blueprint with different editable types combination: multiline or single line, box or no box.
    -Validated that everything was reacting live as expected now.
    -Created a blue print to set the text style and validated it was working.
    -Create data with old version, then open it with updated version to validate that the visual was still the same and deprecation of style working as expected.
-checked different places in the editor using variation of editable text to ensure they were behaving as before (detail view, console command entry, comment on blueprint node).
#preflight 63344b9f110bb3721ef8aa77

[CL 22232366 by yohann dossantos in ue5-main branch]
2022-09-28 17:59:29 -04:00
Brandon Schaefer
3e98eb1e5e Prevent trying to remove output device while in a signal handling from this callback which is no longer logging during a crash anymore
#jira UE-149024
#rb Devin.Doucette
#preflight none

[CL 22144985 by Brandon Schaefer in ue5-main branch]
2022-09-22 17:08:12 -04:00
Wojciech Krywult
036b741e80 Editor: DeviceOutputLog: Ensured the right destrubtion order between ITargetDeviceOutput and its owning SDeviceOutputLog.
Previously, ITargetDeviceOutput was automatically destroyed as part of destruction of SDeviceOutputLog. It means that if ITargetDeviceOutput tried to deference the owner during its own destruction it could potentially dereference members that have already been destroyed.

Resolved by manually clearing CurrentDeviceOutputPtr which triggers destruction of ITargetDeviceOutput a bit sooner when all the owners members are still valid.

#preflight 6329d973a236a029ded37af3
#rb David.Harvey
#rnx

[CL 22115300 by Wojciech Krywult in ue5-main branch]
2022-09-21 12:26:23 -04:00
bryan sefcik
010300bcc6 Possible compile fix for OutputLog found on the release line.
#jira
#preflight 631e854acb1bdb7ecb5ac3c6

[CL 21960633 by bryan sefcik in ue5-main branch]
2022-09-11 23:22:42 -04:00
bryan sefcik
a3dddc6630 Pass 1 on Developer include fixes:
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 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00
karen jirak
300a63e8c4 Altering SOutputLog.cpp to fix compilation issues
#jira UE-161677, UE-161693
#rb Aditya.Ravichandran
#preflight 6304f8885366f61a426d2a7b

[CL 21513298 by karen jirak in ue5-main branch]
2022-08-23 13:36:31 -04:00
karen jirak
556048b32e Added new methods to SOutputLog.h and SOutputLog.cpp to create a new timestamp menu item in the output log settings menu.
#jira UE-160689
#preflight 6303f71c03520e063ca06c88

[CL 21495056 by karen jirak in ue5-main branch]
2022-08-22 17:49:55 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
lina lam
82ae71bfdd [Backout] - CL20985288
#fyi aurel.cordonnier
#rb marc.audy
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL20972352
#fyi lina.lam
Original CL Desc
-----------------------------------------------------------------
Added a new function FocusOutputLog that determines whether to open an output log tab or output log drawer. Fixed focus issue that made drawers close immediately when focus change is window activated.

#jira UE-130893 - Selecting "Show Output Log" in packaging toasts opens a standalone Output Log instead of the Output Log drawer on the Status Bar
#preflight 62c5e139b47aed4cf11621fc
#rb editor-ux

[CL 21041671 by lina lam in ue5-main branch]
2022-07-11 12:04:12 -04:00
aurel cordonnier
173a055b00 [Backout] - CL20972352
#fyi lina.lam
Original CL Desc
-----------------------------------------------------------------
Added a new function FocusOutputLog that determines whether to open an output log tab or output log drawer. Fixed focus issue that made drawers close immediately when focus change is window activated.

#jira UE-130893 - Selecting "Show Output Log" in packaging toasts opens a standalone Output Log instead of the Output Log drawer on the Status Bar
#preflight 62c5e139b47aed4cf11621fc
#rb editor-ux

[CL 20985288 by aurel cordonnier in ue5-main branch]
2022-07-07 12:14:43 -04:00
lina lam
3b9415d9db Added a new function FocusOutputLog that determines whether to open an output log tab or output log drawer. Fixed focus issue that made drawers close immediately when focus change is window activated.
#jira UE-130893 - Selecting "Show Output Log" in packaging toasts opens a standalone Output Log instead of the Output Log drawer on the Status Bar
#preflight 62c5e139b47aed4cf11621fc
#rb editor-ux

[CL 20972352 by lina lam in ue5-main branch]
2022-07-06 16:02:58 -04:00