Protobuf Team Bot
ab7570a8de
Auto-generate files after cl/693421414
1 month ago
Jie Luo
c261b49a95
Breaking change: Remove deprecated GetPrototype MessageFactory.GetPrototype(),
...
MessageFactory.CreatePrototype(), MessageFactory.GetMessages(),
SymbolDatabase.GetPrototype(), SymbolDatabase.CreatePrototype(), SymbolDatabase.GetMessages()
Replacement APIs are: message_factory.GetMessages(), message_factory.GetMessageClass(), message_factory.GetMessageClassesForFiles()
PiperOrigin-RevId: 693421414
1 month ago
Protobuf Team Bot
08d5ef9485
Auto-generate files after cl/693406522
1 month ago
Protobuf Team Bot
f6f93a95e0
Internal change
...
PiperOrigin-RevId: 693406522
1 month ago
Protobuf Team Bot
eb0e6d68de
Auto-generate files after cl/693394959
1 month ago
Adam Cozzette
9bdafdbb0c
Rust C++: remove per-message functions for repeated fields
...
This CL deletes the per-message C++ functions for operating on repeated fields
and replaces them with functions in the runtime that can work with arbitrary
messages.
Similar to what we did with maps, this required refactoring the code to make it
work with `RepeatedPtrFieldBase`, the untyped base class of
`RepeatedPtrField<T>`. I added a `RustRepeatedMessageHelper` class to allow us
access to the protected methods we need.
This should save a bit of linker input code size, but I think more importantly
we are going to need this eventually to enable tree shaking to work well.
PiperOrigin-RevId: 693394959
1 month ago
Protobuf Team Bot
31c5f73ec1
Auto-generate files after cl/693368653
1 month ago
Hong Shin
471d66961a
Introduce IsHpbClassThatHasExtensions
...
EnableIfHpbClass was too restrictive in the past; it was
toggled only if <T> was extended. This has been rectified
to toggle if T extends T::Access, which reflects the
true intention.
PiperOrigin-RevId: 693368653
1 month ago
Protobuf Team Bot
5129d4d24b
Auto-generate files after cl/693357956
1 month ago
Adam Cozzette
f552a2c4b3
Rust C++: remove unsafe block from map value conversion
...
I noticed that the use of `unsafe` here was not really necessary, so I tweaked
the code to remove it. If we avoid using `__unstable_leak_raw_message()` then
we don't need to unsafely create a `NonNull`.
PiperOrigin-RevId: 693357956
1 month ago
Protobuf Team Bot
10c20cefd1
Auto-generate files after cl/693243936
1 month ago
Protobuf Team Bot
ec876d79c3
Internal change
...
PiperOrigin-RevId: 693243936
1 month ago
Protobuf Team Bot
66914d675d
Auto-generate files after cl/693224979
1 month ago
nickreid
c81b6edad2
Internal change
...
PiperOrigin-RevId: 693224979
1 month ago
Protobuf Team Bot
3bd07f0c93
Auto-generate files after cl/693171974
1 month ago
Protobuf Team Bot
6dbcecb906
Internal change
...
PiperOrigin-RevId: 693171974
1 month ago
Protobuf Team Bot
a23171ab83
Auto-generate files after cl/693163935
1 month ago
Protobuf Team Bot
97a9f1d44b
Internal change
...
PiperOrigin-RevId: 693163935
1 month ago
Protobuf Team Bot
65e8ee865a
Auto-generate files after cl/693142972
1 month ago
Protobuf Team Bot
f87ac22c33
Internal change
...
PiperOrigin-RevId: 693142972
1 month ago
Protobuf Team Bot
133a28f6d1
Auto-generate files after cl/693139655
1 month ago
Protobuf Team Bot
f0d557baac
Internal change
...
PiperOrigin-RevId: 693139655
1 month ago
Protobuf Team Bot
727675a070
Auto-generate files after cl/693111424
1 month ago
Protobuf Team Bot
0443515a3a
Internal change
...
PiperOrigin-RevId: 693111424
1 month ago
Protobuf Team Bot
1603ce0370
Auto-generate files after cl/693076994
1 month ago
Protobuf Team Bot
21544b3fbb
Internal change
...
PiperOrigin-RevId: 693076994
1 month ago
Protobuf Team Bot
3c821e213c
Auto-generate files after cl/693050410
1 month ago
Lev Kandel
238763043e
Prepare code for breaking change in Protobuf C++ API.
...
Protobuf 6.30.0 will change the return types of Descriptor::name() and other methods to absl::string_view. This makes the code work both before and after such a change.
PiperOrigin-RevId: 693050410
1 month ago
Protobuf Team Bot
95259fdeb7
Auto-generate files after cl/693048210
1 month ago
Protobuf Team Bot
80628d34da
Internal change
...
PiperOrigin-RevId: 693048210
1 month ago
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