Commit Graph

2486 Commits

Author SHA1 Message Date
Esun Kim cd27a36924 Regenerate projects 2019-06-18 15:40:50 -07:00
Lidi Zheng 3ab7332769
Merge pull request #19356 from lidizheng/i15880
Surface exceptions in gevent IO manager
2019-06-17 16:47:02 -07:00
Lidi Zheng e0a95c3267 Add more missing functions 2019-06-14 16:53:14 -07:00
Lidi Zheng 536765b2f3 Surface exceptions in gevent IO manager 2019-06-14 15:21:07 -07:00
Lidi Zheng a91728737a
Merge pull request #19292 from mehrdada/clean-del
Clean up Python Channel.__del__ logic
2019-06-11 11:16:30 -07:00
Mehrdad Afshari 9847c6364a Silence pylint 2019-06-10 23:31:51 +00:00
Mehrdad Afshari 45a0e5bd4f Clean up Channel.__del__ logic 2019-06-07 15:54:59 -07:00
Lily Li 195aae6cb5 add compatibility check badge to README 2019-06-06 16:34:48 -07:00
Lidi Zheng c0dd83e9a0 Add documentation about CallCredentials restriction 2019-06-04 11:12:23 -07:00
Lidi Zheng f6f7ef60c6
Merge pull request #19174 from lidizheng/expose-exception
Surface exception from metadata credentails plugin methods
2019-05-29 15:39:06 -07:00
Lidi Zheng d835d1bb1f Surface exception from metadata credentails plugin methods 2019-05-29 10:41:38 -07:00
Richard Belleville 0ebeb40718
Merge pull request #19084 from gnossen/python2-deprecation-notice
Add python deprecation notices.
2019-05-28 13:06:52 -07:00
Srini Polavarapu ec640a53c6 Merge pull request #19105 from gnossen/twine_check_artifacts
Produce Python Wheels with a Valid long_description field
2019-05-28 10:11:34 -07:00
Esun Kim 90fbdc92f5 Roll-forward "Config migration"
This reverts commit 236ae12bb1.
2019-05-20 15:47:24 -07:00
Richard Belleville 5d95bf037d Actually include README.rst in all packages 2019-05-20 14:21:25 -07:00
Richard Belleville cb9e2188ab Add python deprecation notices. 2019-05-20 13:05:37 -07:00
Lidi Zheng ebfed6ad7b
Merge pull request #19030 from mehrdada/unsubscribe_all
Unsubscribe all connectivity callbacks on Channel.close
2019-05-17 10:04:57 -07:00
murgatroid99 70e850a023 Merge branch 'master' into cares_windows_platform_detection 2019-05-14 17:41:25 -07:00
Mehrdad Afshari c7343ea03d Unsubscribe all connectivity callbacks on Channel.close 2019-05-14 16:30:57 -07:00
murgatroid99 7743130f64 Consolidate conditional localhost resolution into existing file 2019-05-14 15:26:56 -07:00
Alexander Polcyn 236ae12bb1 Revert "Config migration"
This reverts commit 87905ae5ea.
2019-05-14 14:36:33 -07:00
murgatroid99 90e52f00a1 Moved code back into one file with a #ifdef 2019-05-10 14:47:26 -07:00
murgatroid99 4b4006f833 libuv cares: scope manual localhost resolution to only Windows 2019-05-10 11:15:12 -07:00
Srini Polavarapu 6bc2ff1b5f Regenerate projects 2019-05-10 10:38:59 -07:00
Esun Kim 87905ae5ea Config migration 2019-05-09 12:29:38 -07:00
Esun Kim 0217450e2c Sanitized some sources 2019-05-03 10:05:32 -07:00
Michael Lumish 95a4a0ef76
Merge pull request #18809 from murgatroid99/cares_libuv
Add cares glue for libuv event loop
2019-05-02 13:43:52 -07:00
Richard Belleville 7809dee619
Merge pull request #18922 from grpc/revert-revert-due-to-unintentional-unrevert
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
2019-05-02 10:30:43 -07:00
Lidi Zheng f1dfe791ab
Merge pull request #18842 from lidizheng/respect-interval
Respect interval_us setting for TestServicer
2019-05-01 11:13:56 -07:00
Esun Kim 1518ecbd76 Added new configuration system to core/grp.
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.

Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.

