1. 13 Nov, 2018 1 commit
    • Jon Skeet's avatar
      Increase C# default recursion limit to 100 (#5339) · 627cc48f
      Jon Skeet authored
      * Increase C# default recursion limit to 100
      
      This matches the Java and C++ defaults.
      
      * Change compatibility tests to use execution-time default recursion limit
      
      This way the same tests should pass against all versions, even
      if the recursion limit changes. (The tests will be testing whether
      different messages work, admittedly - but that's probably fine.)
      627cc48f
  2. 04 Jul, 2017 1 commit
  3. 10 Feb, 2017 1 commit
  4. 01 Mar, 2016 1 commit
  5. 29 Feb, 2016 1 commit
  6. 15 Feb, 2016 1 commit
  7. 04 Nov, 2015 1 commit
  8. 10 Aug, 2015 1 commit
    • Jon Skeet's avatar
      More TODOs done. · f2732c7a
      Jon Skeet authored
      - Removed a TODO without change in DescriptorPool.LookupSymbol - the TODOs were around performance, and this is only used during descriptor initialization
      - Make the CodedInputStream limits read-only, adding a static factory method for the rare cases when this is useful
      - Extracted IDeepCloneable into its own file.
      f2732c7a
  9. 08 Aug, 2015 1 commit
  10. 06 Aug, 2015 1 commit
    • 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
  11. 05 Aug, 2015 1 commit
  12. 03 Aug, 2015 1 commit
  13. 17 Jul, 2015 1 commit
  14. 09 Jul, 2015 1 commit
    • Jon Skeet's avatar
      Minor fix-ups as suggested in PR #560. · 3cce11ce
      Jon Skeet authored
      - Added new line at the end of SampleEnum
      - Moved GeneratedMessageTest.GetSampleMessage to a new class, SampleMessages, and renamed it to CreateFullTestAllTypes.
      3cce11ce
  15. 30 Jun, 2015 3 commits
  16. 19 Jun, 2015 1 commit
    • Jon Skeet's avatar
      Minor cleanup. · cdeda4b8
      Jon Skeet authored
      - Make some members internal
      - Remove a lot of FrameworkPortability that isn't required
      - Start adding documentation comments
      - Remove some more group-based members
      - Not passing in "the last tag read" into Read*Array, g
      cdeda4b8
  17. 17 Jun, 2015 1 commit
  18. 12 Jun, 2015 2 commits
    • Jon Skeet's avatar
      Reimplement RepeatedField<T> using an array as the backing store. · 7532f025
      Jon Skeet authored
      This is effectively reimplementing List<T>, but with a few advantages:
      - We know that an empty repeated field is common, so don't allocate an array until we need to
      - With direct access to the array, we can easily convert enum values to int without boxing
      - We can relax the restrictions over what happens if the repeated field is modified while iterating, avoiding so much checking
      
      This is somewhat risky, in that reimplementing a building block like this is *always* risky, but hey...
      (The performance benefits are significant...)
      7532f025
    • Jon Skeet's avatar
      Coded*Stream streamlining. · 96ddf01a
      Jon Skeet authored
      Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
      96ddf01a
  19. 11 Jun, 2015 1 commit
  20. 09 Jun, 2015 1 commit
  21. 12 May, 2015 1 commit
    • Jon Skeet's avatar
      Convert back to using NUnit, which is now loaded via NuGet. · 90c8932f
      Jon Skeet authored
      This includes the NUnit test adapter which allows NUnit tests to be run under VS without any extra plugins.
      Unfortunate the compatibility tests using the abstract test fixture class show up as "external" tests, and aren't well presented - but they do run.
      90c8932f
  22. 30 Apr, 2015 1 commit