-
- Downloads
Integrate recent changes from google3.
protoc - New flags --encode and --decode can be used to convert between protobuf text format and binary format from the command-line. - New flag --descriptor_set_out can be used to write FileDescriptorProtos for all parsed files directly into a single output file. This is particularly useful if you wish to parse .proto files from programs written in languages other than C++: just run protoc as a background process and have it output a FileDescriptorList, then parse that natively. C++ - Reflection objects are now per-class rather than per-instance. To make this possible, the Reflection interface had to be changed such that all methods take the Message instance as a parameter. This change improves performance significantly in memory-bandwidth-limited use cases, since it makes the message objects smaller. Note that source-incompatible interface changes like this will not be made again after the library leaves beta. Python - MergeFrom(message) and CopyFrom(message) are now implemented. - SerializeToString() raises an exception if the message is missing required fields. - Code organization improvements. - Fixed doc comments for RpcController and RpcChannel, which had somehow been swapped.
Showing
- generate_descriptor_proto.sh 0 additions, 8 deletionsgenerate_descriptor_proto.sh
- python/google/protobuf/internal/reflection_test.py 217 additions, 3 deletionspython/google/protobuf/internal/reflection_test.py
- python/google/protobuf/message.py 49 additions, 1 deletionpython/google/protobuf/message.py
- python/google/protobuf/reflection.py 94 additions, 201 deletionspython/google/protobuf/reflection.py
- python/google/protobuf/service.py 18 additions, 18 deletionspython/google/protobuf/service.py
- src/google/protobuf/compiler/command_line_interface.cc 291 additions, 18 deletionssrc/google/protobuf/compiler/command_line_interface.cc
- src/google/protobuf/compiler/command_line_interface.h 28 additions, 0 deletionssrc/google/protobuf/compiler/command_line_interface.h
- src/google/protobuf/compiler/command_line_interface_unittest.cc 249 additions, 4 deletions...ogle/protobuf/compiler/command_line_interface_unittest.cc
- src/google/protobuf/compiler/cpp/cpp_file.cc 11 additions, 1 deletionsrc/google/protobuf/compiler/cpp/cpp_file.cc
- src/google/protobuf/compiler/cpp/cpp_helpers.cc 1 addition, 1 deletionsrc/google/protobuf/compiler/cpp/cpp_helpers.cc
- src/google/protobuf/compiler/cpp/cpp_message.cc 52 additions, 31 deletionssrc/google/protobuf/compiler/cpp/cpp_message.cc
- src/google/protobuf/compiler/cpp/cpp_unittest.cc 1 addition, 1 deletionsrc/google/protobuf/compiler/cpp/cpp_unittest.cc
- src/google/protobuf/compiler/parser.cc 13 additions, 13 deletionssrc/google/protobuf/compiler/parser.cc
- src/google/protobuf/descriptor.cc 3 additions, 3 deletionssrc/google/protobuf/descriptor.cc
- src/google/protobuf/descriptor.h 3 additions, 3 deletionssrc/google/protobuf/descriptor.h
- src/google/protobuf/descriptor.pb.cc 524 additions, 345 deletionssrc/google/protobuf/descriptor.pb.cc
- src/google/protobuf/descriptor.pb.h 195 additions, 91 deletionssrc/google/protobuf/descriptor.pb.h
- src/google/protobuf/descriptor.proto 6 additions, 0 deletionssrc/google/protobuf/descriptor.proto
- src/google/protobuf/dynamic_message.cc 150 additions, 93 deletionssrc/google/protobuf/dynamic_message.cc
- src/google/protobuf/dynamic_message_unittest.cc 5 additions, 5 deletionssrc/google/protobuf/dynamic_message_unittest.cc
Loading
Please register or sign in to comment