Add FTP and magnet backends, tracker and proxy settings, and organize client modules

Integrate pinned libcurl, libtorrent and static OpenSSL dependencies with license notices. Enable verified HTTPS trackers and authenticated HTTP/SOCKS5 proxies, add tracker TXT import without arbitrary list caps, and allow resizing the main window.

Organize client sources by responsibility and update Visual Studio projects, filters and tests. Debug and Release builds passed, along with UI, HTTP, tracker import and browser bridge regressions. Full protocol tests have an unresolved intermittent HTTPS tracker wait timeout; Windows 7 runtime validation remains outstanding.
This commit is contained in:
tongtong committed 2026-11-27 11:28:30 +08:00
1 parent a787f470ed
commit eb3df9aa3d
63 files changed
+2185 -100

No files matched your search

+9
View File
@@ -7,6 +7,8 @@ if not defined TTUI_MSBUILD (
echo MSBuild not found. Install Visual Studio 2022 C++ workload.
exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0third_party\prepare.ps1" -Configuration %TTUI_TEST_CONFIG%
if errorlevel 1 exit /b 1
"%TTUI_MSBUILD%" "%~dp0ui\ttui\tests\smoke.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
if errorlevel 1 exit /b 1
"%TTUI_MSBUILD%" "%~dp0client\tests\http_transport_tests.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
@@ -15,6 +17,8 @@ if errorlevel 1 exit /b 1
if errorlevel 1 exit /b 1
"%TTUI_MSBUILD%" "%~dp0browser\tests\browser_bridge_tests.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
if errorlevel 1 exit /b 1
"%TTUI_MSBUILD%" "%~dp0client\tests\protocol_tests.vcxproj" -p:Configuration=%TTUI_TEST_CONFIG% -p:Platform=x64 -v:minimal
if errorlevel 1 exit /b 1
set "BROWSER_HOST_EXE=ttdownloader_native_host.exe"
if /i "%TTUI_TEST_CONFIG%"=="Debug" set "BROWSER_HOST_EXE=ttdownloader_native_host_d.exe"
pushd "%~dp0"
@@ -33,6 +37,11 @@ if errorlevel 1 (
popd
exit /b 1
)
python "%~dp0client\tests\run_protocol_tests.py" "%~dp0client\bin\tests\%TTUI_TEST_CONFIG%\protocol_tests.exe"
if errorlevel 1 (
popd
exit /b 1
)
node --test "%~dp0browser\tests\extension.test.mjs"
if errorlevel 1 (
popd