Commit Graph

531 Commits

Author SHA1 Message Date
ncteisen 14c60f1d12 Fix segfault 2017-11-15 20:26:50 -08:00
ncteisen 0354c22d40 Save C++ for follow up PR 2017-11-15 18:22:11 -08:00
ncteisen df817f3e1a Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-15 16:48:19 -08:00
Vijay Pai 2cb57e5ef4 Avalanching operations on completion queue should be private, not API 2017-11-14 12:07:55 -08:00
ncteisen 1037216ca1 Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-13 08:04:23 -08:00
ncteisen 40737d67ee Add error string to recv status API 2017-11-13 08:02:35 -08:00
yang-g b90f0e66e5 relax for inlined bytes to avoid allocation 2017-11-09 09:54:54 -08:00
yang-g c88185900d handle 0 byte size message... 2017-11-09 09:54:54 -08:00
yang-g 272eebbbcd Only allocate what we need in the last slice for proto serialization 2017-11-09 09:54:54 -08:00
Noah Eisen 9ad6068f66
Merge pull request #13199 from ncteisen/zero-copy
Refactor SerializationTraits
2017-11-07 11:42:24 -08:00
ncteisen f97d2f5b37 Add init/shutdown to codegen interface 2017-11-06 17:49:57 -08:00
Vijay Pai 0f2cfdcc0f
Merge pull request #13271 from vjpai/semi
Function shouldn't have semicolon afterward
2017-11-06 12:47:14 -08:00
Vijay Pai 35e14cfc6c Function shouldn't have semicolon afterward 2017-11-06 10:08:31 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
ncteisen 27a6713db3 Use protected, remove uneeded member variable 2017-11-01 18:23:03 -07:00
ncteisen 023726202a Refactor SerializationTraits 2017-10-31 13:15:27 -07:00
Vijay Pai 7a648854e9
Adopt the static factory pattern (#10)
* Switch sync streams from "struct internal" to static factory in namespace internal

* Reduce diff size

* fix friends

* Use static factory pattern for async unary calls

* Use static factories for async streams

* clang-format
2017-10-27 10:22:51 -07:00
Vijay Pai 06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
thinkerou d582cdf0ae fix typo 2017-10-17 09:37:44 +08:00
Vijay Pai 953afecaaf Add an explicit void 2nd parameter to invocation of SerializationTraits 2017-10-13 14:11:45 -07:00
Vijay Pai a44cffa11f Base the new SerializationTraits API on implicit type conversion rather than SFINAE 2017-09-21 13:12:52 -07:00
Vijay Pai efce6e1e50 Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"" 2017-09-21 13:12:52 -07:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Jan Tattermusch 5432dd8874 Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer" 2017-09-14 17:55:42 +02:00
Vijay Pai 4a4bd1cd2d Merge pull request #12214 from vjpai/cereal_eye_sir
Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer
2017-09-13 13:43:39 -07:00
Vijay Pai 4433973242 Address review comments 2017-09-11 14:26:34 -07:00
Vijay Pai 1c32292c7b Address reviewer comments 2017-09-11 09:49:58 -07:00
Vijay Pai 677395558d Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer 2017-09-07 15:18:07 -07:00
Craig Tiller ff952d292f Merge github.com:grpc/grpc into write_completion 2017-09-07 12:52:44 -07:00
Blair Kutzman c64be96372 Correct spelling of 'client'. 2017-09-05 12:45:32 -07:00
Craig Tiller 9bebf8b22a C++ API for write-through 2017-09-01 10:20:13 -07:00
Ken Payson 4754398f81 Clang_format 2017-08-30 08:31:38 -07:00
Ken Payson 567e0f1eb6 Have write ops take ownership over slices 2017-08-29 09:21:22 -07:00
Muxi Yan 7c62a35c6f Merge remote-tracking branch 'upstream/master' into stream_compression_config 2017-08-21 15:19:50 -07:00
Muxi Yan 229125abb1 Merge remote-tracking branch 'upstream/master' into stream_compression_config 2017-08-11 16:15:53 -07:00
Vijay Pai b18ab3f7c8 Delete deprecated constructor and CallOpSetCollectionInterface 2017-08-11 11:56:34 -07:00
Jan Tattermusch e68c0d1722 Revert "Reintroduce a lambda capture as part of C++11-izing code" 2017-08-03 12:42:24 +02:00
Muxi Yan 69b8fe02b6 Merge branch 'master' into stream_compression_config 2017-08-02 16:57:23 -07:00
yang-g e8a61d63b5 Add a default delete override for the interface 2017-08-02 09:31:24 -07:00
Muxi Yan c80526d122 Modify C++ and Objective C to initialize maybe_stream_compression_level 2017-07-27 11:16:49 -07:00
Vijay Pai bc81eee4d4 Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API 2017-07-25 01:51:28 -07:00
Vijay Pai 6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07:00
Mark D. Roth 65d447f2c3 Merge pull request #11454 from markdroth/server_cq_ok_semantics
Do not return calls on server when request proto fails to deserialize.
2017-07-18 12:19:45 -07:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -07:00
Mark D. Roth 0696611fb5 Do not return calls on server when request proto fails to deserialize. 2017-07-14 07:18:39 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
ncteisen 616dafd52c Partial revert of https://github.com/grpc/grpc/pull/10743 2017-07-12 15:31:38 -07:00
Mehrdad Afshari 2ca8282846 Merge pull request #11738 from mehrdada/canonica-urls
Use https://grpc.io consistently as the canonical URL
2017-07-11 11:41:14 -07:00
Yang Gao 6eaaa923fa Merge pull request #11731 from yang-g/cpp_is_hard
Avoid use after free if the sneaky op is owned by the collection
2017-07-11 10:39:11 -07:00