forked from grpc/grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'batch-metadata' of github.com:ctiller/grpc into one-pass
Conflicts: src/core/channel/http_client_filter.c src/core/channel/http_server_filter.c
- Loading branch information
Showing
124 changed files
with
34,380 additions
and
13,996 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -661,7 +661,8 @@ | |
"test/cpp/qps/timer.cc" | ||
], | ||
"deps": [ | ||
"grpc_test_util" | ||
"grpc_test_util", | ||
"grpc++_test_util" | ||
] | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'gRPC' | ||
s.version = '0.0.1' | ||
s.summary = 'Generic gRPC client library for iOS' | ||
s.homepage = 'https://www.grpc.io' | ||
s.license = 'New BSD' | ||
s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' } | ||
|
||
# s.source = { :git => 'https://github.com/grpc/grpc.git', :tag => 'release-0_5_0' } | ||
s.source_files = 'src/objective-c/GRPCClient/*.{h,m}', 'src/objective-c/GRPCClient/private/*.{h,m}' | ||
s.private_header_files = 'src/objective-c/GRPCClient/private/*.h' | ||
|
||
s.platform = :ios | ||
s.ios.deployment_target = '6.0' | ||
s.requires_arc = true | ||
|
||
s.subspec 'RxLibrary' do |rs| | ||
rs.summary = 'Reactive Extensions library for iOS' | ||
rs.authors = { 'Jorge Canizales' => 'jcanizales@google.com' } | ||
|
||
rs.source_files = 'src/objective-c/RxLibrary/*.{h,m}', 'src/objective-c/RxLibrary/transformations/*.{h,m}', 'src/objective-c/RxLibrary/private/*.{h,m}' | ||
rs.private_header_files = 'src/objective-c/RxLibrary/private/*.h' | ||
end | ||
|
||
s.subspec 'C-Core' do |cs| | ||
cs.summary = 'Core gRPC library, written in C' | ||
cs.authors = { 'Craig Tiller' => 'ctiller@google.com', | ||
'David Klempner' => 'klempner@google.com', | ||
'Nicolas Noble' => 'nnoble@google.com', | ||
'Vijay Pai' => 'vpai@google.com', | ||
'Yang Gao' => 'yangg@google.com' } | ||
|
||
cs.source_files = 'src/core/**/*.{h,c}', 'include/grpc/*.h', 'include/grpc/**/*.h' | ||
cs.private_header_files = 'src/core/**/*.h' | ||
cs.header_mappings_dir = '.' | ||
cs.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Build/gRPC" "$(PODS_ROOT)/Headers/Build/gRPC/include"' } | ||
|
||
cs.requires_arc = false | ||
cs.libraries = 'z' | ||
cs.dependency 'OpenSSL', '~> 1.0.200' | ||
end | ||
|
||
# This is a workaround for Cocoapods Issue #1437. | ||
# It renames time.h and string.h to grpc_time.h and grpc_string.h. | ||
s.prepare_command = <<-CMD | ||
DIR_TIME="grpc/support" | ||
BAD_TIME="$DIR_TIME/time.h" | ||
GOOD_TIME="$DIR_TIME/grpc_time.h" | ||
if [ -f "include/$BAD_TIME" ]; | ||
then | ||
grep -rl "$BAD_TIME" include/grpc src/core | xargs sed -i '' -e s@$BAD_TIME@$GOOD_TIME@g | ||
mv "include/$BAD_TIME" "include/$GOOD_TIME" | ||
fi | ||
DIR_STRING="src/core/support" | ||
BAD_STRING="$DIR_STRING/string.h" | ||
GOOD_STRING="$DIR_STRING/grpc_string.h" | ||
if [ -f "$BAD_STRING" ]; | ||
then | ||
grep -rl "$BAD_STRING" include/grpc src/core | xargs sed -i '' -e s@$BAD_STRING@$GOOD_STRING@g | ||
mv "$BAD_STRING" "$GOOD_STRING" | ||
fi | ||
CMD | ||
|
||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Public/gRPC/include"' } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="grpc.dependencies.openssl.redist" version="1.0.2.2" targetFramework="net45" /> | ||
<package id="grpc.dependencies.zlib.redist" version="1.2.8.9" targetFramework="net45" /> | ||
<package id="System.Collections.Immutable" version="1.1.34-rc" targetFramework="net45" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"package": null, | ||
"messages": [ | ||
{ | ||
"name": "Request", | ||
"fields": [ | ||
{ | ||
"rule": "optional", | ||
"type": "bool", | ||
"name": "error", | ||
"id": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Response", | ||
"fields": [ | ||
{ | ||
"rule": "optional", | ||
"type": "int32", | ||
"name": "count", | ||
"id": 1 | ||
} | ||
] | ||
} | ||
], | ||
"services": [ | ||
{ | ||
"name": "TestService", | ||
"options": {}, | ||
"rpc": { | ||
"Unary": { | ||
"request": "Request", | ||
"response": "Response", | ||
"options": {} | ||
}, | ||
"ClientStream": { | ||
"request": "Request", | ||
"response": "Response", | ||
"options": {} | ||
}, | ||
"ServerStream": { | ||
"request": "Request", | ||
"response": "Response", | ||
"options": {} | ||
}, | ||
"BidiStream": { | ||
"request": "Request", | ||
"response": "Response", | ||
"options": {} | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
|
||
#import "GRPCChannel.h" | ||
|
||
#import <grpc.h> | ||
#import <grpc/grpc.h> | ||
|
||
@implementation GRPCChannel | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.