Commit Graph

112 Commits

Author SHA1 Message Date
Tim Sebastian
fe3f33619e THRIFT-2994 Node.js TJSONProtocol cannot be used for object serialization
Client: Node.js
Patch: Tim Sebastian

This closes #379
2016-01-06 04:35:12 +09:00
Nobuaki Sukegawa
dfb6896436 THRIFT-3483 Incorrect empty binary handling introduced by THRIFT-3359
Client: C++, Node.js
Patch: Nobuaki Sukegawa

This closes #737
2015-12-11 00:19:09 +09:00
Nobuaki Sukegawa
f56b90772f THRIFT-3444 Large 64 bit Integer does not preserve value through Node.js JSONProtocol
Client: Node.js
Patch: Nobuaki Sukegawa

This closes #712
2015-12-02 02:03:59 +09:00
Nobuaki Sukegawa
8a4d06febe THRIFT-3409 NodeJS binary field issues
Client: Node.js
Patch: Nobuaki Sukegawa

This closes #681
2015-11-06 21:25:25 +09:00
Nobuaki Sukegawa
53349926e0 THRIFT-3407 Refill buffer when JSON closing bracket is missing
This closes #678
2015-11-05 00:10:27 +09:00
Randy Abernethy
983bf7de41 THRIFT-3373: cross test cleanup
Client: build, node, c_glib, cpp, hs, py, rb
Patch: Nobuaki Sukegawa

Github Pull Request:
This closes #641
commit 338f1a502961a4f63b0bd4b3dae4099062d6d17f
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-10-09T17:25:18Z
THRIFT-3373 Various fixes for cross test servers and clients
2015-10-09 12:28:57 -07:00
Jens Geyer
d629ea0bb2 THRIFT-3347 Improve cross test servers and clients
Client: TestSuite, C++, Perl, NodeJS, c_glib, Haskell, Python
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #621
2015-09-23 21:20:38 +02:00
Nobuaki Sukegawa
a649e7473b THRIFT-3337 Add testBool method to cross tests
This closes #611
2015-09-21 23:07:39 +02:00
jfarrell
f13e431bab THRIFT-3305: Missing dist files for 0.9.3 release candidate
Client: build
Patch: jfarrell

Adds missing files to dist
2015-08-25 00:39:29 -04:00
Henrique Mendonça
738143cf36 THRIFT-3293 JavaScript: null values turn into empty structs in constructor
Patch: Håkon Hitland
2015-08-16 19:17:33 +10:00
Itay Duvdevani
4ed2b855e9 THRIFT-3279 Fix a bug in retry_max_delay
The current max delay is unstable - when retry_delay == retry_max_delay the
second branch is taken, and retry_delay is set to retry_max_delay *
retry_backoff, which is larger than retry_max_delay.

This causes an oscillation between retry_max_delay and retry_max_delay *
retry_backoff.

This simply fixed it.
2015-07-30 23:55:34 +02:00
Itay Duvdevani
5445e3fdee THRIFT-3280 Initialize retry variables on construction
Currently retry variables are only initialized after a connection has been
successfully established. When the initial connection fails the retry logic is
broken since the state has not been properly initialized.

To solve this, we need to initialize the retry state before the initial
connect() request.
2015-07-30 23:53:23 +02:00
Andrew de Andrade
5e0f775262 THRIFT-3278 NodeJS: Fix exception stack traces and names 2015-07-30 14:27:15 +02:00
Henrique Mendonça
15d904240e THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Patch:  Igor Tkach

This closes #519
2015-06-25 22:31:41 +10:00
Henrique Mendonça
c0e4a8dc07 Revert "THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments"
This reverts commit 1568aef7d4.
2015-06-01 23:23:22 +10:00
Henrique Mendonça
1568aef7d4 THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Client: Node and JS
Patch: Igor Tkach

    This closes #476
2015-05-27 22:15:46 +10:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Simon Hürlimann (CyT)
b818185cf8 nodejs: Add main header to example README. 2015-04-07 22:59:12 +02:00
Simon Hürlimann (CyT)
d732321bed nodejs: Fix Markdown syntax for README. 2015-04-07 22:59:12 +02:00
Randy Abernethy
cada37008c THRIFT-3048: Repair node i64 compact interface
Client: Node lib
Patch: Will Demaine

Github Pull Request:

This closes #403
commit 11d0a661985cabe63c1dc1b47576bb2b2d6c2e54
Author: Willyham <willyd@uber.com>
Date: 2015-03-20T22:28:01Z
Make TCompactProtocol always return an object for i64
2015-03-26 16:03:08 -07:00
Roger Meier
41ad4342c5 THRIFT-847 Test Framework harmonization across all languages
THRIFT-2946 Enhance usability of cross test framework

Patch: Nobuaki Sukegawa

This closes: #358
2015-03-24 22:30:40 +01:00
Roger Meier
47accfc802 nodejs: fix typo 2015-03-24 21:01:46 +01:00
Randy Abernethy
bd60b92c6f THRIFT-3008: Node.js server does not fully support exceptions
Client: Node.js
Patch: Nobuaki Sukegawa

Github Pull Request:
This closes #382
commit 0c0d51ca1dafa5f8e0004563df780a92580590f3
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-02-22T16:49:22Z
THRIFT-3008 - Node.js server does not fully support exception
2015-02-26 16:59:14 -08:00
Randy Abernethy
d8187c5ff1 THRIFT-2976: add browserify support and tests
Client: nodejs
Patch: Andrew de Andrade
2015-02-16 01:25:53 -08:00
Randy Abernethy
3b9ff4de6e THRIFT-2969
Client: nodejs
Patch: Andrew de Andrade

