Commit Graph

356 Commits

Author SHA1 Message Date
Jan Tattermusch 8bce393aeb Merge pull request #5819 from dgquintas/compression_levels
Implemented compression level algorithms properly
2016-03-18 16:46:21 -07:00
Craig Tiller 58270d5461 Revert "Revert "Factor out backoff code into a separate library (to be re-used elsewhere)"" 2016-03-18 15:57:49 -07:00
Jan Tattermusch b41a1acfe3 Merge pull request #5814 from sreecha/grpc_fixit
DocFixit: Add more troubleshooting details
2016-03-18 15:44:26 -07:00
David G. Quintas 108cecb826 Revert "Factor out backoff code into a separate library (to be re-used elsewhere)" 2016-03-18 15:05:00 -07:00
Leifur Halldor Asgeirsson fbe766ad46 replace uses of iteritems with six.iteritems 2016-03-18 16:21:45 -04:00
Leifur Halldor Asgeirsson efdefce3a7 make iterators python3-compatible 2016-03-18 16:14:18 -04:00
Leifur Halldor Asgeirsson 554c7dd22f py3 compatibility for test runner & loader 2016-03-18 16:01:57 -04:00
Leifur Halldor Asgeirsson 1abda1f02b specify metaclasses in a py3-compatible way 2016-03-18 15:58:19 -04:00
David Garcia Quintas a36ec16de2 regenerated projects 2016-03-18 10:00:23 -07:00
Sree Kuchibhotla 3a0be4642f review comments 2016-03-18 09:10:35 -07:00
Jan Tattermusch 220986ea83 Merge pull request #5786 from soltanmm/this-is-not-a-pipe
Don't use a pipe for output capturing in Python's test runner
2016-03-18 08:49:17 -07:00
ahedberg 43df295528 add unix_sockets_posix module to build system and fix compilation errors 2016-03-18 10:46:38 -04:00
Sree Kuchibhotla ffa38f9671 Add troubleshooting details 2016-03-17 18:36:31 -07:00
Craig Tiller 6c59e16826 Merge github.com:grpc/grpc into filter-selection 2016-03-17 11:20:58 -07:00
Jan Tattermusch 921f4b0a6e Merge pull request #5791 from sreecha/grpc_fixit
DocFixit: Python README
2016-03-17 10:37:12 -07:00
Masood Malekghassemi fd5a3ef9d5 Don't use a pipe for capturing in test runner
Apparently Python can call arbitrarily deallocation code whenever its
allocator is invoked, which can cause output from gRPC core to stderr,
which can happen on the thread that is emptying the stderr pipe, thus
causing the stderr pipe to deadlock on itself.
2016-03-17 09:41:45 -07:00
Craig Tiller 40d34bf477 Merge github.com:grpc/grpc into filter-selection 2016-03-17 07:50:54 -07:00
Craig Tiller c65af4d784 Merge github.com:grpc/grpc into idempotent 2016-03-17 07:44:17 -07:00
Craig Tiller 36bf4d55e1 Merge github.com:grpc/grpc into backoff_lib 2016-03-17 07:43:22 -07:00
Sree Kuchibhotla 2f084ee39e DocFixit: Python README 2016-03-16 23:09:56 -07:00
Jan Tattermusch 0b3e515c96 Merge pull request #5767 from soltanmm/gil-not-nimble-gil-not-quick
Don't hold the GIL when calling anything in core
2016-03-16 17:10:10 -07:00
Craig Tiller 4f7ffa05a4 Merge github.com:grpc/grpc into idempotent 2016-03-16 07:58:20 -07:00
Craig Tiller 5ee157cd11 Merge github.com:grpc/grpc into backoff_lib 2016-03-16 07:56:37 -07:00
Craig Tiller 121e7a9645 Merge github.com:grpc/grpc into filter-selection 2016-03-16 07:50:18 -07:00
Masood Malekghassemi 3d2d5b9d27 Don't hold the GIL when calling anything in core 2016-03-15 17:59:32 -07:00
Masood Malekghassemi cbd1bce45a Fix two ways tests can hang
Both have to do with the test runner's handling of the tests. With one
it's the read thread somehow outliving the other threads (e.g. with
ctrl-C). The other is due to a filled OS-level pipe's buffer causing a
block while code is still holding the GIL in some gRPC core function. We
can't empty the buffer from Python because the GIL is held, and the OS
can't unblock because it's waiting for the buffer to get cleared:
deadlock.
2016-03-15 14:30:15 -07:00
Jan Tattermusch 2626dfd256 Merge pull request #5728 from jtattermusch/python_nuke_event_invocation
Remove tests for EventInvocation API that is going to be removed
2016-03-13 19:38:57 -07:00
Jan Tattermusch 8734e02f52 fix copyright 2016-03-11 15:52:53 -08:00
Jan Tattermusch afc59cbc88 remove tests for EventInvocation API that is going to be removed 2016-03-11 15:06:15 -08:00
Masood Malekghassemi 9ee163557b Remove unnecessary (potentially bad) safety-refs 2016-03-11 11:23:32 -08:00
Craig Tiller c72cc42238 Build out backoff as a library 2016-03-11 10:54:36 -08:00
Craig Tiller 7885ea5e31 Add a place for tests 2016-03-10 06:53:29 -08:00
Masood Malekghassemi 40ed554bc0 Merge pull request #5686 from soltanmm/gills
Release GIL in queue __dealloc__
2016-03-09 21:08:56 -08:00
Craig Tiller 6387add103 Merge pull request #5540 from soltanmm/upmerge
Merge release-0_13 into master
2016-03-09 20:02:08 -08:00
Masood Malekghassemi 1f646dc887 Release GIL in queue __dealloc__ 2016-03-09 14:46:45 -08:00
Masood Malekghassemi ec49e156fe Fix typo 2016-03-09 11:51:58 -08:00
Makarand Dharmapurikar aa212374ee Cleaned up installation/test requirement fetching 2016-03-09 11:15:35 -08:00
Craig Tiller 41cb61de8b Merge github.com:grpc/grpc into filter-selection 2016-03-07 20:08:24 -08:00
Jan Tattermusch 17908c168d Address comments and add a TODO. 2016-03-07 15:04:17 -08:00
Jan Tattermusch e6cc9c7a25 custom test target for parallel test running 2016-03-07 13:08:59 -08:00
Masood Malekghassemi 4aaf47469e Merge remote-tracking branch 'upstream/master' into upmerge 2016-03-03 13:26:50 -08:00
Jan Tattermusch 4473dd5b88 Merge pull request #5541 from jtattermusch/python_split_tests
Make python test suites run in parallel
2016-03-03 11:16:42 -08:00
Craig Tiller 0cb803d9ca Always ref writable streams
We suffered a bug whereby doing a follow-up write to another write could
resurrect a deleted stream, causing all sorts of crash.

