Commit Graph

77 Commits

Author SHA1 Message Date
jorgenpt
af8a301d4a PR #8891: TokenizedMessage: Move exported symbols to .cpp (Contributed by jorgenpt)
Also used the opportunity to convert from MakeShareable to MakeShared.

#jira UE-142104
#preflight 627ec6b70f72dc21c7e13a93
#rb Steve.Robb

[CL 20223845 by jorgenpt in ue5-main branch]
2022-05-16 10:21:43 -04:00
johan berg
b44c0346eb Define log categories even in NO_LOGGING configurations.
#rb devin.doucette
#preflight 61e7e49d3f00a0a23e02ec63

#ROBOMERGE-AUTHOR: johan.berg
#ROBOMERGE-SOURCE: CL 18656252 in //UE5/Release-5.0/... via CL 18656269 via CL 18656271
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18656275 by johan berg in ue5-main branch]
2022-01-19 05:34:02 -05:00
halfdan ingvarsson
c103d87c31 Fix non-unity builds due to missing <Misc/Guid.h> include.
#jira none
#preflight trivial

#ROBOMERGE-AUTHOR: halfdan.ingvarsson
#ROBOMERGE-SOURCE: CL 18653238 in //UE5/Release-5.0/... via CL 18653252 via CL 18653270
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18653284 by halfdan ingvarsson in ue5-main branch]
2022-01-18 20:00:57 -05:00
patrick enfedaque
819bde9b19 New FActorToken for message logs that contains information to select loaded or unloaded actors
original code contributed by: The Coalition

#rb richard.malo, jeanfrancois.dube
#preflight 61e6f268b56c33b8ecef210e

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18642284 in //UE5/Release-5.0/... via CL 18642299 via CL 18642303
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18642316 by patrick enfedaque in ue5-main branch]
2022-01-18 12:54:01 -05:00
geoff evans
2d8e221bf1 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

[CL 18045343 by geoff evans in ue5-main branch]
2021-11-03 22:09:24 -04:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
Stefan Boberg
e0fb0cfce3 Added opt-in printf format string validation for logging macros (currently implemented for MSVC only)
To opt in, please define the UE_VALIDATE_FORMAT_STRINGS macro to 1

#rb steve.robb

[CL 17689137 by Stefan Boberg in ue5-main branch]
2021-10-01 04:09:22 -04:00
sara schvartzman
8f8de89f24 Fix clear page not clearing the currently viewed page in MessageLog
#jira UE-129593
#rb halfdan.ingvarsson
#preflight 615458864751730001f8eb86
#robomerge 5.0

[CL 17674725 by sara schvartzman in ue5-main branch]
2021-09-30 05:08:32 -04:00
aurel cordonnier
1ee4eed9aa Merge from Release-Engine-Test @ 17666640 to UE5/Main
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17668579 by aurel cordonnier in ue5-main branch]
2021-09-29 17:45:16 -04:00
aurel cordonnier
e3f7878676 Merge from Release-Engine-Test @ 17462327 to UE5/Main
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17463546 by aurel cordonnier in ue5-main branch]
2021-09-08 16:42:26 -04:00
sara schvartzman
2901e7ccbd Control Rig: Python commands output to different message log pages depending on the blueprint
#jira UE-119792
#rb helge.mathee

