protobuf-go/internal/impl
Joe Tsai d888139e7b internal/filedesc, internal/filetype: initial commit
The internal/fileinit package is split apart into two packages:
* internal/filedesc constructs descriptors from the raw proto.
It is very similar to the previous internal/fileinit package.
* internal/filetype wraps descriptors with Go type information

Overview:
* The internal/fileinit package will be deleted in a future CL.
It is kept around since the v1 repo currently depends on it.
* The internal/prototype package is deleted. All former usages of it
are now using internal/filedesc instead. Most significantly,
the reflect/protodesc package was almost entirely re-written.
* The internal/impl package drops support for messages that do not
have a Descriptor method (pre-2016). This removes a significant amount
of technical debt.
filedesc.Builder to parse raw descriptors.
* The internal/encoding/defval package now handles enum values by name.

Change-Id: I3957bcc8588a70470fd6c7de1122216b80615ab7
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/182360
Reviewed-by: Damien Neil <dneil@google.com>
2019-06-20 02:06:11 +00:00
..
api_export.go internal/impl: move legacy files into impl 2019-05-22 19:40:32 +00:00
codec_extension.go internal/impl: unexport ExtensionField.Desc 2019-06-05 20:15:29 +00:00
codec_field.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_field.go internal/impl: handle irregular messages implementing proto.Message 2019-06-14 22:25:26 +00:00
encode_gen.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_map_go111.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_map_go112.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_map.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_reflect.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode_unsafe.go internal/impl: add fast-path marshal implementation 2019-05-16 22:13:43 +00:00
encode.go internal/impl: abstract away ExtensionDescV1 as the underlying descriptor 2019-06-05 19:53:14 +00:00
legacy_enum.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
legacy_export_test.go all: move v1 types over to the v2 repository 2019-03-22 20:01:07 +00:00
legacy_export.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
legacy_extension.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
legacy_file_test.go reflect/protoreflect: remove FieldDescriptor.{Oneof,Extendee} methods 2019-06-17 19:43:30 +00:00
legacy_file.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
legacy_message.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
legacy_test.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
message_field.go reflect/protoreflect: add alternative message reflection API 2019-06-17 17:33:24 +00:00
message_test.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
message.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
pointer_reflect.go internal/impl: abstract away ExtensionDescV1 as the underlying descriptor 2019-06-05 19:53:14 +00:00
pointer_unsafe.go internal/impl: abstract away ExtensionDescV1 as the underlying descriptor 2019-06-05 19:53:14 +00:00