THRIFT-236. Structs should be serialized in a consistent order
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 10 Apr 2009 21:51:00 +0000 (21:51 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 10 Apr 2009 21:51:00 +0000 (21:51 +0000)
commitff219acb6c6ec434d48ceb78ec4b7e03141e27b5
tree63ffff1f527b747b51e1a8d993b3a0544a3122b5
parent5a5608893018529dfa5dba66070b26d7b33e9d7b
THRIFT-236. Structs should be serialized in a consistent order

2nd try at this issue. This time, we will use numeric field order ONLY for the serialization portion, instead of globally. This should make it much easier to produce the correctly ordered output in all cases.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@764072 13f79535-47bb-0310-9956-ffa450edef68
13 files changed:
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/generate/t_csharp_generator.cc
compiler/cpp/src/generate/t_hs_generator.cc
compiler/cpp/src/generate/t_java_generator.cc
compiler/cpp/src/generate/t_ocaml_generator.cc
compiler/cpp/src/generate/t_perl_generator.cc
compiler/cpp/src/generate/t_php_generator.cc
compiler/cpp/src/generate/t_py_generator.cc
compiler/cpp/src/generate/t_st_generator.cc
compiler/cpp/src/parse/t_field.h
compiler/cpp/src/parse/t_struct.h
compiler/cpp/src/thrifty.yy
test/DebugProtoTest.thrift