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
Protobuf Team Bot
41502316e2
Auto-generate files after cl/536393161
2 years ago
Protobuf Team Bot
d768bdff25
Internal change
...
PiperOrigin-RevId: 536393161
2 years ago
Protobuf Team Bot
b75eb9c5c9
Auto-generate files after cl/536333112
2 years ago
Protobuf Team Bot
ca1a98018e
Internal change
...
PiperOrigin-RevId: 536333112
2 years ago
Protobuf Team Bot
76243520fa
Auto-generate files after cl/536314287
2 years ago
Protobuf Team Bot
48b67e2ad6
Internal change
...
PiperOrigin-RevId: 536314287
2 years ago
Protobuf Team Bot
680849ca8c
Auto-generate files after cl/535782238
2 years ago
Sandy Zhang
ad07adbd65
Update Java lite MessageInfo encoding to store ProtoSyntax enum instead of boolean and set/check bit for enum closeness.
...
This updates kMapWithProto2EnumValue -> kLegacyEnumIsClosedBit s.t. this bit now indicates closedness for enum fields as well, not just maps with enum values.
PiperOrigin-RevId: 535782238
2 years ago
Protobuf Team Bot
13c06cbb54
Auto-generate files after cl/535741022
2 years ago
Mike Kruskal
504788eba1
Internal changes
...
PiperOrigin-RevId: 535741022
2 years ago
Protobuf Team Bot
3185c2fa0b
Auto-generate files after cl/535728592
2 years ago
Adam Cozzette
edcfedfc92
Update retention logic to remove empty options messages
...
This way the retention stripping will not leave empty options messages lying
around.
PiperOrigin-RevId: 535728592
2 years ago
Protobuf Team Bot
044162e910
Auto-generate files after cl/535722419
2 years ago
Protobuf Team Bot
b93d55de61
Internal change
...
PiperOrigin-RevId: 535722419
2 years ago
Protobuf Team Bot
03977061d9
Auto-generate files after cl/535650747
2 years ago
Protobuf Team Bot
89500f8e43
Internal change
...
PiperOrigin-RevId: 535650747
2 years ago