Josh Haberman
c3ca920509
Pass $CC environment variable through tox.
2015-10-28 17:07:02 -07:00
Josh Haberman
d8814ed59e
Special-case Clang-only warning flags to Clang.
2015-10-28 17:07:02 -07:00
Josh Haberman
30cbd4c561
Disable some more warnings to be warnings-free.
2015-10-28 17:05:47 -07:00
Josh Haberman
70ffefa551
Fixed compile errors after rebase.
2015-10-28 17:05:47 -07:00
Josh Haberman
00700b7219
Removed all warnings from the Python/C++ build.
...
Also made the Travis build ensure that no warnings
are present.
These builds were previously spewing many warnings,
which was hiding warnings for important things like
accidentally using C++11-only features.
Change-Id: I56caeee9db48bc78756a3e8d7c14874630627037
2015-10-28 17:05:47 -07:00
Jisi Liu
12fb61b292
Merge pull request #915 from pherl/master
...
add default_runtime attribute to cc|py rules.
2015-10-27 15:57:02 -07:00
Jisi Liu
be92ffbf74
add default_runtime attribute to cc|py rules.
...
This adds implicit dependencies to the coressponding runtime libraries.
2015-10-27 15:11:38 -07:00
Jan Tattermusch
d4569d1f5e
Merge pull request #908 from jskeet/oneof-equality
...
Use oneof case in equality tests
2015-10-24 11:41:00 -07:00
Jon Skeet
55313c9c5d
Generated code for previous commit (oneof case contributing to hash code and equality).
2015-10-24 06:46:02 +01:00
Jon Skeet
964627ece0
Include the oneof-case in equality and hash code generated code.
...
The included C# test will fail until the regenerated code is used, which is in the next commit.
2015-10-24 06:45:20 +01:00
Jisi Liu
dfae9e36c7
Merge pull request #904 from matthew-wu/master
...
Change the #include for any.h to use angle brackets instead of quotes
2015-10-23 10:13:34 -07:00
Matthew Wu
187cfc5700
Change the #include for any.h to use angle brackets instead of quotes, to be consistent with other protobuf library includes.
2015-10-22 16:09:56 -07:00
Jisi Liu
1abf297fb9
Merge pull request #903 from pherl/bazel_test
...
Enable python bazel tests and explicit list python dependencies.
2015-10-22 14:00:02 -07:00
Jisi Liu
e1f60f5043
Update comments.
2015-10-22 13:55:37 -07:00
Jisi Liu
b657cb4b91
fix six package path.
...
--strip_prefix doesn't seem to work.
2015-10-22 13:44:15 -07:00
Jisi Liu
fbc51b7018
Add six as an external dep.
2015-10-22 13:38:17 -07:00
Jisi Liu
68e13f40f4
Enable python tests with testdata.
2015-10-22 11:13:14 -07:00
Jisi Liu
b152d7feb9
Merge pull request #901 from pherl/bazel_test
...
Add runfiles to make the protobuf_test pass.
2015-10-21 11:21:28 -07:00
Jisi Liu
598480df11
Add runfiles to make the protobuf_test pass.
2015-10-21 11:19:16 -07:00
Jisi Liu
343f93fc9e
Merge pull request #900 from pherl/rename
...
Rename python and java bazel rules.
2015-10-21 10:58:36 -07:00
Jisi Liu
96da4edde0
Merge pull request #899 from pherl/cc_bazel
...
Use && for internal_copied_filegroup.
2015-10-21 10:57:47 -07:00
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