Protobuf Team Bot
2f76ddf239
Auto-generate files after cl/694107230
4 weeks ago
Protobuf Team Bot
8922b554ab
Auto-generate files after cl/693881256
4 weeks ago
Protobuf Team Bot
62f9320b47
Auto-generate files after cl/693801612
4 weeks ago
Protobuf Team Bot
2fe8aaa158
Auto-generate files after cl/692315472
1 month ago
Sandy Zhang
2f505a7aa1
Error if assigning a "UTF-8" string with invalid UTF-8.
...
This has been a warning since v28.x: fa8dbaec86
See also https://protobuf.dev/news/2024-10-02/#utf-8-enforcement which pre-announces this for v30.x.
Fixes https://github.com/protocolbuffers/protobuf/issues/17484
PiperOrigin-RevId: 691917648
1 month ago
Protobuf Team Bot
c4afb1974b
Auto-generate files after cl/691196963
1 month ago
Protobuf Team Bot
0ad1d45e2e
Auto-generate files after cl/690751567
1 month ago
Sandy Zhang
9f1b38e8a1
Update minimum supported macOS 11
...
This is per the updated OSS foundational support (https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md ) since Chrome has raised its minimum macOS requirements.
#test-continuous
PiperOrigin-RevId: 688657808
1 month ago
Protobuf Team Bot
a836ee1277
Auto-generate files after cl/688585300
1 month ago
y-yagi
4b64df454d
Change `bigdecimal` to development dependency ( #18448 )
...
It seems that `bigdecimal` is only used in tests.
I think there is no need to treat it as runtime dependency.
Closes #18448
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18448 from y-yagi:fix_dependency c1f2beb0f5
PiperOrigin-RevId: 684096690
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
a95786ce0e
Auto-generate files after cl/683152452
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
Yibo Cai
d83ad15cd1
third_party/utf8_range: support arm neon ( #18126 )
...
Protobuf uses utf8_range library for utf8 string validation.
Currently, only SSE implementation is integrated.
This patch adapts utf8_range Neon implementation to protobuf.
Closes #18126
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18126 from cyb70289:utf8-neon 5edbcc2692
PiperOrigin-RevId: 680711032
2 months ago
Protobuf Team Bot
ecf5f2e047
Auto-generate files after PR #17682
2 months ago
Protobuf Team Bot
960b95939b
Auto-generate files after cl/676683430
2 months ago
Protobuf Team Bot
9efb6064a9
Auto-generate files after cl/672592274
3 months ago
Protobuf Team Bot
4d75c8224a
Fix a potential Ruby-upb use of uninitialized memory.
...
Introduce a upb_MessageValue_Zero() function to use for the cases we do want a zero'd union (typically a zero MessageValue union is not needed)
PiperOrigin-RevId: 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
y-yagi
b1e435dc92
Remove unused header file from Ruby source code ( #17871 )
...
It seems that `ruby/version.h` isn't used now. This PR removes it.
Closes #17871
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17871 from y-yagi:remove_unused_header be6a4070a6
PiperOrigin-RevId: 670604841
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
Mike Kruskal
5695a882bd
Move -Werror to our test/dev bazelrc files.
...
Putting it into BUILD files unintentionally forces it on all our downstream users. Instead, we just want to enable this during testing and let them choose for themselves in their builds.
Note, that this expands the scope of -Werror to our entire repo for CI, so a bunch of fixes and opt-outs had to be applied to get this change passing.
Closed #14714
PiperOrigin-RevId: 666903224
3 months ago
Protobuf Team Bot
a7ddd35206
Auto-generate files after cl/664953196
3 months ago
Protobuf Team Bot
072fc19241
Auto-generate files after cl/658841466
4 months ago
y-yagi
184f3a37e9
Remove codes for unsupported Ruby ( #17353 )
...
Protocol Buffers only supports Ruby >= 3.0 since 360531cd08
Closes #17353
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17353 from y-yagi:remove_codes_for_ruby27 80571a4389
PiperOrigin-RevId: 658528987
4 months ago
Protobuf Team Bot
c7278372b5
Auto-generate files after cl/658038844
4 months ago
Protobuf Team Bot
08ee87fcc6
Auto-generate files after cl/653263168
5 months ago
Joshua Haberman
b07e4b1eeb
[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. ( #17253 )
...
This is a warning now, but will be an error in the next version.
PiperOrigin-RevId: 653236128
5 months ago
Protobuf Team Bot
cfff6e9811
Auto-generate files after cl/652541857
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
89cd4cfc35
Auto-generate files after cl/651113583
5 months ago
なつき
0aa7449752
[Ruby] Fix mismatched pointer type ( #17240 )
...
This PR fixes the following error on windows ruby 3.4 (head):
```
current directory:
D:/a/sass-embedded-host-ruby/sass-embedded-host-ruby/vendor/bundle/ruby/3.4.0+0/gems/google-protobuf-4.27.1/ext/google/protobuf_c
make.exe DESTDIR\= sitearchdir\=./.gem.20240623-6612-4umz58
sitelibdir\=./.gem.20240623-6612-4umz58
generating protobuf_c-x64-mingw-ucrt.def
compiling protobuf.c
compiling convert.c
compiling defs.c
defs.c: In function 'MethodDescriptor_initialize':
defs.c:1513:19: error: assignment to 'const upb_MethodDef *' from incompatible
pointer type 'const upb_ServiceDef *' [-Wincompatible-pointer-types]
1513 | self->methoddef = (const upb_ServiceDef*)NUM2ULL(ptr);
| ^
make: *** [Makefile:250: defs.o] Error 1
make failed, exit code 2
```
- Closes #17266
Closes #17240
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17240 from ntkme:fix-ruby-upb-pointer-type 22e9859c57
PiperOrigin-RevId: 648923147
5 months ago
Protobuf Team Bot
a4f9ddd8fc
Auto-generate files after cl/647802280
5 months ago
Protobuf Team Bot
c1763b64c0
Auto-generate files after cl/647789835
5 months ago
Protobuf Team Bot
f4b57b98b0
Auto-generate files after cl/646470242
5 months ago
Protobuf Team Bot
b4e52b5922
Auto-generate files after cl/645444695
5 months ago
Protobuf Team Bot
dd6e4adc19
Auto-generate files after PR #17201
5 months ago
Protobuf Team Bot
2c6d319e69
Auto-generate files after cl/643036818
6 months ago
Protobuf Team Bot
505d8d3c5b
Auto-generate files after cl/642792988
6 months ago
Protobuf Team Bot
a9387b5016
Auto-generate files after cl/642616862
6 months ago
Protobuf Team Bot
bbf52275db
Auto-generate files after cl/642420355
6 months ago
Protobuf Team Bot
e4970aac30
Disallow initializing `Messages` (as well as `Maps` and `RepeatedFields`) with nil `Arena`.
...
Fixes a test flake.
PiperOrigin-RevId: 642334064
6 months ago
Protobuf Team Bot
9f2893a554
Auto-generate files after cl/642327960
6 months ago
Protobuf Team Bot
b2a6cdb910
Auto-generate files after cl/640749918
6 months ago
Protobuf Team Bot
569184774e
Auto-generate files after cl/640592937
6 months ago
Protobuf Team Bot
532f0c2ed5
Auto-generate files after cl/640369522
6 months ago