1. 26 Jul, 2017 1 commit
  2. 12 Jul, 2017 1 commit
  3. 05 Jul, 2017 1 commit
  4. 04 Jul, 2017 1 commit
  5. 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
  6. 25 May, 2017 1 commit
  7. 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
  8. 24 Mar, 2017 1 commit
  9. 28 Feb, 2017 1 commit
  10. 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
  11. 06 Feb, 2017 1 commit
  12. 27 Jan, 2017 1 commit
  13. 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
  14. 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
  15. 16 Dec, 2016 1 commit
  16. 12 Dec, 2016 1 commit
  17. 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
  18. 14 Nov, 2016 1 commit
  19. 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
  20. 27 Jul, 2016 2 commits
  21. 14 Jul, 2016 5 commits
  22. 13 Jul, 2016 1 commit
    • Jon Skeet's avatar
      Implement RepeatedField.AddRange (#1733) · 042993b3
      Jon Skeet authored
      * Improve exception throwing implementation in collections
      
      * Implement RepeatedField.AddRange.
      
      This fixes issue #1730.
      
      * Optimize AddRange for sequences implementing ICollection
      
      (Also fix a few more C# 6-isms.)
      
      * Remove the overload for Add(RepeatedField<T>)
      
      We now just perform the optimization within AddRange itself.
      
      This is a breaking change in terms of "drop in the DLL", but is
      source compatible, which should be fine.
      042993b3
  23. 08 Jul, 2016 1 commit
    • Jon Skeet's avatar
      Remove unnecessary reflection call · 3df146e1
      Jon Skeet authored
      This is the only call to TypeExtensions.IsValueType, so we can remove
      that method, making the whole type conditionally compiled out for .NET 3.5
      3df146e1
  24. 04 Jul, 2016 1 commit
  25. 28 Jun, 2016 1 commit
  26. 23 Jun, 2016 1 commit
  27. 11 May, 2016 2 commits
  28. 29 Apr, 2016 1 commit
  29. 20 Apr, 2016 1 commit
  30. 01 Apr, 2016 1 commit
  31. 29 Mar, 2016 1 commit
  32. 18 Mar, 2016 1 commit
  33. 07 Mar, 2016 1 commit