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
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
Craig Tiller
1a8f1e831d
Make alarm_test tolerant of threading
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
7 years ago
Mark D. Roth
cc4ef5919f
Improvements to C++ filter API:
...
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
8 years ago
David Garcia Quintas
ab1ff6b041
Split move test
8 years ago
David Garcia Quintas
e48949f0b4
Make grpc::Alarm non-copyable
8 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
Nicolas "Pixel" Noble
e40877931a
Missed one gtest reference.
8 years ago
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
8 years ago
Yuchen Zeng
9f0a115f05
Test if the user agent string is copied correctly
8 years ago
Yuchen Zeng
4564b8cde7
Copy value at SetPointerWithVtable
8 years ago
Craig Tiller
eb022becae
Fix compile
8 years ago
Craig Tiller
bbc1eb00a8
Finish test/cpp/common
8 years ago
Craig Tiller
05fbe3c518
Get gtest building with Bazel, add first test in test/cpp/common/BUILD
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Mark D. Roth
13f3574642
clang-format
8 years ago
Mark D. Roth
42663fb20e
Fix bug.
8 years ago
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
8 years ago
Craig Tiller
25910a2896
Fix compilation
8 years ago
Craig Tiller
73ee7dc559
C++ compiles
8 years ago
Yuchen Zeng
7810898658
Add grpc_socket_mutator_compare
8 years ago
Craig Tiller
cd78879c56
Fix test
8 years ago
Mark D. Roth
0e44a258cb
Fix C++ filter API and add test for it.
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Yuchen Zeng
87772d5b88
Fix asan issues, clean up
8 years ago
Yuchen Zeng
de3daf5d63
More interfaces for grpc_socket_mutator
8 years ago
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
2e1903638e
Fix copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
David Garcia Quintas
e2f243ba7c
clang format
9 years ago
David Garcia Quintas
0160873273
PR comments addressed
9 years ago
Vijay Pai
e32ef7acde
Make timeout instant as well
9 years ago
Vijay Pai
64e7875510
Should have a test for 0 and negative alarms to make sure that those make
...
it on to the CQ like any other.
9 years ago
David Garcia Quintas
1689990ff3
clang format
9 years ago
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
9 years ago
vjpai
dbca72fb01
init test
9 years ago
vjpai
8fdafede06
tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
...
type
9 years ago