Commit Graph

5732 Commits

Author SHA1 Message Date
Adam Cozzette
85ba13c9bf
Merge pull request #1261 from gjasny/disable-tls-for-osx-10.6
Disable thread local storage for OSX < 10.7
2018-06-20 13:02:16 -07:00
Adam Cozzette
e3ea413ab0
Merge pull request #4780 from mwei0210/master
check provided size to check whether to export
2018-06-20 10:48:08 -07:00
Feng Xiao
761a6275d4
Merge pull request #4797 from sankate/master
Fix typo in the doc
2018-06-19 23:46:27 -07:00
Sankate Sharma
ef31e70ee9 Fix typo in the doc 2018-06-19 23:09:04 -07:00
igorpeshansky
944693c44c Add Google::Protobuf::Any.pack convenience class method. (#4719) 2018-06-19 13:26:41 -07:00
Feng Xiao
0c3db0269b
Merge pull request #4792 from google/issuetemplates
Update issue templates
2018-06-19 11:53:19 -07:00
Feng Xiao
778478b2a5 Add github issue templates 2018-06-19 11:52:03 -07:00
Feng Xiao
630757c3d9
Merge pull request #4306 from oniksan/upadate-thirdparty
Update third_party.md
2018-06-18 20:52:53 -07:00
ming
6074aaa988 not empty 2018-06-19 11:47:21 +08:00
Feng Xiao
77d4103685
Merge pull request #4626 from robhancocksed/master
Declare some generated C++ methods as static #4602
2018-06-18 20:45:49 -07:00
ming
9bfed46c41 check provided size 2018-06-19 07:20:31 +08:00
Feng Xiao
8af87de949
Merge pull request #2121 from mazurkin/issue-2108
issue-2108 [protoc/Java] Excessive copying on buildPartial()
2018-06-18 15:00:06 -07:00
medinandres
e264d6bc58 proto_writer.h: RenderBytes is an override. Marking it. (#4707)
* proto_writer.h: RenderBytes is an override. Marking it.
2018-06-18 13:54:31 -07:00
Feng Xiao
36c5780a3d
Merge pull request #4739 from asimshankar/tf-bytesize
Graceful failure in SerializeToArray().
2018-06-18 13:53:19 -07:00
Feng Xiao
b40cb4bc8b
Merge pull request #4760 from dslomov/fix-buildfile-references
Update build file locations.
2018-06-13 10:25:46 -07:00
Dmitry Lomov
8be6967ca8 Update build file locations.
Fixes https://github.com/bazelbuild/bazel/issues/5383.
2018-06-13 11:06:18 +02:00
Yilun Chong
ef9d868353
Merge pull request #4755 from xfxyjwf/fix_benchmarks_link
Fix incorrect link.
2018-06-12 13:39:59 -07:00
Feng Xiao
2efcec95b6
Merge pull request #4748 from cmclean/master
Make proto_api target visible
2018-06-12 13:22:48 -07:00
Feng Xiao
beb2d8dd40
Merge pull request #4758 from dslomov/patch-1
Migrate to supported version of http_archive
2018-06-12 10:17:06 -07:00
Dmitry Lomov
e62c1bd034
Fix typo 2018-06-12 14:09:17 +02:00
Dmitry Lomov
31232c9b1e
Migrate to supported version of http_archive
Fixes #4727.
2018-06-12 14:03:16 +02:00
Feng Xiao
7eef83d27a Fix incorrect link. 2018-06-11 22:59:03 -07:00
Feng Xiao
4fda0f783b
Merge pull request #2811 from Dunemaster/master
Java: Mark sun.misc dependency as optional
2018-06-11 15:36:05 -07:00
Feng Xiao
f81a3910c0
Merge pull request #3901 from wijagels/master
Fix unused parameter warnings in generated code with arenas enabled
2018-06-11 14:37:05 -07:00
cclauss
35c6927cc1 import inspect (#3507)
Inspect is used five times on line 65-74 without being imported.
2018-06-11 14:17:46 -07:00
Cory McLean
b7d3ec3aa9 Make proto_api target visible 2018-06-11 12:18:45 -04:00
Feng Xiao
a0e82dbe56
Merge pull request #4725 from ThomasColthurst/patch-2
Remove cycle in dependency graph
2018-06-09 23:25:56 -07:00
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.
2018-06-07 09:24:42 -07:00
Loo Rong Jie
0456e269ee Align Bazel on Windows with CMake's MSVC flags (#4720)
* Align Bazel on Windows with CMake's MSVC flags
2018-06-05 19:03:24 -07:00
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
2018-06-05 15:14:19 -04:00
Thomas Colthurst
ee8d3aa308
Remove cycle in dependency graph 2018-06-04 16:38:58 -04:00
Yilun Chong
a4d16ed886
Merge pull request #4699 from BSBandme/add_proto2_to_proto3_plugin
Add proto2 to proto3 util
2018-06-04 12:03:58 -07:00
Yilun Chong
61dac6d592 Fix 2018-06-04 10:16:40 -07:00
Feng Xiao
a7252bf42d
Merge pull request #4698 from ThomasColthurst/proto_c_api
Introduce Proto C API; based on cl/198113115 by amauryfa
2018-06-03 14:54:53 -07:00
Feng Xiao
17ab85deab
Merge pull request #4714 from dcarp/reference_protobuf_d
Add reference to protobuf-d
2018-06-03 14:27:47 -07:00
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.
2018-06-02 11:19:25 +02:00
Feng Xiao
143851ed25
Remove js_embed binary. (#4709)
* Remove js_embed binary.
2018-06-01 11:00:04 -07:00
Adam Cozzette
dfa94c7692
Merge pull request #4710 from jtattermusch/upport_4706
Upport to master: Require C++11 and pass -std=c++11
2018-06-01 09:42:58 -07:00
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.
2018-06-01 09:44:36 +02:00
Adam Cozzette
f8262db919
Merge pull request #4703 from acozzette/thread-safety-annotations
Added Clang thread-safety annotations in mutex.h
2018-05-31 11:20:00 -07:00
Yilun Chong
193af9f4c1 Add proto2 to proto3 util 2018-05-30 17:06:45 -07:00
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.
2018-05-30 14:07:31 -07:00
Adam Cozzette
cf242503ec
Merge pull request #4676 from acozzette/update-changelog-script
Updated generate_changelog.py
2018-05-30 11:07:11 -07:00
Adam Cozzette
91aebb30c0
Merge pull request #4643 from acozzette/merge-3-5-x
Merge 3.5.x branch into master
2018-05-30 10:43:31 -07:00
Thomas Colthurst
7c6514245b Introduce Proto C API; based on cl/198113115 by amauryfa 2018-05-30 10:33:02 -04:00
Paul Yang
6b5fb0727a
Move methods out of class (#4697) 2018-05-29 21:51:54 -07:00
Paul Yang
7d1a8fff1b
Fix php memory leak test (#4692) 2018-05-29 10:25:05 -07:00
leovitch
2804902446 [ObjC] Add ability to introspect list of enum values (#4678)
Added new API to GPBEnumDescriptor to enable introspection of enum values.

Refactored implementation so that this contains a minimum of added code.

Clarified comments regarding behavior in the presence of the alias_allowed option.

Added unit tests for new functionality and for the alias case.
2018-05-29 08:08:00 -04:00
Paul Yang
264e615e8e
Add back GeneratedClassName to public (#4686)
These methods are used by grpc
2018-05-25 15:24:42 -07:00
Feng Xiao
6e7eeb3431
Merge pull request #4677 from xfxyjwf/bazel
Remove jruby from kokoro tests
2018-05-24 17:50:30 -07:00