Protobuf Team Bot
37b2e3cb43
Internal changes.
...
PiperOrigin-RevId: 625086124
8 months ago
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
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
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
Carlos O'Ryan
4ad5f54fe6
cleanup(cmake): prefer target over global options ( #12916 )
...
In CMake >= 3.0 it is more idiomatic to set per-target compiler options than global compiler settings. I have kept these options and defines as `PRIVATE` so they won't be exported with the target.
Closes #12916
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12916 from coryan:cleanup-cmake-avoid-global-compile-settings 3d586dc0e8
PiperOrigin-RevId: 536517165
2 years ago
Protobuf Team Bot
281c5dc908
Auto-generate files after PR #12919
2 years ago
なつき
6609bea792
Fix jruby encoding in new thread ( #12919 )
...
In jruby `runtime.evalScriptlet('Encoding::UTF_8')` can be broken under a newly created thread, which can cause protobuf encoding to fail. For example: https://github.com/ntkme/sass-embedded-host-ruby/actions/runs/5108602231/jobs/9182569583#step:5:544
It real issue seems to be in jruby itself. A bug report with minimal reproduction has been filed at https://github.com/jruby/jruby/issues/7820
This PR fixes the problem by effectively replacing `runtime.evalScriptlet('Encoding::UTF_8')` with `runtime.getEncodingService().convertEncodingToRubyEncoding(org.jcodings.specific.UTF8Encoding.INSTANCE)`, which works on all threads.
Closes #12919
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12919 from ntkme:fix-jruby-encoding 345680ea91
PiperOrigin-RevId: 536498846
2 years ago
Protobuf Team Bot
79f0575735
Auto-generate files after cl/536496189
2 years ago
Protobuf Team Bot
4b3615c332
Move more methods into MapFieldBase using the type-erased iteration functions.
...
This further reduces code duplication and binary size.
PiperOrigin-RevId: 536496189
2 years ago
Protobuf Team Bot
472e8b40f6
Auto-generate files after cl/536487251
2 years ago
Protobuf Team Bot
252aaba0e0
Internal change
...
PiperOrigin-RevId: 536487251
2 years ago
Protobuf Team Bot
81b432f645
Auto-generate files after cl/536439101
2 years ago
Jie Luo
862a2281ce
Remove AddHelpersToExtenions() in generated code
...
PiperOrigin-RevId: 536439101
2 years ago
Protobuf Team Bot
509ff5815c
Auto-generate files after cl/536414905
2 years ago
Mike Kruskal
dfa5abb1be
Internal changes
...
PiperOrigin-RevId: 536414905
2 years ago