Commit Graph

45 Commits

Author SHA1 Message Date
Yijie Ma
f99b8b5bc4 Convert c-style comments to C++-style comments (#31923)
* baseline

* fix clang-tidy

* manually revert these files

* manually fixup at eof

* revert 2 more files

* change check_deprecated_grpc++.py

* change end2end_defs.include template

* fix check_include_guards.py

* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py

not yet ready to be submitted

* fix

yapf check_include_guards.py
remove a space...

* fix version.cc.template

* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Muxi Yan
0e00c43082 Move headers from grpc++ to grpcpp 2018-02-15 14:49:34 -08:00
Vijay Pai
7500577593 Address review feedback; stop using result of 'what' 2018-01-09 10:55:37 -08:00
Vijay Pai
ab00654784 Tag new #else and #endif blocks with comments 2018-01-08 15:12:55 -08:00
Vijay Pai
9809ce38e9 Use appropriate preprocessor guards to allow building without exceptions 2018-01-08 15:12:55 -08:00
Vijay Pai
8fc3715a17 Catch exceptions from sync method handlers without crashing server 2018-01-08 15:12:55 -08:00
Vijay Pai
06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -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
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
677395558d Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer 2017-09-07 15:18:07 -07:00
Vijay Pai
6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07: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
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
Jan Tattermusch
7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Alexander Polcyn
d809a15ec4 cpp doc nits 2017-05-05 11:02:07 -07:00
Craig Tiller
62f28bfcf0 Remove double-checking of max-message-size in C++ layers 2017-01-19 10:05:13 -08:00
Vijay Pai
c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Vijay Pai
61536a7371 Making split streaming testable 2016-10-13 11:04:57 -07:00
Vijay Pai
db5b1cbc94 Add all plumbing and typedef's for controlled server-side streaming 2016-10-03 09:18:46 -07:00
Mark D. Roth
7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Mark D. Roth
6980362c4e Allow setting max send message size via C++ ServerBuilder API. 2016-09-06 08:15:36 -07:00
Vijay Pai
5c9a3438c5 clang-format 2016-08-30 20:52:32 -07:00
Vijay Pai
84033b1f6b Stick to StatusCode::INTERNAL when there's no service
response on a StreamedUnary
2016-08-30 20:50:43 -07:00
Vijay Pai
de2aec8106 Merge branch 'master' into fc_unary
Resolve conflicts in ServerReaderWriterInterface
Remove file server_streamed_unary.h and merge with sync_stream.h
2016-08-30 10:20:20 -07:00
Vijay Pai
d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
Vijay Pai
a9c0d7f88b Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
Vijay Pai
5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai
666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
David Garcia Quintas
440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
vjpai
c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -07:00
vjpai
fcb98a578c Add NextMessageSize method to all readable streams as an upper-bound
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
vjpai
726561ed06 Initial definition of flow-controlled unary type along with code generation for this type 2016-06-22 11:14:24 -07:00
Jan Tattermusch
b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
Craig Tiller
08eb0d6752 clang-format 2016-04-01 12:59:17 -07:00
Craig Tiller
399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Craig Tiller
6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller
f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
David Garcia Quintas
9eef377865 clang-format 2016-03-09 11:31:02 -08:00
David Garcia Quintas
b942640497 clang-format 2016-03-08 16:25:11 -08:00
David Garcia Quintas
6848c4e145 wip. prior to cq refactoring 2016-03-07 17:10:57 -08:00
David Garcia Quintas
6523391782 sanity fixes 2016-01-27 20:07:36 -08:00
David Garcia Quintas
6bd7b97dc6 DONE!!1one 2016-01-27 19:21:12 -08:00