Jie Luo
f36a5c6674
Internal change
...
PiperOrigin-RevId: 534622899
2 years ago
Protobuf Team Bot
1a3ccf9869
Auto-generate files after cl/534606377
2 years ago
Protobuf Team Bot
3f21ad53a5
Internal change
...
PiperOrigin-RevId: 534606377
2 years ago
Protobuf Team Bot
1cd81cf271
Auto-generate files after cl/534579685
2 years ago
Protobuf Team Bot
790712a828
Internal change
...
PiperOrigin-RevId: 534579685
2 years ago
Protobuf Team Bot
ac23edce09
Auto-generate files after cl/534570019
2 years ago
Protobuf Team Bot
7cdd9f5113
Internal change
...
PiperOrigin-RevId: 534570019
2 years ago
Protobuf Team Bot
3492dc92c5
Auto-generate files after cl/534562415
2 years ago
Protobuf Team Bot
d3793f737f
Internal change
...
PiperOrigin-RevId: 534562415
2 years ago
Protobuf Team Bot
a3d16d8645
Auto-generate files after cl/534555826
2 years ago
Protobuf Team Bot
4884ca9842
Internal change
...
PiperOrigin-RevId: 534555826
2 years ago
Protobuf Team Bot
d9a223ad94
Auto-generate files after cl/534549318
2 years ago
Mike Kruskal
5866e4575c
Add assertions to reflection methods.
...
This will ensure that the message is the appropriate type. Failing to pass this check can lead to UB and crashes.
PiperOrigin-RevId: 534549318
2 years ago
Protobuf Team Bot
2829eb4a76
Auto-generate files after cl/534544112
2 years ago
Protobuf Team Bot
d771142d92
Internal change
...
PiperOrigin-RevId: 534544112
2 years ago
Protobuf Team Bot
a519958718
Auto-generate files after cl/534514738
2 years ago
Protobuf Team Bot
20604b4abb
Internal change
...
PiperOrigin-RevId: 534504811
2 years ago
Protobuf Team Bot
4a37865204
Auto-generate files after cl/534502236
2 years ago
Protobuf Team Bot
8a18315b55
Internal change
...
PiperOrigin-RevId: 534502236
2 years ago
Protobuf Team Bot
7b151d5fc0
Auto-generate files after cl/534474530
2 years ago
Protobuf Team Bot
288b23658e
Internal change
...
PiperOrigin-RevId: 534474530
2 years ago
Protobuf Team Bot
b2c43464d6
Auto-generate files after cl/534454119
2 years ago
Protobuf Team Bot
ee8d52eaa7
Reduce stack usage of MessageDifferencer recursion by almost half:
...
- Stop using FixedArray. Memory allocators have improved since then, so the wins are smaller.
- Prevent allocating SpecificField object in the stack. It is 96 bytes and stays in the stack frame even if used temporarily in the function.
PiperOrigin-RevId: 534454119
2 years ago
Protobuf Team Bot
f215e21f8f
Auto-generate files after cl/534443479
2 years ago
Protobuf Team Bot
6c8a511d9e
Internal change
...
PiperOrigin-RevId: 534443479
2 years ago
Protobuf Team Bot
06e232dcd8
Auto-generate files after cl/534226922
2 years ago
Mike Kruskal
9657172749
Use composer action for dependency caching.
...
This will reduce the flakes we've seen in PHP tests.
PiperOrigin-RevId: 534226922
2 years ago
Protobuf Team Bot
03c49f355d
Auto-generate files after cl/534168300
2 years ago
Protobuf Team Bot
a6d895988d
Automated rollback of commit b55b834d5a
.
...
PiperOrigin-RevId: 534168300
2 years ago
Protobuf Team Bot
d5d7654efe
Auto-generate files after cl/534135404
2 years ago
Protobuf Team Bot
2be574946a
Internal change
...
PiperOrigin-RevId: 534135404
2 years ago
Protobuf Team Bot
ce018ab715
Auto-generate files after PR #12831
2 years ago
Matt Kulukundis
ded8f486c7
fix: keep same ABI in asan and non-asan builds ( #12831 )
...
fixes : #12830
Closes #12831
PiperOrigin-RevId: 534121876
2 years ago
James Newton-King
cfb702a078
[C#] Replace regex that validates descriptor names ( #12174 )
...
This PR replaces the descriptor name validation regex with a validation method. This change allows the `System.Text.RegularExpressions` engine to be trimmed away in published apps that do standard protobuf serialization.
There are some other usages of `Regex` in Google.Protobuf, but they in `JsonParser`. They are only included in a published app if `JsonParser` is used.
Another benefit is a slightly faster app startup time. The removed regex was compiled, which has a high-ish fixed cost.
cc @jskeet @jtattermusch
Closes #12174
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12174 from JamesNK:jamesnk/remove-regex 9d065a3a71
PiperOrigin-RevId: 532210203
2 years ago
Protobuf Team Bot
7137592a64
Automated rollback of changelist 532141868.
...
PiperOrigin-RevId: 532208208
2 years ago
Protobuf Team Bot
f35f5a370a
Auto-generate files after cl/532204580
2 years ago
Protobuf Team Bot
183521a072
Add semantic annotations for field accessors in java proto lite
...
PiperOrigin-RevId: 532204580
2 years ago
Protobuf Team Bot
d33b00bdaa
Auto-generate files after cl/532175274
2 years ago
Thomas Van Lenten
5ded06d9ab
Automated rollback of commit a2c5ea614c
.
...
PiperOrigin-RevId: 529185812
2 years ago
Thomas Van Lenten
17ee68a55f
Automated rollback of commit a2c5ea614c
.
...
PiperOrigin-RevId: 529185812
2 years ago
Deanna Garcia
ad2dd26ffc
Mark internal rule manual
2 years ago
Deanna Garcia
f8a51421c7
Add manual tag to //objectivec:gen_wkt_sources since it should only be run internally by regenerate_stale_files.sh
...
Fixes https://github.com/protocolbuffers/protobuf/issues/12609
PiperOrigin-RevId: 528535687
2 years ago
Mike Kruskal
0549e52188
Internal Code Change
...
PiperOrigin-RevId: 519775744
2 years ago
Adam Cozzette
b81c127e94
Undo the external contributions we have accepted to the well-known types
...
For legal reasons we unfortunately cannot accept any external contributions to
the well-known type protos, so this change reverts the small number of changes
we have received so far.
PiperOrigin-RevId: 517211904
2 years ago
Protobuf Team Bot
5ba8730342
Fix syntax error in enum docs
...
PiperOrigin-RevId: 516195446
2 years ago
Mike Kruskal
4a2f566ff0
Expand google.protobuf.Type handling to cover editions.
...
PiperOrigin-RevId: 514783686
2 years ago
Protobuf Team Bot
9ef627938a
Internal change
...
PiperOrigin-RevId: 512105133
2 years ago
Thomas Van Lenten
4bffbfa04a
Internal change
...
PiperOrigin-RevId: 512095262
2 years ago
Protobuf Team Bot
6a5467ada7
Auto-generate files after cl/512093266
2 years ago
Mike Kruskal
d6dc0dc260
Internal changes
...
PiperOrigin-RevId: 512093266
2 years ago