Stanley Cheung
52ab3b07ac
PHP: fix ZTS tsrm_ls errors ( #2189 )
...
* PHP: fix ZTS tsrm_ls errors
* Fix a few more macros
2016-10-04 13:39:51 -07:00
Adam Cozzette
71e5994b1a
Merge pull request #2193 from acozzette/common-js-fix
...
Fixed references to foreign nested messages with CommonJS-style imports
2016-10-04 13:14:12 -07:00
Bo Yang
2d897c8fa2
Add test for php zts build.
2016-10-04 17:50:59 +00:00
Bo Yang
3a055be925
Prepare jenkins for testing php zts build.
2016-10-04 17:23:21 +00:00
Adam Cozzette
640c947458
Merge pull request #2204 from acozzette/enum-names
...
Do strict enum name checking only for proto3
2016-10-04 09:58:54 -07:00
Adam Cozzette
149659b72a
Do strict enum name checking only for proto3
...
There seem to already be .proto files out there that have conflicting
enum names, which will not be able to build successfully for some
languages (like C#). To prevent this problem from spreading, let's make
it an error for proto3 but just issue a warning for proto2. This fixes
issue #2179 .
2016-10-04 07:19:54 -07:00
Bo Yang
858db7a202
Add travis test on Mac for php.
2016-10-03 23:07:21 +00:00
Bo Yang
bcb32c0b86
Test php5.5_c test on jenkins
2016-10-03 20:48:39 +00:00
Bo Yang
dae50dc56a
Trigger automated tests for php.
2016-09-30 01:20:41 +00:00
Bo Yang
f17528a1fa
Set up environment for php automated tests.
2016-09-30 01:10:34 +00:00
Bo Yang
1baaedfb3d
Add php test script for automated tests.
2016-09-30 01:08:33 +00:00
Bo Yang
b9bad65bf3
Add script to build Google.Protobuf.Tools for csharp.
2016-09-28 13:51:57 -07:00
Joshua Haberman
3b88a4ae87
Merge pull request #2196 from haberman/nodefix
...
Added alias getFieldProto3 as used by older generated code.
2016-09-28 12:39:23 -07:00
Josh Haberman
8b54280395
Added alias getFieldProto3 as used by older generated code.
...
Un-breaks users who have old generated code and upgrade
to the 3.1.0 release.
2016-09-28 11:11:52 -07:00
Adam Cozzette
c4d70123ac
Fixed references to foreign nested messages with CommonJS-style imports
...
A bug was causing generated JSPB code with CommonJS-style imports to
refer incorrectly to nested messages from other .proto files. The
generated code would have things like "test_pb.InnerMessage" instead of
"test_pb.OuterMessage.InnerMessage". This commit fixes the problem by
correctly taking into account any message nesting.
2016-09-27 17:25:00 -07:00
Bo Yang
787f3fb163
Fixing inconsistent php version number.
2016-09-26 12:48:28 -07:00
Feng Xiao
c531b49d38
Merge pull request #2181 from google/jtattermusch-patch-2
...
Update README.md
2016-09-26 10:13:08 -07:00
Jan Tattermusch
530eede12b
Update README.md
2016-09-26 10:38:00 +02:00
Feng Xiao
4d3e4cfa4a
Fix MSVC stack overflow issue.
2016-09-23 23:53:43 -07:00
Bo Yang
a428e42072
Add php files for make dist.
2016-09-23 19:12:45 -07:00
Paul Yang
e7269aa4f6
Update change log for 3.1.0 ( #2173 )
2016-09-23 18:33:25 -07:00
Feng Xiao
87d61e44fa
Merge pull request #2175 from xfxyjwf/fix_json
...
Fix VS test failures.
2016-09-23 17:57:41 -07:00
Feng Xiao
5248f61a34
Force a rebuild of Jenkins docker image.
...
Needed to pick up a Java dependency change and re-populate the offline
repo.
[skip ci]
2016-09-23 17:35:23 -07:00
Stanley Cheung
907a075d7e
php: support 5.5.9 for pecl extension ( #2174 )
2016-09-23 17:05:45 -07:00
Feng Xiao
3c88e1b53d
Fix VS test failures.
2016-09-23 16:53:01 -07:00
Feng Xiao
c454b44335
Merge pull request #2171 from xfxyjwf/fix_json
...
Reduce test length to avoid stack overflow on VS.
2016-09-23 16:50:42 -07:00
Feng Xiao
73c8723266
Use "appveyor DownloadFile"
...
"ps: StartFileDownload" is broken by a recent appveyor image update:
http://help.appveyor.com/discussions/problems/5308-ci-frequently-hangs-with-recent-image-update
Change-Id: Ia73aa8b12f77eb9bbec556a4c05310153aad97bf
2016-09-23 16:04:38 -07:00
Bo Yang
18f336b98a
Update php supported version.
2016-09-23 22:22:18 +00:00
Feng Xiao
f6b4d188b4
Reduce test length to avoid stack overflow on VS.
2016-09-23 21:45:03 +00:00
Bo Yang
411968d01f
Fix python cpp.
2016-09-23 21:38:35 +00:00
Feng Xiao
37c3d05f57
Merge pull request #2167 from xfxyjwf/fix_vs
...
Fix Visual Studio compile issues.
2016-09-23 12:11:04 -07:00
Feng Xiao
0798d91f55
Fix Visual Studio compile issues.
...
Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
2016-09-23 11:55:26 -07:00
Jisi Liu
3bfc09d548
Merge pull request #2170 from pherl/3.1.x
...
Fix default instance destructor and memory leaks
2016-09-23 11:29:21 -07:00
Jisi Liu
f184cb6035
Fix default instance destructor
2016-09-23 11:17:00 -07:00
Jisi Liu
34996c31b7
Merge branch '3.1.x' of github.com:google/protobuf into 3.1.x
2016-09-23 11:14:37 -07:00
Bo Yang
8c88762e3e
Update version number.
2016-09-22 19:24:19 -07:00
Bo Yang
94bbeb4681
Bump library version to 11
2016-09-22 18:10:00 -07:00
Bo Yang
1b7a844fa1
Add back removed descriptor field.
2016-09-22 18:04:02 -07:00
Bo Yang
9cb812fab5
Modify php api version and minimum supported php version.
2016-09-22 17:17:01 -07:00
Stanley Cheung
11433f78a7
PHP: support 7.0 on PHP implementation ( #2162 )
...
* PHP: support 7.0
* Also fix in test_util.php
2016-09-22 17:13:12 -07:00
Jisi Liu
39a2a25f05
update files to include php generators ( #2165 )
2016-09-22 17:13:11 -07:00
Feng Xiao
2649844cab
Update version number.
...
[skip ci]
Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
2016-09-22 17:13:11 -07:00
Feng Xiao
5270e93803
Fix java compatibilty tests.
...
Change-Id: I3ff47358e66965cab34736eed2a477ae29f02f61
2016-09-22 17:13:11 -07:00
Jisi Liu
923314cc88
update files to include php generators
2016-09-22 15:11:17 -07:00
Charlene
8352d52dd8
Update minimum support php version to 5.5
2016-09-21 21:03:30 -07:00
Bo Yang
bee5213b00
Fix bugs for internal integration.
2016-09-22 01:04:02 +00:00
Brendan Ribera
525c6327ab
Fix hash computation for JRuby's RubyMessage
...
`System.identityHashCode` returns a hash that does not consider a
Message's values. This means two Messages with identical values will not
have identical hashCodes.
This patch uses the pattern from RubyMap to combine the hashCodes from
all values in a given message and produce a unique, consistent,
value-based hash.
2016-09-22 00:18:12 +00:00
Bo Yang
b8e7e892c8
Fix travis, jenkins environment issues.
2016-09-21 22:56:47 +00:00
Adam Cozzette
050c014ac6
Added new has_bits.h file to cmake/extract_includes.bat.in ( #2152 )
...
This is necessary so that the CMake build knows to include this header
file in the installation include/ directory.
2016-09-21 10:40:26 -07:00
Adam Cozzette
f81d44fafa
Fixed quadratic behavior in JSPB deserialization of repeated fields ( #2117 ) ( #2146 )
...
Currently deserialization of a non-packed binary repeated field is quadratic in
the number of elements, because each time we parse a new element we copy over
all elements we have parsed so far. This CL fixes the performance problem by
having the generated deserialization code just call addX() instead of using
getX() and setX().
2016-09-21 10:39:23 -07:00