422 Commits

Author SHA1 Message Date
Siddharth Nohria
42ff45f92d Replace Call::PerformOps with a direct call to CallOpSet::FillOps, and remove all dependance on CallHook.
PiperOrigin-RevId: 853570227
2026-01-07 23:00:17 -08:00
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
Cheng-Yu Chung
e28419f1f9 [cleanups] Remove class CoreCodegen and g_core_codegen_interface (#31875)
* Delete `g_core_codegen_interface`

* Automated change: Fix sanity tests

* Fix

* Update
2022-12-14 23:47:13 +08:00
Cheng-Yu Chung
47b9a57de9 Remove g_glip and class GrpcLibraryInterface (#30414)
* Remove `g_glip` and `class GrpcLibraryInterface`

* Update

* Update

* Update

* Automated change: Fix sanity tests (#20)

* Update

* Update

* Update

* Test

* Fix

* Revert "Test"

This reverts commit 2f5c77e98d9601b84123377f3e3746be192c4cbf.

* More fix

* More fix

* More fix

* Minor fix

* Revert "Minor fix"

This reverts commit 1ee3ae4da1779fb8c2abc11dace06f09532b17d9.

* Revert "More fix"

This reverts commit 1fc234896b088ec51e02c1dde79cf70db1ef90ae.

* Revert "More fix"

This reverts commit 851393c0e6d668c9c36332b552eefc70be314a4c.

* Revert "More fix"

This reverts commit ed342a51d0dbd47eff20c7c2bbe10a523ea8ca92.

* Revert "Fix"

This reverts commit 286ad8e6394082243c8089c5f8ee904db5f49d7e.
2022-11-14 15:30:09 -05:00
Muxi Yan
0e00c43082 Move headers from grpc++ to grpcpp 2018-02-15 14:49:34 -08:00
yang-g
89464de6f0 Trim backup slice when it is larger than needed 2018-02-07 16:03:57 -08:00
Vijay Pai
e81ead58fb Improve CQ and cancellation comments 2018-02-06 11:46:17 -08:00
David Garcia Quintas
a21ab2ba29 Fix compression algorithm accessors 2018-02-01 16:24:00 -08:00
Jan Tattermusch
97209aee1a fix warning & typo 2018-01-26 09:57:41 +01:00
Muxi Yan
fb061c329a Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-19 12:20:15 -08:00
Vijay Pai
7500577593 Address review feedback; stop using result of 'what' 2018-01-09 10:55:37 -08:00
Vijay Pai
ab00654784 Tag new #else and #endif blocks with comments 2018-01-08 15:12:55 -08:00
Vijay Pai
9809ce38e9 Use appropriate preprocessor guards to allow building without exceptions 2018-01-08 15:12:55 -08:00
Vijay Pai
8fc3715a17 Catch exceptions from sync method handlers without crashing server 2018-01-08 15:12:55 -08:00
Vijay Pai
d5730c6c22 Allow no message on sync unary call, just like async 2017-12-22 23:48:58 -08:00
Muxi Yan
032e9b32dc Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-13 14:04:45 -08:00
yang-g
9c5d8267cd resolve comments 2017-12-11 17:00:33 -08:00
yang-g
69aec17562 Add dummy operator delete to make VS2015 not complain. 2017-12-11 15:52:50 -08:00
ncteisen
6193c63dab Reviewer feedback 2017-12-08 10:49:31 -08:00
Muxi Yan
6043006af1 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-06 22:29:12 -08:00
Muxi Yan
fc38142db6 Merge commit 'b0bad8f^' into fix-stream-compression-config-interface 2017-12-06 22:02:08 -08:00
Muxi Yan
38fcd0c6c3 clang-format 2017-12-06 18:55:05 -08:00
Muxi Yan
4a117f0be7 Merge e759d2a^ 2017-12-06 18:47:16 -08:00
ncteisen
11f6780bfd Add comment with API 2017-12-04 13:29:33 -08:00
ncteisen
64e0b10a97 Variable name consistency 2017-12-04 13:26:26 -08:00
ncteisen
b9cff78f9e Reviewer feedback 2017-12-04 13:17:01 -08:00
Noah Eisen
0d7f5e77c0 No null string ctor 2017-12-04 12:45:15 -08:00
ncteisen
74c106eff3 Add error string to C++ 2017-12-04 12:45:15 -08:00
ncteisen
14b27b847d Merge commit 'aa358d5e43' into no-more-extern-c 2017-11-29 16:43:00 -08:00
Vijay Pai
3aeff224ed Remove some dead code from a previous iteration of internal::Call 2017-11-28 23:12:51 -08:00
ncteisen
e8bb8749ed Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c 2017-11-21 16:22:00 -05:00
ncteisen
adbfbd5977 Remove all extern C 2017-11-17 14:08:57 -08:00
ncteisen
14c60f1d12 Fix segfault 2017-11-15 20:26:50 -08:00
ncteisen
0354c22d40 Save C++ for follow up PR 2017-11-15 18:22:11 -08:00
ncteisen
df817f3e1a Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-15 16:48:19 -08:00
Vijay Pai
2cb57e5ef4 Avalanching operations on completion queue should be private, not API 2017-11-14 12:07:55 -08:00
ncteisen
1037216ca1 Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-13 08:04:23 -08:00
ncteisen
40737d67ee Add error string to recv status API 2017-11-13 08:02:35 -08:00
yang-g
b90f0e66e5 relax for inlined bytes to avoid allocation 2017-11-09 09:54:54 -08:00
yang-g
c88185900d handle 0 byte size message... 2017-11-09 09:54:54 -08:00
yang-g
272eebbbcd Only allocate what we need in the last slice for proto serialization 2017-11-09 09:54:54 -08:00
Noah Eisen
9ad6068f66 Merge pull request #13199 from ncteisen/zero-copy
Refactor SerializationTraits
2017-11-07 11:42:24 -08:00
ncteisen
f97d2f5b37 Add init/shutdown to codegen interface 2017-11-06 17:49:57 -08:00
Vijay Pai
0f2cfdcc0f Merge pull request #13271 from vjpai/semi
Function shouldn't have semicolon afterward
2017-11-06 12:47:14 -08:00
Vijay Pai
35e14cfc6c Function shouldn't have semicolon afterward 2017-11-06 10:08:31 -08:00
Craig Tiller
baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
ncteisen
27a6713db3 Use protected, remove uneeded member variable 2017-11-01 18:23:03 -07:00
ncteisen
023726202a Refactor SerializationTraits 2017-10-31 13:15:27 -07: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