89 Commits

Author SHA1 Message Date
ben marsh
595309196c Merging NET 8 upgrades from Main.
[CL 36755991 by ben marsh in 5.5 branch]
2024-10-01 19:12:37 -04:00
joe kirchoff
33089071ef UnralBuildTool: Fixing more analysis warnings
#rnx

[CL 35042727 by joe kirchoff in ue5-main branch]
2024-07-23 19:39:24 -04:00
joe kirchoff
29d9ecfa9c EpicGames.Shared: Resolve some editorconfig warnings and intellisense suggestions
#rnx
#rb carl.bystrom

[CL 32595931 by joe kirchoff in ue5-main branch]
2024-03-28 17:37:09 -04:00
ben marsh
8dcf28c690 Horde: Run VS code cleanup on shared libraries.
#rnx

[CL 32273291 by ben marsh in ue5-main branch]
2024-03-15 10:30:11 -04:00
ben marsh
6eb31298a9 Serialize all public properties to compact binary by default, in line with semantics for JsonSerializer.
[CL 30567695 by ben marsh in ue5-main branch]
2024-01-11 09:48:29 -05:00
ben marsh
e72ebf0d84 Remove reference to deleted type from XML comment.
[CL 30556134 by ben marsh in ue5-main branch]
2024-01-10 19:15:19 -05:00
ben marsh
eef3dc8a4d Change CbConverter to an abstract base class rather than interface.
[CL 30554418 by ben marsh in ue5-main branch]
2024-01-10 18:21:54 -05:00
ben marsh
77a0fcd024 Use CbFieldName rather than Utf8String as a parameter to CbSerializer.WriteNamed().
[CL 30547759 by ben marsh in ue5-main branch]
2024-01-10 15:44:52 -05:00
Ben Marsh
8684b930ed Remove implicit conversions from string to Utf8String. This conversion is not free, and recent versions of the MongoDB driver do not handle implicit conversions correctly at runtime.
[CL 28456358 by Ben Marsh in ue5-main branch]
2023-10-04 10:49:04 -04:00
Ben Marsh
4ac8d339f5 Horde: More static analyzer fixes.
[CL 27857368 by Ben Marsh in ue5-main branch]
2023-09-13 18:45:06 -04:00
Ben Marsh
bf85eef140 Horde: Few more static analyzer fixes.
[CL 27827798 by Ben Marsh in ue5-main branch]
2023-09-13 09:18:26 -04:00
Ben Marsh
361b4a9555 Horde: Fix some random static analyzer messages.
[CL 27827663 by Ben Marsh in ue5-main branch]
2023-09-13 09:12:25 -04:00
Ben Marsh
c80dcd77cb Fix UBT/UAT building on Windows ARM64.
#preflight 6477562f4b0d5a1eb1411fa1

[CL 25701794 by Ben Marsh in ue5-main branch]
2023-05-31 10:31:38 -04:00
Joakim Lindqvist
09c59bec33 Fixed inconsistencies between CbPackage serialization in C# and from Zen, these now write the same format. Resolves issues when using CbPackage during cook against Unreal Cloud DDC.
#preflight none

[CL 24589690 by Joakim Lindqvist in ue5-main branch]
2023-03-10 06:59:02 -05:00
Ben Marsh
320107efd8 Horde: Compute service refactor.
- Message framing changed back to use simple
- Support for multiplexing multiple requests over a single socket. Requests are tagged with an arbitrary channel id and routed to a queue for the appropriate IComputeChannel on the client.
- Clients can now request a message writer through the IComputeChannel interface, allowing pooling of write buffers for generating new messages and reducing data copies.
- Added accounting for machine resources in compute leases. Compute requests specify min/max desired resources, receive allocated resources in respoonse.
- Switched to AES-GCM for encryption. Message length is unencrypted but validated as part of the message packet.

#preflight none

[CL 24521844 by Ben Marsh in ue5-main branch]
2023-03-06 09:55:49 -05:00
Ben Marsh
f69c510598 EpicGames.Serialization: Fix writing of CB fields at the root of the output object.
* CbWriter was expecting BeginObject/BeginArray call before any fields were written, so did not handle writing fields directly to the root scope.
* Fields written at the root scope were not being flushed immediately after writing. Rest of the class assumes that any complete fields at root scope had already been accounted for in object size.

#preflight none
#fyi Joakim.Lindqvist

[CL 24520927 by Ben Marsh in ue5-main branch]
2023-03-06 09:00:40 -05:00
Ben Marsh
6fac200317 EpicGames.Serialization: Refactoring CbWriter.
* New base class (CbWriterBase) has a virtual method to allocate chunks of memory for output, while still sharing common functionality for tracking scope state.
* Data for fixing up size/offset fields is written to blocks of memory returned by the CbWriterBase allocator rather than just to the final output buffer.
* Added support for embedded externally allocated blocks of data into the output stream, correctly updating size fields of containing fields.

#preflight none
#fyi Joakim.Lindqvist

[CL 24505997 by Ben Marsh in ue5-main branch]
2023-03-03 15:37:45 -05:00
Ben Marsh
e1b1f8dbe1 Horde: CI warning fixes.
#preflight none

[CL 24375139 by Ben Marsh in ue5-main branch]
2023-02-22 21:49:01 -05:00
Ben Marsh
ea191aeda1 Horde: Rework C++ remote execution to use direct connection to initiator.
#preflight none

[CL 24372198 by Ben Marsh in ue5-main branch]
2023-02-22 18:07:45 -05:00
Ben Marsh
ad0ec47532 EpicGames.Serialization: Refactor CbWriter to be an interface with extension methods, to make it easier to iterate on less allocation-heavy methods for piecing together CB objects.
#preflight none

[CL 24365307 by Ben Marsh in ue5-main branch]
2023-02-22 13:35:58 -05:00
Ben Marsh
cf1e2acf33 Horde: Fix debugger display of CbAttachment objects.
#preflight none

[CL 24307664 by Ben Marsh in ue5-main branch]
2023-02-19 12:06:06 -05:00
Ben Marsh
3f355c04d5 UAT: Revert changes to PDB generation on ARM64 until CI errors can be fixed.
#preflight none

[CL 23179836 by Ben Marsh in ue5-main branch]
2022-11-17 13:42:19 -05:00
Ben Marsh
39cea381f3 UAT: Disable PDB generation on win-arm64. This is a known issue in NET 6 (https://github.com/dotnet/roslyn/issues/59421).
#preflight none

[CL 23179342 by Ben Marsh in ue5-main branch]
2022-11-17 13:07:09 -05:00
Ben Marsh
39c3634a64 EpicGames.Serialization: Fix static analysis warnings.
#preflight none

[CL 22315522 by Ben Marsh in ue5-main branch]
2022-10-03 17:36:19 -04:00
Ben Marsh
523e314999 Upgrade shared C# projects to NET 6.
#preflight 63373455a852bd922c5364c5

[CL 22301764 by Ben Marsh in ue5-main branch]
2022-10-03 09:44:33 -04:00