Commit Graph

443 Commits

Author SHA1 Message Date
Ben Marsh
c53fea6302 Horde: Commit replication changes
- Fix uncapped growth of channel for stream updates.
- Prevent no-op changes unnecessarily triggering update iterations.
- Add functionality to AsyncEvent to support latching the event on, rather than just pulsing it.

#preflight none

[CL 19545492 by Ben Marsh in ue5-main branch]
2022-03-29 13:48:29 -04:00
jonathan adamczewski
5053cae2d8 Launch UnrealBuildTool via dotnet unrealbuildtool.dll, not unrealbuildtool.exe
#jira none
#rnx
#preflight 624261bdb6084b98321e9251

[CL 19544939 by jonathan adamczewski in ue5-main branch]
2022-03-29 13:20:46 -04:00
Joakim Lindqvist
4fde46798f Horde Storage - Added converter for aspnet ProblemDetails type to compact binary
#preflight none

[CL 19541620 by Joakim Lindqvist in ue5-main branch]
2022-03-29 10:08:38 -04:00
Ben Marsh
22ef1f2be7 Horde: Fix race condition in lease assignment caused by task sources which need to execute async operations before being able to determine if a lease is available.
The AssignLeaseAsync() method now returns a Task<Task<AgentLease>>. The outer task is awaited on each task source in priority order, and all inner tasks are awaited in parallell. Utility methods in TaskSourceBase (Skip/DrainAsync/Lease) exist to simplify creation of task objects to return.

#preflight none

[CL 19535087 by Ben Marsh in ue5-main branch]
2022-03-28 19:03:36 -04:00
Ben Marsh
c72605bcc7 Fix some analyzer warnings.
#preflight none

[CL 19535012 by Ben Marsh in ue5-main branch]
2022-03-28 18:54:42 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Ben Marsh
f1e04dc894 Horde: Fix incorrectly named enum members, causing syncing to return invalid records.
#preflight none

[CL 19528834 by Ben Marsh in ue5-main branch]
2022-03-28 12:18:07 -04:00
Ben Marsh
b50740d5c1 Horde: Compact binary serialization improvements.
- Fix serialization of lists, directories and arrays that are set to null.
- Throw an exception when serializing a type that does not have any explicit compact binary field attributes. This is usually an error, caused by serializing a framework type with no matching converter, but can also occur when serializing an empty base class instance. To handle these situations, the class can be marked with [CbObject] to explicitly opt-in to being valid for serialization.

#fyi Joe.Kirchoff
#preflight none

[CL 19526671 by Ben Marsh in ue5-main branch]
2022-03-28 10:11:10 -04:00
Tim Smith
0f0682ee83 Adjusted UHT table initialization in preperation for plugins.
#rb none
#rnx
#preflight 6241ac18bd063ab82296cc0a

[CL 19525715 by Tim Smith in ue5-main branch]
2022-03-28 08:54:49 -04:00
Tim Smith
4f5d1c171d Changed the collection of parsing tables and configuration to be session specific and not a singleton. This is required for plugin support.
#rb none
#rnx
#preflight 623f34e5361866e20fec8e0f

[CL 19521840 by Tim Smith in ue5-main branch]
2022-03-26 12:02:18 -04:00
Ben Marsh
508c144999 Horde: Last batch (hopefully) of static analysis fixes/suppressions.
#preflight 623e144c8073508cfc117a87

[CL 19517822 by Ben Marsh in ue5-main branch]
2022-03-25 15:35:47 -04:00
Tim Smith
63bb8b7b4b Fixed issue where UHT wasn't properly renaming the output files.
Added number of written files as an informational line.

#rb trivial
#rnx
#preflight 623dcf4b4302b204a3681279

[CL 19512496 by Tim Smith in ue5-main branch]
2022-03-25 10:33:06 -04:00
Ben Marsh
7a0ca03010 Fix test failure.
#preflight none

[CL 19511958 by Ben Marsh in ue5-main branch]
2022-03-25 10:01:43 -04:00
Ben Marsh
d9651a6f14 Horde: Fix build errors after BuildGraph refactor.
#preflight none

[CL 19511746 by Ben Marsh in ue5-main branch]
2022-03-25 09:46:16 -04:00
Tim Smith
18468119c1 Updated UHT in UBT with changes to getter/setter lookup.
Fixed comment issue at the end of function declarations.
Fixed nested include file issue.
Fixed issue with RigVM visible arguments.
Updated NoExportTypes.h to mark two structures as core types.
Fixed type check for bit fields in Getter/Setters.

#rb none
#rnx
#preflight 623daea315497b40c209e1c5

[CL 19510306 by Tim Smith in ue5-main branch]
2022-03-25 08:19:29 -04:00
Ben Marsh
5e8a45eab2 Reformat EpicGames.BuildGraph according to style guidelines.
#preflight 623cdba70a073579730cf22b

[CL 19502617 by Ben Marsh in ue5-main branch]
2022-03-24 17:05:58 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
Ben Marsh
6b226011d7 Change EpicGames.Serialization library to match standard coding style.
#preflight none

[CL 19501703 by Ben Marsh in ue5-main branch]
2022-03-24 15:56:16 -04:00
Ben Marsh
9a66487017 Reformat EpicGames.IoHash according to coding conventions.
#preflight none

[CL 19500779 by Ben Marsh in ue5-main branch]
2022-03-24 15:24:16 -04:00
Steve Robb
897dd170ab Replacement of DEPRECATED_MACRO with UE_DEPRECATED_MACRO.
#rb devin.doucette
#jira none
#preflight 623b225a7b69b01ec16118a7

[CL 19480377 by Steve Robb in ue5-main branch]
2022-03-23 12:07:25 -04:00
Tim Smith
76b3f0f74a Undo //UE5/Main/Engine/Source/Programs/... changelist 19477828
#preflight skip
#rnx

[CL 19477910 by Tim Smith in ue5-main branch]
2022-03-23 08:30:01 -04:00
Tim Smith
40be3125a0 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 623b0e64c73745c600b8e626

[CL 19477828 by Tim Smith in ue5-main branch]
2022-03-23 08:17:23 -04:00
Tim Smith
bc16dd9141 Fixing missing copyright
#rb trivial
#rnx
#preflight 623a22591302f69e9a861794

[CL 19470823 by Tim Smith in ue5-main branch]
2022-03-22 15:38:50 -04:00
Tim Smith
fd7bf66db5 Added a sample UHT exporter to dump stats.
Add the ability to disable all default exporters.

#rb trivial
#rnx
#preflight 623a1746ca34ffd7bf6f5632

[CL 19470124 by Tim Smith in ue5-main branch]
2022-03-22 14:52:46 -04:00