Commit Graph

53 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 e81ead58fb Improve CQ and cancellation comments 2018-02-06 11:46:17 -08:00
Jan Tattermusch c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions" 2018-01-12 10:16:22 +01:00
Vijay Pai 5dd32268be Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism 2018-01-08 10:02:38 -08:00
Vijay Pai 2cb57e5ef4 Avalanching operations on completion queue should be private, not API 2017-11-14 12:07:55 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -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
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
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
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
Craig Tiller 334c4678a3 Start building out C++ interface 2017-04-11 16:26:07 -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 fa71f6f369 Fix ASAN failure 2017-04-01 17:32:34 -07:00
Sree Kuchibhotla 74f419fe74 undo prev change 2017-03-24 15:11:06 -07:00
Sree Kuchibhotla 057230b0cd Minor bug 2017-03-24 15:03:55 -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
Sree Kuchibhotla 1dbd981cf8 Prefix grpc_cq_polling_type enums with GRPC_CQ_ 2017-03-03 14:27:44 -08:00
Sree Kuchibhotla 9f71b17707 Fix clang formatting issues 2017-03-03 12:54:58 -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
Craig Tiller e519a03a1f Small improvements to generated documentation 2017-01-06 12:41:21 -08:00
Vijay Pai 6510d47c81 gpr_atm isn't automatically initialized to 0. Thanks Obama. 2016-12-05 14:16:20 -08:00
Vijay Pai bf24dd9e51 clang-format 2016-12-05 13:59:09 -08:00
Vijay Pai cbe1599250 Track requests that could cause other requests to be created, and don't do
a real core shutdown of a CQ until such requests are done
2016-12-05 13:56:29 -08:00
Yuchen Zeng 66f3a4bbdf Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-09-15 11:21:52 -07:00
Yuchen Zeng 362ac1be0c Fix gprc 2016-09-13 16:01:31 -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
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 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 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
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
vjpai c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -07:00
vjpai ef01edf5b7 Fix review comments 2016-06-21 16:42:08 -07:00
vjpai b9df2760ed Add proper documentation of ordering and thread-safety for
streaming (sync and async) APIs
2016-06-17 00:27:00 -07:00
Sree Kuchibhotla 01907123f6 generate_projects.sh and fix copyright year 2016-04-21 15:09:13 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
David Garcia Quintas cd21266b5f Merge branch 'master' of github.com:grpc/grpc into codegen_lib 2016-03-15 17:10:45 -07:00
David Garcia Quintas 60ee8dd2fc docstrings 2016-03-08 17:21:42 -08:00
David Garcia Quintas b942640497 clang-format 2016-03-08 16:25:11 -08:00
David Garcia Quintas be25493398 codegen interface usage of gpr_inf_future 2016-03-08 16:24:35 -08:00
David Garcia Quintas e1ce31eda3 wip. cq refactored 2016-03-07 18:19:12 -08:00
Sree Kuchibhotla b0d1567e8e Revert "Revert "Properly integrate async API with server-side cancellations."" 2016-03-07 10:51:02 -08:00