- Oct 12, 2015
-
-
Rich Trott authored
common does not need util properties anymore. Remove them. PR-URL: https://github.com/nodejs/node/pull/3304 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Brian White authored
If a pipe is cleaned up (due to unpipe) during a write that returned false, the source stream can get stuck in a paused state. Fixes: https://github.com/nodejs/node/issues/2323 PR-URL: https://github.com/nodejs/node/pull/2325 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
David Boivin authored
The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing. The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors) uses the assert module in an efficient way to validate required function arguments. PR-URL: https://github.com/nodejs/node/pull/2799 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
reggi authored
PR-URL: https://github.com/nodejs/node/pull/3291 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
- Oct 11, 2015
-
-
Roman Klauke authored
The node-gyp is now in the nodejs/node-gyp. This commit replaces the repository owner link with the new nodejs/node-gyp link. PR-URL: https://github.com/nodejs/node/pull/3320 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
Rich Trott authored
Fixes a persistently troublesome failing test by splitting it out into multiple parallel tests. Reviewed By: Evan Lucas <evanlucas@me.com> Reviewed By: Trevor Norris <trev.norris@gmail.com> Reviewed By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/3287
-
Balázs Galambosi authored
Fixes: https://github.com/nodejs/node/issues/3313 PR-URL: https://github.com/nodejs/node/pull/3314 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Karl Skomski authored
On Big Endian platforms v8 strings are need to converted to Little Endian before searching in utf16le buffer Fixes: https://github.com/nodejs/node/issues/3283 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Michael Dawson <mhdawson@ca.ibm.com> PR-URL: https://github.com/nodejs/node/pull/3295
-
- Oct 10, 2015
-
-
Kat Marchán authored
PR-URL: https://github.com/nodejs/node/pull/3299 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rich Trott authored
test-sys.js tests common.inspect() (which is test-specific code) and not sys (which, although deprecated, should still be tested). This commit moves the tests to the not-deprecated util and adds a test to check that deprecated sys and util are the same. PR-URL: https://github.com/nodejs/node/pull/3256 Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Trevor Norris authored
Accessing prototype properties directly on a typed array will throw. So do an extra check in Buffer's own getters to verify it is being called on an instance. Fixes: https://github.com/nodejs/node/issues/3297 PR-URL: https://github.com/nodejs/node/pull/3302 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Jason Karns authored
Instead of recommending `0` as the magic value to set max listeners to unlimited, recommend `Infinity`. This paves the way for `0` as a magic value eventually being deprecated and finally removed. PR-URL: https://github.com/nodejs/node/pull/2559 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Dave Hodder authored
PR-URL: https://github.com/nodejs/node/pull/3285 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Alejandro Oviedo authored
Added links to referenced methods. PR-URL: https://github.com/nodejs/node/pull/3186 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Alejandro Oviedo authored
Added links to referenced methods. PR-URL: https://github.com/nodejs/node/pull/3196 Reviewed-By:
Roman Reiss <me@silverwind.io>>
-
- Oct 09, 2015
-
-
Rich Trott authored
common.inspect() is just util.inspect(). common copies every property from util but this is the only one that gets used and it only gets used in three places. Well, four, but the fourth is removed in a pending PR. This commit removes it. Subsequently, the "copy util to common" part of `common` can be removed altogether. PR-URL: https://github.com/nodejs/node/pull/3257 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Rich Trott authored
common.PIPE resides in the temp directory (except on Windows). Insure that the temp directory is refreshed in tests that use common.PIPE. PR-URL: https://github.com/nodejs/node/pull/3231 Fixes: https://github.com/nodejs/node/issues/3227 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Rich Trott authored
Deprecate _linklist and add test to confirm internal linklist and public _linklist are the same. PR-URL: https://github.com/nodejs/node/pull/3078 Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Steven R. Loomis authored
* ICU 56 was just released yesterday. Update to it. * Notable changes: Unicode 8, CLDR 28, 2-3x number format perf, 20% improvement in Collator startup * more at http://site.icu-project.org/download/56 or in #2917 Also: * cleanup out/**/*.d and deps/icu on "make clean" * cleanup deps/icu on "vcbuild clean" When building from an non-clean directory, it's important to run `make clean` or `vcbuild clean` to remove the existing ICU 55 from the deps path before building. Fixes: https://github.com/nodejs/node/issues/2917 PR-URL: https://github.com/nodejs/node/pull/3281 Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Junliang Yan authored
Fix intermittent test failure on slower machines. Gives test longer time to complete but checks at regular intervals so that the test only runs longer on slower machines or in the failure case. PR-URL: https://github.com/nodejs/node/pull/3218 Fixes: https://github.com/nodejs/node/issues/3215 Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By:
James Snell <jasnell@gmail.com>>
-
Trevor Norris authored
Attempting to check IsAlive() on a JSStream before the isAlive() callback can be set in JS causes a CHECK to fail in MakeCallback. Instead return false if the callback hasn't been set. PR-URL: https://github.com/nodejs/node/pull/3282 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com>
-
Ben Noordhuis authored
`x instanceof f` where f is an arrow function throws a (spec-conforming) "Function has non-object prototype 'undefined' in instanceof check" exception. Add a workaround so that it's possible to pass arrow functions as the second argument to assert.throws(). The try/catch block is a little jarring but swapping around the clauses in the if statements changes the semantics too much. Fixes: https://github.com/nodejs/node/issues/3275 PR-URL: https://github.com/nodejs/node/pull/3276 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Karl Skomski authored
PR-URL: https://github.com/nodejs/node/pull/3049 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Oct 08, 2015
-
-
Junliang Yan authored
Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com> PR-URL: https://github.com/nodejs/node/pull/3190
-
Johan Bergström authored
This makes it easier to store icu tarballs outside of the node.js directory which is useful in our CI where git directories are scrubbed between runs. PR-URL: https://github.com/nodejs/node/pull/3200 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Doug Shamoo authored
Direct help requests and technical issues that are not issues with Node.js to the nodejs help repo issue tracker. Add link. PR-URL: https://github.com/nodejs/node/pull/3233 Fixes: https://github.com/nodejs/node/issues/3185 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Karl Skomski authored
Adds the string search implementation from v8 which uses naive search if pattern length < 8 or to a specific badness then uses Boyer-Moore-Horspool Added benchmark shows the expected improvements Added option to use ucs2 encoding with Buffer::IndexOf Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/node/pull/2539
-
Trevor Norris authored
Previous logic didn't allow parent to propagate to the init callback properly. The fix now allows the init callback to be called and receive the parent if: - async wrap callbacks are enabled and parent exists - the init callback has been called on the parent and an init callback exists then it will be called regardless of whether async wrap callbacks are disabled. Change the init/pre/post callback checks to see if it has been properly set. This allows removal of the Environment "using_asyncwrap" variable. Pass Isolate to a TryCatch instance. Fixes: https://github.com/nodejs/node/issues/2986 PR-URL: https://github.com/nodejs/node/pull/3216 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Roman Reiss authored
Using TLS session resumption correctly is not obvious. This added example code should help new users understand how to use it correctly. Related issue: https://github.com/nodejs/node/issues/3132 PR-URL: https://github.com/nodejs/node/pull/3147 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com>
-
Jérémy Lal authored
Fixes: https://github.com/nodejs/node/issues/2942 PR-URL: https://github.com/nodejs/node/pull/3228 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
Rich Trott authored
common.error() is just deprecated util.error() renamed. Remove calls to it and some other extraneous console logging in tests. PR-URL: https://github.com/nodejs/node/pull/3079 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Oct 07, 2015
-
-
Ali Ijaz Sheikh authored
This reverts commit 6fff47ff as it is causing issues in upstream: https://codereview.chromium.org/1390923004/ PR-URL: https://github.com/nodejs/node/pull/3237 Reviewed-By:
targos - Michaël Zasso <mic.besace@gmail.com>
-
Karl Skomski authored
Be slightly more verbose in cases where tests time out. PR-URL: https://github.com/nodejs/node/pull/2647 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Rod Vagg authored
Update AUTHORS list using tools/update-authors.sh PR-URL: https://github.com/nodejs/node/pull/3211 Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Rich Trott authored
Test added in d1f24044 does not pass linting rule added in 3de353b5. Fixed in this commit. `common` module required in all tests except those that intentionally leak variables. PR-URL: https://github.com/nodejs/node/pull/3230 Fixes: https://github.com/nodejs/node/issues/3229 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Martial authored
Change occurrences of "user-land" to "userland". PR-URL: https://github.com/nodejs/node/pull/3192 Fixes: https://github.com/nodejs/node/issues/3189 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Nathan Rajlich authored
This last line was missed in 3e1b1dd4 PR-URL: https://github.com/nodejs/node/pull/3225 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rod Machen authored
Change b.writeUint16LE(0x90ab, 0) to b.writeUInt16LE(0x90ab, 0). PR-URL: https://github.com/nodejs/node/pull/3226 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Fedor Indutny authored
Make sure that the pipelined response data will be written as less TCP packets as possible. PR-URL: https://github.com/nodejs/node/pull/3172 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Fedor Indutny authored
FreeCallback should be invoked on the storage disposal (`ArrayBuffer`), not when the view (`Uint8Array` or `Buffer`) is disposed. This causes bug and crashes in addons which create buffers and store only slices of them. PR-URL: https://github.com/nodejs/node/pull/3198 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-