- 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.)
-
- 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 Feb, 2017 1 commit
-
-
Jie Luo authored
All the files are copied from 3.0.0 (JosnFormaterTest was deleted)
-
- 01 Mar, 2016 1 commit
-
-
Jon Skeet 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 Nov, 2015 1 commit
-
-
Jon Skeet authored
Fixes issue #932.
-
- 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 1 commit
-
-
Jon Skeet authored
-
- 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 1 commit
-
-
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.
-
- 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...
-
- 09 Jul, 2015 1 commit
-
-
Jon Skeet authored
- Added new line at the end of SampleEnum - Moved GeneratedMessageTest.GetSampleMessage to a new class, SampleMessages, and renamed it to CreateFullTestAllTypes.
-
- 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
-
- 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 2 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
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
-
- 12 May, 2015 1 commit
-
-
Jon Skeet authored
This includes the NUnit test adapter which allows NUnit tests to be run under VS without any extra plugins. Unfortunate the compatibility tests using the abstract test fixture class show up as "external" tests, and aren't well presented - but they do run.
-
- 30 Apr, 2015 1 commit
-
-
Jon Skeet authored
This includes fetching the VS unit test runner package, so that tests can be run from Visual Studio's Test Explorer.
-