- Jul 04, 2015
-
-
Nathan Woltman authored
Improve performance by: + Not leaking the `arguments` object! + Getting the last character of a string by index, instead of with `.substr()` or `.slice()` Improve code consistency by: + Using `[]` instead of `.charAt()` where possible + Using a function declaration instead of a var declaration + Using `.slice()` with clearer arguments + Checking if `dir` is truthy in `win32.format` (added tests for this) Improve both by: + Making the reusable `trimArray()` function + Standardizing getting certain path statistics with the new `win32StatPath()` function PR-URL: https://github.com/nodejs/io.js/pull/1778 Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Rod Vagg authored
Update AUTHORS list using tools/update-authors.sh PR-URL: https://github.com/nodejs/io.js/pull/2100 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
James Hartig <fastest963@gmail.com>
-
Mark Plomer authored
See next commit for the actual fix. PR-URL: https://github.com/iojs/io.js/pull/1373 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Jeremiah Senkpiel authored
-
Jeremiah Senkpiel authored
Notable changes * deps: Fixed an out-of-band write in utf8 decoder. This is an important security update as it can be used to cause a denial of service attack.
-
Fedor Indutny authored
Originally reported by: Kris Reeves <kris.re@bbhmedia.com> Reviewed-By:Trevor Norris <trev.norris@gmail.com>
-
Benjamin Gruenbaum authored
Remove the suggestion to use domains for exception handling. Add clarity to "unhandledException". Fixes: https://github.com/nodejs/io.js/issues/2055 PR-URL: https://github.com/nodejs/io.js/pull/2056 Reviewed-By:
Trev Norris <trev.norris@gmail.com> Reviewed-By:
Chris Dickinson <chris@neversaw.us>
-
- Jul 03, 2015
-
-
Sakthipriyan Vairamani authored
Changes included in this commit are 1. Making the deprecation messages consistent. The messages will be in the following format x is deprecated. Use y instead. If there is no alternative for `x`, then the ` Use y instead.` part will not be there in the message. 2. All the internal deprecation messages are printed with the prefix `(node) `, except when the `--trace-deprecation` flag is set. Fixes: https://github.com/nodejs/io.js/issues/1883 PR-URL: https://github.com/nodejs/io.js/pull/1892 Reviewed-By:Roman Reiss <me@silverwind.io>
-
- Jul 02, 2015
-
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes build: - Added support for compiling with Microsoft Visual C++ 2015 - Started building and distributing headers-only tarballs along with binaries
-
Rich Trott authored
It's long past v0.3.0 and .break isn't going anywhere anytime soon. PR-URL: https://github.com/nodejs/io.js/pull/2081 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
- Jul 01, 2015
-
-
Evan Lucas authored
Fixes an edge case regression introduced in 1bef7174. With the lookup being skipped, an error could be emitted before an error listener has been added. An example of this was presented by changing the server’s IP address and then immediately making a request to the old address. Related: https://github.com/nodejs/io.js/pull/1823 PR-URL: https://github.com/nodejs/io.js/pull/2054 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Fedor Indutny authored
Queued write requests should be invoked on handle close, otherwise the "consumer" might be already destroyed when the write callbacks of the "consumed" handle will be invoked. Same applies to the shutdown requests. Make sure to "move" away socket from server to not break the `connections` counter in `net.js`. Otherwise it might not call `close` callback, or call it too early. Fix: https://github.com/iojs/io.js/issues/1696 PR-URL: https://github.com/nodejs/io.js/pull/1910 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Rich Trott authored
PR-URL: https://github.com/nodejs/io.js/pull/2071 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Jun 30, 2015
-
-
Shigeki Ohtsu authored
This issue has already submitted to the upstream in https://code.google.com/p/gyp/issues/detail?id=477 Use this commit until the upstream is to be fixed. PR-URL: https://github.com/iojs/io.js/pull/1325 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Includes improved support for VS 2015[0] and makes it possible to build with ninja again[1]. [0] https://codereview.chromium.org/1112753003 [1] https://codereview.chromium.org/1209553002 Fixes: https://github.com/nodejs/io.js/pull/2065 PR-URL: https://github.com/nodejs/io.js/pull/2074 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Rich Trott authored
In http_bench.js, allow the concurrent requests per client to be configurable. This also changes the launch of clients to wait until all forked servers are online. This eliminates spurious error messages at the start of the run. PR-URL: https://github.com/nodejs/io.js/pull/2068 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rich Trott authored
PR-URL: https://github.com/nodejs/io.js/pull/2067 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Roman Reiss authored
The rule was disabled because of an eslint bug which is now resolved. All code in lib was already conforming and only test code needed a few changes to make the linter happy with this rule enabled. Ref: https://github.com/eslint/eslint/issues/2408 PR-URL: https://github.com/nodejs/io.js/pull/2072 Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-by:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Alex Kocharin <alex@kocharin.ru>
-
Roman Reiss authored
PR-URL: https://github.com/nodejs/io.js/pull/2072 Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-by:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Alex Kocharin <alex@kocharin.ru>
-
- Jun 29, 2015
-
-
Ben Noordhuis authored
Original commit log follows: Meaningful name for builtins in JitCodeEvent API. Report builtins by name (e.g. "Builtin:ArgumentsAdaptorTrampoline") instead of labeling everything "Builtin:A builtin from the snapshot" Review URL: https://codereview.chromium.org/1216833002 PR-URL: https://github.com/nodejs/io.js/pull/2075 Reviewed-By:Trevor Norris <trev.norris@gmail.com>
-
- Jun 27, 2015
-
-
Shigeki Ohtsu authored
3beb8807 has a bug in VerifyCallback when preverify is 1 and the cert chain has an verify error. If the error is UNABLE_TO_GET_ISSUER_CERT_LOCALLY, it leads an assertion error in finding rootCA. The whitelist check should be made only when the cert chain has no verify error with X509_V_OK. Fixes: https://github.com/nodejs/io.js/issues/2061 PR-URL: https://github.com/nodejs/io.js/pull/2064 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Chris Dickinson authored
this opts for stream.push('') which has the same effect but uses a public API. PR-URL: https://github.com/nodejs/io.js/pull/454 Reviewed-By:Fedor Indutny <fedor.indutny@gmail.com>
-
- Jun 26, 2015
-
-
Evan Lucas authored
Prevent debug call from showing [object Object] for dnsopts in lookupAndConnect PR-URL: https://github.com/nodejs/io.js/pull/2059 Reviewed-by:
Colin Ihrig <cjihrig@gmail.com>
-
Trevor Norris authored
If an object's prototype is munged it's possible to bypass the instanceof check and cause the application to abort. Instead now use HasInstance() to verify that the object is a Buffer, and throw if not. This check will not work for JS only methods. So while the application won't abort, it also won't throw. In order to properly throw in all cases with toString() the JS optimization of checking that length is zero has been removed. In its place the native methods will now return early if a zero length string is detected. Ref: https://github.com/nodejs/io.js/pull/1486 Ref: https://github.com/nodejs/io.js/pull/1922 Fixes: https://github.com/nodejs/io.js/issues/1485 PR-URL: https://github.com/nodejs/io.js/pull/2012 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rich Trott authored
Tests in the disabled directory are not used by Makefile nor by the CI. Other than a single 2015 commit that puts 'use strict' in each test, many of them haven't been touched in years. This removes all the disabled tests that have been unmodified since 2011 (with the exception of the 'use strict' modification mentioned above). PR-URL: https://github.com/nodejs/io.js/pull/2045 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Rich Trott authored
PR-URL: https://github.com/nodejs/io.js/pull/2042 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Ben Noordhuis authored
Break up Buffer#toString() into a fast and slow path. The fast path optimizes for zero-length buffers and no-arg method invocation. The speedup for zero-length buffers is a satisfying 700%. The no-arg toString() operation gets faster by about 13% for a one-byte buffer. This change exploits the fact that most Buffer#toString() calls are plain no-arg method calls. Rewriting the method to take no arguments means a call doesn't go through an ArgumentsAdaptorTrampoline stack frame in the common case. PR-URL: https://github.com/nodejs/io.js/pull/2027 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Christian Tellnes <christian@tellnes.no> Reviewed-By:
Daniel Cousens <email@dcousens.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
cjihrig authored
test-repl-tab-complete.js contains numerous assertions that are never run. Anything that results in a ReferenceError bails out, and never calls the functions containing the assertions. This commit adds checking for successful tab completions, as well as ReferenceErrors. PR-URL: https://github.com/nodejs/io.js/pull/2052 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Julien Gilli authored
Fix the regexp used to detect 'Unexpected token' errors so that they can be considered as recoverable. This fixes the following use case: > var foo = 'bar \ ... baz'; undefined > foo 'bar baz' > Fixes: https://github.com/joyent/node/issues/8874 PR-URL: https://github.com/joyent/node/pull/8875 PR-URL: https://github.com/nodejs/io.js/pull/2052 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sangmin Yoon authored
Use vm.isContext() to properly identify contexts. PR-URL: https://github.com/joyent/node/pull/25382 PR-URL: https://github.com/nodejs/io.js/pull/2052 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jun 25, 2015
-
-
Ivan Yan authored
Refs: https://github.com/nodejs/io.js/pull/2050 PR-URL: https://github.com/nodejs/io.js/pull/2053 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Rod Vagg authored
to replace the full src download by node-gyp, using the proper format instead of the full source format PR-URL: https://github.com/nodejs/io.js/pull/1975 Reviewed-By:
William Blankenship <william.jblankenship@gmail.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Shigeki Ohtsu authored
On upgrading openssl, all symlinks in pulic header files are replaced with nested include files. The issue was raised that installing them leads to lost its references to real header files. To avoid this, all public header files are copied into the `deps/openssl/openssl/include/openssl/` directory. As a result, we have duplicated header files under `deps/openssl/openssl/` but copied files are refereed in build as specified to include path in openssl.gyp. Fixes: https://github.com/nodejs/io.js/pull/1975 PR-URL: https://github.com/nodejs/io.js/pull/2016 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/io.js/pull/1938 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Alexis Campailla <alexis@janeasystems.com>
-
Rich Trott authored
Instead of not running the dgram-bind-shared-ports on Windows, check that it gets ENOTSUP. PR-URL: https://github.com/nodejs/io.js/pull/2035 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/io.js/pull/2036 Reviewed-By:
Alexis Campailla <alexis@janeasystems.com>
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/io.js/pull/2036 Reviewed-By:
Alexis Campailla <alexis@janeasystems.com>
-
Alexis Campailla authored
vcbuild.bat calls python configure before setting GYP_MSVS_VERSION, so SelectVisualStudioVersion (tools\gyp\pylib\gyp\MSVSVersion.py) defaults to 'auto' and selects VS 2005. vcbuild sets the environment in the current shell, so this issue would manifest itself only on the first invocation of the script in any given shell windows. Reviewed-By:
Julien Gilli <jgilli@fastmail.fm> PR-URL: https://github.com/joyent/node/pull/20109
-
Jimmy Hsu authored
PR-URL: https://github.com/nodejs/io.js/pull/850 Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com>
-