* Migrated configuration

GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
2019-04-30 15:49:24 -07:00
Richard Belleville 930cec4e27 Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
This reverts commit c9a259aa3a, reversing
changes made to 9c882bc725.
2019-04-30 11:17:11 -07:00
Richard Belleville 50b5240d0a Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
This reverts commit 5b720f19c1, reversing
changes made to a64ae3c0d5.
2019-04-29 17:47:56 -07:00
Richard Belleville 5b720f19c1
Merge pull request #18859 from grpc/internal_py_proto_library
Remove dependency on pubref/rules_proto.
2019-04-29 14:59:15 -07:00
Lidi Zheng c864bea0c6 Move TestService to a separate file to simplify its dependency 2019-04-26 10:43:32 -07:00
Lidi Zheng 2268e49399
Merge pull request #18873 from lidizheng/fix-typo
Fix a small typo in Python health servicer test
2019-04-26 10:15:04 -07:00
Muxi Yan efbeb750ec
Merge pull request #18814 from muxi/fix-cfstream-build-yaml
Build system fix for default CFStream
2019-04-26 08:14:30 -07:00
Lidi Zheng ec76108df2 Fix a small typo in Python health servicer test 2019-04-25 17:09:19 -07:00
Richard Belleville afdc59712d Merge branch 'master' into internal_py_proto_library 2019-04-25 10:01:41 -07:00
Richard Belleville 05f37c8143 Remove dependency on pubref/rules_proto.
This commit resolves #18331.
This commit resolves #18256.
This commit resolves... another TODO that apparently didn't have an
associated github issue.

We swap out pubref's implementation of py_proto_library with our own,
which more closely mirrors the interface of the internal
py_proto_library, taking the descriptor file output of a proto_library
rule as input.

One minor change in behavior was introduced for simplicity. When a
py_proto_library depends on a proto_library with a source proto file in
a subdirectory of the bazel package, the import module of the resultant
python library will reflect the package, *not* the full directory of the
proto file, including both the bazel package and the subdirectories, as
pubref did previously. This behavior also more closely mirrors google
internal behavior.

This commit also introduces a slightly more stringent bazel format
script. Buildifier on its own will not take care of long lines, but by
running yapf first, we end up with a more legible file. At the moment,
there is no sanity check associated with this formatter.
2019-04-24 17:36:08 -07:00
Arjun Roy 8ce42f67b2 Shrink arena size by 40 bytes and add additional
alignment options (for cache-alignment).

We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.

We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.

We also cache-align created arenas.
2019-04-24 16:39:03 -07:00
Lidi Zheng 072fbc44a0 Respect interval_us setting for TestServicer 2019-04-23 16:37:51 -07:00
murgatroid99 dc1bcf8762 Consolidate helper function from windows and libuv 2019-04-22 17:31:55 -07:00
SataQiu bca4a6db2c fix some spellings mistakes 2019-04-21 11:07:21 +08:00
Muxi Yan 9e593f721f build system fix for default CFStream 2019-04-19 14:14:48 -07:00
murgatroid99 41871bf7de Add cares glue for libuv event loop 2019-04-18 17:08:51 -07:00
Lidi Zheng 362d022972
Merge pull request #18783 from lidizheng/fix-ctrl-c
Propagate KeyboardInterrupt above completion queue
2019-04-17 11:53:52 -07:00
Lidi Zheng 09d18aa659 Propagate KeyboardInterrupt above completion queue 2019-04-16 15:30:48 -07:00
Lidi Zheng 123fd943f1 Revert "Revert "Merge pull request #18547 from lidizheng/fix-gevent""
This reverts commit a922bd7a03.
2019-04-16 14:13:04 -07:00
Mark D. Roth 62d9be1533
Merge pull request #18631 from markdroth/pare_down_channel_args_api
Move functions for individual args out of channel_args.{h,cc}.
2019-04-16 07:11:33 -07:00
Richard Belleville a922bd7a03 Revert "Merge pull request #18547 from lidizheng/fix-gevent"
This reverts commit 09d1011663, reversing
changes made to e076a30f16.
2019-04-15 12:47:50 -07:00