Commit Graph

377 Commits

Author SHA1 Message Date
Devin Doucette
a613d7f360 DDC: Reverted the exclusion of DDCUtils from non-editor targets
#jira UE-120421
#jira UE-121792
#rb Zousar.Shaker
#rnx

[CL 17253977 by Devin Doucette in ue5-main branch]
2021-08-20 17:17:46 -04:00
Devin Doucette
e8d662c770 DDC: Added EBuildStatus::CacheKey and return EStatus::Ok from a build when no build or cache was requested
#rb Zousar.Shaker
#rnx
#preflight 611f304c008be900010bf006

[CL 17247202 by Devin Doucette in ue5-main branch]
2021-08-20 10:04:06 -04:00
Stefan Boberg
d44fa85240 Refactored the UE-side Zen project store interface so that we now use a common HTTP interface implementation across cache / project store classes. No functional impact, tested with ShooterGame
#rb none

[CL 17234463 by Stefan Boberg in ue5-main branch]
2021-08-19 11:13:03 -04:00
Stefan Boberg
cd127ff786 Updated Zen HTTP interfaces to accept large payloads as a preparation for unifying the cache/store client implementations
[CL 17218879 by Stefan Boberg in ue5-main branch]
2021-08-18 14:11:58 -04:00
Stefan Boberg
f85fda5612 DLL-exported functions for Zen HTTP interfaces to allow them to be consumed from other modules, and renamed them to make it easier to search for them (previous names were derived from the Jupiter HTTP back-end)
#rb trivial

[CL 17187385 by Stefan Boberg in ue5-main branch]
2021-08-17 03:31:20 -04:00
Andriy Tylychko
2a295eb685 deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau

[CL 17176325 by Andriy Tylychko in ue5-main branch]
2021-08-16 11:05:18 -04:00
Devin Doucette
4bea29a1d4 DDC: Fixed a build job assert caused by canceling at the wrong time
#rb Zousar.Shaker
#rnx

[CL 17108375 by Devin Doucette in ue5-main branch]
2021-08-09 17:54:54 -04:00
charles bloom
4655dc7716 Log DerivedDataCache when registry overrides dirs
make editor dialog update when string is empty

#rb devin.doucette

[CL 17107690 by charles bloom in ue5-main branch]
2021-08-09 17:01:31 -04:00
Devin Doucette
5bdd0e67b3 DDC: Add FBuildConfigContext::SetRequiredMemory() and forward the estimate to the build scheduler
#rb Zousar.Shaker
#rnx

[CL 17088443 by Devin Doucette in ue5-main branch]
2021-08-06 17:32:53 -04:00
Devin Doucette
2d827a0a7a DDC: Added flags to control request barrier behavior
#rb Matt.Peters
#rnx

[CL 17088062 by Devin Doucette in ue5-main branch]
2021-08-06 17:11:24 -04:00
Devin Doucette
30760f545b DDC: Split DerivedDataRequest.h and rename DerivedDataBuildPolicy.h
#rb none
#rnx

[CL 17086960 by Devin Doucette in ue5-main branch]
2021-08-06 15:49:14 -04:00
Devin Doucette
48d8d5f7eb DDC: Removed ICacheFactory in favor of exported functions
FCacheBucket is now always exposed as FAnsiStringView.

#rb Zousar.Shaker
#rnx

[CL 17084521 by Devin Doucette in ue5-main branch]
2021-08-06 12:51:28 -04:00
Devin Doucette
c4e3574345 DDC: Removed IBuild::Load[Type] in favor of exported functions
#rb Zousar.Shaker
#rnx

[CL 17083958 by Devin Doucette in ue5-main branch]
2021-08-06 11:57:55 -04:00
Devin Doucette
7f0835f571 DDC: Fixed non-unity compile errors
#rb trivial
#rnx

[CL 17079642 by Devin Doucette in ue5-main branch]
2021-08-05 22:29:19 -04:00
Devin Doucette
0167604e91 DDC: Rename FRequestGroup to FRequestOwner and export its constructor
#rb Zousar.Shaker
#rnx

[CL 17074555 by Devin Doucette in ue5-main branch]
2021-08-05 15:45:41 -04:00
Devin Doucette
2d9736cdea DDC: Added conversions between FPayloadId and FCbObjectId
#rb Zousar.Shaker
#rnx

[CL 17071877 by Devin Doucette in ue5-main branch]
2021-08-05 13:36:44 -04:00
Devin Doucette
87792e1b5e DDC: Split the new API from the old API
The new API uses exported functions and cannot be included with the old API without compile errors in existing code that has an include-only dependency on DDC.

#rb Zousar.Shaker
#rnx
#preflight 610c01e3aeb05700011dc5ab

[CL 17071263 by Devin Doucette in ue5-main branch]
2021-08-05 13:11:50 -04:00
Stefan Boberg
a4e1247a67 Another NonUnity build fix (ZenServerHttp.h)
#rb fbcli

[CL 17068679 by Stefan Boberg in ue5-main branch]
2021-08-05 11:23:25 -04:00
Stefan Boberg
7192f2be8a Zen HTTP interface refactored into separate header/source files
#rb none

[CL 17066037 by Stefan Boberg in ue5-main branch]
2021-08-05 05:30:53 -04:00
Stefan Boberg
d20e67e203 More defensive #if placement, to address EngineTest build issue
#rb none

[CL 17064898 by Stefan Boberg in ue5-main branch]
2021-08-05 02:26:16 -04:00
Devin Doucette
3513768988 DDC: Replaced FRequest with FRequestGroup to handle nested and chained requests more robustly
Any function that may create a request now has a IRequestOwner& parameter, and uses the Begin and End functions on the owner to manage the lifetime of any requests that it creates, as well as using End to invoke the completion callback for any request which has one.

The new FRequestBarrier may be used to block a group from being considered complete in a scope where more requests may be added to it.

#rb Matt.Peters
#rnx
#preflight 6109b5c403d303000144cce5
#preflight 610acf7103d30300016fda94

[CL 17060470 by Devin Doucette in ue5-main branch]
2021-08-04 17:52:40 -04:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
Stefan Boberg
970aad0412 Refactored ZenDDC communication. HTTP interface code is now simplified and separated out from the ZenDDC client code as a step towards a shared communication layer for the oplog/cache/etc as well as instance lifetime management. There should be no functional differences.
#rb devin.doucette
#jira none

[CL 17056895 by Stefan Boberg in ue5-main branch]
2021-08-04 14:55:30 -04:00
Stefan Boberg
4656bf2930 General HTTP zen client implementation simplification
* Rename FRequest -> FZenHttpRequest to make it easier to move the implementation elsewhere
* Simplified implementation of PUT/HEAD/DELETE operations by turning template functions into plain member functions to make it easier to hide the implementation details when the class is moved into a header

#rb none
#jira none

[CL 17048397 by Stefan Boberg in ue5-main branch]
2021-08-04 08:08:03 -04:00
Steve Robb
203cacf399 FNames can now be constructed with UTF8CHAR strings.
UTF-8 support added to FString::AppendChars() and made able to correctly handle variably-encoded source strings (both wider and narrower than TCHAR).
FUTF8ToTCHAR now accepts either UTF8CHAR* or ANSICHAR* for better compatibility.
FUtf8StringView now binds to UTF8CHAR* or any UTF8CHAR range, and can be constructed via a _U8SV string literal suffix.
CompactBinary now supports UTF-8.
Miscellaneous other UTF8CHAR fixes.

#rb devin.doucette

[CL 17017066 by Steve Robb in ue5-main branch]
2021-08-02 12:15:16 -04:00