Commit Graph

55 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
7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Craig Tiller
6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
David Garcia Quintas
6bd7b97dc6 DONE!!1one 2016-01-27 19:21:12 -08:00
David Garcia Quintas
e1300deb87 After GrpcLibrary refactoring. Compiles and passes. WIP still 2016-01-27 18:41:26 -08:00
David Garcia Quintas
08a0a3306e Made "codedgen" directories closed over #includes 2016-01-21 01:04:36 -08:00
David Garcia Quintas
f3ddb7c55a clang-format 2016-01-20 16:02:22 -08:00
David Garcia Quintas
e50c6c2f5e WIP. Added ChannelInterface 2016-01-13 16:02:00 -08:00
murgatroid99
3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Ian Coolidge
8e7a4b66e8 Fix R/W template argument order in prototypes
In some cases, the prototype argument order was different
than the declaration order.

Based on a patch from Sam Leffler.
2016-01-11 14:19:58 -08:00
Craig Tiller
d6599a39e4 Replicate C++ docs from master to beta branch
Original PR #3074 by @dgquintas
2015-09-03 09:37:02 -07:00
yang-g
9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g
8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
yang-g
9b7757dd35 Use a sync service to handle requests to unknown services 2015-08-13 11:15:53 -07:00
Craig Tiller
143e7bf0cf Introduce a clock type field onto gpr_timespec.
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
yang-g
adfed03146 Add missing headers to build.json 2015-06-23 13:01:22 -07:00
Craig Tiller
ce40de58da clang-format 2015-06-05 07:14:58 -07:00
Craig Tiller
50a7a68ca2 Progress commit on fixing up C++ 2015-06-04 12:53:40 -07:00
Craig Tiller
81fafa8971 Beginning the cleanup 2015-06-04 08:51:17 -07:00
Craig Tiller
f9e6adf998 Completion queue binding for new requests API change
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
2015-05-06 11:45:59 -07:00
Nicolas "Pixel" Noble
fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao
c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas Noble
89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Yang Gao
b7b965c842 Make Next free of time_point to timespec conversion 2015-03-20 15:27:51 -07:00
Yang Gao
050e37aab8 resolve merge error 2015-03-19 07:27:28 -07:00
Yang Gao
1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Nicolas "Pixel" Noble
eab96f51fb Dodging VisualStudio's #define of max(). 2015-03-19 06:41:10 +01:00
Yang Gao
757afaeb30 clang-format new changes 2015-03-17 15:49:26 -07:00
Yang Gao
d672d8fbe2 resolve merge confict 2015-03-17 15:47:47 -07:00
Yang Gao
6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
vjpai
7aadf46fdb Change to std::chrono and add a test. 2015-03-17 00:39:18 -07:00
Vijay Pai
c41bf3cb5a More sane ordering of methods 2015-03-12 05:19:34 -07:00
Vijay Pai
3e0a46a1c4 Change behavior to properly account for possibility of NULL
tag. This can happen if the tag is actually an integer being
typecast to void*

To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.

Still needs proper testing for the AsyncNext method specifically.
2015-03-12 05:16:31 -07:00
Vijay Pai
ee705f6d66 Add support for deadline on CompletionQueue::Next
If the deadline elapses, return true but have a null tag.
2015-03-11 15:52:43 -07:00
Yang Gao
7694c35d5f Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed 2015-03-03 09:48:06 -08:00
Nicolas "Pixel" Noble
1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller
d24d13d6eb Simplify TryPluck 2015-02-18 15:35:32 -08:00
Craig Tiller
eaaee49f9b Merge github.com:grpc/grpc into an-update-on-c++ 2015-02-18 13:14:15 -08:00
Craig Tiller
492968f7d9 Server side cancellation receive support 2015-02-18 13:14:03 -08:00
Craig Tiller
190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller
645466e089 Initial sketch 2015-02-18 09:18:33 -08:00
Craig Tiller
0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller
ab294db744 Add some comments 2015-02-17 15:00:19 -08:00
Craig Tiller
573523f127 clang-format 2015-02-17 07:38:26 -08:00
Yang Gao
31150f01db implement async unary call 2015-02-12 16:44:00 -08:00
Craig Tiller
04c8ff0245 Fix FinalizeResult signature 2015-02-11 11:01:07 -08:00
Craig Tiller
c416577636 Server progress 2015-02-11 10:51:04 -08:00
Craig Tiller
80e00a8c63 Stub out unary call wrapper 2015-02-09 20:54:25 -08:00
Craig Tiller
de917062ec Refine completion queue 2015-02-09 17:15:03 -08:00