106 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 d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -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
Craig Tiller e8c47036fb Update comments 2017-11-29 09:37:51 -08:00
Craig Tiller ba5f5cedd6 ServerBuilder interface cleanup
Nothing is added or removed in this PR.

Instead, methods are re-ordered so that important methods are read
first, and less important customization methods are seen later.

The intent here is to simplify the "I just want to bring a server up"
code path.
2017-11-28 14:28:43 -08:00
Ken Payson fcfa440b20 Default to 1 cq per sync server 2017-11-10 13:59:54 -08:00
Ken Payson e1533572d5 Add back mpscq request matcher 2017-11-07 11:27:02 -08:00
Vijay Pai 06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -07:00
Anna Sapek 1e91362498 Fix param annotation for AddListeningPort() 2017-10-10 15:23:09 -07:00
K.K. Yap a6721a0979 Comment that IPv6 Any accepts both IPv4 and IPv6 connections. 2017-09-11 16:20:04 -07:00
Vijay Pai 66eaa32773 Specify that ServerCompletionQueue must be drained. 2017-09-07 15:35:21 -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 5e3699493d Merge pull request #11572 from vjpai/internalize
Separate internal-only and public parts of C++ API
2017-07-10 23:22:19 -07:00
Ken Payson b84a489f02 Revert "Reduce server memory usage"
This reverts commit 53e6b56e32.
2017-07-10 17:21:12 -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
David G. Quintas 672f15fbdd Merge pull request #11143 from dgquintas/dns_server
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-06-02 09:55:29 -07: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 98bb6323ae Yet another Doxygen comment syntax fix. 2017-05-22 08:25:59 -07:00
Mark D. Roth a4881ccd5e Fixed Doxygen comment syntax. 2017-05-22 07:24:55 -07:00
Mark D. Roth 127fdaeace More Doxygen comment improvements. 2017-05-19 13:16:13 -07:00
Mehrdad Afshari 27da5defc7 Minor edits and doxygenize some comments 2017-05-17 23:30:10 -07:00
Mehrdad Afshari c78e59663d minor: i.e->i.e. 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 4fea66062d minor: GRPC->gRPC 2017-05-17 23:30:08 -07:00
Mehrdad Afshari e456ce0806 minor: Link to GRPC_STATUS_IMPLEMENTED 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 3475cf72c8 Corrected the documentation for ServerBuilder::AddListenPort 2017-05-17 23:30:08 -07:00
Muxi Yan eb9b82b7e1 Merge pull request #11118 from muxi/backward-compat-dev
Add Backward compatibility API to C++
2017-05-17 16:08:24 -07:00
Muxi Yan f6b622c08a Take grpc_workaround_list as parameter 2017-05-17 10:34:10 -07:00
Muxi Yan b1e5bac392 Add /doc/workarounds.md 2017-05-16 11:07:55 -07:00
David Garcia Quintas 94ab1b55bf Make ServerBuilder accept (dns:///) URIs instead of just dns names 2017-05-15 15:27:11 -07:00
Muxi Yan 04f97ca022 Merge branch 'master' into backward-compat-dev 2017-05-12 12:25:43 -07:00
Muxi Yan f5b3db9c22 Use AddChannelArgument method 2017-05-09 17:12:24 -07:00
Muxi Yan cdc0d03b2d Add EnableWorkaround API to enable server workarounds 2017-05-09 16:26:51 -07:00
Craig Tiller b86da9503a Ensure at least one cq 2017-04-27 16:28:09 -07:00
Craig Tiller 6c1c8e5f04 Increase default CQ count from 1 to num_cpus 2017-04-27 15:30:22 -07:00
Sree Kuchibhotla 92290167d6 Minor changes 2017-04-21 15:40:27 -07:00
Sree Kuchibhotla 1898a29f7e Fixed pollers 2017-04-21 09:53:42 -07:00
Craig Tiller 827b061535 clang-format 2017-04-19 06:49:29 -07:00
Craig Tiller 991c101de8 Initial thread manager fixes 2017-04-18 19:43:14 +00:00
Craig Tiller 4751c28b0b Add channel arguments to server builder 2017-03-08 09:03:12 -08:00
David G. Quintas 07383e7e28 Revert "Revert "Reduce memory bloat (each server cq is very expensive)"" 2016-12-17 17:07:37 -08:00
Craig Tiller 18b66a0df6 Revert "Reduce memory bloat (each server cq is very expensive)" 2016-12-12 15:23:41 -08:00
Sree Kuchibhotla 762ce2744c Reduce memory bloat (each server cq is very expensive in C-core layer) 2016-11-29 09:32:20 -08:00
Sree Kuchibhotla 1e088b4219 Merge branch 'master' into rpc_mgr 2016-10-28 17:34:55 -07:00
Sree Kuchibhotla 385c9b2f05 Address code review comments 2016-10-18 16:26:38 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Sree Kuchibhotla c37a8a56df Fix test 2016-10-13 15:40:15 -07:00
Sree Kuchibhotla 96766195a6 Refactor SyncServerSettings code 2016-10-13 12:42:54 -07:00