Protobuf Team Bot
02bbd4e492
Auto-generate files after cl/513973094
2 years ago
Protobuf Team Bot
8f3ae17b3d
Automated rollback of commit 208f0ad455
.
...
PiperOrigin-RevId: 513973094
2 years ago
Protobuf Team Bot
04a0204bf3
Internal changes to extensions.
...
PiperOrigin-RevId: 513971799
2 years ago
Eric Salo
208f0ad455
add hasbit to proto3 fields even when 'optional' is missing
...
PiperOrigin-RevId: 513956259
2 years ago
Mike Kruskal
63895855d7
Internal Code Change
...
PiperOrigin-RevId: 513928860
2 years ago
Jie Luo
cb405967c3
Add compiler/cpp/field_generators/cord_field.cc
...
PiperOrigin-RevId: 513926076
2 years ago
Protobuf Team Bot
72eb4652b7
Parallelize the build of the PHP extension
...
PiperOrigin-RevId: 513922943
2 years ago
Protobuf Team Bot
b6132da7a8
Create a new, central, OSS-sync-friendly place for our allowlists to live.
...
This will create some mysteriously empty lists in open source; that means they only contain Google-private names.
PiperOrigin-RevId: 513915452
2 years ago
Mike Kruskal
ad77e1ab2f
Migrate syntax reflection to new feature-based system.
...
PiperOrigin-RevId: 513904931
2 years ago
Adam Cozzette
ae2531dcc2
Make protoc --descriptor_set_out respect option retention
...
PiperOrigin-RevId: 513891493
2 years ago
Protobuf Team Bot
797b470fe8
Automated rollback of commit bf0d8e2384
.
...
PiperOrigin-RevId: 513889737
2 years ago
Protobuf Team Bot
e83848f092
Auto-generate files after cl/513853367
2 years ago
Mike Kruskal
fab7f928b5
Expand LazySerializerEmitter to cover proto3 cases.
...
This should provide some performance wins for proto3, similar to the ones added years ago for proto2.
PiperOrigin-RevId: 513853367
2 years ago
Joshua Haberman
eaa8f24aa6
Updated obsolete Python README.md
...
PiperOrigin-RevId: 513840426
2 years ago
Mike Kruskal
a54ae5ea9a
Internal Change
...
PiperOrigin-RevId: 513821856
2 years ago
Mike Kruskal
dcb21556cc
Migrate PHP Extension tests to shared CI infrastructure.
...
This will reduce most of the flakes we've seen from these tests.
PiperOrigin-RevId: 513662586
2 years ago
Protobuf Team Bot
ac8725ce21
Fix false negative in the verifier where it was accepting a non-canonical zero
...
field number.
PiperOrigin-RevId: 513652171
2 years ago
Protobuf Team Bot
0a9282b82b
Reduce stack frame size of `TextFormat::Printer::PrintUnknownFields` by offloading `std::string` temporaries into a separate function.
...
PiperOrigin-RevId: 513627351
2 years ago
Adam Cozzette
34b7d583bd
Internal change
...
PiperOrigin-RevId: 513584095
2 years ago
deannagarcia
554bdb1360
Merge pull request #12113 from protocolbuffers/deannagarcia-patch-3
...
Fix toolchain resolution for osx x86_64
2 years ago
deannagarcia
3b727f84f2
Fix toolchain resolution for osx x86_64
2 years ago
deannagarcia
4c3d093ec6
Merge pull request #12109 from deannagarcia/cherrypickOSX
...
Cherrypick osx static linking fix
2 years ago
Mike Kruskal
a66f75dfeb
Migrate syntax reflection to new feature-based system.
...
PiperOrigin-RevId: 513358980
2 years ago
Mike Kruskal
964a7f0e05
Add libm linkage to toolchains
...
PiperOrigin-RevId: 513350744
2 years ago
Mike Kruskal
af791f28a8
Add libm linkage to toolchains
...
PiperOrigin-RevId: 513350744
2 years ago
Mike Kruskal
c9092fe0ed
Internal change
...
PiperOrigin-RevId: 513329841
2 years ago
Mike Kruskal
5888882691
Internal change
...
PiperOrigin-RevId: 513329841
2 years ago
Adam Cozzette
5abab0f47e
Roll-forward of change to add Python support for retention attribute
...
PiperOrigin-RevId: 513318052
2 years ago
Chris Kennelly
14d8ecfed2
Internal change
...
PiperOrigin-RevId: 513293094
2 years ago
deannagarcia
af7f9d52d6
Merge pull request #12099 from deannagarcia/updatedeps
...
Update UPB dep in preparation for 22.1
2 years ago
Deanna Garcia
f3bb8cb8d8
Add sha256 for upb
2 years ago
Protobuf Team Bot
5eabb720dd
Auto-generate files after cl/513268016
2 years ago
Mike Kruskal
dd8a3cf2b5
Unconditionally generate unknown field accessors.
...
This moves us closer to unifying proto2 and proto3 into editions.
PiperOrigin-RevId: 513268016
2 years ago
Protobuf Team Bot
7fc47e2e60
Auto-generate files after cl/513255347
2 years ago
Protobuf Team Bot
dc4b09e138
Add mini-parse support for map fields to table-driven parser.
...
PiperOrigin-RevId: 513255347
2 years ago
Adam Cozzette
a6a238065e
Fix parsing/serialization of packed proto3 custom options
...
We have an obscure bug where packed-by-default repeated custom options defined
in proto3 files are not correctly treated as packed when dynamic extensions are
used. This CL introduces a simple fix and adds a test verifying the correct
behavior.
The bug was not a major problem in most cases, since parsers will accept both
the packed and unpacked encodings. It is useful to fix this to ensure that
descriptors are serialized in a consistent way, though.
PiperOrigin-RevId: 513249881
2 years ago
Protobuf Team Bot
8a33295b8e
Internal change
...
PiperOrigin-RevId: 513133876
2 years ago
Protobuf Team Bot
33958a70b0
Internal change.
...
PiperOrigin-RevId: 513074072
2 years ago
Deanna Garcia
46680103a7
Update UPB dep
2 years ago
deannagarcia
ec1a192689
Merge pull request #12097 from protocolbuffers/cherrypicks
...
Cherrypick fixes in preparation for 22.1
2 years ago
deannagarcia
3b49be20b5
Merge pull request #12096 from deannagarcia/cherrypicsk
...
Cherrypick changes in preparation for 22.1
2 years ago
Mike Kruskal
b143586425
Version protoc according to the compiler version number.
...
Previously we were using the C++ runtime version, which includes an extra major version number. See #12064
PiperOrigin-RevId: 513049588
2 years ago
Joshua Humphries
90623c7247
Fix trailing comment attribution when file has no final newline ( #12082 )
...
Fixes #12081 .
The issue was the call to `MaybeDetachComment`: the conditional assumed that there was a next token, which was on the same line as the previous one, making attribution unclear. However, if there is no next token, we should not detach.
The actual fix is a one-liner. The rest of this PR is updates to the tests to verify this behavior under a handful of scenarios.
Closes #12082
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12082 from jhump:jh/fix-trailing-comment-attribution 767e41cb05
PiperOrigin-RevId: 513046172
2 years ago
Mike Kruskal
8ad6cdd007
Modify release artifacts for protoc to statically link system libraries.
...
Closes #12063
PiperOrigin-RevId: 513034570
2 years ago
Mike Kruskal
e67136d289
Version protoc according to the compiler version number.
...
Previously we were using the C++ runtime version, which includes an extra major version number. See #12064
PiperOrigin-RevId: 513049588
2 years ago
Joshua Humphries
2b462ae58d
Fix trailing comment attribution when file has no final newline ( #12082 )
...
Fixes #12081 .
The issue was the call to `MaybeDetachComment`: the conditional assumed that there was a next token, which was on the same line as the previous one, making attribution unclear. However, if there is no next token, we should not detach.
The actual fix is a one-liner. The rest of this PR is updates to the tests to verify this behavior under a handful of scenarios.
Closes #12082
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12082 from jhump:jh/fix-trailing-comment-attribution 767e41cb05
PiperOrigin-RevId: 513046172
2 years ago
Mike Kruskal
723bd4c3c1
Modify release artifacts for protoc to statically link system libraries.
...
Closes #12063
PiperOrigin-RevId: 513034570
2 years ago
Jie Luo
ab6c42bc61
Internal change only
...
PiperOrigin-RevId: 513034361
2 years ago
Protobuf Team Bot
10cb456545
Removing dependency of command_line_interface from cpp_internal.
...
PiperOrigin-RevId: 513025937
2 years ago
deannagarcia
5926dc4e46
Merge pull request #12085 from deannagarcia/errorpronekotlin
...
Remove errorprone dependency from kotlin protos.
2 years ago