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
Joshua Haberman
8984184e54
Revert "fix: reserve "ReadOnly" keyword for PHP 8.1 and add compatibility ( #9633 )"
...
This reverts commit eb27c201f1
.
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
Joshua Haberman
0b2cee6486
Merge pull request #10025 from haberman/fix-windows-protoc
...
Fixed the Windows build of protoc by statically linking deps.
3 years ago
Joshua Haberman
2dc7679cc1
Fixed the Windows build of protoc by statically linking deps.
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
6d2827b377
Merge pull request #10019 from deannagarcia/fixCocoapods
...
Fix podspecs
3 years ago
deannagarcia
599b08ab1c
Merge pull request #10018 from protocolbuffers/main-202205201724
...
Merge 21.x into Main
3 years ago
Deanna Garcia
942cec077a
Fix podspecs
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
deannagarcia
22067bf523
Merge pull request #9979 from deannagarcia/fixProtocRelease
...
Fix protoc_release target
3 years ago
David L. Jones
c2c770e7ea
[Bazel/C++] Factor out stubs, io, and testing libraries. ( #9980 )
...
This change creates packages under src/google/protobuf/{io,stubs,testing} and moves build definitions there. Future changes will handle .../util and .../compiler, and finally src/google/protobuf.
3 years ago
zhangskz
e235147407
Delete legacy update_version.py script, which is replaced with internal update_versions library ( #9983 )
3 years ago
David L. Jones
b3199d62be
[Python] Handle user-provided `--link-objects` and `--library-dirs`. ( #9968 )
...
If the user provides a `--link-objects` (or `-O`) flag that looks like it points to libprotobuf, use that for static linking instead of using the hard-coded path `../src/.libs/libprotobuf.a`. (Also, if we see such a flag, assume they want to link it statically, even if they don't provide `--compile_static_extension`.)
Similarly, if they provide a `--library-dirs=` (or `-L`), assume that is the location to search, and don't add the hard-coded path `../src/.libs`.
3 years ago
David L. Jones
4e5b920625
[Bazel/macOS] Use the constructed environment when running libtool. ( #9965 )
...
This fixes errors like: `SDKROOT: unbound variable` when building a cc_dist_library rule.
3 years ago