Fix: when a stream becomes writable (vs when we start writing) take a
ref on the stream, and only relinquish it once we're done writing.
2016-03-02 22:34:23 -08:00
Jan Tattermusch 072ebaa153 make python test suites run in parallel 2016-03-02 17:46:18 -08:00
Nathaniel Manista 8c5be78eb9 Merge pull request #5542 from soltanmm/over-troubled-water
Add troubleshooting section to Python package description.
2016-03-02 16:07:42 -08:00
Masood Malekghassemi 7bee07555a Add troubleshooting section to package description 2016-03-02 14:41:01 -08:00
Masood Malekghassemi 357871fd34 Merge remote-tracking branch 'upstream/release-0_13' 2016-03-02 13:56:49 -08:00
Masood Malekghassemi 18720fff2f Maintain correct queue invariants against core 2016-03-02 13:24:16 -08:00
Nicolas "Pixel" Noble 68291709f4 Fixing copyrights. 2016-03-01 02:55:18 +01:00
Masood Malekghassemi 6a5e1d7e19 Merge pull request #5478 from soltanmm/catatonic
Address some memory hazards in Cython code
2016-02-29 16:54:58 -08:00
Bogdan Drutu f0ca4d5c5c Merge pull request #5441 from a-veitch/no_binary_tags
Remove binary tags, restrict tag characters to ASCII
2016-02-29 16:42:00 -08:00
Masood Malekghassemi 334e0ee370 Address some memory hazards in Cython code
Some __dealloc__ methods were calling Python methods, and some
references were being dropped on the floor instead of threaded through
gRPC core.
2016-02-29 14:48:33 -08:00
Alistair Veitch 0cc824275d regenerate imports 2016-02-26 10:54:20 -08:00
Craig Tiller 5a9d7d2dcc Merge github.com:grpc/grpc into filter-selection 2016-02-25 16:03:11 -08:00
Jan Tattermusch 7620649134 Merge pull request #5359 from nicolasnoble/upmerge
Upmerge from 0.13
2016-02-25 09:40:23 -08:00
Craig Tiller 4ea4599a50 Merge github.com:grpc/grpc into naming-crisis 2016-02-23 17:13:38 -08:00
Craig Tiller 70ab4c5cef Merge github.com:grpc/grpc into fix-proto-docker 2016-02-22 22:29:51 -08:00
Craig Tiller 521423c8cf Regenerate files, fix bugs 2016-02-22 22:22:22 -08:00
Craig Tiller 6895168e0a Merge github.com:grpc/grpc into filter-selection 2016-02-22 21:41:31 -08:00
Nathaniel Manista 22648b7f7c Merge pull request #5283 from soltanmm/abi-fu
Add more information to precompiled name.
2016-02-22 18:54:24 -08:00
Masood Malekghassemi 3ee1f9b778 Update Python docgen 2016-02-22 18:37:51 -08:00
Masood Malekghassemi fe8ad714d4 Update Python doc w.r.t. Windows availability 2016-02-22 17:55:24 -08:00
Nathaniel Manista 88b0d52018 Merge pull request #5360 from soltanmm/doc-notes
Update Python doc with pip version notes.
2016-02-22 17:53:52 -08:00
Masood Malekghassemi c0a97a9cfe Update Python doc with pip version notes 2016-02-22 17:51:02 -08:00
Nicolas Noble 88966ab145 Merge pull request #5348 from nicolasnoble/backport-merge
Backport merge.
2016-02-23 02:19:44 +01:00
Nicolas "Pixel" Noble 1dda992697 Merge branch 'master' into backport-merge 2016-02-23 00:44:41 +01:00
Alistair Veitch 7771544111 rename census log files to avoid build breakage on MacOS 2016-02-22 14:20:25 -08:00
Nicolas "Pixel" Noble 1280fdb574 Merge branch 'master' into backport-merge 2016-02-22 21:30:14 +01:00
Masood Malekghassemi 9f79159590 Merge pull request #5302 from nicolasnoble/python-windows
Enabling python artifact building for Windows.
2016-02-22 11:37:22 -08:00
Nicolas "Pixel" Noble 2e8fdbac77 Building the dlls. 2016-02-19 05:39:15 +01:00
Masood Malekghassemi 736173487c Exclude cygrpc.so from the Python package 2016-02-18 15:54:18 -08:00
Craig Tiller 16f6826ffd Merge github.com:grpc/grpc into fix-proto-docker 2016-02-18 07:14:37 -08:00
Craig Tiller 178edfae2b Decouple filter selection from channel construction
Allow plugins to extend the set of filters used by gRPC core:
- plugins at construction time can register against the 'channel_init' system to be allowed to mutate a new channel_stack_builder type
- channel_stack_builder provides a central and rather dynamic place to construct the list of filters required by a channel stack
- ultimately we construct the channel stack in the fashion we always have

