- 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 1 commit
-
-
Jie Luo authored
Add unknown field support for csharp
-
- 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.
-
- 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.
-
- 10 Jul, 2016 1 commit
-
-
Jos Hickson authored
-
- 29 Feb, 2016 1 commit
-
-
Jon Skeet authored
This fixes issue #679 and issue #1282. (The .gitignore change is just around ncrunch; I can put it in a separate PR if you really want.)
-
- 15 Feb, 2016 1 commit
-
-
Jon Skeet authored
This detects: - An end-group tag with the wrong field number (doesn't match the start-group field) - An end-group tag with no preceding start-group tag Fixes issue #688.
-
- 04 Feb, 2016 1 commit
-
-
Jon Skeet authored
(Generated code changes in next commit.)
-
- 29 Sep, 2015 1 commit
-
-
Jon Skeet authored
There are now summaries for: - The Types nested class (which holds nested types) - The file descriptor class for each proto - The enum generated for each oneof (Also fixed two typos.) Generated code in next commit.
-
- 10 Aug, 2015 1 commit
-
-
Jon Skeet authored
- Removed a TODO without change in DescriptorPool.LookupSymbol - the TODOs were around performance, and this is only used during descriptor initialization - Make the CodedInputStream limits read-only, adding a static factory method for the rare cases when this is useful - Extracted IDeepCloneable into its own file.
-
- 08 Aug, 2015 2 commits
- 06 Aug, 2015 1 commit
-
-
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.)
-
- 05 Aug, 2015 3 commits
-
-
Jon Skeet authored
Change ReadTag and PeekTag to just use 0 as a return value for "end of stream", rather than using an awkward out parameter. This simplifies quite a lot of code. Generated code in next commit.
-
Jon Skeet authored
We should now have no conformance failures.
-
Jon Skeet authored
This is expected to be the cause of the conformance test failures. Generated code in next commit.
-
- 04 Aug, 2015 1 commit
-
-
Jon Skeet authored
-
- 03 Aug, 2015 1 commit
-
-
Jon Skeet authored
-
- 17 Jul, 2015 1 commit
-
-
Jon Skeet authored
We'll see what I've missed when CI fails...
-
- 30 Jun, 2015 3 commits
-
-
Jon Skeet authored
Everything should now be consistent - the only difference between files is the year (aside from generated files). Fixes issue #531.
-
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.
-
Jon Skeet authored
Prod code works, but some tests are broken. Obviously those need fixing, then more tests, and review benchmarks.
-
- 25 Jun, 2015 1 commit
-
-
Jon Skeet authored
Generated code in next commit.
-
- 19 Jun, 2015 1 commit
-
-
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
-
- 17 Jun, 2015 1 commit
-
-
Jon Skeet authored
-
- 12 Jun, 2015 3 commits
-
-
Jon Skeet authored
This is effectively reimplementing List<T>, but with a few advantages: - We know that an empty repeated field is common, so don't allocate an array until we need to - With direct access to the array, we can easily convert enum values to int without boxing - We can relax the restrictions over what happens if the repeated field is modified while iterating, avoiding so much checking This is somewhat risky, in that reimplementing a building block like this is *always* risky, but hey... (The performance benefits are significant...)
-
Jon Skeet authored
This mirrors commit 7c86bbbc7a3365c034d82173b38ec4427b98b3b2 in the pull request to the main protobuf project, but also reduces the size of the buffer created. (There's no point in creating a 1024-byte buffer if we're only skipping 5 bytes...)
-
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.
-
- 11 Jun, 2015 1 commit
-
-
Jon Skeet authored
This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
-
- 09 Jun, 2015 1 commit
-
-
Jon Skeet authored
-
- 29 Apr, 2015 1 commit
-
-
Jon Skeet authored
We need to remove it from the generator too; I'll raise a github issue for that.
-