This is an automated email from the ASF dual-hosted git repository.
jensg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 6a797b984 Follow-Up fix for THRIFT-5618 More consistent naming of
container classes Client: delphi Patch: Jens Geyer
add 62445c1d2 THRIFT-5591 Add uuid type to IDL and implement reference
code (+ improved self-tests) Client: compiler general, netstd, Delphi Patch:
Jens Geyer
add 4a147ad9d Add uuid type to XSD Client: xml Patch: Jens Geyer
add 18564d29c THRIFT-5593 Implement uuid for Haxe Client: hx Patch: Jens
Geyer
add 3f4fa2947 THRIFT-5587 add uuid support for java and kotlin Client:
java, kt Patch: Jiayu Liu
add f066d84ff Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to
allow for merging the partially completed uuid implementation to master
No new revisions were added by this update.
Summary of changes:
.gitignore | 8 +-
compiler/cpp/src/thrift/common.cc | 4 +
compiler/cpp/src/thrift/common.h | 1 +
.../cpp/src/thrift/generate/t_c_glib_generator.cc | 2 +
.../cpp/src/thrift/generate/t_cpp_generator.cc | 28 ++---
compiler/cpp/src/thrift/generate/t_d_generator.cc | 10 +-
.../cpp/src/thrift/generate/t_dart_generator.cc | 6 ++
.../cpp/src/thrift/generate/t_delphi_generator.cc | 20 ++++
.../cpp/src/thrift/generate/t_erl_generator.cc | 4 +
compiler/cpp/src/thrift/generate/t_go_generator.cc | 10 ++
.../cpp/src/thrift/generate/t_haxe_generator.cc | 23 ++++
.../cpp/src/thrift/generate/t_java_generator.cc | 49 ++++++---
.../cpp/src/thrift/generate/t_javame_generator.cc | 4 +
compiler/cpp/src/thrift/generate/t_js_generator.cc | 5 +
.../cpp/src/thrift/generate/t_kotlin_generator.cc | 10 ++
.../cpp/src/thrift/generate/t_lua_generator.cc | 2 +
.../src/thrift/generate/t_markdown_generator.cc | 2 +-
.../cpp/src/thrift/generate/t_netstd_generator.cc | 18 +++-
.../cpp/src/thrift/generate/t_ocaml_generator.cc | 4 +
.../cpp/src/thrift/generate/t_perl_generator.cc | 6 +-
.../cpp/src/thrift/generate/t_php_generator.cc | 10 +-
compiler/cpp/src/thrift/generate/t_py_generator.cc | 2 +
compiler/cpp/src/thrift/generate/t_rb_generator.cc | 2 +
compiler/cpp/src/thrift/generate/t_rs_generator.cc | 10 ++
compiler/cpp/src/thrift/generate/t_st_generator.cc | 2 +
.../cpp/src/thrift/generate/t_swift_generator.cc | 8 +-
compiler/cpp/src/thrift/main.cc | 6 ++
compiler/cpp/src/thrift/parse/t_base_type.h | 6 ++
compiler/cpp/src/thrift/parse/t_const_value.h | 39 +++++++
compiler/cpp/src/thrift/parse/t_scope.h | 3 +
compiler/cpp/src/thrift/parse/t_type.h | 1 +
compiler/cpp/src/thrift/thriftl.ll | 1 +
compiler/cpp/src/thrift/thrifty.yy | 6 ++
debian/copyright | 1 +
lib/c_glib/test/CMakeLists.txt | 6 +-
lib/c_glib/test/Makefile.am | 6 +-
lib/cpp/test/CMakeLists.txt | 4 +-
lib/cpp/test/Makefile.am | 4 +-
lib/d/test/Makefile.am | 4 +-
lib/delphi/src/Thrift.Protocol.Compact.pas | 28 ++++-
lib/delphi/src/Thrift.Protocol.JSON.pas | 17 +++
lib/delphi/src/Thrift.Protocol.pas | 43 +++++++-
lib/delphi/src/Thrift.Utils.pas | 118 +++++++++++++++++++++
lib/delphi/test/TestClient.pas | 13 ++-
lib/delphi/test/TestServer.pas | 7 ++
lib/delphi/test/client.dproj | 24 +----
lib/delphi/test/serializer/TestSerializer.Data.pas | 4 +
.../test/serializer/TestSerializer.Tests.pas | 10 +-
lib/delphi/test/server.dproj | 23 +---
lib/erl/Makefile.am | 4 +-
lib/go/test/Makefile.am | 2 +-
lib/haxe/haxelib.json | 3 +-
lib/haxe/src/org/apache/thrift/helper/Int64Map.hx | 4 +-
.../{transport/TStream.hx => helper/UuidHelper.hx} | 30 ++++--
.../org/apache/thrift/protocol/TBinaryProtocol.hx | 17 +++
.../org/apache/thrift/protocol/TCompactProtocol.hx | 22 +++-
.../org/apache/thrift/protocol/TCompactTypes.hx | 1 +
.../org/apache/thrift/protocol/TJSONProtocol.hx | 17 ++-
.../src/org/apache/thrift/protocol/TProtocol.hx | 3 +-
lib/haxe/src/org/apache/thrift/protocol/TType.hx | 1 +
lib/haxe/test/cpp.hxml | 6 +-
lib/haxe/test/csharp.hxml | 6 +-
lib/haxe/test/flash.hxml | 6 +-
lib/haxe/test/java.hxml | 6 +-
lib/haxe/test/javascript.hxml | 6 +-
lib/haxe/test/neko.hxml | 6 +-
lib/haxe/test/php.hxml | 6 +-
lib/haxe/test/python.hxml | 6 +-
lib/haxe/test/src/Main.hx | 4 +
lib/haxe/test/src/MultiplexTest.hx | 4 +-
lib/haxe/test/src/StreamTest.hx | 2 +
lib/java/gradle.properties | 6 ++
.../java/org/apache/thrift/test/TestClient.java | 10 ++
.../apache/thrift/protocol/TBinaryProtocol.java | 64 ++++++++++-
.../apache/thrift/protocol/TCompactProtocol.java | 44 ++++++--
.../org/apache/thrift/protocol/TJSONProtocol.java | 21 +++-
.../apache/thrift/protocol/TProtocolDecorator.java | 11 ++
.../org/apache/thrift/protocol/TProtocolUtil.java | 4 +
.../org/apache/thrift/protocol/TReadProtocol.java | 3 +
.../thrift/protocol/TSimpleJSONProtocol.java | 11 ++
.../java/org/apache/thrift/protocol/TType.java | 1 +
.../org/apache/thrift/protocol/TWriteProtocol.java | 3 +
.../test/java/org/apache/thrift/TestStruct.java | 5 +-
.../apache/thrift/protocol/ProtocolTestBase.java | 32 ++++++
.../org/apache/thrift/server/ServerTestBase.java | 12 +++
lib/java/src/test/resources/JavaTypes.thrift | 4 +
lib/js/Gruntfile.js | 12 +--
lib/js/test/build.xml | 4 +-
lib/json/schema.json | 5 +-
lib/json/test/build.xml | 2 +-
.../kotlin/org/apache/thrift/test/TestHandler.kt | 7 ++
.../optional_required_default.thrift | 25 +++--
.../Tests/Thrift.Tests/DataModel/DeepCopy.cs | 38 ++++++-
.../Tests/Thrift.Tests/DataModel/NullValuesSet.cs | 28 ++---
lib/netstd/Thrift/Protocol/Entities/TType.cs | 5 +-
lib/netstd/Thrift/Protocol/TBinaryProtocol.cs | 20 ++++
lib/netstd/Thrift/Protocol/TCompactProtocol.cs | 71 ++++++++-----
lib/netstd/Thrift/Protocol/TJSONProtocol.cs | 10 ++
lib/netstd/Thrift/Protocol/TProtocol.cs | 3 +
lib/netstd/Thrift/Protocol/TProtocolDecorator.cs | 10 ++
.../Thrift/Protocol/Utilities/TGuidExtensions.cs | 82 ++++++++++++++
.../Protocol/Utilities/TJsonProtocolConstants.cs | 5 +-
.../Protocol/Utilities/TJsonProtocolHelper.cs | 9 +-
.../Thrift/Protocol/Utilities/TProtocolUtil.cs | 3 +
lib/nodejs/Makefile.am | 4 +-
lib/nodejs/test/testAll.sh | 4 +-
lib/nodets/Makefile.am | 4 +-
lib/nodets/test/runClient.sh | 4 +-
lib/nodets/test/runServer.sh | 4 +-
lib/nodets/test/testAll.sh | 4 +-
lib/perl/Makefile.am | 2 +-
lib/php/test/Makefile.am | 4 +-
lib/php/test/TestValidators.thrift | 2 +-
lib/rb/Rakefile | 2 +-
lib/ts/Gruntfile.js | 4 +-
lib/ts/test/build.xml | 4 +-
lib/xml/thrift-idl.xsd | 1 +
test/ConstantsDemo.thrift | 2 +
test/DebugProtoTest.thrift | 1 +
test/Include.thrift | 2 +-
test/Makefile.am | 2 +
test/ReuseObjects.thrift | 2 +-
test/ThriftTest.thrift | 8 ++
test/c_glib/CMakeLists.txt | 2 +-
test/c_glib/Makefile.am | 2 +-
test/cpp/CMakeLists.txt | 2 +-
test/cpp/Makefile.am | 2 +-
test/crossrunner/util.py | 2 +-
test/dart/Makefile.am | 4 +-
test/erl/Makefile.am | 2 +-
test/go/Makefile.am | 2 +-
test/haxe/TestClientServer.hxproj | 6 +-
test/haxe/cpp.hxml | 6 +-
test/haxe/csharp.hxml | 8 +-
test/haxe/flash.hxml | 8 +-
test/haxe/java.hxml | 8 +-
test/haxe/javascript.hxml | 8 +-
test/haxe/neko.hxml | 8 +-
test/haxe/php-web-server.hxml | 3 -
test/haxe/php.hxml | 3 -
test/haxe/python.hxml | 8 +-
test/haxe/src/TestClient.hx | 23 ++++
test/haxe/src/TestServerHandler.hx | 14 +++
test/lua/Makefile.am | 2 +-
test/netstd/Client/TestClient.cs | 22 +++-
test/netstd/Server/Server.csproj | 2 +-
test/netstd/Server/TestServer.cs | 6 ++
test/perl/Makefile.am | 4 +-
test/php/Makefile.am | 8 +-
test/py.tornado/Makefile.am | 4 +-
test/py.twisted/Makefile.am | 4 +-
test/py/Makefile.am | 32 ++++--
test/py/generate.cmake | 28 ++---
test/rb/Makefile.am | 4 +-
test/rs/Makefile.am | 4 +-
test/{ => v0.16}/ConstantsDemo.thrift | 0
test/{ => v0.16}/DebugProtoTest.thrift | 0
test/{ => v0.16}/ThriftTest.thrift | 0
tutorial/Makefile.am | 2 +-
tutorial/haxe/cpp.hxml | 6 +-
tutorial/haxe/csharp.hxml | 6 +-
tutorial/haxe/flash.hxml | 6 +-
tutorial/haxe/java.hxml | 6 +-
tutorial/haxe/javascript.hxml | 6 +-
tutorial/haxe/neko.hxml | 6 +-
tutorial/haxe/php-web-server.hxml | 3 -
tutorial/haxe/php.hxml | 6 +-
tutorial/haxe/python.hxml | 6 +-
168 files changed, 1345 insertions(+), 365 deletions(-)
copy lib/haxe/src/org/apache/thrift/{transport/TStream.hx =>
helper/UuidHelper.hx} (61%)
create mode 100644 lib/netstd/Thrift/Protocol/Utilities/TGuidExtensions.cs
copy test/{ => v0.16}/ConstantsDemo.thrift (100%)
copy test/{ => v0.16}/DebugProtoTest.thrift (100%)
copy test/{ => v0.16}/ThriftTest.thrift (100%)