Feng Xiao
a74e912a8b
Merge pull request #922 from randomascii/master
...
Get VS 2015 to use const int definitions
9 years ago
Bruce Dawson
86ba70ec41
Get VS 2015 to use const int definitions
...
VC++ up to VS 2015 RTM does not require explicit storage allocation for
static const integers declared in classes. VS 2015 Update 1 requires
these storage definitions in some cases. It's unclear exactly what
cases - simple tests work with and without the explicit storage
allocation.
Many previous versions of VC++ have theoretically *allowed* a
definition to supply storage, but tests on VC++ 2013 show that this
doesn't actually work correctly - it leads to duplicate definition
errors in Chromium. So, the change is scoped to VS 2015 only.
This change also updates the generated files to match the new generator.
TL;DR - this change is necessary in order for Chromium to build with
VS 2015 Update 1.
9 years ago
Joshua Haberman
86f6f53db3
Merge pull request #861 from haberman/pywarnings
...
Removed all warnings from the Python/C++ build
9 years ago
Josh Haberman
c3ca920509
Pass $CC environment variable through tox.
9 years ago
Josh Haberman
d8814ed59e
Special-case Clang-only warning flags to Clang.
9 years ago
Josh Haberman
30cbd4c561
Disable some more warnings to be warnings-free.
9 years ago
Josh Haberman
70ffefa551
Fixed compile errors after rebase.
9 years ago
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
9 years ago
Jisi Liu
12fb61b292
Merge pull request #915 from pherl/master
...
add default_runtime attribute to cc|py rules.
9 years ago
Jisi Liu
be92ffbf74
add default_runtime attribute to cc|py rules.
...
This adds implicit dependencies to the coressponding runtime libraries.
9 years ago
Jan Tattermusch
d4569d1f5e
Merge pull request #908 from jskeet/oneof-equality
...
Use oneof case in equality tests
9 years ago
Jon Skeet
55313c9c5d
Generated code for previous commit (oneof case contributing to hash code and equality).
9 years ago
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.
9 years ago
Jisi Liu
dfae9e36c7
Merge pull request #904 from matthew-wu/master
...
Change the #include for any.h to use angle brackets instead of quotes
9 years ago
Matthew Wu
187cfc5700
Change the #include for any.h to use angle brackets instead of quotes, to be consistent with other protobuf library includes.
9 years ago
Jisi Liu
1abf297fb9
Merge pull request #903 from pherl/bazel_test
...
Enable python bazel tests and explicit list python dependencies.
9 years ago
Jisi Liu
e1f60f5043
Update comments.
9 years ago
Jisi Liu
b657cb4b91
fix six package path.
...
--strip_prefix doesn't seem to work.
9 years ago
Jisi Liu
fbc51b7018
Add six as an external dep.
9 years ago
Jisi Liu
68e13f40f4
Enable python tests with testdata.
9 years ago
Jisi Liu
b152d7feb9
Merge pull request #901 from pherl/bazel_test
...
Add runfiles to make the protobuf_test pass.
9 years ago
Jisi Liu
598480df11
Add runfiles to make the protobuf_test pass.
9 years ago
Jisi Liu
343f93fc9e
Merge pull request #900 from pherl/rename
...
Rename python and java bazel rules.
9 years ago
Jisi Liu
96da4edde0
Merge pull request #899 from pherl/cc_bazel
...
Use && for internal_copied_filegroup.
9 years ago
Jisi Liu
166e9bbb84
Rename python and java bazel rules.
9 years ago
Jisi Liu
6ddcae225c
Use && for internal_copied_filegroup.
...
So that the rule fails if one or more files cannot be copied.
9 years ago
Jisi Liu
66e3a6d0b7
Merge pull request #867 from pherl/master
...
Python bazel support
9 years ago
Jisi Liu
8f54026ded
avoid name duplication.
9 years ago
Jisi Liu
bc4fd15209
Rename copeid_src to internal_copied_filegroup
9 years ago
Jisi Liu
14c8f8ac1d
Uncomment objc tests
9 years ago
Jisi Liu
a33fa8eddc
fix sources for python target and add needed dependencies.
9 years ago
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.
9 years ago
Jisi Liu
04658a3c24
Change default value of protoc on xx_proto_library rules.
9 years ago
Jie Luo
32fb7dda58
Merge pull request #869 from anandolee/master
...
fix json_format for python2.6:
9 years ago
Jisi Liu
7b948cc7c5
Support python for bazel.
9 years ago
Jisi Liu
993fb7013e
Python bazel support.
9 years ago
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
9 years ago
Jisi Liu
e63bd9be26
Merge pull request #892 from pherl/cc_bazel
...
Allow include to be None.
9 years ago
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.
9 years ago
Feng Xiao
70b81ba10d
Merge pull request #889 from leif81/patch-1
...
Fix typos in cmake README.md
9 years ago
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.
9 years ago
Feng Xiao
5314ad1b21
Merge pull request #783 from podsvirov/topic-cmake-project
...
Improved CMake project
9 years ago
Jisi Liu
beeb3aa74c
Merge pull request #883 from pherl/cc_bazel
...
Extract protoc action into .bzl for cc.
9 years ago
Leif Gruenwoldt
24e2d8c2f1
Fix typos in cmake README.md
9 years ago
Jisi Liu
3101e7337c
Change prefix to include, and add docs
9 years ago
Jisi Liu
d8701b5741
Rename deps/proto_deps to cc_libs/deps
9 years ago
Jisi Liu
9c7d9c0925
style/naming fix
9 years ago
Jisi Liu
25d75b5665
make cc_out and py_out internal.
9 years ago
Jisi Liu
125a91be08
Format code.
9 years ago
Jisi Liu
ee8131a62f
buildifier the file
9 years ago