- Aug 05, 2015
-
-
Julien Gilli authored
V4MAPPED is not supported on recent FreeBSD versions, at least on 10.1. Thus, do not set this flag in net.connect on FreeBSD. Fixes: https://github.com/joyent/node/issues/8540 Fixes: https://github.com/joyent/node/issues/9204 PR-URL: https://github.com/joyent/node/pull/18204 PR-URL: https://github.com/iojs/io.js/pull/1555 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
This reverts commit 04bea9f9. PR-URL: https://github.com/iojs/io.js/pull/1555 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Michaël Zasso authored
PR-URL: https://github.com/iojs/io.js/pull/1701 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Chris Dickinson authored
* @indutny's SealHandleScope patch (484bebc38319fc7c622478037922ad73b2edcbf9) has been cherry picked onto the top of V8 to make it compile. * There's some test breakage in contextify. * This was merged at the request of the TC. PR-URL: https://github.com/iojs/io.js/pull/1632
-
Chris Dickinson authored
-
Sakthipriyan Vairamani authored
As per the discussion in https://github.com/nodejs/io.js/pull/2093#discussion_r34343965, this patch documents the behavior of calling fs.watchFile() with a path that does not yet exist. This patch also includes a test which checks if a file not present, the callback is invoked at least once and if the file is created after the callback is invoked, it will be invoked again with new stat objects. PR-URL: https://github.com/nodejs/io.js/pull/2169 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
- Aug 04, 2015
-
-
Sakthipriyan Vairamani authored
In REPL, if we evaluate the `RegExp` object's predefined properties, and if they happen to have the same expression, for example, > RegExp.$1 'RegExp.$1' then doing `eval(RegExp.$1)` would evaluate `RegExp.$1` recursively and eventually throw `RangeError: Maximum call stack size exceeded`. This patch stores the old values of `RegExp`'s predefined proprties in an array and restores them just before the current expression entered by user is evaluated. Fixes: https://github.com/nodejs/io.js/issues/597 PR-URL: https://github.com/nodejs/io.js/pull/2137 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
-
Sakthipriyan Vairamani authored
In my Ubuntu 14.04.2 LTS machine, it tries to resolve the name 'blah.blah' and it fails with ETIMEOUT instead of ENOTFOUND. This patch changes the hostname to "...", an invalid name, so that it will fail immediately. PR-URL: https://github.com/nodejs/io.js/pull/2287 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Sakthipriyan Vairamani authored
This is a followup of https://github.com/nodejs/io.js/pull/2109. The tests which didn't make it in #2109, are included in this patch. The skip messages are supposed to follow the format 1..0 # Skipped: [Actual reason why the test is skipped] and the tests should be skipped with the return statement. PR-URL: https://github.com/nodejs/io.js/pull/2290 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
- Aug 02, 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/2284 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- 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>
-