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
Masood Malekghassemi
3bb52151dd
Make Python package spec indirect
...
This is part of a change to ease internal usage of GRPC.
10 years ago
Masood Malekghassemi
89905ac55d
Factor out interface-specific early_adopter code
...
Refactors early_adopter such that interface-specific code is located in
the framework module as a submodule `alpha`.
10 years ago
Nathaniel Manista
c4fada6e9a
Add service name to Python early_adopter
10 years ago
Nicolas "Pixel" Noble
613d6fe997
Moving ZeroCopyOutputStream to grpc++/config.h.
10 years ago
Nicolas Noble
d446eb86fa
Adding initial support for alternative protobuf libraries.
10 years ago
Nicolas "Pixel" Noble
0084179d4c
Removing the `using std::string` in the python plugin code.
10 years ago
Nathaniel Manista
a60a77b63f
Update Python codegen to early_adopter interface
...
With this change the Python code generated by the Python code generator
uses the grpc.early_adopter package and not the grpc.framework.face
package.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Nicolas "Pixel" Noble
93fa098124
Removing private protobuf header inclusion.
10 years ago
Todd Poynor
2a6fd26c45
grpc: cpp_generator: fix pedantic warning on extra ';'
...
Fix pedantic warnings of form:
myprotobuf.pb.cc:619:2: warning: extra ';' [-Wpedantic]
};
^
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Masood Malekghassemi
40e8cbd1ee
Fix bugs in Python code generator
...
Fixes module path finding in the Python code generator and the signatures
of generated servicer methods.
10 years ago
Nicolas "Pixel" Noble
c16b7952f8
Fixing Windows build of the python protoc plugin.
10 years ago
Nicolas "Pixel" Noble
e6d72c2b4e
Removing emplace from python plugin.
10 years ago
Masood Malekghassemi
59d9ff4d9f
Updated Python protoc plugin testing.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Jan Tattermusch
3d55595dee
added include <iostream>. Closes #674
10 years ago
Yang Gao
bbd67c0499
clean up some internal path and names
10 years ago