Thomas Van Lenten
f0411ec974
Update the Mac build script to include the conformance tests
...
- Kick off the conformance tests
- Add missing ignore for something generated by a build on the conformance directory.
9 years ago
Jon Skeet
3d257a9dc1
Add recursion limit handling to JSON parsing.
...
Fixes issue #932 .
9 years ago
Jon Skeet
6a94273549
Move the creation of the "fields by JSON name" dictionary to the descriptor.
9 years ago
Jon Skeet
b6a32e909b
Merge pull request #923 from jskeet/json-parsing
...
Implement JSON parsing in C#.
9 years ago
Feng Xiao
55ad57a235
Merge pull request #936 from andrewharp/patch-1
...
Build protoc for host platform to enable cross-compilation.
9 years ago
Feng Xiao
0cf6198cf1
Merge pull request #939 from dougkwan/master
...
Add support for POWER Linux
9 years ago
Doug Kwan
2a50e67c78
Add support for POWER Linux
9 years ago
Andrew Harp
38f131fd8c
Build protoc for host platform to enable cross-compilation.
...
This is necessary to run protoc on the host as a dependency for Android BUILD targets with Bazel.
9 years ago
Jon Skeet
fb2488225f
Implement JSON parsing in C#.
...
This includes all the well-known types except Any.
Some aspects are likely to require further work when the details of the JSON parsing expectations are hammered out in more detail. Some of these have "ignored" tests already.
Note that the choice *not* to use Json.NET was made for two reasons:
- Going from 0 dependencies to 1 dependency is a big hit, and there's not much benefit here
- Json.NET parses more leniently than we'd want; accommodating that would be nearly as much work as writing the tokenizer
This only really affects the JsonTokenizer, which could be replaced by Json.NET. The JsonParser code would be about the same length with Json.NET... but I wouldn't be as confident in it.
9 years ago
Jisi Liu
aa3675415e
Merge pull request #930 from pherl/bazel_test
...
add warning notes for cc|py_proto_library rules.
9 years ago
Feng Xiao
ec9f45b106
Merge pull request #931 from xfxyjwf/fix_compile
...
Fix compilation errors when built internally.
9 years ago
Feng Xiao
9659ea9e56
Fix compilation errors when built internally.
...
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
9 years ago
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