Commit Graph

224 Commits

Author SHA1 Message Date
Nathaniel Manista befd64eace Merge pull request #572 from ctiller/dox7
Clarify completion queue laws
2015-02-18 13:27:45 -08:00
Nathaniel Manista d50bf4d98a Merge pull request #563 from ctiller/dox4
Expand init/destroy documentation
2015-02-18 13:27:04 -08:00
Craig Tiller 7326901767 Merge pull request #579 from yang-g/c++api
change metadata getters to return const&
2015-02-18 13:18:53 -08:00
Yang Gao d0d007e6d1 change metadata getters to return const& 2015-02-18 10:28:09 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 6d5f42e79a Fix copyright notice 2015-02-18 08:31:24 -08:00
Craig Tiller aface44b34 Merge pull request #573 from yang-g/c++api
Changes to support server metadata.
2015-02-18 07:35:35 -08:00
Yang Gao 2b7f537546 Add metadata test with rpc. Adding/fixing things to make it work 2015-02-18 00:45:53 -08:00
Nathaniel Manista 4ddf950c89 Merge pull request #562 from ctiller/dox3
More channel argument documentation.
2015-02-17 23:10:16 -08:00
Craig Tiller 8ac56c9607 Clarify completion queue laws 2015-02-17 22:51:36 -08:00
Craig Tiller 7bd5ab1055 Merge github.com:grpc/grpc into c++api
Conflicts:
	src/core/surface/server.c
2015-02-17 22:29:04 -08:00
Yang Gao 52342b3950 Merge pull request #561 from ctiller/dox
Fix shutdown semantics.
2015-02-17 22:12:46 -08:00
Craig Tiller 1ece67cba2 Merge github.com:grpc/grpc into c++api 2015-02-17 22:02:34 -08:00
Craig Tiller e7163ab625 Expand comment 2015-02-17 20:46:08 -08:00
Craig Tiller d251ab9e71 Attempt to better explain secure server creation 2015-02-17 17:22:14 -08:00
Craig Tiller a0e34a0b90 Expand init/destroy documentation 2015-02-17 17:06:23 -08:00
Craig Tiller 29f2b219a8 Add channel argument documentation 2015-02-17 17:01:42 -08:00
Craig Tiller aea2fc053d Fix shutdown semantics.
Document what they should be, ensure they're triggered, and fix what was broken.
2015-02-17 16:54:53 -08:00
Craig Tiller ab294db744 Add some comments 2015-02-17 15:00:19 -08:00
Yang Gao f2c0ca4c62 Add setter to override authority header on ClientContext 2015-02-17 10:21:31 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Craig Tiller cfdef957ad Merge github.com:grpc/grpc into c++api 2015-02-16 11:13:22 -08:00
Nathaniel Manista 6d41a054f9 Documentation tweaks in grpc.h. 2015-02-16 02:12:48 +00:00
Craig Tiller 771fefb41b Merge pull request #18 from yang-g/c++api
Add missing APIs and a first metadata test, and test passes
2015-02-13 16:30:49 -08:00
Yang Gao 406b32f663 Add missing APIs and a first metadata test, and test passes 2015-02-13 16:25:33 -08:00
Nicolas "Pixel" Noble fbdd7abdca Cleaning up our posix definition / usage.
-) Let's not use _POSIX_SOURCE. It usually implies too much C99. _BSD_SOURCE would be the right thing to do here.
-) _BSD_SOURCE is getting deprecated by glibc, so we also have to define _DEFAULT_SOURCE under Linux.
-) accept4 and eventfd arn't as old as we may think; let's detect for it.
-) stdint.h interferes with all these definitions if included too early; let's move it down.
2015-02-14 00:23:19 +01:00
Craig Tiller 8c22f05f21 Minor compile fix 2015-02-13 15:11:57 -08:00
Yang Gao 005f18a6a1 change ServerAsyncReader API and add a simple clientstreaming test, it passes 2015-02-13 10:22:33 -08:00
Yang Gao 0c7aafaa0c change AddRecvMessage signature 2015-02-12 22:51:38 -08:00
Yang Gao c17e861aa0 more nullptr for got_message 2015-02-12 22:22:23 -08:00
Craig Tiller 0220cf14b0 Add end2end async unary single threaded test (compiles) 2015-02-12 17:39:26 -08:00
Craig Tiller c645306b64 Fixes 2015-02-12 17:32:57 -08:00
Craig Tiller 0d1f67f4e5 Merge github.com:google/grpc into c++api
Conflicts:
	Makefile
2015-02-12 17:14:30 -08:00
Yang Gao 31150f01db implement async unary call 2015-02-12 16:44:00 -08:00
Yang Gao 555a0e9e77 Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 16:12:36 -08:00
Yang Gao cbcc977857 fix sync unary call with metadata pieces 2015-02-12 16:09:08 -08:00
Craig Tiller 6b6c3dd2c9 Merge pull request #500 from nicolasnoble/secure_getenv
Not all Linuxes are equal, and secure_getenv isn't always there.
2015-02-12 16:07:28 -08:00
Craig Tiller ec3257c120 Fix end2end leaks 2015-02-12 15:59:43 -08:00
Craig Tiller 3d20c5e8c6 Merge pull request #13 from yang-g/c++api
Make codegen generate async client calls
2015-02-12 15:25:53 -08:00
Yang Gao 068c85b21c make codegen generate async client calls 2015-02-12 15:21:24 -08:00
Craig Tiller d4ebeeb7fb Async server streaming 2015-02-12 14:57:17 -08:00
Craig Tiller 3d6ceb6461 Async server dispatch 2015-02-12 14:33:54 -08:00
Yang Gao 5705fe3fca Add a cq argument in ClientAsync ctor and give it to the Call 2015-02-12 14:30:34 -08:00
Craig Tiller 984b09087f Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 14:11:25 -08:00
Craig Tiller 1c9a2a91ca Async API progress 2015-02-12 14:10:25 -08:00
Yang Gao 0b18a8bd4c typo fix 2015-02-12 13:37:33 -08:00
Yang Gao 106906924f implement ServerAsyncResponseWriter for unary call 2015-02-12 13:27:14 -08:00
Yang Gao 9a2743a897 Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 12:05:47 -08:00
Yang Gao a38feb9be7 Implement async streaming APIs 2015-02-12 12:05:20 -08:00