Thomas Van Lenten
740d314166
[ObjC] Simplify root registry generation.
...
The the distinction in the output isn't worth it.
PiperOrigin-RevId: 556828871
1 year ago
Thomas Van Lenten
ff259f71c5
[ObjC] Scrub "syntax" references and editions prep
...
Scrub all the objc related sources for references to "syntax"
and update them to no longer tie things accordingly.
The ObjC Protos `GPBFileDescriptor` concept still exposes the
`syntax`, but it was already marked as deprecated. This will be
removed in the future as nothing should need to look at the value.
Validate that all generation calls are on the helpers to get the
editions support from the C++ code.
PiperOrigin-RevId: 555971288
1 year ago
Jie Luo
b359e5020a
Lock down ctype=CORD in proto file.
...
ctype can not be used for none string/bytes fields. ctye=CORD can not be used for extensions. A new macro PROTOBUF_FUTURE_REMOVE_WRONG_CTYPE is added that will be flipped for our next breaking release.
PiperOrigin-RevId: 555615362
1 year ago
Thomas Van Lenten
f6409bd2c4
[ObjC] Mark NSOutputStream helper as not inlinable.
...
With some optimizer flags, GPBCodedOutputStream results in a lot of
code bloat, for now just prevent the new helper related to
NSOutputStream from being inlined to keep that in check.
PiperOrigin-RevId: 554525631
1 year ago
Thomas Van Lenten
f607b66d9f
Fix typos.
...
They got noticed after the previous change was being submitted.
PiperOrigin-RevId: 553560211
1 year ago
Thomas Van Lenten
94a9261a28
[ObjC] Handle interruptions when writing to NSOutputStreams.
...
A write succeed but only write out a subset of the requested amount
of data, handle that via a helper that will loop and advance as need
to completely write out the data.
PiperOrigin-RevId: 553516360
1 year ago
Benjamin Peterson
bc9002ec75
bazel: Get rid of exec_tools. ( #13401 )
...
Bazel has removed this attribute in bazelbuild/bazel@c061e57a7004a88eeb2f84d094d9a88b56c146b6.
Closes #13401
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13401 from benjaminp:exec_tools 9e718ff0fd
PiperOrigin-RevId: 552482730
1 year ago
Benjamin Peterson
1bee4578b8
bazel: Get rid of exec_tools. ( #13401 )
...
Bazel has removed this attribute in bazelbuild/bazel@c061e57a7004a88eeb2f84d094d9a88b56c146b6.
Closes #13401
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13401 from benjaminp:exec_tools 9e718ff0fd
PiperOrigin-RevId: 552482730
1 year ago
Thomas Van Lenten
2b0e9f7787
Invoke the pddm validations via bazel
...
PiperOrigin-RevId: 548687354
1 year ago
Thomas Van Lenten
6c4ab101ce
Move MessageGenerator::GenerateSource over to Printer::Emit
...
There are whatespace changes because I couldn't get some of the
generated CPreProcessor things to line up in the exact same way.
PiperOrigin-RevId: 547188309
1 year ago
Mike Kruskal
3688ddb5b3
Internal changes
...
PiperOrigin-RevId: 544976965
1 year ago
Mike Kruskal
ff0dd3a148
Fix objectivec test failure in Bazel 6+.
...
This fix works in Bazel 5 and 6, but the original `import pddm` only works in Bazel 5. This is preventing our upgrade to Bazel 6 that will reduce our mac flakes in CI.
PiperOrigin-RevId: 543565397
1 year ago
Thomas Van Lenten
2f1938fafe
Update the minimum macos to match cl/537907016
...
PiperOrigin-RevId: 538763399
2 years ago
Protobuf Team Bot
242771ad15
Internal change
...
PiperOrigin-RevId: 537790620
2 years ago
Thomas Van Lenten
e50ee82feb
Change indent the indent to try and stabilize the export/import.
...
Not really sure why things changed and started having this problem, but
cl/536414905 & cl/536708284 just keep swapping this so hopefully changing
the formatting to avoid this going forward.
PiperOrigin-RevId: 537035911
2 years ago
Protobuf Team Bot
d73406a007
Auto-generate files after cl/537029283
2 years ago
Protobuf Team Bot
47f76b7a33
Minor refactor to MapSorter to avoid putting the value_type/mapped_type in the std::sort instantiation.
...
This allows making only a few instantiations of std::sort (one per key type) instead of one for each key-value pair.
PiperOrigin-RevId: 537029283
2 years ago
Protobuf Team Bot
02e071fe0b
Auto-generate files after cl/536936386
2 years ago
Protobuf Team Bot
aa9919d1f8
Internal change
...
PiperOrigin-RevId: 536936386
2 years ago
Protobuf Team Bot
8322f28183
Auto-generate files after cl/536934704
2 years ago
Protobuf Team Bot
917e00e393
Internal change
...
PiperOrigin-RevId: 536934704
2 years ago
Protobuf Team Bot
df3b8feadc
Auto-generate files after cl/536929770
2 years ago
Jie Luo
52dfa4b853
Update file reference for compiler/cpp/file.cc
...
PiperOrigin-RevId: 536929770
2 years ago
Protobuf Team Bot
39f7631f47
Auto-generate files after cl/536859974
2 years ago
Protobuf Team Bot
d8901265c7
Check invalid type_id after casting it to uint32_t.
...
PiperOrigin-RevId: 536859974
2 years ago
Protobuf Team Bot
96c5923601
Auto-generate files after cl/536851491
2 years ago
Mike Kruskal
7971ec7629
Clarify is_packed comments.
...
PiperOrigin-RevId: 536851491
2 years ago
Protobuf Team Bot
d5df25d965
Auto-generate files after cl/536843635
2 years ago
Mike Kruskal
12e0f1d66a
Regenerate amalgamation files
...
PiperOrigin-RevId: 536843635
2 years ago
Protobuf Team Bot
6d282c969b
Auto-generate files after cl/536772539
2 years ago
Protobuf Team Bot
fd3b5e8436
Internal change
...
PiperOrigin-RevId: 536772539
2 years ago
Protobuf Team Bot
55919fb8e0
Auto-generate files after cl/536759444
2 years ago
Protobuf Team Bot
28d47b0e0c
Internal change
...
PiperOrigin-RevId: 536759444
2 years ago
Protobuf Team Bot
71cfdad483
Auto-generate files after cl/536748225
2 years ago
Protobuf Team Bot
a170ac4be1
Internal change
...
PiperOrigin-RevId: 536748225
2 years ago
Protobuf Team Bot
4affcfe3b3
Auto-generate files after cl/536738975
2 years ago
Protobuf Team Bot
9f9d55d393
Internal change
...
PiperOrigin-RevId: 536738975
2 years ago
Protobuf Team Bot
3f765780f2
Auto-generate files after cl/536731565
2 years ago
Protobuf Team Bot
9cedad1f46
Internal change
...
PiperOrigin-RevId: 536731565
2 years ago
Protobuf Team Bot
315ffb5be8
Auto-generate files after cl/536708284
2 years ago
Marcel Hlopko
8f5404ab11
Update golden file
...
PiperOrigin-RevId: 536708284
2 years ago
Protobuf Team Bot
340ebaa15d
Auto-generate files after cl/536700260
2 years ago
Protobuf Team Bot
2280577370
Internal change
...
PiperOrigin-RevId: 536700260
2 years ago
Protobuf Team Bot
f5906ea631
Auto-generate files after cl/536671631
2 years ago
Protobuf Team Bot
55c75b64ab
Internal change
...
PiperOrigin-RevId: 536671631
2 years ago
Protobuf Team Bot
8f95cdf315
Auto-generate files after cl/536621668
2 years ago
Protobuf Team Bot
767ef4dc13
Internal change
...
PiperOrigin-RevId: 536621668
2 years ago
Protobuf Team Bot
b30f3de12f
Auto-generate files after cl/536547302
2 years ago
Protobuf Team Bot
48613d16de
Internal change
...
PiperOrigin-RevId: 536547302
2 years ago
Protobuf Team Bot
a3ca51dbaf
Auto-generate files after PR #12916
2 years ago