Commit Graph

1625 Commits

Author SHA1 Message Date
Craig Tiller 6b99d80410 Merge pull request #10501 from ctiller/epex2
Split event notification out of ev_epoll_linux.c
2017-04-11 09:53:41 -07:00
Craig Tiller cfab1b8758 Merge pull request #52 from kpayson64/working_mac_py_cpp
Fix mac build
2017-04-10 17:01:06 -07:00
Ken Payson 3b90055f2c Fix mac build 2017-04-10 15:53:17 -07:00
jiangtaoli2016 e69881de7f Revise based on Mark's comments. 2017-04-10 14:45:23 -07:00
Craig Tiller eb36437e85 Merge github.com:grpc/grpc into c++lame 2017-04-07 17:08:42 -07:00
Craig Tiller 8ebb5443de Update build.yaml 2017-04-07 16:01:55 -07:00
Sree Kuchibhotla 7b9f97bfb8 Merge branch 'master' into cq_create_api_changes 2017-04-07 13:44:34 -07:00
Craig Tiller f4360d77d4 Fix build, fix epollex detection 2017-04-07 08:51:00 -07:00
Craig Tiller 5f399d173b Merge github.com:grpc/grpc into minimal_test 2017-04-07 06:46:08 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Craig Tiller 71d6ce65d4 Merge deadline_init/deadline_start 2017-04-06 09:10:09 -07:00
Craig Tiller a24b971214 Rename compress_filter --> message_compress_filter 2017-04-06 09:03:21 -07:00
Craig Tiller d6d31b006a Merge github.com:grpc/grpc into minimal_test 2017-04-06 08:56:10 -07:00
Craig Tiller 376887d213 Split event notification out of ev_epoll_linux.c 2017-04-06 08:27:03 -07:00
Jan Tattermusch 61f729fe1a Merge remote-tracking branch 'upstream/v1.2.x' into upmerge_v12x 2017-04-06 17:11:44 +02:00
Craig Tiller 9a29464d67 Merge github.com:grpc/grpc into cpparena2 2017-04-05 15:07:46 -07:00
Mehrdad Afshari d4da50b2cb Add manifest to fix grpcio_reflection packaging 2017-04-05 14:48:12 -07:00
Craig Tiller 0357187b4e Merge github.com:grpc/grpc into minimal_test 2017-04-05 12:24:25 -07:00
Craig Tiller edfce58afb Merge github.com:grpc/grpc into truebin 2017-04-05 06:49:43 -07:00
Craig Tiller 5de46568ce Merge github.com:grpc/grpc into cpparena 2017-04-04 17:08:12 -07:00
Mehrdad Afshari 0cbfad62cf Support custom pool in enable_server_reflection 2017-04-04 16:43:37 -07:00
Craig Tiller ee787caf0e Merge github.com:grpc/grpc into truebin 2017-04-04 15:54:40 -07:00
Craig Tiller c8f62bcb03 Add new setting for true-binary mode 2017-04-03 16:25:45 -07:00
Craig Tiller 3be7dd0e79 Optionalize deadline checking 2017-04-03 14:30:03 -07:00
Craig Tiller af76743e33 Optionalize compress, gather all the http2 filter bits together in ext/ 2017-04-03 13:54:31 -07:00
Craig Tiller 9b3648a28e Optionalize message_size_filter 2017-04-03 12:25:19 -07:00
Jan Tattermusch 0be726b34d bump version to 1.2.2 2017-04-03 20:04:34 +02:00
Sree Kuchibhotla c1a32fa46e Merge branch 'master' into cq_create_api_changes 2017-04-01 17:36:15 -07:00
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