Protobuf Team Bot
d428610254
Automated rollback of commit 89670dd296
.
...
PiperOrigin-RevId: 617034523
8 months ago
Protobuf Team Bot
89670dd296
No public description
...
PiperOrigin-RevId: 617024635
8 months ago
Liam Miller-Cushon
2c07ea5317
Suppress a warning about a class initializer cycle
...
PiperOrigin-RevId: 616953542
8 months ago
Protobuf Team Bot
06444cb6a1
Clean up some now-unnecessary or_default()s
...
PiperOrigin-RevId: 616946153
8 months ago
Protobuf Team Bot
dca05ea1cd
Add a go/pytype annotation on Duration.toTimedelta.
...
PiperOrigin-RevId: 616938980
8 months ago
Protobuf Team Bot
1dbed2138c
Fix Rust Proto cpp-kernel map insertion behavior to better match Rust's std::HashMap and the upb-kernel behavior of "insert replaces the old value"
...
PiperOrigin-RevId: 616934577
8 months ago
Eric Salo
5d136e1b4d
upb: add containing_type() methods to MessageDefPtr and EnumDefPtr
...
PiperOrigin-RevId: 616908935
8 months ago
Hong Shin
413e7b10a0
Internal Change
...
PiperOrigin-RevId: 616872442
8 months ago
Protobuf Team Bot
0299edd5e4
Removed unused OneofMutEnumRsName function
...
PiperOrigin-RevId: 616858530
8 months ago
Protobuf Team Bot
dde9c5eee8
Auto-generate files after cl/616840653
8 months ago
Protobuf Team Bot
db60e52991
Reenable extension support for Weak Descriptor messages.
...
Extension registration now happens in two phases, where we register all linked in messages first and any dynamic message afterwards.
This guarantees that we register all extensions that will be used by descriptor parsing before we parse any descriptors.
This is currently disabled by default.
PiperOrigin-RevId: 616840653
8 months ago
Protobuf Team Bot
e6684ac037
C#: Avoid string concatenation when looking up enum values by name.
...
PiperOrigin-RevId: 616745400
8 months ago
Marcel Hlopko
71eed03fda
Remove unnecessary tags
...
PiperOrigin-RevId: 616741588
8 months ago
Eric Salo
da06505bdd
upb: use mapentry() in the code generator
...
PiperOrigin-RevId: 616713001
8 months ago
Protobuf Team Bot
6b36eb633c
Auto-generate files after cl/616648878
8 months ago
Protobuf Team Bot
9f65af7e76
Automated rollback of commit 5c183bda86
.
...
PiperOrigin-RevId: 616648878
8 months ago
Protobuf Team Bot
f06ae6c4fa
Auto-generate files after cl/616461373
9 months ago
Protobuf Team Bot
5c183bda86
Clear oneof message fields even on arena on non-OPT builds.
...
PiperOrigin-RevId: 616461373
9 months ago
Protobuf Team Bot
7ef5207d81
Auto-generate files after cl/616324144
9 months ago
Mike Kruskal
15c733eef7
Internal changes
...
PiperOrigin-RevId: 616324144
9 months ago
Mike Kruskal
0176f8a72a
Downgrade our sanitized builds to ubuntu-20.
...
The latest github runner image of ubuntu-22 includes a kernel update that breaks the sanitizers we use in our docker images. Long-term, we'll likely need to upgrade the images to new sanitizers and clang.
PiperOrigin-RevId: 616319042
9 months ago
Sam Gammon
742ddf1155
fix(java): fixup test codegen for maven build ( #16176 )
...
## Summary
Fixes and closes protocolbuffers/protobuf#16170 by adding missing test-gen mappings and exclusions. Recent [changes](https://github.com/protocolbuffers/protobuf/pull/15362 ) to Protocol Buffers, along with the addition of the _Editions_ feature, have evolved ahead of Maven; running the build on `main` shows build errors related to the testsuite.
## Changelog
- fix: missing test-gen mappings
- fix: missing test exclusions
Closes #16176
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16176 from sgammon:fix/issue-16170 2be118cf9a
PiperOrigin-RevId: 616310039
9 months ago
Thomas Köppe
57f3065459
Declare and define explicit template instantiations, since the required specializations are needed at a point where the primary template is not defined.
...
PiperOrigin-RevId: 616297036
9 months ago
Mike Kruskal
88e0495a78
Fix remaining locale issues in PHP generator causing flakes.
...
PiperOrigin-RevId: 616289767
9 months ago
Mike Kruskal
8a3430bd1a
Fix locale issue with ::tolower in PHP generator
...
PiperOrigin-RevId: 616270918
9 months ago
Sandy Zhang
1e808d5ece
Remove extra whitespace line in JavaEditionDefaults template
...
PiperOrigin-RevId: 616261718
9 months ago
Protobuf Team Bot
5e8d7e5dbe
Auto-generate files after cl/616256211
9 months ago
Mike Kruskal
bca8fb6117
Implement edition 2023 support in all Ruby runtimes.
...
Three of these runtimes are based on upb, and the fourth is based on the Java runtime. Both of these already have editions support, so this was mostly just a matter of:
- Advertising support to allow editions codegen
- Stripping features from the runtime options
- Hooking up conformance tests
- Adding some lightweight editions tests
There are also a few minor orthogonal fixes included here:
- Ruby's upb hack for treating all enums as open enums needed tweaking
- The `enable_editions` flag is no longer needed in our internal proto rules
PiperOrigin-RevId: 616256211
9 months ago
Tiago Quelhas
9ca36df54f
Automated Code Change
...
PiperOrigin-RevId: 616246031
9 months ago
Protobuf Team Bot
c6c7d21f6e
IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 616207739
9 months ago
Mike Kruskal
c320e11262
Fix a test gap from https://github.com/protocolbuffers/protobuf/pull/13818
...
These tests were put into the wrong scope, and never actually ran. Fixing them turned up a bug in JRuby FFI where this fix wasn't applied.
PiperOrigin-RevId: 616172197
9 months ago
Mike Kruskal
4afc2cc17a
Fix incorrect definition of field label getter in FFI.
...
This was unintentionally disabling a test in repeated_field_test that is broken in JRuby FFI. It appears to be a bug in Enumeration, rather than our code.
PiperOrigin-RevId: 616164907
9 months ago
Mike Kruskal
c17b102148
Disable TSAN tests due to what appears to be a sanitizer bug
...
PiperOrigin-RevId: 616138585
9 months ago
Protobuf Team Bot
67816a54a9
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf Java gencode.
...
PiperOrigin-RevId: 616131629
9 months ago
Mike Kruskal
0a6a117ed3
Remove remaining uses of ctype, which has locale issues.
...
PiperOrigin-RevId: 615981920
9 months ago
Chris Kennelly
2ee72715e0
Automated Code Change
...
PiperOrigin-RevId: 615873441
9 months ago
Protobuf Team Bot
f72c45ff75
Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>.
...
PiperOrigin-RevId: 615849358
9 months ago
Protobuf Team Bot
958dd59892
Remove the public _mut() accessors from string fields.
...
PiperOrigin-RevId: 615824279
9 months ago
Protobuf Team Bot
7e47fc3e39
Remove the _mut() accessors from primitive fields (both explicit presence where they were FieldEntry and implicit presence where they were PrimitiveMut).
...
PiperOrigin-RevId: 615792730
9 months ago
Protobuf Team Bot
fb08bca4e4
Auto-generate files after cl/615779322
9 months ago
Protobuf Team Bot
7ec56d4243
Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api.
...
PiperOrigin-RevId: 615782249
9 months ago
Protobuf Team Bot
2f0fe0641c
Add Arena tracing handlers.
...
PiperOrigin-RevId: 615779322
9 months ago
Protobuf Team Bot
5c8cbdfefd
Fix warnings due to unused 'map' param on map_free on upb kernel (where the upb_free function is a no-op)
...
PiperOrigin-RevId: 615535675
9 months ago
Protobuf Team Bot
be4476f100
Fix warnings about unnecessary 'use' due to Box, Send and Sync being defined in the language prelude.
...
PiperOrigin-RevId: 615533149
9 months ago
Chris Kennelly
c6727f4eba
Automated rollback of commit d0c631ce7f
.
...
PiperOrigin-RevId: 615472723
9 months ago
Chris Kennelly
d0c631ce7f
Automated rollback of commit ac6c541e12
.
...
PiperOrigin-RevId: 615471065
9 months ago
Ming-Chuan
e54174728f
Add back android config_setting that looks for //external:android/crosstool ( #16127 )
...
In https://github.com/protocolbuffers/protobuf/pull/15298 `"crosstool_top": "//external:android/crosstool"` was replaced with `"crosstool_top": "@platforms//os:android"`. This breaks users who have not migrated to https://bazel.build/concepts/platforms yet.
Closes #16127
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16127 from sifmelcara:add-back-legacy-crosstool-top c643235a3d
PiperOrigin-RevId: 615449874
9 months ago
Protobuf Team Bot
0a930a1df7
Auto-generate files after cl/615169203
9 months ago
Eric Salo
a03ece58f7
upb: delete upb_Map_Delete2()
...
PiperOrigin-RevId: 615169203
9 months ago
Protobuf Team Bot
634cc14ed4
Auto-generate files after cl/615136389
9 months ago