aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Build protoc for host platform to enable cross-compilation.Gravatar Andrew Harp2015-11-03
| | | This is necessary to run protoc on the host as a dependency for Android BUILD targets with Bazel.
* Merge pull request #930 from pherl/bazel_testGravatar Jisi Liu2015-11-02
|\ | | | | add warning notes for cc|py_proto_library rules.
* \ Merge pull request #931 from xfxyjwf/fix_compileGravatar Feng Xiao2015-11-02
|\ \ | | | | | | Fix compilation errors when built internally.
| * | Fix compilation errors when built internally.Gravatar Feng Xiao2015-11-02
|/ / | | | | | | | | | | | | | | 1. mathlimits.h must be included before the inclusion of cmath (which gtest/gtest.h seems to include). 2. hash function for StringPiece doesn't work. Change-Id: I358a25d941a25b10b39fe76780eda41557699811
| * add warning notes for cc|py_proto_library rules.Gravatar Jisi Liu2015-11-02
|/ | | | | To mention that the interface may change or be removed when bazel has support it natively.
* Merge pull request #929 from jskeet/unsafe-internalGravatar Jan Tattermusch2015-11-02
|\ | | | | Make BytesString.Unsafe internal (which it should have been all along)
| * Make BytesString.Unsafe internal (which it should have been all along)Gravatar Jon Skeet2015-11-02
| |
* | Merge pull request #924 from bbarenblat/masterGravatar Feng Xiao2015-10-31
|\ \ | |/ |/| Correct spelling
| * Correct spellingGravatar Benjamin Barenblat2015-10-30
|/
* Merge pull request #905 from jskeet/wrapper-clearGravatar Jan Tattermusch2015-10-30
|\ | | | | Fix clearing wrapper type fields with reflection.
| * Fix clearing wrapper type fields with reflection.Gravatar Jon Skeet2015-10-30
|/ | | | The nullable value type fields already worked, but the use of the CLR property concealed the difference between string and StringWrapper fields.
* Merge pull request #922 from randomascii/masterGravatar Feng Xiao2015-10-29
|\ | | | | Get VS 2015 to use const int definitions
| * Get VS 2015 to use const int definitionsGravatar Bruce Dawson2015-10-29
|/ | | | | | | | | | | | | | | | | | 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.
* Merge pull request #861 from haberman/pywarningsGravatar Joshua Haberman2015-10-28
|\ | | | | Removed all warnings from the Python/C++ build
| * Pass $CC environment variable through tox.Gravatar Josh Haberman2015-10-28
| |
| * Special-case Clang-only warning flags to Clang.Gravatar Josh Haberman2015-10-28
| |
| * Disable some more warnings to be warnings-free.Gravatar Josh Haberman2015-10-28
| |
| * Fixed compile errors after rebase.Gravatar Josh Haberman2015-10-28
| |
| * Removed all warnings from the Python/C++ build.Gravatar Josh Haberman2015-10-28
|/ | | | | | | | | | | 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
* Merge pull request #915 from pherl/masterGravatar Jisi Liu2015-10-27
|\ | | | | add default_runtime attribute to cc|py rules.
| * add default_runtime attribute to cc|py rules.Gravatar Jisi Liu2015-10-27
|/ | | | This adds implicit dependencies to the coressponding runtime libraries.
* Merge pull request #908 from jskeet/oneof-equalityGravatar Jan Tattermusch2015-10-24
|\ | | | | Use oneof case in equality tests
| * Generated code for previous commit (oneof case contributing to hash code and ↵Gravatar Jon Skeet2015-10-24
| | | | | | | | equality).
| * Include the oneof-case in equality and hash code generated code.Gravatar Jon Skeet2015-10-24
| | | | | | | | The included C# test will fail until the regenerated code is used, which is in the next commit.
* | Merge pull request #904 from matthew-wu/masterGravatar Jisi Liu2015-10-23
|\ \ | |/ |/| Change the #include for any.h to use angle brackets instead of quotes
| * Change the #include for any.h to use angle brackets instead of quotes, to be ↵Gravatar Matthew Wu2015-10-22
|/ | | | consistent with other protobuf library includes.
* Merge pull request #903 from pherl/bazel_testGravatar Jisi Liu2015-10-22
|\ | | | | Enable python bazel tests and explicit list python dependencies.
| * Update comments.Gravatar Jisi Liu2015-10-22
| |
| * fix six package path.Gravatar Jisi Liu2015-10-22
| | | | | | | | --strip_prefix doesn't seem to work.
| * Add six as an external dep.Gravatar Jisi Liu2015-10-22
| |
| * Enable python tests with testdata.Gravatar Jisi Liu2015-10-22
| |
* | Merge pull request #901 from pherl/bazel_testGravatar Jisi Liu2015-10-21
|\| | | | | Add runfiles to make the protobuf_test pass.
| * Add runfiles to make the protobuf_test pass.Gravatar Jisi Liu2015-10-21
|/
* Merge pull request #900 from pherl/renameGravatar Jisi Liu2015-10-21
|\ | | | | Rename python and java bazel rules.
* \ Merge pull request #899 from pherl/cc_bazelGravatar Jisi Liu2015-10-21
|\ \ | | | | | | Use && for internal_copied_filegroup.
| | * Rename python and java bazel rules.Gravatar Jisi Liu2015-10-21
| |/ |/|
| * Use && for internal_copied_filegroup.Gravatar Jisi Liu2015-10-21
|/ | | | So that the rule fails if one or more files cannot be copied.
* Merge pull request #867 from pherl/masterGravatar Jisi Liu2015-10-21
|\ | | | | Python bazel support
| * avoid name duplication.Gravatar Jisi Liu2015-10-20
| |
| * Rename copeid_src to internal_copied_filegroupGravatar Jisi Liu2015-10-20
| |
| * Uncomment objc testsGravatar Jisi Liu2015-10-20
| |
| * fix sources for python target and add needed dependencies.Gravatar Jisi Liu2015-10-20
| |
| * Change the impl rule include to includes.Gravatar Jisi Liu2015-10-20
| | | | | | | | | | We need to use the list to indicate field presense. The field must only contain 0 or 1 string element.
| * Change default value of protoc on xx_proto_library rules.Gravatar Jisi Liu2015-10-20
| |
* | Merge pull request #869 from anandolee/masterGravatar Jie Luo2015-10-20
|\ \ | | | | | | fix json_format for python2.6:
| | * Support python for bazel.Gravatar Jisi Liu2015-10-19
| | |
| | * Python bazel support.Gravatar Jisi Liu2015-10-19
| | |
| * | fix json_format for python2.6:Gravatar Jie Luo2015-10-19
| | | | | | | | | | | | | | | 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
* | | Merge pull request #892 from pherl/cc_bazelGravatar Jisi Liu2015-10-19
|\ \ \ | | |/ | |/| Allow include to be None.
| * | Allow include to be None.Gravatar Jisi Liu2015-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.