Jiulong Wang
56f0ed68c1
refine per review comments
2 years ago
Jiulong Wang
7e3a2d182e
address review comments
2 years ago
Jiulong Wang
e090fdba28
fix: crash when user app turns on ASAN
...
fixes : #12830
2 years ago
Protobuf Team Bot
1b1a71937a
Refactor repeated cord to have internal_$name$() and simplify $name$_size() definition.
...
PiperOrigin-RevId: 532528210
2 years ago
Protobuf Team Bot
03501ccb49
Auto-generate files after cl/532320438
2 years ago
Matt Kulukundis
1e76cbe0ea
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532320438
2 years ago
Matt Kulukundis
7b23c9bddf
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532314829
2 years ago
Protobuf Team Bot
f746518b73
Auto-generate files after cl/532310958
2 years ago
Matt Kulukundis
11fe379bd9
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532310958
2 years ago
Connor
4c0504a598
Reserve option for proto-telemetry ( #12758 )
...
Hello! I'm looking to reserve an option for a project I'm calling proto-telemetry. It will create open-telemetry compatible functions that add attributes to a span. Once this is accepted I'll update the project to use the reserved option number.
Thanks so much!
Closes #12758
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12758 from clly:proto-telemetry a8b38762d7
PiperOrigin-RevId: 532305028
2 years ago
Mike Kruskal
b4b7403e22
Internal changes
...
PiperOrigin-RevId: 532297611
2 years ago
Protobuf Team Bot
c3f61a6128
internal change
...
PiperOrigin-RevId: 532296497
2 years ago
Matt Kulukundis
235b9e60be
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532287642
2 years ago
Matt Kulukundis
f9174079ba
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532282926
2 years ago
Protobuf Team Bot
759fd91388
Internal change
...
PiperOrigin-RevId: 532274191
2 years ago
Protobuf Team Bot
a1f7a8cd36
Avoid unnecessary string copies.
...
Also, start the lookup on the smallest scope to find missing names faster.
PiperOrigin-RevId: 532259965
2 years ago
Protobuf Team Bot
84234fa091
Auto-generate files after cl/532258101
2 years ago
Mike Kruskal
e15326ba80
Add a workaround for GCC constexpr bug
...
This turns the constexpr constructors into templates to silence errors when constexpr isn't valid. We are also switching to 12.2 for GCC/cmake tests to prevent regressions (9.5 and 13.1 are already tested by GCC/bazel tests).
Fixes #12807
PiperOrigin-RevId: 532258101
2 years ago
Protobuf Team Bot
59a996b077
Auto-generate files after cl/532239931
2 years ago
Protobuf Team Bot
7b7ba2df67
Add `ABSL_ATTRIBUTE_LIFETIME_BOUND` attribute on Map, RepeatedField and RepeatedPtrField.
...
This allows the compiler to statically detect use-after-free bugs.
PiperOrigin-RevId: 532245526
2 years ago
Matt Kulukundis
78ad0933a7
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532239931
2 years ago
Protobuf Team Bot
080ffe8cfc
Auto-generate files after cl/532238128
2 years ago
Matt Kulukundis
25fe4f22b8
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532239009
2 years ago
Matt Kulukundis
bb70d5fb9c
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 532238128
2 years ago
Mike Kruskal
71042619cc
Add a check for minimum supported Abseil version.
...
PiperOrigin-RevId: 532235063
2 years ago
Matt Kulukundis
098f21e8e6
Remove dedicated fast path for required fields in ByteSizeLong.
...
Formerly, they had their own fast path. Now they share the chunked processing of all fields. This makes chunked processing more effective as an optimization and also eliminates replicated code for repeated fields.
PiperOrigin-RevId: 532224517
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
Adam Cozzette
a281c13996
Update any.proto to clarify that there are no known type server implementations
...
PiperOrigin-RevId: 532175274
2 years ago
Mike Kruskal
404ec743ed
Migrate call-sites of ExtensionRangeOption fields.
...
These are being migrated to accessor methods of the new descriptor-like class.
PiperOrigin-RevId: 532169110
2 years ago
Jie Luo
3b8a472d07
Internal change
...
PiperOrigin-RevId: 532155491
2 years ago
Mike Kruskal
fc7454acf8
Internal Code Change
...
PiperOrigin-RevId: 532148865
2 years ago
Protobuf Team Bot
191f4be064
Add semantic annotations for proto field accessors in java
...
PiperOrigin-RevId: 532148589
2 years ago
Protobuf Team Bot
9dd2e26dbb
Auto-generate files after cl/532123324
2 years ago
Chris Kennelly
3f5a6af059
Remove DeleteReturnArena. It can be entirely replaced with Delete.
...
PiperOrigin-RevId: 532123324
2 years ago
Protobuf Team Bot
ab678477cd
Updates supported PHP versions.
...
This update addresses the issue raised in [GitHub Issue #12760 ](https://github.com/protocolbuffers/protobuf/issues/12760 ).
PiperOrigin-RevId: 532116533
2 years ago
Matt Kulukundis
e6adc6d3cd
Move has bit machinations from field to message in prep for switching to emit calls.
...
PiperOrigin-RevId: 531820191
2 years ago
Matt Kulukundis
02d133cd51
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 531819949
2 years ago
Matt Kulukundis
8ccd7661fd
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 531819703
2 years ago
Matt Kulukundis
e4aef7ff21
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 531819518
2 years ago
Matt Kulukundis
99e2340a56
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 531819145
2 years ago
Protobuf Team Bot
5a2926ad7e
Auto-generate files after cl/531814944
2 years ago
Matt Kulukundis
6e55a3f14e
Incremental migration of message.cc to Emit
...
PiperOrigin-RevId: 531814944
2 years ago
Mike Kruskal
17a2d53176
Internal changes
...
PiperOrigin-RevId: 531664397
2 years ago
Mike Kruskal
748579e321
Internal changes
...
PiperOrigin-RevId: 531636411
2 years ago
Mike Kruskal
c01c2e3859
Internal changes
...
PiperOrigin-RevId: 531631350
2 years ago
Mike Kruskal
8234e3ec56
Internal changes
...
PiperOrigin-RevId: 531626077
2 years ago