Commit Graph

2297 Commits

Author SHA1 Message Date
Craig Tiller 5f95f1a4ca Merge github.com:grpc/grpc into cpparena 2017-04-01 07:42:20 -07:00
Craig Tiller 6d4894e9d6 optionalize max_age 2017-03-31 17:22:06 -07:00
Craig Tiller 9eb0fdec00 Reorganize ext tree
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
2017-03-31 16:59:30 -07:00
Craig Tiller 9c54a0c12c Merge pull request #10382 from ctiller/checks
Reinstate filegroup dependency checks, fix fallout
2017-03-31 16:10:35 -07:00
Yuchen Zeng 6715a15fe1 Merge pull request #10318 from y-zeng/server_channel_max_age
Max age for server channels
2017-03-31 10:59:04 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
Sree Kuchibhotla e04906dc54 Merge branch 'master' into cq_create_api_changes 2017-03-30 13:20:00 -07:00
Craig Tiller 29b527fa30 Reinstate one check, fix fall out 2017-03-30 10:27:20 -07:00
Ken Payson 484871bb03 Bump version to 1.2.1 2017-03-28 18:00:33 -07:00
kpayson64 e417739682 Merge pull request #10345 from kpayson64/real_spinlock_fix
Fix Python poll() server spinlock bug
2017-03-28 17:34:14 -07:00
Ken Payson c9a3aaaa54 Fix Python poll() server spinlock bug 2017-03-28 16:20:04 -07:00
Craig Tiller 134fed3a85 Move src/core/lib/tsi --> src/core/tsi 2017-03-28 14:27:18 -07:00
Yuchen Zeng a809ea5c14 Add max_age_filter 2017-03-28 02:11:49 -07:00
Sree Kuchibhotla 67647d4b1d Merge branch 'master' into cq_create_api_changes 2017-03-27 16:40:22 -07:00
makdharma c4478a103b Merge pull request #10222 from makdharma/caching_with_uri
using URI query to communicate payload
2017-03-26 21:05:20 -07:00
Sree Kuchibhotla 79441baed9 Merge branch 'master' into cq_create_api_changes 2017-03-24 15:01:23 -07:00
Yuchen Zeng f466ae116e Merge pull request #7771 from y-zeng/cares_buildin
Async DNS resolver with pre-configured c-ares
2017-03-24 14:52:04 -07:00
Sree Kuchibhotla b6512cf940 Merge pull request #10245 from sreecha/cq_factory_api
Introduce grpc_completion_queue_factory API
2017-03-24 13:23:44 -07:00
Alexander Polcyn 69c2717c80 bump v1.2.x branch version to 1.2.1-pre2 2017-03-24 11:39:52 -07:00
Makarand Dharmapurikar a128b7a8a5 Merge branch 'master' of https://github.com/grpc/grpc into caching_with_uri 2017-03-24 11:12:20 -07:00
Sree Kuchibhotla 944a56fa84 Merge branch 'master' into cq_create_api_changes 2017-03-24 10:55:39 -07:00
Nicolas Noble af61d0b7b4 Merge pull request #10293 from nicolasnoble/upmerge-1.2.0
Upmerge from 1.2.0
2017-03-24 10:06:43 -07:00
Sree Kuchibhotla 7b81147cc9 Merge branch 'master' into cq_create_api_changes 2017-03-24 09:52:02 -07:00
Michael Warres c46b3ebeb9 Add socket factory support to udp_server.c 2017-03-24 11:33:20 -04:00
Nicolas "Pixel" Noble e44a50ffd7 Merge branch 'v1.2.x' of https://github.com/grpc/grpc into upmerge-1.2.0 2017-03-24 00:54:47 +01:00
Yuchen Zeng d3360844f3 Merge remote-tracking branch 'upstream/master' into cares_rebase 2017-03-23 10:58:49 -07:00
Mehrdad Afshari 02735941e4 Add pylint comment to justify unused import 2017-03-23 10:27:30 -07:00
Mehrdad Afshari 626efa67f0 Temporarily disable testFileContainingExtension
There is a behavioral discrepency in
`DescriptorPool.FindFileContainingSymbol` between the two
implementations of the protobuf python library (one of which is purely
python, and the other utilizes a python extension library written in
C++).

protobuf on PyPI is distributed via various prebuilt wheels, and our CI
setup fetches the relevant one for each platform.  Our Linux instances
end up fetching a pre-compiled C++ version of the library, whereas our
Mac and Windows builders automatically get the pure python version.
This test fails (and our reflection implementation itself) succeeds with
the C++ implementation but fails with the pure python version.

The test will be temporarily disabled pending a fix for
https://github.com/google/protobuf/issues/2882
2017-03-23 09:19:23 -07:00
Mehrdad Afshari 7472e13095 Sort service_names returned by python reflection
While not strictly required by the protocol,
it will make testing easier.
2017-03-23 09:18:48 -07:00
Mehrdad Afshari 7be69fcc1c Add helper function for enabling python reflection 2017-03-23 09:18:15 -07:00
Mehrdad Afshari 9ca61fd05f Add all_extension_numbers_of_type in py reflection 2017-03-23 09:17:24 -07:00
Mehrdad Afshari 03d9500ec0 Test all_extension_numbers_of_type 2017-03-23 09:15:33 -07:00
Mehrdad Afshari 8be4e03af2 Add ReflectionServicer._file_containing_extension 2017-03-23 09:14:31 -07:00
Mehrdad Afshari a0cbe8c0f7 Fix and un-skip testFileContainingExtension
Fix and un-skip the test for _file_containing_extension
in python reflection service to refer to the correct proto
and expect the right object to be returned. Enable it too.
2017-03-23 09:12:59 -07:00
Sree Kuchibhotla 12081c0304 Merge branch 'cq_create_api_changes' into cq_create_api_changes_with_factory 2017-03-22 13:00:18 -07:00
Sree Kuchibhotla e414d6cf00 Merge branch 'master' into cq_create_api_changes 2017-03-22 13:00:04 -07:00
Sree Kuchibhotla 56b1032feb Python changes 2017-03-22 12:37:17 -07:00
Yuchen Zeng 937302b0df Merge remote-tracking branch 'upstream/master' into cares_rebase 2017-03-22 10:54:31 -07:00
Makarand Dharmapurikar 226098c9f1 added b64.c to the sources neede for grpc_base 2017-03-22 10:53:37 -07:00
Mark D. Roth 5c42af696d Merge pull request #9655 from markdroth/remove_initial_connect_string
Remove initial_connect_string hack.
2017-03-22 08:14:06 -07:00
Sree Kuchibhotla 5ea3bbd418 Merge branch 'cq_factory_api' into cq_create_api_changes_with_factory 2017-03-21 17:18:41 -07:00
Sree Kuchibhotla 098110d882 Merge branch 'master' into cq_factory_api 2017-03-21 16:39:11 -07:00
Sree Kuchibhotla 313b895064 Merge branch 'master' into cq_create_api_changes 2017-03-21 16:38:57 -07:00
Sree Kuchibhotla bf18428740 Introduce grpc_completion_queue_factory API
Just the API and a bare-bone implementation
2017-03-21 15:18:58 -07:00
Mark D. Roth 62d1dd920e Merge pull request #9850 from markdroth/retry_throttle
Retry throttling implementation.
2017-03-21 13:40:20 -07:00
Mark D. Roth 14ef5d83e2 Merge remote-tracking branch 'upstream/master' into remove_initial_connect_string 2017-03-21 13:08:53 -07:00
Sree Kuchibhotla 36c370793b Merge branch 'master' into cq_create_api_changes 2017-03-21 10:28:40 -07:00
Alexander Polcyn 3e30832cca bump v1.2.x branch to 1.2.1-pre1 2017-03-20 17:00:45 -07:00
David Garcia Quintas 69e5a28635 Going for 1.2.0 2017-03-20 12:51:17 -07:00
Nathaniel Manista 496734412b Merge pull request #10212 from nathanielmanistaatgoogle/update-tests
Update tests to current gRPC code elements.
2017-03-20 12:49:27 -07:00
Nathaniel Manista bb7484cee7 Update tests to current gRPC code elements 2017-03-17 23:42:39 +00:00
Yuchen Zeng 9bc0d8200e Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 16:00:17 -07:00
Yuchen Zeng 2c977084c8 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 15:57:23 -07:00
Yuchen Zeng f39cf46842 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 15:53:39 -07:00
kpayson64 252205cef8 Merge pull request #10022 from kpayson64/resource_exauhsted
Add max_requests argument to server
2017-03-17 15:38:27 -07:00
Yuchen Zeng d9efa4a5fd Merge pull request #10123 from y-zeng/android
Fix android build
2017-03-17 11:04:49 -07:00
Mark D. Roth f3792b2024 Merge remote-tracking branch 'upstream/master' into remove_initial_connect_string 2017-03-17 11:04:09 -07:00
Ken Payson 39a5932097 Add max_requests argument to server
If the server is already serving max requests, return RESOURCE_EXHAUSTED
2017-03-17 10:38:50 -07:00
Mark D. Roth 693d2b48ab Merge remote-tracking branch 'upstream/master' into retry_throttle 2017-03-17 09:53:35 -07:00
Mark D. Roth fecba535d9 Switch to using a CAS loop to update the token value. 2017-03-17 09:50:48 -07:00
kpayson64 b4121cad15 Merge pull request #10188 from kpayson64/another_gil_fix
Initialize GIL at startup
2017-03-17 08:59:02 -07:00
kpayson64 7655748917 Merge pull request #10186 from kpayson64/bump_pre_version
Bump 1.2.x version to pre-2
2017-03-16 16:15:14 -07:00
Ken Payson 867e35a458 Initialize GIL at startup 2017-03-16 14:05:12 -07:00
Ken Payson 12ca7d319c Bump 1.2.x version to pre-2 2017-03-16 11:01:06 -07:00
Nathaniel Manista 6b2662adf5 Merge pull request #10174 from nathanielmanistaatgoogle/health
Update health to current gRPC code elements.
2017-03-15 18:12:37 -07:00
Craig Tiller 41373d0457 Merge pull request #10122 from ctiller/arena
Arena allocator for grpc
2017-03-15 16:16:30 -07:00
Ken Payson 8b371e23c0 Change GIL aquire functions to make it c-core thread safe 2017-03-15 16:15:13 -07:00
Nathaniel Manista 488d419125 Update health to current gRPC code elements 2017-03-15 23:09:52 +00:00
Mark D. Roth 3a91707ace Merge remote-tracking branch 'upstream/master' into retry_throttle 2017-03-15 08:06:21 -07:00
Yuchen Zeng 68745bbf8a Resolve dependency issues 2017-03-14 18:00:48 -07:00
Yuchen Zeng 47155ed254 Split ifaddr related functions out into a separate file 2017-03-13 17:18:07 -07:00
Craig Tiller 9202b3fdfd Arena allocator for grpc 2017-03-12 22:30:38 -07:00
Siddharth Shukla fe6bc6999c Skip split_definitions_test if PyPy
Skip SameSeparateTest, SameCommonTest, SplitCommonTest, and
SplitSeparateTest if the interpreter is PyPy.
2017-03-12 17:28:08 +01:00
kpayson64 32f32ea0b2 Merge pull request #9990 from kpayson64/fill_in_fields
Add package details to grpcio/grpcio-tools
2017-03-10 15:35:55 -08:00
Ken Payson 78354300bf Add package details to gRPC Packages 2017-03-10 10:47:45 -08:00
David Garcia Quintas 904e7f53ae Introducing 1.2.0-pre1 2017-03-09 15:02:19 -08:00
David Garcia Quintas 74cec10619 Bumped version to 1.3.0-dev 2017-03-09 15:00:26 -08:00
Sree Kuchibhotla 89da88c7b4 Merge branch 'master' into cq_create_api_changes 2017-03-08 14:45:23 -08:00
Nathaniel Manista 04b4d4c54b Merge pull request #9974 from nathanielmanistaatgoogle/lint
More lint.
2017-03-08 12:54:27 -08:00
Sree Kuchibhotla 36108cce7d Merge branch 'master' into cq_create_api_changes 2017-03-08 10:40:38 -08:00
Mehrdad Afshari 9b3c73d1cd Updated protobuf dependency for python to 3.2.0 2017-03-07 22:10:15 +00:00
Sree Kuchibhotla b4a6f908ca Python: Completion queue creation API changes 2017-03-06 10:57:34 -08:00
Nathaniel Manista 26515ab5ba Merge pull request #9967 from nathanielmanistaatgoogle/lint
Lint progress.
2017-03-03 08:07:23 -08:00
Nathaniel Manista 3ec1366eb6 Enable unused-argument lint 2017-03-03 06:23:53 +00:00
Nathaniel Manista 8fccf59d04 Enable too-many-return-statements lint 2017-03-03 06:08:02 +00:00
Nathaniel Manista c3038a5cb3 Suppress and enable too-many-locals lint 2017-03-03 06:00:01 +00:00
Nathaniel Manista db0f85b010 Configure and enable too-many-arguments lint 2017-03-03 05:59:10 +00:00
Nathaniel Manista 18f025e0a3 Fix and enable super-init-not-called lint 2017-03-03 05:57:37 +00:00
Nathaniel Manista af39256c01 Fix and enable redefined-outer-name lint 2017-03-03 01:06:20 +00:00
Nathaniel Manista 0ee3e3ec2d Merge pull request #9866 from nathanielmanistaatgoogle/lint-fixes
Lint fixes.
2017-03-02 16:58:44 -08:00
Nathaniel Manista b16d765c0c Work toward enabling cyclic-import lint 2017-03-02 23:43:26 +00:00
Nathaniel Manista 4531cbe937 Selectively suppress and enable broad-except lint 2017-03-02 23:43:16 +00:00
Nathaniel Manista f4aca31d21 Merge pull request #9961 from nathanielmanistaatgoogle/_connectivity_channel
Remove grpc.beta._connectivity_channel.
2017-03-02 13:48:52 -08:00
Nathaniel Manista e151a21ee4 Fix and enable unused-variable lint
In _server.py start_server_batch_result is removed because
start_server_batch can only ever fail as a result of a programming
defect in gRPC Python and not the application. This differs from some
analogous-appearing points in _channel.py where the result of
start_client_batch is checked because at those points it is possible
for a failure to indicate a programming defect on the part of the
application.
2017-03-02 21:39:51 +00:00
Nathaniel Manista d5e3766027 Fix and enable no-value-for-parameter lint 2017-03-02 21:39:51 +00:00
Nathaniel Manista 7983213fd2 Fix and enable unused-import lint 2017-03-02 21:39:51 +00:00
Nathaniel Manista 017365d072 Fix and enable no-self-use lint 2017-03-02 21:39:40 +00:00
Noah Eisen 0093d6684f Merge pull request #9931 from ncteisen/to-time-dot-sleep-perchance-to-dream
Add sleep(1) to Python negative http2 client
2017-03-02 13:04:38 -08:00
Nathaniel Manista 98a4c6f33f Remove grpc.beta._connectivity_channel
This should have been removed in, and has done anything but fail on
import since, 4d425522bf.
2017-03-02 19:13:15 +00:00
kpayson64 07ad1b9c7c Merge pull request #9938 from kpayson64/increase_epsilon
Increase epsilon in thread cleanup test
2017-03-01 12:05:28 -08:00
Mark D. Roth 02612c163e Merge remote-tracking branch 'upstream/master' into retry_throttle 2017-03-01 10:58:13 -08:00
kpayson64 47d7a08e1e Increase epsilon in thread cleanup test 2017-03-01 10:39:49 -08:00
Noah Eisen da22274401 Add sleep(1) to Python negative http2 client
client now conforms to spec. See
https://github.com/grpc/grpc/blob/master/doc/negative-http2-interop-test-descriptions.md
2017-03-01 08:30:57 -08:00
Nathaniel Manista fc39593a08 Add missing unittest.main call
This should have been included in 48226a2f1f.
2017-02-28 23:09:35 +00:00
Michael Lumish 63852c933b Merge pull request #9694 from nicolasnoble/upmerge_from_1_1_x
Upmerge from 1.1.x
2017-02-23 14:39:37 -08:00
Mark D. Roth d6d192d005 Retry throttling implementation. 2017-02-23 08:58:42 -08:00
Nathaniel Manista 90798ab199 Fix and enable no-member lint 2017-02-22 18:56:55 +00:00
Paul Marks 69c0437e75 Merge pull request #9634 from pmarks-net/master
Connect to "localhost" from interop clients.
2017-02-16 16:34:42 -08:00
Nathaniel Manista a52d3bb39b Fix and enable simplifiable-if-statement lint 2017-02-15 23:00:05 +00:00
Nathaniel Manista 402aca6621 Fix and enable dangerous-default-value lint
The fix is more of an elision and the code in the changed area is
reflowed.
2017-02-15 22:43:52 +00:00
Nathaniel Manista 3577f63136 Fix and enable logging-format-interpolation lint 2017-02-15 22:09:16 +00:00
kpayson64 86e9f3564a Merge pull request #9709 from kpayson64/preserve_call
Store cython-level call in grpc.Call
2017-02-15 09:43:50 -08:00
Ken Payson d5d9d9e672 Store cython-level call in grpc.Call
This allows inspecting c-level properties of the call after completion.
2017-02-14 15:01:26 -08:00
Nicolas "Pixel" Noble e00d63f3ea Merge remote-tracking branch 'google/v1.1.x' 2017-02-13 23:37:17 +01:00
kpayson64 dfa88e95c5 Merge pull request #9672 from kpayson64/v1_1_x_cherrypick
Use unique namespace for each python protoc test
2017-02-10 13:56:04 -08:00
Ken Payson 6193f23f94 Use unique namespace for each python protoc test
Using the same namespace results in errors when using the c-extension
version of protobuf due to name collisions
2017-02-10 12:09:11 -08:00
Ken Payson dbf571ea07 Use unique namespace for each python protoc test
Using the same namespace results in errors when using the c-extension
version of protobuf due to name collisions
2017-02-10 11:06:23 -08:00
Mark D. Roth 1dcd922ce6 Remove initial_connect_string hack. 2017-02-09 09:40:07 -08:00
Yuchen Zeng f44e781d01 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-02-08 20:15:20 -08:00
Nathaniel Manista 87562c83e4 Merge pull request #7432 from thinkerou/fix_undefined_name
Fix undefined name found by pyflakes.
2017-02-08 11:36:20 -08:00
thinkerou 2b43481ff3 fix undefined name 2017-02-08 13:05:07 +08:00
Michael Lumish fa301e3674 Merge pull request #9613 from murgatroid99/node_disable_libuv_core
Disable libuv core changes in Node library and bump version number
2017-02-07 18:20:39 -08:00
David Garcia Quintas 012915045f Secure naming support for gRPCLB 2017-02-07 17:41:57 -08:00
Paul Marks 3a5bba0a20 Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google
bug b/32531998.

