Commit Graph

195 Commits

Author SHA1 Message Date
Craig Tiller 421e87a1b0 Merge github.com:grpc/grpc into c++api
Conflicts:
	Makefile
2015-02-13 14:23:54 -08:00
Craig Tiller 0220cf14b0 Add end2end async unary single threaded test (compiles) 2015-02-12 17:39:26 -08:00
Chen wang 842325110d Rename examples/tips to examples/pubsub 2015-02-12 17:29:18 -08:00
Jan Tattermusch adeaf63113 add more tests into build_and_run_tests.bat 2015-02-12 17:23:13 -08:00
Craig Tiller 24c06eada3 Run build cleaner 2015-02-11 21:26:45 -08:00
Craig Tiller 90690957fd Merge github.com:google/grpc into c++api 2015-02-11 21:25:50 -08:00
Craig Tiller f0ee545221 Merge pull request #497 from nicolasnoble/buildcheck
Ran build-cleaner, and re-generated project files.
2015-02-11 20:38:32 -08:00
Craig Tiller d9dd8fee04 Merge github.com:grpc/grpc into c++api 2015-02-11 18:19:24 -08:00
Craig Tiller d8b88dec91 Merge pull request #475 from dklempner/epoll
Epoll based multipoller
2015-02-11 18:19:11 -08:00
Craig Tiller 9d085a32d8 Generate more pleasing build.json output
run: was getting a little lost
2015-02-11 18:17:01 -08:00
Nicolas Noble 1407adb2a1 Ran build-cleaner, and re-generated project files. 2015-02-11 17:21:12 -08:00
Jan Tattermusch 6943fb3aed added cpu_windows.c 2015-02-11 15:27:23 -08:00
David Klempner 53eae7a3e0 Merge branch 'master' into epoll 2015-02-11 13:07:19 -08:00
Craig Tiller c416577636 Server progress 2015-02-11 10:51:04 -08:00
Jan Tattermusch 92e2e3f55e some VS project template fixes and added templates for grpc_csharp_ext 2015-02-11 10:45:51 -08:00
Craig Tiller 2dac79770e Merge github.com:grpc/grpc into c++api 2015-02-11 08:10:49 -08:00
Craig Tiller 187994e0fd Merge pull request #448 from nicolasnoble/grpc-win32
Windows port of iomgr.
2015-02-11 08:09:03 -08:00
Craig Tiller 5a4f991d5d Merge github.com:grpc/grpc into c++api
Conflicts:
	test/cpp/qps/server.cc
2015-02-11 07:56:42 -08:00
David Klempner baced4def0 Epoll based multipoller
This is a multipoller based on epoll rather than poll.

Note that this implementation is aimed at correctness rather than
performance, although it should immediately have better scalability to
large numbers of FDs, both due to epoll's O(1) sized API and due to not
needing to wake up polling threads to do interest set changes.

