Craig Tiller
32a0218e6e
[log] Use ABSL_ prefixed version of LOG/CHECK macros in the include/ tree ( #36819 )
...
We should separately add a lint to ensure no new usage slips in.
Closes #36819
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36819 from ctiller:absl 61207b02f4
PiperOrigin-RevId: 640572209
6 months ago
Tanvi Jagtap
3890766adf
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT ( #36452 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT
Replacing GPR_ASSERT with absl CHECK.
These changes have been made using string replacement and regex.
Will not be replacing all instances of CHECK with CHECK_EQ , CHECK_NE etc because there are too many callsites. Only ones which are doable using very simple regex with least chance of failure will be replaced.
Given that we have 5000+ instances of GPR_ASSERT to edit, Doing it manually is too much work for both the author and reviewer.
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Closes #36452
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36452 from tanvi-jagtap:tjagtap_include_grpc 08e612fccd
PiperOrigin-RevId: 628318595
7 months ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
Cheng-Yu Chung
f03304b963
[cleanups] Remove functions in `class CoreCodegen` ( #31837 )
...
* Clean up `assert_fail()`
* Clean up `ok()` and `cancel()`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
1d968a36aa
Remove functions in `class CoreCodegen` ( #31767 )
...
* Clean up `grpc_byte_buffer_copy()`
* Clean up `grpc_byte_buffer_destroy()`
* Clean up `grpc_byte_buffer_length()`
* Clean up `grpc_byte_buffer_reader_init()`
* Clean up `grpc_byte_buffer_reader_destroy()`
* Clean up `grpc_byte_buffer_reader_next()`
* Clean up `grpc_byte_buffer_reader_peek()`
* Clean up `grpc_raw_byte_buffer_create()`
* Clean up `grpc_slice_new_with_user_data()`
* Clean up `grpc_slice_new_with_len()`
* Clean up `grpc_call_start_batch()`
* Clean up `grpc_call_cancel_with_status()`
* Clean up `grpc_call_failed_before_recv_message()`
* Clean up `grpc_call_ref()`
* Clean up `grpc_call_unref()`
* Clean up `grpc_call_error_to_string()`
* Fix typos
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e60140676a
Remove `include/grpcpp/impl/codegen/channel_interface.h` ( #31312 )
...
* Remove `include/grpcpp/impl/codegen/channel_interface.h`
* Update
2 years ago
Cheng-Yu Chung
b765b06155
Remove `include/grpcpp/impl/codegen/async_stream.h` ( #30941 )
...
* Remove `include/grpcpp/impl/codegen/async_stream.h`
* Fix
* Fix
* Update
2 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
6a48405ed0
pre sync_stream.cc creation. Does not compile
9 years ago
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
David Garcia Quintas
44f3249018
Introduced ServerInterface
9 years ago
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
0ede550acb
Update async write documentation
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
a570d6334d
Fixes to comments and to examples
9 years ago
David Garcia Quintas
3306bcd1a1
Docs for streams + exposed auth properties
9 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Craig Tiller
8e5de39fb9
Document finish
9 years ago
David Garcia Quintas
6a3cf974f7
Added WriteOptions for per-message flags and modified CallOps to use it.
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Craig Tiller
bd277cb3cb
Clarify serialization traits interface
10 years ago
Craig Tiller
ce40de58da
clang-format
10 years ago
Craig Tiller
789471cfc6
Client side compiles/links
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
Craig Tiller
81fafa8971
Beginning the cleanup
10 years ago
Craig Tiller
dd093f33f6
Remove some bad asserts
10 years ago
Yang Gao
4273f1e3bc
add client side streaming interfaces
10 years ago
zeliard
179be50ad3
merge VS solutions file from upstream master
10 years ago
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
10 years ago
Yang Gao
7694c35d5f
Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
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
Yang Gao
3a5e5495e5
Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side.
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
10 years ago
Craig Tiller
573523f127
clang-format
10 years ago