Jan Tattermusch
74529562e3
added deadline to generated stubs
9 years ago
Jan Tattermusch
5269d16dd9
codegen and API changes
9 years ago
Jorge Canizales
9fce455435
Fixup codegen now that GRXWriter is a class
10 years ago
Jorge Canizales
739c99879a
Codegen GRXWriter* instead of id<GRXWriter>
10 years ago
Jan Tattermusch
fd953a514c
add support for per-call metadata
10 years ago
Jan Tattermusch
b533281e8e
adjust C# generator to match the new API
10 years ago
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
10 years ago
vjpai
f77ab15c57
Use rvalue ref return to avoid copy
10 years ago
vjpai
c7eed74dc4
Remove brace initialization for gcc-4.4 compatibility
10 years ago
murgatroid99
25a2661d6d
Changed argument names in Objective-C generated code
10 years ago
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
10 years ago
Jorge Canizales
a92caa9db5
Import headers based on path in the generated code
...
Part of fixing https://github.com/grpc/grpc/issues/2192
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Nicolas "Pixel" Noble
b14fbf7804
Flagging unused parameters as unused.
10 years ago
Craig Tiller
ce40de58da
clang-format
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
Craig Tiller
81fafa8971
Beginning the cleanup
10 years ago
Jorge Canizales
52592fc784
Use class names for types as generated by the messages plugin
10 years ago
Jan Tattermusch
5dcebd9015
make sure printers are properly flushed
10 years ago
Jan Tattermusch
41f9f33e37
use full name when referencing protobuf messages
10 years ago
Jorge Canizales
1900dfc70b
Generate imports for .proto dependencies, and read prefix from file.
...
The prefix has still to be applied per-message, and we could
do forward-declarations in the generated header.
10 years ago
Jorge Canizales
1a7918bc6e
Generate separate files until either of GeneratorContext::OpenForAppend/Insert work.
10 years ago
Jorge Canizales
472f0b0a6b
Fixes generated implementation file and adjusts plugin to proto3
...
Still missing: retrieving prefix from file option.
10 years ago
Jorge Canizales
9a065d2e2f
Adjusts generated header to new runtime and surface.
10 years ago
Craig Tiller
020ae63171
Fix clang compilation
10 years ago
Craig Tiller
9e86dc8938
Fix compiler
10 years ago
Craig Tiller
6979b00624
Fix clang compilation
10 years ago
Jan Tattermusch
b5897bf1a6
moved GetMethodType function to generator_helpers.h
10 years ago
Jan Tattermusch
cd7e3137da
add newline to the end of generated files
10 years ago
Jan Tattermusch
2d92495776
added csharp generator plugin
10 years ago
Craig Tiller
3676b38183
Lose redundant tag on unary calls
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
Yang Gao
c6924c8e99
Add full codegen for clientside stub interface
10 years ago
Nicolas "Pixel" Noble
99076fe593
Fixing generated code under Windows.
...
By the standard, std::function can only capture class functions, and not
class methods. For some reasons, this works under gcc however. Visual
Studio rejects it. std::mem_fn is proper template to use.
10 years ago
Yang Gao
72e0fb8341
generate a StubInterface
10 years ago
Craig Tiller
277d3cff7e
clang-format
10 years ago
Craig Tiller
3beef68d39
Populate channel tags for methods
10 years ago
Craig Tiller
bd6c61860a
Precreate RpcMethod instances
10 years ago
Yang Gao
1dc1a4336b
When the proto file does not contain a package, do not generate namespace
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
murgatroid99
ac0002adb8
Made Objective C plugin build without error
10 years ago
murgatroid99
d3efd0a1ec
Created Objective C stub code generators
10 years ago
Nathaniel Manista
cd7096deb6
Add a metadata_transformer to the Python stub.
10 years ago
Nathaniel Manista
f492b16d48
Unify early_adopter construction functions
...
It was awkward for the generated code to call an API that offered
both insecure_server and secure_server as well as insecure_stub and
secure_stub. With this change there is just a single server function
and a single stub function and security is decided based on arguments
passed.
10 years ago
Nicolas "Pixel" Noble
d48a969d3b
Small compiler optimization.
10 years ago
Nicolas "Pixel" Noble
1e47514792
Removing range-based for loop.
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
478568e7c9
Use grpc:: counterparts in ruby code generator
10 years ago
Nicolas "Pixel" Noble
375a82b35c
Adding the ability to specify a service namespace on protoc's command line.
...
Usage example: protoc ... --grpc_out=services_namespace=xyz:./path/to/output/dir ...
This is difficult to add a test for this without significantly changing all of the examples, or the build system. However this has been successfully tested locally.
10 years ago
Masood Malekghassemi
65c803b083
Sanitize Python plugin
10 years ago