One notable difference here is that we directly attach a wakeup fd
rather than using the freelisting kick mechanism that the poll() based
implementations use, because modifying the epoll set to use a different
kick fd each time isn't free.
2015-02-10 20:12:15 -08:00
Vijay Pai 5438d4b214 Change link options for qps client and qps server 2015-02-10 10:36:20 -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
Nicolas "Pixel" Noble 811b07876c Merge branch 'master' of github.com:google/grpc into grpc-win32 2015-02-10 01:26:37 +01:00
Nicolas Noble 45e67a37ae Addressing comments. 2015-02-10 01:25:42 +01:00
Craig Tiller 65130596c1 Cleanup 2015-02-09 16:15:53 -08:00
Craig Tiller b470169252 Remove more unnecessary files 2015-02-09 16:12:00 -08:00
Craig Tiller 40fcdaff0a Remove stream_context 2015-02-09 15:43:34 -08:00
Craig Tiller 1d2e21962e Server progress 2015-02-09 15:25:21 -08:00
Yang Gao ee8f51fc8b Merge pull request #381 from ctiller/async-api-new
New Core API
2015-02-09 09:55:54 -08:00
Craig Tiller c4965751a0 Starting to scratch out the API 2015-02-09 09:51:00 -08:00
Craig Tiller 2ca4708921 Merge branch 'async-api-new' into c++api 2015-02-09 09:25:45 -08:00
Craig Tiller d78a657980 Merge github.com:grpc/grpc into async-api-new 2015-02-06 17:18:10 -08:00
Craig Tiller f834bdc3cf Move completion_queue.cc to common 2015-02-06 16:36:05 -08:00
Craig Tiller 1ffa52f6dc Clean build.json 2015-02-06 16:32:46 -08:00
Craig Tiller 41efbf3a96 Merge github.com:google/grpc into async-api-new 2015-02-06 12:56:32 -08:00
Nicolas "Pixel" Noble d6dcec526d Making the gpr_tmpfile's win32 version a bit more Windows-y.
Also adding windows helpers to convert to and from TCHAR strings.
2015-02-06 08:34:34 +01:00
Craig Tiller aa2ac59b5c Merge github.com:google/grpc into async-api-new 2015-02-05 13:44:05 -08:00
Yang Gao f229d4fd4d Merge pull request #359 from jboeuf/ssl_default_creds_integration
Adding support for loading the SSL roots from an environment variable.
2015-02-05 13:19:52 -08:00
Craig Tiller 86d9159356 Merge github.com:google/grpc into async-api-new 2015-02-05 11:42:58 -08:00
Nicolas "Pixel" Noble 0f3ec82238 Adding Windows tcp server code. 2015-02-05 19:40:38 +01:00
Julien Boeuf 7413f10832 Adding linux specific env implementation. 2015-02-04 17:00:08 -08:00
Craig Tiller 4b6ab78f36 Merge github.com:google/grpc into async-api 2015-02-04 16:32:56 -08:00
Nicolas "Pixel" Noble 900dadb2df Merge branch 'master' of github.com:google/grpc into grpc-win32
Conflicts:
	include/grpc/support/time_win32.h
2015-02-04 23:41:51 +01:00
Nicolas Noble 6393dd36f1 Fixing build.json by removing files that are no longer present. 2015-02-04 14:23:39 -08:00
Craig Tiller d77c92bd98 Merge github.com:google/grpc into async-api-new 2015-02-04 12:25:17 -08:00
Nicolas Noble 32c1ad90ce Merge pull request #369 from jboeuf/tsan_openssl
Fixing tsan errors in OpenSSL (#319)
2015-02-04 09:49:38 -08:00
Julien Boeuf e0bfcc9ffb Removing removed files from build.json 2015-02-03 22:00:54 -08:00
Craig Tiller 30fd935a4f Merge github.com:google/grpc into async-api 2015-02-03 21:21:23 -08:00
Craig Tiller d27cf3b387 Merge github.com:google/grpc into async-api-new
Conflicts:
	Makefile
2015-02-03 21:20:45 -08:00
Craig Tiller ea61b07800 Updated the first test (which fails) 2015-02-03 19:19:27 -08:00
Nicolas Noble f279362d0c Merge pull request #370 from jtattermusch/csharp_c_ext
added grpc extension library for C#
2015-02-03 18:01:51 -08:00
Nicolas "Pixel" Noble 21f627ad0a First draft of the win32 implementation of iomgr.
Caveats:
-) The win32 pollset isn't threadsafe (yet).
-) Only client code is implemented.
-) Only very simple code has been tested with it yet.
2015-02-04 02:13:04 +01:00
Jan Tattermusch 94c365326a added grpc extension library for C# 2015-02-03 15:58:31 -08:00
Chen Wang ca3d6f16df Remove duplicated target tips_client defintion. 2015-02-03 14:23:18 -08:00
Chen Wang 4428596d10 Merge remote-tracking branch 'upstream/master' 2015-02-03 11:32:13 -08:00
Julien Boeuf 026a417def Adding support for loading the SSL roots from an environment variable.
- Had to add support for files and environment variables as well.
- I can't compile on windows so I'm sure there will be some issues.
- Tested end-to-end with the simple ssl fullstack test.
2015-02-02 18:36:37 -08:00
Craig Tiller 5350c2e703 Clean build file, regen projects 2015-01-31 20:09:19 -08:00
Craig Tiller 7431fa9853 Preserve proto order 2015-01-31 20:06:02 -08:00
Chen Wang 04f1aa809a Implement both Publisher and Subscriber. 2015-01-30 18:26:16 -08:00
Craig Tiller 4450db2ac9 Add bbq 2015-01-30 16:49:22 -08:00
Nicolas "Pixel" Noble 3c63c0ced3 Adding a few more tests. 2015-01-29 05:32:05 +01:00
Nicolas Noble 9574132019 Merge branch 'master' of github.com:google/grpc into json
Conflicts:
	Makefile
	build.json
	vsprojects/vs2013/grpc.vcxproj
	vsprojects/vs2013/grpc.vcxproj.filters
	vsprojects/vs2013/grpc_unsecure.vcxproj
	vsprojects/vs2013/grpc_unsecure.vcxproj.filters
