Commit Graph

180 Commits

Author SHA1 Message Date
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -07:00
Craig Tiller 1a8f1e831d Make alarm_test tolerant of threading 2017-09-21 10:07:36 -07:00
Vijay Pai 58c33ba19b Decouple alarm construction from setting to avoid races in MT code 2017-09-07 11:34:13 -07:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Vijay Pai 81522c8ebe Add unsecure libraries to bazel build targets 2017-08-02 19:44:32 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
Mark D. Roth 96e51c8e56 Merge pull request #11648 from markdroth/c++_filter_fixes
Improvements to C++ filter API
2017-06-30 11:41:45 -07:00
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.
2017-06-29 08:11:57 -07:00
David Garcia Quintas ab1ff6b041 Split move test 2017-06-28 14:14:24 -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
David Garcia Quintas e48949f0b4 Make grpc::Alarm non-copyable 2017-06-20 15:42:56 -07:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Nicolas "Pixel" Noble e40877931a Missed one gtest reference. 2017-05-11 00:42:32 +02:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Nicolas "Pixel" Noble 8e0684b5d4 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-27 18:50:04 +02:00
Yuchen Zeng 9f0a115f05 Test if the user agent string is copied correctly 2017-03-22 18:03:06 -07:00
Nicolas "Pixel" Noble ddab452096 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-22 18:30:44 +01:00
Yuchen Zeng 4564b8cde7 Copy value at SetPointerWithVtable 2017-03-14 11:40:56 -07:00
Craig Tiller bf515b6f7f Merge github.com:grpc/grpc into cpp_bazelness 2017-02-24 16:23:50 -08:00
Craig Tiller eb022becae Fix compile 2017-02-22 08:08:53 -08:00
Craig Tiller bbc1eb00a8 Finish test/cpp/common 2017-02-17 14:40:40 -08:00
Craig Tiller 05fbe3c518 Get gtest building with Bazel, add first test in test/cpp/common/BUILD 2017-02-17 13:27:21 -08:00
Robbie Shade ca7effcdff Replace timeout/scaling macros with functions. 2017-01-31 15:40:20 -05:00
Craig Tiller 0704727c2d Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-27 08:38:35 -08:00
Mark D. Roth 13f3574642 clang-format 2016-12-14 12:39:03 -08:00
Mark D. Roth 42663fb20e Fix bug. 2016-12-12 10:51:01 -08:00
Mark D. Roth aa1cd14729 Clean up C++ filter API. 2016-12-12 10:24:59 -08:00
Craig Tiller 25910a2896 Fix compilation 2016-12-06 17:39:45 -08:00
Yuchen Zeng 5c1f55af23 Merge pull request #8335 from y-zeng/tos
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Yuchen Zeng 7810898658 Add grpc_socket_mutator_compare 2016-11-08 14:28:03 -08:00
Mark D. Roth 0ace62f832 Merge pull request #8618 from markdroth/channel_info_api
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Craig Tiller cd78879c56 Fix test 2016-11-08 08:56:18 -08:00
Mark D. Roth 0e44a258cb Fix C++ filter API and add test for it. 2016-11-07 11:26:05 -08:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Yuchen Zeng 87772d5b88 Fix asan issues, clean up 2016-10-14 11:33:16 -07:00
Yuchen Zeng de3daf5d63 More interfaces for grpc_socket_mutator 2016-10-13 17:26:26 -07:00
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...
2016-05-04 15:51:28 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
David Garcia Quintas e2f243ba7c clang format 2016-02-23 09:38:41 -08:00
David Garcia Quintas 45add8a445 Merge branch 'master' of github.com:grpc/grpc into alarm_cpp 2016-02-22 23:15:28 -08:00
David Garcia Quintas 0160873273 PR comments addressed 2016-02-22 17:49:45 -08:00
Vijay Pai e32ef7acde Make timeout instant as well 2016-02-22 17:25:51 -08:00
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.
2016-02-18 13:38:32 -08:00
David Garcia Quintas 1689990ff3 clang format 2016-02-17 18:32:17 -08:00
David Garcia Quintas 4105505b33 Fixed refactoring of grpc_arg pointer vtable 2016-02-17 18:23:15 -08:00
yang-g a3c968d9c2 Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library 2016-02-12 14:54:16 -08:00
vjpai dbca72fb01 init test 2016-02-11 00:18:16 -08:00
vjpai 8fdafede06 tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
type
2016-02-10 23:16:55 -08:00
vjpai 04e992a750 Make C++ alarm class usable and testable - there were some build issues and
it was not actually even included in the library or the test suite.
2016-02-10 16:58:38 -08:00
yang-g 1945ae4285 Fix copyright 2016-02-10 12:48:32 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
David Garcia Quintas a43aadd7e1 fixed copyrights 2016-01-21 10:01:28 -08:00
David Garcia Quintas 08a0a3306e Made "codedgen" directories closed over #includes 2016-01-21 01:04:36 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
yang-g 52705590e4 Add set pointer api to channel_arguments 2015-11-25 11:45:33 -08:00
David Garcia Quintas 7fd0fd5023 C++ Alarm implementation (with tests). 2015-10-07 19:04:58 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
Julien Boeuf 68ff03a952 Fixing AuthContext tests. 2015-08-28 14:21:24 -07:00
Julien Boeuf 459faf3821 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-27 16:07:46 -07:00
Julien Boeuf 5b3516e2c5 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-26 11:19:10 -07:00
yang-g d090fe1379 auth context api change for string_ref 2015-08-25 16:53:07 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Julien Boeuf c2274e7069 Adding C++ auth metadata processor.
- We always do the processing asynchronously but maintain a synchronous
  API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
  object in grpc++ would really help with that (as we would use it for
  C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
  proceed with tests.
2015-08-13 17:25:52 -07:00
Julien Boeuf 54b5018dd8 Fixing cpp tests. 2015-08-05 21:40:49 -07:00
Craig Tiller be043d9ce7 Merge branch 'auth_md_processor' of github.com:jboeuf/grpc into complain-with-both-passion-and-meaning 2015-07-31 08:51:11 -07:00
Vijay Pai e66165dead Remove iterator-based test altogether 2015-07-21 21:11:38 +00:00
Vijay Pai c4af224970 Remove one range-based for and do appropriate static casts on nullptr 2015-07-21 18:44:20 +00:00
Julien Boeuf ea456fc2bf Server auth metadata processor.
- Right now it is a global function: would be better to have this per
  (secure) port.
- Changed the interface of the auth_context slightly to make it more
  friendly.
- Positive tests pass. Still need some work on error case (have a
  negative case as well).
- Fixing cpp auth context tests so that they use the shiny new C API.
2015-07-16 22:42:02 -07:00
yang-g 7ef7232dd9 split iterator into its own file 2015-07-16 21:00:51 -07:00
yang-g 14b3684dee Remove const_iterator typedef and add a range based loop test 2015-07-15 13:20:23 -07:00
yang-g 811536efce auth context iterator 2015-07-15 00:55:30 -07:00
Craig Tiller d0955f36dc Compile fix for Mac 2015-07-10 07:52:37 -07:00
yang-g f9e8e59b1c Resolve comments 2015-07-09 12:32:15 -07:00
yang-g 8068f86974 Add a unit test 2015-07-06 15:05:48 -07:00