Commit Graph

6079 Commits

Author SHA1 Message Date
Feng Xiao
bc2364c613
Merge pull request #4956 from mkosieradzki/patch-1
Added support for Visual Studio 2017 in gitignore
2018-07-23 13:35:41 -07:00
Arun Olappamanna Vasudevan
c7e0e262a6 pyext needs c++11 in linux and mac. (#4930) 2018-07-23 13:35:15 -07:00
Timothy Younger
5134f1a340 Update Composer config in PHP module (#3829)
* Prevents installation of `phpunit/phpunit:^6` because the test cases in this project require `\PHPUnit_Framework_TestCase` which was removed in v6. Moves generated PHP classes for tests into autoload-dev so that they are not referenced in the dist autoload. Adds Composer scripts to run protoc with and without grpc.

* update composer test target to use the same commands as generate_php_test_proto in tests.sh
2018-07-23 13:33:23 -07:00
Paul Yang
e508fc0c66
Check the message to be encoded is the wrong type. (#4885) (#4949)
* Check the message to be encoded is the wrong type. (#4885)

* Change TypeError to ArgumentError
2018-07-23 11:05:28 -07:00
Feng Xiao
2dcd6ae409
Remove/replace travis references (#4953)
* Remove/replace travis references.
2018-07-22 17:14:24 -07:00
mkosieradzki
d6775fa8d6
Added support for Visual Studio 2017 in gitignore 2018-07-22 11:00:35 +02:00
Ryland Degnan
5b7d0dc8aa Update options.md (#4952)
Added Netifi Proteus to Registered Extensions
2018-07-21 08:34:17 -07:00
Yilun Chong
a7071291c7 Add JS and Protobuf.js benchmark 2018-07-20 16:13:19 -07:00
Leonard Hecker
e7746f487c php: Added nanosecond support for Timestamp (#3972)
* php: Added nanosecond support for Timestamp

* php: Fixed compatibility test
2018-07-20 13:03:00 -07:00
Paul Yang
fc90fd6df1
Make assertEquals pass for message (#4947)
This change only makes assertEquals pass for message in c extension. However, it actually does nothing.
This is the same behavior before 3.6.0 release.
2018-07-20 11:03:46 -07:00
Adam Cozzette
656f64ec0b
Merge pull request #4943 from Stevie-O/fix-unit-tests-on-win32
When running unit tests, read reference files in text mode
2018-07-20 10:47:01 -07:00
Stephen Oberholtzer
f5f1796c5d When running unit tests, read reference files in text mode
This should put an end to all of the reports of unit test failures on
Windows machines.
2018-07-19 21:39:10 -04:00
Feng Xiao
b1c5503022
Delete unused files. (#4942)
* Delete unused files.
2018-07-19 17:30:15 -07:00
Yilun Chong
88795f64e4
Merge pull request #4934 from BSBandme/sync_internal_benchmark
Sync internal benchmark changes
2018-07-18 14:44:16 -07:00
Yilun Chong
3783a4ca17 Sync internal benchmark changes 2018-07-18 13:45:32 -07:00
Jan Tattermusch
f50be7de91 Fix C# nuget build on Kokoro (#4912)
* upgrade dotnet SDK to 2.1.3 on kokoro linux
2018-07-18 11:04:59 -07:00
Feng Xiao
d85ffdce41
Merge pull request #4924 from xfxyjwf/3.6.x
Cherry-pick master build fixes and kokoro changes to 3.6.x
2018-07-17 18:50:04 -07:00
Paul Yang
8356d270a5 Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)
* Add continuous test for ruby 2.3, 2.4 and 2.5

* Change ruby 2.5 to 2.5.0

* No need to provide argument to rb_funcall when argc is 0

* Fix tests for ruby 2.5

* Use rescue instead of assert_raise to accept subclass of error
2018-07-17 17:34:25 -07:00
BSBandme
7fdebf2c2e Fix cpp_distcheck 2018-07-17 17:22:10 -07:00
Feng Xiao
6c82411198 Fix php conformance test. 2018-07-17 17:19:02 -07:00
Eric Anderson
11e2eca43e protoc-artifacts: Update centos base from 6.6 to 6.9
This avoids the need to use "yum update && yum upgrade" in the container
to be able to contact GitHub, which requires TLS 1.2[1].

I have verified that binaries built with this container still run in the
previous container; no errors like "/lib64/libc.so.6: version
`GLIBC_2.14' not found", which occur if using too new of a glibc when
compiling. CentOS 6.6 has glibc version 2.12 release 1.209.el6. CentOS
6.9 has glibc version 2.12 release 1.149.el6. Both would upgrade to
release 1.212.el6 via "yum update && yum upgrade".

1. https://githubengineering.com/crypto-deprecation-notice/
2018-07-17 16:52:49 -07:00
Adam Cozzette
6fc2bac3f3 Updated Docker setup to use GCC 4.8
Now that we depend on C++11, we need at least GCC 4.8 instead of 4.7.
This change updates the Docker setup to continue using CentOS 6.6 but
with GCC 4.8.

I also added libm to the whitelist for dynamically linked libraries for
the ARM64 protoc binary.
2018-07-17 16:52:43 -07:00
Feng Xiao
b3e4e3abe0 Remove js_embed binary. (#4709)
* Remove js_embed binary.
2018-07-16 17:40:11 -07:00
BSBandme
0b3b4708a9 Fix cpp benchmark dependency on mac 2018-07-16 17:17:56 -07:00
Yilun Chong
d2980062c8
Merge pull request #4850 from BSBandme/php_benchmark
add php benchmark
2018-07-16 14:40:57 -07:00
Yilun Chong
7f57d13c22 add php benchmark 2018-07-16 13:53:22 -07:00
Feng Xiao
ae8def639e Comment out unused command from release script. 2018-07-15 21:03:55 -07:00
Feng Xiao
9327dc7258 Run autogen.sh in release script. 2018-07-15 21:03:55 -07:00
Feng Xiao
9209a41f82 Add protoc release script for Linux build. 2018-07-15 21:03:55 -07:00
Feng Xiao
4d0fbd1737 Add cpp tests under release docker image.
1. Added C++ tests under the release docker image.
2. Cleaned up tests.sh and removed traivis stuff.
2018-07-15 21:03:55 -07:00
Feng Xiao
474fd3160f Update protoc build scripts.
1. Changed maven script to only do artifact uploading and removed build
script invocation from it. We didn't use maven to invoke the build
script before (we built protoc manually and editted pom.xml to only do
uploading for previous releases), and will not use it in the future (we
will use kokoro to build artifacts).
2. Cleaned up build-protoc.sh and README.md: removed the part about
using maven to build and listed supported platforms explicitly.
2018-07-15 21:03:55 -07:00
Bo Yang
b23429ea32 Fix 32bit php tests 2018-07-15 21:01:48 -07:00
Bo Yang
8758cc1606 Fix php tests 2018-07-15 21:01:48 -07:00
Yilun Chong
bd1224e7b6 fix golang kokoro linux build 2018-07-15 21:01:48 -07:00
Yilun Chong
359889bafd fix python cpp kokoro build 2018-07-15 21:01:48 -07:00
Yilun Chong
c1e6c4df73 fix linux kokoro build in docker 2018-07-15 21:01:48 -07:00
Feng Xiao
c7442b27cf Comment out unused command from release script. 2018-07-15 20:31:54 -07:00
Feng Xiao
ba40b4b8f2
Merge pull request #4922 from xfxyjwf/release2
Run autogen.sh in release script.
2018-07-15 19:14:56 -07:00
Feng Xiao
1fc53afaa7 Run autogen.sh in release script. 2018-07-15 19:13:00 -07:00
Feng Xiao
03e05bb056
Merge pull request #4920 from xfxyjwf/release
Add protoc release script for Linux build.
2018-07-15 18:20:19 -07:00
Feng Xiao
bbbe422fab Add protoc release script for Linux build. 2018-07-15 18:18:36 -07:00
Feng Xiao
07d69d04a6
Merge pull request #4916 from xfxyjwf/docker
Add cpp tests under release docker image.
2018-07-15 18:13:34 -07:00
Feng Xiao
9de4e64cf2 Add cpp tests under release docker image.
1. Added C++ tests under the release docker image.
2. Fixed a compile issue with the docker image.
3. Cleaned up tests.sh and removed traivis stuff.
2018-07-15 16:41:25 -07:00
Feng Xiao
78944e1403
Merge pull request #4913 from xfxyjwf/protoc
Update protoc build scripts.
2018-07-13 15:43:05 -07:00
Feng Xiao
6fa17eb35e Update protoc build scripts.
1. Changed maven script to only do artifact uploading and removed build
script invocation from it. We didn't use maven to invoke the build
script before (we built protoc manually and editted pom.xml to only do
uploading for previous releases), and will not use it in the future (we
will use kokoro to build artifacts).
2. Cleaned up build-protoc.sh and README.md: removed the part about
using maven to build and listed supported platforms explicitly.
2018-07-13 12:41:37 -07:00
Feng Xiao
4a0ad7b06f
Merge pull request #4908 from TeBoring/php-bug
Fix php tests
2018-07-13 09:55:17 -07:00
Feng Xiao
1ccb8d4b39
Merge pull request #4905 from BSBandme/fix_kokoro_build_in_docker
fix linux kokoro build in docker
2018-07-13 09:54:43 -07:00
Bo Yang
d779301670 Fix 32bit php tests 2018-07-13 09:10:16 +00:00
Bo Yang
51c188c2cc Fix php tests 2018-07-13 05:47:10 +00:00
Yilun Chong
517190a7d9 fix golang kokoro linux build 2018-07-12 16:52:16 -07:00