Joe Tsai
|
b9f5089fb9
all: update to latest google.golang.org/protobuf
|
5 lat temu |
Herbie Ong
|
63105e5dc8
proto: wrap v2 textproto marshal/unmarshal
|
5 lat temu |
Joe Tsai
|
59febcf6dd
proto: add hooks.go to switch-over to the new implementation
|
5 lat temu |
Joe Tsai
|
2d5f4c3ffd
internal/proto: implement DiscardUnknown with reflection
|
5 lat temu |
Joe Tsai
|
2c64b6c2af
internal/proto: implement SetDefaults with reflection
|
5 lat temu |
Joe Tsai
|
f015b0719f
all: use short license header form
|
6 lat temu |
Joe Tsai
|
aa810b61a9
proto: fix handling of required fields after multiple violations (#679)
|
6 lat temu |
Joe Tsai
|
f5983d50c8
proto: make invalid UTF-8 errors non-fatal (#660)
|
6 lat temu |
Joe Tsai
|
11bd559057
proto: revert strict erroring of deterministic and custom marshalers (#658)
|
6 lat temu |
Joe Tsai
|
427e165155
proto: fix and cleanup test for deterministic marshal with custom marshalers (#656)
|
6 lat temu |
jmarais
|
70b3af3337
proto: return errors when using deterministic marshaling with custom Marshalers
|
6 lat temu |
Joe Tsai
|
05f48f4eaf
proto: revert UTF-8 validation for proto2 (#628)
|
6 lat temu |
Rhys Hiltner
|
fae8ec697c
proto: amortize cost of growing a Buffer (#584)
|
6 lat temu |
Joe Tsai
|
91cccdb44a
proto: do not allow unknown fields to satisfy required field bit (#565)
|
6 lat temu |
Joe Tsai
|
e6af52bec8
proto: treat bad wire types as unknown fields (#511)
|
6 lat temu |
Joe Tsai
|
35253352f9
proto: reject invalid UTF-8 in strings (#499)
|
6 lat temu |
Tamir Duberstein
|
5c7dd3329b
Simplify code (#314)
|
7 lat temu |
Damien Neil
|
1ec9e17d4d
Fix uint64->int overflow in table unmarshal (#461)
|
7 lat temu |
Tamir Duberstein
|
3ffccb49d8
Remove unused code (#313)
|
7 lat temu |
Joe Tsai
|
8cc9e46429
Upstream internal Google protobuf changes
|
7 lat temu |
bcmills
|
df1d3ca07d
proto: In Size, don't double-count the tagcode for structs that implement Marshaler.
|
8 lat temu |
Damien Neil
|
874264fbbb
proto: check for required fields when unmarshalling groups
|
8 lat temu |
matloob@google.com
|
9e6977f30c
proto: fix equality to work with V1 generated format
|
8 lat temu |
Bryan Mills
|
8d92cf5fc1
Add specific error for oneof with nil element.
|
8 lat temu |
Michael Matloob
|
cde632b2df
Use the zero value when decoding a map element that is missing its key or value.
|
8 lat temu |
David Symonds
|
0c959e80d8
Fix dec_slice_packed_bool when bools are inefficiently encoded.
|
9 lat temu |
David Symonds
|
59b73b37c1
Implement oneof support.
|
9 lat temu |
David Symonds
|
68c687dc49
Fix handling of RequiredNotSetError being returned by fields that implement Marshaler.
|
9 lat temu |
David Symonds
|
cab84a3485
Return a descriptive error when a map field has a nil element.
|
9 lat temu |
David Symonds
|
de8c523226
Implement SetDefaults for maps. Skip proto3 scalar fields instead of panicking.
|
9 lat temu |