Adam Cozzette
ac9218c5d9
Update protobuf version
2021-02-18 16:53:24 -08:00
Jan Tattermusch
a1f96fffc7
Merge pull request #8147 from JamesNK/jamesnk/writestring
...
Add .NET 5 target and improve WriteString performance with SIMD
2021-02-16 12:15:47 +01:00
James Newton-King
e4cd821f21
Add comments
2021-02-16 10:44:04 +13:00
James Newton-King
8932446d9e
Improve WriteString perf with SIMD
2021-02-04 07:26:34 +13:00
Jan Tattermusch
f9e8bf42a9
Merge pull request #8220 from jskeet/bytestrings-with-extensions
...
Allow FileDescriptors to be parsed with extension registries
2021-02-01 09:02:58 +01:00
James Newton-King
c2b22b90fc
PR feedback
2021-01-28 08:11:52 +13:00
James Newton-King
cb246b8032
Optimize writing small strings
2021-01-27 12:50:48 +13:00
James Newton-King
69223b8386
Clean up
2021-01-21 13:36:00 +13:00
James Newton-King
542c0cc9d3
Fix missing key and test
2021-01-21 13:34:08 +13:00
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.)
2021-01-20 08:11:27 +00:00
Jon Skeet
cea3653a2e
Include the size of values (and tags) for extensions, even if the value is the default
...
Fixes #8218 .
2021-01-20 08:06:34 +00:00
James Newton-King
6cf068c439
Clean up
2020-12-15 22:09:07 +13:00
James Newton-King
e9cc0b0c23
Optimize MapField serialization by removing MessageAdapter
2020-12-15 21:41:39 +13:00
Jan Tattermusch
930ab0f33d
C#: do not use <PublicSign>true</PublicSign> on non-windows
2020-12-14 14:41:42 +01:00
James Newton-King
e794919f6b
PR feedback
2020-11-18 22:54:06 +13:00
James Newton-King
79f5bad83c
Change ByteString to use memory and support unsafe create without copy
2020-11-18 21:58:32 +13:00
Adam Cozzette
17a067dd36
Merge branch '3.14.x' into 3.14.x-202011131455
2020-11-13 15:49:45 -08:00
Adam Cozzette
f3192d6128
Update protobuf version
2020-11-13 11:27:32 -08:00
James Newton-King
e91922a4e7
Additional test
2020-11-13 09:13:01 -08:00
James Newton-King
e57f761e7b
Fix parsing negative Int32Value that crosses segment boundary
2020-11-13 09:13:01 -08:00
James Newton-King
fdf4ef62a5
Additional test
2020-11-13 12:17:24 +13:00
James Newton-King
d8800ae2f3
Fix parsing negative Int32Value that crosses segment boundary
2020-11-13 12:11:31 +13:00
Adam Cozzette
1b851b3fe6
Update protobuf version
2020-11-12 12:44:26 -08:00
Adam Cozzette
a8ab1fade9
Update protobuf version
2020-11-10 17:15:32 -08:00
James Newton-King
52618472bc
Remove GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY
2020-11-06 11:55:26 +13:00
Adam Cozzette
27100b40fd
Update protobuf version
2020-11-05 14:30:53 -08:00
Jan Tattermusch
9d9c670589
Merge pull request #7701 from basvdlinden/safe_bytestring_copyfrom_span
...
annotate ByteString.CopyFrom(ReadOnlySpan<byte>) as SecuritySafeCritical
2020-10-27 12:01:32 +01:00
Jan Tattermusch
151d49436a
upgrade System.Memory dependency to 4.5.3
2020-10-22 09:45:39 -07:00
Joshua Haberman
f3cf99c0fb
Sync from Piper @328224070
...
PROTOBUF_SYNC_PIPER
2020-08-24 15:48:43 -07:00
Joshua Haberman
32a94ce353
Merge tag 'refs/tags/sync-piper' into sync-stage
...
# Conflicts:
# csharp/src/Google.Protobuf.Test/testprotos.pb
2020-08-17 15:26:33 -07:00
Joshua Haberman
95e6c5b474
Sync from Piper @327110949
...
PROTOBUF_SYNC_PIPER
2020-08-17 15:26:13 -07:00
Adam Cozzette
58f4260e8e
Merged 3.13.x into master
2020-08-17 11:06:11 -07:00
Adam Cozzette
fde7cf7358
Update protobuf version
2020-08-14 15:20:53 -07:00
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).
2020-08-14 09:21:30 -07:00
Adam Cozzette
98c2e69f8c
Update protobuf version
2020-08-12 14:49:20 -07:00
Peter Newman
e2cc2de304
Fix lots of spelling errors ( #7751 )
...
* Fix a typo
* Fix lots of spelling errors
* Fix a few more spelling mistakes
* s/parsable/parseable/
* Don't touch the third party files
* Cloneable is the preferred C# term
* Copyable is the preferred C++ term
* Revert "s/parsable/parseable/"
This reverts commit 534ecf7675
.
* Revert unparseable->unparsable corrections
2020-08-10 11:08:25 -07:00
Adam Cozzette
1c587a8059
Updated version to 3.13.0-rc2
2020-08-07 14:44:49 -07:00
Jon Skeet
0d90ff3d72
Fix C# optional field reflection when there are regular fields too
...
Previous tests didn't spot this as each message was either "all
optional" or "all non-optional", at which point there isn't a problem.
2020-08-07 14:44:49 -07:00
Adam Cozzette
8940150706
Updated version to 3.13.0-rc1.
2020-08-07 14:44:49 -07:00
Jon Skeet
d4ec70fdd3
Fix C# optional field reflection when there are regular fields too
...
Previous tests didn't spot this as each message was either "all
optional" or "all non-optional", at which point there isn't a problem.
2020-07-14 08:01:05 +01:00
Bas van der Linden
4c1bb4d07b
Remove newline
2020-07-12 15:16:33 +02:00
Bas van der Linden
12d7976055
Added test for ByteString.CopyFrom(ReadOnlySpan<byte> bytes)
2020-07-12 15:12:18 +02:00
Bas van der Linden
ead45182aa
annotate ByteString.CopyFrom(ReadOnlySpan<byte> bytes) as SecuritySafeCritical
2020-07-12 14:43:42 +02:00
Joshua Haberman
6ba52411d0
Sync from Piper @320514613
...
PROTOBUF_SYNC_PIPER
2020-07-09 18:17:47 -07:00
Joshua Haberman
25755efc4f
Sync from Piper @319848517
...
PROTOBUF_SYNC_PIPER
2020-07-06 13:54:50 -07:00
James Newton-King
e36163deed
PR feedback
2020-07-01 20:32:29 +12:00
James Newton-King
d4abad8731
Optimize reading strings across segments
2020-07-01 20:32:29 +12:00
Jan Tattermusch
45c8850389
use BinaryPrimitives.WriteUInt64LittleEndian
2020-07-01 07:52:02 +02:00
Jan Tattermusch
1cf4df00cf
C# benchmark improvements
2020-07-01 07:52:02 +02:00
Jan Tattermusch
fed7e18193
upgrade dotnet SDK in the CI to 3.1
2020-06-30 08:53:31 -04:00