Commit Graph

207 Commits

Author SHA1 Message Date
jonathan adamczewski
a77666d21b BinaryArchive: Add support for reading and writing doubles
#jira none
#trivial

[CL 17544443 by jonathan adamczewski in ue5-main branch]
2021-09-16 17:15:11 -04:00
Ben Marsh
7f474271ff Missing file.
[CL 17526547 by Ben Marsh in ue5-main branch]
2021-09-15 16:50:38 -04:00
Ben Marsh
3b17bd92d0 Horde: Add support for the "p4 dirs" command.
This requires special handling for the native Perforce connection, since it returns information as message records that the client formats as strings through an "Error" object. To work around this, the C++ library converts such messages into stat records that are more easily parsed by C# code.

[CL 17526529 by Ben Marsh in ue5-main branch]
2021-09-15 16:49:30 -04:00
Ben Marsh
6ec2ab37c2 Horde: Add accessors for string comparison types to perform on Perforce servers, depending on settings returned by the 'info' command.
[CL 17526287 by Ben Marsh in ue5-main branch]
2021-09-15 16:37:38 -04:00
Ben Marsh
88aff39b3b Horde: Add native implementation of IPerforceConnection.
[CL 17526270 by Ben Marsh in ue5-main branch]
2021-09-15 16:36:49 -04:00
Joe Kirchoff
18fe2bc53f ManagedProcess: Remove unnecessary locks from merged stream copy when creating background threads to merge output streams
#preflight 614225ba9bba9a0001980a37
#rb Ben.Marsh
#rnx

[CL 17525066 by Joe Kirchoff in ue5-main branch]
2021-09-15 15:22:22 -04:00
Ben Marsh
cc7997b951 Horde: Unify capabilities/requirements for agents.
gRPC-style devices are no longer supported (as much as they ever were); instead, each agent supplies a flat list of properties and resources which jobs can consume. Pools can specify conditions to collect related agents together which are evaluated on the list of properties.

Dynamic pools are distinguished from explicit (user-defined) pools, and are updated on the agent along with session updates.

[CL 17486156 by Ben Marsh in ue5-main branch]
2021-09-11 12:35:22 -04:00
Ben Marsh
5a2bb6e113 Horde: Missing copyright notice.
[CL 17485927 by Ben Marsh in ue5-main branch]
2021-09-11 10:28:11 -04:00
Ben Marsh
0318e8cb19 Horde: Add compact binary and string conversion classes for condition objects, and embed them directly in agent requirements. Simplifies unification of agent specifications.
[CL 17484376 by Ben Marsh in ue5-main branch]
2021-09-10 19:05:19 -04:00
Brandon Schaefer
89fdbc9a98 Add support to maintain zip perm for Linux
#jira UE-125243
#review-17463920 @Ben.Marsh, @Jonathan.Adamczewski
#rb Ben.Marsh

[CL 17473858 by Brandon Schaefer in ue5-main branch]
2021-09-09 13:01:59 -04:00
Ben Marsh
8e42d6fdde Horde: Add support for serializing ReadOnlyMemory<> and byte arrays to reflection-based CB serializer.
[CL 17432013 by Ben Marsh in ue5-main branch]
2021-09-04 10:26:56 -04:00
jonathan adamczewski
e67f902714 AutomationTool UpdateVersionFiles:
Do not modify MetaData.cs

#jira none

[CL 17426368 by jonathan adamczewski in ue5-main branch]
2021-09-03 16:45:56 -04:00
Ben Marsh
5ea27fc47c Horde: Allow requesting objects in JSON format using a ".json" suffix on the URL. Compact binary objects will automatically be transcoded.
[CL 17409520 by Ben Marsh in ue5-main branch]
2021-09-02 17:47:31 -04:00
Ben Marsh
342edb1d81 Horde: Fixup compute API to use CbObjectAttachment/CbBinaryAttachment types where appropriate.
#fyi Joe.Kirchoff

[CL 17409049 by Ben Marsh in ue5-main branch]
2021-09-02 16:57:20 -04:00
Ben Marsh
177ad8c2ac Horde: Add compact binary request/response support to objects controller.
[CL 17405657 by Ben Marsh in ue5-main branch]
2021-09-02 13:44:25 -04:00
Ben Marsh
10333c40df Fix buffer corruption when enumerating Perforce records.
[CL 17394417 by Ben Marsh in ue5-main branch]
2021-09-01 19:24:55 -04:00
Ben Marsh
04d2ac4b2c Cap the maximum output from P4 error messages.
[CL 17393747 by Ben Marsh in ue5-main branch]
2021-09-01 18:32:45 -04:00
jonathan adamczewski
c2e6a3ce78 EpicGames.Core ManagedProcess:
On systems with multiple process groups, distribute launched processes explicitly between groups to improve overall utiliization.

#jira none

[CL 17392872 by jonathan adamczewski in ue5-main branch]
2021-09-01 17:21:43 -04:00
Ben Marsh
37aaecc551 Fix Perforce hexdump output not being capped.
[CL 17392463 by Ben Marsh in ue5-main branch]
2021-09-01 16:55:48 -04:00
Ben Marsh
5a129c2997 Horde: Add support for querying all objects underneath a given root (eg. /api/v1/objects/NS/HASH/tree). Objects are returned as a stream of compact binary object attachment fields (followed by an actual object) and binary attachment fields.
Optional request body specifies a list of objects that the client already has, and the server does not need to recurse through.

#fyi Joe.Kirchoff

[CL 17391157 by Ben Marsh in ue5-main branch]
2021-09-01 15:22:55 -04:00
Ben Marsh
0d875b2910 Horde: Add CbObjectAttachment and CbBinaryAttachment classes to reference typed data by class. We need to distinguish between the two types rather than relying solely on a hash value.
#fyi Joe.Kirchoff

[CL 17391146 by Ben Marsh in ue5-main branch]
2021-09-01 15:22:32 -04:00
Ryan Hummer
49e8935e90 Fixing Perforce Fetching user info failing.
user command must have a space after the -o before the user name, restore the space and quoting the user name

#jira none

[CL 17389981 by Ryan Hummer in ue5-main branch]
2021-09-01 13:57:32 -04:00
Ben Marsh
11dabd8bc8 EpicGames.Perforce: Fix infinite loop in CommandAsync().
[CL 17386458 by Ben Marsh in ue5-main branch]
2021-09-01 10:31:15 -04:00
Ben Marsh
501bf53ae6 EpicGames.Perforce Fix argument for -x when using child process. Delegate to the connection implementation to write arguments to a response file.
[CL 17386176 by Ben Marsh in ue5-main branch]
2021-09-01 10:06:19 -04:00
Ben Marsh
a6e48a24c1 EpicGames.Perforce: Completely fill read buffer before returning to the caller. Linux returns 64k chunks of data and requires multiple calls to fill the buffer. In situations where we want to parse very large records (such as large p4 describe results), this results in attempting to parse the buffer many times more than necessary in order to succeed.
[CL 17385591 by Ben Marsh in ue5-main branch]
2021-09-01 09:05:51 -04:00