1. 04 Sep, 2015 1 commit
    • Jon Skeet's avatar
      Pack/Unpack implementation for Any. · e50461d8
      Jon Skeet authored
      We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later.
      (The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)
      e50461d8
  2. 26 Aug, 2015 5 commits
  3. 25 Aug, 2015 2 commits
    • Jon Skeet's avatar
      Remove extraneous TODO · 31d119af
      Jon Skeet authored
      31d119af
    • Jon Skeet's avatar
      Change where we rename Descriptor.cs to DescriptorProtoFile.cs. · ca89a1a1
      Jon Skeet authored
      We now do this in protoc instead of the generation simpler.
      
      Benefits:
      - Generation script is simpler
      - Detection is simpler as we now only need to care about one filename
      - The embedded descriptor knows itself as "google/protobuf/descriptor.proto" avoiding dependency issues
      
      This PR also makes the "invalid dependency" exception clearer in terms of expected and actual dependencies.
      ca89a1a1
  4. 14 Aug, 2015 3 commits
  5. 13 Aug, 2015 1 commit
    • Jon Skeet's avatar
      Allow public access to descriptor.proto as a dependency. · a39ababb
      Jon Skeet authored
      With this in place, generating APIs on github.com/google/googleapis works - previously annotations.proto failed.
      Currently there's no access to the annotations (stored as extensions) but we could potentially expose those at a later date.
      a39ababb
  6. 10 Aug, 2015 3 commits
  7. 08 Aug, 2015 6 commits
  8. 06 Aug, 2015 2 commits
    • Jon Skeet's avatar
      Generated code for previous commit. · 5bdc5729
      Jon Skeet authored
      5bdc5729
    • Jon Skeet's avatar
      Skip groups properly. · e7f88ff1
      Jon Skeet authored
      Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time.
      Currently it will ignore extraneous end group tags, which may or may not be a good thing.
      Renamed ConsumeLastField to SkipLastField as it felt more natural.
      Removed WireFormat.IsEndGroupTag as it's no longer useful.
      
      This mostly fixes issue 688.
      
      (Generated code changes coming in next commit.)
      e7f88ff1
  9. 05 Aug, 2015 9 commits
  10. 04 Aug, 2015 2 commits
  11. 03 Aug, 2015 6 commits