Tanvi Jagtap
0b30791867
[Gpr_To_Absl_Logging] Remove gpr logging header include from other headers ( #37513 )
...
[Gpr_To_Absl_Logging] Remove gpr logging header include from other headers
Some of the cc files are using gpr_log_verbosity_init() functions.
So I removed the #include <grpc/support/log.h> from all headers and put it selectively only in the cc files that used gpr_log_verbosity_init()
Closes #37513
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37513 from tanvi-jagtap:remove_gpr_headers_from_headers_01 612ca6d0f7
PiperOrigin-RevId: 663811895
4 months ago
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
b887534111
[cleanups] Remove `include/grpc/impl/codegen/propagation_bits.h` ( #31870 )
...
* Remove `include/grpc/impl/codegen/propagation_bits.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
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
c34d99fd9a
Remove `include/grpc/impl/codegen/compression_types.h` ( #31726 )
...
* Remove `include/grpc/impl/codegen/compression_types.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e9b287997a
Remove `include/grpcpp/impl/codegen/sync.h` ( #31545 )
...
* Remove `include/grpcpp/impl/codegen/sync.h`
* Fix sanity tests
2 years ago
Cheng-Yu Chung
d5b285df95
Remove `include/grpcpp/impl/codegen/create_auth_context.h` ( #31359 )
...
* Remove `include/grpcpp/impl/codegen/create_auth_context.h`
* Update
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e83d69bdf2
Remove `include/grpcpp/impl/codegen/metadata_map.h` ( #31531 )
...
* Remove `include/grpcpp/impl/codegen/metadata_map.h`
* Automated change: Fix sanity tests
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
AJ Heller
62e88c0c31
Document thread-saftey of ClientContext::TryCancel ( #30416 )
...
* Document thread-saftey of ClientContext::TryCancel
* rm sneaky file
2 years ago
Cheng-Yu Chung
0e8a6515df
Remove `include/grpcpp/impl/codegen/client_context.h` ( #31006 )
...
* Remove `include/grpcpp/impl/codegen/client_context.h`
* Update
* 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
ncteisen
4a719088ca
Fix typos
7 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
b523c732d1
async_stream.h done. Compiles
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
David Garcia Quintas
f3ddb7c55a
clang-format
9 years ago
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
9 years ago
Bogdan Drutu
33a1ad002a
Fix the typo
9 years ago
Bogdan Drutu
899e5a82f6
Add a virtual destructor for the ClientContext::GlobalCallbacks.
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Ian Coolidge
8e7a4b66e8
Fix R/W template argument order in prototypes
...
In some cases, the prototype argument order was different
than the declaration order.
Based on a patch from Sam Leffler.
9 years ago
Julien Boeuf
77bc16e38e
Fixing cpp auth doc pointers.
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Bogdan Drutu
42ab3fa5fa
Add a destructor callback as well
9 years ago
Bogdan Drutu
38d2ad6e96
Add a hook for the default constructor of ClientContext.
9 years ago
Hongyu Chen
0504a4443f
More reverting
9 years ago
Hongyu Chen
134cac2004
Address comments: revert all changes except adding two new metadata keys
...
"census" and "census-bin"
9 years ago
Hongyu Chen
1f96048187
Census tags propagation.
9 years ago
yang-g
a89bf50cf1
Handle cancel before start case
9 years ago
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
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
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
9 years ago
David Garcia Quintas
1678c58183
wip
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
1eeb21c4df
api change to string_ref
9 years ago
David Garcia Quintas
3068af2981
wip
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
yang-g
0c034a01d1
client code clean up
9 years ago