Commit Graph

340 Commits

Author SHA1 Message Date
Ben Marsh
737f3f5432 Horde: Remove dependency on System.Net.Http.Json; causing analyzer errors during build.
#preflight none

[CL 18753818 by Ben Marsh in ue5-main branch]
2022-01-27 10:30:20 -05:00
jack porter
8a9ec520ce Fix iOS C++ projects from Windows installed builds
Use Windows UBT on remote Mac when using remote toolchain
#jira UE-139847
#rb Josh.Adams
#preflight https://horde.devtools.epicgames.com/job/61f0e74dff453b751b51f5f5
[FYI] josh.adams

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18735451 in //UE5/Release-5.0/... via CL 18735453 via CL 18735540
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18735558 by jack porter in ue5-main branch]
2022-01-26 10:23:38 -05:00
Ben Marsh
0645f76b9e Missing copyright boilerplate.
#preflight none

[CL 18710625 by Ben Marsh in ue5-main branch]
2022-01-24 12:32:25 -05:00
Ben Marsh
7f9d5e4d33 Horde: Updating client API for storage.
* Now uses a single interface for the blob and ref stores (IStorageClient).
* Added an OAuth message handler which refreshes an access token as necessary.
* Added HTTP implementation of IStorageClient.

#preflight none

[CL 18710086 by Ben Marsh in ue5-main branch]
2022-01-24 11:54:10 -05:00
Ben Marsh
d8ab275d9f Horde: Remove a few more hacks for StatsV2.json issue.
#preflight none
#jira UE-110000

[CL 18689310 by Ben Marsh in ue5-main branch]
2022-01-21 10:01:27 -05:00
Ben Marsh
ec0804be31 Horde: Remove debug code for tracking down issues related to StatsV2.json file.
#preflight none
#jira UE-11000
#fyi Ryan.Hummer

[CL 18689210 by Ben Marsh in ue5-main branch]
2022-01-21 09:56:15 -05:00
Ben Marsh
8a47d2d0f5 Fix build error due to duplicated type in EpicGames.Horde.Client.
#preflight none

[CL 18689130 by Ben Marsh in ue5-main branch]
2022-01-21 09:47:25 -05:00
Ben Marsh
3355c11462 Client-facing interface for Horde.Storage.
Idea is that tools could interface with Horde Storage use this API, with concrete implementations that use HTTP, gRPC or (in the case of legacy applications within Horde.Build) communicate internally within the same process to store the data.

Errors should be surfaced using exceptions.

#preflight none

[CL 18677234 by Ben Marsh in ue5-main branch]
2022-01-20 12:50:35 -05:00
Ben Marsh
b900bab8d1 P4VUtils: Fix compile errors after recent changes to EpicGames.Perforce library.
#preflight none
#fyi Andrew.Firth

[CL 18643289 by Ben Marsh in ue5-main branch]
2022-01-18 13:28:42 -05:00
Ben Marsh
32ab8d1b88 CS: Support for serialization and deserialization of polymorphic class hierarchies into compact binary.
The base class in a hierarchy must have the [CbPolymorphic] attribute, and derived classes must have the [CbDiscriminator] attribute, giving an identifier to indicate the derived type.

#preflight none
#p4v-preflight-copy 18635755
#preflight 61e6d83a7f0c4b5aad620c89

[CL 18640150 by Ben Marsh in ue5-main branch]
2022-01-18 10:30:25 -05:00
Ben Marsh
17fda19db7 CS: Support for serialization and deserialization of polymorphic class hierarchies.
The base class in a hierarchy must have the [CbPolymorphic] attribute, and derived classes must have the [CbDiscriminator] attribute, giving an identifier to indicate the derived type.

#preflight none
#preflight 61e600aa3778a195de94dc27

[CL 18635774 by Ben Marsh in ue5-main branch]
2022-01-17 18:52:44 -05:00
Ben Marsh
edb86dcf5b Horde: Fix build error.
#preflight none

[CL 18630244 by Ben Marsh in ue5-main branch]
2022-01-16 18:52:58 -05:00
Ben Marsh
9e6e68ba17 CS: Add overloads for commonly serialized compact binary types.
#preflight 61e4a67d7b0f77175a5d6621

