- 13 Nov, 2018 1 commit
-
-
Jon Skeet authored
* Increase C# default recursion limit to 100 This matches the Java and C++ defaults. * Change compatibility tests to use execution-time default recursion limit This way the same tests should pass against all versions, even if the recursion limit changes. (The tests will be testing whether different messages work, admittedly - but that's probably fine.)
-
- 09 Nov, 2018 1 commit
-
-
Adam Cozzette authored
-
- 05 Nov, 2018 1 commit
-
-
Sydney Acksman authored
Add group support for proto2
-
- 08 Oct, 2018 1 commit
-
-
Benjamin Krämer authored
* Ported FieldMaskUtil from Java to C# * Merged FieldMaskUtil into FieldMaskPartial - Removed FieldMaskUtil - Moved FieldMaskTree to root - Updated tests * Improved tests - Removed internal method FieldMaskTree.GetFieldPaths - Proof FieldMask.Paths only contains expected values * Added FieldMaskTreeTest to Makefile * Added FieldMaskTree to Makefile
-
- 05 Oct, 2018 1 commit
-
-
Sydney Acksman authored
-
- 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 4 commits
-
-
Jon Skeet authored
-
Jon Skeet authored
Rather than converting the proto to a ByteString again, use the existing SerializedData property.
-
Jon Skeet authored
-
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>.
-
- 10 Sep, 2018 1 commit
-
-
Jon Skeet authored
This performs more testing for field descriptors built from byte strings too, but that's mostly incidental. The chief intent is to check that cross-linking occurs.
-
- 22 Aug, 2018 1 commit
-
-
Feng Xiao authored
-
- 20 Aug, 2018 1 commit
-
-
Jon Skeet authored
Related to #658 and #5007.
-
- 09 Jul, 2018 1 commit
-
-
Warren Falk authored
-
- 25 Jun, 2018 1 commit
-
-
Sebastian Schuberth authored
This potentially avoids compiler warnings.
-
- 19 Apr, 2018 1 commit
-
-
Sydney Acksman authored
* Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
-
- 01 Mar, 2018 1 commit
-
-
Jon Skeet authored
-
- 06 Feb, 2018 1 commit
-
-
ObsidianMinor authored
Updated NUnit packages, removed NUnitLite added packages for dotnet and Visual Studio, changed dotnet command in buildall to dotnet test, and deleted Program.cs (because it's no longer required).
-
- 31 Jan, 2018 1 commit
-
-
John Brock authored
Increased `CodedInputStream.DefaultSizeLimit` to `Int32.MaxValue` to make it consistent with the Java implementation.
-
- 15 Jan, 2018 1 commit
-
-
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);
-
- 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 2 commits
- 14 Nov, 2017 1 commit
-
-
Jon Skeet authored
-
- 12 Nov, 2017 2 commits
- 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.
-
- 28 Oct, 2017 1 commit
-
-
Jon Skeet authored
Note that the default behavior is still to throw an exception; you need to opt into ignoring unknown fields. Fixes #2838.
-
- 11 Aug, 2017 1 commit
-
-
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.
-
- 26 Jul, 2017 1 commit
-
-
Thomas Van Lenten authored
-
- 25 Jul, 2017 1 commit
-
-
Jisi Liu authored
-
- 12 Jul, 2017 1 commit
-
-
Jean-Rémy Bancel authored
-
- 05 Jul, 2017 1 commit
-
-
Yilun Chong authored
-
- 04 Jul, 2017 1 commit
-
-
Jon Skeet authored
Note that the compatibility tests have had to cahnge as well, to cope with internal changes. (The test project has access to internals in the main project.) Fixes #3209.
-
- 03 Jul, 2017 1 commit
-
-
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.
-
- 25 May, 2017 1 commit
-
-
John Brock authored
-
- 24 May, 2017 1 commit
-
-
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.
-
- 24 Mar, 2017 1 commit
-
-
Jie Luo authored
-