This is also a prerequisite step to allowing filters to be implemented from wrapped languages.
2016-02-17 20:54:46 -08:00
Sree Kuchibhotla 3cce2ecb12 Merge pull request #4859 from ctiller/sceq
Subchannel Sharing  [The interop tests failures and Basic test failures are unrelated to this change. Merging]
2016-02-17 16:03:52 -08:00
Nicolas "Pixel" Noble 639766023e Flagging the missing API entries. 2016-02-17 23:43:55 +01:00
Craig Tiller c0ce00fd16 Merge github.com:grpc/grpc into sceq 2016-02-17 14:25:12 -08:00
Masood Malekghassemi e5e0131c8d Add more information to precompiled name 2016-02-17 14:02:07 -08:00
Bogdan Drutu a3d33b93c4 Merge pull request #5277 from soltanmm/abimerp
Extern "C" Python DLL support
2016-02-17 12:03:14 -08:00
Masood Malekghassemi d01391233a Extern "C" Python DLL support 2016-02-17 12:00:49 -08:00
Bogdan Drutu 399d34bef4 Fix pygrpc_load_core in pxi to match with the C definition 2016-02-16 19:37:15 -08:00
Bogdan Drutu 43f6311c58 Merge pull request #5098 from a-veitch/base_log
Add Census base log
2016-02-16 09:54:31 -08:00
Nicolas "Pixel" Noble f083013bd7 Merge remote-tracking branch 'google/release-0_13' into upmerge-from-0.13
Conflicts:
	Makefile
	build.yaml
	package.json
	setup.py
	src/core/surface/version.c
	src/csharp/Grpc.Core/VersionInfo.cs
	src/csharp/build_packages.bat
	src/python/grpcio/grpc_version.py
	src/ruby/lib/grpc/version.rb
	tools/doxygen/Doxyfile.c++
	tools/doxygen/Doxyfile.c++.internal
	tools/doxygen/Doxyfile.core
	tools/doxygen/Doxyfile.core.internal
