Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Address review comments | Jon Skeet | 2018-03-27 |
| | |||
* | Work around an "old runtime" issue with reflection | Jon Skeet | 2018-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 creation | Jon Skeet | 2018-03-27 |
| | |||
* | Change C# reflection to avoid using expression trees | Jon Skeet | 2018-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-integrate | Adam Cozzette | 2018-03-20 |
|\ | | | | | Integrated internal changes from Google | ||
* \ | Merge pull request #4345 from jskeet/list-json-null | Feng Xiao | 2018-03-20 |
|\ \ | | | | | | | Allow null value in JSON representation of ListValue | ||
| | * | Updated checked-in generated code | Adam Cozzette | 2018-03-14 |
| | | | |||
| * | | Allow list values to be null when parsing | Jon Skeet | 2018-03-01 |
| |/ | |||
* / | Remove 64MB memory limit when deserializing messages in C# | John Brock | 2018-01-31 |
|/ | | | | Increased `CodedInputStream.DefaultSizeLimit` to `Int32.MaxValue` to make it consistent with the Java implementation. | ||
* | Update .NET SDK to 2.0.3 | Jon Skeet | 2018-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# | Jon Skeet | 2018-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 master | Jisi Liu | 2018-01-03 |
|\ | |||
| * | Merge pull request #4072 from google/jieluo | Jisi Liu | 2017-12-19 |
| |\ | | | | | | | Cherrypick for csharp, including: | ||
| | * | Cherrypick for csharp, including: | Jie Luo | 2017-12-19 |
| | | | | | | | | | | | | | | | | | | Add preserve UnknownFields Compare floating point values bitwise Add auto-generated header to C# generated files | ||
| * | | Update version number to 3.5.1 | Jisi Liu | 2017-12-19 |
| |/ | |||
* | | Add auto-generated header to C# generated files (#4038) | Jan Tattermusch | 2017-12-13 |
| | | | | | | | | | | | | * Add auto-generated header to C# generated files * regenerate C# protos | ||
* | | Add unknown field support for csharp (#3936) | Jie Luo | 2017-12-13 |
| | | | | | | Add unknown field support for csharp | ||
* | | Update generated code. | Feng Xiao | 2017-12-12 |
| | | |||
* | | Regenerated code from previous C# codegen commit | Jon Skeet | 2017-12-09 |
| | | | | | | | | | | | | With this in place, all tests should pass. Fixes #3725. | ||
* | | Compare floating point values bitwise in C# | Jon Skeet | 2017-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-integrate | Adam Cozzette | 2017-12-01 |
|\ \ | |||
* | | | Integrated internal changes from Google | Adam Cozzette | 2017-12-01 |
| | | | |||
| * | | Merge branch '3.5.x' into 3.5.x-merge | Adam Cozzette | 2017-11-30 |
| |\| | |||
| * | | Update csharp version number (#3958) | Jie Luo | 2017-11-29 |
| | | | |||
| * | | Fix JsonTokenizer exception message | Jon Skeet | 2017-11-29 |
| | | | |||
| * | | Remove non-C# options from C#-only test protos | Jon Skeet | 2017-11-14 |
| | | | |||
| * | | MMinor fix-ups to C# tests from changes in earlier commits | Jon Skeet | 2017-11-12 |
| | | | |||
| * | | Regenerated test code for C# | Jon Skeet | 2017-11-12 |
| | | | |||
| * | | Move C#-only test protos to csharp/protos | Jon Skeet | 2017-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 missing | Jan Tattermusch | 2017-11-10 |
| | | |||
| * | check already performed by MergeFrom | Jan Tattermusch | 2017-11-10 |
| | | |||
| * | allow message parsing from an array slice | Jan Tattermusch | 2017-11-10 |
| | | |||
* | | ParseFrom<T> for array slice is missing | Jan Tattermusch | 2017-11-09 |
| | | |||
* | | check already performed by MergeFrom | Jan Tattermusch | 2017-11-09 |
| | | |||
* | | allow message parsing from an array slice | Jan Tattermusch | 2017-11-09 |
| | | |||
| * | Update version number to 3.5.0 | Jisi Liu | 2017-11-02 |
|/ | |||
* | Fix merging with message-valued oneof | Jon Skeet | 2017-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 url | xuwei-k | 2017-10-30 |
| | |||
* | Add parser settings WithXyz methods | Jon Skeet | 2017-10-28 |
| | |||
* | Add JsonParser setting to ignore unknown field values | Jon Skeet | 2017-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 protos | Jisi Liu | 2017-10-18 |
| | |||
* | Merge remote-tracking branch 'origin/3.4.x' into master | Jisi Liu | 2017-10-11 |
|\ | |||
| * | Bump version for minor release | Jisi Liu | 2017-09-14 |
| | | |||
* | | Integrated internal changes from Google | Adam Cozzette | 2017-09-14 |
| | | |||
* | | Google.Protobuf should target net45 | Jan Tattermusch | 2017-09-12 |
| | | |||
* | | Update C# generated file for addressbook.proto | Feng Xiao | 2017-09-11 |
| | | |||
| * | Google.Protobuf should target net45 | Jan Tattermusch | 2017-09-05 |
| | | |||
| * | change the field number of php_generic_service to fix the conflict with (#3576) | Paul Yang | 2017-08-30 |
| | | | | | | internal descriptor.proto | ||
* | | Merge remote-tracking branch 'origin/3.4.x' into mergemaster | Jisi Liu | 2017-08-18 |
|\| | |||
* | | Detect invalid tags with a field number of 0 in C# | Jon Skeet | 2017-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. |