Protobuf Team Bot
f09de5a597
Auto-generate files after cl/693028540
1 month ago
Protobuf Team Bot
79b8867cc8
Internal change
...
PiperOrigin-RevId: 693028540
1 month ago
Protobuf Team Bot
4e810f5f12
Auto-generate files after cl/692879910
1 month ago
Protobuf Team Bot
4d72a223e4
Update C# FeatureSetDescriptor to use auto-generated source of truth.
...
PiperOrigin-RevId: 692879910
1 month ago
Protobuf Team Bot
2fe8aaa158
Auto-generate files after cl/692315472
1 month ago
Mike Kruskal
1fe26cf0c1
Updating version.json and repo version numbers to: 30.0-dev ( #18567 )
...
NOTE: This should be reviewed and imported via Copybara per the normal PR review process.
Closes #18567
PiperOrigin-RevId: 680760252
2 months ago
Protobuf Team Bot
b404010256
Auto-generate files after cl/678449162
3 months ago
Protobuf Team Bot
06e9924930
Auto-generate files after cl/678439266
3 months ago
Nathan Baulch
e4cbc79ab4
Fix minor typos ( #17682 )
...
Just thought I'd contribute some typo fixes that keep tripping up CI/CD checks in my projects. Nothing controversial (hopefully), just 174 simple fixes.
Use the following command to get a quick and dirty summary of the specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
| sort | uniq -c | sort -n
```
FWIW, the top typos are:
* trimed → trimmed (37)
* substract → subtract (7)
* qualifed → qualified (7)
* extesion → extension (6)
* mising → missing (5)
* btye → byte (4)
* likey → likely (4)
* candicate → candidate (3)
* decriptor → descriptor (3)
* inherting → inheriting (3)
* colletion → collection (3)
* caluclated → calculated (3)
* unititialized → uninitialized (3)
* implemting → implementing (3)
* binrary → binary (3)
* descripor → descriptor (3)
* negitive → negative (3)
Closes #17682
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17682 from NathanBaulch:typos d41762d137
PiperOrigin-RevId: 677074418
3 months ago
Zoey Greer
ac8dc6094b
Use `//:well_known_type_protos` instead of `//:well_known_protos` as per deprecation warning ( #18237 )
...
Closes #18237
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18237 from tempoz:tempoz-fix-deprecated-use-of-well-known-protos 0aecd01032
PiperOrigin-RevId: 675574418
3 months ago
Protobuf Team Bot
9b666c3169
Auto-generate files after cl/674287182
3 months ago
Protobuf Team Bot
8bedb8bbde
Auto-generate files after cl/673401292
3 months ago
Protobuf Team Bot
960b5baeca
Auto-generate files after cl/672710484
3 months ago
Protobuf Team Bot
b2a38a7b97
Auto-generate files after cl/663040062
4 months ago
Protobuf Team Bot
d6dd8f2ee4
Auto-generate files after cl/654912513
5 months ago
zhangskz
8e60d9f166
Updating version.json and repo version numbers to: 29.0-dev ( #17432 )
...
NOTE: This should be reviewed and imported via Copybara per the normal PR review process.
Closes #17432
PiperOrigin-RevId: 652511521
5 months ago
Protobuf Team Bot
5025dcd9c0
Automated rollback of commit d3d86d2bee
.
...
PiperOrigin-RevId: 651114051
5 months ago
Protobuf Team Bot
d3d86d2bee
Bump Google.Protobuf dependency on System.Memory to version >=4.5.5
...
PiperOrigin-RevId: 650736637
5 months ago
Protobuf Team Bot
84e75a5940
Auto-generate files after cl/644472463
6 months ago
Protobuf Team Bot
56da5eecf6
Auto-generate files after cl/643036543
6 months ago
Protobuf Team Bot
505d8d3c5b
Auto-generate files after cl/642792988
6 months ago
Mike Kruskal
8beb9705e4
Fix delimited inheritance in all languages.
...
This was previously fixed in C++ (https://github.com/protocolbuffers/protobuf/issues/16549 ), but not ported to other languages. Delimited field encoding can be inherited by fields where it's invalid, such as non-messages and maps. In these cases, the encoding should be ignored and length-prefixed should be used.
PiperOrigin-RevId: 642792988
6 months ago
Protobuf Team Bot
4d0081b352
Auto-generate files after cl/640267061
6 months ago
Grégoire
efaaeba6a8
csharp: use span-based ToBase64 in ByteString ( #16976 )
...
With .NET 5+, a copy can be avoided when the memory is not an array.
Closes #16976
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16976 from verdie-g:main fd4f5aeee4
PiperOrigin-RevId: 638968774
7 months ago
Protobuf Team Bot
1b126f9283
Auto-generate files after cl/638713610
7 months ago
Manuel
092cc15f9d
Handle groups in C# JsonParser ( #16970 )
...
Fixes https://github.com/protocolbuffers/protobuf/issues/16968
Closes #16970
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16970 from CommonGuy:main b008e18934
PiperOrigin-RevId: 638578696
7 months ago
Protobuf Team Bot
666e347cd4
Auto-generate files after cl/637993561
7 months ago
Protobuf Team Bot
5fa9c35315
Auto-generate files after cl/636584465
7 months ago
Protobuf Team Bot
2e9c0a7ece
Auto-generate files after cl/635956805
7 months ago
Protobuf Team Bot
e2bc285b5e
Auto-generate files after cl/635615643
7 months ago
Protobuf Team Bot
5dfdd85d34
Auto-generate files after cl/634787159
7 months ago
Joshua Haberman
6a2e4be010
Added C# unit tests verifying current UTF-8 behavior.
...
PiperOrigin-RevId: 634029739
7 months ago
Jaap Taal
91b7cf3325
Fix indention formatter for google.protobuf.Any ( #16785 )
...
`google.protobuf.Any` formatting with indentation was somewhat off.
Formatting an `Any` as root object:
```json
{"@type": "type.googleapis.com/protobuf_unittest3.ForeignMessage",
"c": 1
}
```
changes to
```json
{
"@type": "type.googleapis.com/protobuf_unittest3.ForeignMessage",
"c": 1
}
```
For messages were `Any` is in a nested field the change makes more of a visual impact.
The `c` field seems to be at the same level as the `anyField`, but it's nested so it should be indented:
```json
{
"anyField": {"@type": "type.googleapis.com/protobuf_unittest3.ForeignMessage",
"c": 1
}
}
```
changes to:
```json
{
"anyField": {
"@type": "type.googleapis.com/protobuf_unittest3.ForeignMessage",
"c": 1
}
}
```
Closes #16785
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16785 from q42jaap:main 72deed6ed7
PiperOrigin-RevId: 632506226
7 months ago
Protobuf Team Bot
2f6e705595
Auto-generate files after cl/630517509
7 months ago
Protobuf Team Bot
047fc7673e
Introduce `MessageDescriptor.IsMapType` in C# reflection to make it easier to tell whether a given message was generated by protoc for a map field.
...
PiperOrigin-RevId: 628087118
8 months ago
Protobuf Team Bot
b50ff60967
C#: Fix discovery of oneof declarations in descriptor protos.
...
PiperOrigin-RevId: 627384633
8 months ago
Protobuf Team Bot
2be4364e4c
C#: Remove TODO, replacing it with an explanation.
...
PiperOrigin-RevId: 626125905
8 months ago
Mike Kruskal
95877d8569
Updating version.json and repo version numbers to: 28-dev ( #16555 )
...
Closes #16555
PiperOrigin-RevId: 626081638
8 months ago
Protobuf Team Bot
6afdd5a135
Auto-generate files after cl/625815212
8 months ago
Mike Kruskal
e5502c746e
Removed merged features from the edition defaults IR.
...
All of this information is still available by merging fixed_features and overridable_features. This new split will make validation easier for runtimes that need to do dynamic builds.
PiperOrigin-RevId: 625815212
8 months ago
Protobuf Team Bot
5365930ef4
Auto-generate files after cl/625771423
8 months ago
Protobuf Team Bot
f46a00f278
Auto-generate files after cl/625392504
8 months ago
Mike Kruskal
ea81024ddf
Refactor editions infrastructure to a top-level directory.
...
The only public target here is the edition defaults helper macro, which can be used by external runtimes and plugins. None of this code is C++-specific though, and should be organized higher up. Appropriate aliases are also placed at the top level for public targets
PiperOrigin-RevId: 625392504
8 months ago
Protobuf Team Bot
a5be8bdb9f
Auto-generate files after cl/625084569
8 months ago
Protobuf Team Bot
fd19d7439c
Auto-generate files after cl/623690798
8 months ago
Protobuf Team Bot
22c1178fc8
Auto-generate files after cl/623630219
8 months ago
Protobuf Team Bot
2322a8720f
Auto-generate files after cl/623529512
8 months ago
Protobuf Team Bot
5422e9be37
Auto-generate files after cl/622859234
8 months ago
Mike Kruskal
69d1dacf74
Add delimited field binary/json conformance tests.
...
These are already supported, but this will lock down that there's no issues like the ones we hit with text-format.
This also fixes an unrelated bug in our BinaryToJsonString algorithm related to unknown group handling. We still can't actually test binary->JSON in conformance tests for extensions due to TypeResolver's lack of support though.
PiperOrigin-RevId: 622360970
8 months ago
Protobuf Team Bot
7dc243c70a
Auto-generate files after cl/622211473
8 months ago