This is an automated email from the ASF dual-hosted git repository.
Jens-G pushed a change to branch release/0.25.0
in repository https://gitbox.apache.org/repos/asf/thrift.git
from ff73fd3a7 prepare release
add 2ab586a06 THRIFT-6286: Add a container-size limit to the Go
TConfiguration Client: go
add 341ea4582 THRIFT-6284: Build and install source and test files that a
build list missed Client: d,lua,py
add dbceb23e8 THRIFT-6281: Hold the frames TFramedTransport writes to the
configured frame size Client: go
add 0d82e3720 THRIFT-6283: Bound the size of a reply the Erlang HTTP
transport reads Client: erl
add aca539732 THRIFT-6282: Let the Erlang HTTP transport use https Client:
erl
add 530cd16a4 THRIFT-6298: Use jiffy-exact timeouts in the Rust socket
split test Client: rs
add aedcb6ec4 Update ReleaseManagement.md
add 451efc7a7 bump master version
add 2f49dcbc4 Restore bake 0.25.0 in test/rb/Gemfile.lock
add d61a908ea THRIFT-6301: Keep veralign.sh from rewriting third-party
versions in lockfiles
add b7709ea32 THRIFT-6189: Add a GitHub Actions CI job for the Lua library
add 397e0e039 THRIFT-6190: Add a compile and test check for the JavaME
library
add fa65c42bb THRIFT-6204: Omit an unset default-requiredness field from
the Go writer
add 6674b5126 THRIFT-6275: Present the client certificate from the Go
cross-test client Client: go,test
add 708e5e459 THRIFT-6302: Report jsonReplace failures and sort
veralign.sh's file list
add 12dcbffd5 THRIFT-6305: Don't report an unreadable JSON file as a
missing version in veralign.sh
add 1f9ebe6d9 Let prose-only commits skip CI
add 617df715d THRIFT-6291: Describe MaxContainerSize in the TConfiguration
specification Client: docs
add 852389110 THRIFT-6304: Remove the stale ansistr_binary branches from
the Delphi serializer test Client: delphi
add be3be9f69 THRIFT-6303: Use FDictionary in the Delphi 2010 branch of
ToArray Client: delphi
add 667952807 Encode the header transport varint from an unsigned value
Client: rb
add 20cca00bd Free the header transport zlib stream once it has been
initialized Client: cpp
add c99bd9448 Make writeVarint32 encode negative values as a canonical
varint Client: cpp
add 09b177a3f THRIFT-6233: Use the peer-address matcher in
TSSLServerSocket on every Python Client: py
add 6b1d360e7 THRIFT-5242: Add Homebrew installation instructions for
macOS Client: doc
add a909258bd Use a byte-string buffer that RuboCop accepts in the varint
spec Client: rb
add 82bab6306 THRIFT-6316: Fetch the test and tutorial JavaScript
libraries over HTTPS Client: js,test
add df4c41bf3 THRIFT-6309: Remove PHP deprecations introduced in 0.24.0
(#3892)
add fb48fc3bf THRIFT-6321: Lint the JavaScript tests at the language level
they are written in Client: js
add b660a7f2b THRIFT-6317: Declare browser binary fields as string in the
TypeScript output Client: js
add 51a3826b8 THRIFT-6318: Drop the unused uuid import from the generated
JavaScript Client: js
add 2df766047 THRIFT-6322: Call the generated struct read and write
through their symbols Client: js
add 220ed7260 THRIFT-6320: Stop asking for a static runtime when building
the release compiler Client: build
add 048e1e414 THRIFT-6310: Build the Thrift compiler on Windows in CI
Client: build
add 983da3f07 THRIFT-6311: Build a Windows installer for the Thrift
compiler Client: build
add 730f998ac THRIFT-6319: Build and test lib/ts, and stop its check from
silently doing nothing Client: build,js
add d86857458 THRIFT-6323: Fix PHPUnit deprecations and notices in PHP
test suite (#3906)
add 4b01621ba THRIFT-6313: Publish the Windows Thrift compiler as a .NET
tool Client: build
add e6d2a14c8 THRIFT-6325: Let the MSVC builds use /MP again Client: build
add 4b400d8e5 THRIFT-2208: Package the Windows Thrift compiler for
Chocolatey Client: build
add d28932965 THRIFT-6314: Publish the Windows Thrift compiler through
WinGet Client: build
add 2e3436943 Bump brace-expansion from 2.1.0 to 2.1.7
add 508006a4b THRIFT-6327: Document the credentials the release workflows
need in one place Client: build
add 6c1134f08 THRIFT-6290: Rust: skip string/binary fields without
heap-allocating Client: rs
add 43cd5e041 THRIFT-6315: Correct the Windows Docker documentation
Client: build
add c229b3829 THRIFT-6324: Cut the AppVeyor build matrix and build in
parallel Client: build
add d2be6b0c8 THRIFT-6326: Compile the compiler sources once for the
executable and the unit tests Client: build
add b346a6722 THRIFT-6063: Add a GitHub Actions CI job for the Smalltalk
library Client: st
add 15d81751b THRIFT-6062: Give each Smalltalk struct its own read and
write methods Client: st
add d7697dc3b THRIFT-6258: End the readAll: loop when the transport
answers nothing Client: st
add 6c2d82463 THRIFT-6328: Read the reply envelope from the input protocol
in Smalltalk Client: st
add c2083e3e6 THRIFT-6300: Read a whole value before decoding it in
TBinaryProtocol Client: st
add 9133b81a9 Go: write doc comments without leading, trailing or doubled
empty lines Client: go
add 874dafc78 THRIFT-6332: Render struct, typedef and nested container
constants in the Graphviz generator Client: gv
add 8e139a2a1 THRIFT-6330: Add a GitHub Actions CI job for the JavaScript
library Client: build,js
add aeae8b2c5 Use the correct buffer in `read()` methods
add 3af0cfff1 THRIFT-6331: Read binary replies in XHRConnection.read()
Client: nodejs
add 5dab0762d THRIFT-6335: Replace PHP ReflectionHelper with direct
reflection (#3927)
add 9197ce06b THRIFT-6334: Require PHP 8.2 and document the version
support policy Client: php,build
add c194044c8 TEvhttpServer: free the request context on every processing
path Client: cpp
add 9bada495e Apply the maximum string size to JSON strings and numbers
Client: javame
add 658e32704 Select connections that have no buffered input to read
Client: py
add 2311a0b52 Close each accepted transport when its worker ends Client:
ocaml
add 6c30165bb Apply the maximum string size to JSON strings and numbers
Client: rb
add 59da35a42 Keep serving after a connection ends Client: ocaml
add 4af34984f Close a SASL connection whose response evaluation fails
unexpectedly Client: java
add 1519d955a Skip exactly the declared number of container elements
Client: ocaml
add e9a10e67a Apply the maximum string size to JSON strings and numbers
Client: dart
add fe8014dcc Read maxStringSize in the protocol extension Client: php
add 6cfb0941f Apply the configured recursion limit when reading structs
Client: c_glib
add cc3ac7649 Apply maxStringSize to JSON strings and numbers Client: php
add 6e992c1d1 Stop reading a deferred frame until read buffer memory is
released Client: java
add 932cb7b2b Apply the string size limit to JSON strings and numbers
Client: lua
add cc385bfa9 Apply the maximum frame size to the inflated THeader payload
Client: go
add 6527ef050 Stop reading once the decompressed size limit of
TZlibTransport is used up Client: py
add 8fd0f9383 Check declared JSON container sizes against the parsed
message Client: nodejs
add 61c1d55b5 Report per-connection server errors without requiring an
error listener Client: nodejs
add b7209c4ec Read framed and HTTP buffers by position Client: lua
add 87c3ed6ce Check the non-strict binary message name length like other
strings Client: go
add da77d60e8 Retry partial and interrupted sends from the right offset
Client: lua
add 299a678f4 Keep the SASL nonblocking server serving when one connection
fails Client: java
add 420e9ca37 Cap the C extension's initial container reservation on every
read path Client: py
add a9d071f60 Apply the string length limit to the pre-versioned message
name Client: dart
add 573ec91bb Apply the string length limit to the pre-versioned message
name Client: lua
add bc47f9842 Hold TJSONProtocol values to the same default length as the
other protocols Client: py
add ea41446e9 Use direct reflection in JsonStringSizeLimitTest Client: php
add 24a0d0257 Keep serving after a connection fails Client: php
add 77188b02e Read framed and memory buffers by position Client: php
add 87a9068b0 THRIFT-6351: Require GLib 2.48 in configure and CMake
Client: c_glib
add 1ae43c8ae THRIFT-6349: Drop the ubuntu-focal build image Client: build
add 541b46da7 Stop following redirects in TCurlClient Client: php
add 40486d71c Handle errors on upgraded WebSocket connections Client:
nodejs
add 93e33392b Parse HTTP headers in linear time Client: lua
add 3be674a87 Keep serving after a connection fails Client: rb
add e94803e2f Apply the recursion limit when reading structs Client: erl
add bdcb0b886 Keep serving after a connection fails Client: perl
add fd57bb32c Count the recursion depth on the inlined read path Client:
php
add cf5ce7f37 Write and read JSON escapes and base64 correctly Client: lua
add b31b99807 Collect the frames of a framed read_exact before flattening
them Client: erl
add d91521170 Report a failed write or flush of the framed transport's
frame Client: c_glib
add cbfb46b7f Write out all of the data the zlib transport compresses
Client: c_glib
add 989824bb8 Apply the recursion limit on the dynamic read and write
paths Client: py
add b23659e7f Keep the thread pool server accepting after a connection
fails to set up Client: rs
add bfd675f51 Read framed buffers by position Client: perl
add 5800c3c90 Send socket buffers by position Client: perl
add 63d9169d2 Link the memory buffer into testzlibtransport Client: c_glib
add 0ee896590 THRIFT-5881: Chain up to the parent finalize in c_glib
Client: c_glib
add 77f64cf36 THRIFT-6362: Follow redirects in TCurlClient only within the
configured origin Client: php
add e6f28b16e THRIFT-6361: Add a GitHub Actions CI job for the C (GLib)
library Client: build,c_glib
add 56e70b16f Bump @babel/core from 7.8.4 to 7.29.7
add f5fcbb1fc THRIFT-6346: Remove dead code from the Java ME, Dart,
Mermaid and XSD generators Client: javame,dart,mmd,xsd
add ba4ed0b1a THRIFT-6345: Lua generator: fix error messages copied from
the PHP generator Client: lua
add 6f240e91d THRIFT-6344: D generator: fix the trailing space in the
"macro" reserved word Client: d
add 87fe0a6f9 THRIFT-6342: Render i8 and i16 constants as plain integers
in the Haxe generator Client: haxe
new 6dcc437b4 Merge branch 'master' into release/0.25.0
new 04502bd39 keep branch at 0.25.0
new 3bd6bfbe6 keep branch at 0.25.0
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build.yml | 400 +++++++++++++-
.github/workflows/chocolatey.yml | 190 +++++++
.github/workflows/cmake.yml | 68 ++-
.github/workflows/dotnet-tool.yml | 190 +++++++
.github/workflows/pypi.yml | 1 -
.github/workflows/sca.yml | 2 +-
.github/workflows/windows-packages.yml | 189 +++++++
.github/workflows/winget.yml | 246 +++++++++
.gitignore | 3 +
.travis.yml | 15 +-
AGENTS.md | 24 +
LANGUAGES.md | 22 +-
appveyor.yml | 43 +-
build/appveyor/MINGW-appveyor-full.bat | 2 +-
build/appveyor/MSVC-appveyor-full.bat | 2 +-
build/appveyor/win_showenv.bat | 4 +
build/cmake/DefineOptions.cmake | 5 +-
build/cmake/DefinePlatformSpecifc.cmake | 2 +-
build/docker/README.md | 99 ++--
build/docker/msvc/README.md | 45 +-
build/docker/msvc/build-compiler.bat | 7 +-
build/docker/ubuntu-focal/Dockerfile | 307 -----------
build/docker/ubuntu-jammy/Dockerfile | 19 +-
build/docker/ubuntu-noble/Dockerfile | 3 -
build/veralign.sh | 108 +++-
build/windows/README.md | 230 ++++++++
build/windows/build-chocolatey-package.ps1 | 172 ++++++
build/windows/build-dotnet-tool.ps1 | 109 ++++
build/windows/build-installer.ps1 | 129 +++++
build/windows/build-winget-manifests.ps1 | 148 +++++
build/windows/check-compiler-imports-tests.ps1 | 280 ++++++++++
build/windows/check-compiler-imports.ps1 | 213 ++++++++
.../windows/chocolatey/test-chocolatey-package.ps1 | 195 +++++++
build/windows/chocolatey/thrift.nuspec.in | 73 +++
.../chocolatey/tools/chocolateyinstall.ps1.in | 40 ++
.../dotnet-tool/Apache.Thrift.Compiler.csproj | 121 ++++
build/windows/dotnet-tool/Program.cs | 103 ++++
build/windows/dotnet-tool/README.md | 62 +++
build/windows/dotnet-tool/test-dotnet-tool.ps1 | 193 +++++++
build/windows/installer/test-installer.ps1 | 195 +++++++
build/windows/installer/thrift.iss | 221 ++++++++
.../windows/winget/Apache.Thrift.installer.yaml.in | 46 ++
.../winget/Apache.Thrift.locale.en-US.yaml.in | 59 ++
.../windows/winget/Apache.Thrift.yaml.in | 11 +-
build/windows/winget/test-winget-manifests.ps1 | 182 +++++++
build/windows/winget/validate_manifests.py | 138 +++++
compiler/cpp/CMakeLists.txt | 38 +-
.../cpp/src/thrift/generate/t_c_glib_generator.cc | 17 +-
compiler/cpp/src/thrift/generate/t_d_generator.cc | 2 +-
.../cpp/src/thrift/generate/t_dart_generator.cc | 56 --
compiler/cpp/src/thrift/generate/t_go_generator.cc | 36 +-
compiler/cpp/src/thrift/generate/t_gv_generator.cc | 33 +-
.../cpp/src/thrift/generate/t_haxe_generator.cc | 4 -
.../cpp/src/thrift/generate/t_javame_generator.cc | 117 ----
compiler/cpp/src/thrift/generate/t_js_generator.cc | 13 +-
.../cpp/src/thrift/generate/t_lua_generator.cc | 6 +-
.../cpp/src/thrift/generate/t_mmd_generator.cc | 1 -
.../cpp/src/thrift/generate/t_php_generator.cc | 21 +-
compiler/cpp/src/thrift/generate/t_st_generator.cc | 55 +-
.../cpp/src/thrift/generate/t_xsd_generator.cc | 6 +-
compiler/cpp/test/CMakeLists.txt | 11 +
compiler/cpp/tests/CMakeLists.txt | 20 +-
.../tests/d/t_d_generator_reserved_word_tests.cc | 56 ++
.../cpp/tests/gv/t_gv_generator_const_tests.cc | 71 +++
.../cpp/tests/haxe/t_haxe_generator_const_tests.cc | 62 +++
composer.json | 2 +-
configure.ac | 19 +-
doc/ReleaseManagement.md | 187 ++++++-
doc/install/os_x.md | 88 ++-
doc/specs/thrift-tconfiguration.md | 28 +-
lib/Makefile.am | 2 +
lib/c_glib/CMakeLists.txt | 2 +-
.../src/thrift/c_glib/protocol/thrift_protocol.c | 75 ++-
.../src/thrift/c_glib/protocol/thrift_protocol.h | 15 +
.../thrift/c_glib/thrift_application_exception.c | 2 +
lib/c_glib/src/thrift/c_glib/thrift_struct.c | 22 +-
.../c_glib/transport/thrift_buffered_transport.c | 2 +
.../thrift/c_glib/transport/thrift_fd_transport.c | 2 +-
.../c_glib/transport/thrift_framed_transport.c | 19 +-
.../thrift/c_glib/transport/thrift_memory_buffer.c | 2 +
.../thrift/c_glib/transport/thrift_server_socket.c | 2 +
.../src/thrift/c_glib/transport/thrift_socket.c | 2 +
.../c_glib/transport/thrift_zlib_transport.c | 17 +-
lib/c_glib/test/CMakeLists.txt | 18 +
lib/c_glib/test/Makefile.am | 28 +-
.../test/RecursionLimitTest.thrift} | 15 +-
lib/c_glib/test/testfinalize.c | 174 ++++++
lib/c_glib/test/testframedtransport.c | 185 +++++++
lib/c_glib/test/testrecursionlimit.c | 317 +++++++++++
lib/c_glib/test/testzlibtransport.c | 170 ++++++
lib/cpp/src/thrift/async/TEvhttpServer.cpp | 21 +-
lib/cpp/src/thrift/transport/THeaderTransport.cpp | 34 +-
lib/cpp/test/CMakeLists.txt | 9 +
lib/cpp/test/Makefile.am | 14 +-
lib/cpp/test/TEvhttpServerRequestContextTest.cpp | 301 ++++++++++
lib/cpp/test/ThrifttReadCheckTests.cpp | 57 ++
lib/d/Makefile.am | 4 +-
lib/dart/lib/src/protocol/t_binary_protocol.dart | 4 +
lib/dart/lib/src/protocol/t_json_protocol.dart | 17 +-
lib/dart/test/protocol/t_declared_length_test.dart | 65 +++
.../test/protocol/t_json_string_length_test.dart | 146 +++++
lib/delphi/src/Thrift.Collections.pas | 2 +-
lib/delphi/test/serializer/TestSerializer.Data.pas | 8 +-
lib/erl/README.md | 36 ++
lib/erl/include/thrift_constants.hrl | 6 +
lib/erl/src/thrift_framed_transport.erl | 39 +-
lib/erl/src/thrift_http_transport.erl | 243 ++++++++-
lib/erl/src/thrift_protocol.erl | 132 +++--
lib/erl/test/test_thrift_framed_transport.erl | 24 +
lib/erl/test/test_thrift_http_transport.erl | 606 ++++++++++++++++++++-
lib/erl/test/test_thrift_read_depth.erl | 152 ++++++
lib/go/README.md | 9 +
.../TBase.java => go/test/DocCommentTest.thrift} | 55 +-
lib/go/test/Makefile.am | 5 +-
lib/go/test/tests/union_default_value_test.go | 29 +-
lib/go/thrift/binary_protocol.go | 6 +
lib/go/thrift/binary_protocol_test.go | 65 +++
lib/go/thrift/configuration.go | 30 +-
lib/go/thrift/framed_transport.go | 12 +-
lib/go/thrift/framed_transport_test.go | 47 ++
lib/go/thrift/header_transport.go | 58 +-
lib/go/thrift/header_transport_test.go | 144 +++++
lib/go/thrift/max_container_size_test.go | 232 ++++++++
lib/java/src/crossTest/resources/.clientkeystore | Bin 3142 -> 2878 bytes
.../thrift/server/AbstractNonblockingServer.java | 77 ++-
.../thrift/server/TSaslNonblockingServer.java | 86 ++-
.../transport/sasl/NonblockingSaslHandler.java | 2 +
.../TestNonblockingServerReadBufferLimit.java | 309 +++++++++++
.../TestSaslNonblockingServerConnectionErrors.java | 290 ++++++++++
.../TestSaslNonblockingServerEvaluateFailure.java | 239 ++++++++
.../org/apache/thrift/protocol/TJSONProtocol.java | 31 ++
lib/javame/test/TestJSONStringLengthLimits.java | 271 +++++++++
lib/js/Gruntfile.js | 3 +-
lib/js/src/thrift.js | 4 +-
lib/js/test/build.xml | 6 +-
lib/js/test/deep-constructor.test.js | 4 +-
lib/js/test/phantom-client.js | 2 +-
lib/js/test/test-nojq.js | 17 +
lib/js/test/test.js | 2 +-
lib/lua/Makefile.am | 36 +-
lib/lua/TBinaryProtocol.lua | 4 +
lib/lua/TFramedTransport.lua | 15 +-
lib/lua/THttpTransport.lua | 43 +-
lib/lua/TJsonProtocol.lua | 71 ++-
lib/lua/TSocket.lua | 5 +-
lib/lua/src/usocket.c | 18 +-
lib/lua/test/test_frame_and_string_limits.lua | 460 ++++++++++++++++
lib/lua/test/test_http_headers.lua | 94 ++++
lib/lua/test/test_json_escapes.lua | 227 ++++++++
lib/lua/test/test_socket_send.c | 236 ++++++++
lib/lua/test/test_socket_write.lua | 96 ++++
lib/nodejs/lib/thrift/header_transport.js | 12 +-
lib/nodejs/lib/thrift/json_protocol.js | 43 +-
lib/nodejs/lib/thrift/multiplexed_processor.js | 2 +-
lib/nodejs/lib/thrift/server.js | 20 +-
lib/nodejs/lib/thrift/web_server.js | 5 +
lib/nodejs/lib/thrift/ws_transport.js | 2 +-
lib/nodejs/lib/thrift/xhr_connection.js | 31 +-
lib/nodejs/test/connection_transport.test.js | 58 ++
lib/nodejs/test/header.test.js | 61 +++
lib/nodejs/test/json_container_size.test.js | 268 +++++++++
lib/nodejs/test/multiplexed_processor.test.js | 98 ++++
lib/nodejs/test/server_error_events.test.js | 202 +++++++
lib/nodejs/test/testAll.sh | 4 +
lib/nodejs/test/web_server_ws.test.js | 35 ++
lib/ocaml/src/TSimpleServer.ml | 2 +-
lib/ocaml/src/TThreadedServer.ml | 5 +-
lib/ocaml/src/Thrift.ml | 6 +-
lib/perl/build-cpan-dist.sh | 2 +-
lib/perl/lib/Thrift/FramedTransport.pm | 15 +-
lib/perl/lib/Thrift/SSLSocket.pm | 4 +-
lib/perl/lib/Thrift/Server.pm | 82 +--
lib/perl/lib/Thrift/Socket.pm | 17 +-
lib/perl/t/Makefile.am | 4 +-
lib/perl/t/forking_server_fork_failure.t | 122 +++++
lib/perl/t/framed_transport.t | 143 +++++
lib/perl/t/server_connection_errors.t | 146 +++++
lib/perl/t/socket_write.t | 227 ++++++++
lib/php/README.md | 8 +-
lib/php/lib/Factory/TJSONProtocolFactory.php | 7 +-
lib/php/lib/Protocol/TJSONProtocol.php | 21 +-
lib/php/lib/Protocol/TProtocol.php | 22 +-
lib/php/lib/Server/TForkingServer.php | 6 +-
lib/php/lib/Server/TSSLServerSocket.php | 18 -
lib/php/lib/Server/TSimpleServer.php | 31 +-
lib/php/lib/Transport/TCurlClient.php | 91 +++-
lib/php/lib/Transport/TFramedTransport.php | 29 +-
lib/php/lib/Transport/TMemoryBuffer.php | 33 +-
lib/php/lib/Transport/TPsrHttpClient.php | 16 +-
lib/php/lib/Transport/TSSLSocket.php | 10 +-
lib/php/lib/Transport/TSocket.php | 139 +----
lib/php/lib/Transport/TSocketPool.php | 10 +-
lib/php/lib/Transport/TTransport.php | 27 +
lib/php/phpunit.xml | 1 -
.../ext/thrift_protocol/php_thrift_protocol.cpp | 46 ++
.../ext/thrift_protocol/tests/string_field.phpt | 6 +-
.../thrift_protocol/tests/string_size_limit.phpt | 139 +++++
.../Lib/ClassLoader/ThriftClassLoaderTest.php | 4 +-
.../Lib/Protocol/RecursionDepthInlinedTest.php | 254 +++++++++
.../Lib/Transport/TCurlClientRedirectTest.php | 226 ++++++++
lib/php/test/Makefile.am | 2 +
.../TBinaryProtocolAcceleratedFactoryTest.php | 12 +-
.../Lib/Factory/TBinaryProtocolFactoryTest.php | 10 +-
.../Lib/Factory/TCompactProtocolFactoryTest.php | 6 +-
.../Lib/Factory/TFramedTransportFactoryTest.php | 13 +-
.../Unit/Lib/Factory/TJSONProtocolFactoryTest.php | 6 +-
.../Unit/Lib/Protocol/JsonStringSizeLimitTest.php | 211 +++++++
.../test/Unit/Lib/Protocol/TBinaryProtocolTest.php | 8 +-
.../Unit/Lib/Protocol/TCompactProtocolTest.php | 76 ++-
.../test/Unit/Lib/Protocol/TJSONProtocolTest.php | 9 +-
lib/php/test/Unit/Lib/Protocol/TProtocolTest.php | 41 ++
lib/php/test/Unit/Lib/ReflectionHelper.php | 94 ----
.../Unit/Lib/Serializer/TBinarySerializerTest.php | 9 +-
.../Fixture/ConnectionStub.php} | 26 +-
.../Unit/Lib/Server/Fixture/CountingProcessor.php | 72 +++
...TransportStub.php => QueuedServerTransport.php} | 26 +-
.../test/Unit/Lib/Server/TForkingServerTest.php | 120 +++-
.../test/Unit/Lib/Server/TSSLServerSocketTest.php | 38 +-
lib/php/test/Unit/Lib/Server/TServerSocketTest.php | 11 +-
lib/php/test/Unit/Lib/Server/TServerTest.php | 28 +-
lib/php/test/Unit/Lib/Server/TSimpleServerTest.php | 96 ++++
.../test/Unit/Lib/Transport/SmallReadCostTest.php | 133 +++++
.../Unit/Lib/Transport/TBufferedTransportTest.php | 30 +-
.../test/Unit/Lib/Transport/TCurlClientTest.php | 223 ++++++--
.../Unit/Lib/Transport/TFramedTransportTest.php | 64 ++-
.../test/Unit/Lib/Transport/THttpClientTest.php | 20 +-
.../test/Unit/Lib/Transport/TMemoryBufferTest.php | 48 ++
.../test/Unit/Lib/Transport/TPsrHttpClientTest.php | 55 +-
lib/php/test/Unit/Lib/Transport/TSSLSocketTest.php | 132 +----
.../test/Unit/Lib/Transport/TSocketPoolTest.php | 89 ++-
lib/php/test/Unit/Lib/Transport/TSocketTest.php | 256 +++------
lib/php/test/Unit/Lib/UserDeprecationCapture.php | 52 --
lib/php/test/bootstrap.php | 1 +
lib/py/CMakeLists.txt | 1 +
lib/py/Makefile.am | 5 +
lib/py/README.md | 18 +-
lib/py/src/ext/protocol.tcc | 18 +-
lib/py/src/protocol/TJSONProtocol.py | 15 +-
lib/py/src/protocol/TProtocol.py | 94 ++--
lib/py/src/server/TNonblockingServer.py | 6 +-
lib/py/src/transport/TSSLSocket.py | 30 +-
lib/py/src/transport/TZlibTransport.py | 10 +-
lib/py/src/transport/sslcompat.py | 21 +-
lib/py/test/test_container_sizing.py | 195 ++++++-
.../test_nonblocking_server_select_progress.py | 158 ++++++
lib/py/test/test_recursion_depth.py | 138 ++++-
lib/py/test/test_sslsocket.py | 118 +++-
.../test/test_thrift_file/RecursiveDynamic.thrift} | 30 +-
lib/py/test/thrift_TZlibTransport.py | 85 +++
lib/py/test/thrift_json.py | 43 +-
lib/rb/lib/thrift/protocol/json_protocol.rb | 14 +-
lib/rb/lib/thrift/server/base_server.rb | 10 +-
lib/rb/lib/thrift/server/simple_server.rb | 6 +
lib/rb/lib/thrift/transport/header_transport.rb | 5 +
lib/rb/spec/header_transport_spec.rb | 17 +
lib/rb/spec/server_spec.rb | 64 +++
lib/rb/spec/string_size_limit_spec.rb | 114 ++++
lib/rs/src/protocol/binary.rs | 79 ++-
lib/rs/src/protocol/compact.rs | 40 +-
lib/rs/src/protocol/mod.rs | 207 ++++++-
lib/rs/src/protocol/stored.rs | 4 +
lib/rs/src/server/threaded.rs | 97 +++-
lib/rs/src/transport/socket.rs | 10 +-
lib/st/README.md | 25 +
lib/st/test/TProtocolRecursionDepthTest.st | 13 +-
lib/st/test/TProtocolShortReadTest.st | 164 ++++++
lib/st/test/TTransportReadAllTest.st | 143 +++++
lib/st/test/run-tests.sh | 166 ++++++
lib/st/thrift.st | 41 +-
lib/ts/Gruntfile.js | 3 +-
package-lock.json | 569 ++++++++++++++-----
test/c_glib/CMakeLists.txt | 2 +-
test/features/index.html | 6 +-
test/go/src/bin/testclient/main.go | 3 +-
test/go/src/common/client.go | 19 +-
test/go/src/common/clientserver_test.go | 2 +-
test/go/src/common/context_test.go | 2 +-
test/index.html | 6 +-
test/keys/README.md | 48 +-
test/keys/client_v3.crt | 29 +-
test/known_failures_Linux.json | 18 -
test/php/TestClient.php | 3 +-
test/tests.json | 3 +-
tutorial/js/tutorial.html | 2 +-
284 files changed, 17454 insertions(+), 2438 deletions(-)
create mode 100644 .github/workflows/chocolatey.yml
create mode 100644 .github/workflows/dotnet-tool.yml
create mode 100644 .github/workflows/windows-packages.yml
create mode 100644 .github/workflows/winget.yml
delete mode 100644 build/docker/ubuntu-focal/Dockerfile
create mode 100644 build/windows/README.md
create mode 100644 build/windows/build-chocolatey-package.ps1
create mode 100644 build/windows/build-dotnet-tool.ps1
create mode 100644 build/windows/build-installer.ps1
create mode 100644 build/windows/build-winget-manifests.ps1
create mode 100644 build/windows/check-compiler-imports-tests.ps1
create mode 100644 build/windows/check-compiler-imports.ps1
create mode 100644 build/windows/chocolatey/test-chocolatey-package.ps1
create mode 100644 build/windows/chocolatey/thrift.nuspec.in
create mode 100644 build/windows/chocolatey/tools/chocolateyinstall.ps1.in
create mode 100644 build/windows/dotnet-tool/Apache.Thrift.Compiler.csproj
create mode 100644 build/windows/dotnet-tool/Program.cs
create mode 100644 build/windows/dotnet-tool/README.md
create mode 100644 build/windows/dotnet-tool/test-dotnet-tool.ps1
create mode 100644 build/windows/installer/test-installer.ps1
create mode 100644 build/windows/installer/thrift.iss
create mode 100644 build/windows/winget/Apache.Thrift.installer.yaml.in
create mode 100644 build/windows/winget/Apache.Thrift.locale.en-US.yaml.in
copy lib/delphi/test/maketest.sh => build/windows/winget/Apache.Thrift.yaml.in
(78%)
mode change 100755 => 100644
create mode 100644 build/windows/winget/test-winget-manifests.ps1
create mode 100644 build/windows/winget/validate_manifests.py
create mode 100644 compiler/cpp/tests/d/t_d_generator_reserved_word_tests.cc
create mode 100644 compiler/cpp/tests/gv/t_gv_generator_const_tests.cc
create mode 100644 compiler/cpp/tests/haxe/t_haxe_generator_const_tests.cc
copy lib/{php/test/Resources/RecursionDepth.thrift =>
c_glib/test/RecursionLimitTest.thrift} (77%)
create mode 100644 lib/c_glib/test/testfinalize.c
create mode 100644 lib/c_glib/test/testrecursionlimit.c
create mode 100644 lib/cpp/test/TEvhttpServerRequestContextTest.cpp
create mode 100644 lib/dart/test/protocol/t_json_string_length_test.dart
create mode 100644 lib/erl/test/test_thrift_read_depth.erl
copy lib/{javame/src/org/apache/thrift/TBase.java =>
go/test/DocCommentTest.thrift} (52%)
create mode 100644 lib/go/thrift/max_container_size_test.go
create mode 100644
lib/java/src/test/java/org/apache/thrift/server/TestNonblockingServerReadBufferLimit.java
create mode 100644
lib/java/src/test/java/org/apache/thrift/server/TestSaslNonblockingServerConnectionErrors.java
create mode 100644
lib/java/src/test/java/org/apache/thrift/server/TestSaslNonblockingServerEvaluateFailure.java
create mode 100644 lib/javame/test/TestJSONStringLengthLimits.java
create mode 100644 lib/lua/test/test_json_escapes.lua
create mode 100644 lib/lua/test/test_socket_send.c
create mode 100644 lib/lua/test/test_socket_write.lua
create mode 100644 lib/nodejs/test/connection_transport.test.js
create mode 100644 lib/nodejs/test/json_container_size.test.js
create mode 100644 lib/nodejs/test/multiplexed_processor.test.js
create mode 100644 lib/nodejs/test/server_error_events.test.js
create mode 100644 lib/perl/t/forking_server_fork_failure.t
create mode 100644 lib/perl/t/framed_transport.t
create mode 100644 lib/perl/t/server_connection_errors.t
create mode 100644 lib/perl/t/socket_write.t
create mode 100644 lib/php/src/ext/thrift_protocol/tests/string_size_limit.phpt
create mode 100644
lib/php/test/Integration/Lib/Protocol/RecursionDepthInlinedTest.php
create mode 100644
lib/php/test/Integration/Lib/Transport/TCurlClientRedirectTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/JsonStringSizeLimitTest.php
delete mode 100644 lib/php/test/Unit/Lib/ReflectionHelper.php
copy lib/php/test/Unit/Lib/{Transport/Fixture/BufferedReadTransport.php =>
Server/Fixture/ConnectionStub.php} (67%)
create mode 100644 lib/php/test/Unit/Lib/Server/Fixture/CountingProcessor.php
copy lib/php/test/Unit/Lib/Server/Fixture/{ServerTransportStub.php =>
QueuedServerTransport.php} (62%)
create mode 100644 lib/php/test/Unit/Lib/Transport/SmallReadCostTest.php
delete mode 100644 lib/php/test/Unit/Lib/UserDeprecationCapture.php
create mode 100644 lib/py/test/test_nonblocking_server_select_progress.py
copy lib/{go/test/NamesTest.thrift =>
py/test/test_thrift_file/RecursiveDynamic.thrift} (63%)
create mode 100644 lib/st/test/TProtocolShortReadTest.st
create mode 100644 lib/st/test/TTransportReadAllTest.st
create mode 100755 lib/st/test/run-tests.sh