Commit Graph

356 Commits

Author SHA1 Message Date
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
Craig Tiller da179ce598 Rollback gpr deletion 2016-02-09 12:01:53 -08:00
Nathaniel Manista fa6cad701c grpc_set_ssl_roots_override_callback for Python 2016-02-09 19:02:56 +00:00
David Garcia Quintas 7e46618897 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-02-08 20:07:19 -08:00
Nicolas "Pixel" Noble 1935c3655c Flagging master as 0.14.0-dev. 2016-02-09 01:54:56 +01:00
Nicolas "Pixel" Noble cda4bad582 Flagging 0.13 as pre1. 2016-02-09 00:44:23 +01:00
Nicolas Noble 824a0903a5 Merge pull request #5129 from ctiller/version_number
build.yaml centric versioning
2016-02-08 15:12:47 -08:00
Nathaniel Manista 757c157d86 Merge pull request #5134 from soltanmm/cleaners
Clean-up Python linux-binary installation.
2016-02-08 14:57:59 -08:00
Masood Malekghassemi 35afe4afaf Fall back to building if GCS cannot be reached 2016-02-08 14:51:31 -08:00
Masood Malekghassemi 6598ce16db Move os.environ to module-level 2016-02-08 14:51:04 -08:00
Alistair Veitch e28e426af5 Merge branch 'master' into base_log 2016-02-08 13:08:24 -08:00
Craig Tiller f008f067f8 build.yaml centric versioning 2016-02-08 12:48:03 -08:00
Masood Malekghassemi 064d37d380 Fix GCS URL for Python 2016-02-08 12:19:24 -08:00
Craig Tiller 55e813f946 Merge pull request #5088 from murgatroid99/core_long_int64_t
Replace 'long' with 'int64_t' in public core headers
2016-02-08 10:22:42 -08:00
Nicolas "Pixel" Noble 1be92658ef Versionning Ruby from build.yaml, and regenerating broken files after census merge. 2016-02-06 09:30:19 +01:00
Craig Tiller 5c04760d46 Change default on Python install option 2016-02-05 14:25:56 -08:00
Alistair Veitch ba6065f016 merge 2016-02-05 13:27:42 -08:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00
Masood Malekghassemi a7a50785be Don't die on missing win32 resources on non-win32 2016-02-04 14:21:09 -08:00
Masood Malekghassemi f751b0b549 Use envvar for binary repository 2016-02-04 14:21:09 -08:00
Bogdan Drutu e4fdcd9242 Merge pull request #5013 from a-veitch/tag_set_to_context
Change all instances of census_tag_set to census_context
2016-02-04 12:42:35 -08:00
Craig Tiller 411da52f1d Merge pull request #5064 from nicolasnoble/win32-python
Win32 python
2016-02-04 10:39:38 -08:00
Masood Malekghassemi 5260670e00 Merge pull request #4944 from soltanmm/patch
Clean up custom gRPC Python binaries for Linux
2016-02-04 10:30:24 -08:00
Masood Malekghassemi 10509a28c7 Fix Python Windows build 2016-02-04 17:18:18 +01:00
Masood Malekghassemi ab7055a0e7 Format a line 2016-02-04 17:18:18 +01:00
Nicolas "Pixel" Noble 7dc4b7099a Dirty hack to get 32 bits loading in the cython core. 2016-02-04 17:18:17 +01:00
Nicolas "Pixel" Noble e018f9f2e8 Almost there. 2016-02-04 17:18:17 +01:00
Masood Malekghassemi c9c53eeba5 Sundry fixes 2016-02-04 17:18:17 +01:00
Masood Malekghassemi df1e07e5c1 Add shim for Python's gRPC core on Windows 2016-02-04 17:18:11 +01:00
Alistair Veitch 6f2b8993fd merge 2016-02-03 09:02:46 -08:00
Alistair Veitch 85afe71d4c initial commit 2016-02-02 17:58:15 -08:00
Nicolas "Pixel" Noble 89d8ed1b91 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
Conflicts:
	BUILD
	Makefile
	binding.gyp
	build.yaml
	gRPC.podspec
	grpc.gemspec
	package.json
	src/python/grpcio/grpc_core_dependencies.py
	templates/Makefile.template
	tools/doxygen/Doxyfile.core.internal
	tools/run_tests/sources_and_headers.json
	vsprojects/vcxproj/gpr/gpr.vcxproj
	vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-02-03 01:27:46 +01:00
Alistair Veitch 75d5c0f024 post merge 2016-02-02 09:43:02 -08:00
Craig Tiller 841c726140 Merge github.com:grpc/grpc into sceq 2016-02-02 09:23:22 -08:00
Craig Tiller 4bef7cebe6 Use old memcpy for wrappers 2016-02-02 08:38:43 -08:00
Nicolas "Pixel" Noble 8382829f30 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable 2016-02-01 20:18:59 +01:00
Craig Tiller f09fb7e4b0 Merge pull request #4979 from nicolasnoble/win32_subprocess
Adding windows support for gpr subprocesses.
2016-02-01 07:35:10 -08:00
Craig Tiller cbc4629c52 Merge pull request #4978 from nicolasnoble/alarming
Fixing, using and testing alarm code.
2016-01-31 18:11:03 -08:00
Craig Tiller 9734b9c355 Merge pull request #4982 from nicolasnoble/census-placeholders
Creating placeholders for missing census functions.
2016-01-31 18:09:47 -08:00
Nicolas "Pixel" Noble cf37cb9f9e Merge branch 'census-placeholders' into make-ruby-installable
Conflicts:
	package.json
	tools/doxygen/Doxyfile.core.internal
