1. 22 Sep, 2018 1 commit
    • Jon Skeet's avatar
      Provide simple access to descriptor declarations in C# · 17119990
      Jon Skeet authored
      This is primarily for access to comments, which would be expected to be available in a protoc plugin.
      
      The implementation has two fiddly aspects:
      
      - We use a Lazy<T> to avoid building the map before cross-linking. An alternative would be to crosslink at the end of the constructor, and remove the calls to CrossLink elsewhere. This would be generally better IMO, but deviate from the Java code.
      - The casts to IReadOnlyList<DescriptorBase> are unfortunate. They'll always work, because these lists are always ReadOnlyCollection<T> for a descriptor type... but we can't use IList<DescriptorBase> as that's not covariant, and it's annoyingly fiddly to change the field to be of type ReadOnlyCollection<T>.
      17119990
  2. 19 Apr, 2018 1 commit
  3. 19 Dec, 2017 1 commit
  4. 13 Dec, 2017 2 commits
  5. 09 Dec, 2017 1 commit
  6. 14 Nov, 2017 1 commit
  7. 12 Nov, 2017 1 commit
  8. 01 Nov, 2017 1 commit
    • Jon Skeet's avatar
      Fix merging with message-valued oneof · cbe25059
      Jon Skeet authored
      If messages A and B have the same oneof case, which is a message
      type, and we merge B into A, those sub-messages should be merged.
      
      Fixes #3200.
      
      Note that I haven't regenerated all the code, as some of the protos
      have been changed, breaking generation.
      cbe25059
  9. 26 Jul, 2017 1 commit
  10. 25 Jul, 2017 1 commit
  11. 05 Jul, 2017 1 commit
  12. 28 Feb, 2017 1 commit
  13. 27 Jan, 2017 1 commit
  14. 19 Jan, 2017 1 commit
    • Jon Skeet's avatar
      Support custom options in C# · 047575f2
      Jon Skeet authored
      This consists of:
      - Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them
      - Add a new CustomOptions type in the C# support library
      - Expose CustomOptions properties from the immutable proto wrappers in the support library
      
      Only single-value options are currently supported, and fetching options values requires getting the type right
      and knowing the field number. Both of these can be addressed at a later time.
      
      Fixes #2143, at least as a first pass.
      047575f2
  15. 12 Dec, 2016 1 commit
  16. 03 Dec, 2016 1 commit
    • Joshua Haberman's avatar
      Factored Conformance and Benchmark test messages into shared test schema. (#1971) · f1ce60e7
      Joshua Haberman authored
      * Factored Conformance test messages into shared test schema.
      
      * Updated benchmarks to use new proto3 message locations.
      
      * Fixed include path.
      
      * Conformance: fixed include of Python test messages.
      
      * Make maven in Rakefile use --batch-mode.
      
      * Revert changes to benchmarks.
      
      On second thought I think a separate schema for
      CPU benchmarking makes sense.
      
      * Try regenerating C# protos for new test protos.
      
      * Removed benchmark messages from test proto.
      
      * Added Jon Skeet's fixes for C#.
      
      * Removed duplicate/old test messages C# file.
      
      * C# fixes for test schema move.
      
      * Fixed C# to use the correct TestAllTypes message.
      
      * Fixes for Objective C test schema move.
      
      * Added missing EXTRA_DIST file.
      f1ce60e7
  17. 04 Jul, 2016 1 commit
  18. 20 Apr, 2016 1 commit
  19. 18 Mar, 2016 1 commit
  20. 04 Feb, 2016 2 commits
  21. 15 Jan, 2016 1 commit
    • Jon Skeet's avatar
      Make sure that · b1ea15f7
      Jon Skeet authored
      "valueField": null
      
      is parsed appropriately, i.e. that it remembers that the field is set.
      b1ea15f7
  22. 13 Jan, 2016 1 commit
  23. 11 Jan, 2016 1 commit
  24. 15 Dec, 2015 1 commit
  25. 22 Nov, 2015 1 commit
  26. 19 Nov, 2015 1 commit
  27. 09 Nov, 2015 1 commit
  28. 24 Oct, 2015 1 commit
  29. 01 Oct, 2015 1 commit
  30. 30 Sep, 2015 1 commit
  31. 29 Sep, 2015 2 commits
  32. 01 Sep, 2015 1 commit
  33. 06 Aug, 2015 1 commit
  34. 05 Aug, 2015 2 commits
  35. 31 Jul, 2015 2 commits