- May 28, 2015
-
-
Evan Lucas authored
Creates two new internal modules (child_process and socket_list) for better readability. Exposes the ChildProcess constructor from the child_process module so one can now `require(‘child_process’).ChildProcess` Fixes: https://github.com/nodejs/io.js/issues/1751 PR-URL: https://github.com/nodejs/io.js/pull/1760 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Evan Lucas authored
Required to make linting pass for using object literal shorthand properties. PR-URL: https://github.com/nodejs/io.js/pull/1760 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Rich Trott authored
Fixes: https://github.com/nodejs/io.js/issues/1797 PR-URL: https://github.com/nodejs/io.js/pull/1806 Reviewed-By:
<fishrock123@rocketmail.com>
-
Ben Noordhuis authored
Replace calls to fs.readFileSync() with an internal variant that does not create Error objects on failure and is a bit speedier in general. A secondary benefit is that it improves start-up times in the debugger because it no longer emits thousands of exception debug events. On a medium-sized application[0], this commit and its predecessor reduce start-up times from about 1.5s to 0.5s and reduce the number of start-up exceptions from ~6100 to 32, half of them internal to the application. [0] https://github.com/strongloop/loopback-sample-app PR-URL: https://github.com/nodejs/io.js/pull/1801 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Replace calls to fs.statSync() with an internal variant that does not create Error or Stat objects that put strain on the garbage collector. A secondary benefit is that it improves start-up times in the debugger because it no longer emits thousands of exception debug events. PR-URL: https://github.com/nodejs/io.js/pull/1801 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
- May 27, 2015
-
-
Steve Sharp authored
Fixes: https://github.com/nodejs/io.js/issues/999 PR-URL: https://github.com/nodejs/io.js/pull/1014 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- May 26, 2015
-
-
Ben Noordhuis authored
The JS source files in test/addons/doc-*/ are scraped from the reference documentation in doc/api and need not conform to the style guide. PR-URL: https://github.com/nodejs/io.js/pull/1793 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Commit 3e1b1dd4 ("Remove excessive copyright/license boilerplate") left in a few lines of boilerplate here and there. This commit removes them. PR-URL: https://github.com/nodejs/io.js/pull/1793 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
The non-isolate version of node::FatalException() is deprecated, switch to the version that takes an isolate as its first argument. PR-URL: https://github.com/nodejs/io.js/pull/1793 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Defer evaluation of the script for a tick. This is a workaround for events not firing when evaluating scripts on the command line with -e. Fixes: https://github.com/nodejs/io.js/issues/1600 PR-URL: https://github.com/nodejs/io.js/pull/1793 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Rich Trott authored
Fixes: https://github.com/nodejs/io.js/issues/1754 PR-URL: https://github.com/nodejs/io.js/pull/1775 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- May 25, 2015
-
-
Brian White authored
This commit removes unnecessary nextTick() closures and adds some shared nextTick() callbacks for better re-use. PR-URL: https://github.com/nodejs/io.js/pull/1612 Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Josh Gummersall authored
Explicitly states the fact that no decoding is performed on the url path or pathname or the query string by default in the URL module. Fixes: https://github.com/nodejs/io.js/issues/1538 PR-URL: https://github.com/nodejs/io.js/pull/1731 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Brian White authored
PR-URL: https://github.com/nodejs/io.js/pull/1572 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- May 24, 2015
-
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/io.js/pull/1782 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Rod Vagg authored
-
Rod Vagg authored
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/io.js/pull/1777 Notable Changes: * crypto: Diffie-Hellman key exchange (DHE) parameters ('dhparams') must now be 1024 bits or longer or an error will be thrown. A warning will also be printed to the console if you supply less than 2048 bits. See https://weakdh.org/ for further context on this security concern. (Shigeki Ohtsu) #1739. * node: A new --trace-sync-io command line flag will print a warning and a stack trace whenever a synchronous API is used. This can be used to track down synchronous calls that may be slowing down an application. (Trevor Norris) #1707. * node: To allow for chaining of methods, the setTimeout(), setKeepAlive(), setNoDelay(), ref() and unref() methods used in 'net', 'dgram', 'http', 'https' and 'tls' now return the current instance instead of undefined (Roman Reiss & Evan Lucas) #1699 #1768 #1779. * npm: Upgraded to v2.10.1, release notes can be found in https://github.com/npm/npm/releases/tag/v2.10.1 and https://github.com/npm/npm/releases/tag/v2.10.0. * util: A significant speed-up (in the order of 35%) for the common-case of a single string argument to util.format(), used by console.log() (Сковорода Никита Андреевич) #1749.
-
Bert Belder authored
The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe8 for more background. This commit is a combined squash of the following previous patches: ba93c583, 3bda6cbf, 0d6d3dda. PR-URL: https://github.com/nodejs/io.js/pull/1763 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
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>
-
Rebecca Turner authored
PR-URL: https://github.com/nodejs/io.js/pull/1763 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rod Vagg authored
Update AUTHORS list using tools/update-authors.sh PR-URL: https://github.com/nodejs/io.js/pull/1776 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Roman Reiss authored
Modifies the Socket.setNoDelay and Socket.setKeepAlive methods to return the socket instance instead of undefined, to allow for chaining. PR-URL: https://github.com/nodejs/io.js/pull/1779 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- May 23, 2015
-
-
Roman Reiss authored
Modifies the following methods to return the instance instead of undefined, to allow for chaining these methods: - net.Server.ref - net.Server.unref - net.Socket.ref - net.Socket.unref - dgram.Socket.ref - dgram.Socket.unref PR-URL: https://github.com/nodejs/io.js/pull/1768 Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Brendan Ashworth authored
Buffer.byteLength is important for speed because it is called whenever a new Buffer is created from a string. This commit optimizes Buffer.byteLength execution by: - moving base64 length calculation into JS-land, which is now much faster - remove redundant code and streamline the UTF8 length calculation It also adds a benchmark and better tests. PR-URL: https://github.com/nodejs/io.js/pull/1713 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Malte-Thorben Bruns authored
This fixes a race condition introduced in 80342f64. `socket.destroy(err)` only emits the passed error when `socket._writableState.errorEmitted === false`, `ssl.onerror` sets `errorEmitted = true` just before calling `socket.destroy()`. See: https://github.com/nodejs/io.js/issues/1119 See: https://github.com/nodejs/io.js/issues/1711 PR-URL: https://github.com/nodejs/io.js/pull/1769 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- May 22, 2015
-
-
Rich Trott authored
PR-URL: https://github.com/nodejs/io.js/pull/1755 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Maurice Butler authored
Made it obvious that path is ignored in url.format PR-URL: https://github.com/nodejs/io.js/pull/1753
-
Fedor Indutny authored
Emit errors using `.destroy(err)` instead of `.destroy()` and `.emit('error', err)`. Otherwise `close` event is emitted with the `error` argument set to `false`, even if the connection was torn down because of the error. See: https://github.com/nodejs/io.js/issues/1119 PR-URL: https://github.com/nodejs/io.js/pull/1711 Reviewed-By:Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- May 21, 2015
-
-
Johan Bergström authored
Improve detection and usage of pkg-config. This simplifies the setup of all our shared libraries. If pkg-config is installed on the host and `--shared` flags are passed by the user, we try to get defaults from pkg-config instead of using the default provided by configure. PR-URL: https://github.com/nodejs/io.js/pull/1603 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Сковорода Никита Андреевич authored
PR-URL: https://github.com/nodejs/io.js/pull/1749 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- May 20, 2015
-
-
Shigeki Ohtsu authored
DHE key lengths less than 1024bits is already weaken as pointed out in https://weakdh.org/ . 1024bits will not be safe in near future. We will extend this up to 2048bits somedays later. PR-URL: https://github.com/nodejs/io.js/pull/1739 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Felipe Batista authored
Reviewed-By:Roman Reiss <me@silverwind.io>
-
Rich Trott authored
Adds notes about the difference to their POSIX counterparts. PR-URL: https://github.com/nodejs/io.js/pull/1718 Fixes: https://github.com/nodejs/io.js/issues/224 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Michaël Zasso authored
PR-URL: https://github.com/nodejs/io.js/pull/1743 Fixes: https://github.com/nodejs/io.js/issues/1742 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Santiago Gimeno authored
Wait for all the data to be available in stderr before checking its contents. In FreeBSD this was failing because stderr data was being emitted in multiple chunks. 4 WARNINGS are printed instead of 2 for each sync call inside readFileSync. require('fs') does not print any trace. PR-URL: https://github.com/nodejs/io.js/pull/1734 Reviewed-By:Trevor Norris <trev.norris@gmail.com>
-
Roman Reiss authored
Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Evan Lucas authored
Remembers net.Socket options called before connect and retroactively applies them after the handle has been created. This change makes the following function calls more user-friendly: - setKeepAlive() - setNoDelay() - ref() - unref() Related: https://github.com/joyent/node/issues/7077 and https://github.com/joyent/node/issues/8572 Fixes: https://github.com/joyent/node/issues/7077 Fixes: https://github.com/joyent/node/issues/8572 PR-URL: https://github.com/nodejs/io.js/pull/1518 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
- May 19, 2015
-
-
Trevor Norris authored
Pass along the PROVIDER type, that is already passed to AsyncWrap, along to BaseObject to set the handle_'s class id. This will allow all Persistents to be transversed and uniquely identified by what type they are using APIs such as v8::PersistentHandleVisitor. PR-URL: https://github.com/nodejs/io.js/pull/1730 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sharat M R authored
This fixes building compiled addons with Visual Studio 2010. PR-URL: https://github.com/TooTallNate/node-gyp/pull/616 Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-