1. 21 Dec, 2015 11 commits
  2. 19 Dec, 2015 2 commits
  3. 17 Dec, 2015 6 commits
  4. 16 Dec, 2015 7 commits
  5. 15 Dec, 2015 3 commits
    • Tim Swast's avatar
      Add region tags to the Go protobuf examples. · 1cc541b3
      Tim Swast authored
      This will allow us to like to specific snippets of code in the
      documentation.  I plan to create a tutorial similar to the C# tutorial
      https://developers.google.com/protocol-buffers/docs/csharptutorial
      
      Since that tutorial has sections for populating a proto, parsing, and
      serializing, I made a region for each of these for Go.  To make the
      populating sample more self-contained, I refactor the listing example
      slightly.
      1cc541b3
    • Jon Skeet's avatar
      Generated code changes from previous commit. · adee6fe3
      Jon Skeet authored
      adee6fe3
    • Jon Skeet's avatar
      Make ToString() valid without a type registry · aabc6c41
      Jon Skeet authored
      This addresses issue #1008, by creating a JsonFormatter which is private and only different
      to JsonFormatter.Default in terms of reference equality.
      
      Other plausible designs:
      
      - The same, but expose the diagnostic-only formatter
      - Add something to settings to say "I don't have a type registry at all"
      - Change the behaviour of JsonFormatter.Default (bad idea IMO, as we really *don't* want the result of this used as regular JSON to be parsed)
      
      Note that just trying to find a separate fix to issue #933 and using that to override Any.ToString() differently wouldn't work for messages that *contain* an Any.
      
      Generated code changes follow in the next commit.
      aabc6c41
  6. 14 Dec, 2015 3 commits
  7. 12 Dec, 2015 2 commits
  8. 11 Dec, 2015 1 commit
  9. 10 Dec, 2015 5 commits