Commit Graph

5271 Commits

Author SHA1 Message Date
Ubuntu
e68caa3e6a formatting issues 2017-12-20 09:14:44 +00:00
Ubuntu
ffa18ad28f resolve issue 4032 and added a unit test 2017-12-19 11:57:44 +00:00
Thomas Van Lenten
860d693cf7 Add Xcode 9.2 to the testing support
Fixes #4060
2017-12-18 10:36:40 -05:00
Feng Xiao
77d32bc56c
Merge pull request #4053 from xfxyjwf/fixumask
Fix file permission for python package.
2017-12-15 12:09:19 -08:00
Feng Xiao
0fc85acdf2 Fix file permission for python package.
`umask 0022` makes sure the created package will be accessible by all users.
2017-12-14 17:54:18 -08:00
Adam Cozzette
396336eb96
Merge pull request #4046 from acozzette/deprecated-valueof-issue-2054
Java: generate an annotation to suppress deprecation warnings
2017-12-14 15:53:23 -08:00
Jisi Liu
1237c3f1f7
Merge pull request #4045 from pherl/deprecate
Add deprecation annotation for oneof case.
2017-12-14 12:20:26 -08:00
Jisi Liu
594ec2262c Fix python descriptor test. 2017-12-14 11:16:34 -08:00
Adam Cozzette
03501110cc Generate an annotation to suppress deprecation warnings
The valueOf method on enums is deprecated, but for compatibility reasons
the generated code has to keep using it. We can use an annotation to
suppress the deprecation warnings.
2017-12-13 16:41:43 -08:00
Jan Tattermusch
426cf6f31e Add auto-generated header to C# generated files (#4038)
* Add auto-generated header to C# generated files

