protobuf-go/internal/impl
Lasse Folger f102ec6532 all: add more test for editions and fix some bugs in the implementation
There are several minor fixes:
* fix the unmarshaler for the field options (it used the wrong field numbers).
* fix the unmarshaler to always initialize the file options with the appropriate defaults.
* fix the coder selection to work properly for fields with implicit presence tracking (they used the coders for explicit tracking).
* fix the dynamic message created from a descriptor for an editions using proto to use HasPresence instead of a syntax check for proto3

Change-Id: Ic13bc22a71aa9f93b476e5edd650d4d2ab5dcb98
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/564455
Auto-Submit: Michael Stapelberg <stapelberg@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
2024-02-16 14:47:55 +00:00
..
api_export.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
checkinit.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
codec_extension.go protoreflect: remove unnecessary cache so extension types can be GC'ed 2024-02-01 19:49:10 +00:00
codec_field.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
codec_gen.go internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
codec_map_go111.go
codec_map_go112.go
codec_map.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
codec_message.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
codec_messageset.go
codec_reflect.go
codec_tables.go all: add more test for editions and fix some bugs in the implementation 2024-02-16 14:47:55 +00:00
codec_unsafe.go
convert_list.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
convert_map.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
convert.go internal/impl: remove the unreachable line of code 2023-01-30 09:33:22 +00:00
decode.go
encode.go
enum_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
enum.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
extension_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
extension.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
lazy_test.go
legacy_aberrant_test.go
legacy_enum.go
legacy_export_test.go
legacy_export.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
legacy_extension.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
legacy_file_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
legacy_file.go
legacy_message.go all: avoid non-const reflect.MethodByName calls 2023-10-03 07:25:07 +00:00
legacy_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
merge_gen.go
merge.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
message_reflect_field.go internal/impl: correct reflect.ValueError use 2024-01-04 13:14:07 +00:00
message_reflect_gen.go
message_reflect_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
message_reflect.go all: reformat with go1.19 gofmt 2022-07-21 16:01:13 +00:00
message.go all: avoid non-const reflect.MethodByName calls 2023-10-03 07:25:07 +00:00
pointer_reflect.go internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
pointer_unsafe.go internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
validate.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
weak.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00