Commit Graph

12 Commits

Author SHA1 Message Date
Yuriy ODonnell
72e1903d39 unsync - Change the target name to use all lower-case letters
#rb none
#preflight skip

[CL 19598176 by Yuriy ODonnell in ue5-main branch]
2022-04-01 19:58:52 -04:00
Yuriy ODonnell
738c0f421c unsync - Handle long paths on Windows, bump version to 1.0.39
#rb none
#preflight skip

[CL 19333815 by Yuriy ODonnell in ue5-main branch]
2022-03-10 03:23:41 -05:00
Yuriy ODonnell
fa2684b9d7 unsync - Remove std::filesystem namespace alias and add wrappers for various filesystem functions
#rb none
#preflight skip

[CL 19301694 by Yuriy ODonnell in ue5-main branch]
2022-03-08 08:17:08 -05:00
Yuriy ODonnell
41d40191b5 unsync - Fix few badly auto-converted function names
Also fix missing header include

#rb none (trivial)
#preflight skip

[CL 19300753 by Yuriy ODonnell in ue5-main branch]
2022-03-08 05:13:41 -05:00
Yuriy ODonnell
29db42b0dd unsync - Add query command, which can be used to get information from the server (such as list mirrors)
Also implement header-only HTTP response handling.

#rb Martin.Ridgers
#preflight skip

[CL 19196474 by Yuriy ODonnell in ue5-main branch]
2022-03-01 05:53:29 -05:00
Yuriy ODonnell
44ee3bd688 unsync - Fix few minor build issues
* Suppress warnings in CLI11 headers
* Use WIN32_LEAN_AND_MEAN=1 and include specific headers when they're needed
Some windows headers (at least in some versions of the SDKs) do not pop the warning suppression states, which causes inconsistent warning reporting whenever Windows.h is included.
By adding WIN32_LEAN_AND_MEAN, we avoid the issue at least in the common case.
* Suppress various deprecation warnings in Windows headers (_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING, _WINSOCK_DEPRECATED_NO_WARNINGS, _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING, _CRT_SECURE_NO_WARNINGS)
* Fix blake3 include path when using cmake

This fixes compilation warnings when using Windows SDK 10.0.22000.0.

#rb Martin.Ridgers
#preflight 6216532d0f71e491cc023eec

[CL 19111912 by Yuriy ODonnell in ue5-main branch]
2022-02-24 06:20:58 -05:00
Yuriy ODonnell
53695fbd49 unsync - Fix compile errors on Mac
#rb Martin.Ridgers
#preflight skip

[CL 19070501 by Yuriy ODonnell in ue5-main branch]
2022-02-22 05:37:15 -05:00
Yuriy ODonnell
bae920b60e unsync - Fix build errors on Linux, remove the bundled blake3 version (use existing UE package)
#rb Martin.Ridgers
#preflight skip

[CL 19069588 by Yuriy ODonnell in ue5-main branch]
2022-02-22 02:09:06 -05:00
Yuriy ODonnell
7480a25018 Add package *.Build.cs files for cli11, fmt, http-parser, libressl and zstd that we distribute via our vcpkg installation
- This allows other UBT packages to easily depend on these libraries
- Change Unsync.Build.cs to use these libraries via PrivateDependencyModuleNames instead of adhoc AddVcPackage

#preflight 620bad8c01253d2e19dc0a7b
#rb Joe.Kirchoff

[CL 18997035 by Yuriy ODonnell in ue5-main branch]
2022-02-15 11:23:15 -05:00
Yuriy ODonnell
e72b8c8abf unsync - Remove VS2022 requirement
#rb Martin.Ridgers
#preflight skip

[CL 18994301 by Yuriy ODonnell in ue5-main branch]
2022-02-15 06:58:04 -05:00
Yuriy ODonnell
a25c902605 unsync - Rename weak hash ban list variable
#rb none (trivial)
#preflight skip

[CL 18994082 by Yuriy ODonnell in ue5-main branch]
2022-02-15 06:14:58 -05:00
Yuriy ODonnell
b5709042fb Import Unsync into the main source tree
This is a binary patching and incremental downloading tool, similar to rsync or zsync. It aims to improve the large binary download processes that previously were served by robocopy (i.e. full packages produced by the build farm).

The original code can be found in `//depot/usr/yuriy.odonnell/unsync`. This commit is a branch from the original location to preserve history.

While the codebase is designed to be self-contained and does not depend on any engine libraries, it mostly follows the UE coding guidelines and can be built with UBT.

Currently only Windows is supported, however the tool is expected to also work on Mac and Linux in the future.

#rb Martin.Ridgers
#preflight skip

[CL 18993571 by Yuriy ODonnell in ue5-main branch]
2022-02-15 04:30:27 -05:00