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
4 months ago
Protobuf Team Bot
072fc19241
Auto-generate files after cl/658841466
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
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
6 months ago
Protobuf Team Bot
dd6e4adc19
Auto-generate files after PR #17201
6 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
Protobuf Team Bot
bf7ac9f2f1
Auto-generate files after cl/640196225
6 months ago
Protobuf Team Bot
1194440c24
Remove `Arena_pin` in favor of adopting the UPB freezing API.
...
PiperOrigin-RevId: 639960700
6 months ago
Protobuf Team Bot
c12c73212d
Auto-generate files after cl/638902499
6 months ago
Protobuf Team Bot
6cce6221d4
Auto-generate files after cl/637932147
6 months ago
Hong Shin
0730adb1c1
rename upb_Message_WhichOneof to upb_Message_WhichOneofByDef
...
and introduce upb_Message_WhichOneof that returns a minitable field without needing reflection
PiperOrigin-RevId: 637932147
6 months ago
Protobuf Team Bot
58c48fd66e
Auto-generate files after cl/637127851
6 months ago
Protobuf Team Bot
2e9c0a7ece
Auto-generate files after cl/635956805
7 months ago
Protobuf Team Bot
8203e2f894
Auto-generate files after cl/635530952
7 months ago
Protobuf Team Bot
5dfdd85d34
Auto-generate files after cl/634787159
7 months ago
Protobuf Team Bot
ddc70b0ebf
Auto-generate files after cl/632663127
7 months ago
Protobuf Team Bot
bc80135f10
Auto-generate files after cl/632314763
7 months ago
Protobuf Team Bot
eb31de3097
Auto-generate files after cl/632277936
7 months ago
Protobuf Team Bot
b51dc1b438
Auto-generate files after cl/632267379
7 months ago
Protobuf Team Bot
6afb130dca
Auto-generate files after cl/631620526
7 months ago
Protobuf Team Bot
4d3a98c27e
Auto-generate files after cl/631612923
7 months ago
Protobuf Team Bot
ae17e81e42
Auto-generate files after cl/631454136
7 months ago
Protobuf Team Bot
51cba7ce17
Auto-generate files after cl/631023575
7 months ago