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
Yilun Chong
a4d16ed886
Merge pull request #4699 from BSBandme/add_proto2_to_proto3_plugin
...
Add proto2 to proto3 util
7 years ago
Yilun Chong
61dac6d592
Fix
7 years ago
Feng Xiao
a7252bf42d
Merge pull request #4698 from ThomasColthurst/proto_c_api
...
Introduce Proto C API; based on cl/198113115 by amauryfa
7 years ago
Feng Xiao
17ab85deab
Merge pull request #4714 from dcarp/reference_protobuf_d
...
Add reference to protobuf-d
7 years ago
Dragos Carp
ceaf0122f2
Add reference to protobuf-d
...
https://github.com/dcarp/protobuf-d is a conformance tested proto3
runtime library and code generator for D.
7 years ago
Adam Cozzette
adf84b47f9
Updated the change log with changes for 3.6.0
7 years ago
Feng Xiao
143851ed25
Remove js_embed binary. ( #4709 )
...
* Remove js_embed binary.
7 years ago
Adam Cozzette
dfa94c7692
Merge pull request #4710 from jtattermusch/upport_4706
...
Upport to master: Require C++11 and pass -std=c++11
7 years ago
Adam Cozzette
5f418d4776
Require C++11 and pass -std=c++11
...
This commit updates the Autotools build to require a C++11 compiler and
explicitly pass -std=c++11. This seems to be necessary for enabling
C++11 support in older compilers.
7 years ago
Adam Cozzette
7e199b9e35
Merge pull request #4706 from acozzette/cxx-11
...
Require C++11 and pass -std=c++11
7 years ago
Adam Cozzette
f8262db919
Merge pull request #4703 from acozzette/thread-safety-annotations
...
Added Clang thread-safety annotations in mutex.h
7 years ago
Adam Cozzette
39d2f703b8
Require C++11 and pass -std=c++11
...
This commit updates the Autotools build to require a C++11 compiler and
explicitly pass -std=c++11. This seems to be necessary for enabling
C++11 support in older compilers.
7 years ago
Yilun Chong
193af9f4c1
Add proto2 to proto3 util
7 years ago
Paul Yang
a239ed2bda
Merge pull request #4702 from TeBoring/3.6.x
...
Cherry-pick changes into 3.6.x
7 years ago
Adam Cozzette
adc408698a
Added Clang thread-safety annotations in mutex.h
...
For Clang's thread safety analysis (-Wthread-safety) to pass without warnings,
we need to annotate WrappedMutex to indicate that Lock() acquires the lock and
Unlock() releases it. This CL adds the annotations and guards them with an
ifdef to make sure they're a no-op on compilers other than Clang.
This is a cherry-pick of a change I already made to the Google-internal
codebase.
7 years ago
Adam Cozzette
cf242503ec
Merge pull request #4676 from acozzette/update-changelog-script
...
Updated generate_changelog.py
7 years ago
Paul Yang
4f5eb100bb
Move methods out of class ( #4697 )
7 years ago
Paul Yang
397ddf9e5c
Add back GeneratedClassName to public ( #4686 )
...
These methods are used by grpc
7 years ago