Protobuf Team Bot
818129adff
Auto-generate files after cl/514783686
2 years ago
Mike Kruskal
4a2f566ff0
Expand google.protobuf.Type handling to cover editions.
...
PiperOrigin-RevId: 514783686
2 years ago
Maciej Litwiniuk
ff5007f929
Add example in ruby ( #11717 )
...
examples directory was missing an example in ruby, this PR aims to fix this.
Closes #11717
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11717 from mlitwiniuk:ruby_example 14a5d1a34a
PiperOrigin-RevId: 514756892
2 years ago
Mike Kruskal
c440da9e13
Remove unnecessary has bits from proto2 Java.
...
Message fields in oneofs generate has bits in their parent message, but these are never used.
PiperOrigin-RevId: 514754886
2 years ago
Sandy Zhang
7e2ccc3e2f
Internal change
...
PiperOrigin-RevId: 514732984
2 years ago
Marcel Hlopko
26af540a7a
Add support for proto dependencies to rust_proto_library
...
PiperOrigin-RevId: 514719215
2 years ago
Protobuf Team Bot
edb4da6eaa
Internal Code Change
...
PiperOrigin-RevId: 514640775
2 years ago
Mike Kruskal
0b9134bb4e
Deprecate SupportsUnknownEnumValues on Message reflection. Use FieldDescriptor or EnumDescriptor instead.
...
PiperOrigin-RevId: 514618684
2 years ago
Protobuf Team Bot
51f22eb334
Auto-generate files after cl/514587333
2 years ago
Mike Kruskal
affadac847
Add C# presence methods to proto3 oneof fields.
...
PiperOrigin-RevId: 514587333
2 years ago
Mike Kruskal
f174908946
Fix released protoc path
...
PiperOrigin-RevId: 514551233
2 years ago
Jorge Gorbe Moya
d3d4b5abd3
Internal change
...
PiperOrigin-RevId: 514547224
2 years ago
Marcel Hlopko
3dc546daff
Implement a minimal, internal, experimental rust_proto_library rule.
...
The internal design is consistent with other <lang>_proto_library rules. rust_proto_library attaches rust_proto_library_aspect on its `deps` attribute. The aspect traverses the dependency, and when it visits proto_library (detected by ProtoInfo provider) it registers 2 actions:
1) to run protoc with Rust backend to emit gencode
2) to compile the gencode using Rustc
Action (2) gets the Rust proto runtime as an input as well.
Coming in a followup is support and test coverage for proto_library.deps.
PiperOrigin-RevId: 514521285
2 years ago
Mike Kruskal
77e3f2c38d
Rename protoc_static for release
...
PiperOrigin-RevId: 514500346
2 years ago
Protobuf Team Bot
133e43a974
Auto-generate files after cl/514495606
2 years ago
Eric Salo
6c514f8d16
Automated rollback of commit 116cf4a41d
.
...
PiperOrigin-RevId: 514495606
2 years ago
Protobuf Team Bot
9f959583da
Mark proto2::Arena::GetArena as deprecated.
...
PiperOrigin-RevId: 514489808
2 years ago
Yuriy Chernyshov
b21c6b2b0d
Use PROTOBUF_DEPRECATED instead of PROTOBUF_DEPRECATED_ENUM ( #12026 )
...
At the time the way of marking some stuff `deprecated` is overcomplicated taken into account that protobuf mandates C++11 to be built.
Particularly, PROTOBUF_DEPRECATED_ENUM references gcc-6 release notes and the compiler is almost 4.5 years old as of today.
I believe it should be possible to simplify the definitions.
Closes #12026
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12026 from georgthegreat:deprecated 536c3c9ff7
PiperOrigin-RevId: 514480030
2 years ago
Protobuf Team Bot
8c3fac3913
Auto-generate files after cl/514449399
2 years ago
Mike Kruskal
804ec94a16
Add release tests for statically linked binaries
...
For now, this only covers linux on the two architectures we have testing support for. However, it serves as a good sanity check and can be expanded in the future.
PiperOrigin-RevId: 514449399
2 years ago
Eric Salo
116cf4a41d
Automated rollback of commit 8f3ae17b3d
.
...
PiperOrigin-RevId: 514449010
2 years ago
Protobuf Team Bot
f3fba625c6
Auto-generate files after cl/514424955
2 years ago
Mike Kruskal
91d77ae291
Internal changes
...
PiperOrigin-RevId: 514424955
2 years ago
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
Mike Kruskal
a66f75dfeb
Migrate syntax reflection to new feature-based system.
...
PiperOrigin-RevId: 513358980
2 years ago
Mike Kruskal
af791f28a8
Add libm linkage to toolchains
...
PiperOrigin-RevId: 513350744
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
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