Joshua Haberman
296c1fdaff
Update protobuf version ( #9820 )
...
* Update protobuf version
* Updated Makefile.am for composer.json move.
3 years ago
Mike Kruskal
d24edbca53
Update protobuf version
3 years ago
Darly Paredes
25045e3f69
Update protobuf version
3 years ago
theodorerose
ebfa0d345e
Update protobuf version
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
Jensaarai
1252f3e147
More Code Review Updates
...
* Add more testing for ReadOnlySpan parsing
* Update `AssertReadFromParseContext` to also run assertions for a
`ParseContext` initialized from a `ReadOnlySpan` of the given input.
* Remove passing `ReadOnlySpan` parameters by ref since they are not
altered and the type isn't large enough to benefit from performance
improvements for passing by `ref` or `in`
* Update `ParseContext` `Initialize` overloads for
`ReadOnlySpan<byte>`, going down to two (since nothing was calling the
overload that changed the recursion limit). The first now calls the
second to set the `buffer` and `state` on the context, and has
documentation to note that it is used to create a `ParserInternalState`
with default settings.
4 years ago
Adam Cozzette
debc03dfc5
Update protobuf version to 3.16.0-rc2 ( #8556 )
...
* Update CHANGES.txt
* Update protobuf version
4 years ago
Jan Tattermusch
2f0e269725
improve readability of MessageParsingHelpers
4 years ago
Jan Tattermusch
89244fe167
make public API take ReadOnlySpan<byte> without "ref"
4 years ago
Jensaarai
5095b68183
Code Review Feedback
...
* Move additional `ReadOnlySpan<byte>` `ParseContext` overloads next to
the existing overload
* Pass `ReadOnlySpan<byte>` parameters by `ref`
* Update `MessageParsingHelpers` to add checks for parsing from
`ReadOnlySpan<byte>`, remove tests from `CodedInputStreamTest`
4 years ago
Joshua Haberman
ce560630bf
Sync from Piper @368734211
...
PROTOBUF_SYNC_PIPER
4 years ago
Jensaarai
76e3ffd9f0
C#: Add ParseFrom/MergeFrom ReadOnlySpan<byte>
...
Address #7885
4 years ago
Adam Cozzette
436bd7880e
Updated version to 3.15.8 ( #8463 )
...
* Update protobuf version
* Updated CHANGES.txt and package.xml for 3.15.8
4 years ago