Commit Graph

65 Commits

Author SHA1 Message Date
Craig Tiller 1a43f87134 De-C++11-ification 2015-03-02 09:08:05 -08:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
Craig Tiller b9d91eb454 Merge github.com:google/grpc into deprecate-c++
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
	test/cpp/end2end/end2end_test.cc
2015-02-23 17:13:40 -08:00
Craig Tiller e8eb8a4fd4 Merge github.com:grpc/grpc into credit 2015-02-23 14:56:42 -08:00
Craig Tiller e4fe844b67 s/CreateChannel/CreateChannelDeprecated
For the 2-argument version of CreateChannel.

This is a temporary step until #711 is ready to roll out.
2015-02-23 13:55:15 -08:00
Julien Boeuf c66f2a816e Addressing iniitial feedback.
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
  - Adding Cpp wrapping for JWT Tokens.
  - Renaming ComposeCredentials -> CompositeCredentials.
2015-02-23 13:00:36 -08:00
Craig Tiller ad9d0c472d Remove dynamic_cast 2015-02-23 10:53:01 -08:00
Craig Tiller 42bc87c097 Update C++ server with new core API
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00
Craig Tiller 47c83fdaf7 Credentials prototyping
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
Craig Tiller 2d11c93ab5 Merge github.com:grpc/grpc into an-update-on-c++ 2015-02-18 15:51:50 -08:00
Craig Tiller 8a287d1a1b Merge pull request #588 from yang-g/c++api
Async client api change. Add a ClientAsyncResponseReader.
2015-02-18 14:50:14 -08:00
Yang Gao 3a5e5495e5 Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side. 2015-02-18 14:32:38 -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 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
Yang Gao 2b7f537546 Add metadata test with rpc. Adding/fixing things to make it work 2015-02-18 00:45:53 -08:00
Yang Gao d745705fff formatting 2015-02-17 10:28:36 -08:00
Yang Gao bb017c5568 should use c_str 2015-02-17 10:26:15 -08:00
Yang Gao 76b693f69a Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-17 10:22:59 -08:00
Yang Gao f2c0ca4c62 Add setter to override authority header on ClientContext 2015-02-17 10:21:31 -08:00
Craig Tiller f95487fd7c Fix ASSERT condition 2015-02-17 10:19:40 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Yang Gao 406b32f663 Add missing APIs and a first metadata test, and test passes 2015-02-13 16:25:33 -08:00
Yang Gao 0c7aafaa0c change AddRecvMessage signature 2015-02-12 22:51:38 -08:00
Yang Gao 31150f01db implement async unary call 2015-02-12 16:44:00 -08:00
Yang Gao cbcc977857 fix sync unary call with metadata pieces 2015-02-12 16:09:08 -08:00
Yang Gao 068c85b21c make codegen generate async client calls 2015-02-12 15:21:24 -08:00
Craig Tiller 0156752a66 Some streaming progress 2015-02-11 21:08:49 -08:00
Craig Tiller 504bd331ab Make sure we get a close before stopping the server 2015-02-11 20:34:33 -08:00
Yang Gao 968ca530b2 Add trailing metadata to client context and use it. 2015-02-11 16:23:47 -08:00
Yang Gao 2382293226 Make it compile 2015-02-11 13:59:25 -08:00
Craig Tiller a5c0e7bc46 Initial metadata fix 2015-02-11 13:14:49 -08:00
Craig Tiller 20f4af2e36 Move call.h -> impl/call.h 2015-02-10 09:52:15 -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
Craig Tiller b470169252 Remove more unnecessary files 2015-02-09 16:12:00 -08:00
Craig Tiller 50950712c1 Further progress 2015-02-09 10:38:38 -08:00
Craig Tiller c4965751a0 Starting to scratch out the API 2015-02-09 09:51:00 -08:00
Craig Tiller 40d2a4307b Merge branch 'async-api-prep' of github.com:ctiller/grpc into async-api 2015-02-02 15:29:14 -08:00
Craig Tiller a7cac78516 Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 10:16:30 -08:00
Craig Tiller cce17ac033 First compiling version of the new C api. 2015-01-27 13:54:14 -08:00
murgatroid99 48c9c4a59e Resolved merge conflicts with master 2015-01-21 17:12:04 -08:00
Craig Tiller 724b7c693a clang-format 2015-01-20 22:44:10 -08:00
Craig Tiller 8379a06f8d Merge branch 'new_invoke_api' of github.com:google/grpc into update-api
Conflicts:
	src/cpp/client/channel.cc
	src/cpp/stream/stream_context.cc
	src/cpp/stream/stream_context.h
	src/php/ext/grpc/call.c
	test/core/end2end/tests/max_concurrent_streams.c
2015-01-20 22:43:32 -08:00
Julien Boeuf 8fbcc4391e Changing the SSL (Server) Credentials API.
- Changed the unsigned char * + size to NULL terminated strings which
  makes sense for the PEM format. I may change TSI later (but the impact
  will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
  when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
  option to not specify the roots which will then be derived from the
  environment (well-known platform dependent locations and/or
  environment variable).
- Fixed the php build which is the only one added in the run_test.py.
  This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Craig Tiller 09b637538f clang-format 2015-01-14 13:02:09 -08:00