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
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
ncteisen
a0a59537d2
s/CodegenGeneric/Raw/g
7 years ago
ncteisen
93a90e6132
Support codegen generic on server side
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
yang-g
48cb025ec7
Add hooks so that code generator can inject headers to grpc.pb.h file
7 years ago
yang-g
eb64fadfce
Provide a way to use custom search path for gmock.h
7 years ago
Ken Payson
096e3c34b7
Fix unused parameter warning in cpp codegen
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Vijay Pai
c04f4f16cd
Revert "Revert "Do not interpolate variables in leading comments.""
7 years ago
David G. Quintas
333dd3e1ad
Revert "Do not interpolate variables in leading comments."
7 years ago
Garret Kelly
cf5a1f2c81
Do not interpolate variables in leading comments.
...
There is at least one well-known proto file (plugin.proto) with comments
that include variable-like strings that are not actual variables. This
leads to DFATAL log statements that clutter the output and don't provide
any benefit.
8 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
8 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
8 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
8 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
8 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
8 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Per Grön
b50cf568d7
Emit additional headers in generated .h file instead of .cc
...
For Flatbuffers compatibility.
From what I can tell, File::additional_headers is not used by gRPC
itself or its default protobuf implementation; it was added for
Flatbuffers support (it just returns "" for protobuf).
In the Flatbuffer case, the generated header contains references to
Flatbuffer gRPC glue code which is in a header in additional_headers.
Prior to this patch, this meant that the generated .h file could not
be included unless this glue file was included first.
Because the protobuf implementation of additional_headers returns
an empty string, I think this change should be safe to do and not
have unintentional consequences.
8 years ago
Per Grön
c72b1a312c
Don't hard code protobuf specific file extensions in cpp_generator.cc
...
This file is shared with the Flatbuffers project as well, which does not
use "pb" file extensions.
8 years ago
James Eady
be6ccdbc14
Proper clang formatting.
8 years ago
James Eady
3b26451025
Add static method to generated code to return fully qualified protobuf service name.
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Mahak Mukhi
ea07b60401
Post-review update
8 years ago
Mahak Mukhi
2814b5148e
formatting
8 years ago
Mahak Mukhi
529e4c5385
update according to new changes in cpp code
8 years ago
Mahak Mukhi
31d92d42ff
Initial commit: Auto-generate GMOCK code for client stub.
8 years ago
Mahak Mukhi
1383895b76
Initial commit: Auto-generate GMOCK code for client stub.
8 years ago
Craig Tiller
d4e9a4863a
Convert all async client stream types to not allocate
8 years ago
Harsh Vardhan
974f3d797a
remove lang specific streaming methods
8 years ago
Harsh Vardhan
31e74bb0f3
Update sources & headers
8 years ago
Harsh Vardhan
5b8fa87282
Refactor python code generator to support other serializers
8 years ago
Craig Tiller
5845091432
[EXPERIMENTAL] allocate unary response writer against call arena
8 years ago
yang-g
20115614e1
Stop generating method name array when there is no method.
8 years ago
Vijay Pai
713c7b87e1
clang-format
9 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
9 years ago
Ronak Jain
78b6cdd660
replaced protobuf tag
9 years ago
Vijay Pai
96e03110db
clang-format
9 years ago
Vijay Pai
61536a7371
Making split streaming testable
9 years ago
Vijay Pai
db5b1cbc94
Add all plumbing and typedef's for controlled server-side streaming
9 years ago
Vijay Pai
5e6edbbb69
Put a space after '<' to avoid chance of digraph
9 years ago
Vijay Pai
d4d5f4cd53
clang-format
9 years ago
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)
9 years ago
Vijay Pai
cdc253535b
Remove FC_UNARY enum and treat it more like a special case of BIDI_STREAMING
...
in all cases
9 years ago