1. 09 Jul, 2018 1 commit
  2. 25 Jun, 2018 1 commit
  3. 19 Apr, 2018 1 commit
  4. 01 Mar, 2018 1 commit
  5. 06 Feb, 2018 1 commit
  6. 31 Jan, 2018 1 commit
  7. 15 Jan, 2018 1 commit
    • Jon Skeet's avatar
      Add DiscardUnknownFields support for C# · 47b7d2c7
      Jon Skeet authored
      By default, unknown fields are preserved when parsing. To discard
      them, use a parser configured to do so:
      
      var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
      47b7d2c7
  8. 19 Dec, 2017 1 commit
  9. 13 Dec, 2017 2 commits
  10. 09 Dec, 2017 2 commits
  11. 14 Nov, 2017 1 commit
  12. 12 Nov, 2017 2 commits
  13. 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
  14. 28 Oct, 2017 1 commit
  15. 11 Aug, 2017 1 commit
    • Jon Skeet's avatar
      Detect invalid tags with a field number of 0 in C# · e0d24cc8
      Jon Skeet authored
      Previously we only rejected the tag if the tag itself was 0, i.e.
      field=0, type=varint. The type doesn't matter: field 0 is always
      invalid.
      
      This removes the last of the C# conformance failures.
      e0d24cc8
  16. 26 Jul, 2017 1 commit
  17. 25 Jul, 2017 1 commit
  18. 12 Jul, 2017 1 commit
  19. 05 Jul, 2017 1 commit
  20. 04 Jul, 2017 1 commit
  21. 03 Jul, 2017 1 commit
    • Jon Skeet's avatar
      Make Any easier to work with in C# · 62d7fe56
      Jon Skeet authored
      - Add a TryUnpack method which doesn't throw if the type is wrong
      - Make GetTypeName public for easier determination of the message type
      
      Fixes #3294.
      62d7fe56
  22. 25 May, 2017 1 commit
  23. 24 May, 2017 1 commit
    • Jon Skeet's avatar
      Convert C# projects to MSBuild (csproj) format · f26e8c2a
      Jon Skeet authored
      This has one important packaging change: the netstandard version now
      depends (implicitly) on netstandard1.6.1 rather than on individual
      packages. This is the preferred style of dependency, and shouldn't
      affect any users - see http://stackoverflow.com/questions/42946951
      for details.
      
      The tests are still NUnit, but NUnit doesn't support "dotnet test"
      yet; the test project is now an executable using NUnitLite. (When
      NUnit supports dotnet test, we can adapt to it.)
      
      Note that the project will now only work in Visual Studio 2017 (and
      Visual Studio Code, and from the command line with the .NET Core
      1.0.0 SDK); Visual Studio 2015 does *not* support this project file
      format.
      f26e8c2a
  24. 24 Mar, 2017 1 commit
  25. 28 Feb, 2017 1 commit
  26. 23 Feb, 2017 2 commits
    • John Brock's avatar
      Upgrading test-related libraries · f83d1295
      John Brock authored
      NUnit 3.4.0 —> 3.6.0
      dotnet-test-nunit 3.4.0-alpha-2 —> 3.4.0-beta-3
      f83d1295
    • John Brock's avatar
      Fixes for .NET 3.5 compatibility · c9b2c8f3
      John Brock authored
      * Changing DOTNET35 framework symbols in preprocessor directives to the default built-in value of NET35.
      * Adding extension method StreamExtension.CopyTo for .NET 3.5 because it didn’t exist until .NET 4, and adding associated unit tests.
      c9b2c8f3
  27. 06 Feb, 2017 1 commit
  28. 27 Jan, 2017 1 commit
  29. 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
  30. 10 Jan, 2017 1 commit
    • Jon Skeet's avatar
      Add ByteString.FromStream and ByteString.FromStreamAsync in C# · fb71df9f
      Jon Skeet authored
      Fixes #2088.
      
      We now have separate tests for netcoreapp and net45 to test the two branches here.
      (netstandard10 doesn't have MemoryStream.GetBuffer)
      
      Although most of this library doesn't have any async functionality,
      this feels like a natural place to locally add it.
      fb71df9f
  31. 16 Dec, 2016 1 commit
  32. 12 Dec, 2016 1 commit
  33. 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
  34. 14 Nov, 2016 1 commit
  35. 03 Nov, 2016 1 commit
    • Jon Skeet's avatar
      Change JSON field name formatting · 50a37e01
      Jon Skeet authored
      This affects cases with leading capital letters.
      
      This breaks compatibility with previous C# releases, but
      fixes compatibility with other implementations.
      
      See #2278 for details.
      50a37e01
  36. 27 Jul, 2016 1 commit