- Feb 06, 2015
-
-
Vladimir Kurchatkin authored
All own enumerable properties are compared already. Comparing `prototype` property specifically can cause weird behaviour. PR-URL: https://github.com/iojs/io.js/pull/636 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Trevor Norris authored
The nullptr check for parent on entry to the constructor should be == not !=. This allows reqs that have a parent to run their own init hook callbacks even if kCallInitHook has been disabled.
-
Ben Noordhuis authored
The IPv6 test in parallel/test-dgram-error-message-address may fail when the host system has disabled IPv6, as is the case on our FreeBSD machines. The test already accepted EAFNOSUPPORT as of commit 5ba307a9, now make it accept EPROTONOSUPPORT as well. I'm not exactly thrilled by the profusion of error codes but they are all legitimate. PR-URL: https://github.com/iojs/io.js/pull/733 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
AsyncWrap should always properly propagate asynchronous calls to any child that is created. Regardless whether kCallInitHook is currently active. The previous logic would always return early if kCallInitHook wasn't set. PR-URL: https://github.com/iojs/io.js/pull/732 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Calvin Metcalf authored
Include mention of privateEncrypt and publicDecrypt in changelog. PR-URL: https://github.com/iojs/io.js/pull/722 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
Zach Bruggeman authored
This commit adds debug() calls to spawn() and spawnSync(), and attaches additional information to Error objects. Fixes: https://github.com/iojs/io.js/issues/720 PR-URL: https://github.com/iojs/io.js/pull/721 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
- Feb 05, 2015
-
-
Fedor Indutny authored
Methods like `X509_STORE_add_cert` may push errors onto OpenSSL's error stack. Ensure that they won't pop up in a different places like `tls_wrap.cc`. Fix: https://github.com/iojs/io.js/issues/712 PR-URL: https://github.com/iojs/io.js/pull/719 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sam Newman authored
Adds simplified constructor pattern, allowing users to provide "read", "write", "transform", "flush", and "writev" functions as stream options in lieu of subclassing. Semver: minor PR-URL: https://github.com/iojs/io.js/pull/697 Fixes: https://github.com/iojs/readable-stream/issues/102 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Brian White authored
Before this commit, only benchmark targets defined in Makefile could be used. This commit allows execution of common.js directly and passing of filter arguments directly, allowing you to run either a subset of benchmarks or a single specific benchmark for comparison. PR-URL: https://github.com/iojs/io.js/pull/711 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ben Noordhuis authored
Reduce the overhead of the CPU profiler by suppressing SIGPROF signals when sleeping / polling for events. Avoids unnecessary wakeups when the CPU profiler is active. The benefits are quite substantial on systems where it is expensive to query the system time (most virtualized environments). Before, it was common to see over 20% of wall clock time being spent on clock_gettime() system calls. PR: https://github.com/iojs/io.js/pull/466 Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
- Feb 04, 2015
-
-
Evan Lucas authored
When running benchmark/compare.js, it is typical to run a version of node that does not support template strings. This provides backwards compatibility for comparing benchmarks using older versions of node. PR-URL: https://github.com/iojs/io.js/pull/714 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Mikeal Rogers authored
This changes TC addition to a standard TC motion instead of requiring unanimous consent of all members. PR-URL: https://github.com/iojs/io.js/pull/677 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Chris Dickinson authored
PR-URL: https://github.com/iojs/io.js/pull/599 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Mikeal Rogers authored
-
Mikeal Rogers authored
-
Chris Dickinson authored
PR-URL: https://github.com/iojs/io.js/pull/710 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Rod Vagg authored
PR-URL: https://github.com/iojs/io.js/pull/699 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Chris Dickinson authored
-
Chris Dickinson authored
Notable changes: * debug: fix v8 post-mortem debugging. * crypto: publicEncrypt now supports password-protected private keys. * crypto: ~30% speedup on hashing functions. * errors - better formatting via util.inspect - more descriptive errors from fs. This necessitated a NODE_MODULE_VERSION bump. - more descriptive errors from http.setHeader * dep updates: - npm: upgrade to 2.4.1 - http-parser: rollback to 2.3.0 - libuv: update to 1.3.0 - v8: update to 4.1.0.14 * http.request: inherited properties on options are now respected * add iterable interface to buffers. * fs: fix fd leak on `fs.createReadStream`. See 497fd72e for details. * installer: on Windows, emit WM_SETTINGCHANGE after install to make other running processes aware of the PATH changes. * Added new collaborators: - Vladimir Kurchatkin (@vkurchatkin) - Micleușanu Nicu (@micnic) -
Rod Vagg authored
Also added binary download documentation to the README.md and GPG release key fingerprint for @rvagg. PR-URL: https://github.com/iojs/io.js/pull/681 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Fedor Indutny authored
Fix: iojs/io.js#461 PR-URL: https://github.com/iojs/io.js/pull/706 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Fedor Indutny authored
Fix: iojs/io.js#461 PR-URL: https://github.com/iojs/io.js/pull/706 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Fedor Indutny authored
Fix: iojs/io.js#461 PR-URL: https://github.com/iojs/io.js/pull/706 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Feb 03, 2015
-
-
Glen Keane authored
Fixes Windows compile failures introduced in d75fecf6 PR-URL: https://github.com/iojs/io.js/pull/703 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Jonathan Ong authored
PR-URL: https://github.com/iojs/io.js/pull/634 Reviewed-BY:
Nicu Micleușanu <micnic90@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com>
-
Brendan Ashworth authored
This commit cleans up `benchmark/common.js` with a few generic changes such as the following: - declare all `require()`'d libraries at the top instead of in the middle - add some empty whitespace where it helps readability - changes ambiguous variable names - standardizes most if / else blocks - missing semicolons PR-URL: https://github.com/iojs/io.js/pull/662 Reviewed-By:
Nicu Micleușanu <micnic90@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com>
-
Calvin Metcalf authored
Private keys may be used along with publicEncrypt since the private key includes the public one. This adds the ability to use encrypted private keys which previously threw an error. This commit also makes sure the user exposed functions have names. PR-URL: https://github.com/iojs/io.js/pull/626 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sam Roberts authored
When the last signal listener is removed, the signal wrap should be closed, restoring the default signal handling behaviour. This is done in a (patched) process.removeListener(). However, events.removeAllListeners has an optimization to avoid calling removeListener() if there are no listeners for the 'removeListener' event, introduced in 56668f54. That caused the following code to fail to terminate: process.stdin.resume(); function listener() {}; process.on('SIGINT', listener); process.removeAllListeners('SIGINT'); process.kill(process.pid, 'SIGINT') while the following will terminate: process.stdin.resume(); function listener() {}; process.on('SIGINT', listener); process.removeListener('SIGINT', listener); process.kill(process.pid, 'SIGINT') Replace the method patching with use of the 'newListener' and 'removeListener' events, which will fire no matter which methods are used to add or remove listeners. PR-URL: https://github.com/iojs/io.js/pull/687 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sam Roberts authored
The order of the `newListener` and `removeListener` events with respect to the actual adding and removing from the underlying listeners array should be deterministic. There is no compelling reason for leaving it indeterminate. Changing the ordering is likely to result in breaking code that was unwittingly relying on the current behaviour, and the indeterminancy makes it impossible to use these events to determine when the first or last listener is added for an event. PR-URL: https://github.com/iojs/io.js/pull/687 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Glen Keane authored
Removed DTRACE_NET_SOCKET_READ and DTRACE_NET_SOCKET_WRITE as they were never called from within the source code. PR-URL: https://github.com/iojs/io.js/pull/694 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/609 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/609 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
- Feb 01, 2015
-
-
cjihrig authored
Many of the util.is*() methods used to check data types simply compare against a single value or the result of typeof. This commit replaces calls to these methods with equivalent checks. This commit does not touch calls to the more complex methods (isRegExp(), isDate(), etc.). Fixes: https://github.com/iojs/io.js/issues/607 PR-URL: https://github.com/iojs/io.js/pull/647 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Bert Belder authored
* Fetch from the correct url. * Link compiled addons with iojs.lib instead of node.lib. * Disable checksum checks for iojs.lib until our website supports them. PR: https://github.com/iojs/io.js/pull/422 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Apply a small patch that makes node-gyp fetch the tarballs from https://iojs.org/ instead of http://nodejs.org/ A patch better suited for inclusion upstream will be put together shortly. PR-URL: https://github.com/iojs/io.js/pull/343 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Forrest L Norvell authored
PR-URL: https://github.com/iojs/io.js/pull/663 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 31, 2015
-
-
cjihrig authored
Currently, JSON.stringify() is used to create error messages on failed assertions. This causes an error when stringifying objects with circular references. This commit switches out JSON.stringify() for util.inspect(), which can handle circular references. PR-URL: https://github.com/iojs/io.js/pull/668 Reviewed-By:
Julien Gilli <julien.gilli@joyent.com> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Bert Belder authored
* Include a description for the error message * For rename, link, and symlink, include both the source and destination path in the error message. * Expose the destination path as the `dest` property on the error object. * Fix a bug where `ThrowUVException()` would incorrectly delegate to `Environment::TrowErrnoException()`. API impact: * Adds an extra overload for node::UVException() which takes 6 arguments. PR: https://github.com/iojs/io.js/pull/675 Fixes: https://github.com/iojs/io.js/issues/207 Closes: https://github.com/iojs/io.js/pull/293 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
A number -> uint32 type coercion bug made buffer sizes larger than kMaxLength (0x3fffffff) wrap around. Instead of rejecting the requested size with an exception, the constructor created a buffer with the wrong size. PR-URL: https://github.com/iojs/io.js/pull/657 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Sam Roberts authored
Server sockets should be shared by default, and client sockets should be exclusive by default. For net/TCP, this is how it is, for dgram/UDP, its a little less clear what a client socket is, but a socket that is auto-bound during a dgram.send() is not usefully shared among cluster workers, any more than an outgoing TCP connection would be usefully shared. Since implicit binds become exclusive, implicit/client dgram sockets can now be used with cluster on Windows. Before, neither explicit nor implicitly bound sockets could be used, causing dgram to be completely unsupported with cluster on Windows. After this change, they become half supported. PR: https://github.com/iojs/io.js/pull/325 PR: https://github.com/joyent/node/pull/8643 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-