Protobuf Team Bot
f2401a1e25
Updating version.json and repo version numbers to: 28.2-dev
6 months ago
Sandy Zhang
60e585c8f4
Update staleness
6 months ago
Protobuf Team Bot
70b77de0d5
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
6 months ago
Mike Kruskal
9deedf0304
upb: fix uninitialized upb_MessageValue buffer bugs ( #18160 )
...
* upb: fix uninitialized upb_MessageValue buffer bugs
Fixes https://github.com/protocolbuffers/protobuf/issues/18045
This should also cover https://github.com/googleapis/proto-plus-python/issues/483 once we release it.
PiperOrigin-RevId: 671934556
* Regenerate stale files
---------
Co-authored-by: Eric Salo <salo@google.com>
6 months ago
Protobuf Team Bot
976ab41881
Updating version.json and repo version numbers to: 28.1-dev
6 months ago
Mike Kruskal
f5a1b178ad
Move -Werror to our test/dev bazelrc files. ( #17938 )
...
* 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
* Fix extra warnings on 28.x
* Fix zlib issues on macos
* Second try at zlib/macos issues
* Only disable deprecated-non-prototype on macos-14
6 months ago
Protobuf Team Bot
09ba2bb826
Updating version.json and repo version numbers to: 28.0-dev
6 months ago
Protobuf Team Bot
e340f52e46
Updating version.json and repo version numbers to: 28.0-rc3
6 months ago
Protobuf Team Bot
53f78b4278
Updating version.json and repo version numbers to: 28.0-dev
7 months ago
Protobuf Team Bot
4afaa64c95
Updating version.json and repo version numbers to: 28.0-rc2
7 months ago
Joshua Haberman
fe9a53cb51
[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
7 months ago
Protobuf Team Bot
e3e43446f2
Updating version.json and repo version numbers to: 28.0-dev
8 months ago
Protobuf Team Bot
e70d04d915
Updating version.json and repo version numbers to: 28.0-rc1
8 months ago
Protobuf Team Bot
89cd4cfc35
Auto-generate files after cl/651113583
8 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
8 months ago
Protobuf Team Bot
a4f9ddd8fc
Auto-generate files after cl/647802280
8 months ago
Protobuf Team Bot
c1763b64c0
Auto-generate files after cl/647789835
8 months ago
Protobuf Team Bot
f4b57b98b0
Auto-generate files after cl/646470242
8 months ago
Protobuf Team Bot
b4e52b5922
Auto-generate files after cl/645444695
8 months ago
Protobuf Team Bot
dd6e4adc19
Auto-generate files after PR #17201
8 months ago
Protobuf Team Bot
2c6d319e69
Auto-generate files after cl/643036818
9 months ago
Protobuf Team Bot
505d8d3c5b
Auto-generate files after cl/642792988
9 months ago
Protobuf Team Bot
a9387b5016
Auto-generate files after cl/642616862
9 months ago
Protobuf Team Bot
bbf52275db
Auto-generate files after cl/642420355
9 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
9 months ago
Protobuf Team Bot
9f2893a554
Auto-generate files after cl/642327960
9 months ago
Protobuf Team Bot
b2a6cdb910
Auto-generate files after cl/640749918
9 months ago
Protobuf Team Bot
569184774e
Auto-generate files after cl/640592937
9 months ago
Protobuf Team Bot
532f0c2ed5
Auto-generate files after cl/640369522
9 months ago
Protobuf Team Bot
bf7ac9f2f1
Auto-generate files after cl/640196225
9 months ago
Protobuf Team Bot
1194440c24
Remove `Arena_pin` in favor of adopting the UPB freezing API.
...
PiperOrigin-RevId: 639960700
9 months ago
Protobuf Team Bot
c12c73212d
Auto-generate files after cl/638902499
9 months ago
Protobuf Team Bot
6cce6221d4
Auto-generate files after cl/637932147
9 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
9 months ago
Protobuf Team Bot
58c48fd66e
Auto-generate files after cl/637127851
9 months ago
Protobuf Team Bot
2e9c0a7ece
Auto-generate files after cl/635956805
9 months ago
Protobuf Team Bot
8203e2f894
Auto-generate files after cl/635530952
9 months ago
Protobuf Team Bot
47f4bc958b
Fix Ruby FFI to pass `MiniTable` to `upb_Message_New()` aka `new_message_from_def()`.
...
PiperOrigin-RevId: 635226405
9 months ago
Protobuf Team Bot
5dfdd85d34
Auto-generate files after cl/634787159
10 months ago
Protobuf Team Bot
ddc70b0ebf
Auto-generate files after cl/632663127
10 months ago
Protobuf Team Bot
bc80135f10
Auto-generate files after cl/632314763
10 months ago
Protobuf Team Bot
eb31de3097
Auto-generate files after cl/632277936
10 months ago
Protobuf Team Bot
b51dc1b438
Auto-generate files after cl/632267379
10 months ago
Protobuf Team Bot
6afb130dca
Auto-generate files after cl/631620526
10 months ago
Protobuf Team Bot
4d3a98c27e
Auto-generate files after cl/631612923
10 months ago
Protobuf Team Bot
ae17e81e42
Auto-generate files after cl/631454136
10 months ago
Protobuf Team Bot
51cba7ce17
Auto-generate files after cl/631023575
10 months ago
Protobuf Team Bot
7646fbfebd
Auto-generate files after cl/630466865
10 months ago
Protobuf Team Bot
d3b2fc52a4
Auto-generate files after cl/630090538
10 months ago
Protobuf Team Bot
05afdc2f0a
Auto-generate files after cl/629808114
10 months ago