Commit Graph

1680 Commits

Author SHA1 Message Date
Craig Tiller dadda8bf52 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-30 20:51:45 -07:00
Vijay Pai 84033b1f6b Stick to StatusCode::INTERNAL when there's no service
response on a StreamedUnary
2016-08-30 20:50:43 -07:00
Makarand Dharmapurikar a6babb040a addressed comments from review
modified comment about when GET verb is used.
Added code to read data from send_message and defer the op when
  it is not fully available.
clang-format one more time.
2016-08-30 16:59:26 -07:00
David Garcia Quintas e3817f4fd1 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-31 00:25:29 +02:00
Vijay Pai 2998daa81b Another golden file 2016-08-30 12:09:35 -07:00
Vijay Pai 77073ce99f clang-format 2016-08-30 10:26:30 -07:00
Vijay Pai de2aec8106 Merge branch 'master' into fc_unary
Resolve conflicts in ServerReaderWriterInterface
Remove file server_streamed_unary.h and merge with sync_stream.h
2016-08-30 10:20:20 -07:00
David Garcia Quintas 621e2b1a49 Merge with newly added/modified files 2016-08-30 09:27:19 -07:00
Craig Tiller 99091704c1 Merge pull request #7912 from ctiller/g_stands_for
Specify the "g" in gRPC
2016-08-30 08:40:00 -07:00
kpayson64 d76ea83728 Merge pull request #7798 from y-zeng/ServerReaderWriterInterface
Add ServerReaderWriterInterface
2016-08-30 08:34:19 -07:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Yuchen Zeng 11d3c8f3d4 Add ServerBuilderPlugin::UpdateChannelArguments 2016-08-29 18:19:03 -07:00
Vijay Pai d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
Vijay Pai a9c0d7f88b Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
Craig Tiller 8dfdb7e299 Specify the "g" in gRPC 2016-08-29 11:25:56 -07:00
Egor Suvorov 93901a7a86 Add clarifying comment about IWYU in grpc++.h 2016-08-26 16:48:38 -04:00
Egor Suvorov 650ae16bf7 Add IWYU export pragmas to grpc++/grpc++.h.
IWYU is a C++ tool which ensures that end users explicitly #include
every header they need. Without pragmas IWYU have no way of distinguishing
between 'implementation-specific' headers and headers which are shortcuts
for groups of other headers, like grpc++.h.
2016-08-26 16:26:23 -04:00
Julien Boeuf 2b2b345841 Addressing feedback. 2016-08-25 21:22:55 -07:00
Vijay Pai cdc253535b Remove FC_UNARY enum and treat it more like a special case of BIDI_STREAMING
in all cases
2016-08-25 15:33:02 -07:00
Vijay Pai ac4113bef1 Merge branch 'master' into fc_unary 2016-08-25 14:49:18 -07:00
Takuto Ikuta c0080b7c92 remove docstring for not existing argument 2016-08-25 13:31:51 +09:00
Takuto Ikuta bb04734eec Fix a typo 2016-08-25 13:31:51 +09:00
Craig Tiller 24096ce7be Support >16kib frame sizes in core 2016-08-24 15:54:29 -07:00
Makdharma 178f4bc24d prep work for enabling caching
Added new header grpc-payload-bin
Added new channel arg for setting max payload size
Ability to create a GET request in client filter
Ability to parse the payload from header in server filter.
2016-08-24 15:16:53 -07:00
Mark D. Roth af00d8bfb2 Add channel arg for max send message size and add message size filter. 2016-08-23 12:48:16 -07:00
Julien Boeuf 6b93d46bb8 Adding extension points for security context. 2016-08-23 10:04:03 -07:00
Sree Kuchibhotla 509ee4c111 Remove the API to return the underlying completion queue. This API is no
longer needed
2016-08-22 17:48:41 -07:00
Sree Kuchibhotla cc357bf74e Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API 2016-08-22 16:08:50 -07:00
murgatroid99 6257159a3a Merge branch 'port_platform_split' into uv_core_transport 2016-08-22 14:57:22 -07:00
Yuchen Zeng 59e835d431 Add comments 2016-08-19 15:23:23 -07:00
Yuchen Zeng e0705e2dc2 Add ServerReaderWriterInterface 2016-08-19 15:13:43 -07:00
Mark D. Roth 2665bdd6d2 Reduce allocations associated with src/cpp/util/byte_buffer.cc. 2016-08-18 08:02:24 -07:00
kpayson64 b80d9c9626 Merge pull request #7594 from chedeti/grpc-thrift-v2
grpc thrift integration
2016-08-17 16:59:20 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
David Garcia Quintas 15eba13927 Improved some docstrings for grpc_call creation 2016-08-09 15:20:48 -07:00
murgatroid99 db9630a549 Removed duplicate #define in port_platform 2016-08-09 10:52:39 -07:00
murgatroid99 7c205906d5 Removed GPR_POSIX_FILE, and changed the files that used it 2016-08-09 10:07:42 -07:00
murgatroid99 623dd4f556 Renamed GPR_ constants to GRPC_ in iomgr/port.h 2016-08-08 17:31:27 -07:00
murgatroid99 5407089b37 Separate out iomgr-specific constants into a separate header 2016-08-08 17:01:18 -07:00
murgatroid99 79b322751f refactor inet_ntop into a portability header 2016-08-08 13:38:30 -07:00
chedeti a7ee93864a remove const in Deserialize 2016-08-04 14:42:35 -07:00
Vijay Pai 326d939873 Another golden file to fix 2016-08-04 14:10:54 -07:00
chedeti 76db7f9a7c use boost::make_shared 2016-08-04 11:56:54 -07:00
Vijay Pai 5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai 581097fe0d Make FCUnary and ServerReaderWriter derived classes of a new
ServerReaderWriterInterface so that some functions can be made
to accept either.
2016-08-04 10:50:51 -07:00
Vijay Pai 666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
Craig Tiller 106df11093 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-04 09:22:34 -07:00
chedeti 82afcaa009 rename class variables to snake_case 2016-08-03 16:38:05 -07:00
David Garcia Quintas 9332277219 updated objc's module.modulemap 2016-08-03 15:06:34 -07:00
Jorge Canizales 3df9bdf880 Update generated files with new protobuf version
Also make the script fetch protoc from the usual place.
2016-08-03 10:48:23 -07:00
Nicolas Noble 6a4397eb33 Merge pull request #7600 from dgquintas/fix_includes
fixed include guard script and faulty .h
2016-08-02 14:04:49 -07:00
kpayson64 329d6473db Merge pull request #6774 from a-veitch/add_resource
Add Census resource API and implementation.
2016-08-02 12:46:43 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
David Garcia Quintas 8c5424f0d5 added gpr_types.h 2016-08-01 22:49:00 -07:00
chedeti a17039aaa4 refine code and add README 2016-08-01 17:32:06 -07:00
David Garcia Quintas ffd207fe4c fixed include guard script and faulty .h 2016-08-01 16:20:52 -07:00
chedeti bc618eed71 thrift serializer 2016-07-31 15:35:51 -07:00
Nicolas Noble 5a36325896 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:32:25 -07:00
Nicolas Noble e51b9d2e39 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
David Garcia Quintas 61887dcf46 scrubbed codegen/sync.h 2016-07-27 23:17:34 -07:00
David Garcia Quintas e8fd66b71d removed codegen/slice_buffer.h and scrubbed codegen/slice.h 2016-07-27 22:05:37 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
David Garcia Quintas 3b31fdf77b removed codegen/byte_buffer.h 2016-07-27 18:17:12 -07:00
David Garcia Quintas 6b11462da1 removed codegen/alloc.h 2016-07-27 14:49:53 -07:00
Vijay Pai 2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
Nicolas Noble 01da196879 Merge pull request #7508 from murgatroid99/v1.0.x_merge_into_master
V1.0.x merge into master
2016-07-25 14:45:41 -07:00
kpayson64 b5fa72c89e Merge pull request #7451 from y-zeng/seperate_generated_files
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
Craig Tiller 3e426718f0 Merge github.com:grpc/grpc into grand-unified-closures 2016-07-24 13:00:57 -07:00
David Garcia Quintas d8084aa4ed Merge branch 'master' of github.com:grpc/grpc into cpp_compression_level 2016-07-22 12:17:17 -07:00
murgatroid99 316f73f6c1 Merge v1.0.x into master 2016-07-22 11:00:34 -07:00
David Garcia Quintas 440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
David Garcia Quintas f77b9bf2fe Removed unused version of async_stream.h 2016-07-21 19:24:51 -07:00
kpayson64 d4087084f0 Merge pull request #7488 from ghemawat/slice_user_data
Add gpr_slice_new_with_user_data.
2016-07-21 17:53:29 -07:00
Alistair Veitch 3abd27e531 merge to upstream/master 2016-07-21 17:29:04 -07:00
Yuchen Zeng 2edf5e904b Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-21 16:15:12 -07:00
kpayson64 b8e26c0217 Merge pull request #7486 from dgquintas/alive_typo
fixed typo
2016-07-21 15:15:47 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
Nicolas Noble f6aefa3ea6 Merge pull request #7400 from yang-g/ga_branch2
Cherrypick #7319 into v1.0.x
2016-07-21 11:28:44 -07:00
Nicolas Noble 98f47f6169 Merge pull request #7469 from yang-g/proto_lite
Add a macro to support protobuf lite
2016-07-21 11:13:53 -07:00
Sanjay Ghemawat fca59fb2aa Add gpr_slice_new_with_user_data.
gpr_slice_new_with_user_data is like gpr_slice_new, but allows the
caller to specify a distinct pointer to pass to the destroy function.
This is useful when the data is part of a larger data structure that
should be destroyed when the data is no longer needed.
2016-07-21 09:32:06 -07:00
Nicolas Noble 21059e23c5 Merge pull request #7470 from dgquintas/v1.0.x
grpc_args doxygen docstrings
2016-07-20 17:48:21 -07:00
David Garcia Quintas b91cddb2fa fixed typo 2016-07-20 17:40:01 -07:00
Yuchen Zeng 543c5886ee Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-19 19:15:55 -07:00
makdharma 7195a490ac Merge pull request #7425 from jcanizales/p0-dynamic-frameworks-build-tests
Automatic test that the library builds correctly with frameworks
2016-07-19 17:49:40 -07:00
kpayson64 7c519b9243 Merge pull request #7444 from y-zeng/fix_typo
Fix typos in config_protobuf.h
2016-07-19 17:34:59 -07:00
Craig Tiller 476e9875ea Merge github.com:grpc/grpc into grand-unified-closures 2016-07-19 16:54:15 -07:00
Craig Tiller 8c2fab05f7 Merge pull request #7399 from sreecha/poll_alloc_fix
Reduce the number of unnecessary allocations
2016-07-19 16:04:06 -07:00
David Garcia Quintas fb709049b4 grpc_args doxygen 2016-07-19 14:48:17 -07:00
yang-g e6c04aa612 Add a macro to support protobuf lite 2016-07-19 14:46:50 -07:00
Craig Tiller df3bfae8d1 Fix gcc4.4 error 2016-07-19 08:04:37 -07:00
David Garcia Quintas e8355a2cb3 grpc_args doxygen 2016-07-18 18:56:56 -07:00
Craig Tiller 15e0f230a2 Fix merge error 2016-07-18 16:41:00 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Ken Payson dd24c1ece4 Polish grpcio_health_checking package
-Rename namespace to grpc_health->grpc to match spec
-Proper use of NOT_FOUND status code
-Improve testing
-Add source distribution to artifact build
2016-07-18 12:50:13 -07:00
Yuchen Zeng 3046557a02 fix typo 2016-07-18 12:08:17 -07:00
Yuchen Zeng 24987dbf77 fix typo 2016-07-18 10:35:44 -07:00
Jorge Canizales 93bd780a9c Solve warnings by adding headers not included by grpc.h
The two log.h can’t be listed, though, as they include the nefarious
<inttypes.h> (See discussing at BoringSSL.podspec). Not listing them
seems to be alright, though.
2016-07-15 23:08:42 -07:00
Craig Tiller 64d8024a11 Merge github.com:grpc/grpc into grand-unified-closures 2016-07-15 07:53:33 -07:00
yang-g 807387641f prevent spurious wake up and unstarted/already shutdown server 2016-07-14 22:59:39 -07:00