2016-01-31 09:34:46 +01:00
Nicolas "Pixel" Noble fa132c2f56 Actually moving this to the proper place. 2016-01-31 09:31:15 +01:00
Nicolas "Pixel" Noble 78825caeeb Merge branch 'win32_subprocess' into make-ruby-installable
Conflicts:
	BUILD
	Makefile
	binding.gyp
	build.yaml
	gRPC.podspec
	grpc.gemspec
	src/python/grpcio/grpc_core_dependencies.py
	tools/run_tests/sources_and_headers.json
	vsprojects/vcxproj/gpr/gpr.vcxproj
	vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-01-31 07:08:20 +01:00
Nicolas "Pixel" Noble 4fba286e4d Adding windows support for gpr subprocesses. 2016-01-31 07:00:53 +01:00
Nicolas "Pixel" Noble bf192eff56 Merge branch 'alarming' into make-ruby-installable
Conflicts:
	tools/run_tests/sources_and_headers.json
2016-01-31 06:25:39 +01:00
Nicolas "Pixel" Noble d5d83aa33f Fixing, using and testing alarm code. 2016-01-31 06:21:49 +01:00
Masood Malekghassemi 5080909b4c Pass undiagnosed errors to the user unadulterated 2016-01-30 14:27:28 -08:00
Masood Malekghassemi 097070fe20 Diagnose missing Cython-generated files 2016-01-30 14:26:49 -08:00
Nicolas "Pixel" Noble 9d476392b7 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable 2016-01-30 21:43:00 +01:00
Nicolas "Pixel" Noble 09121799b0 Removing gpr as a separated library. 2016-01-30 09:34:22 +01:00
Masood Malekghassemi 62cc911188 Fix Python diagnostics dying on bad diagnosis 2016-01-28 14:56:40 -08:00
David Garcia Quintas fb01883859 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-28 14:39:54 -08:00
Craig Tiller 8c50db09b9 Merge github.com:grpc/grpc into sceq 2016-01-28 11:38:21 -08:00
Masood Malekghassemi ece40b263d Clean up custom gRPC Python binaries for Linux
Adds doc-string to EggNameMixin, renames the custom install flag to make
it a bit clearer that the mechanism isn't necessarily limited to linux
(though certainly we'd like it to be; but that's a decision to be made
at the level of the build system and what is made available on GCS, not
here).
2016-01-28 11:01:19 -08:00
Masood Malekghassemi 86363e540e Merge pull request #4884 from soltanmm/deal-with-it
Enable binary linux distributions for Python
2016-01-27 15:43:43 -08:00
Masood Malekghassemi 154b0eeaa9 Enable binary linux distributions for Python 2016-01-27 14:42:08 -08:00
Nathaniel Manista c1739ea842 Implement three missing face test methods 2016-01-27 18:50:40 +00:00
Nathaniel Manista 6e1dd9ad06 Fix reporting unexpected abortions in event tests
Writing "<format string containing one directive> % <expression>"
instead of "<format string containing one directive> % (<expression>,)"
is always a problem; the particular problem in this case came from
face.Abortion being a subclass of a class created with
collections.namedtuple.
2016-01-27 18:25:36 +00:00
Nathaniel Manista 8fff90d3a9 Drop use of functools.wrap in logging_pool
functools.wrap is only warranted to work with functions and methods but
logging_pool is warranted to work with callable behaviors, so using
functools.wrap has been wrong all along.

