Feng Xiao
f35669b8d3
Merge pull request #4812 from htuch/fix-any-case
...
protostream_objectsource: preserve print options across Any.
7 years ago
Sydney Acksman
1f77342b78
Add msbuild targets to C# tools for protoc compilers ( #4648 )
...
* Added props to C# tools
* Add targets file to makefile.am
7 years ago
Feng Xiao
bdf0d1d6f8
Merge pull request #4811 from htuch/invalid-name-json
...
json: include field name in InvalidName status messages.
7 years ago
Harvey Tuch
395ae4f7ad
Added TODO for grouping options.
...
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
2d31d0c706
protostream_objectwriter: fix bug when Any is directly embedded in a map.
...
This came up when trying to round-trip the JSON<->proto3 conversion for
Envoy's envoy.admin.v2alpha.ConfigDump
(b903c1dc98/api/envoy/admin/v2alpha/config_dump.proto (L29)
).
Validated fix on the Envoy code base and via the provided unit test.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
0584084b7e
protostream_objectsource: preserve print options across Any.
...
Fixes #4771 . Based on the solution included in the issues from
@wangjinhua .
Validated this works with Envoy's /config_dump JSON rendering.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
6eb78b1e84
Additional whitespace.
...
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
Harvey Tuch
44a2a2fcab
json: include field name in InvalidName status messages.
...
This is invaluable for chasing down the culprit in failed JSON -> proto
conversions. We often see in Envoy that a failed JSON (or indirectly via
YAML) configuration won't load but it's unclear why.
Signed-off-by: Harvey Tuch <htuch@google.com>
7 years ago
cclauss
e9063ccf19
print() is a function in Python 3 ( #4754 )
7 years ago
Adam Cozzette
85ba13c9bf
Merge pull request #1261 from gjasny/disable-tls-for-osx-10.6
...
Disable thread local storage for OSX < 10.7
7 years ago
Adam Cozzette
e3ea413ab0
Merge pull request #4780 from mwei0210/master
...
check provided size to check whether to export
7 years ago
Feng Xiao
761a6275d4
Merge pull request #4797 from sankate/master
...
Fix typo in the doc
7 years ago
Sankate Sharma
ef31e70ee9
Fix typo in the doc
7 years ago
igorpeshansky
944693c44c
Add Google::Protobuf::Any.pack convenience class method. ( #4719 )
7 years ago
Feng Xiao
0c3db0269b
Merge pull request #4792 from google/issuetemplates
...
Update issue templates
7 years ago
Feng Xiao
778478b2a5
Add github issue templates
7 years ago
Khuzema Pithewan
6f88e12f9d
Add "override" for overridden virtual functions
...
Add "override" for overridden virtual functions.
Please refer following issue for discussion on this.
https://github.com/google/protobuf/issues/67
7 years ago
Feng Xiao
630757c3d9
Merge pull request #4306 from oniksan/upadate-thirdparty
...
Update third_party.md
7 years ago
ming
6074aaa988
not empty
7 years ago
Feng Xiao
77d4103685
Merge pull request #4626 from robhancocksed/master
...
Declare some generated C++ methods as static #4602
7 years ago
ming
9bfed46c41
check provided size
7 years ago
Feng Xiao
8af87de949
Merge pull request #2121 from mazurkin/issue-2108
...
issue-2108 [protoc/Java] Excessive copying on buildPartial()
7 years ago
Adam Cozzette
ad85c3b4a2
Added Kokoro protoc release build for OS X ( #4770 )
...
This configuration builds both 32-bit and 64-bit binaries for Mac OS X.
One thing I had to change was to increase our minimum supported version
for 10.7 to 10.9, because 10.9 (Mavericks) appears to be the earliest
version supporting C++11.
7 years ago
medinandres
e264d6bc58
proto_writer.h: RenderBytes is an override. Marking it. ( #4707 )
...
* proto_writer.h: RenderBytes is an override. Marking it.
7 years ago
Feng Xiao
36c5780a3d
Merge pull request #4739 from asimshankar/tf-bytesize
...
Graceful failure in SerializeToArray().
7 years ago
Adam Cozzette
885be9c982
Work around MSVC issue with std::atomic initialization ( #4777 )
...
* Work around MSVC issue with std::atomic initialization
MSVC seems to have a bug where it does not use constant initialization
for std::atomic, which ends up causing crashes during initialization.
This change introduces a workaround by putting the std::atomic inside a
union, which causes the compiler to use constant initialization for it.
* Added an AppVeyor test for static linking with MSVC
7 years ago
Adam Cozzette
b0a8220e92
Added Kokoro Windows release build config for protoc ( #4766 )
...
This should make it easy to automatically build 32-bit and 64-bit
Windows protoc binaries.
7 years ago
Feng Xiao
b40cb4bc8b
Merge pull request #4760 from dslomov/fix-buildfile-references
...
Update build file locations.
7 years ago
Dmitry Lomov
8be6967ca8
Update build file locations.
...
Fixes https://github.com/bazelbuild/bazel/issues/5383 .
7 years ago
Yilun Chong
ef9d868353
Merge pull request #4755 from xfxyjwf/fix_benchmarks_link
...
Fix incorrect link.
7 years ago
Feng Xiao
2efcec95b6
Merge pull request #4748 from cmclean/master
...
Make proto_api target visible
7 years ago
Feng Xiao
beb2d8dd40
Merge pull request #4758 from dslomov/patch-1
...
Migrate to supported version of http_archive
7 years ago
Dmitry Lomov
e62c1bd034
Fix typo
7 years ago
Dmitry Lomov
31232c9b1e
Migrate to supported version of http_archive
...
Fixes #4727 .
7 years ago
Feng Xiao
7eef83d27a
Fix incorrect link.
7 years ago
Feng Xiao
4fda0f783b
Merge pull request #2811 from Dunemaster/master
...
Java: Mark sun.misc dependency as optional
7 years ago
Feng Xiao
f81a3910c0
Merge pull request #3901 from wijagels/master
...
Fix unused parameter warnings in generated code with arenas enabled
7 years ago
cclauss
35c6927cc1
import inspect ( #3507 )
...
Inspect is used five times on line 65-74 without being imported.
7 years ago
Cory McLean
b7d3ec3aa9
Make proto_api target visible
7 years ago
Feng Xiao
a0e82dbe56
Merge pull request #4725 from ThomasColthurst/patch-2
...
Remove cycle in dependency graph
7 years ago
Paul Yang
ce044817c7
Use legacy name in php runtime ( #4741 )
...
* Use legacy name in php runtime
Old generated code cannot work with new runtime, because the new runtime
assumes new class name for nested message. For details see #4738 .
* Remove unused method
7 years ago
Asim Shankar
2020e3d5ee
Graceful failure in SerializeToArray().
...
See https://github.com/tensorflow/tensorflow/issues/19657 for
motivation. But long story short, without this change:
m.SerializeToArray(buffer, m.ByteSizeLong());
would result in a CHECK failure if m.ByteSizeLong() returned a value
>2GB.
7 years ago
Paul Yang
d6353b489e
Update php version to 3.6.0 ( #4736 )
7 years ago
Adam Cozzette
ab8edf1dbe
Merge pull request #4713 from acozzette/changelog
...
Updated the change log with changes for 3.6.0
7 years ago
Adam Cozzette
6ed0141c2e
Merge pull request #4730 from acozzette/xcode
...
Cherry-picked XCode 10 fixes into 3.6.x branch
7 years ago
Loo Rong Jie
0456e269ee
Align Bazel on Windows with CMake's MSVC flags ( #4720 )
...
* Align Bazel on Windows with CMake's MSVC flags
7 years ago
Sergio Campamá
a3f31bf0e2
Update code to work for Xcode 10b1 ( #4729 )
...
* Update code to work for Xcode 10b
* Update README and test scripts to mention that Xcode 7 is no longer supported
7 years ago
Sergio Campamá
6933e2f499
Update code to work for Xcode 10b1 ( #4729 )
...
* Update code to work for Xcode 10b
* Update README and test scripts to mention that Xcode 7 is no longer supported
7 years ago
Adam Cozzette
9b77e9efe1
Removed javanano from post_process_dist.sh
7 years ago
Thomas Colthurst
ee8d3aa308
Remove cycle in dependency graph
7 years ago