Tanvi Jagtap
b0de95507c
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT ( #36441 )
...
[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 #36441
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36441 from tanvi-jagtap:tjagtap_util_01 ca10292925
PiperOrigin-RevId: 627961969
8 months ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years 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
5fe132a211
Revert "Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )" ( #31806 )
...
This reverts commit 39a4343044
.
Fixing forward the original PR. The content should be the same as the original PR. The broken part is in the internal.
2 years ago
Cheng-Yu Chung
39a4343044
Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )
...
This reverts commit ac1dee8ac1
.
2 years ago
Cheng-Yu Chung
ac1dee8ac1
Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )
2 years ago
Craig Tiller
1df153f46e
Revert "Revert "Move metadata setting into HPackParser ( #27545 )" ( #27686 )" ( #27688 )
...
This reverts commit 0e6ced8800
.
3 years ago
Craig Tiller
0e6ced8800
Revert "Move metadata setting into HPackParser ( #27545 )" ( #27686 )
...
This reverts commit f57a1f7d8c
.
3 years ago
Craig Tiller
f57a1f7d8c
Move metadata setting into HPackParser ( #27545 )
...
* forward work to get append, limit check into parser
* further cleanup
* Remove chttp2_incoming_metadata_buffer
* Automated change: Fix sanity tests
* test fixes
* fix cronet
* wip
* first pass mementofication of parsing - libgrpc compiles
* further progress
* fixes
* fixes
* fix leak
* Automated change: Fix sanity tests
* fix leak
* fixes
* x
* improve fuzzer
* init ordering fix
* Update hpack_parser_table.h
* Update hpack_parser.cc
* Update hpack_parser_test.cc
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* i mustache myself why
* fix use after free
* Automated change: Fix sanity tests
* fixes
* eliminate second pass metadata - this is an illegal frame and fails the new parser
* handle mementos with size > sizeof(intptr_t)
* fix
* add parsed metadata header, test
* Automated change: Fix sanity tests
* fix includes
* phase1
* phase2
* Update parsed_metadata.h
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Alisha Nanda
91627677fd
Added timeout flag to grpc cli.
4 years ago
Alisha Nanda
a3ef19c1f0
Revert "Add timeout flag to gRPC cli"
4 years ago
Alisha Nanda
94a72c151b
Changed timeout to ns rather than us.
4 years ago
Alisha Nanda
4282e968c4
Re-add in all changes, fix check failures.
4 years ago
Alisha Nanda
a4eedc1510
Revert "Merge branch 'master' of https://github.com/ananda1066/grpc "
...
This reverts commit 35e0e96b09
, reversing
changes made to b78bc85185
.
4 years ago
Alisha Nanda
88d99b4603
Add timeout flag to gRPC cli
...
Signed-off-by: Alisha Nanda <alishananda@google.com>
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
Esun Kim
b308241343
Fix clang-tidy issues
5 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
3b7ae55f77
More uses of 1-phase Call
7 years ago
Sree Kuchibhotla
54961bb9e1
Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition varialbes in linux support MONOTONIC clock type)
7 years ago
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
zhimingxie
60f35722de
fix truncate bug in grpc_cli
8 years ago
yang-g
ded7f8250c
Minor fixes
8 years ago
Yuchen Zeng
8d2d70ca99
Support bidirectional stream RPC
...
Add bidistream test
Add bad request tests
Replace deprecated DynamicMessageFactory constructor
8 years ago
Yuchen Zeng
d37f642f35
Support server streaming
...
Skip unparsable input
Add tests for uni-directional stream calls
Simplify client stream handling
8 years ago
Yuchen Zeng
f9329217b1
Support client streaming
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
b37d53ebc0
Bulk update #includes
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
yang-g
4335e11951
Prevent some compilers compaining unused return value
8 years ago
yang-g
df012d048a
Add proto file support in grpc_cli
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
ace28d3f98
Fix copyrights again
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
yang-g
e21908fcee
impl
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 Gao
c1a2c314fb
Update the Status API
10 years ago
Yang Gao
102eccb632
Support sending and showing received metadata in grpc_cli
10 years ago
Yang Gao
b946b5ea74
Refactor and add a unit test
10 years ago