yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
2b5d45ab38
Fix clang-tidy and golden file issues
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
6 years ago
Vijay Pai
d7eb26648d
Client callback streaming
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago
Vijay Pai
da1b75b5d5
Add a virtual destructor to the new class with virtual methods
6 years ago
Vijay Pai
c5afb25905
fix golden file
6 years ago
ncteisen
a0a59537d2
s/CodegenGeneric/Raw/g
7 years ago
ncteisen
d170b83e0d
Allow AsyncServer with one generic to compile
7 years ago
ncteisen
93a90e6132
Support codegen generic on server side
7 years ago
Noah Eisen
373fc6dc40
Manual fixes to enable performance- clang tidy checks
7 years ago
ncteisen
92c4e0fee0
Rename ProtoBuffer helpers
7 years ago
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
7 years ago
makdharma
d10a885922
removed unnecessary "virtual"
...
Removed unnecessary "virtual" keyword from CompletionQueue::Next.
Reverted two files that no longer need to be changed.
7 years ago
Alexander Polcyn
f133259617
Fix broken golden file test under bazel
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
makdharma
57237443ac
clang-format
7 years ago
makdharma
ae038c1d47
Implement newly virtualized "Next"
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Alexander Polcyn
3a1a2f0a10
Use the same ParseCommandLineFlags for golden file test that is used in other test binaries
7 years ago
Alexander Polcyn
d3dbc0d07b
Mark one test binary as testonly
7 years ago
Alexander Polcyn
2830e3a326
Enable golden file test in bazel
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
yang-g
272eebbbcd
Only allocate what we need in the last slice for proto serialization
7 years ago
Vijay Pai
5e7ceebf6b
Need explicit "protobuf" dependence on proto_utils_test
7 years ago
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