Commit Graph

68 Commits

Author SHA1 Message Date
Jamie Dale
d0f7b3060f Only include disaster recovery session data in crash reports when asked to upload log files
#fyi Patrick.Laflamme
#rb Patrick.Laflamme
#rnx

[CL 9489700 by Jamie Dale in Main branch]
2019-10-09 12:39:19 -04:00
Jamie Dale
80769d305f Gather CrashReportClient into the Engine LocRes
#jira UE-80470
#fyi Michelle.Zhao, Yali.He
#rb none
#rnx

[CL 9474225 by Jamie Dale in Main branch]
2019-10-08 11:37:02 -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
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -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
brandon schaefer
9b6f8a27ec Always send the Pre/Post analytic payload when crashing if enabled
Fix an issue where FCrashReportClient would not call its dtor due to being held by SCrashReportClient

#jira UE-75354
[CODEREVIEW] Arciel.Rekman
[at]Arciel.Rekman
#rb Arciel.Rekman

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 7675363 in //UE4/Release-4.23/... via CL 7675365
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7802542 by brandon schaefer in Dev-Build branch]
2019-08-06 12:13:51 -04:00
Ben Marsh
adaaeff8d7 UBT: Rename the bOutputPublicallyDistributable setting to reduce confusion. Now called ModuleRules.bLegalToDistributeObjectCode and TargetRules.bLegalToDistributeBinary.
#rb none
#rnx

[CL 7651516 by Ben Marsh in Dev-Build branch]
2019-07-29 15:00:54 -04:00
ben marsh
11f022162f Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) [at] 6944469
#rb none
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 6944849 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7089689 by ben marsh in Dev-Build branch]
2019-06-19 08:52:32 -04:00
brandon schaefer
b0f9513623 Use the CRC to pop a message up not in crash reporting code
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 6854205 via CL 6854208 via CL 6854668 via CL 6854718
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v366-6836689)

[CL 6916096 by brandon schaefer in Dev-Build branch]
2019-06-10 15:50:15 -04:00
Josh Adams
1e4b186150 - Big update to platforms: PlatformExtensions
- This allows for Confidential platforms to exist outside of the engine, and insert themselves in as needed
- Directory structure is, where .... mirrors the directory structure for Engine and projects
     - /Platforms/XXX/....
- Moving to more data driven approach for ShaderPlatforms and PlatformInfo, where they can be read from DataDrivenPlatformInfo.ini files that live in the platform config folders
- Removed platform mentions from UBT, by way of changing some enums to partial classes with static members (see UnrealTargetPlatform)
- Various other UBT/UAT modifications to allow for looking in other locations for files
- THIS IS NOT A COMPLETE AND FINAL SOLUTION. WE WILL CONTINUE WORK IN DEV-BUILD BEFORE ITS READY FOR PRIMETIME
#rb ben.marsh

[CL 6271418 by Josh Adams in Dev-Build branch]
2019-05-03 08:03:23 -04:00
peter sauerbrei
b4bd6b75dd Add crash reporting to IOS.
Remove old CrashReportHelper
Move files dealing with crash upload and reporting to Runtime/CrashReportCore from CrashReportClient
Addition of CrashReporter Plugin in Fortnite for use with IOS
#rb brandon.schaefer, chris.bunner

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 5814730 via CL 5814731 via CL 5814748 via CL 5817030 via CL 5817031
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5847894 by peter sauerbrei in Dev-Build branch]
2019-04-12 13:17:14 -04:00
chris bunner
fd6d1a0103 Exposing CrashType and EngineData to the CRC analytic event.
#rb Wes.Hunt

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: chris.bunner
#ROBOMERGE-SOURCE: CL 5810111 via CL 5810112 via CL 5810369 via CL 5813350 via CL 5813469
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5843141 by chris bunner in Dev-Build branch]
2019-04-12 13:02:29 -04:00
peter sauerbrei
cde7b8d738 Add crash reporting to IOS.
Remove old CrashReportHelper
Move files dealing with crash upload and reporting to Runtime/CrashReportCore from CrashReportClient
Addition of CrashReporter Plugin in Fortnite for use with IOS
#rb brandon.schaefer, chris.bunner


#ROBOMERGE-OWNER: peter.sauerbrei
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 5814730 via CL 5814731 via CL 5814748 via CL 5817030

[CL 5817031 by peter sauerbrei in Main branch]
2019-04-09 21:27:26 -04:00
chris bunner
87ed339f6b Exposing CrashType and EngineData to the CRC analytic event.
#rb Wes.Hunt


#ROBOMERGE-SOURCE: CL 5810111 via CL 5810112 via CL 5810369 via CL 5813350

[CL 5813469 by chris bunner in Main branch]
2019-04-09 17:09:00 -04:00
ben marsh
62b3c64b61 Workaround for corrupt minidumps on Windows 10 v1709. Bundle a working version of dbghelp.dll with the application, and attempt load it at startup before loading the system version. Disabled for any targets using CrashDebugHelper, which depends on a matching version of dbgeng.dll (which we can't distribute).
#rb none
#jira UE-70207

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5284948 in //UE4/Release-4.22/... via CL 5284959
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5286763 by ben marsh in Dev-Build branch]
2019-03-04 13:02:18 -05:00
ben marsh
70d1afb555 Workaround for corrupt minidumps on Windows 10 v1709. Bundle a working version of dbghelp.dll with the application, and attempt load it at startup before loading the system version. Disabled for any targets using CrashDebugHelper, which depends on a matching version of dbgeng.dll (which we can't distribute).
#rb none
#jira UE-70207

#ROBOMERGE-SOURCE: CL 5284948 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5284959 by ben marsh in Main branch]
2019-03-04 11:35:49 -05:00
Ben Marsh
dece8de2d2 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5095547 by Ben Marsh in Dev-Build branch]
2019-02-20 15:06:37 -05:00
ben marsh
1136069ecb Allow games to pass arbitrary key/value pairs via crash reports.
Calling FGenericCrashContext::AddGameData(TEXT("Foo"), TEXT("Bar")) will add a key/value, which will also be sent as an analytics event from CrashReportClient (with the key name "GameData.Foo").

#rb none
[FYI] Wes.Hunt, Bob.Tellez


#ROBOMERGE-SOURCE: CL 4986525 via CL 4987702

[CL 4993491 by ben marsh in Main branch]
2019-02-14 09:50:39 -05:00
Ben Marsh
a3e87004d6 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4783611 by Ben Marsh in Dev-Build branch]
2019-01-23 10:59:53 -05:00
Robert Manuszewski
559a25e622 Copying //UE4/Dev-Core @ 4771952 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4772220 by Robert Manuszewski in Main branch]
2019-01-22 15:45:34 -05:00
Ben Marsh
88aa45c01f CrashReportClient: Grey out the option to opt-out of being contacted for internal engine builds.
#rb none
#jira UE-68745

[CL 4758106 by Ben Marsh in Main branch]
2019-01-18 21:16:04 -05:00
James Hopkin
a9f7efc154 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 4718806

[CL 4732416 by James Hopkin in Dev-Core branch]
2019-01-16 10:11:46 -05:00
Robert Manuszewski
cfa01c09c7 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4731457 by Robert Manuszewski in Dev-Core branch]
2019-01-16 04:23:12 -05:00
Ben Marsh
a22b952aa9 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 4718806 by Ben Marsh in Main branch]
2019-01-14 12:11:24 -05:00
Ben Marsh
129aac0526 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4706788 by Ben Marsh in Dev-Build branch]
2019-01-10 20:03:35 -05:00