Bo Yang
b5fbb742af
Bump version number to 3.5.2
7 years ago
Jon Skeet
822b924d59
Allow list values to be null when parsing
7 years ago
ObsidianMinor
e823897005
Updated NUnit packages, removed NUnitLite added packages for dotnet and Visual Studio, changed dotnet command in buildall to dotnet test, and deleted Program.cs (because it's no longer required).
7 years ago
John Brock
864df890a7
Remove 64MB memory limit when deserializing messages in C#
...
Increased `CodedInputStream.DefaultSizeLimit` to `Int32.MaxValue` to make it consistent with the Java implementation.
7 years ago
Jon Skeet
47b7d2c7ca
Add DiscardUnknownFields support for C#
...
By default, unknown fields are preserved when parsing. To discard
them, use a parser configured to do so:
var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
7 years ago
Jie Luo
b308580bb1
Cherrypick for csharp, including:
...
Add preserve UnknownFields
Compare floating point values bitwise
Add auto-generated header to C# generated files
7 years ago
Jisi Liu
050fc9a437
Update version number to 3.5.1
7 years ago
Jan Tattermusch
426cf6f31e
Add auto-generated header to C# generated files ( #4038 )
...
* Add auto-generated header to C# generated files
* regenerate C# protos
7 years ago
Jie Luo
bfd254e14f
Add unknown field support for csharp ( #3936 )
...
Add unknown field support for csharp
7 years ago
Feng Xiao
75eceb8424
Update generated code.
7 years ago
Jon Skeet
31c54d1289
Regenerated code from previous C# codegen commit
...
With this in place, all tests should pass.
Fixes #3725 .
7 years ago
Jon Skeet
f3e9a65d75
Compare floating point values bitwise in C#
...
This is the manual code part of the Google.Protobuf library, and tests.
Some tests will fail until codegen is changed and rerun.
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Jie Luo
6d6099553b
Update csharp version number ( #3958 )
7 years ago
Jon Skeet
74f64b667c
Fix JsonTokenizer exception message
7 years ago
Jon Skeet
91ff83c024
Remove non-C# options from C#-only test protos
8 years ago
Jon Skeet
8cf53f8dfc
MMinor fix-ups to C# tests from changes in earlier commits
8 years ago
Jon Skeet
b5cdf0eac6
Regenerated test code for C#
8 years ago
Jan Tattermusch
5f96191459
ParseFrom<T> for array slice is missing
8 years ago
Jan Tattermusch
4a5e1bd043
check already performed by MergeFrom
8 years ago
Jan Tattermusch
435f61102b
allow message parsing from an array slice
8 years ago
Jan Tattermusch
30b6e54327
ParseFrom<T> for array slice is missing
8 years ago
Jan Tattermusch
07542e78da
check already performed by MergeFrom
8 years ago
Jan Tattermusch
0c874a6a19
allow message parsing from an array slice
8 years ago
Jisi Liu
97dd175a91
Update version number to 3.5.0
8 years ago
Jon Skeet
cbe250591f
Fix merging with message-valued oneof
...
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.
8 years ago
xuwei-k
05b56d01c1
update joda-time javadoc url
8 years ago
Jon Skeet
e8c9ae1209
Add parser settings WithXyz methods
8 years ago
Jon Skeet
a985451253
Add JsonParser setting to ignore unknown field values
...
Note that the default behavior is still to throw an exception; you
need to opt into ignoring unknown fields.
Fixes #2838 .
8 years ago
Jisi Liu
ecf2957106
Update descriptor protos
8 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
8 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
8 years ago
Jan Tattermusch
5de05654aa
Google.Protobuf should target net45
8 years ago
Feng Xiao
49b31dc5f7
Update C# generated file for addressbook.proto
8 years ago
Jan Tattermusch
50a64759dd
Google.Protobuf should target net45
8 years ago
Paul Yang
2807436cd8
change the field number of php_generic_service to fix the conflict with ( #3576 )
...
internal descriptor.proto
8 years ago
Jon Skeet
e0d24cc84a
Detect invalid tags with a field number of 0 in C#
...
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.
8 years ago
Jisi Liu
6c64f11778
Bump csharp version
8 years ago
Thomas Van Lenten
9a4692d8af
Update the comment on the message_type to cover what it should be.
8 years ago
Jisi Liu
759245a49a
Merge from master
8 years ago
Jisi Liu
86975301f1
Update csharp and php descriptor
8 years ago
Matt A
9e745f771b
Support PHP generic services ( #3269 )
...
* Add php_generic_services option
* Generate PHP generic services
* Respect namespaces for generated PHP services
* Test PHP generated services
* Rename PHP generator service method doc comment function
* Correct phpdoc service method case
* Test namespaced PHP generic services
* Always use the FQCN for PHP generic service input/output
* Add generated_service_test to php test.sh
* Add php service test protos to CI
* Add php service files to php_EXTRA_DIST
* Use Interface suffix for php generic services
8 years ago
Jon Skeet
71f2f0d76c
Fix repository URL in C# project file
8 years ago
Jean-Rémy Bancel
727c0dc1fa
C#: Implement IReadOnlyDictionary<K,V> in MapField<K,V>
8 years ago
Yilun Chong
7339c25d12
delete backup files
8 years ago
Yilun Chong
cbf7dfb323
fix php failing list and csharp generated proto
8 years ago
Jon Skeet
cdd524a0bd
Ensure leaveOpen is true when writing to a buffer
...
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 .
8 years ago
Jon Skeet
62d7fe5697
Make Any easier to work with in C#
...
- Add a TryUnpack method which doesn't throw if the type is wrong
- Make GetTypeName public for easier determination of the message type
Fixes #3294 .
8 years ago
Yilun Chong
3adb054bbf
add some test proto2 supported, add js proto2 supported, fixed some error
8 years ago
Yilun Chong
a7d5be6a91
change php objc nodejs csharp ruby
8 years ago