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.
2022-01-27 19:35:56 -08:00
Alexandre Mutel
16941420c9
Fixed NullReferenceException when accessing FieldDescriptor.IsPacked
2022-01-21 05:29:40 +01:00
Adam Cozzette
5bb34e9930
Merge branch '3.19.x' into merge-3.19.x
2022-01-11 18:07:17 +00:00
Adam Cozzette
cc7b1b5323
Update protobuf version
2022-01-10 18:08:15 -08:00
Adam Cozzette
eb94f17a8b
Update protobuf version
2022-01-05 10:05:11 -08:00
James Newton-King
22462b0c52
Fix trim warnings
2021-11-17 14:01:25 +13:00
James Newton-King
4c09e43f74
Fix .NET SourceLink and warnings in NuGet package
2021-11-13 07:46:20 +13:00
James Newton-King
c685d79368
Fix test
2021-11-12 12:57:47 +13:00
James Newton-King
90afe0cfc6
Add nuget.config
2021-11-12 12:38:05 +13:00
James Newton-King
0f33dc4380
Fix tests
2021-11-10 09:02:28 +13:00
James Newton-King
aa15931050
Update .NET SDKs to LTS versions
2021-11-10 08:49:53 +13:00
Adam Cozzette
7ccf4d8f67
Merge pull request #9169 from protocolbuffers/3.19.x
...
Merge 3.19.x into master
2021-11-02 10:10:47 -07:00
Adam Cozzette
7c40b2df1f
Update protobuf version ( #9167 )
2021-10-28 14:07:53 -07:00
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
2021-10-27 11:28:21 -07:00
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.
2021-10-26 14:31:46 -07:00
Adam Cozzette
17b30e9647
Update protobuf version ( #9119 )
2021-10-20 10:14:02 -07:00
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
2021-10-19 09:01:57 -07:00
Adam Cozzette
519340d662
Update protobuf version ( #9106 )
2021-10-15 14:33:06 -07:00
deannagarcia
8b69867fef
Merge pull request #7642 from philjdf/master
...
[C#] Make FieldDescriptor propertyName public
2021-10-14 12:43:55 -07:00
Jan Tattermusch
3c8c0ae725
Merge pull request #7246 from ObsidianMinor/csharp/issue7241
...
Correctly set ExtensionRegistry when parsing with MessageParser, but using an already existing CodedInputStream
2021-10-13 14:45:33 +02:00
Adam Cozzette
3afc828309
Sync from Piper @401883098
...
PROTOBUF_SYNC_PIPER
2021-10-08 16:45:26 -07:00
Adam Cozzette
2a75e8ca58
Merge branch '3.18.x' into merge-3.18.x
2021-10-05 14:04:13 -07:00
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
2021-10-04 17:43:33 -07:00
Joshua Haberman
2128ce074f
Merge branch '3.18.x' into merge-release
2021-09-27 15:29:06 -07:00
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
2021-09-13 12:34:03 -07:00
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
2021-09-09 08:21:42 -07:00
Bo Yang
d8f55782b0
Update protobuf version
2021-08-27 14:39:58 -07:00
Paul Yang
7cbc08615f
Update protobuf version ( #8887 )
2021-08-18 17:20:20 -07:00
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
2021-08-03 11:58:05 -07:00
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
2021-05-24 13:49:39 -07:00
Deanna Garcia
380e352b0b
Sync from Piper @373820256
...
PROTOBUF_SYNC_PIPER
2021-05-14 17:50:31 +00:00
Joshua Haberman
f5fd897c1d
Sync from Piper @371422642
...
PROTOBUF_SYNC_PIPER
2021-04-30 16:12:50 -07:00
Joshua Haberman
ce560630bf
Sync from Piper @368734211
...
PROTOBUF_SYNC_PIPER
2021-04-15 15:53:17 -07:00
Derek Perez
4008d229aa
Sync from Piper @366297034
...
PROTOBUF_SYNC_PIPER
2021-04-01 18:49:52 +00:00
Joshua Haberman
96307d28f6
Sync from Piper @364389596
...
PROTOBUF_SYNC_PIPER
2021-03-22 13:05:55 -07:00
Joshua Haberman
9df42757f9
Sync from Piper @359788468
...
PROTOBUF_SYNC_PIPER
2021-02-26 10:37:37 -08:00
Adam Cozzette
d8254a67ce
Merge branch '3.15.x' into 3.15.x-202102231541
2021-02-23 15:51:34 -08:00
Adam Cozzette
d7e943b8d2
Update protobuf version
2021-02-23 13:21:42 -08:00
Adam Cozzette
6e84adc9ff
Merge branch '3.15.x' into merge-3-15-x
2021-02-22 11:03:32 -08:00
Adam Cozzette
052dc799d2
Update protobuf version
2021-02-19 15:12:24 -08:00
Adam Cozzette
133e5e7526
Update protobuf version
2021-02-18 16:53:24 -08:00
Adam Cozzette
de701c660b
Update protobuf version
2021-02-18 16:53:24 -08:00
Adam Cozzette
ac9218c5d9
Update protobuf version
2021-02-18 16:53:24 -08:00
Adam Cozzette
ae50d9b990
Update protobuf version
2021-02-18 11:50:15 -08:00
Adam Cozzette
8260126500
Update protobuf version
2021-02-17 10:51:33 -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
Adam Cozzette
e9f2ef308c
Update protobuf version
2021-02-05 15:37:10 -08:00
Joshua Haberman
51daaba638
Sync from Piper @355707933
...
PROTOBUF_SYNC_PIPER
2021-02-04 14:09:49 -08: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
Jon Skeet
13d712533e
Fix C# build by regenerating test protos
2020-06-30 06:52:58 +01:00
Jon Skeet
2c1a46101b
Add tests for NullValue not appearing in a oneof at all
2020-06-29 09:30:20 +01:00
Jon Skeet
0dd5fffba3
Fix JSON parsing and formatting of NullValue in C#
...
The NullValue enum is typically used as part of the Value well-known type, but can be used elsewhere. In previous code, a NullValue field (other than in Value) would result in a JSON value of the string "NULL_VALUE"; it should instead be the null literal.
When parsing, we still accept "NULL_VALUE" as a valid value for NullValue - this new code being unable to parse old data, and comes for free anyway.
2020-06-29 09:30:20 +01:00
Jan Tattermusch
4f0afc7852
optimize WriteRawTag
2020-06-23 20:17:33 +02:00