[chapel-lang/chapel] Protobuf: Add support for Any message type, Maps a

Branch: refs/heads/master
Revision: ff3013b
Author: mppf
Log Message:

Merge pull request #16309 from Aniket21mathur/protobuf2

Protobuf: Add support for Any message type, Maps and Oneofs

[PR by @Aniket21mathur - thanks! Tested by @mppf; reviewed by @astatide and @mppf]

This PR adds support for following features to Protobuf ->

  • Any message type
  • Maps
  • Oneofs

The user guide is also updated accordingly.

Modified Files:
A test/library/packages/ProtobufProtocolSupport/anyRunner.chpl
A test/library/packages/ProtobufProtocolSupport/anyRunner.good
A test/library/packages/ProtobufProtocolSupport/anyRunner.skipif
A test/library/packages/ProtobufProtocolSupport/endToEnd/any/protoFile/any.proto
A test/library/packages/ProtobufProtocolSupport/endToEnd/any/read.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/any/read.py
A test/library/packages/ProtobufProtocolSupport/endToEnd/any/write.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/any/write.py
A test/library/packages/ProtobufProtocolSupport/endToEnd/maps/protoFile/maps.proto
A test/library/packages/ProtobufProtocolSupport/endToEnd/maps/read.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/maps/read.py
A test/library/packages/ProtobufProtocolSupport/endToEnd/maps/write.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/maps/write.py
A test/library/packages/ProtobufProtocolSupport/endToEnd/oneofs/protoFile/oneofs.proto
A test/library/packages/ProtobufProtocolSupport/endToEnd/oneofs/read.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/oneofs/read.py
A test/library/packages/ProtobufProtocolSupport/endToEnd/oneofs/write.chpl
A test/library/packages/ProtobufProtocolSupport/endToEnd/oneofs/write.py
A test/library/packages/ProtobufProtocolSupport/mapsRunner.chpl
A test/library/packages/ProtobufProtocolSupport/mapsRunner.good
A test/library/packages/ProtobufProtocolSupport/mapsRunner.skipif
A test/library/packages/ProtobufProtocolSupport/oneofsRunner.chpl
A test/library/packages/ProtobufProtocolSupport/oneofsRunner.good
A test/library/packages/ProtobufProtocolSupport/oneofsRunner.skipif
A tools/protoc-gen-chpl/map_field.cpp
A tools/protoc-gen-chpl/map_field.h
M doc/rst/tools/protoc-gen-chpl/protoc-gen-chpl.rst
M modules/packages/ProtobufProtocolSupport.chpl
M tools/protoc-gen-chpl/enum_field.cpp
M tools/protoc-gen-chpl/enum_field.h
M tools/protoc-gen-chpl/field_base.cpp
M tools/protoc-gen-chpl/field_base.h
M tools/protoc-gen-chpl/helpers.cpp
M tools/protoc-gen-chpl/helpers.h
M tools/protoc-gen-chpl/message.cpp
M tools/protoc-gen-chpl/message_field.cpp
M tools/protoc-gen-chpl/message_field.h
M tools/protoc-gen-chpl/primitive_field.cpp
M tools/protoc-gen-chpl/primitive_field.h
M tools/protoc-gen-chpl/reflection_class.cpp

Compare: https://github.com/chapel-lang/chapel/compare/35aba6fb4f9d...ff3013b1e5f6