[CL 16968244 by sara schvartzman in ue5-main branch]
2021-07-27 09:58:53 -04:00
Michael Noland
6284d812b4 Fixing non-unity issue with missing include/forward decl for FString in LogVerbosity
(horde# 85342)
#rnx

[CL 16834580 by Michael Noland in ue5-main branch]
2021-07-12 22:43:15 -04:00
Michael Noland
12c4b10e37 Core: Made the verbosity of the unintialized reflected property check configurable via ini
- Issues with UObject* properties are upgraded from Warning to Error
- Other types remain the same for both engine and project modules (Display), but engine will soon change to Error as well

Settings can be overridden for either project or engine modules in DefaultEngine.ini (engine defaults are in BaseEngine.ini), e.g.,

[CoreUObject.UninitializedScriptStructMembersCheck]
EngineModuleReflectedUninitializedPropertyVerbosity=Error
ProjectModuleReflectedUninitializedPropertyVerbosity=Warning

#rb marc.audy

[CL 16826159 by Michael Noland in ue5-main branch]
2021-07-12 11:49:03 -04:00
Martin Ridgers
823c1858bd Don't trace log messages unless the Log trace channel is enabled. This was incorrectly marking specs as sent even though they weren't causing some log trace events to arrive analysis side without a format string (aka spec).
#rb jb
#rnx
#jira UE-109242

[CL 16755895 by Martin Ridgers in ue5-main branch]
2021-06-23 08:49:05 -04:00
aurel cordonnier
e0ad4e25df Merge from Release-Engine-Test @ 16624776 to UE5/Main
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
mark lintott
ebc76094e2 #jira UE-111484
#rb trvial
Removed references of UE4 in codebase
#preflight 60ae574b04188d00014f38ce

[CL 16472018 by mark lintott in ue5-main branch]
2021-05-26 13:41:01 -04:00
Martin Ridgers
d3377e2078 Ensure that preprocessor macros are expanded before calling UE_LOG()'s internal lambda. There are numerous patterns like this; UE_LOG(..., __FUNCTION__) and a recent change to UE_LOG() was causing __FUNCTION__ to be incorrectly expanded within the lambda's scope, leading to misleading/obfuscated log output.
#rb jb
#rnx

[CL 14954365 by Martin Ridgers in ue5-main branch]
2020-12-18 08:30:44 -04:00
danny couture
a494de7e28 Add UE_LOG_REF so we can call logging with a const FLogCategoryBase& as argument.
Reasonings
  1. UE_LOG keeps it's token pasting behavior to allow compile time constant evaluation and avoid any perf regression.
  2. UE_LOG_REF doesn't assume that the category can be token pasted inside the macro at the cost of an additional runtime condition evaluation
  3. UE_LOG_REF maintains the benefit from lazy argument evaluation only for enabled verbosity.
  4. UE_INTERNAL_LOG_IMPL name was used to avoid polluting UE_LOG auto-completion.

#rb JeanFrancois.Dube, Stefan.Boberg, Steve.Robb

[CL 14925864 by danny couture in ue5-main branch]
2020-12-15 07:03:44 -04:00
Martin Ridgers
321b2eb3c6 Include the instruction address where a failure (i.e. UE_LOG(fatal) or check) occurred in the FDebug::FFailureInfo.
#rb steve.robb
#rnx

[CL 14925842 by Martin Ridgers in ue5-main branch]
2020-12-15 06:58:36 -04:00
Martin Ridgers
a21adaa2aa Pass through a FFailureInfo object to FDebug::ProcessFatalError().
#rnx

[CL 14925447 by Martin Ridgers in ue5-main branch]
2020-12-15 04:17:31 -04:00
Martin Ridgers
a95e6621d8 Call lambdas through a non-inlined function. MSVC doesn't pay attention to FORCENOINLINE on macro so UE_LOG's lambdas don't achieve their purpose.
See DispatchCheckVerify for further information.

#rb jb
#rnx

[CL 14925427 by Martin Ridgers in ue5-main branch]
2020-12-15 04:10:17 -04:00
Martin Ridgers
4e0e36f16a Use the LowLevelError() in AssertMacros.h for UE_LOG(Fatal) in >= Test variants. Produces better code on the hot path because error handling is no longer inlined, and at reduces redundancy.
#rb robm
#rnx

[CL 14887384 by Martin Ridgers in ue5-main branch]
2020-12-09 07:30:29 -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
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Josh Adams
5468da4897 - Fixed UE_LOG and friends to work with SA more better
#rb steve.robb

[CL 11293343 by Josh Adams in Main branch]
2020-02-07 13:34:47 -05:00