General node test cleanup and consolidation.
2015-02-16 00:51:24 -08:00
Randy Abernethy
96f4f07beb THRIFT-2964: nodejs file breakout
Client: NodeJS
Patch: Andrew de Andrade

Moves protocols and transports (among others) into seperate files.
2015-02-10 02:29:15 -08:00
Konrad Grochowski
3bc6424c76 THRIFT-2724 - Coding standards template added all over project
Client: All
Patch: Konrad Grochowski

This closes #371
2015-02-05 12:15:19 +01:00
Randy Abernethy
a7270074d3 THRIFT-2932: Node.js Thrift connection libraries throw Exceptions into event emitter
Client: Nodejs
Patch: Tom Croucher and Andrew de Andrade

This commits a limited set of hunks from teh original patch.
2015-02-04 13:18:53 -08:00
Roger Meier
281bdae6b2 THRIFT-2940 nodejs: move package.json to root folder
fix make dist & co
2015-02-03 23:45:21 +01:00
Randy Abernethy
8e73137c27 THRIFT-2963: add code coverage to nodejs lib
Client: Node
Patch: Tom Croucher and Andrew de Andrade
2015-02-03 00:04:40 -08:00
Roger Meier
1abd746b9c THRIFT-2940 nodejs: move package.json to root folder 2015-02-02 21:59:38 +01:00
Randy Abernethy
97c4398c38 THRIFT-2963: repairs bad error refs and exceptions
Client: Nodejs
Patch: Tom Croucher

Repairs various error code blocks in nodejs TCompactProtocol
2015-02-02 06:51:25 -08:00
Randy Abernethy
cf743d7ac7 THRIFT-2959: reenable binary.test.js in testAll.sh
Client: Nodejs
Patch: Andrew de Andrade
2015-02-02 05:56:14 -08:00
Randy Abernethy
1097c40ed0 THRIFT-2934: make node server options optional
Client: Nodejs
Patch: Randy Abernethy
2015-02-02 05:18:59 -08:00
Randy Abernethy
4e1e132142 THRIFT-2933: Repairs incorrect double byte order in Node compact proto
Client Nodejs
Patch: Dan Heller
2015-02-02 04:43:23 -08:00
Konrad Grochowski
f9c4be80a5 line endings fix
git merge on linux can fail due to wrong line endings...
2015-01-09 11:32:26 +01:00
Jens Geyer
8bcfdd98ae THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby
Patch: Jens Geyer

This closes #341

Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed.
Not contained in this patch and still TODO:
- client side implementations, i.e. calls to testBinary() and appropriate tests
- server side hex printout missing for some languages
2015-01-03 17:37:54 +01:00
Jens Geyer
78c57e1720 THRIFT-2871 Missing semicolon in thrift.js
Client: NodeJS
Patch: Chi Vinh Le <cvl@chinet.info>

This closes #300

JSHint complains about missing semicolon. Might break older browser compatibility.
2014-12-02 21:22:04 +01:00
Randy Abernethy
878483759c THRIFT-2844:Add Browserify support to node
Client: Node
Patch Cameron Ring

Adds Node support for ArrayBuffer when run in Browser
under Browserify.
2014-12-02 05:42:00 -08:00
Konrad Grochowski
28d9315de8 THRIFT-2849: nodejs - some typos fixed
Client: Node.JS
Patch: Konrad Grochowski

codespell was trying to make wrong fix, so this had to be applied
manually
2014-11-24 11:36:20 +01:00
Konrad Grochowski
3b5dacba44 THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov

This closes #281
2014-11-24 10:55:31 +01:00
Randy Abernethy
9c0316bbf3 THRIFT-2831:Eliminates dead code in node web server
Clinet: Node
Patch: Chi Vinh Le

Github Pull Request: This closes #270
2014-11-18 12:11:31 -08:00
Randy Abernethy
2e091f681b THRIFT-2819
Client Node
Patch: Chi Vinh Le

Adds websocket client to Node with tests
2014-11-15 23:05:22 -08:00
Jens Geyer
565ea0c497 THRIFT-2818 Trailing commas in array
Client: Node.js
Patch: Chi Vinh Le

This closes #263
2014-11-14 21:29:19 +01:00
Randy Abernethy
1107b17ae4 THRIFT-2783:Prop bin encoding in node
Client: Node Lib
Patch: John Campbell

Fixes node web socket lib bin encoding propagation.
2014-10-11 13:42:31 -07:00
jfarrell
dabdf659ef THRIFT-2778 - nodejs build cleanup
Client: nodejs
Patch: jfarrell

nodejs test file cleanup
2014-10-08 23:41:47 -04:00
Roger Meier
25023b16eb THRIFT-809 Javascript client: Please make required fields actually required.
Patch: noazark

Github Pull Request: This closes #232
2014-10-09 02:01:17 +02:00
Jens Geyer
79f988c27a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Randy Abernethy
bd2fce6fa3 THRIFT-2751: repair node oneway bug and symlink issue
Client: Node Lib
Patch: Randy Abernethy

This patch keep npm from creating sym links on npm install.
Sym links fail when writting to some shared volumes.

Also fixes multiplex oneway bug in nodejs
2014-09-30 17:12:27 -07:00