Jisi Liu
d4bef7d41b
add warning notes for cc|py_proto_library rules.
...
To mention that the interface may change or be removed when bazel has
support it natively.
9 years ago
Jan Tattermusch
59635c13d9
Merge pull request #929 from jskeet/unsafe-internal
...
Make BytesString.Unsafe internal (which it should have been all along)
9 years ago
Jon Skeet
885406abcf
Make BytesString.Unsafe internal (which it should have been all along)
9 years ago
Feng Xiao
8eebad1082
Merge pull request #924 from bbarenblat/master
...
Correct spelling
9 years ago
Benjamin Barenblat
a2ce9cb9ea
Correct spelling
9 years ago
Jan Tattermusch
46f8a79826
Merge pull request #905 from jskeet/wrapper-clear
...
Fix clearing wrapper type fields with reflection.
9 years ago
Jon Skeet
f5a0a7feeb
Fix clearing wrapper type fields with reflection.
...
The nullable value type fields already worked, but the use of the CLR property concealed the difference between string and StringWrapper fields.
9 years ago
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