Commit Graph

1201 Commits

Author SHA1 Message Date
Vijay Pai 73a50abd1d
Merge pull request #14286 from dgquintas/fix_compresion_alg_accessors
Fix compression algorithm accessors
2018-02-04 23:39:07 -08:00
David Garcia Quintas a21ab2ba29 Fix compression algorithm accessors 2018-02-01 16:24:00 -08:00
Vijay Pai fe75ef5b2d clang-format 2018-01-21 21:04:38 -08:00
Vijay Pai e1e7042919 Restructure to simplify, harden, and avoid forward declaration 2018-01-21 21:04:38 -08:00
Vijay Pai 2b226adf60 Remove alarm from core, implement in C++ layer only 2018-01-21 21:03:56 -08:00
Mehrdad Afshari 43884047c9 Regenerate projects 2018-01-19 14:25:15 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -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 b4b0ac7049 Resolve leak by freeing request payload if resources exhausted 2018-01-10 14:40:40 -08:00
Vijay Pai 92e267ec50 Add needed header 2018-01-10 18:45:08 +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
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00
Yash Tibrewal 36522e9f80 Merge master after no Extern C changes 2017-11-30 17:47:36 -08:00
Yash Tibrewal 10f2790f7f Merge branch 'master' into execctx 2017-11-30 10:54:42 -08:00
Yash Tibrewal c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
ncteisen aa358d5e43 Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c 2017-11-28 14:12:25 -08:00
Mehrdad Afshari 14e96f9ae8 Bump 1.8.0-dev to 1.9.0-dev 2017-11-27 17:14:15 -08:00
ncteisen 61c4d6b648 Fix stats 2017-11-17 14:08:57 -08:00
ncteisen adbfbd5977 Remove all extern C 2017-11-17 14:08:57 -08:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31:28 -08:00
Yash Tibrewal 6c26b16fe0 Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes 2017-11-14 18:11:22 -08:00
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -08:00
Craig Tiller be98d24841 clang-format after nullptr changes 2017-11-10 15:26:57 -08:00
Craig Tiller 4ac2b8e585 Enable clang-tidy as a sanity check, fix up all known failures 2017-11-10 14:14:17 -08:00
Yash Tibrewal 4e9265c828 Merge with master 2017-11-09 17:46:29 -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
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
ncteisen 023726202a Refactor SerializationTraits 2017-10-31 13:15:27 -07:00
Yuchen Zeng b16df75471 Update with internal C++ interfaces 2017-10-30 12:09:16 -07:00
Yuchen Zeng 6a48dc544e Remove c++ channel connectivity watcher 2017-10-30 12:06:52 -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
yang-g 903981adb6 Catch out of order error code 2017-10-25 10:46:35 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Vijay Pai 53cec0fc8f Update create_channel.cc 2017-10-17 06:46:19 -07:00
Krasimir Georgiev 1f42fae4c5 Fix initialization bug in channel creation 2017-10-17 08:38:20 +02:00
Craig Tiller a19a073ebc Workaround bug for a moment 2017-10-13 11:38:37 -07:00
murgatroid99 9887379158 Update version to 1.8.0-dev, update g word to 'generous' 2017-10-02 17:31:33 -07:00
ncteisen 520cc8f555 Fix ClangTidy 2017-09-29 10:37:45 -07:00
Mark D. Roth ede8ed2156 Merge pull request #12374 from markdroth/plugin_credentials_api_fix
Change plugin credentials API to support both sync and async modes
2017-09-29 07:26:50 -07:00
yang-g cfd20c4262 Add CompositeCallCredentials 2017-09-28 22:00:35 -07:00
Mark D. Roth 6456e494a8 Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix 2017-09-28 15:16:14 -07:00
Mark D. Roth 61b26f97b0 Code review changes. 2017-09-28 08:40:03 -07:00
Juanli Shen fe40815682 Readd grpclb fallback 2017-09-27 12:27:20 -07:00
Mark D. Roth b4c01f9e29 Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix 2017-09-25 12:36:30 -07:00
Vijay Pai 2046d0b3c5 Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip 2017-09-21 22:23:44 -07:00
Vijay Pai a44cffa11f Base the new SerializationTraits API on implicit type conversion rather than SFINAE 2017-09-21 13:12:52 -07:00