177 Commits

Author SHA1 Message Date
Michael Lumish
c669177532 Merge pull request #11309 from murgatroid99/master_1.3.x_upmerge
Master 1.3.x upmerge
2017-05-30 13:53:40 -07:00
murgatroid99
75cc7de627 Merge remote-tracking branch 'upstream/v1.3.x' into master_1.3.x_upmerge 2017-05-25 15:13:27 -07:00
murgatroid99
3d3dcf4791 Merge branch 'master' into node_api_docs 2017-05-23 10:34:54 -07:00
murgatroid99
5309a59a24 Refactor some code and document most of the API 2017-05-23 10:29:29 -07:00
Stanley Cheung
a336bda983 Fixed missed conflicts - use constants.logVerbosity instead 2017-05-17 23:15:45 -07:00
Stanley Cheung
d6e2e59b14 Upmerge from v1.3.x branch to master 2017-05-17 19:34:47 -07:00
murgatroid99
d82c77ef02 Change write callback to asynchronous to avoid recursion 2017-05-16 12:53:57 -07:00
murgatroid99
9538b3d5a9 Fix race between destroying call after status and handling write failure 2017-05-15 14:39:05 -07:00
murgatroid99
27836dadee Move gRPC constants to js file to include them in generated documentation 2017-05-10 16:24:05 -07:00
murgatroid99
5d21890b9d Switch 'apply' for 'call' in pass-through functions 2017-05-09 15:10:51 -07:00
murgatroid99
1120c75fb0 Refactor client logic into superclass with generic methods, improve documentation 2017-05-08 18:21:39 -07:00
murgatroid99
856c554198 Switch Protobuf.js dependency back to version 5 2017-05-02 14:01:35 -07:00
murgatroid99
f443ffd52b Correct use of ProtoBuf.js 6 message encoding API 2017-04-06 10:53:57 -07:00
murgatroid99
6924a20d4d Fix a couple of issues with the use of the Protobuf.js API 2017-04-04 16:58:05 -07:00
murgatroid99
2ecbbe055c Keep changes from #10093 2017-04-03 16:52:03 -07:00
murgatroid99
bac6f2a59a Fix serializer error handling, update ProtoBuf.js dependency 2017-04-03 16:03:58 -07:00
Michael Lumish
43851e59dd Merge branch 'master' into node_protobuf_js_6_upgrade 2017-03-24 13:51:47 -07:00
murgatroid99
4122a6ea16 Add enumsAsStrings option, as the original upgrade PR did 2017-03-23 18:00:09 -07:00
murgatroid99
4aaea2f16a Use new oneofs option in deserialize call 2017-03-21 18:21:05 -07:00
murgatroid99
d2baf4aa0a Improve ProtoBuf.js version heuristic, add tests for oneof decoding 2017-03-21 11:25:01 -07:00
murgatroid99
1a5a191211 Ensure arguments are validated before they are serialized, unskip some tests 2017-03-20 16:50:42 -07:00
murgatroid99
4a9346e332 Upgrade Node dependency on Protobuf.js to version 6 2017-03-17 13:13:05 -07:00
Michael Lumish
3899eb6305 Merge pull request #10093 from murgatroid99/node_server_method_name_flexibility
Node add service: allow exact match to name in proto file, improve error reporting
2017-03-13 09:54:20 -07:00
murgatroid99
626585e1b1 Node add service: allow exact match to name in proto file, improve error reporting 2017-03-10 09:44:44 -08:00
murgatroid99
f831f486d9 Change argument validation in Server#addService 2017-03-09 15:37:21 -08:00
murgatroid99
2d0d256bf4 Node: fix handling/propagation of server-side serialization errors 2017-02-02 13:37:36 -08:00
murgatroid99
0162490a67 Node: Validate arguments to addService, fix a couple of minor issues 2017-01-30 16:52:17 -08:00
Nathaniel Manista
b74d3422b1 v1.0.x → master upmerge
Manual changes:

 - Fixed use of Exception.message in _invalid_metadata_test.py

 - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb

 - Added "set -e" to generate_build_additions.sh
2016-12-16 23:48:52 +00:00
murgatroid99
6962aed6fa Make event order consistent, and make 'end' and 'error' mutually exclusive 2016-12-13 18:05:33 -08:00
murgatroid99
5c8df435fa Add missing return 2016-12-01 10:59:52 -08:00
murgatroid99
15d4875138 Also propagate serialization errors in unary server responses 2016-12-01 10:30:35 -08:00
murgatroid99
d0402e0093 Node: correctly bubble up errors caused by non-serializable writes 2016-11-29 18:16:57 -08:00
murgatroid99
9579512d35 Make Node library compatible with lodash 3 2016-11-14 10:43:26 -08:00
murgatroid99
22b2e81604 Merge remote-tracking branch 'upstream/v1.0.x' into v1.0.1_upmerge 2016-10-28 11:48:22 -07:00
murgatroid99
4159622a60 Add a libuv endpoint to the C core, for use in the Node library 2016-09-16 13:25:08 -07:00
murgatroid99
5ebba7b69a Update Node library dependencies and change deprecated function calls 2016-08-15 13:14:16 -07:00
murgatroid99
7ca38bd5b8 Fix error handling authentication errors with non-numeric error codes 2016-08-02 13:07:35 -07:00
murgatroid99
5fcc18197b Fix a memory leak in Node call credentials 2016-07-14 13:22:22 -07:00
murgatroid99
3a4027745f Direct additional log statement through custom logger 2016-06-20 11:03:15 -07:00
murgatroid99
7cb9ec1092 Minor change to common.js 2016-06-01 16:05:48 -07:00
murgatroid99
227e336e63 Allow Node users to set a custom logger and log verbosity. Defaults to existing core logger 2016-06-01 11:42:20 -07:00
Jan Tattermusch
fe44f92c7c Merge pull request #6322 from murgatroid99/node_service_default_method
Make Node servers warn instead of fail when a method is missing a handler
2016-04-28 18:34:40 -07:00
murgatroid99
6ad92b2399 Make Node servers warn instead of fail when a method is missing a handler 2016-04-27 14:55:13 -07:00
Dmitry Kovalev
849fcbadcd Fixing invalid usage of getProtobufServiceAttrs() function.
getProtobufServiceAttrs(service, options) must be called with 2 arguments.
2016-04-21 23:32:30 -07:00
Craig Tiller
789bed102e Update copyrights 2016-03-31 07:46:18 -07:00
Nicolas Noble
4b24af0d66 Merge pull request #5900 from murgatroid99/node_callback_convention
Follow Node's callback-last convention for client calls
2016-03-28 22:25:25 -07:00
murgatroid99
9f7a63ca21 Make option passing down to the client constructor more consistent 2016-03-28 12:46:42 -07:00
murgatroid99
a1c6f889b7 Fix Node status code usage to match spec 2016-03-23 15:36:51 -07:00
murgatroid99
2c2940227f Add option to use old client method argument order for now 2016-03-22 14:46:37 -07:00
murgatroid99
3b20f2f89b Follow Node's callback-last convention for client calls 2016-03-21 15:50:39 -07:00