Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
7 years ago
David Garcia Quintas
6636b5036e
Fix codegen_test_full
7 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
7 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
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
a68829023c
more sanity
...
trying to fix some sanity
nope that didn't work
fixing test failiures
added debug code
more trail and error
more trial and error
cleaning debug code
8 years ago
Mahak Mukhi
443a75dd22
1. Added golden file test.
...
2. Added support for mock.
3. Sanity fix.
8 years ago
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
8 years ago
David Garcia Quintas
e854357117
Reintroduced golden_file_test
8 years ago
David Garcia Quintas
1f980cf7bb
Removed useless cpp/codegen/golden_file_test
8 years ago
David Garcia Quintas
eb4c47e006
test/cpp/codegen
8 years ago
Harvey Tuch
5f3cfe960f
Fix read from uninitialized memory bug in GrpcBufferWriter.
...
This commit fixes an issue in which the following sequence of operations
leads to use of uninitialized memory:
1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
bytes in the returned buffer (which is 8192 bytes in size).
2. Caller then returns the unused single byte via
GrpcBufferWriter::BackUp(). This method invokes
g_core_codegen_interface->grpc_slice_split_tail(), which causes
backup_slice_ to be a grpc_slice with one byte.
3. At the next invocation of GrpcBufferWriter::Next(), a reference to
the single byte grpc_slice is returned to the caller.
The problem here is that the returned reference is to the inlined buffer
in the grpc_slice, which is resident in slice_, not the location of the
buffer inside slice_buffer_ after
g_core_codegen_interface->grpc_slice_buffer_add() in
GrpcBufferWriter::Next(). As a result, any data the caller writes to the
returned void* data is lost.
The solution is to avoid inlined backup slices.
8 years ago
Ronak Jain
a3f8097b34
replaced protobuf tag in compile_test_golden
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Vijay Pai
08126092e6
golden file
8 years ago
Vijay Pai
3703ece81b
a golden file
8 years ago
Vijay Pai
d05cad245a
Fix golden test
8 years ago
Vijay Pai
48c9ca2bf1
Update golden file
8 years ago
Vijay Pai
6d214bcff7
Add FCService to golden test
8 years ago
David Garcia Quintas
1399e466b0
removed codegen/time.h
8 years ago
vjpai
9959f3d0ec
Fix the golden file - why do we even have this lever?
9 years ago
yang-g
2e08941a37
Use the comments before syntax line as file comments.
9 years ago
yang-g
8282b755a2
Clarify the comments
9 years ago
yang-g
b8aa58b2cd
Add a test
9 years ago
David Garcia Quintas
3a43cc06a8
Added codegen_test_full
...
Which makes sure target that depend on both codegen and grpc build.
9 years ago
David Garcia Quintas
b942640497
clang-format
9 years ago
David Garcia Quintas
4ac52fa6dd
WIP. Added codegen_test
9 years ago