Mike Kruskal
19af1b40c6
Internal changes
...
PiperOrigin-RevId: 617322487
11 months ago
Protobuf Team Bot
fa0d25a707
Add has_field() accessors for any field that supports presence.
...
PiperOrigin-RevId: 617170589
11 months ago
Protobuf Team Bot
8198fe9a5f
Change message-nesting namespacing to be some_msg:: instead of SomeMsg_::
...
PiperOrigin-RevId: 617153657
11 months ago
Protobuf Team Bot
d428610254
Automated rollback of commit 89670dd296
.
...
PiperOrigin-RevId: 617034523
11 months ago
Protobuf Team Bot
89670dd296
No public description
...
PiperOrigin-RevId: 617024635
11 months ago
Hong Shin
413e7b10a0
Internal Change
...
PiperOrigin-RevId: 616872442
11 months ago
Protobuf Team Bot
0299edd5e4
Removed unused OneofMutEnumRsName function
...
PiperOrigin-RevId: 616858530
11 months ago
Protobuf Team Bot
dde9c5eee8
Auto-generate files after cl/616840653
11 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
11 months ago
Protobuf Team Bot
6b36eb633c
Auto-generate files after cl/616648878
11 months ago
Protobuf Team Bot
9f65af7e76
Automated rollback of commit 5c183bda86
.
...
PiperOrigin-RevId: 616648878
11 months ago
Protobuf Team Bot
f06ae6c4fa
Auto-generate files after cl/616461373
11 months ago
Protobuf Team Bot
5c183bda86
Clear oneof message fields even on arena on non-OPT builds.
...
PiperOrigin-RevId: 616461373
11 months ago
Mike Kruskal
15c733eef7
Internal changes
...
PiperOrigin-RevId: 616324144
11 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
11 months ago
Mike Kruskal
88e0495a78
Fix remaining locale issues in PHP generator causing flakes.
...
PiperOrigin-RevId: 616289767
11 months ago
Mike Kruskal
8a3430bd1a
Fix locale issue with ::tolower in PHP generator
...
PiperOrigin-RevId: 616270918
11 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
11 months ago
Protobuf Team Bot
c6c7d21f6e
IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 616207739
11 months ago
Protobuf Team Bot
67816a54a9
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf Java gencode.
...
PiperOrigin-RevId: 616131629
11 months ago
Mike Kruskal
0a6a117ed3
Remove remaining uses of ctype, which has locale issues.
...
PiperOrigin-RevId: 615981920
11 months ago
Chris Kennelly
2ee72715e0
Automated Code Change
...
PiperOrigin-RevId: 615873441
11 months ago
Protobuf Team Bot
f72c45ff75
Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>.
...
PiperOrigin-RevId: 615849358
11 months ago
Protobuf Team Bot
958dd59892
Remove the public _mut() accessors from string fields.
...
PiperOrigin-RevId: 615824279
11 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
11 months ago
Protobuf Team Bot
7ec56d4243
Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api.
...
PiperOrigin-RevId: 615782249
11 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
11 months ago
Chris Kennelly
c6727f4eba
Automated rollback of commit d0c631ce7f
.
...
PiperOrigin-RevId: 615472723
11 months ago
Chris Kennelly
d0c631ce7f
Automated rollback of commit ac6c541e12
.
...
PiperOrigin-RevId: 615471065
11 months ago
Protobuf Team Bot
634cc14ed4
Auto-generate files after cl/615136389
11 months ago
Mike Kruskal
b6032d72e3
Add basic upb cmake support.
...
libupb will always be statically linked, and currently doesn't ever install itself.
PiperOrigin-RevId: 615136389
11 months ago
Protobuf Team Bot
a5e5e02bdf
Fix memory leak in the arena when interacting with a type that derives from
...
MessageLite and is marked as arena constructible but not as destructor
skippable. The object was not being registered for destruction.
This currently only affects ImplicitWeakMessage.
PiperOrigin-RevId: 615099201
11 months ago
Mike Kruskal
ea3fe6389e
Internal changes
...
PiperOrigin-RevId: 615051925
11 months ago
Protobuf Team Bot
9ff062cd34
Make types for 'inner' (runtime-specific) owned Repeated and Maps
...
PiperOrigin-RevId: 614995436
11 months ago
Mike Kruskal
baa83b6b43
Enable Editions in preparation for 27.0 release.
...
This marks the official launch of editions, which no longer requires an --experimental_editions flag to use with supported generators. The flag can still be used for generators that don't yet explicitly support editions.
PiperOrigin-RevId: 614729247
11 months ago
Mike Kruskal
7a0e10e021
Release edition defaults CLI arguments.
...
These are no longer experimental, and are the preferred way to generate edition defaults IR for feature resolution.
PiperOrigin-RevId: 614715815
11 months ago
Protobuf Team Bot
bb1c0abcbf
Make the oneof view accessors use consuming-self and the corresponding longer lifetime, avoiding unnecessary shortening of lifetimes in some cases.
...
This follows the precedent established on other accessors on Msg Views.
PiperOrigin-RevId: 614658415
11 months ago
Derek Mauro
686361e79e
Automated Code Change
...
PiperOrigin-RevId: 614658262
11 months ago
Protobuf Team Bot
9db04d2e01
Fix dynamically generated MapEntry parser to have the same behavior as the
...
codegen parser for maps.
Change TcParse table generation to get the fallback function from the generator instead of each one having the logic.
PiperOrigin-RevId: 613722790
12 months ago
Protobuf Team Bot
bcb4026c0c
Auto-generate files after cl/613659141
12 months ago
Protobuf Team Bot
b67a0d92dc
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf C++ gencode.
...
PiperOrigin-RevId: 613659141
12 months ago
Protobuf Team Bot
94ab406bcf
Auto-generate files after cl/613387033
12 months ago
Protobuf Team Bot
434b530c06
Move EagerParseLazyField* APIs to proto2 namespace
...
PiperOrigin-RevId: 613387033
12 months ago
Mike Kruskal
dc484c131e
Fix has_presence to account for proto3 extensions in Java.
...
PiperOrigin-RevId: 613373080
12 months ago
Protobuf Team Bot
0fd69cf163
Auto-generate files after cl/613368436
12 months ago
Protobuf Team Bot
8a15c73d2c
Improve pinning assembly when using a clang that supports it.
...
The new technique adds the relocation without adding an instruction that has to
be executed in the code path.
PiperOrigin-RevId: 613368436
12 months ago
Protobuf Team Bot
3b6e659d95
Minor cleanup: IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 613349591
12 months ago
Mike Kruskal
16528d89c5
Fix has_presence to account for proto3 extensions in C++.
...
PiperOrigin-RevId: 613345477
12 months ago
Cong Liu
ac6c541e12
Enable profile_driven_cluster_aux_subtable.
...
PiperOrigin-RevId: 613340149
12 months ago
Sandy Zhang
2e06e61ca1
Add <shellapi.h> include for CommandLineToArgvW
...
This should fix the following error:
```
third_party\protobuf\src\google\protobuf\compiler\main.cc(127): error C3861: 'CommandLineToArgvW': identifier not found
```
PiperOrigin-RevId: 613319460
12 months ago