Vijay Pai
2a80f0edc7
Support use of ByteBuffer for request-side of code-gen unary
6 years ago
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Kim Bao Long
0203bf74f5
Remove the redundant words in comments
...
Although it is spelling mistakes, it might make an affects while reading docs.
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
John Luo
9b6389f05a
Handle null implementations
6 years ago
=
ad9dcc1ff4
Update formatting
6 years ago
=
bf0d1d6bfc
Remove previous BindService implementation
6 years ago
John Luo
d98de1facf
Add new overload to BindService that doesn't require an implementation
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Muxi Yan
f36a6e9aef
Eliminate compiler warning
6 years ago
Muxi Yan
8bc8ff3dce
Fix nullability incompatibility
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
6 years ago
Vijay Pai
d7eb26648d
Client callback streaming
6 years ago
Jan Tattermusch
bff1452e5e
mark as experimental
7 years ago
Jan Tattermusch
a50c61edc1
generate alternative BindService method
7 years ago
Vijay Pai
eea8a8b826
Remove redunant get on unique_ptr
7 years ago
Vijay Pai
932abf48a3
Address reviewer comments.
7 years ago
Vijay Pai
b460622c2d
Address reviewer comments
7 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
7 years ago
Muxi Yan
6d8340847c
Name changes in compiler
7 years ago
Muxi Yan
5e790a3117
Proto-related changes
7 years ago
Vijay Pai
da1b75b5d5
Add a virtual destructor to the new class with virtual methods
7 years ago
Vijay Pai
aee8271fe3
Fix a Status, and resolve reviewer comments
7 years ago
Vijay Pai
1cd9aacab7
Add codegen support for client callback unary calls
7 years ago
Nick Gordon
3fe2c98877
Updates to the ruby generator for protobuf 3.6.0 changes
...
test for verifying the ruby_package option
added WeWork to the AUTHORS file
7 years ago
ncteisen
a0a59537d2
s/CodegenGeneric/Raw/g
7 years ago
ncteisen
93a90e6132
Support codegen generic on server side
7 years ago
Jan Tattermusch
c70c2b4ede
C# codegen: use fully qualified name in __Marshaller_* fields
7 years ago
Jan Tattermusch
6ad0107751
only generate namespace block when appropriate
7 years ago
Juanli Shen
5a412ac113
Revert "Revert "Revert "Provide protocol for initializer of generated messages"""
7 years ago
Jan Tattermusch
57139d1eef
fix C# codegen for empty service
7 years ago
Juanli Shen
10a8c16f24
Revert "Revert "Revert "Provide protocol for initializer of generated messages"""
7 years ago
Muxi Yan
f5d869a2b3
clang-format
7 years ago
Muxi Yan
7f6858ce61
Fix generater
7 years ago
Muxi Yan
77933b1897
clang-format
7 years ago
Muxi Yan
dcb05c16c6
Fix generater
7 years ago
Muxi Yan
e6d6a1b978
Revert "Revert "Provide protocol for initializer of generated messages""
7 years ago
Muxi Yan
219354fb5a
Revert "Provide protocol for initializer of generated messages"
7 years ago
Ben Sykes
86d65ce290
cleanup formatting with clang_format_code.sh
7 years ago
Ben Sykes
1de3f4ae8d
Add grpc_out option to set minimum_node_version
...
Example protoc call:
protoc --plugin=protoc-gen-grpc=grpc_node_plugin --js_out=import_style=commonjs,binary:./autogen/ --grpc_out=minimum_node_version=8:./autogen/ hello.proto
7 years ago
Ben Sykes
423ae6d013
Switch to Buffer.from to avoid using deprecated constructor
7 years ago
Muxi Yan
bf0b8798d6
Provide protocol for generics
7 years ago
Muxi Yan
19ca19beed
Fix indent
7 years ago
Muxi Yan
3b33409e66
clang format
7 years ago
Muxi Yan
7f5dcc9c1a
Add missing '+'
7 years ago
Daniel Neighman
8b7007ad7b
Updates the ruby generator RubyAsType to correctly account for underscores in packages
...
Prior to this change, when the ruby generator tried to reference an entity that was not part of the same package
(or a direct parent package) and the package contains underscores,
the result would simply uppercase the first character.
It should however uppercase each letter that proceeds an underscore and remove underscores.
i.e.
```
package my_package.service;
import "my_package/data.proto";
service MyService {
rpc Test (data.Request) returns data.Response {}
}
```
Was
```ruby
# ...
rpc :Test, My_package::Data::REquest, My_package::Data::Response
# ...
```
Should be:
```ruby
# ...
rpc :Test, MyPackage::Data::REquest, My_package::Data::Response
# ...
```
7 years ago
Tyson Roberts
8827bc91eb
Changes \#if forward_declare <forward_decl> \#else <class_imports> \#end in .h files to <forward_decl> \#if <class_imports>
7 years ago
ZhouyihaiDing
39a4746ca6
update php plugin with protobuf 3.5.0
7 years ago
Muxi Yan
3d35c54620
Run clang-format
7 years ago