Thomas Van Lenten
a663afb23b
Merge pull request #959 from thomasvl/travis_mac2
...
Add ObjC build to travis setup
9 years ago
Thomas Van Lenten
9642b821f2
Add ObjC build to travis setup
...
- Add objc for iOS and OS X builds to travis configs.
- Update handing of python install to deal with newer OS X versions.
9 years ago
Jan Tattermusch
64aa954dae
Merge pull request #954 from jskeet/blank-lines-in-comments
...
Stop removing all blank lines in doc comments.
9 years ago
Paul Yang
1e54dcfc70
Merge pull request #949 from thomasvl/newer_sims
...
Tweaks to the Mac build script
9 years ago
Jon Skeet
cff900e8f9
Generated code for previous commit.
9 years ago
Jon Skeet
f4f601bd47
Stop removing all blank lines in doc comments.
...
This fixes issue #832 .
Generated code changes in next commit.
9 years ago
Jan Tattermusch
ffe25c76ea
Merge pull request #941 from jskeet/recursion-limit
...
Add recursion limit handling to JSON parsing.
9 years ago
Feng Xiao
1470ced7ce
Merge pull request #950 from jhump/jh/plugin-proto-in-java-runtime
...
include plugin.proto and generated code in protobuf-java
9 years ago
Thomas Van Lenten
f1a3c8fe0d
Tweaks to the Mac build script
...
- Support building with Xcode 6.4 or 7.x
- Fix an error in usage info.
- Add a flag to build the core parts of protobuf only.
9 years ago
Joshua Humphries
37b262bfb4
include plugin.proto and generated code in protobuf-java
9 years ago
Jon Skeet
6fa17e7597
Reimplement JSON recursion by detecting the depth in the tokenizer.
...
Added a TODO around a possible change to the tokenizer API, changing PushBack(token) into just Rewind() or something similar.
9 years ago
Jon Skeet
3a72a1eeaf
Merge pull request #940 from jskeet/json-names
...
Move the creation of the "fields by JSON name" dictionary to the descriptor
9 years ago
Jan Tattermusch
25c045a180
Merge pull request #942 from jskeet/json-exception
...
Created a new exception for JSON failures.
9 years ago
Paul Yang
a030cc750c
Merge pull request #943 from thomasvl/conformance
...
Update the Mac build script to include the conformance tests
9 years ago
Jon Skeet
0fb39c4afe
Created a new exception for JSON failures.
...
This is only thrown directly by JsonTokenizer, but surfaces from JsonParser as well. I've added doc comments to hopefully make everything clear.
The exception is actually thrown by the reader within JsonTokenizer, in anticipation of keeping track of the location within the document, but that change is not within this PR.
9 years ago
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