The particular incompatibility motivating this correction is that
callable objects do not have a "__name__" attribute.
2016-01-26 21:39:24 +00:00
Nathaniel Manista a847f51c94 Move parallel RPC code to correct test method
In 4a9b1c6988 I mistakenly added statements to test
test_constants.PARALLELISM RPCs made in parallel to the
testSequentialInvocations test method rather than the
testParallelInvocations test method. How embarrassing!
2016-01-26 21:20:58 +00:00
Masood Malekghassemi 5fec8b333a Add missing import
I have no idea how this mistake got through.
2016-01-25 16:16:50 -08:00
Masood Malekghassemi caf164ac54 Merge pull request #4821 from soltanmm/install-doctor
Add compiler error diagnostics to Python setup
2016-01-25 13:04:30 -08:00
Craig Tiller 8b052112f2 Merge github.com:grpc/grpc into sceq 2016-01-25 08:09:23 -08:00
Craig Tiller d8e6f8d4f5 Merge github.com:grpc/grpc into sceq 2016-01-22 19:24:23 -08:00
Masood Malekghassemi 0cc27920f8 Integrate zlib into Python distribution 2016-01-22 16:39:24 -08:00
Masood Malekghassemi 58a1dc2bb3 Add compiler error diagnostics to Python setup 2016-01-22 16:11:33 -08:00
Bogdan Drutu fc65bf07e6 Merge pull request #4750 from a-veitch/tag_set
Census Tag Set API and implementation
2016-01-22 15:34:34 -08:00
Nathaniel Manista ac9e1cbe3d Merge pull request #4830 from soltanmm/going-slightly-mad
Fix broken Python package builds.
2016-01-22 11:44:40 -08:00
Masood Malekghassemi 14a0a93c79 Fix broken Python package builds
I'd been incorrectly using indirection against Cython's build_ext
module.
2016-01-21 20:13:24 -08:00
Nathaniel Manista 4a9b1c6988 Fix a defect in RPC Framework Core
On the service-side, an operation isn't successfully completed with
just the conclusion of transmission to the other side; local ingestion
of the status and code must be completed as well before termination
callbacks are called.
2016-01-21 22:26:05 +00:00
David Garcia Quintas 12fc53f21f Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-20 15:42:17 -08:00
Nathaniel Manista be31d46865 A test of the Cython Channel
This exposes a bug somewhere in how channel connectivity events get
published on completion queues. Investigation remains active.
2016-01-20 00:01:34 +00:00
Craig Tiller b22aeae462 Merge github.com:grpc/grpc into sceq 2016-01-15 21:13:52 -08:00
Craig Tiller 694cf8b0d2 Shared subchannel sketch 2016-01-15 21:13:25 -08:00
Alistair Veitch 0923126cf8 Merge branch 'master' into tag_set 2016-01-15 17:57:56 -08:00
David Garcia Quintas aa9b01c7c0 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-15 14:19:17 -08:00
Craig Tiller 21c0ebf6d4 Merge pull request #4653 from murgatroid99/release-0_12_master_merge
Release 0 12 master merge
2016-01-14 12:47:37 -08:00
David Garcia Quintas 88447cbbad Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-14 11:38:21 -08:00
Masood Malekghassemi 1d17781795 Check compiler versions at Python setup time 2016-01-14 06:55:06 -08:00
Masood Malekghassemi 59994bcc3e Warn on Python proto module build failure 2016-01-14 06:55:06 -08:00
murgatroid99 a97b531d0f Generated projects again 2016-01-13 11:43:01 -08:00
Alistair Veitch 0f690721bd Move encode/decode API into census.h 2016-01-13 09:08:38 -08:00
David Garcia Quintas 23f28a9b2c Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-12 15:41:59 -08:00
David Garcia Quintas bcc6d0118b Updated grpc_core_dependencies.py 2016-01-12 10:49:43 -08:00
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Nathaniel Manista 4cdb6247a6 Merge pull request #4457 from soltanmm/plate-tectonics
Include core in Python distribution.
2016-01-12 08:26:52 -08:00
Masood Malekghassemi 387e116fd6 Use BoringSSL for Python gRPC 2016-01-11 11:32:42 -08:00
Masood Malekghassemi 6d2ef17f30 Use default gRPC roots.pem if none provided 2016-01-11 11:32:42 -08:00
Hyunjun Kim 34206222f0 Fix docstring typos in python grpc interfaces 2016-01-08 12:21:18 +09:00
Masood Malekghassemi 0467295ee6 Fail test build if protoc can't be found 2016-01-07 09:43:42 -08:00
Masood Malekghassemi 116982ea89 Include core in Python distribution 2016-01-07 09:43:42 -08:00
jboeuf bbb94bd6fc Merge pull request #4562 from ctiller/ints
Switch to using C99 types for fixed size integers
2016-01-06 12:50:53 -08:00
Masood Malekghassemi 8525354f4f Use stdint for Cython code 2016-01-04 15:46:08 -08:00
Nathaniel Manista 27f62432f5 Remove ceiling on required protobuf version
This is possible now that https://github.com/google/protobuf/issues/855
is fixed (or at least appears to be fixed).
2016-01-04 19:17:09 +00:00
Masood Malekghassemi f872c6aa9f Fix Python test timeouts
We've been assuming that the server upon invoking start was started.
This has been false; invoking start means that the server will
eventually be started, and to make this reliably observable requires
passing control to core.
2015-12-21 13:07:39 -08:00
Masood Malekghassemi 6b09780f1a Fix typo in Python test harness 2015-12-16 23:27:01 -08:00
Masood Malekghassemi b5a1806029 Python version bump 2015-12-14 18:42:26 -08:00
Craig Tiller 46ab778aa0 Merge pull request #4397 from jtattermusch/tv_sec_64bit
Make gpr_timespec platform agnostic.
2015-12-11 13:11:52 -08:00
Jan Tattermusch a6b2c4ce46 Get rid of SSL_CERT_FILE env entirely 2015-12-10 17:09:06 -08:00
Jan Tattermusch 88086373db make gpr_timespec platform agnostic 2015-12-10 15:04:59 -08:00
Masood Malekghassemi 0f1bf32387 Add metadata auth plugin API support 2015-12-07 17:10:55 -08:00