Mike Kruskal
6838392f5a
Internal change
...
PiperOrigin-RevId: 683379593
2 months ago
Konstantin Pavlov
f30b0a8390
Reserve custom option for userver ( https://userver.tech/ ) ( #17603 ) ( #17673 )
...
Closes #17673
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17673 from kpavlov00:register-userver-custom-option d1b6847ee8
PiperOrigin-RevId: 683326477
2 months ago
Protobuf Team Bot
1cb37a8ac8
Internal change
...
PiperOrigin-RevId: 683322866
2 months ago
Protobuf Team Bot
7dee780bab
Auto-generate files after cl/683314657
2 months ago
Protobuf Team Bot
71f7f1af82
Internal change
...
PiperOrigin-RevId: 683314657
2 months ago
Protobuf Team Bot
6df0752140
Auto-generate files after cl/683301056
2 months ago
Hong Shin
4645ab71e7
Automated rollback of commit d9c814b779
.
...
PiperOrigin-RevId: 683301056
2 months ago
Protobuf Team Bot
11e0b59049
Auto-generate files after cl/683288206
2 months ago
Protobuf Team Bot
459b871f57
Internal change
...
PiperOrigin-RevId: 683288206
2 months ago
Protobuf Team Bot
21991dc866
Auto-generate files after cl/683280521
2 months ago
Protobuf Team Bot
6628b8a3dc
Restore runtime compatibility with 3.22.x gencode by re-adding the mutableCopy(list) methods.
...
These will be removed in the next major revision of Java protobuf.
PiperOrigin-RevId: 683280521
2 months ago
Protobuf Team Bot
9a1aa8c706
Auto-generate files after cl/683269532
2 months ago
Hong Shin
d9c814b779
hpb: Introduce add_alias for repeated
...
Similar to set_alias for singular submessages, we augment hpb with the ability to add already-allocated messages via the generated function add_alias for repeated messages.
PiperOrigin-RevId: 683269532
2 months ago
Protobuf Team Bot
46c0b58067
Auto-generate files after cl/683225855
2 months ago
Protobuf Team Bot
991330736b
Internal change
...
PiperOrigin-RevId: 683225855
2 months ago
Protobuf Team Bot
9e1c9faab8
Auto-generate files after PR #17639
2 months ago
y-yagi
7351ef9f86
Fix the doc for `DescriptorPool.lookup` ( #17639 )
...
`DescriptorPool#lookup` returns `ServiceDescriptor` too since #15817 .
Closes #17639
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17639 from y-yagi:fix_doc_for_lookup a011a56aa8
PiperOrigin-RevId: 683223682
2 months ago
Protobuf Team Bot
64e14b42c4
Auto-generate files after cl/683198681
2 months ago
Protobuf Team Bot
d5e1c3daa4
Internal change
...
PiperOrigin-RevId: 683198681
2 months ago
Protobuf Team Bot
f5982e18ac
Auto-generate files after cl/683183750
2 months ago
Protobuf Team Bot
23d1b55761
Fix build in C23 with -Wunused-parameter.
...
As of C23, `va_start` no longer requires a second argument, and ignores it when provided. So, the parameter named `unused` is now...unused.
PiperOrigin-RevId: 683183750
2 months ago
Protobuf Team Bot
9ec9626405
Auto-generate files after cl/683171650
2 months ago
Richard Levasseur
f1f58ce000
Internal change
...
PiperOrigin-RevId: 683171650
2 months ago
Protobuf Team Bot
a95786ce0e
Auto-generate files after cl/683152452
2 months ago
Protobuf Team Bot
8cc5f6bd16
Fix compilation in Clang C23 mode.
...
In C23, `false` is now of type `bool`, not `int`. This turned a couple places where `false` was returned instead of `NULL` into errors.
The workaround in upb for Windows's broken NAN macro causes an error in Clang under C23, `cannot compile this static initializer yet`, I believe because `0.0 / 0.0` is not valid in constant-evaluation. This seems like it's probably a legitimate result of C23 standardizing constexpr, although it _could_ be a clang bug. In any case, refine the workaround a bit, to avoid this problem.
I've also reverted the kUpb_FltInfinity/kUpb_Infinity back to their former definitions, as INFINITY wasn't broken by the windows header, only NAN.
PiperOrigin-RevId: 683152452
2 months ago
Protobuf Team Bot
0afe330291
Auto-generate files after cl/682954547
2 months ago
Protobuf Team Bot
1e566d8c51
Internal change
...
PiperOrigin-RevId: 682954547
2 months ago
Protobuf Team Bot
52f85d9ba1
Auto-generate files after cl/682948830
2 months ago
Mike Kruskal
6f8fdbdd59
Automated rollback of commit 03aec42fcb
.
...
PiperOrigin-RevId: 682948830
2 months ago
Protobuf Team Bot
1679a5c22d
Auto-generate files after cl/682527975
2 months ago
Protobuf Team Bot
796ac76a9a
Internal change
...
PiperOrigin-RevId: 682527975
2 months ago
Protobuf Team Bot
9f85736127
Auto-generate files after cl/682504379
2 months ago
Tony Liao
067ff1f274
Add test for ListFields in implicit presence messages.
...
ListFields uses a slightly different codepath from HasField (both are
implemented in generated_message_reflection.cc), and it would be valuable to
add a test case for ListFields in addition to HasFields when reflection API are
tested.
ListFields is used, for example, in Python textproto serialization as a way to
iterate a message.
ListField behaves slightly differently for normal messages vs. MapEntry
messages. In a map, MapEntry essentially have "explicit presence" and empty
fields are considered present.
PiperOrigin-RevId: 682504379
2 months ago
Protobuf Team Bot
6501235223
Auto-generate files after cl/682496566
2 months ago
Tony Liao
dbaa526b07
Fix import path for rust proto files.
...
This is an alternative to PR #18256
Closes #18256
PiperOrigin-RevId: 682496566
2 months ago
Protobuf Team Bot
95efa286d1
Auto-generate files after PR #18610
2 months ago
Mike Kruskal
c83b2f93a6
Clean up PHP CI ( #18610 )
...
This PR does the following:
* Special-case descriptor.proto to allow for codegen despite being proto2
* Fix a pre-existing bug that gets exercised now during descriptor builds
* Expand test coverage of conformance tests, and fix pre-existing issues
* Properly hook up gencode to staleness infrastructure for automated regen
Closes #18610
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18610 from protocolbuffers:php-regen 773a1bf01a
PiperOrigin-RevId: 682477438
2 months ago
Protobuf Team Bot
be84e6b4b8
Auto-generate files after cl/682281207
2 months 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
ecf5f2e047
Auto-generate files after PR #17682
2 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
2 months ago
Protobuf Team Bot
960b95939b
Auto-generate files after cl/676683430
2 months ago
Protobuf Team Bot
8130f39227
Stop duplicating the supported PHP version (link to the support page instead).
...
PiperOrigin-RevId: 674070935
3 months ago
Protobuf Team Bot
9efb6064a9
Auto-generate files after cl/672592274
3 months ago
Protobuf Team Bot
c8e016c546
Auto-generate files after cl/672397247
3 months ago
Protobuf Team Bot
849f05f886
Auto-generate files after cl/671934556
3 months ago
Protobuf Team Bot
8387a0fd9d
Auto-generate files after cl/671493939
3 months ago
Protobuf Team Bot
6ec8f87b38
Auto-generate files after cl/669513564
3 months ago
Protobuf Team Bot
9d7379677a
Auto-generate files after cl/667998428
3 months ago
Brent Shaffer
6d84da5e2d
fix: do not throw deprecated warning on field getters for default values ( #17788 )
...
fixes https://github.com/protocolbuffers/protobuf/issues/13428
Wraps deprecated field getters in a conditional to see if the value has been set before throwing the warning. This is because this method is used internally, so users can get deprecated warnings even when they are not using the field.
Closes #17788
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17788 from bshaffer:wrap-deprecation-in-conditional 084c87dc12
PiperOrigin-RevId: 665346195
3 months ago