deannagarcia
21417bf17f
Merge pull request #12667 from protocolbuffers/cmake-fixes-23
...
Cherrypick cmake fixes to 23.x
2 years ago
Mike Kruskal
5f97a7f494
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Mike Kruskal
7714d57c91
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Mike Kruskal
24d3e74ac9
Remove --remote argument in cmake tests.
...
This will prevent non-hermetic breakages from changes to the Abseil release branch we're pinned to.
PiperOrigin-RevId: 529459765
2 years ago
Mike Kruskal
750a6e7d7c
Bump Abseil submodule to 20230125.3 ( #12660 )
...
This partially addresses https://github.com/protocolbuffers/protobuf/issues/12201
Closes #12660
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12660 from mkruskal-google:absl-update ce07c45a10
PiperOrigin-RevId: 529456996
2 years ago
Protobuf Team Bot
6f3c80b1a0
Internal change
...
PiperOrigin-RevId: 529429609
2 years ago
Mike Kruskal
edbee27994
Bump Abseil submodule to 20230125.3 ( #12660 )
...
* Bump Abseil submodule to 20230125.3
* Fix gtest installation setup with submodules
2 years ago
Protobuf Team Bot
e89b2f5251
Internal change
...
PiperOrigin-RevId: 529479630
2 years ago
Protobuf Team Bot
bc94b4b8d0
Use function pointers instead of instance defaults for MSVC. The instance defaults are not constant initialized and are not ready to use during registration.
...
PiperOrigin-RevId: 529471986
2 years ago
Mike Kruskal
5223f56dba
Remove --remote argument in cmake tests.
...
This will prevent non-hermetic breakages from changes to the Abseil release branch we're pinned to.
PiperOrigin-RevId: 529459765
2 years ago
Mike Kruskal
2a3ce31084
Bump Abseil submodule to 20230125.3 ( #12660 )
...
This partially addresses https://github.com/protocolbuffers/protobuf/issues/12201
Closes #12660
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12660 from mkruskal-google:absl-update ce07c45a10
PiperOrigin-RevId: 529456996
2 years ago
Protobuf Team Bot
d9ccc76948
Internal change
...
PiperOrigin-RevId: 529429609
2 years ago
Mike Kruskal
9ee3bf72de
Bump Abseil submodule to 20230125.3 ( #12660 )
...
* Bump Abseil submodule to 20230125.3
* Fix gtest installation setup with submodules
2 years ago
Deanna Garcia
74cea3dda5
Revert "Fix tests"
...
This reverts commit 645336fb8a
.
2 years ago
Deanna Garcia
645336fb8a
Fix tests
2 years ago
Deanna Garcia
000755a8a7
Update UPB dep
2 years ago
Protobuf Team Bot
23e2e6fe02
Auto-generate files after cl/529413361
2 years ago
Matt Kulukundis
a37f628edf
Delete PROTOBUF_NAMESPACE_* macros.
...
These are no longer needed thanks to how our OSS sync works.
PiperOrigin-RevId: 529413361
2 years ago
Marcel Hlopko
2f78ca72eb
Delete unnecessary TODO
...
We don't use todos to remind us that V0 needs to be replaced with V1.
PiperOrigin-RevId: 529377437
2 years ago
Marcel Hlopko
c58067fa70
Enable sanitizers
...
PiperOrigin-RevId: 529371786
2 years ago
Marcel Hlopko
db587750b9
Document the BUILD file setup
...
PiperOrigin-RevId: 529363264
2 years ago
Marcel Hlopko
aa6e8f83bc
Delete unnecessary TODO
...
We don't use todos to remind us that V0 needs to be replaced with V1.
PiperOrigin-RevId: 529349389
2 years ago
Marcel Hlopko
993705bad1
Cleanup references to b/270125787
...
PiperOrigin-RevId: 529347892
2 years ago
Protobuf Team Bot
9d97f983cd
Auto-generate files after cl/529209314
2 years ago
Adam Cozzette
88b5b19c99
Rename `target` field to `target_obsolete_do_not_use`
...
PiperOrigin-RevId: 529209314
2 years ago
deannagarcia
12c835107e
Merge pull request #12652 from deannagarcia/23.x
...
Automated rollback of commit a2c5ea614c
.
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
Matt Kulukundis
126e361e64
make Context::Emit pass SourceLocation
...
PiperOrigin-RevId: 529172439
2 years ago
Protobuf Team Bot
823ba794c5
Auto-generate files after cl/529162319
2 years ago
Jeffrey A. Dean
97c351319f
Shrink code size of generated protocol buffer code via a few
...
changes.
(1) Use PROTOBUF_NOINLINE attributes to avoid inlining of
Clear(), ByteSizeLong() and IsInitialized() routines
within the same .pb.cc file
(2) If the tag number is less than 16 and the type is one of
a handful of common types, call a non-inlined templated
routine specialized for that tag number that handles both
the EnsureSpace call and the encoding of the tag and the
value into the array.
PiperOrigin-RevId: 529162319
2 years ago
Protobuf Team Bot
fdfb95849b
Fix handling of Cord fields in the table-driven parser.
...
PiperOrigin-RevId: 529161871
2 years ago
Patrick Xia
421167dae3
Remove unreferenced file
...
PiperOrigin-RevId: 529161332
2 years ago
deannagarcia
04d31b306c
Merge pull request #12647 from deannagarcia/23.x
...
Update UPB dep for 23.0-rc3
2 years ago
Deanna Garcia
df32e78d45
Update UPB dep
2 years ago
Adam Cozzette
d96032d1a5
Implement option retention for Ruby
...
PiperOrigin-RevId: 529096272
2 years ago
Protobuf Team Bot
7b22c57cef
Make the TcParser tables constexpr.
...
Without it some compilers will not constant initialize the tables and cause
runtime failures during registration. We must be able to parse descriptors
during dynamic initialization.
PiperOrigin-RevId: 529092745
2 years ago
Marcel Hlopko
701e056e2b
Zhuzh up the C++/Rust interop test to demonstrate more uses.
...
Taking over the work done by mcyoung@
PiperOrigin-RevId: 529063108
2 years ago
deannagarcia
e01953476c
Merge pull request #12638 from deannagarcia/23.x
...
Update abseil dependency and reorder dependencies to ensure we use th…
2 years ago
Deanna Garcia
c4731cdfdd
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Adam Cozzette
fb18db76ad
Merge pull request #12635 from acozzette/cherrypick-musttail-23
...
Turn off `clang::musttail` on i386
2 years ago
Adam Cozzette
ba348e2b3b
Add support for option retention in PHP
...
PiperOrigin-RevId: 528842376
2 years ago
Deanna Garcia
99529a2209
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
deannagarcia
9e2941faa4
Merge pull request #12632 from deannagarcia/23.x
...
Cherrypick fixes for 23.0-rc3
2 years ago
Adam Cozzette
b40633ff0b
Turn off `clang::musttail` on i386
...
We found last week that Clang's support for `musttail` on 32-bit Linux does not
seem to work reliably, so let's disable it for now.
PiperOrigin-RevId: 528817403
2 years ago
Deanna Garcia
b36c39236e
Fix bug in _internal_copy_files where the rule would fail in downstream repositories.
...
Taken from https://github.com/protocolbuffers/upb/blob/main/bazel/protobuf.patch#L42
Fixes https://github.com/protocolbuffers/protobuf/issues/12620 .
PiperOrigin-RevId: 528586464
2 years ago
Deanna Garcia
ad2dd26ffc
Mark internal rule manual
2 years ago
Adam Cozzette
47c1998e4e
Turn off `clang::musttail` on i386
...
We found last week that Clang's support for `musttail` on 32-bit Linux does not
seem to work reliably, so let's disable it for now.
PiperOrigin-RevId: 528817403
2 years ago
Adam Cozzette
0eab7ed869
Internal change
...
PiperOrigin-RevId: 528800673
2 years ago
Carlos O'Ryan
b1ae4fa87a
fix(libprotoc): export useful symbols from .so ( #12619 )
...
Part of the work for #12618
Closes #12619
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12619 from coryan:fix-export-libprotoc-symbols 44b4bcc9e0
PiperOrigin-RevId: 528674319
2 years ago