[CL 18630220 by Ben Marsh in ue5-main branch]
2022-01-16 18:26:30 -05:00
Ben Marsh
5e131f7ddc CS: Rename compact binary files to match the classes they contain.
#preflight none

[CL 18628533 by Ben Marsh in ue5-main branch]
2022-01-15 13:33:44 -05:00
Ben Marsh
b363c7d2ae Horde: Fix revert of files in workspaces not working correctly (missing path specification), and exception parsing OpenedRecord entries with ShortOutput option specified.
#preflight none

[CL 18628510 by Ben Marsh in ue5-main branch]
2022-01-15 13:27:02 -05:00
Ben Marsh
40c9e7cb50 Horde: Fix typo.
#preflight none

[CL 18623460 by Ben Marsh in ue5-main branch]
2022-01-14 16:23:06 -05:00
Ben Marsh
1ea7fefd32 Horde: If a call to p4 login doesn't return a proper record, call p4 login -s to get one.
#preflight none

[CL 18623341 by Ben Marsh in ue5-main branch]
2022-01-14 16:17:31 -05:00
Ben Marsh
fd1f1f0c3b Restore CL 18614625 with fix for hang/memory leak.
#preflight none
#fyi Jack.Porter

[CL 18618782 by Ben Marsh in ue5-main branch]
2022-01-14 11:34:46 -05:00
Ben Marsh
eddef12371 UGS-CLI: Various improvements/fixes.
* Support for creating workspaces using native P4 client, so "ugs init" now works correctly.
* Output a list of files which need to be clobbered when syncing, and add a -Clobber option to confirm intent.
* Fix exception accessing folders that user does not have permissions to when detecting a new workspace.

#preflight none

[CL 18618091 by Ben Marsh in ue5-main branch]
2022-01-14 10:51:47 -05:00
Jack Porter
6cbd27e7e6 Back out CL 18601195 due to infinite hang/memory eat in UBT when building IOS or TVOS
#jira UE-139211
#preflight none
#rb Will.Damon
#fyi Ben.Marsh

[CL 18614625 by Jack Porter in ue5-main branch]
2022-01-13 23:40:02 -05:00
Ben Marsh
e031a88392 CS: Changes to ManagedProcess to better support cancellation on Mac/Linux when using merged output pipes.
- Data read from stdout/stderr is now writen to buffers posted in a Channel<T>, which correctly supports await and cancellation (unlike AsynchronousPipe).
- Public StdOut/StdErr streams are now a custom stream implementation that reads from the channel and copies data into the output buffer.
- Buffer objects are sized at 1024 bytes and pooled, which should be enough to accomodate most output lines without splitting.
- When the process is disposed, we now terminate the entire process tree. The tasks left reading from the child process terminate asynchronously.

Tested in a command line and WinForms app (by forcing SupportsJobObjects to return false) with asynchronous and synchronous reads to ensure code does not deadlock.

#preflight 61e062b3ed50181feb511e39

[CL 18601195 by Ben Marsh in ue5-main branch]
2022-01-13 14:17:35 -05:00
rolando caloca
887df66181 UE5.0 - Only check for platform SDKs once in UBT when compiling multiple targets
#rb Joe.Kirchoff, Jonathan.Adamczewski
#jira none
#preflight 61ddd33f3d108f7804f64d4c

#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 18583364 in //UE5/Release-5.0/... via CL 18583395 via CL 18583399
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18583407 by rolando caloca in ue5-main branch]
2022-01-12 08:34:45 -05:00
Ben Marsh
4cc55182e9 UGS: Add a filter command to allow adding and remove categories to sync.
#preflight none

[CL 18562812 by Ben Marsh in ue5-main branch]
2022-01-10 13:44:32 -05:00
Ben Marsh
4974dfe934 UGS: Add a command for listing submitted changes ("ugs changes -count=123 -lines=3")
#preflight none

[CL 18559173 by Ben Marsh in ue5-main branch]
2022-01-10 09:33:30 -05:00
Ben Marsh
a40c4c2c8b UGS: Support for running UGS CLI on Mac.
#preflight none

[CL 18554839 by Ben Marsh in ue5-main branch]
2022-01-08 15:04:19 -05:00