Commit Graph

  • efd7476481 Check we get both key and value from a decoded map entry. David Symonds 2015-04-30 09:19:26 +10:00
  • dded9133a9 Generate import paths in accordance with the standard Go package layout. David Symonds 2015-04-29 16:16:36 +10:00
  • e228b1ac33 Eliminate proto.Unmarshal from generated gRPC code. David Symonds 2015-04-28 09:24:01 +10:00
  • 655cdfa588 Adjust generated gRPC code to accommodate non-protobuf wire formats. David Symonds 2015-03-25 14:51:09 -07:00
  • a8323e2cd7 Fix Size for maps. David Symonds 2015-03-24 10:18:00 +11:00
  • 889ae49d31 Fix encoding and sizing of empty byte slices in proto3 maps. David Symonds 2015-03-23 09:48:33 +11:00
  • de8c523226 Implement SetDefaults for maps. Skip proto3 scalar fields instead of panicking. David Symonds 2015-03-20 16:29:30 +11:00
  • a8de284881 Use full import paths for test protos. David Symonds 2015-03-20 16:24:29 +11:00
  • f7137ae6b1 Switch the properties Mutex to a RWMutex. David Symonds 2015-03-17 08:40:00 +11:00
  • 7c8900852b Suppress Enum() and UnmarshalJSON() for publicly imported proto3 enums. David Symonds 2015-03-04 11:03:00 +11:00
  • 82b6f0b18a If a user passes a nil extension value to SetExtension(), return a useful error message. David Symonds 2015-03-03 06:33:00 +11:00
  • f62db484ee Improve error message for nil values in repeated fields. David Symonds 2015-02-23 12:37:00 +11:00
  • c22ae3cf02 Add gRPC code generation. David Symonds 2015-02-20 12:16:15 +11:00
  • 5677a0e3d5 Support control of which linked plugins are executed. David Symonds 2015-02-09 15:39:50 +11:00
  • 425d36a7b8 Update comments, package declarations and syntax statements. David Symonds 2015-02-09 14:42:03 +11:00
  • cd5bc366c6 Drop "appenginevm" tag. David Symonds 2015-02-09 11:09:49 +11:00
  • 1e73516e50 Update a few docs to match reality. David Symonds 2015-02-09 11:05:25 +11:00
  • d75f05d454 Remove a section that is redundant with a previous section. David Symonds 2015-02-03 11:44:08 +11:00
  • 0256e764f9 Stop recommending the use of Make.protobuf in README. David Symonds 2015-02-02 11:01:34 +11:00
  • a11b6342f0 Permit omission of a colon before a message-typed map value. David Symonds 2015-01-28 17:07:47 +11:00
  • 7f07925444 Sort map keys when serialising map fields to binary and text formats. David Symonds 2015-01-09 11:09:00 +11:00
  • 60976d353e Simplify Uint32 helper function to be like the others. David Symonds 2015-01-06 07:56:48 +11:00
  • 3ea3e05dbf Support map<k,v> protocol buffer fields. David Symonds 2014-12-22 16:15:28 +11:00
  • 904b440324 More extensive testing in extensions_test.go. David Symonds 2014-12-11 08:44:00 -05:00
  • abd3b412d3 Support proto3. David Symonds 2014-11-28 11:43:44 +11:00
  • aec3ce103c Regenerate descriptor.pb.go. David Symonds 2014-11-28 10:59:28 +11:00
  • 380d2d0c0f Update URLs and paths to new location of the C++ protobuf code. David Symonds 2014-11-24 10:50:43 +11:00
  • d018e4cfcb Remove lib/codereview. David Symonds 2014-11-24 10:29:55 +11:00
  • 558f13f1d7 Update URLs and import paths to new GitHub home. David Symonds 2014-11-24 10:28:53 +11:00
  • 73c63d22c0 Convert .hgignore to .gitignore. David Symonds 2014-11-24 10:13:13 +11:00
  • 4de8ddd90b Remove .hgtags. David Symonds 2014-11-24 10:13:13 +11:00
  • ba7896cb49 goprotobuf: Drop unused argument to enc_struct/size_struct. David Symonds 2014-11-20 15:29:05 +11:00
  • 8117753c47 goprotobuf: Use encoding.TextMarshaler and encoding.TextUnmarshaler in place of the identical custom interfaces. David Symonds 2014-11-20 14:33:40 +11:00
  • ce441e6d54 goprotobuf: Ensure GetExtension returns the same result when called on a freshly unmarshaled message. David Symonds 2014-11-18 13:50:03 +11:00
  • ceb17a4d1e goprotobuf: Fix proto.Clone operating on empty-but-non-nil []byte values. David Symonds 2014-11-18 13:49:35 +11:00
  • 8a099d0ded goprotobuf: Fix Clone to deep copy []byte fields. David Symonds 2014-10-30 12:40:51 +11:00
  • 50386d2477 goprotobuf: Miscellaneous cleanups. David Symonds 2014-10-28 11:00:50 +11:00
  • 30f7034a3e goprotobuf: Cause the descriptor proto to be imported as "descriptor". David Symonds 2014-10-12 17:09:24 +11:00
  • 2a1c6b9cba goprotobuf: Make text parsing functions return RequiredNotSetError as appropriate. David Symonds 2014-10-12 16:42:41 +11:00
  • 19227ffac0 goprotobuf: Generate JSON marshal/unmarshal methods for MessageSet. David Symonds 2014-10-12 16:35:09 +11:00
  • 905b3fdd57 goprotobuf: Check GetProperties is passed a struct early on. David Symonds 2014-10-12 16:27:29 +11:00
  • bebcf5de57 goprotobuf: Add method to extending message to get list of messages extended. David Symonds 2014-10-12 16:24:13 +11:00
  • 0ec36a25a2 goprotobuf: Split encoding of repeated int32 and repeated uint32 fields. David Symonds 2014-08-12 13:21:46 +10:00
  • 7e81098011 goprotobuf: Fix handling of empty string defaults for 'string' and 'bytes' fields. David Symonds 2014-08-12 13:11:17 +10:00
  • 25535e35a8 goprotobuf: Fix merging of duplicate message set entries. David Symonds 2014-07-30 09:23:20 +10:00
  • f054e84f76 goprotobuf: Split encoding of int32 and uint32 fields. David Symonds 2014-07-22 14:06:27 +10:00
  • b16d165ede goprotobuf: Fix alias generation for enums. David Symonds 2014-07-22 13:49:53 +10:00
  • 8bb628dd72 goprotobuf: Fix test for text format number too large for int64. David Symonds 2014-07-22 13:49:35 +10:00
  • baeae8bcd1 goprotobuf: Remove ErrWrongType and improve error messages. David Symonds 2014-06-23 09:41:27 +10:00
  • 47fc4dbbc3 goprotobuf: Required extensions don't make sense. David Symonds 2014-06-20 14:29:44 +10:00
  • 8b1c6b7587 goprotobuf: Fix bug in GetExtensions. David Symonds 2014-06-20 14:28:56 +10:00
  • d110e691de goprotobuf: Update build tags to use unsafe (but faster) code on Managed VMs. David Symonds 2014-06-16 15:40:44 +10:00
  • 6bfe7b6ff2 goprotobuf: Fix proto.Merge handling of scalar bytes fields. David Symonds 2014-04-26 09:27:58 -07:00
  • 4b9d2e1e38 goprotobuf: Handle nils in repeated message fields in text formatting. David Symonds 2014-04-15 18:22:22 +10:00
  • 29bcc89b25 goprotobuf: Add tests for the Marshaler interface during marshaling. David Symonds 2014-04-15 14:01:13 +10:00
  • f530f25b30 goprotobuf: Remove never-used import of encoding/json in generated code. David Symonds 2014-04-14 09:53:00 +10:00
  • 9e1518e291 goprotobuf: Include package docs from .proto in the generated package docs. David Symonds 2014-02-19 15:27:00 +11:00
  • 267e805719 goprotobuf: Support encoding.TextMarshaler and encoding.TextUnmarshaler. David Symonds 2014-02-19 14:50:51 +11:00
  • 8b25330334 goprotobuf: Remove the proto.Buffer freelist. David Symonds 2014-01-14 16:24:19 +11:00
  • 7d640deeae goprotobuf: Generate package docs. David Symonds 2014-01-13 16:01:41 +11:00
  • 1d8ba13d54 goprotobuf: Marshal nested messages into our current buffer instead of a new one, and move the encoded form as needed to make the varint size happy. David Symonds 2014-01-13 16:01:15 +11:00
  • 7a518f4a08 goprotobuf: Remove an incorrect sentence in the GetExtension doc comment. David Symonds 2014-01-13 16:00:47 +11:00
  • 2a0a763dbf goprotobuf: Mention Go 1.1 requirement in README. David Symonds 2013-12-26 12:07:52 +11:00
  • dd3a82a740 codereview: switch defaultcc to golang-codereviews Russ Cox 2013-12-20 07:59:36 -08:00
  • 4af5f1ff2d goprotobuf: Remove MarshalJSON methods from generated enum types. David Symonds 2013-10-11 10:08:35 +11:00
  • 0bf1ad57e6 goprotobuf: Change Size implementation to use the same code structure as Marshal (encode). David Symonds 2013-10-11 09:07:50 +11:00
  • e583a5f02b goprotobuf: Rename ErrRequiredNotSet to RequiredNotSetError. David Symonds 2013-09-27 10:02:37 +10:00
  • 4a2eeb5f01 goprotobuf: Fix performance regression in proto encoding for the common case where we get ErrNil. David Symonds 2013-09-25 11:54:08 +10:00
  • 1cb9013ade goprotobuf: Make the default default of an enum field be the value of the first enum value, not zero. David Symonds 2013-09-18 11:42:34 +10:00
  • a7f3a0f148 goprotobuf: Consistently prefix error strings with "proto: ". David Symonds 2013-09-09 13:32:33 +10:00
  • 4646c37073 goprotobuf: Make several changes to ErrRequiredNotSet: - Report the full or partial path to the first missing required field (where possible) instead of the message name. - Make it ignorable. Unmarshal and Marshal will continue to decode/encode the full proto. David Symonds 2013-09-09 13:18:58 +10:00
  • 39034050d9 goprotobuf: Fix documentation of minor edge case in CamelCase. David Symonds 2013-08-19 17:11:31 +10:00
  • fff2ec6c27 goprotobuf: Simplify helper functions (Int32, etc.). David Symonds 2013-08-08 13:37:09 +10:00
  • 58a7583aa0 goprotobuf: Fix handling of publicly imported enum types. David Symonds 2013-08-07 09:47:38 +10:00
  • 501f7db324 goprotobuf: Make UnmarshalText reset the message before unmarshaling. David Symonds 2013-08-05 13:53:28 +10:00
  • 5292590459 goprotobuf: Present comments in .proto files in the generated .pb.go. David Symonds 2013-07-26 19:20:20 +10:00
  • 5bbe4ae0ac goprotobuf: Switch to using protobuf-2.5.0 as the baseline. David Symonds 2013-07-26 16:43:43 +10:00
  • 472e2591b1 goprotobuf: Fix SetDefaults to recur into repeated submessages. David Symonds 2013-07-15 11:10:07 +10:00
  • 28c83cb2fe goprotobuf: fix integer overflows. Adam Langley 2013-07-13 14:54:54 +10:00
  • 4f8da8648e goprotobuf: Use p.isUnmarshaler consistently in decode.go. David Symonds 2013-06-24 10:57:29 +10:00
  • 9c8d84777b goprotobuf: Fix Size accounting of packed fields. David Symonds 2013-06-24 10:56:58 +10:00
  • c31645c4b3 goprotobuf: Make edge-case int32 encoding more compact, and the same as C++. David Symonds 2013-06-22 17:57:36 +10:00
  • 2ce8ed485f goprotobuf: Use already-allocated nested messages if they exist. David Symonds 2013-06-20 13:22:17 +10:00
  • 6677c3e018 goprotobuf: Fix Size for groups. David Symonds 2013-06-11 08:48:47 +10:00
  • 0c1184e323 goprotobuf: Make MessageSet marshaling deterministic. David Symonds 2013-06-08 15:42:12 +10:00
  • 605ed3ad74 goprotobuf: Missing regenerated .pb.go from previous CL. David Symonds 2013-06-08 12:35:32 +10:00
  • 9cc87e39b0 goprotobuf: Write C++-compatible ±Inf and NaN floats in text format. David Symonds 2013-06-08 12:27:15 +10:00
  • 40877590f8 goprotobuf: Fix proto.Size for repeated fixed(32|64) fields. David Symonds 2013-06-08 09:17:00 +10:00
  • 4f4ce3d2b4 goprotobuf: Allow groups to be treated as messages. David Symonds 2013-05-03 08:51:59 +10:00
  • f8a1fcc20a goprotobuf: Make text formatting of unknown enum values compatible with C++. David Symonds 2013-05-03 08:51:23 +10:00
  • 4676f6a694 goprotobuf: gofmt -s Albert Strasheim 2013-04-07 08:59:06 +10:00
  • 2037090d1d goprotobuf: Match C++ for text format of unknown fields. David Symonds 2013-03-23 17:20:01 +11:00
  • 22e7eb4717 goprotobuf: Preserve unknown fields in groups, and generate repeated field getters. David Symonds 2013-03-23 12:17:58 +11:00
  • 69cffb22f0 goprotobuf: Minor internal change to track internal message indexes. David Symonds 2013-02-21 14:26:53 +11:00
  • db7a687c29 goprotobuf: Repeated field getters. David Symonds 2013-01-30 17:08:05 +11:00
  • 6e8ab87843 goprotobuf: Fix text formatting of typed nil. David Symonds 2013-01-30 17:07:26 +11:00
  • e182aafb02 goprotobuf: Add Merge. David Symonds 2013-01-30 17:04:37 +11:00
  • d4b52d086a goprotobuf: Rename UnmarshalAppend to UnmarshalMerge. David Symonds 2013-01-15 14:30:26 +11:00
  • 29d5d392ac goprotobuf: Cache extension properties. David Symonds 2012-12-20 12:14:58 +11:00
  • 31faaca69d goprotobuf: Missing test data from a previous CL. David Symonds 2012-12-06 15:51:11 +11:00