2015-01-27 19:14:11 -08:00
Nicolas Noble 66b5bba25b Fixing a couple of minor bugs, and adding a few tests. 2015-01-27 19:12:26 -08:00
Craig Tiller 3b56a57b25 Merge pull request #157 from dklempner/eventfd
Add support for eventfd based kicking on linux.
2015-01-27 16:53:30 -08:00
Jan Tattermusch a54b60d427 added src/core/support/string.h to build.json 2015-01-27 09:46:33 -08:00
David Klempner e360568a70 Rename poll_kick_test to poll_kick_posix_test 2015-01-26 17:27:21 -08:00
David Klempner 8bfbc88d5f Rename wakeup_fd.[hc] to wakeup_fd_posix.[hc]
Fix the transitive closure of this change, including reintroducing
pollset_kick_posix/windows where the latter is just a stub.
2015-01-26 17:23:33 -08:00
Nicolas Noble e04455a7ff Addressing comments. 2015-01-26 17:02:45 -08:00
Jan Tattermusch 64c3e72fec removed string.h reference from build.json 2015-01-26 16:22:36 -08:00
David Klempner 6e8bdb9a02 Merge branch 'master' into eventfd
This includes nuking the special pollset_kick_windows.h, since it is no
longer relevant.
2015-01-26 15:37:23 -08:00
David Klempner 78dc6cdaeb Refactor the pipe/eventfd abstraction
This introduces the wakeup fd interface, corresponding approximately to
the existing Google version, complete with a ported giant detailed usage
comment.

The implementation has two layers, "specialized" and "fallback". The
specialized layer is intended to be a suitable platform specific
implementation like eventfd, whereas "fallback" is probably pipe, with
runtime detection of whether the specialized version works on this
system (currently stubbed out).
2015-01-26 15:02:51 -08:00
Nicolas Noble fee065c1c7 Merge branch 'master' of github.com:google/grpc into json
Conflicts:
	src/core/security/credentials.c
