Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
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
AJ Heller
4ba3fa52b9
Clean up some instances of -Wunreachable-code-aggressive ( #27054 )
...
See https://github.com/grpc/grpc/pull/26951 for why this is not enforced
at the moment.
3 years ago
Esun Kim
8e9e895ffc
Replace grpc_shutdown_blocking with grpc_shutdown
4 years ago
Esun Kim
315caf5d05
Added grpc::testing::TestEnvironment
4 years ago
Yash Tibrewal
8f11aba818
Reviewer comments
5 years ago
Yash Tibrewal
17b6be1ed8
Reviewer comments
5 years ago
Yash Tibrewal
516c2f591a
Fail decompression when the gzip trailer is missing
5 years ago
Mark D. Roth
a483a6320e
Fix compression fuzzers.
5 years ago
Mark D. Roth
dbea965b8e
Fix fuzzers to actually run.
5 years ago
Esun Kim
f31ca23a6a
Add TestEnvironment to more tests
5 years ago
Samuel Lijin
aa7cb6a335
Fuzz message/stream compression and decompression
...
Google had a company-wide FuzzIt hackathon recently, so I went digging
in gRPC and found this, which means I probably don't know what I'm doing :)
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Vijay Pai
3c7b035ca6
Remove unused parameter warning (4 of 20)
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Juanli Shen
67e6b03e92
Fix compression algorithm parsing
6 years ago
Mark D. Roth
eccfecd6a6
Move functions for individual args out of channel_args.{h,cc}.
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Jan Tattermusch
433ad52e8c
rename bazel stream_compress_test to stream_compression_test
6 years ago
Yash Tibrewal
c0cd82faed
Remove unnecessary includes of exec_ctx.h
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Muxi Yan
2711e386ec
Update prefix length in algorithm_test
7 years ago
Muxi Yan
931f68ec56
regenerate metadata
7 years ago
Muxi Yan
3db2caaf2e
Replace message/deflate,gzip with deflate,gzip
7 years ago
Muxi Yan
6f0b195d20
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Muxi Yan
86ece2c8f6
Fix stream compression test bazel build
7 years ago
Muxi Yan
fe1e05e75b
Fix build error in compression_test.cc
7 years ago
Muxi Yan
c7499e88fd
Fix bazel BUILD
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
e586324627
BUILD files changes for bazel
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Muxi Yan
4c7bc85bd8
Revert changes to "identity" "deflate" "gzip" "stream-gzip" compression algorithm names at surface API
...
This reverts commit 6360274841
.
This reverts commit 33d7a7aa5a
.
7 years ago
Muxi Yan
33d7a7aa5a
Fix algorithm_test
7 years ago
Muxi Yan
6360274841
Make the names of compression algorithms backwards compatible at surface API
7 years ago