Jensaarai
5095b68183
Code Review Feedback
...
* Move additional `ReadOnlySpan<byte>` `ParseContext` overloads next to
the existing overload
* Pass `ReadOnlySpan<byte>` parameters by `ref`
* Update `MessageParsingHelpers` to add checks for parsing from
`ReadOnlySpan<byte>`, remove tests from `CodedInputStreamTest`
4 years ago
Kenneth Lum
952cf14442
fix typo ( #8548 )
4 years ago
Joshua Haberman
67044a2820
Reinstate the Python change that was somehow reverted in the sync.
4 years ago
Joshua Haberman
d99a67e893
Updated changelog.
4 years ago
Joshua Haberman
535ddf1c4f
Merge tag 'refs/tags/sync-piper' into sync-stage
4 years ago
Joshua Haberman
f5fd897c1d
Sync from Piper @371422642
...
PROTOBUF_SYNC_PIPER
4 years ago
Jan Tattermusch
5e84a6169c
Merge pull request #8544 from jtattermusch/test_javascript_aarch64
...
Test javascript on linux aarch64 (under qemu emulator)
4 years ago
Jan Tattermusch
f3411a29da
node tests require java to be available
4 years ago
Jan Tattermusch
37ba0bcfa2
Merge pull request #8391 from jtattermusch/cpp_aarch64_emulated_tests
...
run basic C++ aarch64 tests under qemu emulator
4 years ago
Jan Tattermusch
36243917c1
add testing jobs for javascript_aarch64
4 years ago
Jan Tattermusch
7124f2893d
add testing scripts for protobuf javascript on aarch64 qemu emulator
4 years ago
Yuriy Chernyshov
a48e005d51
Fix -Wundefined-inline error when using SharedCtor() or SharedDtor() ( #8532 )
4 years ago
Dennis Shao
8424042534
Update kokoro/docs/publish-python.sh
...
Update kokoro/docs/publish-python.sh to use the latest version of protoc and python.
This will make [the python doc-publishing job](https://fusion.corp.google.com/projectanalysis/summary/KOKORO/prod:cloud-devrel%2Fclient-libraries%2Fprotobuf%2Fdocs%2Fpython ) pass again.
4 years ago
Jan Tattermusch
2a11e892ed
Merge pull request #8530 from jtattermusch/python_aarch64_manylinux_release
...
Start publishing python aarch64 manylinux wheels normally
4 years ago
Jan Tattermusch
0d60cc5df6
Merge pull request #8534 from jtattermusch/test_csharp_aarch_typo
...
Fix C# aarch64 tests (fix typo in test_csharp_aarch64.sh)
4 years ago
Jan Tattermusch
1834e8cb4d
fix typo in test_csharp_aarch64.sh
4 years ago
Jan Tattermusch
4536154a8a
Merge pull request #8495 from jtattermusch/run_ruby_aarch64_test
...
Run ruby aarch64 tests on the CI (with an emulator)
4 years ago
Jan Tattermusch
78a8d67f87
Merge pull request #8485 from jtattermusch/run_java_aarch64_test
...
Run java aarch64 tests on the CI (with an emulator)
4 years ago
Jan Tattermusch
771220e0db
Merge pull request #8501 from jtattermusch/run_csharp_aarch64_test
...
Run csharp aarch64 tests on the CI (with an emulator)
4 years ago
Jan Tattermusch
0a2ddaebc9
start publishing python aarch64 manylinux wheels normally
4 years ago
Roy Williams
7ad0fd4ed7
Make libprotobuf symbols local on OSX ( #8346 )
...
@gnossen gave a great overview in https://github.com/grpc/grpc/pull/24992 of the overall problem.
If a python process using both protobuf _and_ another native library linking in libprotobuf
frequently can cause crashes. This seems to frequently affect tensorflow as well:
tensorflow/tensorflow#8394 ,
tensorflow/tensorflow#9525 (comment)
tensorflow/tensorflow#24976 ,
tensorflow/tensorflow#35573 ,
https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/contrib/makefile/rename_protobuf.sh ,
tensorflow/tensorflow#16104
Testing locally this fixes both crashes when linking in multiple versions of protobuf
and fixes `DescriptorPool` clashes as well (e.g. Python and Native code import different versions of the same message).
4 years ago
Jan Tattermusch
b2c71571b3
add kokoro configs for csharp aarch64
4 years ago
Jan Tattermusch
47f6283e7f
run csharp tests under aarch64 emulator
4 years ago
Jan Tattermusch
7c876925c7
add kokoro configs for ruby aarch64
4 years ago
Jan Tattermusch
e0267f6c0e
run ruby tests under aarch64 emulator
4 years ago
Jan Tattermusch
4342e417a5
add protoc_crosscompile_aarch64.sh (same as for java aarch64 tests)
4 years ago
Jan Tattermusch
b284beecc2
add kokoro job config to test java aarch64
4 years ago
Jan Tattermusch
4939dd91fe
allow running emulated java aarch64 tests
4 years ago
Jan Tattermusch
7956ad20d6
Merge pull request #8479 from jtattermusch/run_python_aarch64_tests
...
Run python aarch64 tests on the CI
4 years ago
Derek Perez
87d140f851
rely on only HTTPS mirrors for maven. ( #8526 )
4 years ago
Derek Perez
61689226c0
updating GSON and Guava to more recent versions ( #8524 )
4 years ago
Derek Perez
bbd6999c76
add missing files to Makefile.am for java bazel ( #8522 )
4 years ago
Derek Perez
db8f725190
ensure maven deps are pinned for reproducibility. ( #8523 )
...
* ensure maven deps are pinned for reproducibility.
* adding update docs.
4 years ago
Yuriy Chernyshov
f8e2efbf43
Fix some -Wsign-compare issues ( #8516 )
...
* Fix some -Wsign-compare issues
* Shorten variable name
4 years ago
deannagarcia
76188afb94
Merge pull request #8272 from deannagarcia/kotlinProtos
...
Opensourcing kotlin protos
4 years ago
Jiamin Shen
0fd835893f
Fix protobuf version in the example ( #8509 )
...
The version variable should be `protobuf_VERSION` in `CMakeLists.txt`.
4 years ago
Adam Cozzette
4aa425c6c5
Cherry-pick #8356 into 3.16.x ( #8518 )
...
* Ruby: Add support for proto3 json_name in compiler and field definitions
* Address review feedback
* Add test for json_name functionality
Co-authored-by: Lukas Fittl <lukas@fittl.com>
4 years ago
Derek Perez
bc45f92262
Bazel powered Java testing ( #8506 )
...
* Protobuf Java/Core Tests running w/ Bazel.
Also integrates rules_jvm_external and migrates existing maven deps
in place.
* Add test_suite target that maps to rule name.
* Lite tests passing in Bazel
* util tests passing with Bazel.
* Add conformance and build testing to //java:core
* Cleanup bzl style and lock down access to failure lists.
* Adding Java Lite conformance tests.
* rm newline
* parameterize conformance_test
This makes usage of failure lists more explicit.
* restrict visibility more for newly added libs and fix formatting.
* fix formatting and visibility.
* move testing.bzl to an internal package.
* fix file formatting.
* moving conformance_test to internal.bzl
4 years ago
Joshua Haberman
fecf7e9340
Merge pull request #8356 from lfittl/support-json-name-for-ruby
...
Ruby: Add support for proto3 json_name in compiler and field definitions
4 years ago
Yuriy Chernyshov
b6426256fb
Fix some -Wunused parameter issues ( #8517 )
4 years ago
Derek Perez
d1b2eff440
Cleanup kokoro usages of java_compatibility and eliminate java/compatibility_tests. ( #8504 )
4 years ago
Dan Kortschak
32af37aa38
Make Go example work out of the box ( #8486 )
4 years ago
Yuriy Chernyshov
c784b65b2a
Remove unused python_protobuf.{cc,h} ( #8513 )
...
* Remove unused python_protobuf.{cc,h} #8513
* Fix automake input
4 years ago
Sahin Yort
29152fbc06
Update third_party.md ( #8511 )
...
* Update third_party.md
add https://github.com/thesayyn/protoc-gen-ts as a community maintained protoc typescript compiler.
* sort
4 years ago
Yuriy Chernyshov
f763a2a860
Use byteswap.h when building against musl libc ( #8503 )
4 years ago
Yuriy Chernyshov
0f25590028
Fix -Wunused-parameter in map<string, int> fields ( fixes #8494 ) ( #8500 )
...
* Fix -Wunused-parameter in map<string, int> fields
* Fix tabs
4 years ago
Derek Perez
8babb3bae7
Merge pull request #8505 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
4 years ago
Joshua Haberman
e22b4baaca
Updated changelog.
4 years ago
Joshua Haberman
a6dd69517a
Merge tag 'refs/tags/sync-piper' into sync-stage
4 years ago
Joshua Haberman
b7285b6c69
Sync from Piper @368903491
...
PROTOBUF_SYNC_PIPER
4 years ago