2016-02-13 04:38:20 +01:00
Masood Malekghassemi 44753c39e1 Merge pull request #5237 from nicolasnoble/flagging-release-as-0_13_1-pre1
Flagging 0.13.1-pre1.
2016-02-12 18:51:47 -08:00
Masood Malekghassemi 99a4e9e867 Merge pull request #5230 from soltanmm/doc
Update Python doc
2016-02-12 16:47:15 -08:00
Nicolas "Pixel" Noble 6910ce8e01 Flagging 0.13.1-pre1. 2016-02-13 01:03:26 +01:00
Nicolas "Pixel" Noble 7a925f7f5e Flagging the release. 2016-02-13 00:39:12 +01:00
Masood Malekghassemi dfab11919e Update Python doc 2016-02-12 15:20:34 -08:00
Masood Malekghassemi f747409f6f Use precompiled extensions only 2016-02-12 13:45:37 -08:00
Masood Malekghassemi cd4358460d Bump Python version 2016-02-11 20:12:48 -08:00
Masood Malekghassemi dd6ee7af7e Truncate Python target triple 2016-02-11 20:08:49 -08:00
Craig Tiller eb841e2010 Revert "Revert "Proto API for LB request/responses"" 2016-02-11 15:49:16 -08:00
Craig Tiller c35e2c582f Revert "Proto API for LB request/responses" 2016-02-11 15:45:03 -08:00
Masood Malekghassemi b6d3a8238d Paper over custom command limitations
The custom gRPC bdist command depends on numerous undocumented and
private behaviors of setuptools, wheel, distutils, etc. One such is the
ordering of generated distribution targets. We paper over this under the
assumption that the command will only be useful for gRPC devs, and
document with a command description a contractual obligation of users of
the command.
2016-02-11 14:08:11 -08:00
Masood Malekghassemi 334e9e6fa2 Use wheels instead for custom bdists 2016-02-11 12:00:55 -08:00
Alistair Veitch 749250f6a0 merge to HEAD 2016-02-11 09:23:20 -08:00
David Garcia Quintas 742a783c0d Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-02-11 01:04:28 -08:00
Nicolas Noble 9c7961a014 Merge pull request #5165 from ctiller/bring_back_gpr
Bring back gpr
2016-02-10 17:39:45 -08:00
Craig Tiller f73429901a Merge github.com:grpc/grpc into sceq 2016-02-09 16:32:51 -08:00
Nathaniel Manista ecf8327b3d Merge pull request #5100 from nathanielmanistaatgoogle/python-grpc_set_ssl_roots_override_callback
grpc_set_ssl_roots_override_callback for Python.
2016-02-09 13:26:56 -08:00
Craig Tiller 1298afd10e Get compilation working again 2016-02-09 12:29:17 -08:00