1. 23 Aug, 2019 3 commits
  2. 03 May, 2019 1 commit
    • Sydney Acksman's avatar
      C# Proto2 feature : Extensions (#5350) · 9e89b6e7
      Sydney Acksman authored
      * Compiler changes (extensions)
      
      * Generated changes (extensions)
      
      * Library changes (extensions)
      
      * Adjusted a summary to indicate ContainingType can be null for extensions
      
      * Compiler changes (custom option review + access level review)
      
      * Generated code changes (custom options + access review)
      
      * Library changes (custom options + access review)
      
      * Support C# 6 with library changes
      
      * Access HasValue by property
      
      * Set access level of all extension classes to internal (revert in next PR)
      
      * Added null checks to custom options
      
      * Rebase on master and regenerate Conformance
      
      * Removed second dictionary from ExtensionSet
      
      * Rebased compiler changes
      
      * Rebased generated code changes
      
      * Rebased library changes + review changes
      
      * Add more safety checks to extension accessors
      
      * Remove instances where extension sets were unnecessarily allocated
      
      * Remove cleared items from sets
      Empty sets are now made null
      IExtensionMessage -> IExtendableMessage
      
      * Remove dead code from IExtensionValue impls
      
      * Clean both repeated and single value extensions
      
      * Add GetOrRegister method for repeated fields and allow clearing repeated extensions
      
      * Add type safe ClearExtension methods, remove non-generic IExtendableMessage interface.
      
      * Simplify ExtensionSet.TryMergeFieldFrom
      
      * Rebase on master to resolve conflicts
      
      * Fix Makefile.am
      
      * Add ObjectIntPair to Makefile.am
      9e89b6e7
  3. 21 Feb, 2019 1 commit
  4. 14 Feb, 2019 1 commit
  5. 24 Sep, 2018 1 commit
    • Sydney Acksman's avatar
      C# Proto2 feature : Field presence and default values (#4642) · 54176b26
      Sydney Acksman authored
      * Compiler changes
      
      * Generated code changes
      
      * Library changes
      
      * Compiler style changes
      
      * Generated style changes
      
      * Fix Windows build errors
      
      * Implement changes from review
      
      * Reintroduce proto2 check
      
      * Compiler changes (required handling review)
      
      * Generated code changes (required handling review)
      
      * Library changes (required handling review
      
      * Field presence rewrite (compiler changes)
      
      * Field presence rewrite (generated code changes)
      
      * Compiler comment
      
      * IFieldAccessor.HasValue library implementation
      
      * Remove Clear methods and default values from proto3 code (Compiler)
      
      * Remove Clear methods and default values from proto3 code (Generated)
      
      * Remove Clear methods and default values from proto3 code (Library)
      
      * Fix distcheck error
      
      * Rewrite default string values to use base64 and convert
      
      * Library changes (IMessage2)
      
      * Compiler changes (IMessage2)
      
      * Generated changes (IMessage2)
      
      * Rebased and regenerated
      
      * Compiler changes (initialized extension)
      
      * Generated changes (initialized extension)
      
      * Library changes (initialized extension)
      
      * Refactor MessageExtensions.IsRequired
      
      * Move string default value creator and bytes default value creator back to seperate methods
      
      * Dead code cleanup
      
      * Fixed segmentation fault
      Removed unused header method declarations
      54176b26
  6. 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
  7. 10 Nov, 2017 1 commit
  8. 09 Nov, 2017 1 commit
  9. 04 Feb, 2016 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. 04 Aug, 2015 1 commit
  12. 03 Aug, 2015 1 commit
  13. 30 Jul, 2015 1 commit
  14. 17 Jul, 2015 1 commit
  15. 30 Jun, 2015 2 commits
    • Jon Skeet's avatar
      Fix copyright lines for all C# code. · ee835a3f
      Jon Skeet authored
      Everything should now be consistent - the only difference between files is the year (aside from generated files).
      
      Fixes issue #531.
      ee835a3f
    • Jon Skeet's avatar
      Tidying up and extra tests. · f34d37a3
      Jon Skeet authored
      This is mostly just making things internal instead of public, removing and reordering a bunch of code in CodedInputStream/CodedOutputStream, and generally tidying up.
      f34d37a3
  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. 12 Jun, 2015 1 commit
    • 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
  18. 09 Jun, 2015 1 commit