Mike Kruskal
d15e15df55
Merge pull request #12918 from coryan/chore-deps-update-utf8-range
...
chore(deps): update utf8_range
2 years ago
Protobuf Team Bot
3185c2fa0b
Auto-generate files after cl/535728592
2 years ago
Carlos O'Ryan
f2d99477a0
Merge commit '4b414d60eeaa00f6fbbbdb2f937b26601e903ee9' into chore-deps-update-utf8-range
2 years ago
Carlos O'Ryan
4b414d60ee
Squashed 'third_party/utf8_range/' changes from 72c943dea..d863bc33e
...
d863bc33e cleanup: avoid "unused function" errors in OSS land
f4948c4f2 internal change
cd1507d14 Fix typo in pkg-config file to properly link the utf8_range libraries
3f179d134 Add pkg-config file declaring Abseil dependency of utf8_range
git-subtree-dir: third_party/utf8_range
git-subtree-split: d863bc33e15cba6d873c878dcca9e6fe52b2f8cb
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
Protobuf Team Bot
e02f781415
Auto-generate files after PR #12903
2 years ago
Carlos O'Ryan
9c479e8599
feat: workaround for `DOMAIN` macro ( #12903 )
...
This is a macro on some (older) versions of GCC, and macOS, and Windows. Sigh. I moved the `#undef` block to a common section. I also took the opportunity to add a regression test for all these macros that need to be `#undef`'d.
Part of the work for googleapis/google-cloud-cpp#8125
Closes #12903
PiperOrigin-RevId: 535649278
2 years ago
Protobuf Team Bot
8ef9357f3a
Auto-generate files after cl/535637656
2 years ago
Protobuf Team Bot
624e27f49c
Internal change
...
PiperOrigin-RevId: 535637656
2 years ago
Protobuf Team Bot
df0790b778
Auto-generate files after cl/535582084
2 years ago
Protobuf Team Bot
f51583fa4d
Internal change
...
PiperOrigin-RevId: 535582084
2 years ago
Protobuf Team Bot
10abec9c69
Auto-generate files after PR #12901
2 years ago
Carlos O'Ryan
13a1a3effe
feat(cmake): require at least C++14 ( #12901 )
...
This will require C++14 (or higher) for the `libproto*` targets **and** anything that links them. If multiple dependencies have different C++ requirements, CMake will use the maximum version. It does not work with pkg-config, and does not work if the downstream dependency forcibly downgrades the compiler to C++11 (or lower). But prevents many problems. Note that if Abseil was compiled with C++17 it will require C++17 and that will propagate through Protobuf.
Closes #12901
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12901 from coryan:feat-cmake-use-target-compile-features 95084ac691
PiperOrigin-RevId: 535579816
2 years ago
Protobuf Team Bot
59c8e0cc5d
Auto-generate files after cl/535488676
2 years ago
Protobuf Team Bot
67c69b9a5c
Internal change
...
PiperOrigin-RevId: 535488676
2 years ago
Protobuf Team Bot
8d78b4b7b0
Auto-generate files after cl/535404403
2 years ago
Protobuf Team Bot
2477993637
Internal change
...
PiperOrigin-RevId: 535404403
2 years ago
Protobuf Team Bot
216aa5cdbc
Auto-generate files after cl/535397851
2 years ago
Protobuf Team Bot
066a9d0bae
internal change
...
PiperOrigin-RevId: 535397851
2 years ago
Protobuf Team Bot
2ac26b9e06
Auto-generate files after cl/535371638
2 years ago
Protobuf Team Bot
b7a2984c4e
Internal change
...
PiperOrigin-RevId: 535371638
2 years ago
Protobuf Team Bot
e255630c02
Auto-generate files after cl/535359088
2 years ago
Joshua Haberman
b2a520f693
Respect NDEBUG for asserts even though Ruby 3+ pollutes it.
...
Prior to this CL, asserts have no effect for Ruby 3+, because Ruby unconditionally defines `NDEBUG`: https://bugs.ruby-lang.org/issues/18777
We work around this by doing `#undef NDEBUG` right after including Ruby, if `NDEBUG` was not previously defined.
PiperOrigin-RevId: 535359088
2 years ago
Protobuf Team Bot
5101674194
Auto-generate files after cl/535351694
2 years ago
Mike Kruskal
eb5e9e01d9
Strengthen assertions on reflection methods.
...
This will ensure that the message is using the correct reflection object, rather than just the correct descriptor. This distinction only matters with dynamic messages, where multiple reflection objects can exist for the same descriptor.
Failing to pass this check can lead to UB and crashes.
PiperOrigin-RevId: 535351694
2 years ago
Protobuf Team Bot
65d987f802
Internal change
...
PiperOrigin-RevId: 535309339
2 years ago
Protobuf Team Bot
e93f01f0ad
Auto-generate files after cl/535306235
2 years ago
Mike Kruskal
d9de48ab3b
Automated rollback of commit 4d76f12a82
.
...
PiperOrigin-RevId: 535306235
2 years ago
Protobuf Team Bot
4d2babaf54
Auto-generate files after PR #12883
2 years ago
Jean byroot Boussier
263cb0a543
Ruby: Implement write barrier for DescriptorPool ( #12883 )
...
Followup: https://github.com/protocolbuffers/protobuf/pull/11793
Closes #12883
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12883 from casperisfine:ruby-missing-write-barrier 990e4fd3ec
PiperOrigin-RevId: 535281041
2 years ago
Protobuf Team Bot
12367320ef
Auto-generate files after cl/535091995
2 years ago
Protobuf Team Bot
f10f2a78e2
Internal change
...
PiperOrigin-RevId: 535091995
2 years ago
Protobuf Team Bot
8b67926255
Auto-generate files after cl/535068279
2 years ago
Protobuf Team Bot
ec2a10f67d
Internal change
...
PiperOrigin-RevId: 535068279
2 years ago
Protobuf Team Bot
7bfcdb8ffd
Auto-generate files after cl/535056816
2 years ago
Protobuf Team Bot
de93bf8a0c
Internal change
...
PiperOrigin-RevId: 535056816
2 years ago
Protobuf Team Bot
0cc00c28a4
Auto-generate files after cl/535005976
2 years ago
Protobuf Team Bot
036d17d5ea
Internal change
...
PiperOrigin-RevId: 535005976
2 years ago
Protobuf Team Bot
755f572a6b
Auto-generate files after cl/534993927
2 years ago
Protobuf Team Bot
52cbee583f
Internal change
...
PiperOrigin-RevId: 534993927
2 years ago
Protobuf Team Bot
2e9c127212
Auto-generate files after cl/534977342
2 years ago
Protobuf Team Bot
36715c8879
Internal change
...
PiperOrigin-RevId: 534977342
2 years ago
Protobuf Team Bot
96ef3c8843
Auto-generate files after cl/534969704
2 years ago
Protobuf Team Bot
5299afa505
Internal Change
...
PiperOrigin-RevId: 534969748
2 years ago
Protobuf Team Bot
503d6914d5
Internal change
...
PiperOrigin-RevId: 534969704
2 years ago
Protobuf Team Bot
1cb4c3ca0a
Auto-generate files after cl/534968948
2 years ago