Note that InteropClient.cs and http2_client.cc don't appear to be tested
by our internal branch, but I've included them for consistency.
2017-02-07 16:28:09 -08:00
Nathaniel Manista 9e61e08065 User-Agent "Python-gRPC-" → "grpc-python/"
This brings gRPC Python into conformance with the recommendation in
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md.
2017-02-07 19:31:03 +00:00
David G. Quintas b4726ff0a6 Merge pull request #9598 from kpayson64/pin_yapf
Re-run yapf code, and pin version
2017-02-06 22:29:13 -08:00
murgatroid99 2b3e12ceee Update version to 1.1.2 2017-02-06 17:42:07 -08:00
Ken Payson 0f5e3a87c2 Ran Yapf code, pinned version 2017-02-06 10:42:45 -08:00
Ken Payson 2fa5f2f978 Re-run yapf code, and pin version 2017-02-06 10:27:09 -08:00
Yuchen Zeng 86d2115553 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-02-01 16:12:08 -08:00
Craig Tiller 3a63d4c005 Merge github.com:grpc/grpc into bwest 2017-02-01 15:27:24 -08:00
Michael Lumish 0e8763ffb1 Merge pull request #9533 from murgatroid99/version_1.1.1_bump
Bump version to 1.1.1
2017-02-01 09:57:38 -08:00
murgatroid99 e15b5a42af Bump version to 1.1.1 2017-01-31 16:23:54 -08:00
Yuchen Zeng 92edda5129 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-31 15:59:19 -08:00
Craig Tiller a5b1a89779 Merge github.com:grpc/grpc into bwest 2017-01-31 15:56:57 -08:00
Craig Tiller 6e0a4760c4 Merge github.com:grpc/grpc into version3 2017-01-31 15:54:32 -08:00
murgatroid99 ba7c059c64 Run yapf_code on v1.1.x 2017-01-31 13:42:33 -08:00
Craig Tiller 5cad46e218 Bump master version numbers 2017-01-30 15:32:24 -08:00
Nicolas "Pixel" Noble 4dcb7862bf Flagging version 1.1.0. 2017-01-30 23:28:06 +01:00
David Garcia Quintas 4a1fa69d2d ran yapf 2017-01-30 10:29:49 -08:00
Mark D. Roth 203de0fa41 Really fix python. 2017-01-28 02:23:51 +01:00
Mark D. Roth 26e973e36e Fix cython bug. 2017-01-28 02:23:42 +01:00
Mark D. Roth e6dd773dff Move parameters for all grpc_op types into their own sub-structs. 2017-01-28 02:23:30 +01:00
Craig Tiller 95ccbc2d6f Merge branch 'bm_countwrites' into bwest 2017-01-27 14:10:09 -08:00
Craig Tiller 48af8b2721 Merge github.com:grpc/grpc into bwest 2017-01-26 13:58:52 -08:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Mark D. Roth 4ffcb2058d Merge pull request #9465 from markdroth/core_api_change
Move parameters for all grpc_op types into their own sub-structs.
2017-01-26 12:08:11 -08:00
Craig Tiller c63aaf1650 Merge branch 'cp' into rollfwd 2017-01-26 08:51:30 -08:00
Mark D. Roth db74844fb6 Really fix python. 2017-01-26 08:04:15 -08:00
Yuchen Zeng bc8a70445d Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-25 16:10:18 -08:00
Mark D. Roth 02adb8914f Fix cython bug. 2017-01-25 15:02:08 -08:00
Mark D. Roth 448c1f002c Move parameters for all grpc_op types into their own sub-structs. 2017-01-25 10:44:30 -08:00
Mark D. Roth 6f690f3483 Merge pull request #9372 from markdroth/proxy_mapper
Add proxy mapper hook.
2017-01-25 10:42:34 -08:00
Mark D. Roth 674fe85d11 Merge pull request #9383 from markdroth/http_connect_channel_arg
Trigger HTTP CONNECT handshaker via channel args.
2017-01-25 10:41:18 -08:00
Craig Tiller 0f2e2e4a42 Merge github.com:grpc/grpc into rollfwd 2017-01-24 10:53:20 -08:00
Yuchen Zeng d32dc3a188 Remove fallback files 2017-01-23 18:31:51 -08:00
Yuchen Zeng e38698e5bd Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-23 17:19:53 -08:00
Yuchen Zeng 6694bb079a Migrate to the new c-ares dir 2017-01-23 17:09:51 -08:00
Nicolas "Pixel" Noble da83b376eb Changing versions from -dev to -pre1 on the release branch. 2017-01-23 23:52:35 +01:00
Masood Malekghassemi c9cf96d2e1 Merge pull request #9127 from soltanmm-google/if-you-rely-only-on-yourself-fewer-things-might-go-wrong-but-fewer-things-might-go-right
Don't leak Py exceptions without calling gRPC core
2017-01-23 17:05:49 -05:00
Masood Malekghassemi 6b890d1dd3 Run yapf over Python code 2017-01-23 15:10:28 -05:00
Masood Malekghassemi 0b1bb2d418 Don't leak Py exceptions without calling gRPC core 2017-01-23 15:10:27 -05:00
David G. Quintas f2c5c1e541 Merge pull request #9428 from grpc/revert-8842-metadata_filter
Revert "Metadata handling rewrite"
2017-01-23 12:08:46 -08:00
Masood Malekghassemi f621a0fabe Merge pull request #9422 from soltanmm-google/as-filthy-rich-as-our-cabinet-secretaries
Add __richcmp__ to cygrpc.Timespec
2017-01-23 14:25:37 -05:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Nathaniel Manista c84725fd02 Merge pull request #9420 from nathanielmanistaatgoogle/time_remaining
Fix grpc._server._Context.time_remaining.
2017-01-20 16:42:03 -08:00
Nicolas Noble 2e225c1d80 Merge pull request #9340 from stanley-cheung/update-boringssl
Update boringssl
2017-01-20 15:50:34 -08:00
Masood Malekghassemi a66dad5db6 Add __richcmp__ to cygrpc.Timespec 2017-01-20 18:41:52 -05:00
Nathaniel Manista 7d561a6328 Fix grpc._server._Context.time_remaining
A weak test is included; proper test coverage will come later.
2017-01-20 23:14:46 +00:00
Craig Tiller ff1f160a26 Merge github.com:grpc/grpc into bwest 2017-01-20 13:55:35 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
Stanley Cheung b39942f06f Update boringssl to latest chromium-stable 2017-01-20 11:07:08 -08:00
Craig Tiller c27b5b7933 Merge branch 'metadata_filter' of github.com:ctiller/grpc into metadata_filter 2017-01-20 06:54:38 -08:00
Noah Eisen 659e563e2e Merge pull request #9348 from ncteisen/python_negative_http2_fix
Change expected error code in Python negative interop client
2017-01-19 22:31:35 -08:00
Yuchen Zeng e02cbebd02 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-19 16:33:30 -08:00
Masood Malekghassemi c4d10dfb1b Fix Python memory errors
... but for real this time.
2017-01-19 16:21:45 -08:00
Nathaniel Manista d9ed84f66e Doc string fix and tweaks
In those places where we return an object that implements two
interfaces (let's say P and Q), consistently describe it as a "P-Q"
rather than once mentioning that it is a P and describing it as a "Q"
for the rest of prose.
2017-01-19 22:30:52 +00:00
ncteisen af2c01e73e Expect INTERNAL in Python negative interop client
The test now expects to receive StatusCode.INTERNAL when it receives a
RST_STREAM from the server in order to comply with
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

Also added wait for ready behavior on the client channel.
2017-01-19 11:41:25 -08:00
Yuchen Zeng 04ec4701e3 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-18 18:49:07 -08:00
Craig Tiller f593d88c78 Merge github.com:grpc/grpc into metadata_filter 2017-01-18 15:45:43 -08:00
Mark D. Roth d58a985a56 Move detection of HTTP CONNECT proxy from DNS resolver to client channel. 2017-01-18 08:28:57 -08:00
Craig Tiller 5acc826ace Merge github.com:grpc/grpc into metadata_filter 2017-01-17 17:20:14 -08:00
Masood Malekghassemi a47245112b Fix Python errors 2017-01-17 16:49:17 -08:00
Nathaniel Manista 5aa2bcfd4d Pass an iterator rather than an iterable
This should have been included in dd52a31337
but was missed because it falsely passes almost all of the time.
2017-01-17 23:31:17 +00:00
Mark D. Roth 79f2a24644 Add proxy mapper hook. 2017-01-17 14:13:33 -08:00
Masood Malekghassemi cc793703bf Run Python formatting 2017-01-17 10:55:33 -08:00
Craig Tiller a36bdc162a Merge pull request #44 from soltanmm-google/meta_meta-meta-MUSHROOM-MUSHROOM-Snaaaaakkeeeee-oohhhh-it's-a-snaaaaakkeeeeee
Paper-over Python errors
2017-01-13 18:16:39 -08:00
Masood Malekghassemi 62d895bc77 Paper-over Python errors
This reads directly off of the slices rather than ref'ing and unref'ing
them. There's likely some silliness w.r.t. interned slices and
references to them outliving their associated call objects, but we are
just ignoring that for now.
2017-01-13 17:40:30 -08:00
Craig Tiller d425712427 Merge github.com:grpc/grpc into bwest 2017-01-13 09:33:57 -08:00
Craig Tiller 5ffd766a5e Merge github.com:grpc/grpc into metadata_filter 2017-01-10 15:28:25 -08:00
ncteisen d70c8bb871 Implement wait-for-ready behavior in Python stress and qps client
The clients now block until the channel is in the READY state. This
fixes some test flakiness issues we have had.
2017-01-10 11:59:28 -08:00
Craig Tiller d04dc4da81 Merge github.com:grpc/grpc into fix_errors 2017-01-09 14:40:28 -08:00
Mark D. Roth 6cf58c8173 Merge pull request #9129 from markdroth/handshaker_plugin
Handshaker plugin mechanism
2017-01-09 09:43:47 -08:00
Craig Tiller 732351f826 Start fixing http error --> grpc status conversion 2017-01-06 14:52:01 -08:00
Craig Tiller 0d8e0b138d Merge github.com:grpc/grpc into fix_errors 2017-01-06 13:59:30 -08:00
Mark D. Roth 1f0f23cc5a Handshaker plugin mechanism. 2017-01-06 13:07:19 -08:00
Nathaniel Manista c6a0606080 v1.0.x → master upmerge
Manual resolution:

- New test added in src/python/grpcio_test/tests/tests.json

- Timeout-related edits resolved in tools/run_tests/run_tests.py

Manual changes:

- Pass request iterator rather than request sequence in
  _reflection_servicer_test.py
2017-01-06 16:06:26 +00:00
Craig Tiller 17f6904bad Merge branch 'slice_with_exec_ctx_and_new_closures' into metadata_filter_and_new_closures 2017-01-04 10:17:31 -08:00
Nathaniel Manista 41eabb8c1f Merge pull request #9212 from nathanielmanistaatgoogle/intraop
Rename interop-as-a-unit-test "intraop".
2016-12-29 13:36:51 -08:00
Nathaniel Manista 2fab0e78b0 Rename interop-as-a-unit-test "intraop"
It's been confusing that these tests have been called "interop" but
are not actually tests of interoperation.
2016-12-29 18:41:31 +00:00
Craig Tiller eb30c809cf Merge branch 'flow_control_v2' into bwest 2016-12-27 16:03:43 -08:00
Masood Malekghassemi 25186ae0f1 Set Python documentation copyright 2016-12-27 09:57:09 -08:00
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
siddharthshukla 48226a2f1f Add _invocation_defects_test.InvocationDefectsTest
Added tests for detecting invocation time defects arising out of the
runtime.
2016-12-22 02:50:12 +01:00
siddharthshukla dd52a31337 Replace Python unit test iterables by iterators
Cast iterables into iterators for stream based compression, empty
message, and metadata tests.
2016-12-20 13:19:23 +01:00
siddharthshukla 6bfa91a795 Handle non-iterator objects in consume_request_iterator
Restructure the consume_request_iterator method to handle exceptions
where the object being passed is not an iterator. Fixes #8231 and #8454.
2016-12-20 13:19:23 +01:00
Nathaniel Manista ab8fb5be32 Merge pull request #9156 from nathanielmanistaatgoogle/Exception.message
Drop use of Exception.message in metadata test.
2016-12-19 18:08:32 -08:00
Nicolas Noble f29de26194 Merge pull request #9145 from nathanielmanistaatgoogle/v1.0.x-upmerge
v1.0.x manual upmerge
2016-12-19 14:36:24 -08:00
ncteisen 02a7d4272a Add python client to test negative http2 conditions
Documentation for the new tests can be found https://github.com/grpc/grpc/blob/master/doc/negative-http2-interop-test-descriptions.md
2016-12-19 08:50:16 -08:00
siddharthshukla c336268a40 Fix invalid tests.json
Add a comma delimiter for "_invalid_metadata_test.InvalidMetadataTest".
2016-12-17 03:49:06 +01:00
Nathaniel Manista 6aedd44fb6 Drop use of Exception.message in metadata test
Apparently Exception.message was introduced in Python 2.5 and
deprecated almost immediately afterward in Python 2.6.
2016-12-17 00:42:00 +00:00
Nathaniel Manista 8f7b0b48bf v1.0.x → master upmerge
Manual changes:

 - Fixed use of Exception.message in _invalid_metadata_test.py

 - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb

 - Added "set -e" to generate_build_additions.sh
2016-12-16 23:48:52 +00:00
Masood Malekghassemi b4c27c1cd1 Merge pull request #9120 from soltanmm-google/if-you-run-away-from-things-it-just-means-you're-going-to-see-them-again-when-you-wrap-around-the-universe
Fix Python setup-time diagnostics
2016-12-15 11:56:33 -08:00
Noah Eisen 3fa20cffc6 Merge pull request #8995 from ncteisen/python_call_batch
Add check on return value from start_client_batch
2016-12-15 11:19:47 -08:00
ncteisen 61b8c89206 Add check on return value from start_client_batch 2016-12-15 10:07:40 -08:00
Craig Tiller 9a66ba5fe9 Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-15 07:13:35 -08:00
Masood Malekghassemi 4682bf3928 Diagnose AttrErr as too-old setuptools 2016-12-14 18:42:03 -08:00
Masood Malekghassemi 9fb054a537 Upversion Python 2016-12-14 11:52:26 -08:00
Masood Malekghassemi 94b82355cb Patch overlooked strings from Python un-namespacing 2016-12-14 11:52:26 -08:00
Masood Malekghassemi f1cdf59b7f Patch overlooked strings from Python un-namespacing 2016-12-14 11:51:40 -08:00
Craig Tiller 8735891b41 Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-14 11:07:56 -08:00
kpayson64 665ec81e9c Merge pull request #9006 from kpayson64/revert_bizarre_api
Revert "Add configurable exit grace periods and shutdown handlers"
2016-12-13 12:51:14 -08:00
Nathaniel Manista d0e336ab58 Merge pull request #9045 from nathanielmanistaatgoogle/interop-fixes-v1.0.x
Interop fixes.
2016-12-13 11:59:30 -08:00
Nathaniel Manista d0966d031d Merge pull request #9080 from nathanielmanistaatgoogle/channel_ready_future_tests-v1.0.x
Channel ready future test tweaks.
2016-12-13 11:46:54 -08:00
Nathaniel Manista 1de3914d69 Style fix: pass keyword arguments by keyword 2016-12-13 02:56:41 +00:00
Nathaniel Manista 91764921bc Use LONG_TIMEOUT for calls that do not time out 2016-12-13 02:53:20 +00:00
Masood Malekghassemi e136c1a773 Up-version Python 2016-12-12 16:24:31 -08:00
Masood Malekghassemi f096f540ee Recover 'namespace'd Python distribution packages
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
2016-12-12 16:24:25 -08:00
Masood Malekghassemi 53f6d098a7 Recover 'namespace'd Python distribution packages
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
2016-12-12 16:23:33 -08:00
Masood Malekghassemi 7ba3527ffe Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 16:03:23 -08:00
Masood Malekghassemi fb261bf748 Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00
Craig Tiller 1b0d2f008b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-12 07:19:55 -08:00
Nathaniel Manista 30492b90a3 Merge pull request #9041 from nathanielmanistaatgoogle/servicer_context_doc_strings-v1.0.x
ServicerContext methods doc string fix and tweak.
2016-12-11 12:18:47 -08:00
Nathaniel Manista e1fd78f110 Drop unnecessary sleep in interop test 2016-12-09 23:27:58 +00:00
Nathaniel Manista 8b223e2986 Correct Python cancel_after_begin interop test
It was a mistake that requests might be sent; the test specification
calls for no requests to be sent. It was a mistake that the response
future's cancelled() method was called; the cancelled() method returns
something more like "was this object's cancel() method called earlier?"
than "did the RPC terminate with status code CANCELLED?". Since it's
something that we'd well enough like to work I've retained the
cancelled() call with a different failure message.
2016-12-09 23:25:56 +00:00
Ken Payson 65feb6ae3d Add ServiceRpcHandler to exported names 2016-12-09 14:57:32 -08:00
Masood Malekghassemi 6ba93f2612 Up-version Python for backports 2016-12-09 14:47:31 -08:00
Nathaniel Manista b2b6a9eb57 ServicerContext methods doc string fix and tweak
ServicerContext.set_code takes a (grpc.)StatusCode, not an integer.
2016-12-09 22:25:36 +00:00
kpayson64 5431135ce5 Merge pull request #8742 from kpayson64/service_names_hint
Allow handlers to hint at the services they export
2016-12-09 12:51:34 -08:00
kpayson64 a44d3145c9 Allow handlers to hint at the services they export 2016-12-08 16:12:26 -08:00
Ken Payson 83decd64e0 Revert "Add configurable exit grace periods and shutdown handlers"
This reverts commit 3045a379aa.
2016-12-08 12:14:59 -08:00
Masood Malekghassemi 990983110f Begin patching Cython 2016-12-07 19:37:01 -08:00
Masood Malekghassemi edcd491648 Merge pull request #8990 from soltanmm-google/have-fun-filling-in-the-blanks-of-reality-with-belief-structures
Backport Python features to v1.0.x
2016-12-07 17:41:16 -08:00
Masood Malekghassemi 53360f2d1c Backport Python features to 1.0.x
Backports per-object grpc_init/deinit and separated-file grpc protoc
codegen (#7538, #8246, #8920).
2016-12-07 14:42:31 -08:00
Craig Tiller 385dd9a462 Merge branch 'slice_interning' into metadata_filter 2016-12-06 20:27:38 -08:00
Craig Tiller 35769dc29c Merge branch 'slice_with_exec_ctx' into slice_interning 2016-12-06 20:23:13 -08:00
Craig Tiller b35cfc76e2 Merge pull request #8913 from markdroth/security_handshaker2
Rewrite security handshaker to use generic handshaker API.
2016-12-02 22:34:00 -08:00
Masood Malekghassemi 4d7b0e135b Merge pull request #8920 from soltanmm-google/fracking-is-not-inherently-horrible-it-just-does-not-have-enough-oversight
Switch to command-arg for Python split-codegen
2016-12-02 18:59:55 -08:00
Masood Malekghassemi 561dce4525 Switch to command-arg for Python split-codegen
Almost fixes #8753 (which still needs a test).
2016-12-02 15:32:15 -08:00
Mark D. Roth 714038204a Use the same server code for both secure and insecure servers. 2016-12-02 10:51:39 -08:00
Ken Payson 3045a379aa Add configurable exit grace periods and shutdown handlers
The server cleanup method is untested.

The join() function that exposes it is only called by the internals of threading.py, and we don't hold a reference to the server thread to explicitly join() it, and I'm not sure we should add a reference just for this purpose.

Moreover, the threading.py only calls join(None), the code path in question isn't even exercised by the internals of threading.py. Its just there to make sure we properly follow the join(timeout) semantics.
2016-12-01 09:38:50 -08:00
Yuchen Zeng b0023d25dc Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-30 15:51:25 -08:00
Nathaniel Manista b292a8502e Refactor channel call management
The requirement that any created managed call must have operations
performed on it is obstructing proper handling of the case of
applications providing invalid invocation metadata. In such cases the
RPC is "over before it starts" when the very first call to
start_client_batch returns an error.
2016-11-30 23:21:53 +00:00
Nathaniel Manista 564d3a7aa3 Lint fixes 2016-11-30 23:21:17 +00:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
Craig Tiller 369ddc524a Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-30 13:32:18 -08:00
Mark D. Roth 6c3d040ebf Merge branch 'security_handshaker1' into security_handshaker2 2016-11-29 14:24:42 -08:00
Jan Tattermusch 6ff81e91c9 Merge pull request #8825 from jtattermusch/manual_upmerge_101
Manual upmerge from v1.0.x
2016-11-24 00:20:46 +01:00
Noah Eisen 24804d25b4 Add new flags to Python stress client
Add use_tls, use_test_ca, and server_host_override flags to Python
stress client. These are needed to run the stress client against a local
server that is using tls.
2016-11-22 10:19:11 -08:00
Jan Tattermusch 8613e474cb Merge remote-tracking branch 'upstream/v1.0.x' into HEAD 2016-11-22 11:15:53 +01:00
Craig Tiller ac5f518016 Merge branch 'slice_with_exec_ctx' into eliminate_mdstr 2016-11-18 12:45:16 -08:00
Mark D. Roth 071cacf1cb Rename security handshaker files. 2016-11-17 13:17:56 -08:00
Mark D. Roth 8686cab11c Use the same connector code for both secure and insecure clients. 2016-11-17 13:12:17 -08:00
Noah Eisen 91f24b9ccf Add default arguments to python interop client 2016-11-17 11:52:49 -08:00
Craig Tiller 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr 2016-11-16 16:05:01 -08:00
Craig Tiller 1094c32f35 Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-16 15:54:03 -08:00
Mark D. Roth 863113a0d9 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-16 14:18:28 -08:00
Craig Tiller c80fa2f673 Merge pull request #8680 from ctiller/no_more_legacy
Remove legacy poller
2016-11-15 17:25:27 -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
Craig Tiller 5ef31ab9c9 Progress towards mdstr elimination 2016-11-10 16:27:48 -08:00
Craig Tiller 64b26567ad First pass of slice interning facilities 2016-11-10 08:31:42 -08:00
Mark D. Roth fc75321830 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-08 10:57:20 -08:00
Yuchen Zeng bd363544fd Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-08 10:56:16 -08:00
Craig Tiller e6684f415e Remove legacy poller 2016-11-08 08:17:43 -08:00
Craig Tiller b720b609ea Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:20:27 -08:00
Mark D. Roth c22717ec63 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-07 09:41:07 -08:00
Masood Malekghassemi 80eb075e63 Merge pull request #8628 from soltanmm-google/turtles
Explicitly stop the server on tear-down
2016-11-04 15:52:16 -07:00
Craig Tiller 503653e27e Merge pull request #8456 from ctiller/pid_ctl
Simple PID controller
2016-11-04 14:17:14 -07:00
Nathaniel Manista 8764c220d6 Improved Server.stop specification 2016-11-03 23:07:15 +00:00
Masood Malekghassemi d6ddb0e37c Explicitly stop the server on tear-down 2016-11-03 15:29:27 -07:00
Mark D. Roth ea846a0800 Rename method_config.[ch] to service_config.[ch]. 2016-11-03 11:32:54 -07:00
Yuchen Zeng e882e39224 Fix windows build 2016-11-02 19:33:41 -07:00
Yuchen Zeng 3cc6a02a55 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-02 18:54:14 -07:00
Yuchen Zeng 64d518e3b0 Merge remote-tracking branch 'upstream/master' into tos 2016-11-02 16:27:49 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Yuchen Zeng c76e9d3062 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-28 15:41:58 -07:00
Masood Malekghassemi d953959e2b Enable split code generation
To support magical internal build processes, the pb2 files need to be
split into pure-proto and gRPC parts. This performs that split and
further fixes bad module names in the test harness that interfered with
the intended test implementation.

An unfortunate side effect, due to limitations of protoc and holdover
behavior we must support in major version 1.x, is that trash files are
generated in split generation. This shouldn't be a problem in normal
protoc plugin use.
2016-10-28 14:53:10 -07:00
Masood Malekghassemi 81cdf1e34e Fix Python tests' module loading behavior 2016-10-28 14:41:27 -07:00
Masood Malekghassemi a12e6d8037 Merge pull request #8367 from soltanmm-google/blurb
Partially implement gRPC Python server reflection
2016-10-28 13:30:16 -07:00
Craig Tiller fa014a86e3 Merge github.com:grpc/grpc into pid_ctl 2016-10-28 07:31:20 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller c3350541e3 Generate build files 2016-10-26 16:19:01 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Mark D. Roth e4e457ed76 Merge remote-tracking branch 'upstream/master' into circular_dependency_fix 2016-10-26 13:06:03 -07:00
Mark D. Roth d4a5971ae8 Merge pull request #8462 from markdroth/resolver_channel_args
Plumb channel_args through resolvers.
2016-10-26 12:54:05 -07:00
Mark D. Roth bfe56801ad Move method_config module from ext/client_channel to lib/transport. 2016-10-26 12:45:20 -07:00
Nicolas "Pixel" Noble 50a730bd1c Going 1.0.1. 2016-10-26 21:42:29 +02:00
Mark D. Roth fb809b7850 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-26 09:12:25 -07:00
Noah Eisen 970078807f Merge pull request #8449 from ncteisen/new_python_interop_tests
New python interop tests
2016-10-26 09:07:32 -07:00
Masood Malekghassemi 3e784bb6d4 Merge pull request #8347 from docent-net/master
Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora
2016-10-25 18:51:13 -07:00
Noah Eisen 9785c8f9c4 Implement the advanced interop tests for Python
Add the code for three new interop tests: unimplemented_method,
unimplemented_service, and custom_metadata.

Fix and refactor the code for status_code_and_message.
2016-10-25 17:00:03 -07:00
Yuchen Zeng f1cd449030 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-25 11:26:17 -07:00
Maciej Lasyk 39cb9a9aca Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora
Added RHEL/Fedora specific information about lacking of python.h - because Linux doesn't mean Ubuntu ;)
2016-10-25 19:36:43 +02:00
Craig Tiller c690768b15 Merge branch 'flow_control_v2' into bwest 2016-10-24 14:50:12 -07:00
Craig Tiller fe8c5012d3 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-24 14:49:18 -07:00
murgatroid99 b516cadc2a Merge branch 'master' into uv_core_transport 2016-10-21 15:54:42 -07:00
Mark D. Roth ae07f7fdc6 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-21 15:23:53 -07:00
Mark D. Roth af84245131 Remove resolver_result. 2016-10-21 15:05:15 -07:00
Craig Tiller 3f14e6df65 Merge branch 'flow_control_v2' into bwest 2016-10-20 15:53:50 -07:00
Craig Tiller 79fb584883 Merge branch 'bdp_est' into bwest 2016-10-20 15:47:19 -07:00
Craig Tiller dd2fa6482a Add pid controller test 2016-10-20 15:46:32 -07:00
Craig Tiller 9e0066b0c9 Add estimator test 2016-10-20 14:04:18 -07:00
Masood Malekghassemi aff6936cf7 Partially implement gRPC Python server reflection
Some features relating to proto2 extension querying are missing due to
missing upstream features required to support them (see
https://github.com/google/protobuf/issues/2248).
2016-10-20 12:47:06 -07:00
murgatroid99 10edf68eec Merge branch 'master' into uv_core_transport 2016-10-19 15:19:00 -07:00
Mark D. Roth eb35a1d16b Merge remote-tracking branch 'upstream/master' into rename_client_config 2016-10-19 14:53:42 -07:00
Craig Tiller 9ea0f2c6e8 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 14:44:53 -07:00
Mark D. Roth 20e77f27b0 Merge pull request #8303 from markdroth/service_config
Support service configs in core.
2016-10-19 14:20:51 -07:00
murgatroid99 59f347e125 Merge branch 'master' into uv_core_transport 2016-10-19 13:53:21 -07:00
Craig Tiller 6952b213b7 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 13:36:59 -07:00
kpayson64 fa95818efa Merge pull request #8414 from kpayson64/use_external_api
Change channel tests to use public API
2016-10-19 12:54:17 -07:00
Ken Payson 667301a25f Change channel tests to use public API
This allows for testing other implementations of grpc.Server.
2016-10-18 12:34:45 -07:00
Mark D. Roth 605a8f12ed Merge remote-tracking branch 'upstream/master' into service_config 2016-10-18 11:06:33 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Yuchen Zeng c007a6c879 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-17 14:33:29 -07:00
Craig Tiller 654b242ce7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-17 14:31:44 -07:00
Craig Tiller 8c94df19d4 Merge github.com:grpc/grpc into direct-calls 2016-10-17 13:25:45 -07:00
kpayson64 8725595933 Merge pull request #7664 from kpayson64/cv_wakeup_fd
Add Shim for wakeup_fds with no pipe or
2016-10-17 13:12:22 -07:00
Craig Tiller a628c84e86 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-14 16:09:01 -07:00
murgatroid99 e76b87baa0 Merge branch 'master' into uv_core_transport 2016-10-14 14:50:08 -07:00
Mark D. Roth d7ec5e18ce Merge remote-tracking branch 'upstream/master' into service_config 2016-10-14 13:10:54 -07:00
Mark D. Roth 6a721b5b3f Rename grpc_hash_table to grpc_mdstr_hash_table. 2016-10-14 12:43:34 -07:00
Craig Tiller fd77de6a8a Merge github.com:grpc/grpc into direct-calls 2016-10-14 08:52:53 -07:00
Yuchen Zeng de3daf5d63 More interfaces for grpc_socket_mutator 2016-10-13 17:26:26 -07:00
kpayson64 448a16dd28 Merge pull request #8127 from kpayson64/allow_pointers
Allow pointer channel args python
2016-10-13 15:12:33 -07:00
Ken Payson 58c0f96f19 Allow pointer channel args python 2016-10-13 15:11:04 -07:00
Ken Payson 82e4ec741b Moved cv polling into ev_poll_posix.c 2016-10-13 12:26:01 -07:00
murgatroid99 c0aa97d158 Merge branch 'master' into uv_core_transport 2016-10-12 16:41:38 -07:00
Yuchen Zeng a4f708a4c4 Introduce grpc_socket_mutator 2016-10-11 18:36:24 -07:00
Yuchen Zeng 830c32c4a1 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-11 15:57:29 -07:00
Yuchen Zeng b5273fdb73 Merge remote-tracking branch 'upstream/master' into tos 2016-10-10 16:02:56 -07:00
Yuchen Zeng 929f4c652f Add tos configuration in channel args 2016-10-10 16:02:43 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Craig Tiller fdc2b10dce Merge github.com:grpc/grpc into direct-calls 2016-10-10 10:16:35 -07:00
kpayson64 d195cf589d Add condition variable polling engine 2016-10-10 09:38:09 -07:00
Nathaniel Manista 062ba7b8ba Merge pull request #8324 from grpc/v1.0.x
v1.0.x → master upmerge.
2016-10-07 15:28:47 -07:00
Mark D. Roth 15195741d7 Merge remote-tracking branch 'upstream/master' into rename_client_config 2016-10-07 09:02:28 -07:00
Nathaniel Manista 84350e167d Drop unnecessary return statement 2016-10-04 20:25:53 +00:00
Yuchen Zeng 6988838a67 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-03 13:24:13 -07:00
Craig Tiller 1bb0ce5e23 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-03 12:58:02 -07:00
Craig Tiller 787d58f9e3 Merge github.com:grpc/grpc into direct-calls 2016-10-03 12:56:57 -07:00
murgatroid99 eebb129fd3 Merge branch 'master' into uv_core_transport 2016-10-03 09:33:29 -07:00
murgatroid99 c36f6ea745 Compile and link core tests with libuv 2016-10-03 09:24:09 -07:00
Mark D. Roth 408913845c Merge remote-tracking branch 'upstream/master' into service_config 2016-09-30 07:52:15 -07:00
Craig Tiller d88c461217 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-29 10:35:38 -07:00
Nicolas "Pixel" Noble 748524eea5 Merge branch 'master' of https://github.com/grpc/grpc into master-upmerge-from-deep-under 2016-09-29 19:28:28 +02:00
Craig Tiller ca3451de7a Merge github.com:grpc/grpc into direct-calls 2016-09-29 10:27:44 -07:00
Nicolas "Pixel" Noble 87a1081211 Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under 2016-09-29 01:31:54 +02:00
Mark D. Roth 56e470e047 Merge remote-tracking branch 'upstream/master' into service_config 2016-09-28 13:20:15 -07:00
Mark D. Roth 94948b8774 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-28 13:19:01 -07:00
Nicolas Noble fbf8dd8a40 Merge pull request #8168 from markdroth/max_message_size_fix
Set default max send message size to unlimited.
2016-09-28 13:09:20 -07:00
Mark D. Roth 6600645135 Refactor hash table code into its own module and use it for method_config as well as method_config_table. 2016-09-27 10:13:56 -07:00
Mark D. Roth bec804b77f Merge branch 'deadline_filter' into service_config 2016-09-26 11:18:06 -07:00
Mark D. Roth 4c3a4688bb Move method config table code to its own module. 2016-09-23 15:19:26 -07:00
murgatroid99 08b0fab426 Merge branch 'master' into uv_core_transport 2016-09-23 14:35:49 -07:00
Craig Tiller d801cd7ed7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-23 13:51:23 -07:00
Craig Tiller 5abf79a91b Merge github.com:grpc/grpc into direct-calls 2016-09-23 13:51:00 -07:00
Mark D. Roth 1a2e6ac10d Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-23 09:47:01 -07:00
Craig Tiller 0d19c67ea9 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-22 16:10:29 -07:00
Craig Tiller 7af69f34df Add buffer pools to build 2016-09-22 13:48:54 -07:00
Mark D. Roth 9a51cad472 Expose GRPC_ARG_MAX_SEND_MESSAGE_LENGTH channel arg in python. 2016-09-22 08:21:32 -07:00
Mark D. Roth 933c955aaf Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-21 08:12:11 -07:00
Mark D. Roth 3c09810ac9 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-21 08:01:05 -07:00
Craig Tiller 1edc77c7c6 Merge github.com:grpc/grpc into direct-calls 2016-09-20 11:02:51 -07:00
kpayson64 a6a6fa4f12 Merge pull request #8137 from kpayson64/python_server_args
Add parameter for server options
2016-09-19 15:44:48 -07:00
Ken Payson 63d8af2b00 Add parameter for server options 2016-09-19 14:16:24 -07:00
Jim King 9fec58f2b4 Merge pull request #8052 from Vizerai/grpc_tracing
grpc tracing context
2016-09-19 11:35:59 -07:00
Mark D. Roth 9710e2cb71 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-19 11:13:27 -07:00
murgatroid99 bcc60f75d4 Merge branch 'master' into uv_core_transport 2016-09-16 13:44:28 -07:00
murgatroid99 9030c81f20 Add a libuv endpoint to the C core, for use in the Node library 2016-09-16 13:25:08 -07:00
Mark D. Roth 85102a9eb6 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-16 13:24:05 -07:00
Mark D. Roth eaea5caab3 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-16 13:12:21 -07:00
Mark D. Roth 34dac9d4ca Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 13:06:26 -07:00
Craig Tiller ee43d7bbb1 Merge pull request #8069 from grpc/revert-8068-revert-7279-grand-unified-closures
Revert "Revert "Grand unified closures""
2016-09-16 12:11:11 -07:00
Mark D. Roth 8b7678cf84 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-16 10:51:15 -07:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Craig Tiller ba1db3b630 Merge github.com:grpc/grpc into direct-calls 2016-09-15 15:57:35 -07:00
kpayson64 9544aadbaa Merge pull request #8065 from kpayson64/cygrpc_imports
Make .pxi imports relative to _cython directory rather than root.
2016-09-15 12:56:53 -07:00
Mark D. Roth 2137cd8e9b Rename client_config directory to client_channel. 2016-09-14 09:04:00 -07:00
Siddharth Shukla b24b5a39f8 Update argument documentation for channel methods
Update argument documentation for request_serializer and response_deserializer
in:

- unary_unary
- unary_stream
- stream_unary
- stream_stream
2016-09-14 00:38:36 +02:00
Mark D. Roth 3f6ab54f28 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-13 14:53:54 -07:00
Mark D. Roth 5e1b58bcea Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-12 16:59:00 -07:00
Craig Tiller 57726ca5a9 Revert "Revert "Grand unified closures"" 2016-09-12 11:59:45 -07:00
Craig Tiller 537f7c2a13 Revert "Grand unified closures" 2016-09-12 11:56:39 -07:00
Mark D. Roth 242dc4be0e Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-12 11:54:25 -07:00
Ken Payson 0651759392 Load roots.pem relative to current file 2016-09-11 22:36:19 -07:00
Ken Payson 7722245ce8 Make .pxi imports relative 2016-09-11 22:06:05 -07:00
Vizerai 12d1fc61d8 initial commit of tracing context files 2016-09-09 14:22:19 -07:00
Craig Tiller d8a3c048e2 Tie workqueue implementation to event engine 2016-09-09 12:42:37 -07:00
Mark D. Roth f451d50d4c Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-09 07:24:52 -07:00
Craig Tiller 8f416dbb97 Merge github.com:grpc/grpc into grand-unified-closures 2016-09-08 09:54:03 -07:00
Mark D. Roth ebfcd97940 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
Mark D. Roth c890042118 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-07 09:18:04 -07:00
Mark D. Roth 164f0e926d Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-07 09:14:50 -07:00
Craig Tiller 344834b40b Merge github.com:grpc/grpc into grand-unified-closures 2016-09-07 08:39:05 -07:00
Craig Tiller e0321637d7 Merge pull request #7774 from ctiller/percent-encoder
Percent encoding routines
2016-09-06 22:08:12 -07:00
Nicolas Noble 74c92f62d9 Merge pull request #7848 from nicolasnoble/upmerge-from-v1.0.x
Manual upmerge from v1.0.x
2016-09-06 11:41:26 -07:00
Mark D. Roth 6c3295a5a2 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-06 11:04:11 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Craig Tiller 255dad3630 Merge github.com:grpc/grpc into grand-unified-closures 2016-09-02 09:15:23 -07:00
Yuchen Zeng 5b159f29e0 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-09-01 22:40:28 -07:00
Mark D. Roth fb475c93c4 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-01 14:22:55 -07:00
Mark D. Roth 79620aaa10 Merge pull request #7943 from markdroth/client_channel_cleanup
Move subchannel_call_holder code into client_channel module.
2016-09-01 13:12:56 -07:00
Mark D. Roth 89119fa9b6 Merge branch 'client_channel_cleanup' into deadline_filter 2016-09-01 08:29:56 -07:00
Mark D. Roth 4c0fe49f76 Move subchannel_call_holder code into client_channel module. 2016-08-31 13:51:55 -07:00
Mark D. Roth 7331a7aa62 Change wrapped languages to use the new channel arg macro name. 2016-08-31 13:09:27 -07:00
Alistair Veitch a0c69f9099 add trace context proto 2016-08-31 12:01:27 -07:00
Mark D. Roth ceb39ae60c Merge remote-tracking branch 'upstream/master' into http_connect 2016-08-31 10:46:58 -07:00
Craig Tiller dadda8bf52 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-30 20:51:45 -07:00
kpayson64 08575e4734 Merge pull request #7909 from nathanielmanistaatgoogle/example-authorization-header-name-v1.0.x
Lower-case example "Authorization" header name in doc string
2016-08-30 08:31:59 -07:00
kpayson64 e5a17ec0aa Merge pull request #7806 from nathanielmanistaatgoogle/secure_channel-doc-string
Python grpc.secure_channel doc string correction
2016-08-30 08:25:57 -07:00
Mark D. Roth 2bba1dda28 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-08-29 13:30:05 -07:00
Mark D. Roth 8e2c98adf0 Merge pull request #7839 from markdroth/rename_client_config
Rename grpc_client_config to grpc_resolver_result.
2016-08-29 13:27:23 -07:00
Nathaniel Manista 79cf53c992 Lower-case example "Authorization" header name
The HTTP/2 specification requires header names to be lower case.
2016-08-29 16:56:43 +00:00
Nicolas Noble b50eea8669 Merge pull request #7831 from thunderboltsid/remove-skipif-pypy
remove skipIf from TypeSmokeTest (issue 7672)
2016-08-28 18:28:24 -07:00
Mark D. Roth 14c072ccc0 Initial code to move deadline timer into a filter. Timer cancellation
not working right -- will fix in subsequent commit.
2016-08-26 08:31:34 -07:00
Mark D. Roth 54d78e2640 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-08-25 08:38:14 -07:00
Yuchen Zeng 78cc066db2 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-08-24 18:22:24 -07:00
Nicolas "Pixel" Noble cdbe6b3963 Merge branch 'v1.0.x' into upmerge-from-v1.0.x 2016-08-24 00:08:49 +02:00
Mark D. Roth af00d8bfb2 Add channel arg for max send message size and add message size filter. 2016-08-23 12:48:16 -07:00
thinkerou 4ae1083044 remove unused import in grpcio_health_checking 2016-08-23 11:50:21 +08:00
siddharthshukla 82c01e5a95 remove skipIf from TypeSmokeTest (issue 7672)
remove skipIfStatement from
TypeSmokeTest.testCallCredentialsFromPluginUpDown since the test passes
on PyPy variants 5.3.0 and newer since these variants have improved
compatibility support for the C-Extensions
2016-08-23 00:03:21 +02:00
Mark D. Roth ff4df06a66 Rename grpc_client_config to grpc_resolver_result. 2016-08-22 15:02:49 -07:00
murgatroid99 6257159a3a Merge branch 'port_platform_split' into uv_core_transport 2016-08-22 14:57:22 -07:00
Masood Malekghassemi f24a405551 Remove unused imports in grpcio-tests 2016-08-22 09:24:22 -07:00
Nathaniel Manista 7a6e30e61c Python grpc.secure_channel doc string correction 2016-08-20 15:34:13 +00:00
Nicolas "Pixel" Noble e3e17d3f6b Merge branch 'v1.0.x' of https://github.com/grpc/grpc 2016-08-20 01:45:32 +02:00
Yuchen Zeng dcd78be8c3 Remove improper ifdef 2016-08-19 11:12:54 -07:00
Yuchen Zeng ea88fc197b Remove dependency on node c-ares 2016-08-19 00:20:59 -07:00
Yuchen Zeng e986b658b7 Add back native resolver 2016-08-18 22:44:31 -07:00
Nicolas "Pixel" Noble 35b8c51485 Bumping version to 1.0.1-pre1. 2016-08-18 21:57:20 +02:00
Nicolas Noble 90e4bd5fbb Merge pull request #7745 from nicolasnoble/no-more-pre
Removing pre2 flag.
2016-08-18 12:16:48 -07:00
Ken Payson 8348973de9 Use templates for python version dependencies
Also change grpcio-tools to be a runtime dependency of grpcio-tests,
grpcio-tools is run as part of the tests.
2016-08-18 11:27:47 -07:00
Craig Tiller 17ed6b17c7 Percent encoding routines 2016-08-18 09:33:33 -07:00
Yuchen Zeng e61bf3b406 Merge remote-tracking branch 'upstream/master' into cares 2016-08-16 11:16:34 -07:00
Mark D. Roth dd93704056 Merge remote-tracking branch 'upstream/master' into http_connect 2016-08-16 11:13:33 -07:00
Nicolas "Pixel" Noble 0f9337b6a0 Removing pre2 flag. 2016-08-16 03:07:09 +02:00
Nicolas "Pixel" Noble e1ee20bde6 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-08-16 01:54:33 +02:00
kpayson64 bcc0d8870a Merge pull request #7732 from kpayson64/python3_artifacts
Add Python3.5 artifact targets
2016-08-15 16:16:18 -07:00
kpayson64 b473c79df3 Merge pull request #7538 from thunderboltsid/pypy-experiments
Change Python one-time grpc_init/grpc_shutdown to per-object-lifetime grpc_init/grpc_shutdown
2016-08-15 13:04:56 -07:00
kpayson64 8aff34f500 Merge pull request #7668 from thunderboltsid/skip-test-for-pypy
skip test run if pypy
2016-08-15 11:01:17 -07:00
Ken Payson 5998cd760c Add Python3.5 artifact targets 2016-08-15 10:57:47 -07:00
kpayson64 e3ce8bd503 Merge pull request #7702 from nathanielmanistaatgoogle/distrib-interop-stress-ga-api
Migrate distrib, interop, and stress to GA API
2016-08-15 10:53:02 -07:00
Yuchen Zeng d790dd6a5c Fix python build 2016-08-11 17:32:50 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
Mark D. Roth 9dfd0b72b8 Merge branch 'handshaker_api' into http_connect 2016-08-11 08:55:35 -07:00
Nathaniel Manista 5450f05e0c Migrate distrib, interop, and stress to GA API 2016-08-11 14:07:37 +00:00
murgatroid99 7c205906d5 Removed GPR_POSIX_FILE, and changed the files that used it 2016-08-09 10:07:42 -07:00
Craig Tiller acad79f0c8 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-09 09:09:33 -07:00
Yuchen Zeng 7a2c4d8927 Merge remote-tracking branch 'upstream/master' into cares 2016-08-08 17:24:47 -07:00
siddharthshukla f0f58e6873 skip test run if running with pypy
don't run cygrpc_test.TypeSmokeTest.testCallCredentialsFromPluginUpdown
if the interpreter is PyPy
2016-08-09 02:14:04 +02:00
Yuchen Zeng 85750b08f2 Separate event driver from ares wrapper 2016-08-08 14:18:51 -07:00
murgatroid99 79b322751f refactor inet_ntop into a portability header 2016-08-08 13:38:30 -07:00
siddharthshukla 9eedb4ffd7 Switch init/shutdown: lib-wide -> per-object
Incremental changes towards PyPy support.
2016-08-05 20:14:20 +02:00
Yuchen Zeng bb36cebc1d Merge remote-tracking branch 'upstream/master' into cares 2016-08-05 10:40:25 -07:00
Yuchen Zeng d4bbfc7dcf Implement c-ares based dns resolver 2016-08-05 10:33:16 -07:00
Mark D. Roth 32387b3a34 Merge branch 'handshaker_api' into http_connect 2016-08-04 11:19:26 -07:00
Craig Tiller 106df11093 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-04 09:22:34 -07:00
siddharthshukla de84d566b8 Fix the ThreadPoolExecutor: max_workers can't be 0
Add a RecordingThreadPool that inherits from Executor, contains a
ThreadPoolExecutor and has an extra method 'was_used' to indicate if
submit method was ever called i.e. if the thread pool was ever used.
2016-08-03 22:13:37 +02:00
Ken Payson e5fd01a389 Bump python protobuf dependency to 3.0.0 2016-08-03 11:43:15 -07:00
kpayson64 5e1fbd2061 Merge pull request #7370 from rjshade/move_timeout_encoding
Move timeout_encoding to core/lib/transport
2016-08-02 16:20:01 -07:00
Mark D. Roth 34befcaa20 Merge remote-tracking branch 'upstream/master' into http_connect 2016-08-02 14:58:36 -07:00
kpayson64 329d6473db Merge pull request #6774 from a-veitch/add_resource
Add Census resource API and implementation.
2016-08-02 12:46:43 -07:00
Mark D. Roth 51c7b917d3 Merge remote-tracking branch 'upstream/master' into http_connect 2016-08-02 10:26:30 -07:00
David Garcia Quintas 87e06c84fd Merge branch 'master' of github.com:grpc/grpc into grpclb_v0 2016-08-01 11:02:22 -07:00
Nicolas "Pixel" Noble 3260a1731a Bumping to 1.0.0-pre2. 2016-07-29 22:56:12 +02:00
Yuchen Zeng 9b5aa6360d Add c-ares in Makefile.template 2016-07-28 10:47:39 -07:00
Mark D. Roth 1212d3f453 Merge remote-tracking branch 'upstream/master' into http_connect 2016-07-26 11:17:32 -07:00
Robbie Shade 43b633d54f Merge branch 'master' into move_timeout_encoding 2016-07-26 07:44:10 -04:00
kpayson64 8a1247a42c Merge pull request #7497 from soltanmm/be-nicer
Be more intelligent about Cython in grpcio
2016-07-25 18:41:25 -07:00
Nicolas Noble 01da196879 Merge pull request #7508 from murgatroid99/v1.0.x_merge_into_master
V1.0.x merge into master
2016-07-25 14:45:41 -07:00
murgatroid99 1533e6aab9 Rerun generate_projects.sh 2016-07-25 11:09:23 -07:00
Masood Malekghassemi fd9cc106f3 Be more intelligent about Cython in grpcio
Before, Cython would *need* to be imported immediately if generated
files did not already exist. Now, missing generated files will trigger a
`setup_requires` inclusion of Cython and defer cythonization until
extension build-time. If cythonization was specified via environment
variable and setup could not find Cython, the extensions are poisoned
instead of blocking non-extension commands from running.
2016-07-22 13:56:36 -07:00
murgatroid99 316f73f6c1 Merge v1.0.x into master 2016-07-22 11:00:34 -07:00
Mark D. Roth 1102a9eef7 Update build files. 2016-07-22 09:10:01 -07:00
Alistair Veitch 3abd27e531 merge to upstream/master 2016-07-21 17:29:04 -07:00
Ken Payson 8d3e9ec9c2 Fix cygrpc test 2016-07-21 14:07:26 -07:00
Mark D. Roth 9317715338 Merge remote-tracking branch 'upstream/master' into handshake_api 2016-07-20 09:24:02 -07:00
kpayson64 413d302d4b Merge pull request #7374 from kpayson64/python_health_check_rename
Polish grpcio_health_checking package
2016-07-19 14:15:02 -07:00
Robbie Shade 53826511f9 Merge branch 'master' into move_timeout_encoding 2016-07-19 10:25:07 -04:00
Ken Payson e39edac2c8 Fixed name syntax error 2016-07-18 16:23:47 -07:00
Ken Payson dd24c1ece4 Polish grpcio_health_checking package
-Rename namespace to grpc_health->grpc to match spec
-Proper use of NOT_FOUND status code
-Improve testing
-Add source distribution to artifact build
2016-07-18 12:50:13 -07:00
Masood Malekghassemi a39c2cb4f2 Handle distutils command idiosyncracies 2016-07-16 01:31:51 -07:00
Masood Malekghassemi b236279832 Patch `spawn` for Python 'unix' compilers instead
Before we patched the link command, now we just patch `spawn` as an
updatable catch-all solution to ARG_MAX limitations on bash for MSYS and
MinGW and friends.
2016-07-16 00:05:02 -07:00
Craig Tiller 64d8024a11 Merge github.com:grpc/grpc into grand-unified-closures 2016-07-15 07:53:33 -07:00
kpayson64 421643727f Merge pull request #7225 from nathanielmanistaatgoogle/_rpc_test
Add more assertions to _rpc_test
2016-07-14 19:05:10 -07:00
kpayson64 b0d33951e1 Merge pull request #7384 from soltanmm/import-stallion
Move Python.h include out of loader code
2016-07-14 17:15:05 -07:00
David Garcia Quintas 7c3ba12813 Merge branch 'master' of github.com:grpc/grpc into grpclb_v0 2016-07-14 14:13:41 -07:00
Mark D. Roth ef31ba1e03 Merge remote-tracking branch 'upstream/master' into handshake_api 2016-07-14 13:58:42 -07:00
Mark D. Roth dfbdefedd3 Added handshaker.[ch] to build.yaml. 2016-07-14 09:18:22 -07:00
Robbie Shade db4f1967d0 Merge branch 'master' into move_timeout_encoding 2016-07-14 07:32:56 -04:00
Masood Malekghassemi 3acddb20db Remove Python 'loader' hack 2016-07-13 18:38:33 -07:00
Masood Malekghassemi e9b90e5e1f Move Python.h include out of loader code
To make a certain private code base work in a certain way nicer than the
current way.
2016-07-13 16:57:57 -07:00
Ken Payson 84401116a8 Skip exit_test until flake is fixed 2016-07-13 16:56:35 -07:00
Craig Tiller 22ac0d17c1 Merge branch 'delayed-write' into grand-unified-closures 2016-07-13 15:40:24 -07:00
Ken Payson c41f81aeeb Document rpc details as string type 2016-07-13 14:52:40 -07:00
Jorge Canizales 377427a7bd Merge pull request #7357 from grpc/v1.0.x
Automatic v1.0.x -> master upmerge
2016-07-13 12:42:57 -07:00
Robbie Shade 710d242e89 Move timeout_encoding from core/ext/transport/chttp2 to core/lib/transport 2016-07-13 15:15:38 -04:00
kpayson64 6ee6a54820 Merge pull request #7353 from kpayson64/fix_cygrpc_test
Fix cygrpc test
2016-07-13 10:44:46 -07:00
Craig Tiller da3ec2a836 Merge branch 'delayed-write' into grand-unified-closures 2016-07-13 08:47:28 -07:00
kpayson64 875f633cda Merge pull request #7355 from soltanmm/count-bleck
Add special methods to generated Python docs
2016-07-13 08:16:55 -07:00
Ken Payson cc06b91b7f Change sequence of client/server events
This is for https://github.com/grpc/grpc/pull/6737 when
start_batch will no longer put data on the wire
2016-07-12 16:37:34 -07:00
kpayson64 d75d5ea79f Merge pull request #7317 from soltanmm/tadpoles
Patch spawn for Python 'unix' compilers instead of link
2016-07-12 16:24:32 -07:00
kpayson64 e99acfff14 Merge pull request #7338 from kpayson64/remove_py_cruft
Removed early adopter code
2016-07-12 16:21:42 -07:00
Masood Malekghassemi 48d07c6489 Add special methods to generated Python docs
Also removes an old-now-spurious `make` invocation from the docgen.py
helper script.
2016-07-12 16:20:29 -07:00
Ken Payson 4d425522bf Remove early adopter code 2016-07-12 14:18:21 -07:00
Masood Malekghassemi c3e3ae5862 Patch `spawn` for Python 'unix' compilers instead
Before we patched the link command, now we just patch `spawn` as an
updatable catch-all solution to ARG_MAX limitations on bash for MSYS and
MinGW and friends.
2016-07-12 14:13:32 -07:00
Ken Payson f7f47a6d26 Added Glossary to docs with metadata definition 2016-07-12 10:43:27 -07:00
Nicolas "Pixel" Noble 49bfb92dc1 Master is now 1.1.0-dev. 2016-07-12 09:31:41 +02:00
Nicolas "Pixel" Noble 8c72ae43f9 Flagging master as 1.0.0-pre1. 2016-07-12 09:18:18 +02:00
kpayson64 5086f43b8e Merge pull request #7322 from kpayson64/py_status_code_message
Implemented python status_code_and_message interop test
2016-07-11 23:46:54 -07:00
kpayson64 1af18aef2b Merge pull request #7315 from kpayson64/fix_exit_test
Updated exit_test for new grpc.Server API
2016-07-11 23:46:04 -07:00
kpayson64 a09219c3b6 Merge pull request #7323 from kpayson64/fix_py_qps
Updated python qps tests to use GA server API
2016-07-11 23:44:37 -07:00
Ken Payson b5b6f93e00 Updated python qps tests to use GA server API
This should have been included as part of
45c0f2b305
2016-07-11 22:04:40 -07:00
Nicolas "Pixel" Noble 9183314435 Addressing comments. 2016-07-12 05:05:41 +02:00
Nicolas "Pixel" Noble 1c41c29c26 Merge branch 'release-0_15' into upmerge-master
Conflicts:
	Makefile
	build.yaml
	gRPC-Core.podspec
	gRPC.podspec
	package.json
	package.xml
	src/core/lib/surface/version.c
	src/csharp/Grpc.Auth/project.json
	src/csharp/Grpc.Core/VersionInfo.cs
	src/csharp/Grpc.Core/project.json
	src/csharp/Grpc.HealthCheck/project.json
	src/csharp/build_packages.bat
	src/node/tools/package.json
	src/python/grpcio/grpc/__init__.py
	src/python/grpcio/grpc_version.py
	src/python/grpcio_tests/tests/unit/_rpc_test.py
	src/ruby/lib/grpc/version.rb
	src/ruby/tools/version.rb
	templates/gRPC.podspec.template
	tools/distrib/python/grpcio_tools/grpc_version.py
	tools/doxygen/Doxyfile.c++
	tools/doxygen/Doxyfile.c++.internal
	tools/doxygen/Doxyfile.core
	tools/doxygen/Doxyfile.core.internal
	tools/run_tests/port_server.py
2016-07-12 04:30:57 +02:00
Nathaniel Manista 1ab04e6b46 Add more assertions to _rpc_test 2016-07-12 01:08:22 +00:00
Ken Payson 16e7f5826b Updated exit_test for new grpc.Server API
This should have been part of a6b2a5a090
2016-07-11 17:11:00 -07:00
Ken Payson 9adeaffa10 Implemented python status_code_and_message interop test 2016-07-11 17:03:26 -07:00
Craig Tiller 3ad8152e9d Merge branch 'delayed-write' into grand-unified-closures 2016-07-11 12:44:00 -07:00
Ken Payson 136ea365e3 Hold onto the GIL in __dealloc__ functions
When a child thread triggers __dealloc__ as part of a thread being
joined, the thread is already considered to be "joined", and so
releasing the GIL can allow the main thread to proceed to exit,
which introduces shutdown race conditions/memory leaks.
2016-07-11 10:38:39 -07:00
kpayson64 340d39619d Merge pull request #7160 from nathanielmanistaatgoogle/handlers-optional
Make handlers optional at server construction
2016-07-08 16:49:42 -07:00
kpayson64 8444f2f9aa Merge pull request #7195 from soltanmm/winfix
Fix Python interop unit-tests on Windows
2016-07-08 16:02:49 -07:00
kpayson64 acb0207b63 Merge pull request #7272 from nathanielmanistaatgoogle/rendezvous-exception
Fix _Rendezvous.exception for successful calls
2016-07-08 14:52:20 -07:00
Craig Tiller 919175b619 Merge github.com:grpc/grpc into grand-unified-closures 2016-07-08 14:01:39 -07:00
kpayson64 32d3fbe284 Merge pull request #7163 from nathanielmanistaatgoogle/call-credentials
Support composition of arbitrarily many CallCredentials objects
2016-07-08 13:48:16 -07:00
Masood Malekghassemi 3a9e6d9770 Fix interop tests on Windows 2016-07-08 12:36:16 -07:00
Masood Malekghassemi cab9d4f74b Make Python tests run on Windows 2016-07-08 12:36:15 -07:00
Masood Malekghassemi 639bb3996f Build Python distributions standalone for Windows 2016-07-08 12:36:15 -07:00
Masood Malekghassemi 06c857cb86 Patch monkeypatch link function to work in Python3
The modified link command was originally taken from a Python 2.x distutils.
2016-07-08 12:36:15 -07:00
Masood Malekghassemi 586e3835fe Make Python build standalone on Windows 2016-07-08 12:36:04 -07:00
kpayson64 4e19d66514 Merge pull request #7260 from kpayson64/ga_performance_tests
Migrated python performance tests to use GA API
2016-07-08 12:12:49 -07:00
Masood Malekghassemi af26ce6f43 Remove unnecessary fcntl module import 2016-07-08 11:23:18 -07:00
Masood Malekghassemi 771dc7546a Remove misleading diagnostics message 2016-07-08 11:23:18 -07:00
kpayson64 f5d5ad823d Merge pull request #7275 from kpayson64/python_min_memory_cleanup
Removed cython client-side call tracking
2016-07-08 10:22:33 -07:00
Craig Tiller f7cade1b4f Rename async_execution_lock --> combiner, make it use closures, unroll previous changes for idleness 2016-07-07 21:41:10 -07:00
Craig Tiller b1793a6780 Merge github.com:grpc/grpc into atm2 2016-07-07 21:02:08 -07:00
Ken Payson ea1b16f82f Removed cython client-side call tracking
This ensures sync calls get cancelled after
a keyboard interrupt, as well as all calls
getting destroyed before grpc_shutdown()
2016-07-07 19:41:50 -07:00
Nathaniel Manista 4dd9ca9a6e Fix _Rendezvous.exception for successful calls 2016-07-07 22:20:33 +00:00
Nathaniel Manista 22869a00fd Composition of arbitrarily many CallCredentials 2016-07-07 21:10:56 +00:00
Nathaniel Manista a6b2a5a090 Make handlers optional at server construction 2016-07-07 21:06:17 +00:00
Ken Payson 45c0f2b305 Migrated python performance tests to use GA API 2016-07-06 19:26:09 -07:00
kpayson64 61163faa81 Merge pull request #7224 from nathanielmanistaatgoogle/rendezvous-exception
Fix _Rendezvous.exception for successful calls
2016-07-06 18:31:32 -07:00
David Garcia Quintas f2e20c2d8c Merge branch 'master' of github.com:grpc/grpc into bb_reader_error 2016-07-06 15:34:42 -07:00
David Garcia Quintas fce332a4c4 Merge branch 'complicated-syndrome-of-the-alien-kind' of https://github.com/soltanmm/grpc into bb_reader_error 2016-07-02 10:19:40 -07:00
Nathaniel Manista cb58105fd6 Fix _Rendezvous.exception for successful calls 2016-07-02 08:18:04 +00:00
Ken Payson e4123f3083 Updated release version to 0.15.1 2016-07-01 14:54:52 -07:00
Masood Malekghassemi e38b917f9e Check Python ByteBuffer reader init status 2016-07-01 13:48:06 -07:00
David Garcia Quintas 0910e4c0f6 pr comments 2016-07-01 11:27:35 -07:00
Masood Malekghassemi 4763678016 Regenerate project files 2016-07-01 10:18:47 -07:00
Masood Malekghassemi ac586ba21e Remove tox 2016-07-01 10:18:45 -07:00
Masood Malekghassemi 1ff429da2a Organize Python tests to use grpcio-tools directly
Moves all tests into a separate package. This does not change existing
supported means of running tests (e.g. through run_tests.py).
2016-07-01 10:18:45 -07:00
David Garcia Quintas 9a2320e40e regenerated projects 2016-06-30 18:15:12 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
Jan Tattermusch dc733d69d8 Merge pull request #7152 from nathanielmanistaatgoogle/interop
Fix Python server interop spec noncompliance
2016-06-30 13:33:26 -07:00
Jan Tattermusch 27e4979ee5 Merge pull request #7161 from dgquintas/use_release
Updated git clone URL
2016-06-30 13:30:19 -07:00
Nicolas Noble a027820b7b Merge pull request #7091 from kpayson64/python_str_stuff
Changed default string type to be str
2016-06-30 12:22:07 -07:00
Ken Payson 6a654dd400 Changed default string type to be str
This impacts the following APIs:
  Metadata: Key is always a str, Value is bytes for binary metadata,
    str otherwise
  Call Details: str type
  gRPC method: str type
  hostname/target: str type
2016-06-29 17:49:19 -07:00
David Garcia Quintas 4281272389 Updated git clone URL 2016-06-29 17:39:07 -07:00
Nathaniel Manista 458b35af34 Fix Python server interop spec noncompliance
Also fix spelling mistakes in the spec itself.
2016-06-29 21:49:20 +00:00
Nathaniel Manista f5f9e04464 Make handlers optional at server construction 2016-06-29 21:17:38 +00:00
Jan Tattermusch 01d7dbac1f Merge pull request #7116 from kpayson64/python_windows_fix
Convert windows dll filename to bytes
2016-06-29 13:50:32 -07:00
Ken Payson 4ea77849f2 Removed _connectivity_channel.ChannelConnectivityTest test 2016-06-28 14:47:28 -07:00
Ken Payson 110601d8e1 Convert windows dll filename to bytes 2016-06-28 11:41:42 -07:00
Jan Tattermusch fb39f1d6dc Merge pull request #6973 from makdharma/network_status_change
Network status tracking
2016-06-27 10:02:11 -07:00
Jan Tattermusch 8217b790e9 Merge pull request #7001 from kpayson64/python_cleanup_thread
Updated several threads to use CleanupThread for clean exit
2016-06-27 08:36:01 -07:00
Ken Payson aa4bb51d95 Updated several threads to use CleanupThread for clean exit 2016-06-26 13:07:43 -07:00
Jan Tattermusch 52227906e6 Merge pull request #7063 from dgquintas/python_compression
Basic testing of client and sever side compression for Python
2016-06-25 12:55:47 -07:00
Jan Tattermusch 834bed95e8 Merge pull request #6941 from kpayson64/python_grpc_shutdown
Moved grpc_shutdown to end of Py_Finalize()
2016-06-25 09:45:05 -07:00
Craig Tiller ffc780d70e Merge pull request #6803 from sreecha/epoll_changes
New epoll based polling implementation
2016-06-25 08:43:50 -07:00
David Garcia Quintas 6e789893ea Basic testing of client and sever side compression 2016-06-24 17:08:10 -07:00
murgatroid99 f519df8147 Update version to 0.15.0 2016-06-24 11:12:03 -07:00
Ken Payson f4c1bff0d8 Moved grpc_shutdown to end of Py_Finalize()
We currently rely on the __del__ method of a module scope object
to call grpc_shutdown().  __del__ methods are not guaranteed
to be called, and furthermore there are no guarantees about
ordering, leading to shutdown race conditions.  This moves
grpc_shutdown to Py_Finalize(), which gets called after the
Python context is completely cleaned up.
2016-06-24 10:45:48 -07:00
murgatroid99 d29a3bf004 Update master branch to 0.16.0-dev 2016-06-24 10:26:14 -07:00
Sree Kuchibhotla 05fd4fe043 Merge branch 'master' into epoll_changes 2016-06-23 09:23:01 -07:00
Jan Tattermusch ee694fb37c Merge pull request #6955 from nathanielmanistaatgoogle/metadata-code-details
Add a test of metadata, status code, and details
2016-06-22 18:40:38 -07:00
Nathaniel Manista b16e4518b7 Add a test of metadata, status code, and details 2016-06-22 19:30:18 +00:00
Jan Tattermusch 00ab5304b7 Merge pull request #6839 from dgquintas/simplify_compression_interop
Revamped interop spec, especially wrt compression
2016-06-21 20:28:15 -07:00
Sree Kuchibhotla c3a9fae601 Merge branch 'master' into epoll_changes_merged 2016-06-21 16:31:35 -07:00
Jan Tattermusch 311c74ec80 Merge pull request #6972 from nathanielmanistaatgoogle/fatal_failure→shutdown
Correct lingering FATAL_FAILURE sites
2016-06-21 16:27:11 -07:00
Jan Tattermusch 0c3ea08b7f Merge pull request #6970 from nathanielmanistaatgoogle/with_call
Change with_call from (Unary, Stream)UnaryMultiCallable parameter to (Unary, Stream)UnaryMultiCallable attribute
2016-06-21 12:37:45 -07:00
David Garcia Quintas 280fd2a1dc Merge branch 'master' of github.com:grpc/grpc into grpclb_v0 2016-06-20 22:05:32 -07:00
Makarand Dharmapurikar 0579cfc334 more files after running build.yaml changes through 2016-06-20 15:45:24 -07:00
Jan Tattermusch bc43e0736e Merge pull request #6896 from soltanmm/maybe
Fix namespace package usage
2016-06-20 15:34:14 -07:00
Nathaniel Manista 3b5ae53cd1 Correct lingering FATAL_FAILURE sites
This should have been done as part of 5444bed32f.
2016-06-20 22:13:47 +00:00
Jan Tattermusch 8d3477c9a6 Merge pull request #6962 from nathanielmanistaatgoogle/delete-dead-code-tests
Delete tests of dead pre-GA code
2016-06-20 13:48:37 -07:00
Jan Tattermusch 604bdf74b9 Merge pull request #6961 from nathanielmanistaatgoogle/secure-channel-construction
Fix secure channel construction
2016-06-20 13:44:56 -07:00
Nathaniel Manista ffaafe6fa3 Change with_call from parameter to attribute 2016-06-20 19:36:49 +00:00
Nathaniel Manista 76233f5c2f Delete tests of dead pre-GA code 2016-06-18 02:37:23 +00:00
Nathaniel Manista 6efe7c7ecf Fix secure channel construction 2016-06-18 02:03:44 +00:00
David Garcia Quintas 5ad70a6953 removed spurious .format() 2016-06-17 19:03:10 -07:00
David Garcia Quintas 50c5511a9b Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop 2016-06-17 19:01:03 -07:00
David Garcia Quintas 377bfdef92 added extra path to python protoc 2016-06-17 18:59:56 -07:00
Craig Tiller e1cbd62150 Merge github.com:grpc/grpc into error 2016-06-17 12:58:16 -07:00
Jan Tattermusch fd79790c00 Merge pull request #6944 from nathanielmanistaatgoogle/fatal_failure→shutdown
Rename FATAL_FAILURE SHUTDOWN
2016-06-17 11:28:56 -07:00
Jan Tattermusch 8615cce1ef Merge pull request #6943 from kpayson64/python_qps_wait
Wait for channel to be connected on QPS Client
2016-06-16 17:47:31 -07:00
Ken Payson bef286f034 Wait for channel to be connected for each client 2016-06-16 16:39:04 -07:00
Nathaniel Manista 5444bed32f Rename FATAL_FAILURE SHUTDOWN 2016-06-16 23:37:12 +00:00
Craig Tiller bc4c3e3a79 Merge github.com:grpc/grpc into error 2016-06-16 16:17:56 -07:00
Jan Tattermusch 6b0e5ddf8b Merge pull request #6938 from nathanielmanistaatgoogle/__all__
grpc.__all__ definition
2016-06-16 15:49:44 -07:00
Jan Tattermusch 3943244d60 Merge pull request #6882 from kpayson64/python_metadata_tests
Added Python GA API metadata tests
2016-06-16 15:28:04 -07:00
Nathaniel Manista 3e1379a35d grpc.__all__ definition 2016-06-16 21:11:06 +00:00
Sree Kuchibhotla 812c66ba1b Merge branch 'master' into epoll_changes 2016-06-16 10:05:13 -07:00
David Garcia Quintas 3fb8f7360b gRPC LB policy 2016-06-15 22:53:08 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00
Jan Tattermusch 8fb6c924b5 Merge pull request #6875 from y-zeng/log_check
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
2016-06-14 19:31:05 -07:00
Jan Tattermusch b4fc876dbb Merge pull request #6900 from nathanielmanistaatgoogle/_rpc_test-future-division
Drop unnecessary future division import
2016-06-14 19:29:05 -07:00
Jan Tattermusch 655e28f845 Merge pull request #6904 from nathanielmanistaatgoogle/unimplemented-for-cardinality-violation
UNIMPLEMENTED status for cardinality violation
2016-06-14 19:28:37 -07:00
Jan Tattermusch febfd32af9 Merge pull request #6572 from y-zeng/base64_decode
Add base64 decoder
2016-06-14 13:45:56 -07:00
Jan Tattermusch d66c3810f8 Merge pull request #6857 from kpayson64/python_cleanup
Added cleanup to server thread join method
2016-06-14 13:33:48 -07:00
Jan Tattermusch fd1419a176 Merge pull request #6873 from kpayson64/python_signal_handling
Added check for signals in poll()
2016-06-14 13:33:20 -07:00
Jan Tattermusch b383c68ccb Merge pull request #6874 from nathanielmanistaatgoogle/ga
Python GA code generation
2016-06-14 13:32:43 -07:00
Jan Tattermusch 8857adc742 Merge pull request #6881 from kpayson64/python_create_channel_bug
Fix create_[secure/insecure]_channel argument order
2016-06-14 13:32:10 -07:00
Nathaniel Manista 0442214129 UNIMPLEMENTED status for cardinality violation 2016-06-14 20:10:52 +00:00
Nathaniel Manista 1e44766bfc Drop unnecessary future division import
We only ever use floor division (//) in the module.
2016-06-14 19:09:49 +00:00
Masood Malekghassemi bb3948813c Fix namespace package usage
Turns out that Python namespace packages may be asymmetrical. The contents of a
particular package that was installed first (here grpcio) appears to retain its
contents in the installation directory when all other distributions declare
that package as a namespace package (here grpcio-tools).
2016-06-13 20:09:57 -07:00
Sree Kuchibhotla c0f4fe2dd4 Merge branch 'master' into epoll_changes 2016-06-13 16:44:08 -07:00
Ken Payson ed7428526c Added cleanup to the server thread's join method.
When the Python Interpreter exits, it first attempts to join any
outstanding threads.  This is problematic if a server is created
as a top-level variable or referenced by a reference cycle, as join()
will hang.  This adds cleanup behavior to the server thread's join().
2016-06-13 15:38:53 -07:00
Ken Payson f24665fdd8 Fix create_[secure/insecure]_channel argument order 2016-06-13 15:08:57 -07:00
Ken Payson a8d0a5d5e7 Added Python GA API metadata tests 2016-06-13 14:29:43 -07:00
Jan Tattermusch 74823b99cf Merge pull request #6879 from kpayson64/server_metadata_fix
Fixed bug with server initial metadata type translation
2016-06-13 14:14:47 -07:00
Nathaniel Manista 4547940d06 Python GA code generation 2016-06-13 20:51:09 +00:00
Ken Payson aee9d1aa7d Added check for signals in poll()
Also removed the unused pluck() function
2016-06-13 10:57:15 -07:00
Craig Tiller 1d39a06d06 Merge github.com:grpc/grpc into error 2016-06-13 10:29:32 -07:00
Ken Payson 6b943e55fa Fixed bug with server initial metadata type translation 2016-06-13 09:19:46 -07:00
Jan Tattermusch 55ca239bc2 Merge pull request #6547 from kpayson64/py_generic_stream_test
Added unit test for generic empty stream
2016-06-13 08:24:45 -07:00
Ken Payson 7aabab7111 Added unit test for empty request/responses 2016-06-11 12:46:07 -07:00
Jan Tattermusch 68e5ecbee4 Merge pull request #6503 from kpayson64/python_3_support
Initial Python3 support
2016-06-11 09:56:50 -07:00
Yuchen Zeng 654db3d33e Regenerate build files 2016-06-10 15:48:11 -07:00
Jan Tattermusch dfbee48de0 Merge pull request #6853 from nathanielmanistaatgoogle/operationtyple-equals-equals
Use == instead of is for cygrpc.OperationType values
2016-06-10 13:06:50 -07:00
Ken Payson 1efb6017ec Initial Python3 support
Notable Changes:
  -Convert all str types to byte types at cython layer (ascii encoding)
  -Use six for packages that have different names in Python2/Python3
  -By default, unit tests are compiled/run in Python2.7 and Python3.4
  -Ensure MACOSX_BUILD_TARGET is at least 10.7
2016-06-10 11:48:24 -07:00
Sree Kuchibhotla 11e3c07616 Merge branch 'master' into epoll_changes 2016-06-10 09:24:40 -07:00
Sree Kuchibhotla 492fd96182 generate_projects.sh after adding grpc_use_signal() API 2016-06-10 09:03:34 -07:00
Craig Tiller 34b11dfb55 Merge github.com:grpc/grpc into error 2016-06-09 17:17:15 -07:00
Jan Tattermusch 24cb78d8f4 Merge pull request #6751 from soltanmm/6522
Add a test for grpc/grpc#6522
2016-06-09 15:13:13 -07:00
Nathaniel Manista 5f8ad89545 Use == instead of is for cygrpc.OperationTypes 2016-06-09 19:22:41 +00:00
Yuchen Zeng d7a15b86b7 Merge remote-tracking branch 'upstream/master' into base64_decode 2016-06-09 11:02:10 -07:00
Sree Kuchibhotla 877dc0cc49 Merge branch 'master' into epoll_changes 2016-06-09 10:02:58 -07:00
Craig Tiller 0ca68b7cb1 Merge github.com:grpc/grpc into error 2016-06-09 07:50:50 -07:00
Jan Tattermusch 1bc2976a0f Merge pull request #6481 from dgquintas/compression_md_level_bis
Allow servers to select compression level via initial MD & overall compression cleanup
2016-06-08 19:17:20 -07:00
Jan Tattermusch b81f172206 Merge pull request #6610 from xyzzyz/external_fd_fresh
Add support for communication using existing FD (for client and server)
2016-06-08 19:16:40 -07:00
Yuchen Zeng 0a0c1b0d59 Merge remote-tracking branch 'upstream/master' into base64_decode 2016-06-08 17:52:05 -07:00
Sree Kuchibhotla f325ee367a Merge branch 'master' into epoll_changes 2016-06-08 16:31:58 -07:00
Jan Tattermusch e15377484d Merge pull request #6815 from kpayson64/python_perf_fixes
Remove AsyncStreaming client from python qps tests
2016-06-08 11:59:23 -07:00
Jan Tattermusch 09bf5f458a Merge pull request #6831 from kpayson64/python_jwt_creds
Added python jwt_token_creds interop test
2016-06-08 11:55:33 -07:00
Sree Kuchibhotla 5dbbbb1912 Merge branch 'master' into epoll_changes 2016-06-08 09:07:50 -07:00
David Garcia Quintas 533add5a87 Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-07 21:21:27 -07:00
Ken Payson 22a65e1a2b Added python jwt_token_creds interop test 2016-06-07 19:06:05 -07:00
Ken Payson 9a36e6c7cd Changed Python Sync streaming qps to follow spec 2016-06-07 17:49:03 -07:00
Adam Michalik b97e2d145e Add C++ support for using external FD 2016-06-07 15:09:19 -07:00
Adam Michalik bf10c82bf8 implement support for adding external fd to server 2016-06-07 15:09:19 -07:00
Adam Michalik 321b1fb1c2 separate posix functionality to grpc_posix.h 2016-06-07 15:09:19 -07:00
Adam Michalik 46cc2acc3e add tests 2016-06-07 15:04:36 -07:00
Craig Tiller c97065da86 Merge github.com:grpc/grpc into error 2016-06-07 13:00:14 -07:00
Craig Tiller 2888bd58b0 Merge github.com:grpc/grpc into error 2016-06-07 11:00:42 -07:00
Alistair Veitch ef1c860197 merge to master 2016-06-07 09:04:44 -07:00
Ken Payson 571c12ef18 Remove AsyncStreaming client from python qps tests 2016-06-06 23:13:27 -07:00
David Garcia Quintas a0d7491e62 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-06-06 16:25:48 -07:00
Jan Tattermusch 3e82244615 Merge pull request #6787 from nathanielmanistaatgoogle/beta-through-ga
Implement Python Beta API through GA API
2016-06-06 14:44:41 -07:00
Nathaniel Manista c09a3580a1 Route Python Beta API through Python GA API 2016-06-06 20:04:44 +00:00
Jan Tattermusch 87ec3b77b5 Merge pull request #6750 from makdharma/cronet
cronet build related changes to build.yaml, and added ifdef guard around objective_c cronet code.
2016-06-06 12:44:12 -07:00
Sree Kuchibhotla 1fd6235791 Merge branch 'master' into epoll_changes 2016-06-06 10:31:45 -07:00
Sree Kuchibhotla 4c11a20bf0 Remove unused files 2016-06-06 09:30:30 -07:00
Craig Tiller d925c93047 Merge github.com:grpc/grpc into error 2016-06-06 08:38:50 -07:00
David Garcia Quintas 55c08f81cf Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-03 14:18:01 -07:00
Nathaniel Manista debd1517b7 A Cython-layer read-not-all-responses test 2016-06-03 21:08:57 +00:00
Jan Tattermusch 84f71932ea Merge pull request #6254 from grpc/python_per_rpc_interop
Added google call creds/per_rpc interop tests
2016-06-03 16:14:31 -04:00
Jan Tattermusch 6c81c25653 Merge pull request #6306 from y-zeng/win32_suffix
Change win32 file suffix
2016-06-03 16:13:51 -04:00
Jan Tattermusch addf007513 Merge pull request #6711 from thought-machine/fix_read_leak
Fix memory leak reading from python ByteBuffer.
2016-06-03 16:11:28 -04:00
Jan Tattermusch 92ac3f7b11 Merge pull request #6762 from nathanielmanistaatgoogle/ga
Python GA security API
2016-06-03 16:09:25 -04:00
Jan Tattermusch d38b2c479a Merge pull request #6761 from ctiller/there-were-no-fatalities
Rename GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN
2016-06-03 16:07:41 -04:00
Jan Tattermusch 3dbafd5923 Merge pull request #5901 from dgquintas/lr_hook
Load Reporting hook
2016-06-03 16:00:28 -04:00
Alistair Veitch 4aaba75a82 initial implementation of resource handling 2016-06-02 17:11:46 -07:00
Nathaniel Manista 29243ddb18 Python GA security API 2016-06-02 19:54:17 +00:00
Craig Tiller 48ed92ea38 GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN 2016-06-02 11:07:12 -07:00
David Garcia Quintas e7518461c2 Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-06-02 10:24:51 -07:00
alex b0f676b050 Fix memory leak reading from python ByteBuffer.
Fixes #5913.

`grpc_byte_buffer_reader_next` is documented as 'Caller is responsible
for calling gpr_slice_unref on the result', but that wasn't happening.

This commit adds the missing call to `gpr_slice_unref`.
2016-06-02 11:08:54 +01:00
Nathaniel Manista 10da197c1e Python GA channel and server 2016-06-01 23:00:40 +00:00
Masood Malekghassemi c045fd9645 Add a test for grpc/grpc#6522 2016-06-01 15:49:29 -07:00
Makarand Dharmapurikar 2a2599b5ca incremental fix - removed cronet dependency from grpc_secure 2016-06-01 15:19:06 -07:00
Makarand Dharmapurikar 38d8055306 cronet build related changes 2016-06-01 15:02:04 -07:00
Craig Tiller 4b5e757147 Merge github.com:grpc/grpc into error 2016-06-01 14:55:33 -07:00
Jan Tattermusch 6eb2380a8f Merge pull request #6702 from a-veitch/add_proto
Add census protos.
2016-06-01 14:38:06 -04:00
Jan Tattermusch f7d95c39ee Merge pull request #6724 from nathanielmanistaatgoogle/paused
Add paused method to PauseFailControl
2016-06-01 14:12:55 -04:00
Jan Tattermusch 9d13a6d8f4 Merge pull request #6327 from nathanielmanistaatgoogle/ga
Interfaces of Python GA API
2016-06-01 13:01:02 -04:00
Craig Tiller 4c751ebd50 Merge github.com:grpc/grpc into error 2016-06-01 09:34:42 -07:00
Yuchen Zeng 34ff45695e Change _win32 suffixes in src/python/grpcio/ 2016-05-31 16:10:02 -07:00
David Garcia Quintas 2a50dfefdc s/grpc_pops/grpc_polling_entity 2016-05-31 15:10:58 -07:00
Yuchen Zeng 4594bd9d1b Merge remote-tracking branch 'upstream/master' into base 2016-05-31 14:19:57 -07:00
Nathaniel Manista 0a10d6c533 Interfaces of Python GA API 2016-05-31 21:08:21 +00:00
David Garcia Quintas 8bec6f6a55 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-05-31 13:59:37 -07:00
Craig Tiller 69f3e2bf2e Revert "Remove legacy poller"
This reverts commit d88e15cee7.
2016-05-31 13:45:24 -07:00
Craig Tiller ccbc810bae Merge github.com:grpc/grpc into error 2016-05-31 12:54:23 -07:00
Sree Kuchibhotla f448c34a68 Remove union { } data and epoll_hdr structures. Added ev_epoll_linux
files
2016-05-31 09:32:58 -07:00
Sree Kuchibhotla e48b1bc011 Base changes. Create ev_epoll_posix.{c,h} files by making a copy of ev_poll_and_epoll.c file 2016-05-31 09:29:53 -07:00
Alistair Veitch e97035df80 Merge branch 'master' into add_proto 2016-05-27 16:38:44 -07:00
Nathaniel Manista 6f61a13991 Add block_until_paused method to PauseFailControl
This method will be used in tests that want to ensure before
proceeding that the system under test has progressed to the control
point.
2016-05-27 21:10:39 +00:00
Craig Tiller 15d7f3cd0d Mark port as non-listening 2016-05-25 06:56:45 -07:00
Craig Tiller 66c2de34ff Merge github.com:grpc/grpc into error 2016-05-24 10:54:37 -07:00
Alistair Veitch d69354e488 Merge branch 'master' into add_proto 2016-05-24 09:03:47 -07:00
Craig Tiller e2c1040f9c Merge github.com:grpc/grpc into atm2 2016-05-24 07:34:49 -07:00
Jan Tattermusch d7bbd38b27 Merge pull request #6679 from nathanielmanistaatgoogle/cancel-many-calls-test
Add a Cython-level cancel-many-calls test
2016-05-24 10:25:05 -04:00
Craig Tiller 48abdde197 Merge github.com:grpc/grpc into error 2016-05-24 06:55:28 -07:00
Craig Tiller c4c6ecf8e9 Merge github.com:grpc/grpc into test_affine 2016-05-23 12:48:55 -07:00
Alistair Veitch 30fe63243a end-to-end compilation 2016-05-23 10:11:28 -07:00
Nathaniel Manista 29f2cb8687 Add a Cython-level cancel-many-calls test 2016-05-23 13:14:01 +00:00
Craig Tiller 22cfb65846 Merge github.com:grpc/grpc into error 2016-05-22 15:24:21 -07:00
Jan Tattermusch b6c7a5ae5f Merge pull request #6655 from nathanielmanistaatgoogle/take-this-future-please
"taking a this" -> "taking this" typo correction
2016-05-22 17:31:38 -04:00
Craig Tiller d88e15cee7 Remove legacy poller 2016-05-20 12:22:37 -07:00
David Garcia Quintas 772f485334 Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-05-19 14:56:03 -07:00
Nathaniel Manista 824ad2a5b9 "taking a this" -> "taking this" typo correction 2016-05-19 20:56:14 +00:00
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
David Garcia Quintas ac0944701a Merge branch 'compression_incoming_checks' into compression_md_level_bis 2016-05-18 20:25:57 -07:00
Craig Tiller 9766f4f424 Merge github.com:grpc/grpc into test_affine 2016-05-18 16:55:35 -07:00
Craig Tiller 8517886c6a Move load_file into iomgr 2016-05-18 16:09:16 -07:00
David Garcia Quintas 7c7195d8c8 removed references to grpc_compress_options from Python 2016-05-18 11:32:22 -07:00
David Garcia Quintas d013e9b985 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-05-18 11:00:31 -07:00
David Garcia Quintas 8f7365021f Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-05-18 10:29:57 -07:00
Craig Tiller 01fb04d740 Merge github.com:grpc/grpc into error 2016-05-18 09:45:45 -07:00
Ken Payson 60a83c744b Added google call creds/per_rpc interop tests 2016-05-18 09:11:00 -07:00
Jan Tattermusch fcbe7daf83 Merge pull request #6588 from soltanmm/you're-my-compression
Add compression support to lower Python/Cython layers
2016-05-18 07:36:05 -07:00
David Garcia Quintas 51341eaa06 regenerated projects 2016-05-17 23:47:55 -07:00
David Garcia Quintas f54171c18b Merge branch 'moar-compression-public-refactorings' into compression_md_level_bis 2016-05-17 17:19:33 -07:00
Masood Malekghassemi 93cc06a484 Add compression support to Cython layers 2016-05-17 13:37:15 -07:00
Craig Tiller c654554874 Merge github.com:grpc/grpc into error 2016-05-17 09:17:29 -07:00
Jan Tattermusch 9a0da591ce Merge pull request #6602 from nathanielmanistaatgoogle/test-parallelism
Break PARALLELISM test constant in two
2016-05-16 18:44:28 -07:00
Jan Tattermusch 19144a6a04 Merge pull request #6439 from kpayson64/python_health_check
Reworked python health checking and added tests
2016-05-16 18:43:49 -07:00
Nathaniel Manista ea8ae09142 "sooner" -> "server" typo correction
"... will not have the effect of stopping the sooner later", heh. :-P
2016-05-16 22:46:12 +00:00
Nathaniel Manista 3fe71993da Split and rename test_constants.PARALLELISM
Going forward we'd like to be able to test much larger numbers of RPCs
than the number of threads available to a test.
2016-05-16 17:08:19 +00:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
Craig Tiller d6a5b803f4 Merge github.com:grpc/grpc into error 2016-05-13 20:17:38 -07:00
Jan Tattermusch effd74c3cc Merge pull request #5456 from ctiller/cleaner-posix3
Splitting out a pure poll() based event engine
2016-05-13 11:37:12 -07:00
Yuchen Zeng d982bba41d Add base64 decoder 2016-05-12 18:53:52 -07:00
David Garcia Quintas 48a5ddd00c Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-05-12 17:54:58 -07:00
Jan Tattermusch f11f2b1b69 Merge pull request #6453 from kpayson64/python_protoc
Made complex directories for python protoc test
2016-05-12 16:07:26 -07:00
David Garcia Quintas 6d0b4d20c0 Merge branch 'master' of github.com:grpc/grpc into merge 2016-05-12 14:28:36 -07:00
makdharma c2ec95bad4 Revert "Revert "cronet wrapper code"" 2016-05-11 16:26:15 -07:00
Craig Tiller a58ed7cfab Merge github.com:grpc/grpc into error 2016-05-11 10:55:18 -07:00
Jan Tattermusch 594ff2054a Merge pull request #6524 from kpayson64/qps_improvements
Added true async qps streaming client
2016-05-11 09:11:24 -07:00
Craig Tiller fe01b58223 Merge github.com:grpc/grpc into cleaner-posix3 2016-05-11 08:05:59 -07:00
Ken Payson 1eb8d54a19 Added true async qps client 2016-05-10 16:57:14 -07:00
Julien Boeuf bae6a4cb43 Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring 2016-05-10 15:26:17 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
Jan Tattermusch fffd296bc5 Merge pull request #6279 from dgquintas/lb_proto_v1
Updated load balancer proto to v1
2016-05-10 10:15:42 -07:00
Nicolas Noble fac1b4d220 Merge pull request #6475 from grpc/release-0_14
Upmerge from 0.14.0
2016-05-09 23:18:34 -07:00
Jan Tattermusch 794834f56e Merge pull request #6448 from nathanielmanistaatgoogle/issue-4899
Raise parallelism in grpc._cython._channel_test
2016-05-09 16:02:10 -07:00
David Garcia Quintas a301eaade8 Allow servers to select compression level via initial MD.
Setting the newly added compression_level field of
grpc_op::send_initial_metadata by a server now has the effect of
applying that compression level for the subsequent call messages leaving
the server. The ultimate meaning of the level depends on the client's
supported compression algorithms.
2016-05-09 14:30:41 -07:00
Nicolas "Pixel" Noble 0545d7fa69 Revert "Merge pull request #6214 from makdharma/master"
This reverts commit 48d833a9d8, reversing
changes made to 66e9d8e8a7.
2016-05-09 19:28:17 +02:00
Craig Tiller 42342cbebb Revert "cronet wrapper code" 2016-05-09 08:12:35 -07:00
Jan Tattermusch 3a4b903bf0 Merge pull request #6419 from sreecha/python_stress_test_docker
Python stress test docker config files and related changes
2016-05-06 15:31:22 -07:00
Ken Payson f6cedf82c3 Made complex directories for python protoc test 2016-05-06 12:09:42 -07:00
Ken Payson af1fe578e0 Namespace change 2016-05-06 09:40:52 -07:00
Masood Malekghassemi 0bdc7ccab9 Fix #4592
Adds a command that allows the instructions to be used to install gRPC Python
from scratch.
2016-05-05 19:03:53 -07:00
Masood Malekghassemi ab5309c9b1 Remove precompiled Python extension hack 2016-05-05 18:39:06 -07:00
Nicolas "Pixel" Noble 16caa50aae Master is now 0.15.0-dev. 2016-05-06 03:02:51 +02:00
Nicolas "Pixel" Noble 253a7109ed The release branch is now 0.14.0-pre1. 2016-05-06 03:00:51 +02:00
Jan Tattermusch 27ca074605 Merge pull request #6450 from nicolasnoble/gopro
Continuation of #6280.
2016-05-05 17:52:12 -07:00
Craig Tiller ddad978996 API fuzzer compiles with new error handling 2016-05-05 17:11:31 -07:00
Nicolas Noble 48d833a9d8 Merge pull request #6214 from makdharma/master
cronet wrapper code
2016-05-05 14:09:17 -07:00
Nathaniel Manista 7809f2b78a Raise parallelism in grpc._cython._channel_test
The underlying bug in Core that this test was written to isolate was
fixed weeks ago.
2016-05-05 20:38:42 +00:00
Craig Tiller 4ba6a646cd Merge branch 'credentials_refactoring' of github.com:jboeuf/grpc into error 2016-05-05 13:01:39 -07:00
Ken Payson 85a5ffa1a9 Manifest changes 2016-05-05 10:30:10 -07:00
Ken Payson 4982638f78 Remove grpcio as build dependency 2016-05-04 18:37:29 -07:00
Ken Payson 4df964780f Reworked python health checking and added tests 2016-05-04 17:39:28 -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
Masood Malekghassemi d039a98a94 Add Python grpcio protoc package 2016-05-04 15:30:30 -07:00
David Garcia Quintas ac70c5a27d Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-05-03 23:18:52 -07:00
David Garcia Quintas 261db111e6 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-05-03 22:55:28 -07:00
David Garcia Quintas f72eb97b36 Introduced grpc_pops (pollset or pollset_set) 2016-05-03 18:28:09 -07:00
Makarand Dharmapurikar 274bcc8f0b Added dummy cronet api implementation so we can build on Jenkins. 2016-05-03 17:34:54 -07:00
Sree Kuchibhotla d8c0d385f4 Fix a bug in stress client code 2016-05-03 17:15:09 -07:00
Craig Tiller 1231c2a6b2 Merge github.com:grpc/grpc into error 2016-05-03 16:33:54 -07:00
Jan Tattermusch 442bead4a3 Merge pull request #5701 from bluecmd/unix-socket
Allow directly specifiying connection path
2016-05-03 16:03:35 -07:00
Craig Tiller 7c6ba9bae4 Merge github.com:grpc/grpc into error 2016-05-03 12:56:40 -07:00
Sree Kuchibhotla b69251c2f6 Merge branch 'master' into server_channel_affinity 2016-05-03 09:33:13 -07:00
Makarand Dharmapurikar 70f697ba1e reran generate_projects.sh after @nnoble's fix in PR6399. 2016-05-02 22:29:21 -07:00
Craig Tiller ad3c8c1a5d Rewrite async_exec_lock using mpscq 2016-05-02 21:47:30 -07:00
Craig Tiller 0bc11711b7 Direct translation of http://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based-queue 2016-05-02 21:22:46 -07:00
Craig Tiller a26637fdca Add a test and make things compile 2016-05-02 13:36:36 -07:00
Makarand Dharmapurikar 63ee8ce43c Reran tools/buildgen/generate_projects.sh again. 2016-05-01 15:12:18 -07:00
David Garcia Quintas 580987abf0 Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-04-29 17:26:33 -07:00
Ken Payson ad9d06effe Create Python stress test 2016-04-29 11:19:50 -07:00
Sree Kuchibhotla a2b549578f Merge branch 'master' into server_channel_affinity 2016-04-29 11:01:37 -07:00
David Garcia Quintas b41363e88e all good! missing end2end test for new lr filter 2016-04-29 00:41:21 -07:00
Jan Tattermusch 5e6cc81842 Merge pull request #6331 from nathanielmanistaatgoogle/alpha
Remove Python alpha/early_adopter implementation
2016-04-28 21:50:21 -07:00
Jan Tattermusch b8c44438b3 Merge pull request #6298 from grpc/python_qps_tests
Python QPS Tests
2016-04-28 21:48:13 -07:00
Ken Payson 0482c1046b Python QPS Worker/initial scenarios 2016-04-28 20:01:06 -07:00
Jan Tattermusch 2e4bfed082 Merge pull request #6330 from soltanmm/6264
Allow additive changes to protos w/o forcing user implementation
2016-04-28 18:42:23 -07:00
Jan Tattermusch 2ea6765faf Merge pull request #6321 from soltanmm/doc
Add Windows-specifics to Python docs
2016-04-28 15:22:52 -07:00
Craig Tiller 27f59afecb Unifying error handling within core 2016-04-28 14:19:48 -07:00
Craig Tiller f128cd2c6e Merge pull request #6196 from y-zeng/call-error-to-string
Provide a function that converts grpc_call_error values into a string
2016-04-28 08:34:29 -07:00
David Garcia Quintas 12e111c692 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-04-27 19:15:12 -07:00
Nathaniel Manista cab9470ee8 Remove Python alpha/early_adopter implementation
This code has been unsupported for more than six months.
2016-04-28 01:59:36 +00:00
Masood Malekghassemi 832ae81b21 Allow additive changes to protos w/o forcing user implementation 2016-04-27 18:42:31 -07:00
David Garcia Quintas d312a0b866 Smarter pollset/pollset_set propagation
For some definition of "smart"... client_channel simply passes along
pollset/pollset_set, removing the need to instantiate a pollset_set in
the subchannel_call_holder: it's now up to the LB policies to handle the
pollset/pollset_set.
2016-04-27 18:40:50 -07:00
Sree Kuchibhotla 192afb9a31 Merge remote-tracking branch 'upstream/master' into server_channel_affinity 2016-04-27 16:43:42 -07:00
Jan Tattermusch 165c62ff75 Merge pull request #6183 from nicolasnoble/msys-support
Adding support for msys.
2016-04-27 16:31:59 -07:00
Sree Kuchibhotla cfa6401328 Merge branch 'master' into server_channel_affinity 2016-04-27 15:03:02 -07:00
Masood Malekghassemi d06e9291cb Add Windows-specifics to Python docs 2016-04-27 14:59:17 -07:00
David Garcia Quintas 396f4450fd Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-04-27 14:23:24 -07:00
Yuchen Zeng 12dfdc3c27 Change win32 file suffix 2016-04-26 22:05:41 -07:00
Jan Tattermusch 7d78ab20c8 Merge pull request #6229 from grpc/python_test_proto_gen
Changed python proto build to use shared protos
2016-04-26 15:23:37 -07:00
Ken Payson 707c9e29e0 Changed python proto build to use shared protos 2016-04-26 13:56:17 -07:00
Sree Kuchibhotla 30499760db Merge branch 'master' into server_channel_affinity 2016-04-26 11:27:14 -07:00
David Garcia Quintas 7f0793ad62 Updated load balancer proto to v1 2016-04-25 16:48:26 -07:00
Craig Tiller 7beea147e5 Merge github.com:grpc/grpc into strong-includes 2016-04-21 17:07:36 -07:00
Sree Kuchibhotla 01907123f6 generate_projects.sh and fix copyright year 2016-04-21 15:09:13 -07:00
Jan Tattermusch dde6dfbb0b Merge pull request #5958 from deepaklukose/skip_client_cert_verification
Add various options to verify ssl/tls client cert including letting the application handle the authentication.
2016-04-20 21:01:30 -07:00
itessier 2a52203af9 Update boringssl to latest chromium-stable.
This also fixes the x25519_NEON symbol error when importing the gRPC
Python modules on ARM.

Change-Id: Id98cf6b0f9a3a8f5b88204bd0a6ad2346182ba3d
2016-04-20 10:53:28 -07:00
Deepak Lukose dba4c5fd01 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Yuchen Zeng 5aff099941 Merge pull request #6189 from y-zeng/default-verbosity
Add knob for default core output verbosity
2016-04-19 13:50:29 -07:00
Yuchen Zeng 2e7d957a63 Provide a function that converts grpc_call_error values into a string 2016-04-15 17:49:38 -07:00
Yuchen Zeng 18746637f5 After running generate_projects.sh 2016-04-15 17:40:05 -07:00
Nicolas "Pixel" Noble c4b18a50de Adding support for msys. 2016-04-15 07:39:26 +02:00
Craig Tiller 3ab2fe0094 Rollup of changes from the latest import 2016-04-11 20:11:18 -07:00
David Garcia Quintas 9885bff5fb Factored out parse functions from sockaddr_resolver 2016-04-08 17:08:57 -07:00
David Garcia Quintas 7d4f252c0f Merge branch 'master' of github.com:grpc/grpc into lr_hook 2016-04-07 10:19:47 -07:00
Craig Tiller 03915e5de6 Sort out codegen dependencies 2016-04-07 09:15:10 -07:00
David Garcia Quintas 862c8e9e50 Load Reporting hook and filter skeleton 2016-04-06 16:30:51 -07:00
Craig Tiller f9d53bbdd6 Merge github.com:grpc/grpc into cleaner-posix3 2016-04-06 10:39:00 -07:00
Craig Tiller 0ea9fceb24 Merge github.com:grpc/grpc into cleaner-posix3 2016-04-06 10:02:26 -07:00
Craig Tiller 0b54163019 Fixing client_config init 2016-04-05 17:21:05 -07:00
Craig Tiller f82ddc4c78 Nailing down dependencies better 2016-04-05 17:15:07 -07:00
Craig Tiller 859fb06e80 Merge branch 'optionalize_client_config' into strong-includes 2016-04-05 16:07:25 -07:00
Craig Tiller d08c6ae5aa Merge github.com:grpc/grpc into optionalize_client_config 2016-04-05 16:06:06 -07:00
Craig Tiller d1697d99d7 Getting dependencies fixed up 2016-04-05 16:05:46 -07:00
Jan Tattermusch abb4f5f3ab Merge pull request #6070 from ctiller/head-of-line-blocking
Fix a head of line blocking issue in the C++ server
2016-04-05 14:31:33 -07:00
Jan Tattermusch 506cfa69c7 Merge pull request #6087 from ctiller/reset_copyright
Remove unnecessary -2016 from copyrights
2016-04-05 13:25:24 -07:00
Craig Tiller b112f3989f Move subchannel_call_holder 2016-04-05 12:44:04 -07:00
Craig Tiller 084aa62861 Remove unnecessary -2016 from copyrights 2016-04-05 08:36:49 -07:00
Craig Tiller 0d2a0ae7c5 Merge github.com:grpc/grpc into cleaner-posix3 2016-04-04 13:52:26 -07:00
Craig Tiller 725aaf2336 Fix codegen 2016-04-04 10:11:23 -07:00
Craig Tiller 74071cdab0 Merge branch 'subchannel_factory_create_lb_channel' of github.com:dgquintas/grpc into ccmerge 2016-04-01 16:36:27 -07:00
David Garcia Quintas 414ee3208f Merge branch 'master' of github.com:grpc/grpc into subchannel_factory_create_lb_channel 2016-04-01 16:17:22 -07:00
Nicolas Noble 1895835ecd Merge pull request #6042 from ctiller/optionalize_resolvers
Optionalize resolvers
2016-04-01 16:06:29 -07:00
Craig Tiller 895459efc0 Merge github.com:grpc/grpc into optionalize_client_config 2016-04-01 15:46:00 -07:00
David G. Quintas b48dda2591 Merge branch 'master' into subchannel_factory_create_lb_channel 2016-04-01 15:33:59 -07:00