- 03 May, 2019 1 commit
-
-
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
-
- 12 Mar, 2019 1 commit
-
-
Paul Yang authored
* Add conformance test for nested listvalue * Fix upb for parsing repeated Value/ListValue * Add failed repeated ListValue conformance test into php failure list
-
- 11 Feb, 2019 2 commits
-
-
Sydney Acksman authored
* Modify how end tags are encounted in merge code (compiler) * Modify how end tags are encounted in merge code (generated) * Modify how end tags are encounted in merge code (library) * Regenerate generated code through generate_descriptor_proto.sh
-
Sydney Acksman authored
* Modify how end tags are encounted in merge code (compiler) * Modify how end tags are encounted in merge code (generated) * Modify how end tags are encounted in merge code (library) * Regenerate generated code through generate_descriptor_proto.sh
-
- 08 Jan, 2019 1 commit
-
-
Yilun Chong authored
* Down-integrate internal changes to github. * fix python conformance test * fix csharp conformance test * add back java map_lite_test.proto's optimize for option * fix php conformance test
-
- 05 Nov, 2018 1 commit
-
-
Sydney Acksman authored
Add group support for proto2
-
- 24 Sep, 2018 1 commit
-
-
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
-
- 22 Sep, 2018 1 commit
-
-
Jon Skeet authored
This is primarily for access to comments, which would be expected to be available in a protoc plugin. The implementation has two fiddly aspects: - We use a Lazy<T> to avoid building the map before cross-linking. An alternative would be to crosslink at the end of the constructor, and remove the calls to CrossLink elsewhere. This would be generally better IMO, but deviate from the Java code. - The casts to IReadOnlyList<DescriptorBase> are unfortunate. They'll always work, because these lists are always ReadOnlyCollection<T> for a descriptor type... but we can't use IList<DescriptorBase> as that's not covariant, and it's annoyingly fiddly to change the field to be of type ReadOnlyCollection<T>.
-
- 19 Apr, 2018 1 commit
-
-
Sydney Acksman authored
* Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
-
- 19 Dec, 2017 1 commit
-
-
Jie Luo authored
Add preserve UnknownFields Compare floating point values bitwise Add auto-generated header to C# generated files
-
- 13 Dec, 2017 2 commits
-
-
Jan Tattermusch authored
* Add auto-generated header to C# generated files * regenerate C# protos
-
Jie Luo authored
Add unknown field support for csharp
-
- 09 Dec, 2017 1 commit
-
-
Jon Skeet authored
With this in place, all tests should pass. Fixes #3725.
-
- 14 Nov, 2017 1 commit
-
-
Jon Skeet authored
-
- 12 Nov, 2017 1 commit
-
-
Jon Skeet authored
-
- 01 Nov, 2017 1 commit
-
-
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.
-
- 26 Jul, 2017 1 commit
-
-
Thomas Van Lenten authored
-
- 25 Jul, 2017 1 commit
-
-
Jisi Liu authored
-
- 05 Jul, 2017 1 commit
-
-
Yilun Chong authored
-
- 28 Feb, 2017 1 commit
-
-
Jie Luo authored
There might be duplicated enum values when allow_alias is true. Add PreferredAlias into OriginalNameAttribute to remove the duplication (#2727)
-
- 27 Jan, 2017 1 commit
-
-
Jie Luo authored
-
- 19 Jan, 2017 1 commit
-
-
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.
-
- 12 Dec, 2016 1 commit
-
-
Jan Tattermusch authored
-
- 03 Dec, 2016 1 commit
-
-
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.
-
- 04 Jul, 2016 1 commit
-
-
Jon Skeet authored
-
- 20 Apr, 2016 1 commit
-
-
Jon Skeet authored
JSON tests fail, as we're not using OriginalNameAttribute yet.
-
- 18 Mar, 2016 1 commit
-
-
alien authored
Conflicts: csharp/src/Google.Protobuf/JsonFormatter.cs
-
- 04 Feb, 2016 2 commits
- 15 Jan, 2016 1 commit
-
-
Jon Skeet authored
"valueField": null is parsed appropriately, i.e. that it remembers that the field is set.
-
- 13 Jan, 2016 1 commit
-
-
Jon Skeet authored
This fixes issue #933, effectively.
-
- 11 Jan, 2016 1 commit
-
-
Jon Skeet authored
On deserialization, missing values for message types are replaced with a "default" message.
-
- 15 Dec, 2015 1 commit
-
-
Jon Skeet authored
-
- 22 Nov, 2015 1 commit
-
-
Jon Skeet authored
Generated code changes for previous commit (basically InternalBuildGeneratedFileFrom => FromGeneratedCode)
-
- 19 Nov, 2015 1 commit
-
-
Jon Skeet authored
-
- 09 Nov, 2015 1 commit
-
-
Jon Skeet authored
-
- 24 Oct, 2015 1 commit
-
-
Jon Skeet authored
-
- 01 Oct, 2015 1 commit
-
-
Jon Skeet authored
-
- 30 Sep, 2015 1 commit
-
-
Jon Skeet authored
-
- 29 Sep, 2015 1 commit
-
-
Jon Skeet authored
-