1. 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
  2. 19 Dec, 2017 2 commits
  3. 13 Dec, 2017 2 commits
  4. 12 Dec, 2017 1 commit
  5. 09 Dec, 2017 2 commits
  6. 01 Dec, 2017 1 commit
  7. 30 Nov, 2017 1 commit
  8. 29 Nov, 2017 1 commit
  9. 10 Nov, 2017 3 commits
  10. 09 Nov, 2017 3 commits
  11. 02 Nov, 2017 1 commit
  12. 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
  13. 30 Oct, 2017 1 commit
  14. 28 Oct, 2017 2 commits
  15. 18 Oct, 2017 1 commit
  16. 14 Sep, 2017 2 commits
  17. 12 Sep, 2017 1 commit
  18. 05 Sep, 2017 1 commit
  19. 30 Aug, 2017 1 commit
  20. 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
  21. 02 Aug, 2017 1 commit
  22. 18 Jul, 2017 2 commits
    • Jisi Liu's avatar
      Update csharp and php descriptor · 86975301
      Jisi Liu authored
      86975301
    • Matt A's avatar
      Support PHP generic services (#3269) · 9e745f77
      Matt A authored
      * Add php_generic_services option
      
      * Generate PHP generic services
      
      * Respect namespaces for generated PHP services
      
      * Test PHP generated services
      
      * Rename PHP generator service method doc comment function
      
      * Correct phpdoc service method case
      
      * Test namespaced PHP generic services
      
      * Always use the FQCN for PHP generic service input/output
      
      * Add generated_service_test to php test.sh
      
      * Add php service test protos to CI
      
      * Add php service files to php_EXTRA_DIST
      
      * Use Interface suffix for php generic services
      9e745f77
  23. 13 Jul, 2017 1 commit
  24. 12 Jul, 2017 1 commit
  25. 04 Jul, 2017 1 commit
  26. 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
  27. 21 Jun, 2017 1 commit
  28. 05 Jun, 2017 1 commit
    • Paul Yang's avatar
      Add new file option php_namespace. (#3162) · 6f325805
      Paul Yang authored
      * Add new file option php_namespace.
      
      Use this option to change the namespace of php generated classes.
      Default is empty. When this option is empty, the package name will be
      used for determining the namespace.
      
      * Uncomment commented tests
      
      * Revert gdb test change
      
      * Update csharp descriptor.
      
      * Add test for empty php_namespace.
      6f325805
  29. 24 May, 2017 2 commits
    • Jon Skeet's avatar
      0b07d7eb
    • 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