Jon Skeet
e2f845b2f1
Test proto and unit test for issue #9605
...
This doesn't test *all* possibilities (e.g. the field being a
wrapper, or a message field, etc) - but I'm fairly confident that I
found all the places referring to the case.
3 years ago
Jon Skeet
d7ef9cd2ba
Make it easier to follow cmake/README.md instructions
...
When following the instructions directly (for developing on Windows) we should end up with a generator that's easy to run for csharp/generate_protos.sh, and we shouldn't end up trying to stage the build output.
3 years ago
Jon Skeet
afb0ca40b3
Change C# editor config to use LF by default
3 years ago
Jon Skeet
e1e9d3e6da
Normalize all C# and .proto files to LF
...
This commit should have no non-whitespace changes
Fixes #9526 (in terms of content)
3 years ago
mkruskal-google
a114b008a2
Reverting change to target frameworks that breaks kokoro
3 years ago
Jensaarai
fb6016eaed
Add .editorconfig for csharp directory
...
Nicer experience for e.g. VS Code
3 years ago
Darly Paredes
25045e3f69
Update protobuf version
3 years ago
Jensaarai
10df21ed5e
Add .NET 6 target to Google.Protobuf test projects
...
* .NET 5 reaches end-of-support in May, so update the Benchmarks project
to `net6.0`
* Update some NuGet packages to latest.
3 years ago
Darly Paredes
a4c9effec1
Sync from Piper @436517178
...
PROTOBUF_SYNC_PIPER
3 years ago
James Newton-King
e5ae3bb763
[C#] Update GetExtension to support getting typed value ( #9655 )
3 years ago
theodorerose
ebfa0d345e
Update protobuf version
3 years ago
Adam Cozzette
b20209f321
Sync from Piper @acozzette/proto_github_202203101748
...
PROTOBUF_SYNC_PIPER
3 years ago
Junrou Nishida
92cdf87f1a
[C#] fix parse failure for extensions with large field numbers ( #9591 )
3 years ago
Adam Cozzette
88a18db91e
Update protobuf version
3 years ago
ObsidianMinor
013e115231
Add an option to preserve proto names in JsonFormatter ( #6307 )
...
Co-authored-by: Adam Cozzette <acozzette@google.com>
3 years ago
Joshua Haberman
dce403a8b3
Sync from Piper @427369078
...
PROTOBUF_SYNC_PIPER
3 years ago
Elliotte Rusty Harold
867436c0b8
add test for clone of non-empty message ( #9193 )
...
* add test for clone
* use var
* reorder
3 years ago
Jon Skeet
b926a7d209
Add ToProto() method to all C# descriptor classes
...
Fixes #9425 .
3 years ago
Adam Cozzette
22d0e265de
Update protobuf version for 3.19.4 ( #9449 )
...
I also updated the PHP release notes in
php/ext/google/protobuf/package.xml.
3 years ago
Alexandre Mutel
16941420c9
Fixed NullReferenceException when accessing FieldDescriptor.IsPacked
3 years ago
Adam Cozzette
cc7b1b5323
Update protobuf version
3 years ago
Adam Cozzette
eb94f17a8b
Update protobuf version
3 years ago
James Newton-King
22462b0c52
Fix trim warnings
3 years ago
James Newton-King
4c09e43f74
Fix .NET SourceLink and warnings in NuGet package
3 years ago
James Newton-King
c685d79368
Fix test
3 years ago
James Newton-King
90afe0cfc6
Add nuget.config
3 years ago
James Newton-King
0f33dc4380
Fix tests
3 years ago
James Newton-King
aa15931050
Update .NET SDKs to LTS versions
3 years ago
Adam Cozzette
7c40b2df1f
Update protobuf version ( #9167 )
3 years ago
Chris Bainbridge
65852d6e9c
Fix comment syntax in any.proto ( #8792 )
...
* Fix comment syntax in any.proto
Remove extra spaces which cause incorrect indentation in godoc.
Remove the "====" style title which is not rendered by godoc.
* Run ./generate_descriptor_proto.sh
3 years ago
Adam Cozzette
9c3af64ae4
Update checked-in C# generated code ( #9158 )
...
This change fixes the test that verifies that the checked-in generated
code for descriptor.proto is up to date.
3 years ago
Adam Cozzette
17b30e9647
Update protobuf version ( #9119 )
3 years ago
Adam Cozzette
3f3e6f47c6
Update version to 3.19.0-rc2 and fix changelog about Java 7 ( #9116 )
...
* Update protobuf version
* Update CHANGES.txt to reflect that we're not yet dropping Java 7
3 years ago
Adam Cozzette
519340d662
Update protobuf version ( #9106 )
3 years ago
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
3 years ago
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
3 years ago
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
3 years ago
Bo Yang
d8f55782b0
Update protobuf version
3 years ago
Paul Yang
7cbc08615f
Update protobuf version ( #8887 )
3 years ago
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
3 years ago
Mark Young
9848fe2bf7
[csharp] ByteString.CreateCodedInput should use ArraySegment offset and count
...
CreateCodedInput is created from the underlying array behind the ByteString.
If this was created from a larger array (via Memory<byte> or ArrayPool etc)
then the CodedInput refers to the wrong section of memory.
Change is to add the offset and count like the other methods that use the
ArraySegment (ToString, ToBase64, WriteTo).
3 years ago
Deanna Garcia
367851d124
Update protobuf version
4 years ago
Deanna Garcia
5b8208ecea
Update protobuf version
4 years ago
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
52784ced2f
Update protobuf version ( #8633 )
4 years ago
Adam Cozzette
652d99a8ee
Update protobuf version ( #8606 )
4 years ago
Adam Cozzette
f807c02226
Update protobuf version to 3.17.0-rc2 ( #8586 )
...
* Update protobuf version
* Updated Kotlin versions and updated script to handle them
4 years ago
Jan Tattermusch
77a64e7dfe
regenerate protos
4 years ago
Adam Cozzette
7025f37cde
Update protobuf version ( #8575 )
4 years ago
Adam Cozzette
2dc747c574
Update PHP release notes and update version to 3.16.0 ( #8573 )
...
* Updated PHP release notes in packages.xml
* Update protobuf version to 3.16.0
4 years ago