Commit Graph

3040 Commits

Author SHA1 Message Date
Jisi Liu
166e9bbb84 Rename python and java bazel rules. 2015-10-21 10:56:38 -07:00
Jisi Liu
6ddcae225c Use && for internal_copied_filegroup.
So that the rule fails if one or more files cannot be copied.
2015-10-21 10:48:33 -07:00
Jisi Liu
66e3a6d0b7 Merge pull request #867 from pherl/master
Python bazel support
2015-10-21 10:43:00 -07:00
Jisi Liu
8f54026ded avoid name duplication. 2015-10-20 16:21:41 -07:00
Jisi Liu
bc4fd15209 Rename copeid_src to internal_copied_filegroup 2015-10-20 16:02:58 -07:00
Jisi Liu
14c8f8ac1d Uncomment objc tests 2015-10-20 15:36:22 -07:00
Jisi Liu
a33fa8eddc fix sources for python target and add needed dependencies. 2015-10-20 15:30:44 -07:00
Jisi Liu
53a56be4c4 Change the impl rule include to includes.
We need to use the list to indicate field presense.
The field must only contain 0 or 1 string element.
2015-10-20 15:18:20 -07:00
Jisi Liu
04658a3c24 Change default value of protoc on xx_proto_library rules. 2015-10-20 15:00:13 -07:00
Jie Luo
32fb7dda58 Merge pull request #869 from anandolee/master
fix json_format for python2.6:
2015-10-20 11:28:48 -07:00
Jisi Liu
7b948cc7c5 Support python for bazel. 2015-10-19 17:56:27 -07:00
Jisi Liu
993fb7013e Python bazel support. 2015-10-19 17:19:49 -07:00
Jie Luo
2850a98275 fix json_format for python2.6:
1, objcect_pair_hook is not supported in python2.6, so duplicated key check is removed in 2.6
2, total_seconds is not suppoted in python2.6, changed to compute seconds directly
2015-10-19 16:25:54 -07:00
Jisi Liu
e63bd9be26 Merge pull request #892 from pherl/cc_bazel
Allow include to be None.
2015-10-19 15:10:00 -07:00
Jisi Liu
6dac0822c4 Allow include to be None.
This enables the use case where all the paths are relative to the
workspace root, e.g.

foo/bar/BUILD
       /foo.proto -- package foo.bar

would generate the message correctly.
2015-10-19 14:41:00 -07:00
Feng Xiao
70b81ba10d Merge pull request #889 from leif81/patch-1
Fix typos in cmake README.md
2015-10-16 16:57:36 -07:00
Leif Gruenwoldt
a9e6a8f61d Change back to "protobuf_BUILD_TESTS" flag
In anticipation of PR #753 getting merged we'll change this back. However until that PR gets merged the old value "BUILD_TESTS" is really needed.
2015-10-16 19:53:21 -04:00
Feng Xiao
5314ad1b21 Merge pull request #783 from podsvirov/topic-cmake-project
Improved CMake project
2015-10-16 14:08:38 -07:00
Jisi Liu
beeb3aa74c Merge pull request #883 from pherl/cc_bazel
Extract protoc action into .bzl for cc.
2015-10-16 14:04:25 -07:00
Leif Gruenwoldt
24e2d8c2f1 Fix typos in cmake README.md 2015-10-16 15:53:23 -04:00
Jisi Liu
3101e7337c Change prefix to include, and add docs 2015-10-16 12:46:26 -07:00
Jisi Liu
d8701b5741 Rename deps/proto_deps to cc_libs/deps 2015-10-16 11:44:21 -07:00
Jisi Liu
9c7d9c0925 style/naming fix 2015-10-15 10:51:32 -07:00
Jisi Liu
25d75b5665 make cc_out and py_out internal. 2015-10-14 17:41:14 -07:00
Jisi Liu
125a91be08 Format code. 2015-10-14 17:37:39 -07:00
Jisi Liu
ee8131a62f buildifier the file 2015-10-14 17:20:05 -07:00
Jisi Liu
39362b35b2 Extract protoc action into .bzl for cc.
This is needed to support python bazel build.
2015-10-14 17:12:11 -07:00
Konstantin Podsvirov
c3aa4c2675 Improved SHARED build from CMake project 2015-10-15 02:56:48 +03:00
Jan Tattermusch
d8a926ebf2 Merge pull request #824 from jtattermusch/expose_get_output_file
Expose GetOutputFile in csharp_names.h
2015-10-14 07:40:36 -07:00
Feng Xiao
8894d1febf Merge pull request #875 from tkarls/return_correct_bool_type_from_map
Changed return type from int32 to bool in function returning a bool
2015-10-13 16:52:50 -07:00
Feng Xiao
3af7054527 Merge pull request #878 from matthewvalimaki/autogen-options
Add support for arguments.
2015-10-13 11:08:16 -07:00
Feng Xiao
b699c28594 Merge pull request #876 from tkarls/use_correct_int_type_in_set_function
Changed argument typ to uint32 in set function that sets an uint32 value
2015-10-13 11:06:36 -07:00
Matthew Valimaki
c0a7ea4d2f Add support for arguments.
Support curl -s argument.

