summaryrefslogtreecommitdiff
path: root/lib/nodejs
Commit message (Collapse)AuthorAgeFilesLines
* clear retry timer first then emit close eventWu Jian Ping2022-10-251-1/+1
|
* fix reconnect issue for nodejsWu Jian Ping2022-10-251-6/+13
|
* Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging ↵Jens Geyer2022-09-052-4/+4
| | | | the partially completed uuid implementation to master
* Remove execute bit from plain text files in git (#2611)Christopher Tubbs2022-05-241-0/+0
| | | | | | | Trivially change file mode from 755 to 644 for files in git that shouldn't be marked as executable. These were probably marked as executable due to some contributors developing on Windows using a filesystem that doesn't support POSIX file modes, or aggressively marks everything as executable.
* Buffer.concat has performance issueWu Jian Ping2022-04-211-21/+16
|
* feat: support creating connection on OpenHarmonyOSkonpeki6222022-03-132-0/+265
|
* THRIFT-5185: Support for using WebSockets as a server transportpenenin2020-05-182-0/+8
| | | Client: cpp
* Rework NodeJS / Javascript consistency Mario Emmenlauer2020-04-247-27/+32
| | | | | | | Client: js * Re-worked consistency of browser.js and index.js in lib/nodejs * Wrap non-standard V8 method 'Error.captureStackTrace()'
* THRIFT-5109 Misc Cmake build improvementsMario Emmenlauer2020-04-222-0/+45
| | | | | | Patch: Mario Emmenlauer This closes #2094
* THRIFT-5163 adds Q to exports for browserifyMárton Csordás2020-04-031-0/+1
| | | | | | | Client: NodeJS Patch: Márton Csordás This closes #2061
* THRIFT-3356: handle undefined captureStackTraceMárton Csordás2020-04-035-7/+28
| | | | | | | Client: nodejs Patch: Márton Csordás This closes #2082
* CI broken, reverting following PRsJens Geyer2020-02-282-45/+0
| | | | | | reverted https://github.com/apache/thrift/pull/2025 reverted https://github.com/apache/thrift/pull/2026 Reverted https://github.com/apache/thrift/pull/2021
* make dist fails due to CMakeList.txt files missing from the generated tarballJens Geyer2020-02-261-0/+1
|
* THRIFT-5109 Misc Cmake build improvementsMario Emmenlauer2020-02-231-0/+44
| | | | | | | | Patch: Mario Emmenlauer This closes #2026 This closes #2025 This closes #2021
* THRIFT-5003: Websocket Connection in Browsers with nodejs codeEugen2020-01-073-18/+54
| | | | | | | | | | | | | | | * changed this to self in forEach callback * updated minimum node version to 8.16.2 (Maintenance LTS until December 2019) changed ws_connection.js to work in the browser, with isomorphic-ws added exports for `wsConnection`, `createWSConnection`, `createWSClient` * added exports for WSConnection to browser.js * extended the sample of nodejs code in the browser with webpack * tested and updated node version to LTS 10.18.0 Dubnium discussion based: https://github.com/apache/thrift/pull/1927#discussion_r358140463
* THRIFT-4994 changed this to self in forEach callbackEugen Kandakov2019-11-041-2/+2
| | | | | | | Client: nodejs Patch: Eugen Kandakov This closes #1918
* Add Node.js example for browsersHIRANO Satoshi2019-10-081-0/+41
| | | | | Client: js This closes #1864.
* THRIFT-4844: createConnection ignores connect_timeout optionfmalaguti2019-07-081-1/+5
|
* Implement episodic compilation for js code generationMustafa Senol Cosar2019-06-215-9/+191
|
* hotfix: clear the offline queue when once writtenHenrik Tudborg2019-05-141-8/+26
|
* [THRIFT-4771] add nodejs THeaderProtocol support (#1743)David Mai2019-02-2210-3/+698
| | | Client: nodejs
* THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)James E. King III2019-02-143-6/+0
| | | | | | | * THRIFT-4024: make c_glib throw on unsupported type when skipping * THRIFT-4783: throw on invalid skip (py) * THRIFT-4024: make cpp throw on unsupported type when skipping * THRIFT-4024: uniform skip behavior on unsupported type
* THRIFT-4405: fix cygwin on appveyorJames E. King III2019-02-011-3/+5
|
* THRIFT-4717: fix up make clean with autoconfJames E. King III2019-01-251-1/+1
|
* THRIFT-4675: Fix int64 constants generation for map keysMustafa Senol Cosar2019-01-251-0/+11
|
* THRIFT-4675: Generate Int64 constants for jsMustafa Senol Cosar2019-01-152-0/+84
|
* Fix: free useless timer邹异雄2019-01-051-0/+1
|
* Style: fix style邹异雄2019-01-051-1/+1
|
* Fix: do not reconnect if connection.destroyed, prevent connection leak邹异雄2019-01-051-0/+4
|
* THRIFT-4679: Remove unused variable declarationgriffinmichl2018-12-071-1/+0
|
* THRIFT-4653: ES6 classes support (#1615)bforbis2018-10-2811-742/+973
| | | | | | | * ES6 classes support * Lint generated code * ES6 Tests for NodeJS * Add eslint rules for nodejs * Run prettier/eslint on nodejs test code
* Thrift-4647: Node.js Filesever webroot fixed pathjfarrell2018-10-111-1/+9
| | | | | Updates the node.js fileserver to have a fixed based webroot which can not be escaped by end users.
* THRIFT-4604: NodeJS add Int64 to exports for browserify (#1573)Kevin Greene2018-08-011-0/+2
|
* THRIFT-3950: Memory leak while calling oneway methods (#1568)bforbis2018-07-171-2/+7
| | | | | * THRIFT-3950: Memory leak while calling oneway methods * THRIFT-3950: Update NodeJS Oneway tests
* THRIFT-4564: Reset buffered transport on serizliation errorsBrian Forbis2018-06-211-0/+8
|
* Add JS language highlighting in readme (#1538)Filip Spiridonov2018-04-171-19/+21
| | | Client: nodejs
* THRIFT-3926: Fix undeclared statusCode variable (#1531)Filip Spiridonov2018-04-061-3/+3
| | | Client: nodejs
* THRIFT-4489: Add unix domain socket support for nodejsDaniel Shih2018-03-215-18/+57
| | | | | | Client: nodejs This closes #1491
* THRIFT-4509: remove nodejs browser testPhilip Frank2018-03-082-59/+0
| | | | | | Client: nodejs This closes #1501
* THRIFT-4480 - Handle seqid = 0Brian Forbis2018-03-061-2/+3
| | | | | | Client: js This closes #1487
* THRIFT-4508: end trusty CI builds; handle nodejs 4.x LTS EOL; update docsJames E. King III2018-03-061-1/+1
|
* THRIFT-4443: Implement skip function in json_protocolKerri Devine2018-01-102-1/+75
| | | | | | Client: node.js This closes #1460
* THRIFT-2013: add multiplex server and client test support to cpp languageJames E. King, III2017-11-182-3/+3
| | | | | | | | | add multiplex client test support to csharp and java languages fix a bug in the server-side header protocol factory fix a bug in the cpp SSL server socket implementation remove unnecessary sleep in cpp server testOneway This closes #1414
* THRIFT-2998: enable cross test for nodejs http transport,James E. King, III2017-10-287-7/+112
| | | | | | | fix missing apache license headers in nodejs Client: nodejs This closes #1403
* THRIFT-2998: Set Content-Type for HTTP request in Node.js wrapper.stanevt2017-10-281-3/+6
| | | | | | Client: nodejs This closes #378
* THRIFT-4351: use travis build stages to optimize build,James E. King, III2017-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | avoiding duplicate rebuilds of the same image, and also allow personal docker hub repositories for private fork builds to be optimized. Move ubsan build to artful image because it catches more stuff and fix what was found. THRIFT-4345: solidify docker build strategy for maximum coverage: trusty, xenial, artful as stock as they can be THRIFT-4344: add top level language summary markdown and update readme with a new image on the layered architecture THRIFT-3847: remove VERSION macro from config.h which was causing a conflict on artful builds. THRIFT-4359: fix haxe map/set decode when key is binary, as a missing break statement caused it to use an int during decode This closes #1389
* THRIFT-4309: Python print() functioncclauss2017-09-241-2/+1
| | | | | | Client: py This closes #1339
* THRIFT-4288: Implement logging levels in node.js properlyEquim2017-09-238-31/+86
| | | | | | Client: nodejs This closes #1334
* THRIFT-4064: update node dependenciesJames E. King, III2017-09-212-2/+6
| | | | This closes #1359
* configure.ac, Makefile.am: introduce THRIFT variable to support ↵Thomas Petazzoni2017-09-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | cross-compilation The thrift build system currently assumes that the thrift compiler is always available in $(top_builddir)/compiler/cpp/thrift. However, in a cross-compilation context, this location contains the thrift compiler built for the target... which obviously will not run on the build machine. In order to support such cross-compilation situation, we introduce the THRIFT variable as a an argument for the configure script (using AC_ARG_VAR). If not specified, it defaults to the existing value of using compiler/cpp/thrift from the build directory, but it can be overridden when calling ./configure. Note that $(top_builddir) cannot be used within the configure script, so we simply use `pwd`, which is the same as the top_builddir. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> This closes #1336 This closes #1350