Adam Cozzette
88b5b19c99
Rename `target` field to `target_obsolete_do_not_use`
...
PiperOrigin-RevId: 529209314
2 years ago
deannagarcia
12c835107e
Merge pull request #12652 from deannagarcia/23.x
...
Automated rollback of commit a2c5ea614c
.
2 years ago
Thomas Van Lenten
5ded06d9ab
Automated rollback of commit a2c5ea614c
.
...
PiperOrigin-RevId: 529185812
2 years ago
Thomas Van Lenten
17ee68a55f
Automated rollback of commit a2c5ea614c
.
...
PiperOrigin-RevId: 529185812
2 years ago
Matt Kulukundis
126e361e64
make Context::Emit pass SourceLocation
...
PiperOrigin-RevId: 529172439
2 years ago
Protobuf Team Bot
823ba794c5
Auto-generate files after cl/529162319
2 years ago
Jeffrey A. Dean
97c351319f
Shrink code size of generated protocol buffer code via a few
...
changes.
(1) Use PROTOBUF_NOINLINE attributes to avoid inlining of
Clear(), ByteSizeLong() and IsInitialized() routines
within the same .pb.cc file
(2) If the tag number is less than 16 and the type is one of
a handful of common types, call a non-inlined templated
routine specialized for that tag number that handles both
the EnsureSpace call and the encoding of the tag and the
value into the array.
PiperOrigin-RevId: 529162319
2 years ago
Protobuf Team Bot
fdfb95849b
Fix handling of Cord fields in the table-driven parser.
...
PiperOrigin-RevId: 529161871
2 years ago
Patrick Xia
421167dae3
Remove unreferenced file
...
PiperOrigin-RevId: 529161332
2 years ago
deannagarcia
04d31b306c
Merge pull request #12647 from deannagarcia/23.x
...
Update UPB dep for 23.0-rc3
2 years ago
Deanna Garcia
df32e78d45
Update UPB dep
2 years ago
Adam Cozzette
d96032d1a5
Implement option retention for Ruby
...
PiperOrigin-RevId: 529096272
2 years ago
Protobuf Team Bot
7b22c57cef
Make the TcParser tables constexpr.
...
Without it some compilers will not constant initialize the tables and cause
runtime failures during registration. We must be able to parse descriptors
during dynamic initialization.
PiperOrigin-RevId: 529092745
2 years ago
Marcel Hlopko
701e056e2b
Zhuzh up the C++/Rust interop test to demonstrate more uses.
...
Taking over the work done by mcyoung@
PiperOrigin-RevId: 529063108
2 years ago
deannagarcia
e01953476c
Merge pull request #12638 from deannagarcia/23.x
...
Update abseil dependency and reorder dependencies to ensure we use th…
2 years ago
Deanna Garcia
c4731cdfdd
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Adam Cozzette
fb18db76ad
Merge pull request #12635 from acozzette/cherrypick-musttail-23
...
Turn off `clang::musttail` on i386
2 years ago
Adam Cozzette
ba348e2b3b
Add support for option retention in PHP
...
PiperOrigin-RevId: 528842376
2 years ago
Deanna Garcia
99529a2209
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
deannagarcia
9e2941faa4
Merge pull request #12632 from deannagarcia/23.x
...
Cherrypick fixes for 23.0-rc3
2 years ago
Adam Cozzette
b40633ff0b
Turn off `clang::musttail` on i386
...
We found last week that Clang's support for `musttail` on 32-bit Linux does not
seem to work reliably, so let's disable it for now.
PiperOrigin-RevId: 528817403
2 years ago
Deanna Garcia
b36c39236e
Fix bug in _internal_copy_files where the rule would fail in downstream repositories.
...
Taken from https://github.com/protocolbuffers/upb/blob/main/bazel/protobuf.patch#L42
Fixes https://github.com/protocolbuffers/protobuf/issues/12620 .
PiperOrigin-RevId: 528586464
2 years ago
Deanna Garcia
ad2dd26ffc
Mark internal rule manual
2 years ago
Adam Cozzette
47c1998e4e
Turn off `clang::musttail` on i386
...
We found last week that Clang's support for `musttail` on 32-bit Linux does not
seem to work reliably, so let's disable it for now.
PiperOrigin-RevId: 528817403
2 years ago
Adam Cozzette
0eab7ed869
Internal change
...
PiperOrigin-RevId: 528800673
2 years ago
Carlos O'Ryan
b1ae4fa87a
fix(libprotoc): export useful symbols from .so ( #12619 )
...
Part of the work for #12618
Closes #12619
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12619 from coryan:fix-export-libprotoc-symbols 44b4bcc9e0
PiperOrigin-RevId: 528674319
2 years ago
Protobuf Team Bot
b05012cccb
Auto-generate files after cl/528634293
2 years ago
Matt Kulukundis
80b0609666
Refactor map_field.cc to use Emit().
...
PiperOrigin-RevId: 528634293
2 years ago
Protobuf Team Bot
874e291c00
Auto-generate files after cl/528628217
2 years ago
Matt Kulukundis
110616cf10
Convert about a third of message_field.cc to use multi-line string literals.
...
PiperOrigin-RevId: 528628217
2 years ago
Adam Cozzette
7c95aacc18
Add option retention test for C#
...
PiperOrigin-RevId: 528614030
2 years ago
Deanna Garcia
859410bccc
Fix bug in _internal_copy_files where the rule would fail in downstream repositories.
...
Taken from https://github.com/protocolbuffers/upb/blob/main/bazel/protobuf.patch#L42
Fixes https://github.com/protocolbuffers/protobuf/issues/12620 .
PiperOrigin-RevId: 528586464
2 years ago
Yannic
6be2818281
Reserve option for EngFlow ( #12599 )
...
Closes #12599
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12599 from Yannic:patch-4 80578955ca
PiperOrigin-RevId: 528576745
2 years ago
deannagarcia
28003bb6e0
Merge pull request #12623 from deannagarcia/23.x
...
fix(libprotoc): export useful symbols from .so
2 years ago
bangert
aacb773988
Remove redaction flag from DebugString.
...
PiperOrigin-RevId: 528540493
2 years ago
Deanna Garcia
f8a51421c7
Add manual tag to //objectivec:gen_wkt_sources since it should only be run internally by regenerate_stale_files.sh
...
Fixes https://github.com/protocolbuffers/protobuf/issues/12609
PiperOrigin-RevId: 528535687
2 years ago
Carlos O'Ryan
46fb4aa8d2
fix(libprotoc): export useful symbols from .so
2 years ago
deannagarcia
f7985e1b38
Merge pull request #12619 from coryan/fix-export-libprotoc-symbols
...
fix(libprotoc): export useful symbols from .so
2 years ago
Patrick Xia
4fdc2ca7fe
Internal change
...
PiperOrigin-RevId: 528505534
2 years ago
Mike Rochefort
cc7dcfa45b
Enable the selection of system provided jsoncpp ( #12577 )
...
Allows the use of an external `jsoncpp` library to be used. Replicates the model used by `abseil-cpp` as a "package" or "module" to the `protobuf_JSONCPP_PROVIDER` option.
Resolves : #11827
Closes #12577
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12577 from omenos:omenos/cmake-jsoncpp 073edd69b4
PiperOrigin-RevId: 528492610
2 years ago
Joshua Haberman
b478a29bf0
Forbid embedded nulls in `json_name`.
...
While embedded nulls are technically allowed in JSON strings (and thus as object keys), they put undesirable constraints on implementations. Embedded nulls require that string length is stored explicitly, which wastes memory to accommodate a case that virtually nobody wants or needs.
PiperOrigin-RevId: 528484333
2 years ago
Carlos O'Ryan
44b4bcc9e0
fix(libprotoc): export useful symbols from .so
2 years ago
Jie Luo
65e047d098
-Make message __deepcopy__ call UPB code instead of default implementation for python UPB (splitted change 1)
...
PiperOrigin-RevId: 528083849
2 years ago
Protobuf Team Bot
0f61acdf98
Auto-generate files after cl/528038754
2 years ago
Mike Kruskal
3c279623a0
Internal changes
...
PiperOrigin-RevId: 528038754
2 years ago
Protobuf Team Bot
c045343d61
Auto-generate files after cl/528023935
2 years ago
Adam Cozzette
5f64444e7b
Implement option retention for C#
...
PiperOrigin-RevId: 528023935
2 years ago
Protobuf Team Bot
1c05447e46
Auto-generate files after cl/528013709
2 years ago
Adam Cozzette
a2e8a2c88e
Add unittest_retention.proto to csharp/generate_protos.sh
...
PiperOrigin-RevId: 528013709
2 years ago
Adam Cozzette
e3848c1998
Implement enforcement of target constraints
...
This is a new feature allowing fields to be annotated with a `targets` option
specifying what kinds of entities that field may be applied to when used in an
option.
PiperOrigin-RevId: 527990260
2 years ago