Signed-off-by: Matthew Valimaki <matthew.valimaki@gmail.com>
2015-10-13 09:42:20 -07:00
Thomas Karlsson
59906e81d8 Changed argument typ to uint32 in set function that sets an uint32 value 2015-10-13 13:35:07 +02:00
Thomas Karlsson
b7996f0929 Changed return type from int32 to bool in function returning a bool 2015-10-13 13:20:32 +02:00
Paul Yang
49f24afb45 Merge pull request #815 from TeBoring/third-party
Use std::get where it's available
2015-10-09 12:38:31 -07:00
Feng Xiao
693cb3d22a Merge pull request #822 from podsvirov/topic-cmake-readme
Update cmake/README.md for #783 PR
2015-10-09 11:36:14 -07:00
Konstantin Podsvirov
0f21c538be Update cmake/README.md for #783 PR 2015-10-09 10:46:53 +03:00
Feng Xiao
3f788364bf Merge pull request #866 from Sahloul/patch-1
VS2010 compatibility of address initalization
2015-10-08 13:30:10 -07:00
Jisi Liu
e2fb73af34 Merge pull request #856 from mzhaom/bazel-build
Add missing csharp_doc_comment.cc to protoc_lib.
2015-10-08 13:12:03 -07:00
Hamdi Sahloul
4ead55c370 Use static cast
Used static cast to improve initalization compatibility with MSVC2010
2015-10-09 05:10:30 +09:00
Hamdi Sahloul
4c4aae87d5 VS2010 compatibility of address initalization
VS2010 cannot compile json_util_test.cc since it assumes NULL as a zero (int), and therefore cannot convert into to char*
2015-10-09 00:21:26 +09:00
Ming Zhao
5cdd9367b3 Add missing csharp_doc_comment.cc to protoc_lib. 2015-10-07 09:11:25 -07:00
Jon Skeet
c34ed5c9bf Merge pull request #846 from jskeet/tostring
Support ToString in RepeatedField and MapField.
2015-10-07 17:08:25 +01:00
Jisi Liu
2842568f8d Merge pull request #860 from pherl/master
Generate well known types for python.
2015-10-07 07:46:35 -07:00
Jisi Liu
f6fa5c7882 add complete WKT for python. 2015-10-06 14:26:00 -07:00
Jisi Liu
7464f40a7e Generate well known types for python. 2015-10-06 14:20:26 -07:00
Jisi Liu
878b603d32 Merge pull request #849 from pherl/master
Integrate google internal changes.
2015-10-06 14:13:01 -07:00
Jisi Liu
5f6a1d3dbb Remove duplicated header file 2015-10-06 13:58:41 -07:00
Jisi Liu
479a90b4dd Revert unwanted changes. 2015-10-06 13:54:35 -07:00