Dennis Shao
a11fa4529f
Merge pull request #10059 from shaod2/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
Adam Cozzette
7f02c3b16b
Fix continuous aarch64 builds ( #10067 )
...
Some of the continuous aarch64 builds started failing yesterday because
the autotools -> CMake change caused the protoc binary to end up in an
unexpected location. This change fixes the problem by putting a symlink
in the src/ directory.
3 years ago
David L. Jones
ceaae1b6a3
[Bazel] Add back a filegroup for :well_known_protos. ( #10061 )
...
This was removed in #9915 , since it is misleadingly named (the set of sources is "well known," but not the same as the Well-Known Types).
3 years ago
Dennis Shao
0e8b241eb4
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
Dennis Shao
6dd8af4ecf
Sync from Piper @451217119
...
PROTOBUF_SYNC_PIPER
3 years ago
mkruskal-google
f2e06fe042
Migrate linux-aarch64 tests away from autotools ( #10015 )
...
Autotools support is being deprecated, so this moves some of our kokoro tests to cmake
3 years ago
David L. Jones
0e42bf9f58
[Bazel/C++] Split apart protobuf_test rule ( #10039 )
...
This splits the `protobuf_test` target into several other test targets, and adds `lite_unittest` and `lite_arena_unittest`, which were missing previously.
[Side note:] I did a pass over the new tests to thin their dependencies, and also split out `lite_test_util` from the existing `test_util` target. I have left the `protobuf_test` target in place (but empty) for now... it is almost certainly safe to remove, but that can be done in a follow-up to reduce risk from this commit.
3 years ago
David L. Jones
34d749df72
Fix headers for protobuf and protobuf_lite so they are the proper lists of files, not just globs. ( #10031 )
...
This change makes the headers into actual lists of files, rather than globs. These lists are based on the current cmake definitions.
3 years ago
cjtallman
043ee2e4e6
Adding a DEPENDENCIES option to the protobuf_generate cmake function ( #10014 )
3 years ago
deannagarcia
6641a420ff
Merge pull request #10024 from Niranjan-B/add-header-search-paths
...
Add header search paths to protobuf-c++ spec
3 years ago
Adam Cozzette
5e7b709564
Revert "Various fixups to warnings flags ( #9344 )" ( #10037 )
...
This reverts commit 448d421250
.
Unfortunately we have to revert this because we're finding that it
introduces too much new build log spam for existing proto files that are
out of compliance with the warnings. We might be able to roll it forward
again if we can figure out a way to do so without so many new log
messages.
3 years ago
David L. Jones
586b72c1ac
[Bazel/C++] Augment `cc_dist_library` to generate lists of source files ( #10026 )
...
This change largely moves internal logic that creates the the `CcFileList` provider from `build_systems.bzl` to `cc_dist_library.bzl`.
There are also some associated changes to the particular `cc_dist_library` targets, since the output didn't really make sense after previous BUILD.bazel refactoring. There is also a target now for `libprotoc`.
3 years ago
Niranjan Bhaskar
a5a71fbbdf
Add header search paths to protobuf-c++ spec
3 years ago
David L. Jones
bbcc459aa0
[Kokoro/Bazel] Send Bazel build results to BES. ( #10008 )
...
This change adds bazel_wrapper.sh, which uses values set by Kokoro to log remotely.
3 years ago
David L. Jones
e5e8378a62
[Bazel] Make the protobuf workspace (nearly) wildcard-buildable. ( #10010 )
...
- Add back benchmarks/datasets/BUILD.bazel to dist archive
- Change dist/build_systems.bzl to be compatible with Bazel 4.0.0.
After this, most builds can use //..., with one exception: non-Mac environments must also exclude objectivec:
`bazel build -- //... -//objectivec/...`
3 years ago
deannagarcia
599b08ab1c
Merge pull request #10018 from protocolbuffers/main-202205201724
...
Merge 21.x into Main
3 years ago
Deanna Garcia
38f0bd4d15
Fix bazel builds
3 years ago
David L. Jones
bb27447f42
[Bazel] Use pyenv to select Python 3.9.5 on our linux/bazel builds. ( #10009 )
...
We still need to use python2 when running autotools.
3 years ago
Deanna Garcia
cdfd60f63d
Fix podspec errors
3 years ago
Deanna Garcia
1407efb39f
Fix merge conflict
3 years ago
Deanna Garcia
da481978af
Merge 21.x back to main
3 years ago
deannagarcia
6673c7c48f
Merge pull request #10006 from protocolbuffers/21.x-202205200038
...
Update version.json to: 21.0-dev
3 years ago
Chan Wen Xu
30f6c7851b
Add protoc-gen-xo to global extension registry ( #9997 )
3 years ago
David L. Jones
450d24ca82
Merge pull request #10005 from dlj-NaN/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
Deanna Garcia
ecaeadeced
Update version.json to: 21.0-dev
3 years ago
David L. Jones
42ff77e55f
Restore erroneous changes to Makefile.am.
3 years ago
David L. Jones
053f698e90
Adjust constexpr qualifiers so they work in gcc < 4.9.
3 years ago
David L. Jones
7f2368933a
Re-generate csharp and php golden proto files after changes to descriptor.proto.
3 years ago
David L. Jones
d0a4dc7661
Update CHANGES.txt.
3 years ago
David L. Jones
3740e6fa68
Sync from Piper @449836334
...
PROTOBUF_SYNC_PIPER
3 years ago
David L. Jones
d87d99d931
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
David L. Jones
cd5cc37624
Fix some style/lint issues. ( #10003 )
...
- Starlark: ensure docstrings are present.
- python/setup.py: https://refex.readthedocs.io/en/latest/guide/fixers/superfluous_parens.html
3 years ago
Deanna Garcia
71271ad1f8
Edit changelog
3 years ago
Protobuf Team Bot
1fa42c4be4
Updating version.json and repo version numbers to: 21.0-rc2
3 years ago
deannagarcia
d031130582
Merge pull request #10000 from jskeet/21.x
...
Cherry-pick PR #9981 into 21.x branch
3 years ago
Joshua Haberman
bf771eb540
Merge pull request #9996 from haberman/cherry-pick-php-segv-fix
...
Fixed PHP SEGV by not writing to shared memory for zend_class_entry.
3 years ago
Jan Tattermusch
70afbd3c8d
regenerate C# protos
3 years ago
James Newton-King
9806b0f57b
Suppress CS8981 in generated source
3 years ago
Joshua Haberman
a04d00312f
Fixed PHP SEGV by not writing to shared memory for zend_class_entry.
3 years ago
Joshua Haberman
fd3b5a36ab
Merge pull request #9995 from haberman/php-segv-fix
...
Fixed PHP SEGV by not writing to shared memory for zend_class_entry.
3 years ago
Joshua Haberman
8a46882bf0
Brought the comment up to date.
3 years ago
Joshua Haberman
65a2a52df3
Fixed PHP SEGV by not writing to shared memory for zend_class_entry.
3 years ago
David L. Jones
171a6b1155
[Bazel/C++] Move core C++ implementation to //src/google/protobuf package. ( #9988 )
...
This is somewhat of a rough cut, since it doesn't split apart the lite and full targets, or unit tests. However, it does split sources under src/google/protobuf into a separate package, which is a fairly impactful change.
3 years ago
Jan Tattermusch
d2292fc5f6
regenerate C# protos
3 years ago
James Newton-King
40e82cbd2a
Suppress CS8981 in generated source
3 years ago
David L. Jones
07303d6f54
[Bazel/C++] Factor out util library ( #9987 )
...
This change creates new Bazel packages for the C++ util libraries (similar to #9980 and #9985 ).
3 years ago
Joshua Haberman
fe3d67cb8e
Merge pull request #9986 from haberman/update-upb3
...
Updated upb, which will give a better error message if generated code is out of date
3 years ago
David L. Jones
cbd1adc6cf
[Bazel/C++] Factor out compiler packages. ( #9985 )
...
This change adds packages for protoc sources under src/google/protobuf/compiler (this is similar to what was done in #9980 ).
3 years ago
Joshua Haberman
364852e829
Throw a more helpful error if generated code is out of date, and fixed two reference leaks.
3 years ago
David L. Jones
f868799366
Use cc_dist_library targets for macos release libprotobuf. ( #9966 )
3 years ago