Commit Graph

418 Commits

Author SHA1 Message Date
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
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Vijay Pai c0baec60a1 Internalize structs and methods meant for being exposed through codegen
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
yang-g d03594fb73 second try 2017-07-10 14:23:00 -07:00
yang-g 0d9caecde2 Unref the call first in case the collection is still used in call 2017-07-10 11:24:53 -07:00
yang-g a3d929169f Use pointer to avoid assignment and race. 2017-07-08 00:57:20 -07:00
Vijay Pai 17bf3e1434 Merge pull request #11705 from vjpai/typos
Resolve typos
2017-07-07 08:44:33 -07:00
Vijay Pai 28ee1ecdf0 Resolve typos 2017-07-06 14:46:37 -07:00
Noah Eisen 67a40548ca Initialize pending_ops false 2017-07-06 09:34:06 -07:00
ncteisen 36bb8a0006 s/hanging/pending/g 2017-07-05 11:21:25 -07:00
ncteisen 43f2b55a07 Add repro and fix to bidi case 2017-07-05 10:33:21 -07:00
ncteisen 95f7a51746 Fix writelast bug 2017-07-05 10:33:21 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Vijay Pai 10c040d455 Move collection reset before unref (since unref could destroy obj) 2017-06-22 13:41:41 -07:00
Vijay Pai d35730d185 Fix use of terminal underscores in field names. 2017-06-22 12:06:44 -07:00
Vijay Pai fc539eb193 Re-enable public constructor for ClientAsyncResponseReader to avoid busting client that bypassed code generator. This code is deprecated-on-arrival as it is a performance pessimization. This code path should not be used. 2017-06-22 09:40:09 -07:00
Noah Eisen 5f5415eae3 Merge pull request #11429 from gkelly/fix-extra-semis
Remove extraneous semicolons.
2017-06-08 10:08:57 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Garret Kelly 0cd689202d Remove extraneous semicolons.
Fixes compilation if building with -Wextra-semi.
2017-06-07 14:56:06 -04:00
yang-g 63610c4740 Update comments to discourage having an OK status with error_message 2017-06-02 16:30:54 -07:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Mark D. Roth 34011f19ed Merge pull request #11246 from markdroth/doc_fixes
More Doxygen comment improvements.
2017-05-23 09:20:39 -07:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
Mark D. Roth 127fdaeace More Doxygen comment improvements. 2017-05-19 13:16:13 -07:00
Mehrdad Afshari a64ea5496d Corrected spelling 2017-05-17 23:16:48 -07:00
apolcyn 5d0b1aeade Merge pull request #10992 from apolcyn/doxygen_cpp_nits
Doxygen cpp nits
2017-05-17 22:45:27 -07:00
Alexander Polcyn 16153d11f8 address comments, description changes 2017-05-15 09:48:49 -07:00
Alexander Polcyn bb2c338924 format changes, address comments 2017-05-11 15:15:29 -07:00
Alexander Polcyn d6ba5ecc34 fix bad line breaks and lengths 2017-05-10 16:21:56 -07:00
Alexander Polcyn 41ff2e1ee6 address comments, format changes 2017-05-10 15:39:58 -07:00
ncteisen 22dbd73b43 Add static assert to enforce subtype invariant 2017-05-10 09:16:22 -07:00
Alexander Polcyn 0f02908e67 address comments 2017-05-09 14:28:58 -07:00
Alexander Polcyn d809a15ec4 cpp doc nits 2017-05-05 11:02:07 -07:00
ncteisen fde16afefa Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-05-05 10:27:17 -07:00
Vijay Pai 611e7e78de Reintroduce a lambda capture as part of C++11-izing code 2017-05-01 15:09:30 -07:00
David Garcia Quintas 97106a7ef2 Removed 3rd party dep on thrift 2017-04-28 13:11:11 -07:00
Craig Tiller 017b452b7b Use larger block size in proto write 2017-04-26 07:55:38 -07:00
ncteisen cc7e17b2d6 Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-04-21 08:06:12 -07:00
Craig Tiller 50f7e1aa84 Merge github.com:grpc/grpc into hybrid 2017-04-21 06:38:04 -07:00
Craig Tiller f5a1b75065 Merge pull request #10761 from ctiller/ubsan
Fix ubsan reported failure
2017-04-20 15:03:36 -07:00
Craig Tiller 59db187c85 Merge branch 'tsan-c++' into hybrid 2017-04-20 19:24:57 +00:00
Craig Tiller 56bbe02ca1 Fix ubsan reported failure 2017-04-20 08:37:36 -07:00
Craig Tiller 06a30eef36 Merge github.com:grpc/grpc into cpparena 2017-04-19 14:40:20 -07:00
ncteisen e107b0d439 Add to codegen interface, refactor proto serialization
This change allows for some internal proto serialization
changes to be made
2017-04-19 14:01:13 -07:00
yang-g 6bc701659c Remove status_helper as it is not needed any more 2017-04-18 10:36:36 -07:00
Craig Tiller c3666d7090 Merge github.com:grpc/grpc into hybrid 2017-04-14 13:15:56 -07:00
Craig Tiller 2c6f63731c Merge github.com:grpc/grpc into cpparena 2017-04-14 13:14:10 -07:00
Craig Tiller 957562780a Merge pull request #10583 from ctiller/server_start
Threading robustness
2017-04-14 08:53:01 -07:00
Craig Tiller a103f7bbdf update comments 2017-04-13 09:25:44 -07:00
Craig Tiller 57e6485e2d Merge github.com:grpc/grpc into hybrid 2017-04-13 06:46:27 -07:00
Sree Kuchibhotla aa5a92800f Merge branch 'master' into cq_create_api_changes 2017-04-13 03:13:17 -07:00
Craig Tiller c20fa90c60 Merge github.com:grpc/grpc into cpparena 2017-04-12 06:44:00 -07:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
Craig Tiller 334c4678a3 Start building out C++ interface 2017-04-11 16:26:07 -07:00
yang-g eceec8eaf6 Add helper function to supply and parse error_details from Status. 2017-04-11 16:07:24 -07:00
Craig Tiller 9d9313cfc6 Threading robustness
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
2017-04-11 15:05:46 -07:00
Sree Kuchibhotla f2b949b94a Merge branch 'master' into cq_create_api_changes 2017-04-10 13:35:50 -07:00
yang-g f4c8addded support C++ error_details 2017-04-07 15:52:16 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Craig Tiller d4e9a4863a Convert all async client stream types to not allocate 2017-04-05 15:41:59 -07:00
Craig Tiller fa416cbe3b Dont break codegen barrier 2017-04-05 15:14:30 -07:00
Craig Tiller 41f46ab665 Merge github.com:grpc/grpc into cpparena 2017-04-05 14:05:38 -07:00
Craig Tiller be094fc5e6 Fix compile 2017-04-04 09:31:28 -07:00
Craig Tiller e3b5921559 Potential msan fix 2017-04-04 09:28:54 -07:00
Sree Kuchibhotla 3f182df7de Fix C asan error and check_sources_and_headers.py 2017-04-02 03:44:43 -07:00
Sree Kuchibhotla c1a32fa46e Merge branch 'master' into cq_create_api_changes 2017-04-01 17:36:15 -07:00
Sree Kuchibhotla fa71f6f369 Fix ASAN failure 2017-04-01 17:32:34 -07:00
Craig Tiller 66051c618f Async end2end test passes 2017-03-31 09:16:35 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
Craig Tiller 547631eaf8 Merge github.com:grpc/grpc into cpparena 2017-03-31 07:50:01 -07:00
David G. Quintas d58e74e784 Merge pull request #10381 from dgquintas/remove_lr_from_server_context
Removed wrong LR include from codegen
2017-03-30 14:19:41 -07:00
Sree Kuchibhotla e04906dc54 Merge branch 'master' into cq_create_api_changes 2017-03-30 13:20:00 -07:00