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
Adam Cozzette
7689f00ba8
Update protobuf version ( #8448 )
4 years ago
Adam Cozzette
878be3569e
Update protobuf version
4 years ago
Derek Perez
4008d229aa
Sync from Piper @366297034
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
96307d28f6
Sync from Piper @364389596
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
6aa539bf01
Update protobuf version
4 years ago
Adam Cozzette
4fff47a418
Update protobuf version
4 years ago
Adam Cozzette
fd8aabf32d
Update protobuf version
4 years ago
Adam Cozzette
983d115bd9
Update protobuf version
4 years ago
Adam Cozzette
d7e943b8d2
Update protobuf version
4 years ago
Adam Cozzette
052dc799d2
Update protobuf version
4 years ago
Adam Cozzette
133e5e7526
Update protobuf version
4 years ago
Adam Cozzette
de701c660b
Update protobuf version
4 years ago
Adam Cozzette
ac9218c5d9
Update protobuf version
4 years ago
Adam Cozzette
ae50d9b990
Update protobuf version
4 years ago
Adam Cozzette
8260126500
Update protobuf version
4 years ago
James Newton-King
e4cd821f21
Add comments
4 years ago
Adam Cozzette
e9f2ef308c
Update protobuf version
4 years ago
James Newton-King
8932446d9e
Improve WriteString perf with SIMD
4 years ago
James Newton-King
c2b22b90fc
PR feedback
4 years ago
James Newton-King
cb246b8032
Optimize writing small strings
4 years ago
James Newton-King
69223b8386
Clean up
4 years ago
James Newton-King
542c0cc9d3
Fix missing key and test
4 years ago
Jon Skeet
f01d9e5601
Add an extension registry option when parsing file descriptors
...
This is important when parsing descriptor sets that contain extensions.
(The alternative is to get the descriptor bytes again for individual
elements, e.g. message descriptors, and reparse them with the
appropriate extensions. It's really ugly.)
4 years ago
Jon Skeet
cea3653a2e
Include the size of values (and tags) for extensions, even if the value is the default
...
Fixes #8218 .
4 years ago
James Newton-King
6cf068c439
Clean up
4 years ago
James Newton-King
e9cc0b0c23
Optimize MapField serialization by removing MessageAdapter
4 years ago
Jan Tattermusch
930ab0f33d
C#: do not use <PublicSign>true</PublicSign> on non-windows
4 years ago
James Newton-King
e794919f6b
PR feedback
4 years ago
James Newton-King
79f5bad83c
Change ByteString to use memory and support unsafe create without copy
4 years ago
Adam Cozzette
f3192d6128
Update protobuf version
4 years ago
James Newton-King
e91922a4e7
Additional test
4 years ago
James Newton-King
e57f761e7b
Fix parsing negative Int32Value that crosses segment boundary
4 years ago
James Newton-King
fdf4ef62a5
Additional test
4 years ago
James Newton-King
d8800ae2f3
Fix parsing negative Int32Value that crosses segment boundary
4 years ago
Adam Cozzette
1b851b3fe6
Update protobuf version
4 years ago
Adam Cozzette
a8ab1fade9
Update protobuf version
4 years ago
James Newton-King
52618472bc
Remove GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY
4 years ago
Adam Cozzette
27100b40fd
Update protobuf version
4 years ago
Joshua Haberman
b70695dd68
Sync from Piper @338707351
...
PROTOBUF_SYNC_PIPER
4 years ago
Jan Tattermusch
151d49436a
upgrade System.Memory dependency to 4.5.3
4 years ago
CauhxMilloy
090d28e8f7
Null Check in UnknownField::AddAll() ( #7328 )
...
UnknownField::AddAll() is called (multiple times) from UnknownField::MergeFrom(). The `extras` parameter is one of: `varintList`, `fixed32List`, `fixed64List`, `lengthDelimitedList`, or `groupList`. All of these members can be null, and are appropriately checked in other usage. If attempting to parse a proto with unknown extensions, and exception is thrown (NRE).
This adds the appropriate null check inside UnknownField::AddAll().
4 years ago
Joshua Haberman
95e6c5b474
Sync from Piper @327110949
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
fde7cf7358
Update protobuf version
4 years ago
Adam Cozzette
14982862f5
Removed conflicting C# version line
...
Somehow we ended up with two conflicting versions listed for C#, so this
commit removes the incorrect one (the correct one is 3.13.0-rc3).
4 years ago
Adam Cozzette
98c2e69f8c
Update protobuf version
4 years ago