Commit Graph

10221 Commits

Author SHA1 Message Date
Ben Marsh
ea34b09df3 BuildGraph: Add tasks for running Git and Docker, and add support for deleting directories from <Delete> tasks.
[CL 16144334 by Ben Marsh in ue5-main branch]
2021-04-28 11:27:19 -04:00
halfdan ingvarsson
7dd6674220 Refer to the new UnrealBuilTool.exe location in the fallback path.
#jira none
#rb joakim.lindqvist
#rnx

[CL 16143345 by halfdan ingvarsson in ue5-main branch]
2021-04-28 10:09:28 -04:00
Tim Smith
e7ea9ed28b 1) Create the Function type information that provides the UHT data for functions.
2) Remove the global hash storage system since it is moved into the Function type information.
3) Remove some unsed classes and methods.
4) Added the TEMPORARY auto creation of base engine types until they can be added to the no export file.

#rb marc.audy
#rnx
#preflight 60893ddb2377910001be8638

[CL 16142341 by Tim Smith in ue5-main branch]
2021-04-28 07:34:10 -04:00
David Harvey
b2493bdc31 Only set Clang Windows target for Windows.
#jira UECON-528
#rb eric.mcdaniel
#rnx

[CL 16140861 by David Harvey in ue5-main branch]
2021-04-28 04:45:51 -04:00
Ben Marsh
ea1b647737 Fix missing copyright notices.
[CL 16136106 by Ben Marsh in ue5-main branch]
2021-04-27 23:54:12 -04:00
Ben Marsh
bc47b15e06 Merge utility library changes from GitSync.
[CL 16135807 by Ben Marsh in ue5-main branch]
2021-04-27 22:41:48 -04:00
chris caulfield
c8d4ea371f Chaos - fix headless chaos tests after disabling manifolds for level sets
- increase threshold in GeometryCollection_CollisionResolution_SimplicialTetrahedronWithNonUniformMassToFloor
- don't assume we always have a collision in GeometryCollection_Solver_CollisionEventFilter

#rb benn.gallagher,nick.whiting
#jira none

#ROBOMERGE-SOURCE: CL 16132602 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16132636 by chris caulfield in ue5-main branch]
2021-04-27 16:46:55 -04:00
Andriy Tylychko
32a2fc989e cleaning up the previous change to FThreadStats::StopThread() that caused it to be called twice, and crashing on the second call as TaskGraph was already shut down
many programs were calling FThreadStats::StopThread() and FTaskGraphInterfaces::Shutdown() explicitly despite they are called from FEngineLoop::AppExit(). Calling them twice is problematic because FThreadStats::StopThread() expects TaskGraph to be still alive. This didn't cause any visible problems before because FThreadStats::StopThread() wasn't called in AppExit().

#rb ionut.matasaru

[CL 16127968 by Andriy Tylychko in ue5-main branch]
2021-04-27 11:09:21 -04:00
ionut matasaru
a32242443e [Insights] Fixed the Unreal Insights crash caused by the stats thread and of the task graph being shutdown twice.
#rb Catalin.Dragoiu
#fyi Andriy.Tylychko

[CL 16123410 by ionut matasaru in ue5-main branch]
2021-04-27 08:36:01 -04:00
Patrick Laflamme
d6a9f2f2e9 Fixed missing PCallstack happening when the Editor has more than 256 threads and the crashing thread is not in the 256 first visited by the OS.
- Bumped the limit from 256 to 512
  - Always reserve one spot for the crashing thread in the list transmitted to CRC, possibly ignoring some thread.
  - Added diagnostic logs in CRC to captures cases where the number of thread would reach the new limit of 512 or if the crashing thread is 0.

#jira UE-114291 - Fail to capture some Editor PCallstack because a hard limit in GenericCrashContext
#rb Johan.Berg

[CL 16123400 by Patrick Laflamme in ue5-main branch]
2021-04-27 08:35:19 -04:00
Ben Marsh
42b352051a UGS: Use shell execute to open SDK files. Fixes hangs trying to launch a zip.
#rb none
#rnx

[CL 16118265 by Ben Marsh in ue5-main branch]
2021-04-26 16:18:59 -04:00
dave hunter
5a8235201a Fix 'Generate Xcode Project (UnrealEditorServices)'
This adds the ability to request permission to use apple events to control the terminal. This fixes an issue where UnrealEditorServices would not generate Xcode projects and just launch a blank terminal.

#jira UE-113120
[REVIEW] [at]will.damon
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 16117252 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16117912 by dave hunter in ue5-main branch]
2021-04-26 15:50:44 -04:00
Ben Marsh
497f931a3e Fix dependency checking for PCHs on Clang. Clang was configured to generate PCHs but not to consume them - though ultimately uses them anyway due to automatic translation of -include options.
#rb none
#jira UE-114247

