Commit Graph

66 Commits

Author SHA1 Message Date
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
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05: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
martin ridgers
9911e72aa6 Reducing stack size usage by LogTrace in debug builds
[fyi] CarlMagnus.Nordin
#rb Steve.Robb
#jira

(ushell-p4-cherrypick of 9630599 by Robert.Manuszewski)

#ROBOMERGE-SOURCE: CL 9730774 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v539-9700858)

[CL 9730775 by martin ridgers in Main branch]
2019-10-21 06:00:25 -04:00
martin ridgers
231920f0f8 Fixed merge errors when Dev-RenPlatStage copied up to Main.
#rb cm
#jira none
#rnx

(ushell-p4-cherrypick of 9631298 by Martin.Ridgers)
(ushell-p4-cherrypick of 9631305 by Martin.Ridgers)
(ushell-p4-cherrypick of 9631347 by Martin.Ridgers)

#ROBOMERGE-SOURCE: CL 9676333 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v536-9675740)

[CL 9676335 by martin ridgers in Main branch]
2019-10-18 04:56:34 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
JeanMichel Dignard
d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Nick Shin
3526d16d5e merge/copyup to parent stream - HTML5 platform extension
#jira UEMOB-482  HTML5 platform as a plug in
#rb josh.adams
#rn

[CL 9306021 by Nick Shin in Dev-Build branch]
2019-09-30 15:13:56 -04:00
ben marsh
01693340ca Enable LOGTRACE for Linux
#rb none
#jira UE-79600
#rnx

#ROBOMERGE-SOURCE: CL 8654640 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v414-8654207)

[CL 8654644 by ben marsh in Main branch]
2019-09-12 09:09:11 -04:00
Josh Markiewicz
d79515867d Copying //UE4/Dev-Online to Dev-Main (//UE4/Dev-Main)
- Up to CL8320930 from DevOnline and 8311605 Merge Down from Main
- skipped some Fortnite content/plugins/code where it tried to reintegrate files that had been moved pending investigation
#rb none

[CL 8321295 by Josh Markiewicz in Main branch]
2019-08-26 18:35:22 -04:00