Commit Graph

134 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
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 fd4884a768 Address review comments 2018-01-10 18:47:09 +00: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 06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -07:00
Vijay Pai 6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07:00
hxcan.cai ba65002de4 Fix error in Doxygen comment. 2017-07-24 13:51:10 +08:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -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
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +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
Mark D. Roth 127fdaeace More Doxygen comment improvements. 2017-05-19 13:16:13 -07:00
Mehrdad Afshari 4601bc254b tiny edit and linking entities 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 493f444c73 minor: prefer more formal 'it is' to it's 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 3cd6cf4983 Fix documentation for Server::AddListeningPort
Clarify that Port is actually an endpoint.
Fix typos
Clarify that it should be used before starting the server.
2017-05-17 23:30:07 -07:00
Mehrdad Afshari bcd6ca5033 Link to grpc_server symbol 2017-05-17 23:30:07 -07:00
Mehrdad Afshari 24b6d39212 Clarified GlobalCallbacks documentation comment
Make it clear that "global" and "per application" means
shared among all grpc::Server instances.
2017-05-17 23:30:07 -07:00
Mehrdad Afshari 7ee630a3d7 Clarified grpc::Server documentation comment
Make it clear that the creation of the Server instance
is not supposed to happen by using the Server class
directly and they are instructed to use ServerBuilder.
2017-05-17 23:30:07 -07:00
Yang Gao c5fc2b7112 Merge pull request #10663 from yang-g/globalcallback
Update ServerGlobalCallback::AddPort api
2017-04-17 09:13:49 -07:00
yang-g eafeea48a9 Update ServerGlobalCallback::AddPort api 2017-04-14 12:34:10 -07:00
Craig Tiller a103f7bbdf update comments 2017-04-13 09:25:44 -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
yang-g d510fcfc6d Add ports to global server callback. 2017-03-31 11:00:02 -07:00
yang-g 55c6ebfd7a Merge branch 'master' into health 2017-02-17 09:55:03 -08:00
yang-g 076bac017b Remove async 2017-02-07 13:50:36 -08:00
yang-g f2fe4f7dbd Add a PreServerStart in global server callbacks 2017-02-07 12:47:22 -08:00
yang-g 8e708b12cb WIP 2016-12-29 11:44:36 -08:00
yang-g 50993b7a4c async first take 2016-12-29 10:00:27 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
yang-g c9d2954e55 more 2016-12-27 15:37:59 -08:00
yang-g 8d668d8324 default service 2016-12-27 15:37:59 -08:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Sree Kuchibhotla 26ef574874 clang format issues 2016-10-24 12:39:04 -07:00
Sree Kuchibhotla f72ec6b37b Move thread_manager.h header from server.h to server_cc.cc 2016-10-24 11:09:43 -07:00
Sree Kuchibhotla da069a506d Rename sync_methods_ to sync_requests_ 2016-10-19 11:22:29 -07:00
Sree Kuchibhotla 385c9b2f05 Address code review comments 2016-10-18 16:26:38 -07:00
Sree Kuchibhotla e4eb51f20c reorder params in Server 2016-10-18 11:51:28 -07:00
Sree Kuchibhotla d39f40da9e Fix include files 2016-10-13 15:21:14 -07:00
Sree Kuchibhotla 8f7739bcd6 Rename GrpcRpcManager -> ThreadManager 2016-10-13 15:12:55 -07:00
Sree Kuchibhotla 33382d0f53 Cleanup server_cc.cc 2016-10-03 15:15:49 -07:00
Sree Kuchibhotla 892dbf4d95 Make settings configurable 2016-09-27 19:42:27 -07:00
Sree Kuchibhotla 862acb9f3a fix shutdown crash 2016-09-26 09:48:48 -07:00
Sree Kuchibhotla 7974232f41 Merge branch 'master' into rpc_mgr 2016-09-21 11:17:41 -07:00
Sree Kuchibhotla 4028d2c11b More fixes 2016-09-21 10:45:33 -07:00
Sree Kuchibhotla aabada97a1 One RPCMgr instance per CQ 2016-09-21 01:39:13 -07:00
Mark D. Roth 6980362c4e Allow setting max send message size via C++ ServerBuilder API. 2016-09-06 08:15:36 -07:00
Sree Kuchibhotla 3ea9e247e0 some refactoring 2016-08-22 14:15:43 -07:00