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
7ec56d4243
Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api.
...
PiperOrigin-RevId: 615782249
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
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
Protobuf Team Bot
634cc14ed4
Auto-generate files after cl/615136389
9 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
9 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
9 months ago
Mike Kruskal
ea3fe6389e
Internal changes
...
PiperOrigin-RevId: 615051925
9 months ago
Protobuf Team Bot
9ff062cd34
Make types for 'inner' (runtime-specific) owned Repeated and Maps
...
PiperOrigin-RevId: 614995436
9 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
9 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
9 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
9 months ago
Derek Mauro
686361e79e
Automated Code Change
...
PiperOrigin-RevId: 614658262
9 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
9 months ago
Protobuf Team Bot
bcb4026c0c
Auto-generate files after cl/613659141
9 months ago
Protobuf Team Bot
b67a0d92dc
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf C++ gencode.
...
PiperOrigin-RevId: 613659141
9 months ago
Protobuf Team Bot
94ab406bcf
Auto-generate files after cl/613387033
9 months ago
Protobuf Team Bot
434b530c06
Move EagerParseLazyField* APIs to proto2 namespace
...
PiperOrigin-RevId: 613387033
9 months ago
Mike Kruskal
dc484c131e
Fix has_presence to account for proto3 extensions in Java.
...
PiperOrigin-RevId: 613373080
9 months ago
Protobuf Team Bot
0fd69cf163
Auto-generate files after cl/613368436
9 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
9 months ago
Protobuf Team Bot
3b6e659d95
Minor cleanup: IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 613349591
9 months ago
Mike Kruskal
16528d89c5
Fix has_presence to account for proto3 extensions in C++.
...
PiperOrigin-RevId: 613345477
9 months ago
Cong Liu
ac6c541e12
Enable profile_driven_cluster_aux_subtable.
...
PiperOrigin-RevId: 613340149
9 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
9 months ago
Protobuf Team Bot
5230129d9b
Auto-generate files after cl/613271110
9 months ago
Protobuf Team Bot
009078df7a
Move Protobuf C++ versions out of port_def.inc to runtime_version.h so that the version can be used for preprocessing by users.
...
PiperOrigin-RevId: 613271110
9 months ago
Protobuf Team Bot
3dadd0e1ee
Generate an error early while parsing if the message nesting is too large. It
...
will fail anyway later on when trying to create a descriptor but this way we
prevent stack overflows on the parser.
PiperOrigin-RevId: 613245970
9 months ago
Jakob Buchgraber
03687b798b
#rust #protobuf Implement custom Debug for C++ kernel
...
This change implements a custom Debug for messages, views and muts in the C++ kernel. Debug defers to proto2::Utf8Format.
It implements this only for the C++ kernel. We will need to pull in additional dependencies beyond minitables to implement it for UPB as well. This will be done at a later point.
PiperOrigin-RevId: 613191236
9 months ago
Protobuf Team Bot
ff83c91654
Auto-generate files after cl/613016814
9 months ago
Mike Kruskal
7de0ad1adb
Add a unittest locking down presence behavior for proto3 extensions
...
PiperOrigin-RevId: 613016814
9 months ago
Protobuf Team Bot
16f96d15eb
Stop using EagerParseLazyFieldByMutation.
...
PiperOrigin-RevId: 613016289
9 months ago
Protobuf Team Bot
9f4e01ffca
Automated rollback of commit 8e833bfc66
.
...
PiperOrigin-RevId: 613004543
9 months ago
Protobuf Team Bot
6332267b1d
Add EagerParseLazyField no IgnoreParse
...
PiperOrigin-RevId: 612999269
9 months ago
Protobuf Team Bot
730db2ddde
Auto-generate files after cl/612967791
9 months ago
Protobuf Team Bot
8e833bfc66
Fix missing port_def/port_undef includes
...
PiperOrigin-RevId: 612971492
9 months ago
Protobuf Team Bot
87abd5d2ca
Add "DO" "NOT" "SUBMIT" to Protobuf c++ gencode.
...
PiperOrigin-RevId: 612967791
9 months ago
Protobuf Team Bot
6789e66766
Raw access to oneof LazyField must be LazyField*.
...
PiperOrigin-RevId: 612961986
9 months ago
Protobuf Team Bot
d4bfe52d99
Deprecate Arena::CreateMessage for OSS.
...
PiperOrigin-RevId: 612534673
9 months ago
Protobuf Team Bot
73d96dba54
Internal changes.
...
PiperOrigin-RevId: 612490675
9 months ago
Jakob Buchgraber
016a4b56fe
#protobuf #rust Make oneof enum Copy
...
PiperOrigin-RevId: 612423063
9 months ago
Protobuf Team Bot
024d90983e
Assume HasHasbit() for SingularMessage and !HasHasbit() for OneofMessage.
...
PiperOrigin-RevId: 612347702
9 months ago
Protobuf Team Bot
7a51eb5370
Add port_def.inc and port_undef.inc. for reflection_visit_field_info.h.
...
PiperOrigin-RevId: 611794867
10 months ago
Protobuf Team Bot
11f274be08
Use parameterized tests for easier extension.
...
PiperOrigin-RevId: 611699734
10 months ago