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
12 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
12 months ago
Protobuf Team Bot
db9cc39bb2
Auto-generate files after cl/614707625
12 months ago
Eric Salo
e1a19ba8bb
upb: add 'options' arg to upb_Message_IsEqual()
...
PiperOrigin-RevId: 614707625
12 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
12 months ago
Derek Mauro
686361e79e
Automated Code Change
...
PiperOrigin-RevId: 614658262
12 months ago
Derek Mauro
b5dcc38679
Automated Code Change
...
PiperOrigin-RevId: 614655228
12 months ago
Mike Kruskal
04397d4c77
Exclude checked-in descriptor gencode from source wheels.
...
PiperOrigin-RevId: 614038432
12 months ago
Jie Luo
eee53125c4
internal change
...
PiperOrigin-RevId: 613982814
12 months ago
Protobuf Team Bot
45f9158b8a
Auto-generate files after cl/613970553
12 months ago
Mike Kruskal
8c0485cb68
Include minitable codegen in checked-in cmake files
...
PiperOrigin-RevId: 613970553
12 months ago
Protobuf Team Bot
e41ffb01a2
Auto-generate files after cl/613765356
12 months ago
Mike Kruskal
54a8588148
Fix staleness regen script that now silently fails
...
PiperOrigin-RevId: 613765356
12 months ago
Mike Kruskal
58312a6f2e
Check in upb bootstrap gencode for future cmake usage
...
PiperOrigin-RevId: 613757614
12 months ago
Protobuf Team Bot
cdb0345d16
Auto-generate files after cl/613747349
12 months ago
Éamonn McManus
3c0f3ca6be
Document `upb_Message_SetMessage`.
...
PiperOrigin-RevId: 613747349
12 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
3ee0120cee
Auto-generate files after cl/613716602
12 months ago
Protobuf Team Bot
99315b19d2
Fix upb_MiniTable_SetFullName signature.
...
PiperOrigin-RevId: 613716602
12 months ago
Protobuf Team Bot
ccfab6a8d5
Auto-generate files after cl/613664457
12 months ago
Protobuf Team Bot
bcb4026c0c
Auto-generate files after cl/613659141
12 months ago
Protobuf Team Bot
cbfb6991f3
Add api to trace message allocations.
...
Initialize minitable tracing field for MtDecoder
Add api for non C language runtimes to initialize dynamic mini table name.
PiperOrigin-RevId: 613664457
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
9271acec79
Auto-generate files after cl/613361074
12 months ago
Mike Kruskal
d5543304d5
Fix has_presence to account for proto3 extensions in Python.
...
PiperOrigin-RevId: 613361074
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
Protobuf Team Bot
f1d3f28eca
Automated rollback of commit 976a6eb6a4
.
...
PiperOrigin-RevId: 613296331
12 months ago
Protobuf Team Bot
5d58cb8559
Auto-generate files after cl/613290255
12 months ago
Protobuf Team Bot
f2242d7136
Add proto full name support for tracing.
...
Creates a tracing helper function to associate mini tables with proto full names to use for upcoming upb metrics collectors.
PiperOrigin-RevId: 613290255
12 months ago
Eric Salo
3d7e75fb98
upb: remove split64 from Dart VM, delete array_split64.h from upb/message/
...
PiperOrigin-RevId: 613285612
12 months ago
Protobuf Team Bot
5230129d9b
Auto-generate files after cl/613271110
12 months ago
Protobuf Team Bot
98511549b5
Use the simpler set_x() instead of x_mut().set() in the Rust conformance test.
...
PiperOrigin-RevId: 613272179
12 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
12 months ago
Protobuf Team Bot
33f367d2ba
Auto-generate files after cl/613258771
12 months ago
Éamonn McManus
6cbcff4bb6
Clarify that `upb_Message_SetString` does not copy data.
...
PiperOrigin-RevId: 613258771
12 months ago
Trayan Zapryanov
fac929d9aa
Cache StringBuilder instances in the .NET JsonTextTokenizer.
...
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15794 from TrayanZapryanov:cache_stringbuilder 596147e6f1
PiperOrigin-RevId: 613251480
12 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
12 months ago
Protobuf Team Bot
53ad6a4478
Put an explicit warning about the incovenience of working against main and a recommendation to use a supported release in the root readme.
...
PiperOrigin-RevId: 613234330
12 months ago
Protobuf Team Bot
554a00c40a
Introduce Python Protobuf runtime version.
...
PiperOrigin-RevId: 613224059
12 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
12 months ago
Jakob Buchgraber
997281b5bb
#protobuf #rust use align parameter in __pb_rust_alloc
...
PiperOrigin-RevId: 613181914
12 months ago
Jakob Buchgraber
11bbab1664
#protobuf #rust Build gencode files when building a rust_proto_library target
...
from the command line.
PiperOrigin-RevId: 613167071
12 months ago