aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp
Commit message (Collapse)AuthorAge
* Address review commentsGravatar Jon Skeet2018-03-27
|
* Work around an "old runtime" issue with reflectionGravatar Jon Skeet2018-03-27
| | | | | | | | | | For oneofs, to get the case, we need to call the property that returns the enum value. We really want it as an int, and modern runtimes allow us to create a delegate which returns an int from the method. (I suspect that the MS runtime has always allowed that.) Old versions of Mono (e.g. used by Unity3d) don't allow that, so we have to convert the enum value to an int via boxing. It's ugly, but it should work.
* Introduce a compatiblity shim to support .NET 3.5 delegate creationGravatar Jon Skeet2018-03-27
|
* Change C# reflection to avoid using expression treesGravatar Jon Skeet2018-03-27
| | | | | | This should work on Unity, Mono and .NET 3.5 as far as I'm aware. It won't work on platforms where reflection itself is prohibited, but that's a non-starter basically.
* Merge pull request #4387 from acozzette/down-integrateGravatar Adam Cozzette2018-03-20
|\ | | | | Integrated internal changes from Google
* \ Merge pull request #4345 from jskeet/list-json-nullGravatar Feng Xiao2018-03-20
|\ \ | | | | | | Allow null value in JSON representation of ListValue
| | * Updated checked-in generated codeGravatar Adam Cozzette2018-03-14
| | |
| * | Allow list values to be null when parsingGravatar Jon Skeet2018-03-01
| |/
* / Remove 64MB memory limit when deserializing messages in C#Gravatar John Brock2018-01-31
|/ | | | Increased `CodedInputStream.DefaultSizeLimit` to `Int32.MaxValue` to make it consistent with the Java implementation.
* Update .NET SDK to 2.0.3Gravatar Jon Skeet2018-01-25
| | | | | | | | | | This will allow SourceLink as per #4179, and mean that we can use C# 7.0 language features in the library (but not in generated code). This does not affect which platforms we're *targeting*, so end users won't see any difference. It would be nice to update to 2.1.4, but AppVeyor's "Visual Studio 2017" environment is only 2.0.3.
* Add DiscardUnknownFields support for C#Gravatar Jon Skeet2018-01-15
| | | | | | | By default, unknown fields are preserved when parsing. To discard them, use a parser configured to do so: var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
* Merge remote-tracking branch 'origin/3.5.x' into masterGravatar Jisi Liu2018-01-03
|\
| * Merge pull request #4072 from google/jieluoGravatar Jisi Liu2017-12-19
| |\ | | | | | | Cherrypick for csharp, including:
| | * Cherrypick for csharp, including:Gravatar Jie Luo2017-12-19
| | | | | | | | | | | | | | | | | | Add preserve UnknownFields Compare floating point values bitwise Add auto-generated header to C# generated files
| * | Update version number to 3.5.1Gravatar Jisi Liu2017-12-19
| |/
* | Add auto-generated header to C# generated files (#4038)Gravatar Jan Tattermusch2017-12-13
| | | | | | | | | | | | * Add auto-generated header to C# generated files * regenerate C# protos
* | Add unknown field support for csharp (#3936)Gravatar Jie Luo2017-12-13
| | | | | | Add unknown field support for csharp
* | Update generated code.Gravatar Feng Xiao2017-12-12
| |
* | Regenerated code from previous C# codegen commitGravatar Jon Skeet2017-12-09
| | | | | | | | | | | | With this in place, all tests should pass. Fixes #3725.
* | Compare floating point values bitwise in C#Gravatar Jon Skeet2017-12-09
| | | | | | | | | | This is the manual code part of the Google.Protobuf library, and tests. Some tests will fail until codegen is changed and rerun.
* | Merge branch 'master' into down-integrateGravatar Adam Cozzette2017-12-01
|\ \
* | | Integrated internal changes from GoogleGravatar Adam Cozzette2017-12-01
| | |
| * | Merge branch '3.5.x' into 3.5.x-mergeGravatar Adam Cozzette2017-11-30
| |\|
| * | Update csharp version number (#3958)Gravatar Jie Luo2017-11-29
| | |
| * | Fix JsonTokenizer exception messageGravatar Jon Skeet2017-11-29
| | |
| * | Remove non-C# options from C#-only test protosGravatar Jon Skeet2017-11-14
| | |
| * | MMinor fix-ups to C# tests from changes in earlier commitsGravatar Jon Skeet2017-11-12
| | |
| * | Regenerated test code for C#Gravatar Jon Skeet2017-11-12
| | |
| * | Move C#-only test protos to csharp/protosGravatar Jon Skeet2017-11-12
|/ / | | | | | | | | | | | | | | | | | | unittest_proto3 had been changed in a very backward-incompatible way which was never going to work with C# as it imports proto2 messages. This is now a copy of the old file, but with a package name change for compatibility with the remaining files in src/google/protobuf. The other moves are for files that are only used by C#.
| * ParseFrom<T> for array slice is missingGravatar Jan Tattermusch2017-11-10
| |
| * check already performed by MergeFromGravatar Jan Tattermusch2017-11-10
| |
| * allow message parsing from an array sliceGravatar Jan Tattermusch2017-11-10
| |
* | ParseFrom<T> for array slice is missingGravatar Jan Tattermusch2017-11-09
| |
* | check already performed by MergeFromGravatar Jan Tattermusch2017-11-09
| |
* | allow message parsing from an array sliceGravatar Jan Tattermusch2017-11-09
| |
| * Update version number to 3.5.0Gravatar Jisi Liu2017-11-02
|/
* Fix merging with message-valued oneofGravatar Jon Skeet2017-10-31
| | | | | | | | | | 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.
* update joda-time javadoc urlGravatar xuwei-k2017-10-30
|
* Add parser settings WithXyz methodsGravatar Jon Skeet2017-10-28
|
* Add JsonParser setting to ignore unknown field valuesGravatar Jon Skeet2017-10-28
| | | | | | | Note that the default behavior is still to throw an exception; you need to opt into ignoring unknown fields. Fixes #2838.
* Update descriptor protosGravatar Jisi Liu2017-10-18
|
* Merge remote-tracking branch 'origin/3.4.x' into masterGravatar Jisi Liu2017-10-11
|\
| * Bump version for minor releaseGravatar Jisi Liu2017-09-14
| |
* | Integrated internal changes from GoogleGravatar Adam Cozzette2017-09-14
| |
* | Google.Protobuf should target net45Gravatar Jan Tattermusch2017-09-12
| |
* | Update C# generated file for addressbook.protoGravatar Feng Xiao2017-09-11
| |
| * Google.Protobuf should target net45Gravatar Jan Tattermusch2017-09-05
| |
| * change the field number of php_generic_service to fix the conflict with (#3576)Gravatar Paul Yang2017-08-30
| | | | | | internal descriptor.proto
* | Merge remote-tracking branch 'origin/3.4.x' into mergemasterGravatar Jisi Liu2017-08-18
|\|
* | Detect invalid tags with a field number of 0 in C#Gravatar Jon Skeet2017-08-11
| | | | | | | | | | | | | | | | 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.