Commit Graph

  • 17ce142542 README: specify syntax in proto example. (#417) Hüseyin Mert 2017-09-02 03:04:52 +03:00
  • 5afd06f9d8 jsonpb: add support for custom resolution of Any messages to/from JSON (#410) Joshua Humphries 2017-09-01 00:27:39 -04:00
  • 83cd65fc36 Add tests for Go 1.9 (#421) Grayson Koonce 2017-08-30 18:06:43 -07:00
  • ab9f9a6dab changed registered paths for WKT to use proto import path google/protobuf/... (#412) Joshua Humphries 2017-08-15 20:15:14 -04:00
  • 1909bc2f63 jsonpb: unmarshal JSON null to nil map/slice instead of empty instance (#404) Tamir Duberstein 2017-08-07 22:16:21 -04:00
  • 748d386b5c jsonpb: unmarshal JSON "null" for WKT (#394) Christopher Spahr 2017-07-26 17:28:29 -04:00
  • 0a4f71a498 Remove unnecessary conversions (#315) Tamir Duberstein 2017-07-12 00:22:13 -04:00
  • 6a1fa9404c Fix Travis config and add status (#381) Herbie Ong 2017-06-22 13:25:51 -07:00
  • 1fb8fd32a0 Add travis-ci configuration. (#379) Herbie Ong 2017-06-20 16:04:58 -07:00
  • e325f446be Fix protoc-gen-go tests (#371) Tiziano Santoro 2017-06-13 23:42:24 +01:00
  • 4f95b0d3ea ptypes: sync internal development (#374) Herbie Ong 2017-06-13 13:24:57 -07:00
  • 5a0f697c9e Deserialize JSON NaN, Infinity and -Infinity to corresponding Go values (#363) Jakub Vrána 2017-06-02 01:02:30 +02:00
  • 6e4cc92cc9 Fix JSON marshaling of Any containing object that implements JSONPBMarshaler (#361) Joshua Humphries 2017-05-30 22:26:34 -04:00
  • 9f174c9862 Fix jsonpb to serialize NaN and Infinity as special strings (#242) Vladimir Varankin 2017-05-26 19:57:56 +03:00
  • 7b8002443f Fix doc re. getters for proto3, i.e. getters are now generated on all fields (#354) Herbie Ong 2017-05-25 17:56:53 -07:00
  • 63bfc70872 Fixed broken tests on pre-go1.8 #356 (#359) Herbie Ong 2017-05-25 17:53:41 -07:00
  • 7a211bcf3b Fix jsonpb to emit zero values for Map, Slice, Ptr when EmitDefaults=true Eric Wang 2017-05-23 14:57:51 +08:00
  • a4e8f93323 Support custom JSON (de)serialization in jsonpb Joshua Humphries 2017-05-22 18:44:36 -04:00
  • fec3b39b05 protoc-gen-go: update Makefiles for protobuf 3.3.0 (#348) Ross Light 2017-05-12 10:16:34 -07:00
  • 157d9c53be regenerate pb.go files with protobuf 3.3.0 Ross Light 2017-05-12 09:11:35 -07:00
  • 47eb67eaf5 protoc-gen-go: follow the new code generation comment convention (#329) Spencer Nelson 2017-03-31 13:34:26 -04:00
  • b50ceb1fa9 Simplify the installation step (#345) Jaana B. Dogan 2017-05-09 09:59:01 -07:00
  • 18c9bb3261 jsonpb: unmarshalling of Struct, ListValue, Value, Any and proto2 extensions; and marshalling of ListValue. CH Albach 2017-04-27 14:32:20 -07:00
  • 2bba060313 Merge pull request #326 from golang/revert-275-go-context-stdlib Joe Tsai 2017-03-30 20:19:02 -07:00
  • 154c03a3a9 Revert "Update to standard library context package. (#275)" Joe Tsai 2017-03-30 20:18:19 -07:00
  • e514ff57e8 Update to standard library context package. (#275) Chris Goller 2017-03-30 18:11:32 -05:00
  • c9c7427a2a protobuf: Regenerate golden files. Damien Neil 2017-03-06 16:15:33 -08:00
  • c432f0b89e Makefile: Make "make test" work on OS X. Damien Neil 2017-03-06 16:14:46 -08:00
  • 69b215d01a Merge pull request #290 from natefinch/fix-import Damien Neil 2017-02-17 15:44:32 -08:00
  • f0b293ef37 fix import path Nate Finch 2017-02-09 13:34:09 -05:00
  • 8ee7999722 descriptor: rename generated protobuf package on import. Bryan C. Mills 2016-11-16 22:31:26 -05:00
  • 56841e9de5 jsonpb: merge https://github.com/golang/protobuf/pull/255 bcmills 2016-11-16 23:50:35 +00:00
  • cf10ca0ea9 proto: Add a descriptor subpackage. bcmills 2016-11-16 19:27:51 +00:00
  • 62e782f47e proto: Fix a Marshal race on messages with extensions. bcmills 2016-11-16 18:08:21 +00:00
  • 224aaba33b jsonpb: treat null JSON values for Timestamp and Duration as defaults (#255) Mark Costello 2016-11-16 14:48:24 -05:00
  • 8e1c791771 Generate pb.go files after cb9b7771ab Lukasz Milewski 2016-11-16 09:21:15 -08:00
  • cb9b7771ab Add a benchmark demonstrating lock contention when Marshaling/Unmarshaling maps. lmilewski 2016-11-16 16:53:41 +00:00
  • 4a5b3fd308 Regenerate pb.go files after 24f28ae800 Lukasz Milewski 2016-11-15 17:38:01 -08:00
  • 24f28ae800 protoc-gen-go: Add Filename to ExtensionDesc. Googler 2016-11-15 17:24:17 -08:00
  • 1bdfb324ed Run 'make generate-test-pbs' in proto/ to regenerate proto3.pb.go testdata Lukasz Milewski 2016-11-15 17:17:33 -08:00
  • 0358ab2536 Generate new pb.go files. Lukasz Milewski 2016-11-15 16:41:52 -08:00
  • da116c3771 proto: generate Get methods for fields of basic type in proto3 lmilewski 2016-11-04 18:21:45 +00:00
  • 4bd1920723 Merge pull request #249 from Huawei-PTLab/master Joe Tsai 2016-11-08 23:27:36 -08:00
  • d6803ead56 Allow "make test" to run with Bourne shell. Bryan Chan 2016-11-08 04:20:17 -05:00
  • 2bc9827a78 improve error message for duplicate oneof in text parsing PiperOrigin-RevId: 138128520 Googler 2016-11-03 22:44:32 +00:00
  • 09b5638faf grpc: update generated code version Damien Neil 2016-11-03 15:25:19 -07:00
  • a66a4fa9a8 Produce an error when unmarshaling text protos if a oneof field is set more than once. PiperOrigin-RevId: 137859856 Googler 2016-11-01 19:59:13 +00:00
  • 98fa357170 Fix tests. Joe Tsai 2016-10-12 13:53:35 -07:00
  • 3571fb58c2 Add a decoding benchmark for multiple small repeated ints PiperOrigin-RevId: 135693188 notcarl 2016-10-10 17:47:57 +00:00
  • 730e9124bf Fix jsonpb for Go 1.8 joetsai 2016-10-07 19:29:42 +00:00
  • 5d356b9d1c Unroll DecodeVarint to speed up int32/int64/uint64 slice decoding. notcarl 2016-10-07 18:05:21 +00:00
  • 1976b9edad Note that Buffer.Unmarshal does NOT reset the destination protobuf. notcarl 2016-10-06 00:46:16 +00:00
  • 5fb654a4b2 Add Varint decoding benchmarks PiperOrigin-RevId: 135181742 notcarl 2016-10-05 01:26:47 +00:00
  • 99d46c5d2d Add protobuf benchmarks for varint encoding. notcarl 2016-10-03 23:47:50 +00:00
  • df1d3ca07d proto: In Size, don't double-count the tagcode for structs that implement Marshaler. bcmills 2016-09-27 20:09:49 +00:00
  • 87c000235d Merge pull request #235 from lstoll/lstoll-mod-nanos-correctly Bryan C. Mills 2016-09-26 14:56:24 -04:00
  • e8b7c67215 Fix Timestamp Unmarshaling for pre-epoch times Lincoln Stoll 2016-09-23 21:53:50 -04:00
  • 1f49d83d9a Allow t/f and True/False while parsing text protos light 2016-08-24 20:12:15 +00:00
  • 5bdfda0a01 Change MessageName to check if Message has an XXX_MessageName() method, and use the name returned by that method instead of internal registry when present. PiperOrigin-RevId: 131111087 Googler 2016-08-23 23:23:45 +00:00
  • ef00c02a19 proto.Equal: document map equality and clarify the rule for repeated fields. PiperOrigin-RevId: 130971987 hakim 2016-08-22 20:00:37 +00:00
  • 888eb0692c Remove conformance binary from repository Ross Light 2016-08-23 14:25:17 -07:00
  • 06e148329f remove binary from repository Bruno Clermont 2016-08-23 13:22:09 +02:00
  • f592bd283e _conformance: generate proto Ross Light 2016-08-17 10:41:13 -07:00
  • 855c5d638b third_party/golang/protobuf: open source conformance test runner PiperOrigin-RevId: 130532724 light 2016-08-17 17:12:34 +00:00
  • 7390af9dcd Fix comment for Buffer.index field light 2016-08-15 22:33:34 +00:00
  • 2c1988e8c1 Update Go tests for C++ JSON name change Feng Xiao 2016-08-08 11:15:00 -07:00
  • c3cefd4376 README: add compatibility section Ross Light 2016-07-27 10:26:17 -07:00
  • 1687f003bf proto: Prevent Any protos from being deserialized multiple times. Luke Granger-Brown 2016-07-27 05:08:00 -07:00
  • 2c2f7268d7 protoc-gen-go: Make proto3 scalar repeated fields packed by default (per the proto3 spec). Bryan Mills 2016-07-26 18:21:00 -07:00
  • 51fb628d55 proto: don't panic when calling ExtensionDescs on an uninitialized message. Damien Neil 2016-07-18 08:27:00 -08:00
  • 18a29c075f regenerate .pb.go Ross Light 2016-07-27 10:02:04 -07:00
  • 874264fbbb proto: check for required fields when unmarshalling groups Damien Neil 2016-07-11 13:55:00 +00:00
  • af59feb421 jsonpb: sort numeric proto keys in numeric order Damien Neil 2016-07-07 06:43:00 +00:00
  • 3607a4a994 fix compiler golden test Damien Neil 2016-07-12 12:09:51 -07:00
  • 3852dcfda2 jsonpb: add option to ignore unknown fields in a message Ross Light 2016-06-29 14:10:53 -07:00
  • b3e26a40c2 proto: regenerate proto3.pb.go from .proto file matloob@google.com 2016-06-29 11:38:43 -04:00
  • 78b168c14f net/proto2/go: add GetAllExtensionDescs returns a []*ExtensionDesc matloob@google.com 2016-06-23 12:41:00 -04:00
  • f6b4231c7f proto: import change from Google. matloob@google.com 2016-06-17 14:49:00 -04:00
  • 0c1f6d65b5 protoc-gen-go/grpc: pass file descriptor for service as Metadata Menghan Li 2016-06-14 15:31:40 -07:00
  • 5386fff85b proto: s/Printf/Print/ where there's no format verb Ross Light 2016-06-14 15:30:17 -07:00
  • 8616e8ee5e ptypes: regen and remove transforms from regen.sh Ross Light 2016-06-08 14:55:45 -07:00
  • 545732fb96 protoc-gen-go: export the generated variable name of the FileDescriptor bytes Ross Light 2016-06-07 14:17:10 -07:00
  • ba6f978a1a Make proto.RegisterFile public for gRPC Ross Light 2016-06-06 14:14:46 -07:00
  • c27503d0b4 Fix marshalAny's handling of indentation. Googler 2016-06-06 12:07:43 -07:00
  • f43dfb5ff1 Add missing error check in jsonpb's marshal implementation. Googler 2016-06-05 12:03:06 -07:00
  • 3b06fc7a4c net/proto2/go: make a slight change to how we handle []byte fields matloob@google.com 2016-06-01 11:17:05 -04:00
  • 1111461c35 proto: allow text proto map keys to be omitted or order swapped Ross Light 2016-05-25 19:11:34 -04:00
  • 9e6977f30c proto: fix equality to work with V1 generated format matloob@google.com 2016-05-24 15:56:25 -04:00
  • e51d002c61 net/proto2: remove <message>.ExtensionMap() from generated messages matloob@google.com 2016-05-23 09:09:04 -04:00
  • cd85f19845 proto: return error from Marshal if a message encodes to > 2GiB Ross Light 2016-05-19 15:50:37 -04:00
  • a4ab9ec5de proto: clean up proto API for extensions matloob@google.com 2016-05-19 15:37:11 -04:00
  • 7cc19b78d5 Use grpcPkg for a bit of code gen that overlooked it. David Symonds 2016-04-26 07:53:00 +10:00
  • bf531ff1a0 jsonpb: Marshal Any according to the spec. David Symonds 2016-04-20 14:40:00 +10:00
  • 2ebff28ac7 Correctly set OrigName for oneof fields. Dave Day 2016-04-18 12:44:00 +10:00
  • 331aba25e2 Update the grpc plugin to support the grpc-go interceptor implementation. Qi Zhao 2016-04-19 09:34:00 +10:00
  • f0a097ddac jsonpb: Fix handling of repeated enums. David Symonds 2016-04-13 14:01:00 +10:00
  • 78550bb1d0 Improve error message when text unmarshaling a nested message with a required field. Bryan Mills 2016-04-01 08:55:00 +11:00
  • dda510ac0f Use reflection-driven field accesses under GopherJS. Andrew Gerrand 2016-03-30 11:19:00 +11:00
  • 8d92cf5fc1 Add specific error for oneof with nil element. Bryan Mills 2016-03-19 05:57:00 +11:00
  • d120e2f957 Add Any helper funcs to the ptypes package. David Symonds 2016-03-18 12:05:00 +11:00