Commit Graph

3012 Commits

Author SHA1 Message Date
murgatroid99 32c435a180 Add some tests for error cases for both clients 2018-08-30 11:07:14 -07:00
Nicolas Noble f840792b89
Merge pull request from nicolasnoble/submodule-to-1.15
Updating submodule to the upstream 1.15 branch.
2018-08-28 16:46:59 -07:00
Nicolas "Pixel" Noble dda0d05642 Updating submodule to the upstream 1.15 branch. 2018-08-29 01:45:51 +02:00
Michael Lumish 8ba6c591e5
Merge pull request from cjihrig/metadata-cleanup
grpc-js-core: metadata cleanup
2018-08-28 15:30:29 -07:00
cjihrig 2c75b64071
grpc-js-core: remove extra map() calls in fromHttp2Headers()
The extra map() calls added an extra loop over the arrays
just to trim() a string. This commit moves the trim() into
the forEach() and drops the map().
2018-08-28 17:21:07 -04:00
cjihrig b64ed1c18e
grpc-js-core: add missing space in error message
This commit adds a missing space to an error message and
updates a test to prevent regressions.
2018-08-28 17:20:32 -04:00
cjihrig 797bcbaffe
grpc-js-core: simplify regular expression usage
This commit moves two regular expressions out of the functions
they are used in, and defines them as constants. This commit
also switches from match() to test(), as a Boolean result is
all that's needed.
2018-08-28 17:20:31 -04:00
Michael Lumish d777e9312b
Merge pull request from cjihrig/buffer-depr
grpc-js-core: remove use of deprecated Buffer() constructor
2018-08-28 12:13:50 -07:00
Michael Lumish b13c8c1d82
Merge pull request from cjihrig/logger
grpc-js-core: implement setLogger() and setLogVerbosity()
2018-08-28 10:57:56 -07:00
Nicolas Noble 5d62c89115
Merge pull request from nicolasnoble/ignore-reports
Ignoring automated test reports.
2018-08-26 10:36:51 -07:00
cjihrig 6573e70ad4
grpc-js-core: implement setLogger() and setLogVerbosity()
These were missing from the pure JS implementation. This commit
adds them.
2018-08-26 11:50:33 -04:00
cjihrig 7528efbd32
grpc-js-core: remove use of deprecated Buffer() constructor
The Buffer() constructor should not be used. This commit
replaces its use in grpc-js-core tests with Buffer.from().
2018-08-25 11:32:14 -04:00
Michael Lumish 28cc8447c8
Merge pull request from murgatroid99/pure_js_creds_private_methods
Mark some methods of ChannelCredentials as internal
2018-08-24 10:04:02 -07:00
Nicolas "Pixel" Noble 4edd52fcec Ignoring automated test reports. 2018-08-24 03:45:59 +02:00
murgatroid99 8d37d2321e Mark some methods of ChannelCredentials as internal 2018-08-23 13:56:59 -07:00
Michael Lumish 93733081e7
Merge pull request from murgatroid99/pure_js_public_channel
Pure JS: Implement public Channel API
2018-08-23 13:28:42 -07:00
murgatroid99 89e47c84f7 Pure JS: Implement public Channel API 2018-08-22 18:06:01 -07:00
Michael Lumish bbddf3d103
Merge pull request from mvaldesdeleon/patch-1
Replaces `string` type with actual possible values
2018-08-21 10:14:43 -07:00
Michael Lumish 0ec9fed4bb
Merge pull request from murgatroid99/pure_js_channel_args_warning
Pure JS: add warnings for unhandled channel options
2018-08-20 13:48:14 -07:00
Michael Lumish 78ac67af24
Merge pull request from murgatroid99/v1.14_upmerge
V1.14 upmerge
2018-08-20 13:47:28 -07:00
murgatroid99 79d96a8e87 Remove forced version from local build.yaml 2018-08-17 15:51:23 -07:00
murgatroid99 41ac29ddd5 Upmerge 1.14 to master 2018-08-17 13:50:05 -07:00
Michael Lumish 545506fd70
Merge pull request from murgatroid99/submodule_update2
Update submodule to 1.15.0-dev
2018-08-17 13:46:26 -07:00
murgatroid99 128610da3d Update submodule to 1.15.0-dev 2018-08-17 12:40:33 -07:00
Michael Lumish 34802e5624
Merge pull request from murgatroid99/remove_extra_packaged_file
Fix some file includes in package.json
2018-08-17 08:51:26 -07:00
murgatroid99 a703493efe Fix some file includes in package.json 2018-08-16 15:41:06 -07:00
murgatroid99 0b945cc89f Pure JS: add warnings for unhandled channel options 2018-08-15 13:29:14 -07:00
Michael Lumish 8ce94a48ce
Merge pull request from murgatroid99/v1.14.1_bump
Bump to version 1.14.1
2018-08-15 13:13:41 -07:00
murgatroid99 29a24e0899 Bump to version 1.14.1 2018-08-15 11:11:14 -07:00
Michael Lumish 803e854a4d
Merge pull request from servel333/patch-1
properly pass `options` to `getDefaultValues`
2018-08-15 09:01:10 -07:00
Michael Lumish d8287bf92a
Merge pull request from kjin/v
Add return type definition to watchConnectivityState
2018-08-14 15:54:24 -07:00
Michael Lumish 65a921f5f4
Merge pull request from murgatroid99/pure_js_checkServerIdentity
Add checkServerIdentity callback to pure js library
2018-08-14 13:51:59 -07:00
Kelvin Jin 7720d068ca Add return type definition to watchConnectivityState 2018-08-14 10:29:53 -07:00
murgatroid99 b4fda0a153 Fix channel credentials tests 2018-08-13 17:16:36 -07:00
murgatroid99 ecb84dafb2 Fix switched condition in channel code 2018-08-13 17:01:28 -07:00
murgatroid99 94f059ae21 Add checkServerIdentity callback to pure js library 2018-08-13 15:57:21 -07:00
Michael Lumish 92f4367d62
Merge pull request from nicolasnoble/channel-unwrap-check
Fix potential segmentation fault.
2018-08-13 13:07:01 -07:00
Michael Lumish 6d520c522c
Propagate channel closed errors up through waitForReady
The errors thrown by `Channel#getConnectivityState` and `Channel#watchConnectivityState` need to be passed to the callback for `Client#waitForReady`.
2018-08-13 11:41:36 -07:00
Michael Lumish 17e6c5d1c9
Merge pull request from tomasAlabes/patch-1
Updated doc in readme.md
2018-08-13 11:33:10 -07:00
Nicolas "Pixel" Noble db291906fa Fix potential segmentation fault.
Described in .
2018-08-11 15:27:56 +02:00
Michael Lumish 7db315d094
Merge pull request from murgatroid99/v1.14.0_update
Update to v1.14.0
2018-08-10 09:43:12 -07:00
Michael Lumish 499ddebd1e
Merge pull request from murgatroid99/idempotent_gulp_setup
Make gulp setup idempotent
2018-08-09 16:40:26 -07:00
Michael Lumish 8288719065
Merge pull request from murgatroid99/package_comparison_documentation
Package comparison documentation
2018-08-09 16:16:23 -07:00
murgatroid99 936c38d7e2 Update to v1.14.0 2018-08-09 15:47:37 -07:00
Michael Lumish c5e7036da9
Merge pull request from murgatroid99/ts_defs_minor_fix
Fix typo in typescript definitions file
2018-08-09 15:44:59 -07:00
murgatroid99 de9832889e Make gulp setup idempotent 2018-08-09 13:17:20 -07:00
murgatroid99 40e5bb4a73 Fix typo in typescript definitions file 2018-08-09 11:42:43 -07:00
Michael Lumish 07d8bed4ed
Merge pull request from murgatroid99/v1.14.0-pre4_update
Bump to v1.14.0-pre4
2018-08-08 13:54:32 -07:00
murgatroid99 94d1b1264c Bump to v1.14.0-pre4 2018-08-08 11:39:51 -07:00
murgatroid99 ea8f4266bf Resolve some comments 2018-08-08 10:14:16 -07:00