Commit Graph

61 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
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
Blair Kutzman
c64be96372 Correct spelling of 'client'. 2017-09-05 12:45:32 -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
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
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
Craig Tiller
75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
Sree Kuchibhotla
2c614a7a7b clang 2017-03-28 12:54:20 -07:00
Sree Kuchibhotla
14ab588166 Merge branch 'master' into cq_create_api_changes 2017-03-28 12:37:00 -07:00
Sree Kuchibhotla
5bec133ba0 clang format 2017-03-24 10:03:22 -07:00
Sree Kuchibhotla
f2c32150ef Update C++ code 2017-03-22 03:01:24 -07:00
Yuxuan Li
bdc76ab37b bug fix 2017-03-08 10:59:31 -08:00
Yuxuan Li
34894e4b1c Implemented stream coalescing design
(RFC:https://github.com/grpc/proposal/pull/3). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Sree Kuchibhotla
1dbd981cf8 Prefix grpc_cq_polling_type enums with GRPC_CQ_ 2017-03-03 14:27:44 -08:00
Sree Kuchibhotla
982a6f2b1c C++ code changes in response to grpc_completion_queue_create() API change 2017-03-03 02:19:31 -08:00
yang-g
f07ed45439 Restore the NextMessageSize for streamed calls 2017-02-16 23:01:28 -08:00
Craig Tiller
1d77059e4b Fix integer overflow 2017-01-19 11:44:42 -08: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
075b18e77f Bug fix on failure condition 2016-10-13 12:05:40 -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
abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Mark D. Roth
3ad6188920 Fix a few lingering references to max_message_size. 2016-09-06 13:03:39 -07:00
David Garcia Quintas
d10f1775eb Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-03 12:42:02 +02:00
David Garcia Quintas
e3817f4fd1 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-31 00:25:29 +02:00
Vijay Pai
77073ce99f clang-format 2016-08-30 10:26:30 -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
Yuchen Zeng
59e835d431 Add comments 2016-08-19 15:23:23 -07:00
Yuchen Zeng
e0705e2dc2 Add ServerReaderWriterInterface 2016-08-19 15:13:43 -07:00
Vijay Pai
5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai
581097fe0d Make FCUnary and ServerReaderWriter derived classes of a new
ServerReaderWriterInterface so that some functions can be made
to accept either.
2016-08-04 10:50:51 -07:00
Vijay Pai
666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
David Garcia Quintas
1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
David Garcia Quintas
c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
Vijay Pai
2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
David Garcia Quintas
440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
Vijay Pai
0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -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
bd28936c86 Properly handle reviewer comment re concurrent Read 2016-06-21 18:03:37 -07:00
vjpai
ef01edf5b7 Fix review comments 2016-06-21 16:42:08 -07:00