2015-01-26 11:41:12 -08:00
Nicolas "Pixel" Noble d5a9985522 Fixing a few winsocket misuses. 2015-01-24 14:23:38 -08:00
Yang Gao 1de8ddb224 move proto files in dependency order 2015-01-23 16:22:15 -08:00
Jan Tattermusch ac139dead1 Merge pull request #153 from ctiller/windows-fixes
Windows fixes
2015-01-23 07:44:02 -08:00
Nicolas Noble 614c2bf99b Replacing cJSON with our own code instead. 2015-01-22 15:32:02 -08:00
Chen Wang 69330757f1 Merge branch 'master' of github.com:google/grpc into tips 2015-01-21 18:57:46 -08:00
Chen Wang 86af8cffc5 TIPS client implementation. 2015-01-21 18:05:40 -08:00
David Klempner dbb4f942d0 Add support for eventfd based kicking on linux.
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
2015-01-21 17:45:18 -08:00
Craig Tiller 6a6e4a1370 Build projects 2015-01-21 15:28:24 -08:00
Craig Tiller f2d39b7d83 Copy pollset_posix to pollset_windows 2015-01-21 15:06:08 -08:00
Craig Tiller 7d7b6c768b Sort by language, then by name 2015-01-18 12:03:17 -08:00
Craig Tiller 3a65358002 Merge branch 'testrun' of github.com:ctiller/grpc into build-cleaner
Conflicts:
	build.json
2015-01-18 11:35:42 -08:00
Craig Tiller 0b2a372f61 build.json prettifier 2015-01-18 11:30:07 -08:00
Craig Tiller 59140fc116 Explicitly name the target language.
Instead of C++ or not C++, name C++ and C, in preparation for being able to name other languages in the future.
2015-01-18 10:12:17 -08:00
Nicolas Noble 19e0aa9b44 Changing tabs for spaces. 2015-01-16 17:29:56 -08:00
David Klempner 7f3ed1eda1 Factor out the pollset kicking mechanism and eliminate sharding
This change pulls out a separate pollset_kick module, which currently
uses a freelist of pipes dynamically assigned to pollsets when they
enter polling rather than the previous racy sharding mechanism.

We ultimately may wish to eliminate the dynamic assignment for multipoll
sets, but this should be sufficient for the moment.
2015-01-16 15:42:31 -08:00
Nicolas Noble 54f68b6a8a Fixing typos in build.json: .cpp -> .cc
This was working so far because of GNU make's magic that automatically finds the sources depending on its output, and not on its input.

This also explains why running "make" would always rebuild the plugins: because GNU make think some dependencies are phony and aren't there.
2015-01-15 15:38:07 -08:00
Craig Tiller 3d829d8bf4 Merge github.com:google/grpc into nogo 2015-01-13 12:42:17 -08:00
Craig Tiller c688a67689 Merge branch 'testcpp' of github.com:ctiller/grpc into testcpp 2015-01-13 12:30:22 -08:00
Craig Tiller bf2659f0b6 Fix qps test.
This was failing to compile.
2015-01-13 12:27:06 -08:00
Craig Tiller 856e372c04 Merge github.com:google/grpc into testcpp 2015-01-13 12:20:13 -08:00
Craig Tiller cfc18adef7 Remove go compiler 2015-01-13 10:03:44 -08:00
Craig Tiller e1586a7a11 Fix alignment 2015-01-12 22:05:30 -08:00
nnoble 472f60edac Fixing opensource build.
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83810001
2015-01-12 18:46:33 -08:00
Craig Tiller 770f60a475 Merge github.com:google/grpc into testcpp 2015-01-12 17:44:43 -08:00
jboeuf 6ad120e435 Moving the google-internal security code in their own files.
Checked that the opensource version still builds.

Just addressing core for now. We will do c++ later.
	Change on 2015/01/12 by jboeuf <jboeuf@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83804014
2015-01-12 17:36:57 -08:00
nnoble 5f2ecb355d Splitting grpc_test_util into gpr_test_util.
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83801564
2015-01-12 17:36:57 -08:00
Craig Tiller d4773f5119 Fix some C++ test dependencies 2015-01-12 16:38:47 -08:00
rsilvera 35e7b0cb5c Fix gRPC compilation failure
Update location of rpc_method.cc on the Makefile
	Change on 2015/01/12 by rsilvera <rsilvera@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83786942
2015-01-12 14:12:41 -08:00