1. 09 Jul, 2018 2 commits
  2. 25 Jun, 2018 2 commits
  3. 21 Jun, 2018 1 commit
  4. 29 May, 2018 1 commit
  5. 14 May, 2018 2 commits
  6. 11 May, 2018 1 commit
  7. 03 May, 2018 1 commit
  8. 27 Apr, 2018 1 commit
    • Jon Skeet's avatar
      Fix to allow AOT compilers to play nicely with reflection · 1b219a17
      Jon Skeet authored
      With this fix, Unity using IL2CPP should work with one of two
      approaches:
      
      - Call `FileDescriptor.ForceReflectionInitialization<T>` for every
        enum present in generated code (including oneof case enums)
      - Ensure that IL2CPP uses the same code for int and any int-based
        enums
      
      The former approach is likely to be simpler, unless IL2CPP changes
      its default behavior. We *could* potentially generate the code
      automatically, but that makes me slightly uncomfortable in terms of
      generating code that's only relevant in one specific scenario. It
      would be reasonably easy to write a tool (separate from protoc) to
      generate the code required for any specific set of assemblies, so
      that Unity users can include it in their application. We can always
      decide to change to generate it automatically later.
      1b219a17
  9. 19 Apr, 2018 1 commit
  10. 06 Apr, 2018 1 commit
    • Jon Skeet's avatar
      Deliberately call simple code to avoid Unity linker pruning · da3ce671
      Jon Skeet authored
      The SampleEnumMethod method was previously only called via
      reflection, so the Unity linker thought it could be removed. Ditto
      the parameterless constructor in ReflectionHelper.
      
      This PR should avoid that issue, reducing the work needed by
      customers to use Google.Protobuf from Unity.
      da3ce671
  11. 04 Apr, 2018 1 commit
  12. 02 Apr, 2018 1 commit
    • Paul Yang's avatar
      Merge branch (#4466) · c9317434
      Paul Yang authored
      * Fix setup.py for windows build.
      
      * Bump version number to 3.5.2
      
      * Cat the test-suite.log on errors for presubits
      c9317434
  13. 27 Mar, 2018 4 commits
  14. 14 Mar, 2018 1 commit
  15. 06 Mar, 2018 1 commit
  16. 01 Mar, 2018 1 commit
  17. 06 Feb, 2018 1 commit
  18. 31 Jan, 2018 1 commit
  19. 25 Jan, 2018 1 commit
    • Jon Skeet's avatar
      Update .NET SDK to 2.0.3 · 0c523355
      Jon Skeet authored
      This will allow SourceLink as per #4179, and mean that we can use C#
      7.0 language features in the library (but not in generated code).
      This does not affect which platforms we're *targeting*, so end users
      won't see any difference.
      
      It would be nice to update to 2.1.4, but AppVeyor's "Visual Studio
      2017" environment is only 2.0.3.
      0c523355
  20. 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
  21. 19 Dec, 2017 2 commits
  22. 13 Dec, 2017 2 commits
  23. 12 Dec, 2017 1 commit
  24. 09 Dec, 2017 2 commits
  25. 01 Dec, 2017 1 commit
  26. 30 Nov, 2017 1 commit
  27. 29 Nov, 2017 1 commit
  28. 14 Nov, 2017 1 commit
  29. 12 Nov, 2017 3 commits