* regenerate C# protos
2017-12-13 14:36:29 -08:00
Feng Xiao
a4f68d479a
Merge pull request #4044 from xfxyjwf/issue3268
Avoid double underscores in macro name
2017-12-13 14:29:20 -08:00
Adam Cozzette
00ac5c1ab6
Merge pull request #4041 from acozzette/fix-license-issue-1775
Added our standard license header to structurally_valid.cc and its test
2017-12-13 14:16:50 -08:00
Jisi Liu
22e1cfd84a Add deprecation annotation for oneof case. 2017-12-13 14:09:50 -08:00
Feng Xiao
b3ac4417b7 Update generated code. 2017-12-13 13:49:26 -08:00
Jie Luo
bfd254e14f
Add unknown field support for csharp (#3936)
Add unknown field support for csharp
2017-12-13 13:48:58 -08:00
Feng Xiao
50ef6a623e Avoid two consecutive underscores in macro name.
Fixes https://github.com/google/protobuf/issues/3268
2017-12-13 13:40:19 -08:00
Feng Xiao
0a7120ac32
Merge pull request #4037 from xfxyjwf/issue2880
Clarify default value behavior in JSON conversion.
2017-12-13 13:25:38 -08:00
Adam Cozzette
ecab9c65fb Added our standard license header to structurally_valid.cc and its test
This fixes issue #1775.
2017-12-13 10:01:14 -08:00
Feng Xiao
5ce724bceb
Merge pull request #4036 from xfxyjwf/issue3093
Update comments for Timestamp JSON format.
2017-12-12 17:52:32 -08:00
Jisi Liu
0f9bfa8244
Merge pull request #4016 from jquesnelle/string-access-ub
fix undefined behavior in C++03
2017-12-12 17:16:51 -08:00
Jisi Liu
27e877fdaa
Merge pull request #2834 from aj-michael/master
Make //:protobuf_python have correct __init__.py.
2017-12-12 16:22:47 -08:00
Feng Xiao
6c27550df0 Clarify default value behavior in JSON conversion.
Make it clear default value is only omitted for proto3.
2017-12-12 15:11:40 -08:00
Feng Xiao
75eceb8424 Update generated code. 2017-12-12 14:57:34 -08:00
Feng Xiao
8489612dad Update comments for Timestamp JSON format.
Clarify that JSON parser are required to accept both UTC and other
timezone offsets.

Fixes issue 3093
2017-12-12 14:32:28 -08:00
Jon Skeet
31c54d1289 Regenerated code from previous C# codegen commit
With this in place, all tests should pass.

Fixes #3725.
2017-12-09 09:49:24 +00:00
Jon Skeet
3e5bd2fd24 C# code generation changes to use bitwise comparisons for doubles 2017-12-09 09:49:24 +00:00
Jon Skeet
f3e9a65d75 Compare floating point values bitwise in C#
This is the manual code part of the Google.Protobuf library, and tests.
Some tests will fail until codegen is changed and rerun.
2017-12-09 09:49:24 +00:00
Adam Cozzette
618f06fc9c
Merge pull request #4007 from graywolf/patch-1
--pre is not necessary
2017-12-08 14:01:49 -08:00
Adam Cozzette
a426833d1a
Merge pull request #4000 from Kwizatz/master
Using binary one's complement to negate an unsigned int
2017-12-08 13:34:56 -08:00
Adam Cozzette
9b09a2af14
Merge pull request #4017 from acozzette/update-file-lists
Ran update_file_lists.sh to update Bazel and CMake file lists
2017-12-08 11:43:01 -08:00
Adam Cozzette
0fcca8f910
Merge pull request #4018 from acozzette/android-portable-log2-floor
Use the portable version of Log2Floor for Clang with older Android NDK versions
2017-12-08 11:42:41 -08:00
Jeffrey Quesnelle
f5b086273a use const char* instead of const std::string& in normalize() 2017-12-07 19:02:35 -05:00
Adam Cozzette
63a0afca70 Use the portable version of Log2Floor for Clang with older Android NDK versions
This is necessary for avoiding a strange compiler error that we have
already run into with older versions of Clang on NaCl.
2017-12-07 14:35:40 -08:00
Adam Cozzette
609d752650 Ran update_file_lists.sh to update Bazel and CMake file lists
This should fix Bazel builds, since those were missing a new file
(implicit_weak_message.cc).
2017-12-07 14:16:50 -08:00
Jeffrey Quesnelle
b32c2a80e0 fix undefined behavior in C++03 2017-12-07 16:30:24 -05:00
Rodrigo Hernandez
24493eef93 Using binary one's complement to negate an unsigned int
This removes a Visual Studio warning:

warning C4146: unary minus operator applied to unsigned type, result
still unsigned.
2017-12-07 13:29:20 -06:00
W
0316ae802d
--pre is not necessary
--pre was not necessary to install google-protobuf when I tried it today (2017-12-06).
2017-12-06 18:18:50 +01:00
Adam Cozzette
9021f623e1
Merge pull request #3988 from acozzette/down-integrate
Integrated internal changes from Google
2017-12-05 13:02:36 -08:00
Yilun Chong
173f3043d3
Merge pull request #3926 from BSBandme/down_sync_benchmark
Sync benchmark changes from internal
2017-12-05 10:54:14 -08:00
Adam Cozzette
e372df5c97 Fixed failing JS tests 2017-12-05 10:41:31 -08:00
Feng Xiao
db7c043f6d
Merge pull request #3968 from fahhem/patch-2
Add a check_version() for use in WORKSPACEs
2017-12-04 15:28:56 -08:00
Fahrzin Hemmati
35119e39a0 Add a check_protobuf_required_bazel_version() for use in WORKSPACEs 2017-12-04 15:12:08 -08:00
Yilun Chong
1fd6c1761e Fix bugs to pass tests 2017-12-04 14:39:08 -08:00
Adam Cozzette
7bb8584f9d Updated conformance failure lists 2017-12-04 14:14:29 -08:00
Thomas Van Lenten
716acc3b97 Remove Xcode directives on some configs.
Travis changed their default image:
https://blog.travis-ci.com/2017-11-21-xcode8-3-default-image-announce

So there is no need to set a specific image any more, and the non
apple language tests should be able to use the default images.
2017-12-04 12:48:12 -05:00
Yilun Chong
1c062a65af Sync internal benchmark changes 2017-12-01 11:55:38 -08:00
Adam Cozzette
5d647e19e7 Updated Makefile.am to add a new file to EXTRA_DIST 2017-12-01 11:22:17 -08:00
Adam Cozzette
0ba8eea655 Merge branch 'master' into down-integrate 2017-12-01 10:05:19 -08:00
Adam Cozzette
92a7e778e7 Integrated internal changes from Google 2017-12-01 10:05:10 -08:00
Adam Cozzette
a711e3d5b4
Merge pull request #3979 from acozzette/3.5.x-merge
Merge 3.5.x branch into master
2017-12-01 07:31:37 -08:00