Tamir Duberstein
013e67a029
Deprecate grpc{_core,::internal}::WaitUntil ( #26866 )
...
It is not possible for such a function to be implemented in a way that
is understood by annotalysis. Mark it deprecated and replace instances
of its use with direct mutex/condvar usage.
Add a bunch of missing thread safety annotations while I'm here.
2021-08-04 17:03:25 -07:00
Vijay Pai
8aff94558c
De-experimentalize C++ callback API ( #25728 )
...
* De-experimentalize callback API
* Make FromServerContext based on ServerContextBase
* Fix lambda
* Fix headers
* De-experimentalize tests
* clang-format
* Fix consistency checks
* wip
* Fix const-ness of callback client read RPC requests
* Fix golden file
* Give full route_guide callback client example with Hold etc
* Complete example route-guide server
* De-experimentalize test services
* Omit unneeded using
* Remove some uses of non-experimental macro from test
* clang-format examples
* De-experimentalize async stub calls
* Remove experimental namespace use in qps, ubms
* De-experimentalize alarms, generic stubs, and context allocator
* De-experimentalize SetContextAllocator
* clang-format
* Fix conflicts
* Leave obsolete API in place until users can be migrated
2021-05-27 14:55:25 -07:00
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
2021-03-09 21:30:35 -08:00
Esun Kim
6468d8a69d
Make grpcpp/mutex compatible absl/mutex
2021-02-11 15:02:42 -08:00
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
2020-10-19 18:12:11 -07:00
Esun Kim
ece76ee1e8
Fix code by readability-container-size-empty
2020-10-16 09:48:20 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Esun Kim
415d41f9e8
Rerun clang-formatter-7
2020-03-03 10:46:55 -08:00
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
2019-11-20 16:56:18 -08:00
Vijay Pai
fbfaffaf5a
clang-format
2019-10-17 09:07:46 -07:00
Vijay Pai
30f1230c10
Remove unused parameter warning (16 of 20)
2019-10-17 08:51:55 -07:00
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
2019-04-23 14:03:06 -07:00
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
2019-04-23 13:54:26 -07:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
yang-g
eb64fadfce
Provide a way to use custom search path for gmock.h
2017-12-22 13:46:25 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
6fa7236d24
Moving testing headers at the end.
2017-05-25 19:38:44 +02:00
Nicolas "Pixel" Noble
0885f98863
Fixing mock test target.
2017-05-12 21:10:55 +02:00
Nicolas "Pixel" Noble
eb36b8ac77
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
2017-05-10 18:33:12 +02:00
Mahak Mukhi
443a75dd22
1. Added golden file test.
...
2. Added support for mock.
3. Sanity fix.
2017-04-14 15:33:55 -07:00
Mahak Mukhi
2814b5148e
formatting
2017-04-13 14:45:26 -07:00
Mahak Mukhi
e536eeb6d0
Added tests for uni-directional streaming RPCs.
2017-04-12 17:16:23 -07:00
Mahak Mukhi
31d92d42ff
Initial commit: Auto-generate GMOCK code for client stub.
2017-04-12 17:16:23 -07:00
Yuxuan Li
bdc76ab37b
bug fix
2017-03-08 10:59:31 -08:00
Vijay Pai
713c7b87e1
clang-format
2016-11-01 16:33:18 -07:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
David Garcia Quintas
d10f1775eb
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-03 12:42:02 +02:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
Vijay Pai
2d04dd827c
Change API for next message size to allow a bool return value for failure
...
cases.
2016-07-27 11:35:56 -07:00
vjpai
fcb98a578c
Add NextMessageSize method to all readable streams as an upper-bound
...
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
David Garcia Quintas
2bf574f814
Added back trailing newlines
2016-01-14 15:55:03 -08:00
murgatroid99
ace28d3f98
Fix copyrights again
2016-01-14 10:12:10 -08:00
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
2016-01-13 22:52:17 -08:00
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Julien Boeuf
675b5ce861
Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change
2015-11-17 15:05:45 -08:00
vjpai
6bf1de9ab2
Mark a method with GRPC_OVERRIDE to avoid compiler warning
2015-11-02 14:48:57 -08:00
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
2015-10-12 14:09:13 -07:00
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
2015-08-30 22:18:50 -07:00
Julien Boeuf
5be92a316d
Shuffling headers around.
2015-08-28 16:28:18 -07:00
yang-g
730055d962
implementation fix
2015-08-27 12:29:45 -07:00