Jan Tattermusch
20b7fab0a9
Merge pull request #6674 from ObsidianMinor/csharp/general-cleanup
...
Cleanup various bits of Google.Protobuf
2019-12-05 10:38:10 +01:00
Jan Tattermusch
c8a56342d5
Merge pull request #6938 from ObsidianMinor/csharp/fix/6936
...
Fix latest ArgumentException for C# extensions
2019-12-05 10:36:47 +01:00
Sydney Acksman
367fd27732
Rename files and revert changes to generate protos script
2019-12-03 10:52:24 -06:00
Sydney Acksman
d5e964c8bb
Make test comment a summary
2019-12-03 10:46:34 -06:00
Sydney Acksman
34f9497162
Use explicit comparer for extension identifiers
2019-12-02 13:56:21 -06:00
Sydney Acksman
1a0ff9551a
Add comment and Assert.DoesNotThrow to RequiredFieldsNoThrow
2019-12-02 13:50:51 -06:00
Sydney Acksman
145033c056
Adjust based on review feedback
2019-11-27 11:32:13 -06:00
Jan Tattermusch
058d5b0d71
Merge pull request #6910 from ObsidianMinor/csharp/conformance-failures
...
Fix conformance test failures for Google.Protobuf
2019-11-26 17:18:05 +01:00
Jan Tattermusch
96e9ff3863
Revert "Revert "C# upgrade dotnet SDK ( #6877 )" ( #6888 )" ( #6920 )
...
This reverts commit f06800524f
.
2019-11-25 11:29:47 -08:00
Sydney Acksman
cd11d5414f
Improve test to make sure the extensions are actually loaded for CustomOptions
2019-11-24 14:56:35 -06:00
Sydney Acksman
2b0b838528
Add tests
2019-11-24 14:22:50 -06:00
Sydney Acksman
3c2a32a75f
Use Distinct on depended extensions to filter duplicate extensions
2019-11-24 14:22:26 -06:00
Sydney Acksman
f084d622c2
Add test for not throwing on missing required
2019-11-20 11:54:20 -06:00
Sydney Acksman
6f09cc3a0c
Fix readability.
2019-11-20 10:56:34 -06:00
Sydney Acksman
3457f88940
Fix formatting
2019-11-20 10:55:48 -06:00
Jan Tattermusch
77d33734cf
simpler fix
2019-11-20 12:48:49 +01:00
Sydney Acksman
71ac3e5c0e
Fix exception message on unsupported request output format
2019-11-19 17:50:53 -06:00
Sydney Acksman
e2e70a8a42
Fix conformance test failures for Google.Protobuf
2019-11-19 17:50:46 -06:00
Sydney Acksman
71c492da3c
Add some missing null-checks
...
Remove IsInitialized checks accidentally left in MessageParser
Simplify ExtensionCollection.CrossLink
2019-11-19 12:34:19 -06:00
Rafi Kamal
3cc55d6167
Update protobuf version ( #6898 )
2019-11-15 17:44:10 -08:00
Jie Luo
f06800524f
Revert "C# upgrade dotnet SDK ( #6877 )" ( #6888 )
...
This reverts commit 0c8acb6c8d
.
2019-11-14 09:49:59 -08:00
Jan Tattermusch
0c8acb6c8d
C# upgrade dotnet SDK ( #6877 )
...
* upgrade dotnet SDK
* upgrade dotnet SDK version in global.json
2019-11-14 09:39:31 -08:00
Rafi Kamal
394f5c8c0f
Whitelist newly added conformance test failures for Ruby, C#, and PHP
2019-11-12 13:38:58 -08:00
Rafi Kamal
58d4420e2d
Down Integrate Internal Changes
2019-11-12 13:38:58 -08:00
Sydney Acksman
b84929f7fb
Rename .CodeGen to .TestProtos in Makefile and script
2019-11-08 08:41:26 -06:00
Sydney Acksman
51fa766baa
Fix typos
...
Bring .NET Framework target down to 4.5
Rename project in comment
2019-11-08 07:23:51 -06:00
Sydney Acksman
a70c796988
Add project to solution
2019-11-08 07:23:51 -06:00
Sydney Acksman
8da87c6202
Rename Google.Protobuf.Test.CodeGen to Google.Protobuf.Test.TestProtos
2019-11-08 07:23:51 -06:00
Sydney Acksman
2bb49712aa
Add comment to summarize project
...
Set lang version to C# 3.0
Add .NET Standard 2.0 target
Fix partial diagnostic string since it requires C# 6
2019-11-08 07:23:50 -06:00
Sydney Acksman
63780dfb28
Rebase on master
2019-11-08 07:23:50 -06:00
Sydney Acksman
a85c4a3299
Move generated test code to a seperate lib
2019-11-08 07:23:50 -06:00
Sydney Acksman
c04a02774d
Change _Extensions property to normal body rather than expression
2019-11-07 15:30:12 -06:00
Jan Tattermusch
0150f7f532
Merge pull request #6843 from chrisdunelm/csharp_wrapper_primitive_opts
...
C#: Optimize parsing of some primitive and wrapper types
2019-11-05 18:04:53 +01:00
Chris Bacon
d22eaded5c
Remove unneeded exception methods
2019-11-05 11:39:31 +00:00
Chris Bacon
2ac8946ee3
Allow extra fields in wrapper messages, more tests.
2019-11-04 21:35:38 +00:00
Chris Bacon
e305e56cad
C#: Optimize parsing of some primitive and wrapper types
2019-11-04 20:26:27 +00:00
Sydney Acksman
e119a432a8
Use 3 parameter Encoding.FromBytes for default string values
2019-11-04 12:31:28 -06:00
Jan Tattermusch
b8b1b6793f
add regenerate C# protos
2019-11-04 18:21:22 +01:00
Jan Tattermusch
85a87ed3cb
add benchmark for wrapper type parsing
2019-11-04 18:21:22 +01:00
Jan Tattermusch
c81bad1b04
add wrapper_benchmark_messages.proto
2019-11-04 18:21:22 +01:00
Jan Tattermusch
9417a310d3
Merge pull request #6824 from jskeet/fix-extensions
...
Fix reflection access when using old generated code
2019-11-04 14:12:06 +01:00
Jon Skeet
7282f29ced
Avoid NullReferenceException when accessing CustomOptions
...
Even though the property is deprecated, it still shouldn't throw.
2019-10-30 11:59:09 +00:00
Jon Skeet
9b5fdb0938
Ignore incomplete extensions when building a FileDescriptor
...
FileDescriptor construction uses an extension registry including extensions from imports. If these were created using an older version of protoc, the FieldDescriptor.Extension property may be null; we ignore such extensions rather than failing.
2019-10-30 09:47:45 +00:00
Jon Skeet
7581fd5ea6
Tests for issue 6822
...
(The implementation to fix this is in the following commit.)
2019-10-30 09:46:24 +00:00
Jon Skeet
e613ba6980
Add braces around single-statement if/foreach
2019-10-30 09:45:00 +00:00
Jan Tattermusch
c08b7512cf
Merge pull request #6759 from ObsidianMinor/csharp/extension-length-checks
...
Add length checks to ExtensionCollection
2019-10-22 08:24:43 +02:00
Jan Tattermusch
2f7f670134
Merge pull request #6530 from prat0088/csharp-ensuresize
...
c# feature(RepeatedField): Capacity property to resize the internal array
2019-10-18 17:35:12 +02:00
Sydney Acksman
f50bc62feb
Add length checks to ExtensionCollection
2019-10-11 20:23:07 -05:00
Rafi Kamal
2ed41359fe
Update version to 3.11.0-RC0
2019-10-03 14:24:27 -07:00
Rafi Kamal
97c7c3fc97
Merge 3.10.x to master
2019-10-03 14:03:38 -07:00