Commit Graph

551 Commits

Author SHA1 Message Date
Craig Tiller 64914ae6b5 Merge pull request #5128 from yang-g/inherit_from_grpc_library
Add missing base class
2016-02-08 15:14:29 -08:00
Vijay Pai 30bf3ea4b9 clang-format 2016-02-08 13:21:07 -08:00
yang-g 46d22d5fa7 add missing base class 2016-02-08 12:27:10 -08:00
Vijay Pai c593ca0171 reset the shared_ptr 2016-02-08 11:38:42 -08:00
Vijay Pai bedf57fe8c Ref the collection only when it will be used (and later finalized) 2016-02-05 16:45:54 -08:00
Vijay Pai 2b5638668e Drop the ref 2016-02-05 15:11:36 -08:00
Vijay Pai 5506bea349 Undo much of the previous commits so that only CallOpSet groups
with a Sneaky member are in a collection.
2016-02-05 14:23:24 -08:00
Vijay Pai 7e3f9b0178 Forgot to include these edits in the last commit 2016-02-05 13:43:17 -08:00
Vijay Pai 38004a8e39 Wrap groups of related CallOpSet's into a ref-counted structure
whenever appropriate so as to avoid any unintentional free-before-use
problems.

Potential performance issue: this triggers an additional allocation
for each Async call initiation, along with the cost of ref-counting
shared_ptr . But this is worth it for the additional safety provided
here without any change to the exposed C++ API.
2016-02-05 13:40:22 -08:00
Sree Kuchibhotla 3075c81028 Update comment on TryCancel() API 2016-01-29 18:25:22 -08:00
Sree Kuchibhotla f25c6ba229 Comments and format 2016-01-28 18:04:03 -08:00
Sree Kuchibhotla 7fa9d6f4c8 TryCancel() on ServerContext() 2016-01-28 17:32:48 -08:00
David Garcia Quintas d79ef3af71 Fixed wrong usage of global var 2016-01-28 00:21:27 -08:00
David Garcia Quintas 6523391782 sanity fixes 2016-01-27 20:07:36 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
David Garcia Quintas 5a9462339d copyrights 2016-01-27 19:22:14 -08: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
Craig Tiller 17b5047e46 Fix copyrights 2016-01-27 08:53:35 -08:00
Craig Tiller 64616496e2 Alternative ownership for global callbacks 2016-01-26 14:16:20 -08:00
David Garcia Quintas 6a48405ed0 pre sync_stream.cc creation. Does not compile 2016-01-25 19:12:37 -08:00
David Garcia Quintas b523c732d1 async_stream.h done. Compiles 2016-01-25 18:22:28 -08:00
David Garcia Quintas 3452ae27c1 copyrights 2016-01-25 17:34:49 -08:00
David Garcia Quintas 2425bbbc55 Further work. Compiles. WIP 2016-01-25 17:32:48 -08:00
David Garcia Quintas 28991142fa Improved a couple error messages 2016-01-22 13:56:45 -08:00
David Garcia Quintas ddcb53a9de made codegen targets in build.yaml 2016-01-21 17:48:34 -08:00
David Garcia Quintas 1d9b8079cb clang-format 2016-01-21 10:08:22 -08:00
David Garcia Quintas a43aadd7e1 fixed copyrights 2016-01-21 10:01:28 -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 6190854157 updated copyrights 2016-01-20 11:21:27 -08:00
David Garcia Quintas a701ed7759 Merge branch 'proto_interfaces' into yang-g-sync_async_mix 2016-01-19 18:44:47 -08:00
David Garcia Quintas 1f4e72c19c override -> GRPC_OVERRIDE 2016-01-19 14:45:32 -08:00
David Garcia Quintas 1aeabd7194 regenerated projects 2016-01-19 11:23:37 -08:00
David Garcia Quintas a8b866b0b7 Merge branch 'master' of github.com:grpc/grpc into proto_interfaces 2016-01-19 10:33:21 -08:00
David Garcia Quintas 44f3249018 Introduced ServerInterface 2016-01-15 16:49:16 -08:00
Bogdan Drutu 4bda41fa50 Merge remote-tracking branch 'upstream/master' 2016-01-15 15:26:38 -08:00
yang-g 4fac82b672 remove outdated api 2016-01-15 13:15:32 -08:00
yang-g ad63510102 Add a test with two methods generic 2016-01-15 13:11:37 -08:00
yang-g 1ac6f4594e warn user when they forget register generic service 2016-01-15 11:46:40 -08:00
yang-g f48766d347 fix copyright 2016-01-15 11:26:31 -08:00
yang-g 269b8be406 add generic test 2016-01-15 10:46:26 -08:00
yang-g 0bbc87f599 Add generic support 2016-01-15 09:22:50 -08:00
yang-g 8053d2feb6 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 08:53:15 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
Bogdan Drutu ee142ab634 Merge remote-tracking branch 'upstream/master' 2016-01-14 15:33:30 -08:00
David Garcia Quintas 752c36a588 Merge branch 'master' of github.com:grpc/grpc into proto_interfaces 2016-01-14 13:57:55 -08:00
Craig Tiller 21c0ebf6d4 Merge pull request #4653 from murgatroid99/release-0_12_master_merge
Release 0 12 master merge
2016-01-14 12:47:37 -08:00
yang-g b9a1377fab Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-14 09:50:48 -08:00
Craig Tiller 754bd26e28 clang-format code 2016-01-14 06:10:15 -08:00