Protobuf Team Bot
0ad1d45e2e
Auto-generate files after cl/690751567
4 months ago
Sandy Zhang
9e10b7c0ef
Fix PHP package.xml generation to generate correct github link to release notes using protoc_version formatted with -rcN instead of -rc-N.
...
Fixes https://github.com/protocolbuffers/protobuf/issues/18979
PiperOrigin-RevId: 690643390
4 months ago
Protobuf Team Bot
a836ee1277
Auto-generate files after cl/688585300
4 months ago
Protobuf Team Bot
60ca6e06d7
Auto-generate files after cl/684137297
5 months ago
Mike Kruskal
56e4aeb506
Fix staleness tests to autogenerate new PHP files
...
PiperOrigin-RevId: 684137297
5 months ago
Protobuf Team Bot
b51d59e193
Internal change
...
PiperOrigin-RevId: 683666021
5 months ago
Mike Kruskal
538fd9cf05
Internal changes
...
PiperOrigin-RevId: 683774923
5 months ago
Mike Kruskal
4e257cfec8
Internal changes
...
PiperOrigin-RevId: 683436396
5 months ago
Mike Kruskal
6838392f5a
Internal change
...
PiperOrigin-RevId: 683379593
5 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
5 months ago
Protobuf Team Bot
1cb37a8ac8
Internal change
...
PiperOrigin-RevId: 683322866
5 months ago
Protobuf Team Bot
7dee780bab
Auto-generate files after cl/683314657
5 months ago
Protobuf Team Bot
71f7f1af82
Internal change
...
PiperOrigin-RevId: 683314657
5 months ago
Protobuf Team Bot
6df0752140
Auto-generate files after cl/683301056
5 months ago
Hong Shin
4645ab71e7
Automated rollback of commit d9c814b779
.
...
PiperOrigin-RevId: 683301056
5 months ago
Protobuf Team Bot
11e0b59049
Auto-generate files after cl/683288206
5 months ago
Protobuf Team Bot
459b871f57
Internal change
...
PiperOrigin-RevId: 683288206
5 months ago
Protobuf Team Bot
21991dc866
Auto-generate files after cl/683280521
5 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
5 months ago
Protobuf Team Bot
9a1aa8c706
Auto-generate files after cl/683269532
5 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
5 months ago
Protobuf Team Bot
46c0b58067
Auto-generate files after cl/683225855
5 months ago
Protobuf Team Bot
991330736b
Internal change
...
PiperOrigin-RevId: 683225855
5 months ago
Protobuf Team Bot
9e1c9faab8
Auto-generate files after PR #17639
5 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
5 months ago
Protobuf Team Bot
64e14b42c4
Auto-generate files after cl/683198681
5 months ago
Protobuf Team Bot
d5e1c3daa4
Internal change
...
PiperOrigin-RevId: 683198681
5 months ago
Protobuf Team Bot
f5982e18ac
Auto-generate files after cl/683183750
5 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
5 months ago
Protobuf Team Bot
9ec9626405
Auto-generate files after cl/683171650
5 months ago
Richard Levasseur
f1f58ce000
Internal change
...
PiperOrigin-RevId: 683171650
5 months ago
Protobuf Team Bot
a95786ce0e
Auto-generate files after cl/683152452
5 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
5 months ago
Protobuf Team Bot
0afe330291
Auto-generate files after cl/682954547
5 months ago
Protobuf Team Bot
1e566d8c51
Internal change
...
PiperOrigin-RevId: 682954547
5 months ago
Protobuf Team Bot
52f85d9ba1
Auto-generate files after cl/682948830
5 months ago
Mike Kruskal
6f8fdbdd59
Automated rollback of commit 03aec42fcb
.
...
PiperOrigin-RevId: 682948830
5 months ago
Protobuf Team Bot
1679a5c22d
Auto-generate files after cl/682527975
5 months ago
Protobuf Team Bot
796ac76a9a
Internal change
...
PiperOrigin-RevId: 682527975
5 months ago
Protobuf Team Bot
9f85736127
Auto-generate files after cl/682504379
5 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
5 months ago
Protobuf Team Bot
6501235223
Auto-generate files after cl/682496566
5 months ago
Tony Liao
dbaa526b07
Fix import path for rust proto files.
...
This is an alternative to PR #18256
Closes #18256
PiperOrigin-RevId: 682496566
5 months ago
Protobuf Team Bot
95efa286d1
Auto-generate files after PR #18610
5 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
5 months ago
Protobuf Team Bot
be84e6b4b8
Auto-generate files after cl/682281207
5 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
5 months ago
Protobuf Team Bot
ecf5f2e047
Auto-generate files after PR #17682
6 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
6 months ago
Protobuf Team Bot
960b95939b
Auto-generate files after cl/676683430
6 months ago