- Oct 02, 2015
-
-
Rich Trott authored
common.js contains code that checks for variables leaking into the global namespace. Load common.js in all tests that do not intentionally leak variables. PR-URL: https://github.com/nodejs/node/pull/3095 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Fedor Indutny authored
Do not rely on `OPENSSL_FIPS` in `node_crypto.cc` when building with shared FIPS-enabled OpenSSL library. Enable FIPS in core only when configured with `--openssl-fips`. Fix: https://github.com/nodejs/node/issues/3077 PR-URL: https://github.com/nodejs/node/pull/3153 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Sakthipriyan Vairamani authored
The variable `er` is not declared at all. So if EPERM error is ever raised then the `er` will throw `ReferenceError` and the code will break. PR-URL: https://github.com/nodejs/node/pull/3150 Reviewed-By:
Brian White <mscdex@mscdex.net>
-
Trevor Norris authored
If the constructor can't assign a class id then the heap snapshot will not be able to report the object. So ensure that all AsyncWrap instances use a FunctionTemplate instance with an internal field count >= 1. PR-URL: https://github.com/nodejs/node/pull/3139 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by:
Stephen Belanger <admin@stephenbelanger.com>
-
Trevor Norris authored
Several provider ids have been removed that are no longer in use. Others have been updated to match their class constructors. Add test to ensure all internally listed providers are used. PR-URL: https://github.com/nodejs/node/pull/3139 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by:
Stephen Belanger <admin@stephenbelanger.com>
-
Oguz Bastemur authored
I was walking through the vm changes and saw this particular `if` check interesting. In case `ctx` is empty it's going to fail later anyways. So, instead of putting an `if` check there; option a - use CHECK option b - do nothing Considering the developer wanted to make sure `ctx` is not empty, `CHECK` option looked more convenient. PR-URL: https://github.com/nodejs/node/pull/3125 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Oct 01, 2015
-
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/nodejs/node/pull/3010 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
João Reis authored
When MSBuild invokes rc.exe, it passes NODE_TAG unstringified, but passes it correctly to cl.exe. Hence, this workaround was made to apply only to the resource file. Fixes: https://github.com/nodejs/node/issues/2963 PR-URL: https://github.com/nodejs/node/pull/3053 Reviewed-By:
Alexis Campailla <orangemocha@nodejs.org> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Minwoo Jung authored
Fixes description about crypto.randomBytes. Fixes: https://github.com/nodejs/node/issues/3081 PR-URL: https://github.com/nodejs/node/pull/3087 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Ali Ijaz Sheikh authored
Apply the latest fixes from V8 4.5 branch & bring us up to 4.5.103.35: * Disallow Object.observe calls on access checked objects. https://github.com/v8/v8/commit/134e541ad149b9732bc4fee6fe6952cf669703a7 * Avoid excessive data copying for ExternalStreamingStream::SetBookmark. https://github.com/v8/v8/commit/96dddb455daff3d8626bc4e5d7b2898fbab55991 PR-URL: https://github.com/nodejs/node/pull/3117 Reviewed-By:
indutny - Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
trevnorris - Trevor Norris <trev.norris@gmail.com> Reviewed-By:
targos - Michaël Zasso <mic.besace@gmail.com>
-
Ben Noordhuis authored
Backport f78215962bf5de9d47c022e7baa3952d0bf6d17f from V8's upstream to speed up promise introspection. Original commit message: Remove obsolete try/catch from ObjectIsPromise(). Review URL: https://codereview.chromium.org/1367123003 Cr-Commit-Position: refs/heads/master@{#30966} PR-URL: https://github.com/nodejs/node/pull/3130 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Ben Noordhuis authored
Use V8's builtin ObjectIsPromise() to check that the value is a promise before creating the promise mirror. Reduces garbage collector strain in the (common) non-promise case, which is beneficial when inspecting deep object graphs. PR-URL: https://github.com/nodejs/node/pull/3130 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
- Sep 30, 2015
-
-
Michael Dawson authored
For ICU 55 we are currently stripping out bidi and the callers. AIX is more pedantic and identified an additional caller than needed to be stripped out. This PR adds that caller to those stripped out. PR-URL: https://github.com/nodejs/node/pull/3115 Reviewed-By:
Steven Loomis <srloomis@us.ibm.com>
-
Rod Vagg authored
PR-URL: https://github.com/nodejs/node/pull/3023 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Rich Trott authored
Removed "Only FSEvents supports this type of file watching so it is unlikely any additional platforms will be added soon." Per @saghul, "FSEvents" refers to the OSX API, but since we added Windows support it may not be unlikely that we add more. PR-URL: https://github.com/nodejs/node/pull/3097 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Saúl Ibarra Corretgé <saghul@gmail.com>
-
Minwoo Jung authored
Very minor update in benchmark/common.js Not exactly a critical change, just continued cleaning out of old joyent/node PRs that never landed. Ref: https://github.com/nodejs/node-v0.x-archive/pull/8515 PR-URL: https://github.com/nodejs/node/pull/2399 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
- Sep 29, 2015
-
-
Evan Lucas authored
If i18n support is present, add the icu version to process.versions Fixes: https://github.com/nodejs/node/issues/3089 PR-URL: https://github.com/nodejs/node/pull/3102 Reviewed-By:
Steven R Loomis <srloomis@us.ibm.com> Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Brendan Ashworth authored
Bye bye, smalloc. I'm not sure why this was still here; it was removed in 70d1f32f and hasn't worked since. It wasn't packaged in the binary, either. Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/nodejs/node/pull/3099
-
Rich Trott authored
common.print() is just util.print() and as such prints a deprecation warning. Per docs, update to console.log(). PR-URL: https://github.com/nodejs/node/pull/3083 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Rich Trott authored
common.debug() is just util.debug() and emits a deprecation notice. Per docs, use console.error() instead. PR-URL: https://github.com/nodejs/node/pull/3082 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-
- Sep 27, 2015
-
-
Roman Reiss authored
This error code export was mistakingly introduced in a 2012 commit which added more error codes. The correct export.BADNAME was added in https://github.com/nodejs/node/pull/3051. Semver: Major PR-URL: https://github.com/nodejs/node/pull/3051 Fixes: https://github.com/nodejs/node/issues/3050 Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Roman Reiss authored
Adds the documented but missing DNS error exports.BADNAME. This export has been there before but got lost in a 2012 commit that added more error codes. https://github.com/nodejs/node/pull/3076 will remove the wrong error code exports.ADNAME. PR-URL: https://github.com/nodejs/node/pull/3051 Fixes: https://github.com/nodejs/node/issues/3050 Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Ben Noordhuis authored
Internalized strings are created in the old space and that is where they eventually would end up anyway when created as normal strings. PR-URL: https://github.com/nodejs/node/pull/3060 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Speeds up property lookups a little and it creates the string in the old space straight away. It's a little easier on the garbage collector because it doesn't have to track eternalized strings in the new space. PR-URL: https://github.com/nodejs/node/pull/3060 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
- Sep 25, 2015
-
-
James M Snell authored
Ref: https://github.com/nodejs/node-convergence-archive/issues/13 This adds a new check for header and trailer fields names and method names to ensure that they conform to the HTTP token rule. If they do not, a `TypeError` is thrown. Previously this had an additional `strictMode` option that has been removed in favor of making the strict check the default (and only) behavior. Doc and test case are included. On the client-side ```javascript var http = require('http'); var url = require('url'); var p = url.parse('http://localhost:8888'); p.headers = {'testing 123': 123}; http.client(p, function(res) { }); // throws ``` On the server-side ```javascript var http = require('http'); var server = http.createServer(function(req,res) { res.setHeader('testing 123', 123); // throws res.end('...'); }); ``` Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Trevor Norris <trevnorris@nodejs.org> Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org> PR-URL: https://github.com/nodejs/node/pull/2526
-
Evan Lucas authored
Instead of slicing the first element off of the matches, shift and then return. This improves performance of the following path functions: - basename: 18-20% - extname: 60-70% - dirname: 18-20% - parse: 20-25% PR-URL: https://github.com/nodejs/node/pull/3034 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Cheng Zhao authored
It is required for using the "SIGABRT" constant. It doesn't cause compilation errors in Node because most files already have "signal.h" included, but it causes errors for third party embedder. PR-URL: https://github.com/nodejs/node/pull/3058 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Sakthipriyan Vairamani authored
The `src/node.js` file is actually loaded and executed by `node::LoadEnvironment` function. The variable which has the contents is, `native_node`. PR-URL: https://github.com/nodejs/node/pull/3039 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Johann authored
issue #2987 makes the point that crypto.pbkdf2 should not fail silently and accept invalid but numeric values like NaN and Infinity. We already check if the keylen is lower than 0, so extending that to NaN and Infinity should make sense. Fixes: https://github.com/nodejs/node/issues/2987 PR-URL: https://github.com/nodejs/node/pull/3029 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Fedor Indutny authored
`HandleWrap::OnClose` destroys the underlying C++ object and null's the internal field pointer to it. Therefore there should be no references to the wrapping JavaScript object. `null` the process' `_channel` field right after closing it, to ensure no crashes will happen. Fix: https://github.com/nodejs/node/issues/2847 PR-URL: https://github.com/nodejs/node/pull/3041 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
The .bin/ directory in deps/npm/node_modules seens to have been an accidental check-in in commit e79ccee1 ("npm: upgrade to v2.1.18"). It causes trouble for distro packagers so delete it and blacklist it. Fixes: https://github.com/nodejs/node/issues/2839 PR-URL: https://github.com/nodejs/node/pull/3004 Reviewed-By:
Kat Marchán <kzm@sykosomatic.org> Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
- Sep 24, 2015
-
-
Julien Gilli authored
Backport c281c15d6dab8370a7805f0717502d260e0ad433 from V8's upstream to allow post-mortem debugging tools to inspect Buffer instances' length. Original commit message: Add JSTypedArray's length in post-mortem metadata. BUG= R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1363683002 Cr-Commit-Position: refs/heads/master@{#30873} PR: #3031 PR-URL: https://github.com/nodejs/node/pull/3031 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Michał Gołębiowski authored
The Jenkins URL has changed from https://jenkins-iojs.nodesource.com to https://ci.nodejs.org. The former address now redirects to the latter. Some jobs has also changed names. PR-URL: https://github.com/nodejs/node/pull/2886 Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Fabio Oliveira authored
The documentation for assert.doesNotThrow now reflects all the inputs the function accepts, as well as the errors thrown for each combination of parameter types. PR-URL: https://github.com/nodejs/node/pull/2807 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
P.S.V.R authored
PR-URL: https://github.com/nodejs/node/pull/3015 Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Laurent Fortin authored
Changed the ordering so it is in line with the async methods. PR-URL: https://github.com/nodejs/node/pull/2940 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Laurent Fortin authored
PR-URL: https://github.com/nodejs/node/pull/2940 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
P.S.V.R authored
PR-URL: https://github.com/nodejs/node/pull/3016 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
reggi authored
PR-URL: https://github.com/nodejs/node/pull/3011 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
- Sep 23, 2015
-
-
P.S.V.R authored
Ref: https://github.com/nodejs/node/pull/1539 PR-URL: https://github.com/nodejs/node/pull/3018 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com>
-