- Jul 31, 2015
-
-
Sakthipriyan Vairamani authored
In the tests, we use "process.platform === 'win32'" in some places. This patch replaces them with the "common.isWindows" for consistency. PR-URL: https://github.com/nodejs/io.js/pull/2269 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ben Noordhuis authored
Add ref() and unref() stub methods to the faux handle in round-robin mode. Fixes the following TypeError when calling `server.unref()` in the worker: net.js:1521 this._handle.unref(); ^ TypeError: this._handle.unref is not a function at Server.unref (net.js:1521:18) No actual reference counting is implemented. It would effectively be a no-op because the control channel would still keep the worker alive. Fixes: https://github.com/nodejs/node/issues/73 PR-URL: https://github.com/nodejs/io.js/pull/2274 Reviewed-By:Evan Lucas <evanlucas@me.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Jul 30, 2015
-
-
Johan Bergström authored
In the TAP protocol, skips are flagged as ok. Expose more information so we can understand if the test was skipped or not. PR-URL: https://github.com/nodejs/io.js/pull/2130 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ali Ijaz Sheikh authored
This produces map files as part of the build on windows. The existence of these files enable profiling and tick-processing using the --prof command line. See: https://github.com/nodejs/io.js/pull/2090#issuecomment-124746673 Map files are documented here: https://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx PR-URL: https://github.com/nodejs/io.js/pull/2243 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jul 29, 2015
-
-
Ben Noordhuis authored
The tests were creating the temp fixture file in both the parent and the child process, leading to interesting race conditions on the slower buildbots. Rod notes that the tests started failing after putting the build directory on a NFS mount. Fixes: https://github.com/nodejs/io.js/issues/2261 PR-URL: https://github.com/nodejs/io.js/pull/2265 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Sakthipriyan Vairamani authored
There are so many buggy code out there, just because not inheriting properly from `EventEmitter`. This patch gives an official recommendation. PR-URL: https://github.com/nodejs/io.js/pull/2168 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
Sam Roberts authored
Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/io.js/pull/1025
-
Sam Roberts authored
Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/io.js/pull/1025
-
- Jul 28, 2015
-
-
cjihrig authored
PR-URL: https://github.com/nodejs/io.js/pull/2239
-
cjihrig authored
Notable changes * **https**: TLS sessions in Agent are reused (Fedor Indutny) https://github.com/nodejs/io.js/pull/2228. * **src**: base64 decoding is now 50% faster (Ben Noordhuis) https://github.com/nodejs/io.js/pull/2193. * **npm**: Upgraded to v2.13.2, release notes can be found in <https://github.com/npm/npm/releases/tag/v2.13.2> (Kat Marchán) https://github.com/nodejs/io.js/pull/2241. PR-URL: https://github.com/nodejs/io.js/issues/2239
-
Ali Ijaz Sheikh authored
We need the debug context to be able to inspect promises. However, this is very expensive and should not be done on default startup. PR-URL: https://github.com/nodejs/io.js/pull/2248 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Christopher Monsanto <chris@monsan.to> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Rich Trott authored
PR-URL: https://github.com/nodejs/io.js/pull/2057 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Record the start time so we can make the return value of Timer.now() relative to it, increasing the chances that it fits in a tagged integer instead of a heap-allocated double, at least for the first one or two billion milliseconds. PR-URL: https://github.com/nodejs/io.js/pull/2256 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
PR-URL: https://github.com/nodejs/io.js/pull/2256 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
PR-URL: https://github.com/nodejs/io.js/pull/2256 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
PR-URL: https://github.com/nodejs/io.js/pull/2256 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Evan Lucas authored
Fixes regression introduced in af249fa8. With connect being deferred to the next tick, Socket.destroy could be called before connect. Socket.destroy sets _connecting to false which would cause an assertion error. Fixes: https://github.com/nodejs/io.js/issues/2250 PR-URL: https://github.com/nodejs/io.js/pull/2251 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Fedor Indutny authored
Fix: #1499 PR-URL: https://github.com/nodejs/io.js/pull/2228 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Sakthipriyan Vairamani authored
PR-URL: https://github.com/nodejs/io.js/pull/2226 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Trevor Norris authored
These two lines exist because of a screw up on my part while combining MakeCallback() and MakeDomainCallback(). The reason it never broke core tests is because any paths it would have broken were rerouted to AsyncWrap::MakeCallback(). The only case that node::MakeCallback() handles anymore is setImmediate(). Fix: a1da024c "node, async-wrap: remove MakeDomainCallback" PR-URL: https://github.com/nodejs/io.js/pull/2157 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Jul 27, 2015
-
-
Nathan Woltman authored
As a follow-up to 0d15161c, this commit adds benchmarks for the rest of the path functions and also forces V8 to optimize the functions before starting the benchmark test. PR-URL: https://github.com/nodejs/io.js/pull/2103 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
- Jul 26, 2015
-
-
Ben Noordhuis authored
parallel/test-buffer called `Buffer.prototype.toString()` on a buffer with uninitialized memory. Call `Buffer.prototype.fill()` on it first. PR-URL: https://github.com/nodejs/io.js/pull/2193 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Make the inner loop execute fewer compare-and-branch executions per processed byte, resulting in a 50% or more speedup. This coincidentally fixes an out-of-bounds read: while (unbase64(*src) < 0 && src < srcEnd) Should have read: while (src < srcEnd && unbase64(*src) < 0) But this commit removes the offending code altogether. Fixes: https://github.com/nodejs/io.js/issues/2166 PR-URL: https://github.com/nodejs/io.js/pull/2193 Reviewed-By:Trevor Norris <trev.norris@gmail.com>
-
- Jul 25, 2015
-
-
Bert Belder authored
The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe8 for more background. PR-URL: https://github.com/iojs/io.js/pull/1433 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
Every npm version bump requires a few patches to be floated on node-gyp for io.js compatibility. These patches are found in 03d19927, 5de334c2, and da730c76. This commit squashes them into a single commit. PR-URL: https://github.com/iojs/io.js/pull/990 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Kat Marchán authored
PR-URL: https://github.com/nodejs/io.js/pull/2241 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Jeremiah Senkpiel authored
PR-URL: https://github.com/nodejs/io.js/pull/1984 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Sakthipriyan Vairamani authored
In REPL, if we try to evaluate an empty line, we get `undefined`. > process.version 'v2.3.4' > undefined > undefined > This patch prevents `undefined` from printing if the string is empty. > process.version 'v2.3.5-pre' > > > PR-URL: https://github.com/nodejs/io.js/pull/2163 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Sakthipriyan Vairamani authored
As it is, REPL doesn't honour the line continuation feature very well. This patch 1. keeps track of the beginning of the string literals and if they don't end or current line doesn't end with line continuation, then error out. 2. monitors if the line continuation character is used without the string literal and errors out if that happens. PR-URL: https://github.com/nodejs/io.js/pull/2163 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Sakthipriyan Vairamani authored
When an inherited property is used as a REPL keyword, the REPL crashes. ➜ Desktop iojs > process.version 'v2.3.4' > .toString readline.js:913 stream[ESCAPE_DECODER].next(r[i]); ^ TypeError: Cannot read property 'call' of undefined at REPLServer.parseREPLKeyword (repl.js:746:15) at REPLServer.<anonymous> (repl.js:284:16) at emitOne (events.js:77:13) at REPLServer.emit (events.js:169:7) at REPLServer.Interface._onLine (readline.js:210:10) at REPLServer.Interface._line (readline.js:549:8) at REPLServer.Interface._ttyWrite (readline.js:826:14) at ReadStream.onkeypress (readline.js:105:10) at emitTwo (events.js:87:13) at ReadStream.emit (events.js:172:7) ➜ Desktop This patch makes the internal `commands` object inherit from `null` so that there will be no inherited properties. > process.version 'v2.3.5-pre' > .toString Invalid REPL keyword > PR-URL: https://github.com/nodejs/io.js/pull/2163 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Sakthipriyan Vairamani authored
When an invalid REPL keyword is used, we actually print `undefined` as well in the console. > process.version 'v2.3.4' > .invalid_repl_command Invalid REPL keyword undefined > This patch prevents printing `undefined` in this case. > process.version 'v2.3.5-pre' > .invalid_repl_command Invalid REPL keyword > PR-URL: https://github.com/nodejs/io.js/pull/2163 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
cjihrig authored
PR-URL: https://github.com/nodejs/io.js/pull/2217 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Sakthipriyan Vairamani authored
See: https://github.com/nodejs/io.js/issues/1798 When an Object is printed in REPL, the actual representation can be overriden by defining `inspect` method on the objects. This patch includes a note about the same in the REPL documentation. PR-URL: https://github.com/nodejs/io.js/pull/2142 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
Ali Ijaz Sheikh authored
Picks up the latest patch-release on the V8 4.2 branch. https://codereview.chromium.org/1156323004 PR-URL: https://github.com/nodejs/io.js/issues/2238 Fixes: https://github.com/nodejs/io.js/issues/2235 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jul 24, 2015
-
-
Jeremiah Senkpiel authored
Fixes: https://github.com/nodejs/io.js/issues/2219 PR-URL: https://github.com/nodejs/io.js/pull/2231 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
Sam Roberts authored
For consistency with the worker 'exit', 'online', 'disconnect', and 'listening' events which are emitted on worker and cluster, also emit 'message' on cluster. Reviewed-by:
Sam Roberts <vieuxtech@gmail.com> Reviewed-by:
Christian Tellnes <christian@tellnes.no> Reviewed-by:
Stephen Belanger <admin@stephenbelanger.com> PR-URL: https://github.com/nodejs/io.js/pull/861
-
Fedor Indutny authored
Introduce two new APIs for getting/settings the TLS Server Ticket Keys. Fix: #1465 PR-URL: https://github.com/nodejs/io.js/pull/2227 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Yosuke Furukawa authored
PR-URL: https://github.com/nodejs/io.js/pull/2214 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
- Jul 23, 2015
-
-
Fedor Indutny authored
`onselect` is set on the `sniObject_` not on the `Connection` instance. See: https://github.com/joyent/node/pull/25109 PR-URL: https://github.com/nodejs/io.js/pull/1720 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sakthipriyan Vairamani authored
Refer: https://github.com/joyent/node/pull/25670 PR-URL: https://github.com/nodejs/io.js/pull/2172 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-