[CL 16117674 by Ben Marsh in ue5-main branch]
2021-04-26 15:30:33 -04:00
ben woodhouse
e3ad811d6b Add missing file from CL 16110876
#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16110880 via CL 16110883 via CL 16110885 via CL 16110886
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16117146 by ben woodhouse in ue5-main branch]
2021-04-26 14:45:34 -04:00
ben woodhouse
d36b7af983 PerfReportTool 4.43
- Add support for >,<,>=,<= operators for metadata queries (for numerical fields)
- Use doubles for SummaryTable/SummaryTableColumn values, so we can accurately show display values (does not affect summary cache - this was already at double precision)

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16110876 via CL 16110877 via CL 16110881 via CL 16110882
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16117137 by ben woodhouse in ue5-main branch]
2021-04-26 14:44:53 -04:00
ben woodhouse
867df3f118 PerfReportTool 4.42
- Add -requireMetadata option to ignore CSVs without metadata
- Clean up help text so the lines arent too long for standard console output

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16105233 via CL 16105248 via CL 16105254 via CL 16105255
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16116861 by ben woodhouse in ue5-main branch]
2021-04-26 14:28:01 -04:00
ben woodhouse
41de178a81 PerfReportTool 4.41
- add -summaryTableCacheUseOnlyCsvID param to ignore the ReportType hash and just use the CSV ID for summaryTableCache ID entries. This is a good idea if you want these files to persist and you don't want them to be regenerated when report types change
- Add ReportType and ReportTypeID to the summaryTable ToolMetaData entries
- Use the reportType name as part of the report hash (this will invalidate existing cache files!)

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16024419 via CL 16024452 via CL 16024531 via CL 16045954
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16116846 by ben woodhouse in ue5-main branch]
2021-04-26 14:27:22 -04:00
ben woodhouse
14fb564e7e PerfReportTool 4.40
- Refactor code to avoid use of the term Metadata to refer to summary table row data. The term metadata was easily confused with CSV metadata, and in most cases, it wasn't actually metadata.
- This refactor resulted in some minor breaking changes in XML format and command line params. The affected reports and scripts have been fixed up accordingly

The following were renamed:
SummaryMetadata -> SummaryTableRowData
SummaryMetadataValue->SummaryTableElement
SummaryMetadataTable->SummaryTable
metadataKey -> summaryStatName (also affects XML)
metadataPrefix -> summaryStatNamePrefix (also affects XML)
metadataCache -> summaryTableCache
Commandline params, e.g: -metadataCache -> -summaryMetadataCache


#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16023141 via CL 16023153 via CL 16023173 via CL 16045518
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16116817 by ben woodhouse in ue5-main branch]
2021-04-26 14:25:00 -04:00
ben woodhouse
5a8d2051f7 PerfReportTool 4.34
-5x faster metadata cache only reads:
 - Only read the initial CSV metadata entries before metadata filtering (since these always appear first)
 - Skip report type determiniation in metadataonly mode (this is slow and unnecessary)
 -crash fix (don't crash if old version metadata is encountered, just skip and log)

Querying a single device profile across 31k CSVs of mixed device profiles takes 2.1s instead of 10.2s previously

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16015980 via CL 16015986 via CL 16015993 via CL 16043535
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16116807 by ben woodhouse in ue5-main branch]
2021-04-26 14:24:18 -04:00
ben woodhouse
08525cb9cf PerfReportTool 4.33
Open metadata and .bin files readonly

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16013849 via CL 16013851 via CL 16013859 via CL 16043212
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16116794 by ben woodhouse in ue5-main branch]
2021-04-26 14:22:36 -04:00
ben salem
472299ebcf Add InsufficientDevices as a specific TestResult type for Gauntlet.
#ROBOMERGE-OWNER: Ben.Woodhouse
#ROBOMERGE-AUTHOR: ben.salem
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16037939 via CL 16038037 via CL 16040838 via CL 16040843 via CL 16040847 via CL 16055143
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16115258 by ben salem in ue5-main branch]
2021-04-26 12:16:15 -04:00
Ben Marsh
285f6fdaf5 UGS: Batch up delete commands separately to sync commands. When a large number of deletes/edits are mixed under a directory tree, previous behaviour could result in deletes being stored in separate batches.
#rb none
#rnx

[CL 16113776 by Ben Marsh in ue5-main branch]
2021-04-26 09:57:40 -04:00
axel riffard
c499600848 Fix quotes preventing fastlane from being executed in Turnkey on MacOS
Disable fastlane certification check on iOS for EA Release
#jira UE-114031
#lockdown jack.porter
#rb jack.porter
[FYI] josh.adams

#ROBOMERGE-SOURCE: CL 16113746 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16113774 by axel riffard in ue5-main branch]
2021-04-26 09:57:32 -04:00
ben woodhouse
177a5c926e PerfReportTool 4.32
- Add -metadataCacheIn mode for running without CSVs
 - Use a BlockingCollection to eliminate precache threading bottleneck and simplify precache thread producer/consumer code
 - Threading still hits a performance bottleneck at around 6 threads when running metadata queries currently, and gets slower after that as more threads are added.
    - Need further work to optimize GetReportTypeXML (too much unnecessary linq) and SummaryMetadata::TryReadFromCache

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 15974021 via CL 15974024 via CL 15974028 via CL 16027282
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16112788 by ben woodhouse in ue5-main branch]
2021-04-26 06:55:45 -04:00
Brice Criswell
8ed536db28 Chaos: Constraints
Separated the idea of disabling a constraint vs. disconnecting a constraint from its particles during teardown and deletion.
- Added particle construction and destruction handshake for the suspension constraint.
- Added plumbing for DisconnectConstraint through the constraint containers and rules.
- Units tests for stressing the constraint states.

#jira FROST-2301
#rb bill.henderson
#fyi Michael.Lentine, Bill.Henderson, Brett.Miller, Chris.Cauldfield

[CL 16105147 by Brice Criswell in ue5-main branch]
2021-04-23 13:03:11 -04:00