Feng Xiao
a0cecfd31a
Make conformance tests build for C++ and Java.
...
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
9 years ago
Jan Tattermusch
33106681a5
Merge pull request #1051 from jtattermusch/support_coreclr
...
Make nuget package support coreCLR
9 years ago
Jan Tattermusch
637102cf38
Merge pull request #1026 from jskeet/any-conformance
...
Add JSON parsing to conformance tests.
9 years ago
Jan Tattermusch
52139f9fde
make nuget package support CoreCLR
9 years ago
Kenichiro IDA
894d18fba4
Alter FileDescriptorTables::kEmpty to GetEmptyInstance()
9 years ago
Jon Skeet
a4dc5968b1
Add JSON parsing to conformance tests.
9 years ago
Tim Swast
1cc541b3be
Add region tags to the Go protobuf examples.
...
This will allow us to like to specific snippets of code in the
documentation. I plan to create a tutorial similar to the C# tutorial
https://developers.google.com/protocol-buffers/docs/csharptutorial
Since that tutorial has sections for populating a proto, parsing, and
serializing, I made a region for each of these for Go. To make the
populating sample more self-contained, I refactor the listing example
slightly.
9 years ago
Jon Skeet
adee6fe332
Generated code changes from previous commit.
9 years ago
Jon Skeet
aabc6c411a
Make ToString() valid without a type registry
...
This addresses issue #1008 , by creating a JsonFormatter which is private and only different
to JsonFormatter.Default in terms of reference equality.
Other plausible designs:
- The same, but expose the diagnostic-only formatter
- Add something to settings to say "I don't have a type registry at all"
- Change the behaviour of JsonFormatter.Default (bad idea IMO, as we really *don't* want the result of this used as regular JSON to be parsed)
Note that just trying to find a separate fix to issue #933 and using that to override Any.ToString() differently wouldn't work for messages that *contain* an Any.
Generated code changes follow in the next commit.
9 years ago
Peter Newman
1808e8a479
Add the docs claimed define for HAVE_UNORDERED_MAP
...
Make the code match what the docs claimed, to return a define for HAVE_UNORDERED_MAP
9 years ago
Feng Xiao
13e1279d86
Remove internal options from proto files.
...
Change-Id: I3daf32cb93dfe0fca38f8b48615ccfc307f748e9
9 years ago
Feng Xiao
85c4c36c82
Remove the usage of C++11 override.
...
[skip appveyor]
Change-Id: I700f70e734abb6264db29369ecf227a9e1f783e7
9 years ago
Feng Xiao
1c10aca679
Add new files to Makefile.am
9 years ago
Feng Xiao
dc633398af
Merge pull request #1028 from benbennett/cmake_vs_parallel_build_flag
...
MSVC MP flag to build with multiple processes in visual studio.
9 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Thomas Van Lenten
99a6a95c75
Merge pull request #1041 from thomasvl/use_xc7
...
Update the min toolchain for iOS/OS X to be Xcode 7
9 years ago
Thomas Van Lenten
938ba41039
Update the min toolchain for iOS/OS X to be Xcode 7
...
- Let Xcode update the projects, schemes, and info.plists.
- Add workaround for shallow analyzer issues in current Xcode versions (deep analyze gets things correct).
- Tweak the Swift based tests to avoid warnings from Xcode 7's XCTest using optionals for autoenclosure results.
- No longer tag the ObjC iOS travis test as flaky, xctool seems to manage the simulator pretty well.
9 years ago
Thomas Van Lenten
2f2da0702d
Merge pull request #1039 from thomasvl/fix_cleans
...
Fix distclean and maintainer-clean to get more generated files.
9 years ago
Thomas Van Lenten
a20d0b6cd4
Fix dist_clean and maintainer-clean to get more generated files.
9 years ago
Joshua Haberman
014b9012d3
Merge pull request #1029 from keveman/master
...
Enable fast cpp protos in the python interface.
9 years ago
Feng Xiao
9cbf40873d
Merge pull request #1025 from Yangqing/master
...
Arena type traits standardization.
9 years ago
Yangqing Jia
031558bd36
Minor changes to match the internal version
9 years ago
Feng Xiao
723010dc54
Merge pull request #1033 from c0nk/wip-implicit-cast-fix
...
Fix narrowing implicit cast in generated message [NFC]
9 years ago
Manjunath Kudlur
96537c461a
Bringing in internal::shared_ptr into google:protobuf namespace.
...
Fixes #1029
9 years ago
Kal Conley
f42a68df54
Fix narrowing implicit cast in generated message [NFC]
9 years ago
Paul Yang
27c522940b
Merge pull request #1030 from TeBoring/sandbox
...
Use angle bracket for well known type proto header.
9 years ago
Bo Yang
1f0286a404
Use angle bracket for well known type proto header.
9 years ago
Thomas Van Lenten
46be1d06f5
Merge pull request #1034 from thomasvl/static_assert_fix
...
Use compiler provided static assert and avoid tripping unused-local-typedef warnings.
9 years ago
Thomas Van Lenten
52b8d3fe78
Use compiler provided static assert and avoid tripping unused-local-typedef warnings.
9 years ago
Manjunath Kudlur
d03ef20039
Made targets relative to google/protobuf
...
Fixes #1029
9 years ago
Manjunath Kudlur
7b311afc3e
Added util/python/BUILD to provide //util/python:python_headers dependency for building use_fast_cpp_protos
9 years ago
Manjunath Kudlur
a194921527
Made building the python extension configurable via --define=use_fast_cpp_protos=true
9 years ago
Manjunath Kudlur
3f9b4f2944
Updated for c++98 compatibility
9 years ago
Manjunath Kudlur
3ff1dca0bd
Enable fast cpp protos in the python interface.
9 years ago
Benjamin Bennett
9fc4d90cab
MSVC MP flag to build with multiple processes in visual studio.
9 years ago
Thomas Van Lenten
9bd74b7f25
Merge pull request #1027 from thomasvl/more_nullable_support
...
Enable CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION for the projects.
9 years ago
Thomas Van Lenten
c27833b632
Enable CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION for the projects.
9 years ago
Yangqing Jia
bbf64cee3d
Arena type traits standardization.
...
This is adapted from the branch of @xfxyjwf at:
494716a682
and should solve the protobuf compilation problem against nvcc.
Tested against nvcc 6.5 and 7.0.
9 years ago
Jisi Liu
b1b9c254e2
Merge pull request #1024 from martinmaly/wkt
...
Making _genproto rules public.
9 years ago
Joshua Haberman
ba6a28ea9c
Merge pull request #1022 from haberman/python-conformance2
...
Conformance test implementation for Python.
9 years ago
Martin Maly
8e0c9a3f11
Making _genproto rules public.
...
This enables other xx_proto_library targets to depend on xx_proto_library
targets in different packages, and specifically on xx_wkt_protos.
9 years ago
Joshua Haberman
01e00d251b
Merge pull request #1023 from girving/py3
...
Add srcs_version = "PY2AND3" in BUILD files
9 years ago
Josh Haberman
874eb3648e
Remove all bare strings as exceptions.
9 years ago
Geoffrey Irving
29799238c2
Add srcs_version = "PY2AND3" in BUILD files
...
The sources themselves appear to already be Python 3 clean.
9 years ago
Josh Haberman
4b31ffa488
Added Python failure lists, and fixes to make sure failure propagates.
9 years ago
Jisi Liu
dbc91e9797
Merge pull request #1014 from damienmg/master
...
Fix headers for gmock.BUILD
9 years ago
Josh Haberman
a3faf080e3
Added JSON support to Python conformance tests.
9 years ago
Josh Haberman
325392dd61
Conformance test implementation for Python.
9 years ago
Thomas Van Lenten
77d56e3e83
Merge pull request #1021 from thomasvl/fix_err_msg
...
Tweak the error message as the generate is in the core binary these d…
9 years ago
Thomas Van Lenten
536059e569
Tweak the error message as the generate is in the core binary these days.
9 years ago