Commit Graph

126 Commits

Author SHA1 Message Date
Ben Marsh
88e31bfdd4 UGS: Fix the informational version string not being used to configure the P4 connection.
#preflight none

[CL 23144315 by Ben Marsh in ue5-main branch]
2022-11-15 17:24:55 -05:00
Ben Marsh
6e33a49c92 EpicGames.Perforce: Fix malformed format string in exception message.
#preflight none

[CL 23103446 by Ben Marsh in ue5-main branch]
2022-11-11 15:00:58 -05:00
Ben Marsh
9cb62b5555 Horde: Additional logging for creating/disposing of Perforce connections.
#preflight none

[CL 22741136 by Ben Marsh in ue5-main branch]
2022-10-24 19:19:05 -04:00
Ben Marsh
8d68464985 EpicGames.Perforce: Use the assembly InformationalVersion attribute to determine the default version number for Perforce commands. Also allow overriding the default values via global settings.
#preflight none

[CL 22613784 by Ben Marsh in ue5-main branch]
2022-10-18 19:11:29 -04:00
Ben Marsh
a24e48fa97 Horde: Remove the remaining boolean variable names with a 'b' prefix.
#preflight none

[CL 22600647 by Ben Marsh in ue5-main branch]
2022-10-18 11:08:00 -04:00
Ben Marsh
56d8b095ad Disable native Perforce library on Windows 11 ARM. P4.EXE runs under emulation, but in-proc library fails to load (naturally).
#preflight none

[CL 22438430 by Ben Marsh in ue5-main branch]
2022-10-10 16:15:40 -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
Ben Marsh
1a73f3465a EpicGames.Perforce: Fix warnings compiling against NET 6 SDK.
#preflight none

[CL 22274881 by Ben Marsh in ue5-main branch]
2022-09-30 13:48:24 -04:00
Ben Marsh
5a3173bbe3 EpicGames.Perforce: Add support for "p4 sizes" command. #9584
#jira UE-164680
#preflight none

[CL 22222365 by Ben Marsh in ue5-main branch]
2022-09-28 10:47:54 -04:00
Ben Marsh
83180e089d EpicGames.Perforce: Fix incorrect path copying native PDB to output directory.
#preflight none

[CL 22180965 by Ben Marsh in ue5-main branch]
2022-09-26 09:18:01 -04:00
zack neyland
a4e34fd975 Adds more paths for finding the p4 binary on Mac and Linux, specifically the location as to where Homebrew puts p4.
#rb Josh.Adams
#jira none
#preflight none

[CL 21997845 by zack neyland in ue5-main branch]
2022-09-13 21:51:08 -04:00
Ben Marsh
e4720da1bf EpicGames.Perforce: Fix invalid changelist number being returned when submitting a non-shelved changelist.
#preflight none

[CL 21978102 by Ben Marsh in ue5-main branch]
2022-09-12 21:44:33 -04:00
Ben Marsh
b51ee11618 UGS: Fix exception when querying current stream from a non-stream workspace.
#preflight none

[CL 21969077 by Ben Marsh in ue5-main branch]
2022-09-12 14:07:43 -04:00
Ben Marsh
44286a5bf7 Horde: Fix errors being ignored when submitting changelists, and incorrect changelist number being returned.
#preflight none

[CL 21967470 by Ben Marsh in ue5-main branch]
2022-09-12 12:45:59 -04:00
Ben Marsh
f98b6dcb90 Horde: Change to the correct host when impersonating a user.
#preflight none

[CL 21958769 by Ben Marsh in ue5-main branch]
2022-09-11 11:09:49 -04:00
Ben Marsh
1c97f4644b Horde: Few more tweaks to Perforce logging.
#preflight none

[CL 21949892 by Ben Marsh in ue5-main branch]
2022-09-10 13:24:59 -04:00
Ben Marsh
d04863c0c3 Horde: Enable trace logging for PerforceService. Also add support for configuring console log output level.
#preflight none

[CL 21949339 by Ben Marsh in ue5-main branch]
2022-09-10 12:56:25 -04:00
Ben Marsh
b8235f49f8 Horde: Improve performance of querying large numbers of commits.
* Tags are now only computed on demand.
* Batching for queries that require describe commands reuses connections and stream metadata between iterations.

#preflight none

[CL 21926162 by Ben Marsh in ue5-main branch]
2022-09-09 15:29:39 -04:00
Ben Marsh
ca48dfabb9 Horde: Refactor Perforce service to use EpicGames.Perforce rather than P4API.NET. New implementation supports connection pooling and asynchronous operation.
#preflight 63121d66ab25bb91f58f42be

[CL 21759888 by Ben Marsh in ue5-main branch]
2022-09-02 11:20:42 -04:00
Ben Marsh
d082dfcc2a EpicGames.Perforce: Use regular command execution flow for logging in.
#preflight none

[CL 21722327 by Ben Marsh in ue5-main branch]
2022-08-31 12:05:09 -04:00
Ryan Hummer
1b0163b46c Optimize Horde printing a shelved CL for Preflight by issuing one call to p4 print
Using the wildcard support for p4 print we can print the entire contents of a shelf with one call instead of a call for each file.

Splitting TryPrint*Async into a method that assumes one file in and one result out, and another method that can return multiple results.

#rnx
#jira none
#rb ben.marsh
#preflight n/a

[CL 21706680 by Ryan Hummer in ue5-main branch]
2022-08-30 14:48:22 -04:00
Ben Marsh
60fb2115fb Horde: Upgrade all NuGet packages to latest.
#preflight 630cf402e1124837752f0cb3

[CL 21682720 by Ben Marsh in ue5-main branch]
2022-08-29 13:34:15 -04:00
Joe Kirchoff
c800810383 SyncBinariesFromUGS: Retrieve correct compatible changelist using the existing P4Env
Move list of extensions treated as code to common location

#rnx
#rb ben.marsh
#preflight 63052cb8a45b007ea2836cc7

[CL 21518406 by Joe Kirchoff in ue5-main branch]
2022-08-23 16:08:29 -04:00
Ben Marsh
fec7e64ea7 Horde: Replication performance improvements.
* Rewritten BuzHash inner loop as unsafe code to avoid bounds checks.
* Multiple paths can now be synced in a single command.
* Added stats for P4 output buffer being stalled, and throughput of replication service.
* Fixed OOB array access when serializing files with SHA1 hashes.
#preflight 62fc058ccf7afa018bb64459

[CL 21414959 by Ben Marsh in ue5-main branch]
2022-08-16 17:26:13 -04:00
aldenc98
f59e7b924e PR #9391: Fix deadlock due to NativePerforceConnection.Response not being disposed (Contributed by aldenc98)
#preflight none

[CL 21150270 by aldenc98 in ue5-main branch]
2022-07-18 13:28:48 -04:00