-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V5.10.1 proposal #6059
V5.10.1 proposal #6059
Commits on Feb 28, 2016
-
path: fix verbose relative() output
Fixes: #5383 PR-URL: #5389 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30cec18 - Browse repository at this point
Copy the full SHA 30cec18View commit details -
url: fix off-by-one error with parse()
Fixes: #5393 PR-URL: #5394 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfe45f1 - Browse repository at this point
Copy the full SHA dfe45f1View commit details -
path: fix win32 relative() when "to" is a prefix
when the basename of "to" was a prefix of the basename of "from" win32 relative() would miss including it in the result Fixes: #5447 PR-URL: #5456 Reviewed-By: Brian White <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91782f1 - Browse repository at this point
Copy the full SHA 91782f1View commit details -
path: fix win32 relative() for UNC paths
win32 normalize() will output a trailing '\' for some UNC paths. trim them before processing Change by @mscdex Add basic UNC path tests to win32 relative() PR-URL: #5456 Reviewed-By: Brian White <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 871396c - Browse repository at this point
Copy the full SHA 871396cView commit details -
test: add test-cases for posix path.relative()
adds posix test cases for paths similar to those that caused #5447 PR-URL: #5456 Reviewed-By: Brian White <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c83725c - Browse repository at this point
Copy the full SHA c83725cView commit details
Commits on Mar 2, 2016
-
tools,benchmark: increase lint compliance
In the hopes of soon having the benchmark code linted, this change groups all the likely non-controversial lint-compliance changes such as indentation, semi-colon usage, and single-vs.-double quotation marks. Other lint rules may have subtle performance implications in the V8 currently shipped with Node.js. Those changes will require more careful review and will be in a separate change. PR-URL: #5429 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b44b701 - Browse repository at this point
Copy the full SHA b44b701View commit details -
benchmark: add benchmark for buf.compare()
There is a benchmark for the class method `Buffer.compare()` but not for the instance method `buf.compare()`. This adds that benchmark. I used this to confirm a performance regression in an implementation I was considering. While the implementation was a bust, it does seem like the benchmark is worthwhile. The benchmark is nearly identical to the existing `Buffer.compare()` benchmark except, of course, that it calls `buf.compare()` instead. PR-URL: #5441 Reviewed-By: Brian White <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6aebe16 - Browse repository at this point
Copy the full SHA 6aebe16View commit details -
dgram: handle default address case when offset and length are specified
Fixes a regression introduced by: #4374. Adds a new test to avoid similar issue in the future. The test is disabled on windows, because this feature never worked there. Fixes: #5398 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1Configuration menu - View commit details
-
Copy full SHA for d3f9b84 - Browse repository at this point
Copy the full SHA d3f9b84View commit details -
doc: improvements to crypto.markdown copy
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea8331e - Browse repository at this point
Copy the full SHA ea8331eView commit details -
repl: fix stack trace column number in strict mode
On strict mode, "'use strict'; void 0; " is added as prefix in order to prevent "use strict" as the result value for let/const statements. It causes wrong column number in stack trace. PR-URL: #5416 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b88523 - Browse repository at this point
Copy the full SHA 2b88523View commit details -
doc: add note for binary safe string reading
`readable.setEncoding(null)` - may be the most preferable way to proxy a binary data without any encoding/decoding overhead PR-URL: #5155 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a56e96 - Browse repository at this point
Copy the full SHA 0a56e96View commit details -
doc: fix typo in child_process documentation
TSCP should be TCP PR-URL: #5474 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 795c85b - Browse repository at this point
Copy the full SHA 795c85bView commit details -
Fix path.win32.parse("/foo/bar") retuns `{root: '' ...}`(v5.7.0), but not `{root: '/' ...}`(v5.6.0). PR-URL: #5484 Reviewed-By: Brian White <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Conflicts: test/parallel/test-path-parse-format.js
Configuration menu - View commit details
-
Copy full SHA for ef7a088 - Browse repository at this point
Copy the full SHA ef7a088View commit details -
test: remove flaky designation from fixed tests
`test-tls-ticket-cluster` and `test-vm-syntax-error-stderr` are no longer flaky. Refs: #2510 Refs: #2660 PR-URL: #5459 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ebbf6c - Browse repository at this point
Copy the full SHA 0ebbf6cView commit details -
path: fix path.relative() for prefixes at root
Fixes #5485 PR-URL: #5490 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91d218d - Browse repository at this point
Copy the full SHA 91d218dView commit details -
test: fix flaky child-process-fork-regr-gh-2847
The test is still failing sometimes because when trying to establish the second connection, the server is already closed. Bring back the code that handled this case and was removed in the last refactoring of the test. Also ignore the errors that might happen when sending the second handle to the worker because it may already have exited. PR-URL: #5422 Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc4cbb1 - Browse repository at this point
Copy the full SHA cc4cbb1View commit details -
test: remove unneeded bind() and related comments
As mentioned in the comment of the changed file, "a libuv limitation makes it necessary to bind()". But, that is not the case in this test. The subsequent call to send() results in an implicit bind(). PR-URL: #5023 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7f8a13 - Browse repository at this point
Copy the full SHA c7f8a13View commit details -
url: group slashed protocols by protocol name
Reorder slashed protocols so they are grouped by protocol name. This is done so it doesn't look like we're duplicating protocol names at the bottom of the list. PR-URL: #5380 Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9424fa5 - Browse repository at this point
Copy the full SHA 9424fa5View commit details -
crypto: PBKDF2 works with
int
notssize_t
Change types of all PBKDF2 params to `int` as they are `int` in `evp.h`. Check that `raw_keylen` fits into `int` before passing it to OpenSSL. Fix: #5396 PR-URL: #5397 Reviewed-By: Shigeki Ohtsu <[email protected]> Reviewed-By: Ben Noorhduis <[email protected]> Conflicts: test/parallel/test-crypto-pbkdf2.js
Configuration menu - View commit details
-
Copy full SHA for 88f3935 - Browse repository at this point
Copy the full SHA 88f3935View commit details -
Make `HTTPParser` an instance of `AsyncWrap` and make it use `MakeCallback`. This means that async wrap hooks will be called on consumed TCP sockets as well as on non-consumed ones. Additional uses of `AsyncCallbackScope` are necessary to prevent improper state from progressing that triggers failure in the test-http-pipeline-flood.js test. Optimally this wouldn't be necessary, but for the time being it's the most sure way to allow operations to proceed as they have. Fix: #4416 PR-URL: #5419 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d77c3bf - Browse repository at this point
Copy the full SHA d77c3bfView commit details -
deps: upgrade openssl to 1.0.2g
PR-URL: #5507 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e86804 - Browse repository at this point
Copy the full SHA 1e86804View commit details -
test: retry on known SmartOS bug
There is a known issue with SmartOS that is generally worked around in `tools/test.py`. However, a more robust workaround is required for some tests that open many network connections. `test-http-regr-gh-2928` is one such test. Fixes: #5445 Refs: #3941 PR-URL: #5454 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1a82c6 - Browse repository at this point
Copy the full SHA d1a82c6View commit details -
benchmark: refactor to eliminate redeclared vars
In order to comply with linting rules used in the rest of the code base, eliminate redeclared variables. A conservative approach is used so as to avoid unintentional performance issues (for example, as might be seen in some situations when using `let` instead of `var`). PR-URL: #5468 Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cae774 - Browse repository at this point
Copy the full SHA 7cae774View commit details -
Have `make test` run linting tools before tests rather than after. Lint is likely to find issues quickly. Tests may take a while to run. So do the linting first. Refs: #4546 (comment) PR-URL: #5470 Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c619f2 - Browse repository at this point
Copy the full SHA 2c619f2View commit details -
test: allow options for v8 testing
Allow extra options when testing v8 in Node tree PR-URL: #5502 Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4d9cdb - Browse repository at this point
Copy the full SHA c4d9cdbView commit details -
test: apply Linux workaround to Linux only
Do not try Ubuntu/SUSE/Debian-specific hostnames for IPv6 localhost unless we are on Linux. Fixes: #4546 PR-URL: #5471 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Ben Noorhduis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81348e8 - Browse repository at this point
Copy the full SHA 81348e8View commit details -
test: increase timeout for test-tls-fast-writing
Increase timeout for test from 500ms to 1000ms so busy slow machines don't produce false positives. Fixes: #4964 PR-URL: #5466 Reviewed-By: Alexis Campailla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12ae6ab - Browse repository at this point
Copy the full SHA 12ae6abView commit details -
tls: fix assert in context._external accessor
* Restrict the receiver to instances of the FunctionTemplate. * Use `args.This()` instead of `args.Holder()`. Fixes: #3682 PR-URL: #5521 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25c01cd - Browse repository at this point
Copy the full SHA 25c01cdView commit details -
doc: add CTC meeting minutes 2016-02-17
PR-URL: #5410 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51bc062 - Browse repository at this point
Copy the full SHA 51bc062View commit details -
lib: freelist: use .pop() for allocation
Array#pop() is known to be faster than Array#shift(). To be exact, it's O(1) vs. O(n). In this case there's no difference from which side of the "pool" array the object is retrieved, so .pop() should be preferred. PR-URL: #2174 Reviewed-By: mscdex - Brian White <[email protected]> Reviewed-By: jasnell - James M Snell <[email protected]> Reviewed-By: ofrobots - Ali Ijaz Sheikh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3421ac - Browse repository at this point
Copy the full SHA e3421acView commit details -
build: remove --quiet from eslint invocation
All eslint rules are configured to report as errors. Remove useless --quiet flag from eslint invocation in Makefile and vcbuild.bat. PR-URL: #5519 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c09e7f - Browse repository at this point
Copy the full SHA 4c09e7fView commit details -
doc: update NAN urls in ROADMAP.md and doc/releases.md
PR-URL: #5472 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1f3832 - Browse repository at this point
Copy the full SHA f1f3832View commit details -
2016-03-02, Version 5.7.1 (Stable)
Notable changes: * governance: The Core Technical Committee (CTC) added four new members to help guide Node.js core development: Evan Lucas, Rich Trott, Ali Ijaz Sheikh and Сковорода Никита Андреевич (Nikita Skovoroda). * openssl: Upgrade from 1.0.2f to 1.0.2g (Ben Noordhuis) #5507 - Fix a double-free defect in parsing malformed DSA keys that may potentially be used for DoS or memory corruption attacks. It is likely to be very difficult to use this defect for a practical attack and is therefore considered low severity for Node.js users. More info is available at https://www.openssl.org/news/vulnerabilities.html#2016-0705 - Fix a defect that can cause memory corruption in certain very rare cases relating to the internal `BN_hex2bn()` and `BN_dec2bn()` functions. It is believed that Node.js is not invoking the code paths that use these functions so practical attacks via Node.js using this defect are _unlikely_ to be possible. More info is available at https://www.openssl.org/news/vulnerabilities.html#2016-0797 - Fix a defect that makes the CacheBleed Attack (https://ssrg.nicta.com.au/projects/TS/cachebleed/) possible. This defect enables attackers to execute side-channel attacks leading to the potential recovery of entire RSA private keys. It only affects the Intel Sandy Bridge (and possibly older) microarchitecture when using hyper-threading. Newer microarchitectures, including Haswell, are unaffected. More info is available at https://www.openssl.org/news/vulnerabilities.html#2016-0702 * Fixed several regressions that appeared in v5.7.0: - path.relative(): - Output is no longer unnecessarily verbose (Brian White) #5389 - Resolving UNC paths on Windows now works correctly (Owen Smith) #5456 - Resolving paths with prefixes now works correctly from the root directory (Owen Smith) #5490 - url: Fixed an off-by-one error with `parse()` (Brian White) #5394 - dgram: Now correctly handles a default address case when offset and length are specified (Matteo Collina) #5407 PR-URL: #5464
Configuration menu - View commit details
-
Copy full SHA for 805f054 - Browse repository at this point
Copy the full SHA 805f054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01c331e - Browse repository at this point
Copy the full SHA 01c331eView commit details
Commits on Mar 8, 2016
-
child_process: support options in send()
This commit adds an options object to process.send(). The same object is propagated to process._send(), the _handleQueue, and the send() and postSend() functions of the handle converter. Fixes: #4271 PR-URL: #5283 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d4887c - Browse repository at this point
Copy the full SHA 6d4887cView commit details -
child_process: add keepOpen option to send()
This option allows an instance of net.Socket to be kept open in the sending process. Fixes: #4271 PR-URL: #5283 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a301799 - Browse repository at this point
Copy the full SHA a301799View commit details -
repl: accept no arguments to start()
Currently, there is a check to ensure that the user either provides an object or a string to repl.start(). The string case is used to set a REPL prompt. However, a default of '> ' already exists, so forcing the user to specify a prompt is a bit redundant. This commit removes this restriction. Fixes: #5385 PR-URL: #5388 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Julian Duque <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e572e42 - Browse repository at this point
Copy the full SHA e572e42View commit details -
constants: define ENGINE_METHOD_RSA
constants.ENGINE_METHOD_RSA was documented, but not implemented. PR-URL: #5463 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9db827c - Browse repository at this point
Copy the full SHA 9db827cView commit details -
doc: correct name of engine methods
ENGINE_METHOD_PKEY_METH and ENGINE_METHOD_PKEY_ASN1_METH are misspelled in the documentation, both should be ..._METHS. PR-URL: #5463 Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b54a26f - Browse repository at this point
Copy the full SHA b54a26fView commit details -
https://code.google.com/p/v8/ redirects to the V8 issue tracker PR-URL: #5530 Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb7e4fb - Browse repository at this point
Copy the full SHA cb7e4fbView commit details -
tools: enable no-extra-parens in ESLint
Enable `no-extra-parens`. This rule restricts the use of parentheses to only where they are necessary. It is set to be restricted to report only function expressions. PR-URL: #5512 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4fa2a6 - Browse repository at this point
Copy the full SHA c4fa2a6View commit details -
PR-URL: #5517 Reviewed-By: Brian White <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b955d02 - Browse repository at this point
Copy the full SHA b955d02View commit details -
tools: enable linting for benchmarks
PR-URL: #5517 Reviewed-By: Brian White <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a3e87e - Browse repository at this point
Copy the full SHA 9a3e87eView commit details -
doc: update link green to match homepage
Also fixed a minor color issue with :focus on the title. PR-URL: #5548 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bd96fd - Browse repository at this point
Copy the full SHA 3bd96fdView commit details -
test: check memoryUsage properties
The properties on memoryUsage were not checked before, this commit checks them. PR-URL: #5546 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40b36ba - Browse repository at this point
Copy the full SHA 40b36baView commit details -
test: prevent flakey test on pi2
Looping rapidly and making new connections causes problems on pi2. Instead create a new connection when an old connection has already been made. Running a stress test of 600 times and they all passed. Fixes: #5302 PR-URL: #5537 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Alexis Campailla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6210d5 - Browse repository at this point
Copy the full SHA e6210d5View commit details -
doc: improve unhandledException doc copy
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Configuration menu - View commit details
-
Copy full SHA for 9ad901e - Browse repository at this point
Copy the full SHA 9ad901eView commit details -
tools: support testing known issues
This commit adds a known_issues directory to the test directory for scripts that reproduce known bugs. Since these scripts are expected to fail, it also adds a --expect-fail flag to test.py which reports tests as successful when they fail. Refs: nodejs/testing#18 PR-URL: #5528 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Wyatt Preul <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aa17dc - Browse repository at this point
Copy the full SHA 5aa17dcView commit details -
test: bug repro for vm function redefinition
This commit adds a failing test case for the vm module. Currently, if runInContext() defines a function, and a later call to runInContext() redefines the same function, the original function is not overwritten. Refs: #548 PR-URL: #5528 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Wyatt Preul <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29e26b3 - Browse repository at this point
Copy the full SHA 29e26b3View commit details -
build: correctly detect clang version
Use the "Apple LLVM" version number since the banner has changed in newer versions of Mac OS X, resulting in the obsolete assembler path being used to compile OpenSSL. PR-URL: #5553 Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86900f8 - Browse repository at this point
Copy the full SHA 86900f8View commit details -
benchmark: add util.format benchmark
PR-URL: #5360 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12ca84f - Browse repository at this point
Copy the full SHA 12ca84fView commit details -
util: improve util.format performance
By manually copying arguments and breaking the try/catch out, we are able to improve the performance of util.format by 20-100% (depending on the types). PR-URL: #5360 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c32d460 - Browse repository at this point
Copy the full SHA c32d460View commit details -
util: improve format() performance further
Replacing the regexp and replace function with a loop improves performance by ~60-200%. PR-URL: #5360 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 971edde - Browse repository at this point
Copy the full SHA 971eddeView commit details -
dgram: default send address to 127.0.0.1 or ::1
In net we default to 'localhost' as the default address for connect. Not doing the same on dgram is confusing, because sending to 0.0.0.0 works on Linux/OS X but not on Windows. Defaulting that to 127.0.0.1 / ::1 addresses that. Related: #5407 Related: #5398 Fixes: #5487 PR-URL: #5493 Reviewed-By: Saúl Ibarra Corretgé <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e9f65 - Browse repository at this point
Copy the full SHA 67e9f65View commit details -
build: update Node.js logo on Win installer
also change stripe color to RGB 68 136 62 PR-URL: #5531 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2abf866 - Browse repository at this point
Copy the full SHA 2abf866View commit details -
PR-URL: #5560 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb5a95e - Browse repository at this point
Copy the full SHA eb5a95eView commit details -
tools: enable no-self-assign ESLint rule
Enabled no-self-assign rule in ESLint. This required one change in a benchmark file. Changed a loop (that is outside of the benchmark itself, so performance is not critical) from a for loop that repeats a string to use String.prototype.repeat() instead. While at it, took the opportunity to const-ify the benchmark file. Also moved the "Strict" section in the .eslintrc to match where it is in the ESLint documentation. Updated the link for Strict rules to point to the ESLint website rather than the GitHub-hosted code. PR-URL: #5552 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: targos - Michaël Zasso <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7965c89 - Browse repository at this point
Copy the full SHA 7965c89View commit details -
tools: reduce verbosity of cpplint
Every time `make test` is run, the cpplint prints the file it successfully linted. None of the other linters in the project does that. This patch simply removes the "Done processing" message from the cpplint. PR-URL: #5578 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 048c0f4 - Browse repository at this point
Copy the full SHA 048c0f4View commit details -
test: remove broken debugger scenarios
`test-debug-break-on-uncaught` was hanging on the domain and parse error scenarios. These tests are not run in CI and may have been broken for a very long time. Refs: #3156 Refs: c16963b9 PR-URL: #5532 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f20f31 - Browse repository at this point
Copy the full SHA 4f20f31View commit details -
doc: add info to docs on how to submit docs patch
The docs mentioned that the docs source live in the node source, but did not link to same. PR-URL: #4591 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7be726f - Browse repository at this point
Copy the full SHA 7be726fView commit details -
path: fix normalize for absolutes
Fixes a regression introduced by b212be0. path.normalize(''/a/b/c/../../../x/y/z'') should return '/x/y/z'. Fixes: #5585 PR-URL: #5589 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3971f5 - Browse repository at this point
Copy the full SHA f3971f5View commit details -
doc: document directories in test directory
PR-URL: #5557 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c92352 - Browse repository at this point
Copy the full SHA 3c92352View commit details -
test: add test-npm-install to parallel tests suite
Currently we are not testing that `npm install` works. This is a very naive / basic test that shells out to `npm install` in an empty `tempDir`. While this test will not be able to check that `npm install` is 100% working, it should catch certain edge cases that break it. PR-URL: #5166 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Alexis Campailla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9dc94d7 - Browse repository at this point
Copy the full SHA 9dc94d7View commit details -
PR-URL: #5369 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Myles Borins <[email protected]> Conflicts: deps/npm/node_modules/request/node_modules/aws4/LICENSE
Configuration menu - View commit details
-
Copy full SHA for 8501345 - Browse repository at this point
Copy the full SHA 8501345View commit details -
src,http: fix uncaughtException miss in http
In AsyncWrap::MakeCallback always return empty handle if there is an error. In the future this should change to return a v8::MaybeLocal, but that major change will have to wait for v6.x, and these changes are meant to be backported to v4.x. The HTTParser call to AsyncWrap::MakeCallback failed because it expected a thrown call to return an empty handle. In node::MakeCallback return an empty handle if the call is in_makecallback(), otherwise return v8::Undefined() as usual to preserve backwards compatibility. Fixes: #5555 PR-URL: #5591 Reviewed-By: Julien Gilli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e6d706 - Browse repository at this point
Copy the full SHA 5e6d706View commit details -
2016-03-08, Version 5.8.0 (Stable)
Notable changes: * child_process: “send()” now accepts an options parameter (cjihrig) #5283 - Currently the only option is “keepOpen”, which keeps the underlying socket open after the message is sent. * constants: “ENGINE_METHOD_RSA” is now correctly exposed (Sam Roberts) #5463 * Fixed two regressions which originated in v5.7.0: - http: Errors inside of http client callbacks now propagate correctly (Trevor Norris) #5591 - path: Fixed normalization of absolute paths (Evan Lucas) #5589 * repl: “start()” no longer requires an options parameter (cjihrig) #5388 * util: Improved “format()” performance 50-300% (Evan Lucas) #5360 PR-URL: #5559
Configuration menu - View commit details
-
Copy full SHA for fc13773 - Browse repository at this point
Copy the full SHA fc13773View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8165570 - Browse repository at this point
Copy the full SHA 8165570View commit details
Commits on Mar 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4d6fe30 - Browse repository at this point
Copy the full SHA 4d6fe30View commit details
Commits on Mar 14, 2016
-
Revert "build: run lint before tests"
This reverts commit d9f7a59. Changes here probably need wider discussion so revert the change until that can happen. PR-URL: #5602 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7819da - Browse repository at this point
Copy the full SHA a7819daView commit details -
deps: sync deps/http_parser with nodejs/http_parser
The upstream and dep were slightly out of sync due to the way the recent security update had to be done. This brings the two back into sync. This update includes a couple of fixed tests and a performance related semver-patch update to the http method parsing. PR-URL: #5600 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 532d1bf - Browse repository at this point
Copy the full SHA 532d1bfView commit details -
doc: update release tweet template
PR-URL: #5628 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f8e2e2 - Browse repository at this point
Copy the full SHA 9f8e2e2View commit details -
build: don't install github templates
Avoid putting github templates in the source tarballs. PR-URL: #5612 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03b99bf - Browse repository at this point
Copy the full SHA 03b99bfView commit details -
doc: fix dns.resolveCname description typo
PR-URL: #5622 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62d267e - Browse repository at this point
Copy the full SHA 62d267eView commit details -
Fixes: #5322 PR-URL: #5641 Reviewed-By: Robert Lindstädt <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ebd559 - Browse repository at this point
Copy the full SHA 9ebd559View commit details -
lib: copy arguments object instead of leaking it
Instead of leaking the arguments object by passing it as an argument to a function, copy it's contents to a new array, then pass the array. This allows V8 to optimize the function that contains this code, improving performance. PR-URL: #4361 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 205bed0 - Browse repository at this point
Copy the full SHA 205bed0View commit details -
docs: update link to iojs+release ci job
We recently sandboxed the release CI jobs to their own Jenkins instance This commit updates the links found in `doc/releases.md` to point people in the right direction. PR-URL: #5632 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c1fdae - Browse repository at this point
Copy the full SHA 4c1fdaeView commit details -
win,build: support Visual C++ Build Tools 2015
Invoke MSBuild specifying the target platform as generated by Gyp. Reviewed-By: James M Snell <[email protected]> PR-URL: #5627
Configuration menu - View commit details
-
Copy full SHA for 0b545fb - Browse repository at this point
Copy the full SHA 0b545fbView commit details -
doc: add mattloring to collaborators
PR-URL: #5662 Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd6f4ec - Browse repository at this point
Copy the full SHA dd6f4ecView commit details -
doc: add whitlockjc to collaborators
PR-URL: #5665 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7842cb - Browse repository at this point
Copy the full SHA f7842cbView commit details -
doc: add benjamingr to collaborator list
Add benjamingr to collaborator list. Related #5064 PR-URL: #5664 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e1f670 - Browse repository at this point
Copy the full SHA 8e1f670View commit details -
doc: add AndreasMadsen to collaborators
PR-URL: #5666 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Glen Keane <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 285d5e7 - Browse repository at this point
Copy the full SHA 285d5e7View commit details -
doc: add fansworld-claudio to collaborators
PR-URL: #5668 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a33f248 - Browse repository at this point
Copy the full SHA a33f248View commit details -
doc: add phillipj to collaborators
PR-URL: #5663 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Jeremy Whitlock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b81711a - Browse repository at this point
Copy the full SHA b81711aView commit details -
doc: add thekemkid to collaborators
PR-URL: #5667 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7aecd6 - Browse repository at this point
Copy the full SHA f7aecd6View commit details -
test: add batch of known issue tests
This commit adds tests for several known issues. Refs: #1901 Refs: #728 Refs: #4778 Refs: #947 Refs: #2734 PR-URL: #5653 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a44c8c - Browse repository at this point
Copy the full SHA 9a44c8cView commit details -
doc: include typo in 'unhandledRejection' example
Reintroduces an intentional typo in a process doc example. Fixes: #5644 PR-URL: #5654 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd12661 - Browse repository at this point
Copy the full SHA dd12661View commit details -
doc: fix typo in child_process docs
Fixes a typo in the child process docs. Fixes: nodejs/nodejs.org#573 PR-URL: #5681 Reviewed-By: thefourtheye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6ee099 - Browse repository at this point
Copy the full SHA f6ee099View commit details -
doc: update removeListener behaviour
This commit updates events doc to describe removeListener behaviour when it is called within a listener. An example is added to make it more evident. A test is also incuded to make this behaviour consistent in future releases. Fixes: #4759 PR-URL: #5201 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a442b3 - Browse repository at this point
Copy the full SHA 2a442b3View commit details -
collaborator_guide: clarify commit message rules
Italicize the full URL being required in metadata. PR-URL: #5661 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5d64c3 - Browse repository at this point
Copy the full SHA d5d64c3View commit details -
doc: move build instructions to a new document
This makes README.md easier to consume and likely less confusing for people that get it as part of a binary download. PR-URL: #5634 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c379ec6 - Browse repository at this point
Copy the full SHA c379ec6View commit details -
doc: add clarification on birthtime in fs stat
Clarifies the possibility of birthtime in the fs stat object being greater than atime or mtime when not available in the filesystem (see issue for further info). Fixes: #2222 PR-URL: #5479 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3e9daa - Browse repository at this point
Copy the full SHA f3e9daaView commit details
Commits on Mar 16, 2016
-
contextify: cleanup weak ref for global proxy
Cleanup how node_contextify keeps weak references in order to prepare for new style phantom weakness API. We didn't need to keep a weak reference to the context's global proxy, as the context holds it. PR-URL: #5392 Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93f60cd - Browse repository at this point
Copy the full SHA 93f60cdView commit details -
contextify: cleanup weak ref for sandbox
Simplify how node_contextify was keeping a weak reference to the sandbox object in order to prepare for new style phantom weakness V8 API. It is simpler (and more robust) for the context to hold a reference to the sandbox in an embedder data field. Doing otherwise meant that the sandbox could become weak while the context was still alive. This wasn't a problem because we would make the reference strong at that point. Since the sandbox must live at least as long as the context, it would be better for the context to hold onto the sandbox. PR-URL: #5392 Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfff07b - Browse repository at this point
Copy the full SHA bfff07bView commit details -
contextify: replace deprecated SetWeak usage
PR-URL: #5392 Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f2c839 - Browse repository at this point
Copy the full SHA 4f2c839View commit details -
contextify: cache sandbox and context in locals
PR-URL: #5392 Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0662fcf - Browse repository at this point
Copy the full SHA 0662fcfView commit details -
Consolidates the implementation of regular and internal (_unrefActive) timers. Also includes a couple optimizations: - Isolates the try/catch from listOnTimeout() in a new tryOnTimeout(). - Uses a TimersList constructor as the base for linkedlists. Additionally includes other cleanup and clarification, such as a rename of "Timer" to "TimerWrap". PR-URL: #4007 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Julien Gilli <[email protected]> Reviewed-By: Chris Dickinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 769254b - Browse repository at this point
Copy the full SHA 769254bView commit details -
timers: greatly improve code comments
Describes the How and Why of the timers implementation, as well as adding comments in spots that should allow for an easier understanding about what is going on. The timers implementation is very efficient, at a cost. That cost is readable understandability, and this aims to improve that. PR-URL: #4007 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Julien Gilli <[email protected]> Reviewed-By: Chris Dickinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b7b1ed - Browse repository at this point
Copy the full SHA 1b7b1edView commit details -
PR-URL: #5250 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cceae5a - Browse repository at this point
Copy the full SHA cceae5aView commit details -
test: improve test-npm-install
Make npm install a dependency that is defined as a relative path, so it avoids any network interaction. PR-URL: #5613 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f225459 - Browse repository at this point
Copy the full SHA f225459View commit details -
doc: remove non-standard use of hyphens
Identifies the non-idiomatic usages of the '-' character and either removes them or replaces them with colons. Fixes: #5672 R-URL: #5677 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31e39fb - Browse repository at this point
Copy the full SHA 31e39fbView commit details -
PR-URL: #3726 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9794abb - Browse repository at this point
Copy the full SHA 9794abbView commit details -
doc: update fansworld-claudio username on README
Updating collaborator username: fansworld-claudio changed to claudiorodriguez PR-URL: #5680 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b667573 - Browse repository at this point
Copy the full SHA b667573View commit details -
PR-URL: #5678 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44a9b10 - Browse repository at this point
Copy the full SHA 44a9b10View commit details -
PR-URL: #5678 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e45c9d - Browse repository at this point
Copy the full SHA 8e45c9dView commit details -
PR-URL: #5678 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c579507 - Browse repository at this point
Copy the full SHA c579507View commit details -
doc: clarify when writable.write callback is called
The current documentation for writable.write only specifies that the callback is called "once the data has been fully handled". It is ambiguous whether this means "successfully handled" and, if so, whether the callback is called if the data can not be successfully handled (i.e. an error occurs). The ambiguity is not only in the documentation. The stream class implementations differ on this point. stream.Writable invokes the callback with any errors that occur during parameter checking or during calls to _write. However, not all classes return all errors to _write. zlib.Zlib does pass argument and state errors to the _write (_transform) callback, but does not pass data errors. http.OutgoingMessage passes argument type errors and some other types of errors, but not all. This inconsistency is behind issue #1746 and, I suspect, other issues in client code which passes a callback to write. This commit takes no position on whether the callback error behavior should changed, but simply attempts to document the current behavior in a way that is open to changes so that users are not caught by surprise. PR-URL: #4810 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremy Whitlock <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb73574 - Browse repository at this point
Copy the full SHA eb73574View commit details -
OPENSSL_NO_SSL2 and OPENSSL_NO_WEAK_SSL_CIPHERS are defined in opensslconf.h Fixes: nodejs/Release#85 PR-URL: #5630 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Fedor Indutny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29510aa - Browse repository at this point
Copy the full SHA 29510aaView commit details -
doc: clarify type of first argument in zlib
The current documentation for Convenience Methods specifies that the first argument can be either `string or buffer`, `string` or `raw Buffer`. This commit replaces all these instances with `Buffer or string`. PR-URL: #5685 Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62926d8 - Browse repository at this point
Copy the full SHA 62926d8View commit details -
net: make
isIPv4
andisIPv6
more efficient`isIPv4` and `isIPv6` are implemented on top of `isIP`, which in turn checks the sting for being both IPv4 and IPv6, which can be inefficient in some scenarios. This commit makes them use `uv_inet_pton` directly instead. PR-URL: #5478 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b16f67a - Browse repository at this point
Copy the full SHA b16f67aView commit details -
zlib: add support for concatenated members
According to the spec gzipped archives can contain more than one compressed member. Previously Node's gzip implementation would only unzip the first member and throw away the rest of the compressed data. Issue #4306 is an example of this occurring in daily use. Fixes: #4306 PR-URL: #5120 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef774ff - Browse repository at this point
Copy the full SHA ef774ffView commit details -
doc: Add note about use of JSON.stringify()
process.send and child.send use JSON.stringify to serialize the message. Fixes: #5453 PR-URL: #5723 Reviewed-By: Jeremy Whitlock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 434af03 - Browse repository at this point
Copy the full SHA 434af03View commit details -
Add the proposed Testing WG. WORKING_GROUPS.md indicates that opening a pull request to that file is the way to request that a charter be ratified by the TC. So, that's what this is. The charter document is currently: https://github.com/nodejs/testing/blob/master/Charter.md PR-URL: #5461 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Alexis Campailla <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c4c84f - Browse repository at this point
Copy the full SHA 8c4c84fView commit details -
src: allow combination of -i and -e cli flags
If both -i and -e flags are specified, do not ignore the -i. Instead, launch the interactive REPL and start by evaluating the passed string. Fixes: #1197 PR-URL: #5655 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ecd996 - Browse repository at this point
Copy the full SHA 4ecd996View commit details -
console: check that stderr is writable
`Console` constructor checks that `stdout.write()` is a function but does not do an equivalent check for `stderr.write()`. If `stderr` is not specified in the constructor, then `stderr` is set to be `stdout`. However, if `stderr` is specified, but `stderr.write()` is not a function, then an exception is not thrown until `console.error()` is called. This change adds the same check for 'stderr' in the constructor that is there for `stdout`. If `stderr` fails the check, then a `TypeError` is thrown. Took the opportunity to copyedit the `console` doc a little too. PR-URL: #5635 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e9cac4 - Browse repository at this point
Copy the full SHA 5e9cac4View commit details -
deps: backport fb4ccae from v8 upstream
Original commit message: Export BreakEvent and CompileEvent [email protected] Review URL: https://codereview.chromium.org/1477233002 Cr-Commit-Position: refs/heads/master@{#32861} PR-URL: #4231 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6c355d - Browse repository at this point
Copy the full SHA b6c355dView commit details -
2016-03-16, Version 5.9.0 (Stable)
Notable changes: * **contextify**: Fixed a memory consumption issue related to heavy use of `vm.createContext` and `vm.runInNewContext`. (Ali Ijaz Sheikh) #5392 * **governance**: The following members have been added as collaborators: - Andreas Madsen (@AndreasMadsen) - Benjamin Gruenbaum (@benjamingr) - Claudio Rodriguez (@claudiorodriguez) - Glen Keane (@thekemkid) - Jeremy Whitlock (@whitlockjc) - Matt Loring (@matthewloring) - Phillip Johnsen (@phillipj) * **lib**: copy arguments object instead of leaking it (Nathan Woltman) #4361 * **src**: allow combination of -i and -e cli flags (Rich Trott) #5655 * **v8**: backport fb4ccae from v8 upstream (Vladimir Krivosheev) #4231 - breakout events from v8 to offer better support for external debuggers * **zlib**: add support for concatenated members (Kári Tristan Helgason) #5120 PR-URL: #5702
Configuration menu - View commit details
-
Copy full SHA for 79cb1a9 - Browse repository at this point
Copy the full SHA 79cb1a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cac777 - Browse repository at this point
Copy the full SHA 0cac777View commit details
Commits on Mar 21, 2016
-
contextify: tie lifetimes of context & sandbox
When the previous set of changes (bfff07b) it was possible to have the context get garbage collected while sandbox was still live. We need to tie the lifetime of the context to the lifetime of the sandbox. This is a backport of #5786 to v5.x. Ref: #5786 PR-URL: #5800 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5d8369 - Browse repository at this point
Copy the full SHA c5d8369View commit details
Commits on Mar 22, 2016
-
path: refactor path.format() repeated code
PR-URL: #5673 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James Snell <[email protected]> Reviewed-By: Brian White <[email protected]> Conflicts: lib/path.js
Configuration menu - View commit details
-
Copy full SHA for 6e5835b - Browse repository at this point
Copy the full SHA 6e5835bView commit details -
doc: reformat & improve node.1 manual page
Uses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: #5497 Reviewed-By: James Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Conflicts: doc/node.1
Configuration menu - View commit details
-
Copy full SHA for 5ab51ee - Browse repository at this point
Copy the full SHA 5ab51eeView commit details -
doc: fix return value of write methods
Fixes: https:github.com//issues/5682 PR-URL: #5736 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89df17e - Browse repository at this point
Copy the full SHA 89df17eView commit details -
docs: fix man pages link if tok type is code
Do not call the linkManPages if the tok type is code Fixes: #5686 PR-URL: #5721 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f34a00c - Browse repository at this point
Copy the full SHA f34a00cView commit details -
doc: explain path.format() algorithm
PR-URL: #5688 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: James M Snell <[email protected]> Fixes: #2305
Configuration menu - View commit details
-
Copy full SHA for 724b87d - Browse repository at this point
Copy the full SHA 724b87dView commit details -
doc: fix invalid path doc comments
The format of certain code comments in the `path` documentation results in the code blocks being invalid. I also find it confusing at least as formatted on the website. This change is intended to improve those comments. PR-URL: #5670 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]> Conflicts: doc/api/path.markdown
Configuration menu - View commit details
-
Copy full SHA for 75f723c - Browse repository at this point
Copy the full SHA 75f723cView commit details -
https: fix ssl socket leak when keepalive is used
SSL sockets leak whenever keep alive is enabled, ca option is set in the global agent, and requests are sent without the ca property. In the following case at Agent.prototype.createSocket a socket will be created with a hashtag name that includes data from the global agents’ ca property. On subsequent requests at Agent.prototype.addRequest we do not find the free socket, because the hashtag name generated there does not take into account the global agents’ ca property, thus creating a new socket and leaving the first socket to timeout. closes: #5699 PR-URL: #5713 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bff311 - Browse repository at this point
Copy the full SHA 3bff311View commit details -
doc: fix multiline return comments in querystring
Changes the multiline return example commments in querystring which have the example out-of-comment, into single comment lines to remain consistent with other docs. PR-URL: #5705 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15c5662 - Browse repository at this point
Copy the full SHA 15c5662View commit details -
doc: fix crypto update() signatures
PR-URL: #5500 Reviewed-By: Shigeki Ohtsu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8318c2 - Browse repository at this point
Copy the full SHA d8318c2View commit details -
doc: fix typo in synchronous randomBytes example
The string template was closed after `${buf.length}` causing a syntax error within the example. PR-URL: #5781 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9b4e15 - Browse repository at this point
Copy the full SHA d9b4e15View commit details -
PR-URL: #5765 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a4870 - Browse repository at this point
Copy the full SHA b1a4870View commit details -
timers: improve setImmediate() performance
This commit improves setImmediate() performance by moving the try-finally block that wraps callback execution into a separate function because currently v8 never tries to optimize functions that contain try-finally blocks. With this change, there is a ~20-40% improvement in the included setImmediate() depth benchmarks. The breadth benchmarks show a slight improvement. PR-URL: #4169 Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3654d8 - Browse repository at this point
Copy the full SHA d3654d8View commit details -
test: reduce brittleness of tab complete test
test-repl-tab-complete includes tests that ensure that certain keys do not appear in tab completions or that completion does not crash the repl. It performed these tests by comparing completion output to a hardcoded list of expected keys. This list is made incorrect by any api changes that occur when new versions of V8 are introduced. With this change, we assert that the specific keys to be avoided are not present in the output instead. PR-URL: #5772 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Conflicts: test/parallel/test-repl-tab-complete.js
Configuration menu - View commit details
-
Copy full SHA for 21770c3 - Browse repository at this point
Copy the full SHA 21770c3View commit details -
doc: topic blocking vs non-blocking
The need for an overview of blocking vs non-blocking was identified in the docs WG Q1 roadmap. As there are several topics also pending creation, this one tries to hit the correct level of detail based on completion of the others. One which is referenced is https://github.com/nodejs/node/pull/4936/files and URLs within this PR need to change based on where that will land on the node website. PR-URL: #5326 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d28ce3 - Browse repository at this point
Copy the full SHA 5d28ce3View commit details -
doc: align doc/api/tls.markdown with style guide
Brings tls.markdown into alignment with the node.js styleguide, specifically regarding the use of personal pronouns. Also, fixes various typos, punctuation errors, missing definite/indefinite articles and other minor grammatical issues. PR-URL: #5706 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Conflicts: doc/api/tls.markdown
Configuration menu - View commit details
-
Copy full SHA for 3ada8cc - Browse repository at this point
Copy the full SHA 3ada8ccView commit details -
net: remove unused
var self = this
from old codeRemoved an unused `var self = this` that is no longer required. PR-URL: #5224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ccf9b4 - Browse repository at this point
Copy the full SHA 1ccf9b4View commit details -
src,tools: use template literals
Convert string concatenation to template literals. Enforce with lint rule. PR-URL: #5778 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Conflicts: src/.eslintrc src/node.js
Configuration menu - View commit details
-
Copy full SHA for 15c7b3a - Browse repository at this point
Copy the full SHA 15c7b3aView commit details -
doc: grammar, clarity and links in timers doc
Added appropriate in-document links. Clarified a bit of `setImmediate`, including a quick grammar fix (plural possessive apostrophe). PR-URL: #5792 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f53cc37 - Browse repository at this point
Copy the full SHA f53cc37View commit details -
deps: remove unused openssl files
Refs: #5615 PR-URL: #5619 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae24d05 - Browse repository at this point
Copy the full SHA ae24d05View commit details -
timers: give Timeouts a constructor name
Refs: #5792 PR-URL: #5793 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Conflicts: test/message/timeout_throw.out
Configuration menu - View commit details
-
Copy full SHA for 20a68e9 - Browse repository at this point
Copy the full SHA 20a68e9View commit details -
test: minimize test-http-get-pipeline-problem
Reduce resoures required by test. Clarify comment explaining source of test and what the test is looking for. Fixes: #5725 PR-URL: #5728 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b352cc7 - Browse repository at this point
Copy the full SHA b352cc7View commit details -
Currently the DNS module imports isIP from both cares and `net` and uses both of them both throughout the code base. This PR removes the direct dependency `dns` has on `net` and uses `isIp` from c-ares all the time. Note that both functions do the same thing. PR-URL: #5804 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]> Conflicts: lib/dns.js
Configuration menu - View commit details
-
Copy full SHA for 3fef69b - Browse repository at this point
Copy the full SHA 3fef69bView commit details -
test: fix flaky test-cluster-shared-leak
Test was flaky on centos7-64 due to an uncaught ECONNRESET on the worker code. This catches the error so the process will exit with code 0. Fixes: #5604 PR-URL: #5802 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0d885a - Browse repository at this point
Copy the full SHA f0d885aView commit details -
test: fix
test-cluster-worker-kill
Don't check that the `disconnect` event is emitted before the `exit` event as the order is not guaranteed. PR-URL: #5814 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2fa644 - Browse repository at this point
Copy the full SHA d2fa644View commit details -
doc: Add windows example for Path.format
PR-URL: #5700 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Conflicts: doc/api/path.markdown
Configuration menu - View commit details
-
Copy full SHA for 0ffd794 - Browse repository at this point
Copy the full SHA 0ffd794View commit details -
Fixes: #5823 Refs: #5793 PR-URL: #5825 Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46f0e02 - Browse repository at this point
Copy the full SHA 46f0e02View commit details -
test: make test-net-connect-options-ipv6.js better
Improve the robustness of test-net-connect-options-ipv6.js PPC Suse build team encountered intermittent failures related to dns. Improve test to make it more robust in the face of intermittent dns issues. PR-URL: #5791 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89f091d - Browse repository at this point
Copy the full SHA 89f091dView commit details -
doc: add a cli options doc page
This page is mostly a mirror of the updated manual page. PR-URL: #5787 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell [email protected]> Reviewed-By: Bryan English <[email protected]> Reviewed-By: Robert Lindstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e99082e - Browse repository at this point
Copy the full SHA e99082eView commit details -
doc: explain error message on missing main file
Added a hint saying that node uses the default "Cannot find module" error when requiring a module for which the "main" file specified in the package.json is missing. PR-URL: #5812 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e20d0b8 - Browse repository at this point
Copy the full SHA e20d0b8View commit details -
lib: reduce usage of
self = this
Remove unnecessary `self = this`. PR-URL: #5231 Reviewed-By: James M Snell <[email protected]> Conflicts: lib/domain.js
Configuration menu - View commit details
-
Copy full SHA for c75f97f - Browse repository at this point
Copy the full SHA c75f97fView commit details -
doc: add CTC meeting minutes 2016-02-03
PR-URL: #5272 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ab597d - Browse repository at this point
Copy the full SHA 7ab597dView commit details -
doc: add CTC meeting minutes 2016-02-10
PR-URL: #5273 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1631f06 - Browse repository at this point
Copy the full SHA 1631f06View commit details -
lib: simplify code with String.prototype.repeat()
use String.prototype.repeat() to simplify code, less code, more semantically. PR-URL: #5359 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b21c09 - Browse repository at this point
Copy the full SHA 7b21c09View commit details -
doc: update crypto docs to use good defaults
[Diffie-Hellman](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange#Cryptographic_explanation) keys are composed of a `generator` a `prime` a `secret_key` and the `public_key` resulting from the math operation: ``` (generator ^ secret_key) mod prime = public_key ``` Diffie-Hellman keypairs will compute a matching shared secret if and only if the generator and prime match for both recipients. The generator is usually **2** and the prime is what is called a [Safe Prime](https://en.wikipedia.org/wiki/Safe_prime). Usually this matching is accomplished by using [standard published groups](http://tools.ietf.org/html/rfc3526). We expose access those groups with the `crypto.getDiffieHellman` function. `createDiffieHellman` is trickier to use. The original example had the user creating 11 bit keys, and creating random groups of generators and primes. 11 bit keys are very very small, can be cracked by a single person on a single sheet of paper. A byproduct of using such small keys were that it was a high likelihood that two calls of `createDiffieHellman(11)` would result in using the same 11 bit safe prime. The original example code would fail when the safe primes generated at 11 bit lengths did not match for alice and bob. If you want to use your own generated safe `prime` then the proper use of `createDiffieHellman` is to pass the `prime` and `generator` to the recipient's constructor, so that when they compute the shared secret their `prime` and `generator` match, which is fundamental to the algorithm. PR-URL: #5505 Reviewed-By: Brian White <[email protected]> Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2d0fe9 - Browse repository at this point
Copy the full SHA d2d0fe9View commit details -
test: repl tab completion test
It checks that `eval` is called with `.scope` as an input string. PR-URL: #5534 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70512e5 - Browse repository at this point
Copy the full SHA 70512e5View commit details -
test: remove timer from test-http-1.0
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout. PR-URL: #5129 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c2c7b0 - Browse repository at this point
Copy the full SHA 7c2c7b0View commit details -
4d78121 had lint errors that went undetected. This fixes them. PR-URL: #5840 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 341b3d0 - Browse repository at this point
Copy the full SHA 341b3d0View commit details -
buffer: throw range error before truncating write
The check to determine whether `noAssert` was set to true and thus whether RangeErrors should be thrown was happening after the write was truncated to the available size of the buffer. These checks now occur in the correct order. Fixes: #5587 PR-URL: #5605 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72fb796 - Browse repository at this point
Copy the full SHA 72fb796View commit details -
test: strip non-free icc profile from person.jpg
Fixes: #5749 PR-URL: #5813 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f95fc17 - Browse repository at this point
Copy the full SHA f95fc17View commit details -
test: smaller chunk size for smaller person.jpg
PR-URL: #5813 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Conflicts: test/parallel/test-zlib-params.js
Configuration menu - View commit details
-
Copy full SHA for ca971b0 - Browse repository at this point
Copy the full SHA ca971b0View commit details -
Prefer the use of template string literals over string concatenation in the dns module, makes dns consistent with other modules basically doing #5778 for it. PR-URL: #5809 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54abbe7 - Browse repository at this point
Copy the full SHA 54abbe7View commit details
Commits on Mar 23, 2016
-
2016-03-23, Version 5.9.1 (Stable)
Notable changes: * buffer: Now properly throws RangeErrors on out-of-bounds writes (Matt Loring) #5605 - This effects write{Float|Double} when the noAssert option is not used. * timers: - Returned timeout objects now have a Timeout constructor name (Jeremiah Senkpiel) #5793 - Performance of Immediate processing is now ~20-40% faster (Brian White) #4169 * vm: Fixed a contextify regression introduced in v5.9.0 (Ali Ijaz Sheikh) #5800 PR-URL: #5831
Configuration menu - View commit details
-
Copy full SHA for 195e058 - Browse repository at this point
Copy the full SHA 195e058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c2063 - Browse repository at this point
Copy the full SHA 90c2063View commit details
Commits on Mar 24, 2016
-
buffer: backport --zero-fill-buffers command line option
This backports the --zero-fill-buffers command line flag introduced in master. When used, all Buffer and SlowBuffer instances will zero fill by default. This does *not* backport any of the other Buffer API or behavior changes. PR-URL: #5744 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Trevor Norris <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c02727 - Browse repository at this point
Copy the full SHA 3c02727View commit details -
buffer: backport new buffer constructor APIs
This backports the new `Buffer.alloc()`, `Buffer.allocUnsafe()`, and `Buffer.from()` APIs for v5. Also included in this backport is the change that allows fill('') to zero-fill (as opposed to doing nothing) and the additional `byteOffset` and `length` arguments for `Buffer(arrayBuffer)` and `Buffer.from(arrayBuffer)`. This backport includes the new test cases. This backport *does not* update all of the internal uses of the existing `Buffer()` constructor. This backport also *does not* include the soft deprecation of the existing `Buffer()` constructor. PR-URL: #5763 Reviewed-By: Trevor Norris <[email protected]>
2Configuration menu - View commit details
-
Copy full SHA for c1534e7 - Browse repository at this point
Copy the full SHA c1534e7View commit details
Commits on Mar 30, 2016
-
Now that the CTC has expanded, this PR calls for a vote of the CTC to reinstate Michael Dawson (@mhdawson) as a full voting member. Voted on and approved by the CTC on 2016-03-23 PR-URL: #5633 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Alexis Campailla <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8fa0b5c - Browse repository at this point
Copy the full SHA 8fa0b5cView commit details -
src,http_parser: remove KickNextTick call
Now that HTTPParser uses MakeCallback it is unnecessary to manually process the nextTickQueue. The KickNextTick function is now no longer needed so code has moved back to node::MakeCallback to simplify implementation. Include minor cleanup moving Environment::tick_info() call below the early return to save an operation. PR-URL: #5756 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1488bb - Browse repository at this point
Copy the full SHA f1488bbView commit details -
src: reword command and add ternary
Make comment clear that Undefined() is returned for legacy compatibility. This will change in the future as a semver-major change, but to be able to port this to previous releases it needs to stay as is. PR-URL: #5756 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9d0166 - Browse repository at this point
Copy the full SHA f9d0166View commit details -
async_wrap: setupHooks now accepts object
The number of callbacks accepted to setupHooks was getting unwieldy. Instead change the implementation to accept an object with all callbacks PR-URL: #5756 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a485612 - Browse repository at this point
Copy the full SHA a485612View commit details -
async_wrap: notify post if intercepted exception
The second argument of the post callback is a boolean indicating whether the callback threw and was intercepted by uncaughtException or a domain. Currently node::MakeCallback has no way of retrieving a uid for the object. This is coming in a future patch. PR-URL: #5756 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f16882 - Browse repository at this point
Copy the full SHA 6f16882View commit details -
async_wrap: don't abort on callback exception
Rather than abort if the init/pre/post/final/destroy callbacks throw, force the exception to propagate and not be made catchable. This way the application is still not allowed to proceed but also allowed the location of the failure to print before exiting. Though the stack itself may not be of much use since all callbacks except init are called from the bottom of the call stack. /tmp/async-test.js:14 throw new Error('pre'); ^ Error: pre at InternalFieldObject.pre (/tmp/async-test.js:14:9) PR-URL: #5756 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2cbbaaf - Browse repository at this point
Copy the full SHA 2cbbaafView commit details -
buffer: changing let in for loops back to var
Using let in for loops showed a regression in 4.4.0. @ofrobots suggested that we avoid using let in for loops until TurboFan becomes the default optimiser. The regression that was detected was when looking at how long it took to create a new buffer from an array of data. When using `for (let i=0; i<length; i++) ` we saw the operation take almost 40% longer compared to `var i=0`. PR-URL: #5819 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Myles Borins <[email protected]> Ref: http://github.com/nodejs/benchmarking/issues/38
Configuration menu - View commit details
-
Copy full SHA for bdf933b - Browse repository at this point
Copy the full SHA bdf933bView commit details -
buffer: add swap16() and swap32() methods
Adds Buffer.prototype.swap16() and Buffer.prototype.swap32() methods that mutate the Buffer instance in-place by swapping the 16-bit and 32-bit byte-order. Example: ```js const buf = Buffer([0x1, 0x2, 0x3, 0x4]); buf.swap16(); console.log(buf); // prints Buffer(0x2, 0x1, 0x4, 0x3); buf.swap32(); console.log(buf); // prints Buffer(0x3, 0x4, 0x1, 0x2); ``` PR-URL: #5724 Reviewed-By: Trevor Norris <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f8e4b5 - Browse repository at this point
Copy the full SHA 1f8e4b5View commit details -
buffer: make byteLength work with ArrayBuffer & DataView
Convert anything to string, but Buffer, TypedArray and ArrayBuffer ``` var uint8 = new Uint8Array([0xf0, 0x9f, 0x90]); Buffer.byteLength(uint8); // should be 3, but returns 11 Buffer.byteLength(uint8.buffer); // should be 3, but return 20 ``` PR-URL: #5255 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee83c95 - Browse repository at this point
Copy the full SHA ee83c95View commit details
Commits on Mar 31, 2016
-
build: enable compilation for linuxOne
Changes to Node core in order to allow compilation for linuxOne. The ../archs/linux32-s390x/opensslconf.h and ../archs/linux64-s390x/opensslconf.h were automatically generated by running make linux-ppc linux-ppc64 in the deps/openssl/config directory as per our standard practice After these changes we still need a version of v8 which supports linuxOne but that will be coming soon in the 5.1 version of v8. Until then with these changes we'll be able to create a hybrid build which pulls in v8 from the http://github/andrewlow repo. PR-URL: #5941 Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5681ffe - Browse repository at this point
Copy the full SHA 5681ffeView commit details -
build: add missing
openssl_fips%
to common.gypiSee: atom/node@cba512d PR-URL: #5919 Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ee5fa2 - Browse repository at this point
Copy the full SHA 5ee5fa2View commit details -
build: add script to create Android .mk files
The create_android_makefiles script will create .mk files for node and all of its dependencies ready to be build using Android build system. Signed-off-by: Robert Chiras <[email protected]> PR-URL: #5544 Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 389f5a8 - Browse repository at this point
Copy the full SHA 389f5a8View commit details -
build: add suport for x86 architecture
Modified android-configure script to support also x86 arch. Currently added support only for ia32 target arch. Also, compile openssl without asm, since using the asm sources will make node fail to run on Android, because it adds text relocations. Signed-off-by: Robert Chiras <[email protected]> PR-URL: #5544 Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58b5c1e - Browse repository at this point
Copy the full SHA 58b5c1eView commit details -
child_process: refactor self=this in socket_list
The socket list module (used by child_process) currently uses the `var self = this;` pattern for context in several places, this PR replaces this with arrow functions or passing a parameter in where appropriate. Note that the `var self = this` in the _request is intentioanlly left in place since it is not trivial to refactor it and the current pattern isn't bad given the use case. PR-URL: #5860 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 660ec9f - Browse repository at this point
Copy the full SHA 660ec9fView commit details -
deps: backport 8d00c2c from v8 upstream
Original commit message: Unbreak --gdbjit for embedders. Embedders don't use d8.cc. Move gdbjit initialization to api.cc. Review URL: https://codereview.chromium.org/1710253002 Fixes: #2076 PR-URL: #5577 Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec18131 - Browse repository at this point
Copy the full SHA ec18131View commit details -
dns: Use object without protoype for map
Currently we use `{}` for the `lookup` function to find the relevant resolver to the dns.resolve function. It is preferable to use an object without a Object.prototype, currently for example you can do something like: ```js dns.resolve("google.com", "toString", console.log); ``` And get `[Object undefined]` logged and the callback would never be called. This is unexpected and strange behavior in my opinion. In addition, if someone adds a property to `Object.prototype` might also create unexpected results. This pull request fixes it, with it an appropriate error is thrown. PR-URL: #5843 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a6112a - Browse repository at this point
Copy the full SHA 6a6112aView commit details -
Refactor a forEach to a `map` in the `setServers` function of the dns module - simplifying the code. In addition, use more descriptive variable names and `const` over `var` where possible. PR-URL: #5803 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a5c6d7 - Browse repository at this point
Copy the full SHA 2a5c6d7View commit details -
doc: fix doc for Buffer.readInt32LE()
Update example of readInt32LE method. buf.readInt32LE(1) is supposed to throw an error as it has only four elements and it tries to read 32 bits from three bytes. Fixes: #5889 PR-URL: #5890 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1f9aff - Browse repository at this point
Copy the full SHA f1f9affView commit details -
doc: add instructions to only sign a release
PR-URL: #5876 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e790b7 - Browse repository at this point
Copy the full SHA 8e790b7View commit details -
doc: fix order of end tags of list after heading
Current html result of a list after heading is <div class="signature"><ul>...</div></ul>. Correct it to <div class="signature"><ul>...</ul></div>. PR-URL: #5874 Fixes: #5873 Reviewed-By: Roman Reiss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 949b17f - Browse repository at this point
Copy the full SHA 949b17fView commit details -
doc: use consistent event name parameter
Implementing the suggestion in #4554 this pull request renames the parameter name in all the places that accept an event name as a parameter. Previously, the parameter has been called `event` or `type`. Now as suggested it is consistently called `eventName`. PR-URL: #5850 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2977839 - Browse repository at this point
Copy the full SHA 2977839View commit details -
doc: explain path.format expected properties
Explain the expected properties in path.format Fixes: #5746 PR-URL: #5801 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5676a35 - Browse repository at this point
Copy the full SHA 5676a35View commit details -
Fixes a copy typo in the events.md docs. PR-URL: #5849 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 858a524 - Browse repository at this point
Copy the full SHA 858a524View commit details -
etw: fix descriptors of events 9 and 23
Event 9 must include the string terminator in the last descriptor. Event 23 must be published with no descriptors, in accordance with the manifest. PR-URL: #5742 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 731f7b8 - Browse repository at this point
Copy the full SHA 731f7b8View commit details -
fs: add the fs.mkdtemp() function.
This uses libuv's mkdtemp function to provide a way to create a temporary folder, using a prefix as the path. The prefix is appended six random characters. The callback function will receive the name of the folder that was created. Usage example: fs.mkdtemp('/tmp/foo-', function(err, folder) { console.log(folder); // Prints: /tmp/foo-Tedi42 }); The fs.mkdtempSync version is also provided. Usage example: console.log(fs.mkdtemp('/tmp/foo-')); // Prints: tmp/foo-Tedi42 This pull request also includes the relevant documentation changes and tests. PR-URL: #5333 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Saúl Ibarra Corretgé <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80155d3 - Browse repository at this point
Copy the full SHA 80155d3View commit details -
http: speed up checkIsHttpToken
The Regex implementation is not faster than ascii code compare. the field name is shorter, the speed is faster. benchmark result here: https://bitbucket.org/snippets/JacksonTian/Rnbad/benchmark-result PR-URL: #4790 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63c601b - Browse repository at this point
Copy the full SHA 63c601bView commit details -
zlib: Fix handling of gzip magic bytes mid-file
Only treat the gzip magic bytes, when encountered within the file after reading a single block, as the start of a new member when the previous member has ended. Add test files that reliably reproduce #5852. The gzipped file in test/fixtures/pseudo-multimember-gzip.gz contains the gzip magic bytes exactly at the position that node encounters after having read a single block, leading it to believe that a new data member is starting. Fixes: #5852 PR-URL: #5863 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afcd276 - Browse repository at this point
Copy the full SHA afcd276View commit details -
win,build: build and test add-ons on test-ci
Added build-addons task, it allows to build and test native addons during test-ci task. Basically it should work in same way like Makefile "build-addons" task. Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: João Reis <[email protected]> PR-URL: #5886 Fixes: #2537
Configuration menu - View commit details
-
Copy full SHA for 77bed26 - Browse repository at this point
Copy the full SHA 77bed26View commit details -
tools: fix json doc generation
Current processList function in tools/doc/json.js does not recognise {"type":"loose_item_start"}. Fix it. PR-URL: #5943 Fixes: #5942 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Robert Lindstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb676cf - Browse repository at this point
Copy the full SHA cb676cfView commit details -
timers: fixing API refs to use safe internal refs
Added safe internal references for 'clearTimeout(..)', 'active(..)', and 'unenroll(..)'. Changed various API refs from 'export.*' to use these safe internal references. Now, overwriting the global API identifiers does not create potential breakage and/or race conditions. See Issue #2493. PR-URL: #5882 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Fixes: #2493
Configuration menu - View commit details
-
Copy full SHA for 7ec5397 - Browse repository at this point
Copy the full SHA 7ec5397View commit details -
test: fix test-debugger-client.js
Fix long-broken test-debugger-client by adding missing `\r\n\r\n` separator. PR-URL: #5851 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8344a52 - Browse repository at this point
Copy the full SHA 8344a52View commit details -
test: fix flaky test-http-set-timeout
Increase timeout on Raspberry Pi to alleviate flakiness. Fixes: #5854 PR-URL: #5856 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb0c5bc - Browse repository at this point
Copy the full SHA fb0c5bcView commit details -
test: move dns test to test/internet
parallel/test-dns-cares-domains needs a working internet connection to function (or a local DNS resolver that returns an answer quickly), otherwise it times out. Move it to test/internet. PR-URL: #5905 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82a50d3 - Browse repository at this point
Copy the full SHA 82a50d3View commit details -
test: fix flaky test-net-socket-timeout
Fixes: #5892 PR-URL: #5902 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a41fd93 - Browse repository at this point
Copy the full SHA a41fd93View commit details -
test: confirm globals not used internally
PR-URL: #5882 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3238bff - Browse repository at this point
Copy the full SHA 3238bffView commit details -
test: exclude new fs watch test for AIX
As per #5085 exclude new test from AIX until we have fixes for libuv for fs watching on AIX. Excluding test so AIX tests are green and we don't miss other regressions PR-URL: #5937 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6928a17 - Browse repository at this point
Copy the full SHA 6928a17View commit details -
test: remove the use of curl in the test suite
There were 2 tests using curl: `test-http-304.js` is removed because it was initially included to test that the 304 response does not contain a body, and this is already covered by `test-http-chunked-304.js`. `test-http-curl-chunk-problem` has been renamed and refactored so instead of using curl, it uses 2 child node processes: one for sending the HTTP request and the other to calculate the sha1sum. Originally, this test was introduced to fix a bug in `[email protected]`, and it was not fixed until `[email protected]`. A modified version of this test has been run with `[email protected]` and reproduces the problem. This same test has been run with `[email protected]` and runs correctly. Fixes: #5174 PR-URL: #5750 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a19de97 - Browse repository at this point
Copy the full SHA a19de97View commit details -
test: add test for piping large input from stdin
Check that piping a large chunk of data from `process.stdin` into `process.stdout` does not lose any data by verifying that the output has the same size as the input. This is a regression test for #5927 and fails for the commits in the range [ace1009..89abe86). PR-URL: #5949 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aebe624 - Browse repository at this point
Copy the full SHA aebe624View commit details -
src: override v8 thread defaults using cli options
Based on the conversation in #4243 this implements a way to increase and decrease the size of the thread pool used in v8. Currently v8 restricts the thread pool size to `kMaxThreadPoolSize` which at this commit is (4). So it is only possible to decrease the thread pool size at the time of this commit. However with changes upstream this could change at a later date. If set to 0 then v8 would choose an appropriate size of the thread pool based on the number of online processors. PR-URL: #4344 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d0c57f - Browse repository at this point
Copy the full SHA 0d0c57fView commit details -
repl: support standalone blocks
Enable support for standalone block statements. ```js node 🙈 ₹ git:(upstream ⚡ bare-block) ./node > { var x = 3; console.log(x); } 3 undefined > {} {} > { x:1, y:"why not", z: function() {} } { x: 1, y: 'why not', z: [Function] } > ``` For the ambiguous inputs like `{ x }`, the existing REPL behaviour (ES6 literal shorthand) is preserved (prefers expression over statement). Fixes: #5576 PR-URL: #5581 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4271732 - Browse repository at this point
Copy the full SHA 4271732View commit details -
querystring: don't stringify bad surrogate pair
Fixes: #3702 PR-URL: #5858 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2ad216 - Browse repository at this point
Copy the full SHA a2ad216View commit details -
net: emit host in lookup event
Previously, we emitted ip and addressType. This change includes the host as the last argument to the lookup event. PR-URL: #5598 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b07bc5d - Browse repository at this point
Copy the full SHA b07bc5dView commit details -
PR-URL: npm#6 Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6fabfc - Browse repository at this point
Copy the full SHA e6fabfcView commit details -
lib: refactor code with startsWith/endsWith
reduce using RegExp for string test. This pull reuqest replaces various usages of regular expressions in favor of the ES2015 startsWith and endsWith methods. PR-URL: #5753 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16a53e3 - Browse repository at this point
Copy the full SHA 16a53e3View commit details -
src: Add missing
using v8::MaybeLocal
As of 2cbbaaf (#5756) there’s a missing `using v8::MaybeLocal;` in `src/node.cc` that breaks the build. This patch adds the necessary line. PR-URL: #5974 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfd723f - Browse repository at this point
Copy the full SHA bfd723fView commit details -
lib,src: refactor src/node.js into internal files
PR-URL: #5103 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32bd75a - Browse repository at this point
Copy the full SHA 32bd75aView commit details -
lib,src: move src/node.js to lib/internal/node.js
PR-URL: #5103 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e571b14 - Browse repository at this point
Copy the full SHA e571b14View commit details -
lib: rename /node.js to /bootstrap_node.js
PR-URL: #5103 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ecb88f - Browse repository at this point
Copy the full SHA 4ecb88fView commit details -
PR-URL: #5914 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0acca76 - Browse repository at this point
Copy the full SHA 0acca76View commit details -
test: mitigate flaky test-https-agent
Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to exhibit flakiness around 22 or so clients. PR-URL: #5939 Fixes: #5938 Refs: #5184 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6113f6a - Browse repository at this point
Copy the full SHA 6113f6aView commit details -
test: add known_issues test for GH-2148
PR-URL: #5920 Refs: #2148 Reviewed-By: Brian White <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5c7ae8 - Browse repository at this point
Copy the full SHA c5c7ae8View commit details -
node: --no-browser-globals configure flag
Introduce `--no-browser-globals` configure flag. With this flag set, following globals won't be exported: - `setTimeout`, `clearTimeout`, `setInterval`, `clearInterval`, `setImmediate`, `clearImmediate` - `console` These are provided by the DOM implementation in browser, so the `--no-browser-globals` flag may be helpful when embedding node.js within chromium/webkit. Inspired-By: atom/node@82e10ce PR-URL: #5853 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8cdf9a - Browse repository at this point
Copy the full SHA e8cdf9aView commit details -
etw,build: always generate .rc and .h files
We can assume the Windows SDK is installed, hence the intermediate files generated from manifest should not be part of the source tree. This also fixes incorrect detection of ctrpp.exe, that should be in the path. PR-URL: #5657 Reviewed-By: Alexis Campailla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40f0175 - Browse repository at this point
Copy the full SHA 40f0175View commit details -
governance: remove target size for CTC
PR-URL: #5879 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7dcffb - Browse repository at this point
Copy the full SHA c7dcffbView commit details
Commits on Apr 1, 2016
-
2016-03-31 Version 5.10.0 (Stable) Release
Notable changes: * buffer: * make byteLength work with ArrayBuffer & DataView (Jackson Tian) [#5255](#5255) * backport --zero-fill-buffers command line option (James M Snell) [#5744](#5744) * backport new buffer constructor APIs (James M Snell) [#5763](#5763) * add swap16() and swap32() methods (James M Snell) [#5724](#5724) * fs: add the fs.mkdtemp() function. (Florian MARGAINE) [#5333](#5333) * net: emit host in lookup event (HUANG Wei) [#5598](#5598) * node: --no-browser-globals configure flag (Fedor Indutny) [#5853](#5853) * npm: Upgrade to v3.8.3. Fixes a security flaw in the use of authentication tokens in HTTP requests that would allow an attacker to set up a server that could collect tokens from users of the command-line interface. Authentication tokens have previously been sent with every request made by the CLI for logged-in users, regardless of the destination of the request. This update fixes this by only including those tokens for requests made against the registry or registries used for the current install. (Forrest L Norvell) [npm#6](npm#6) * repl: support standalone blocks (Prince J Wesley) [#5581](#5581) * src: override v8 thread defaults using cli options (Tom Gallacher) [#4344](#4344)
Configuration menu - View commit details
-
Copy full SHA for 79ea8c3 - Browse repository at this point
Copy the full SHA 79ea8c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0605555 - Browse repository at this point
Copy the full SHA 0605555View commit details
Commits on Apr 2, 2016
-
buffer: don't set
kNoZeroFill
flag in allocUnsafeIf `kNoZeroFill` is set here, it won't be reset in case of pooled allocation. In case of "slow" allocation it will be set later anyway. Fixes: #6006 PR-URL: #6007 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e966d1f - Browse repository at this point
Copy the full SHA e966d1fView commit details
Commits on Apr 5, 2016
-
net: refactor self=this to arrow functions
Refactor unused self=this code to code without without this pattern making it more consistent with the rest of our code. PR-URL: #5857 Reviewed-By: Brian White <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Roman Klauke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3f19ee - Browse repository at this point
Copy the full SHA f3f19eeView commit details -
Reviewed-By: Ben Noordhuis <[email protected]> PR-URL: #5936
Configuration menu - View commit details
-
Copy full SHA for 0a13099 - Browse repository at this point
Copy the full SHA 0a13099View commit details -
test: stdin is not always a net.Socket
`<`-ing a file into stdin actually results in a `fs.ReadStream`, rather than a `tty.ReadStream`, and as such does not inherit from net.Socket, unlike the other possible stdin options. Refs: #5916 PR-URL: #5935 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f14d71c - Browse repository at this point
Copy the full SHA f14d71cView commit details -
test: fix offending max-len linter error
Refer: #5935 PR-URL: #5980 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Phillip Johnsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f1fa2a - Browse repository at this point
Copy the full SHA 4f1fa2aView commit details -
test: ensure _handle property existence
`test-stdtout-close-unref.js` will fail if `process.stdin._handle` does not exist. On UNIX-like operating systems, you can see this failure this way: ./node test/parallel/test-stdout-close-unref.js < /dev/null This issue has been experienced by @bengl and @drewfish in a Docker container. I'm not sure why they are experiencing it in their environment, but since it is possible that the `_handle` property does not exist, let's use `child_process.spawn()` to make sure it exists. PR-URL: #5916 Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96bb315 - Browse repository at this point
Copy the full SHA 96bb315View commit details -
http: Corrects IPv6 address in Host header
IPv6 addresses in Host header (URI), must be enclosed within square brackets, in order to properly separate the host address from any port reference. PR-URL: #5314 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6ac6f2 - Browse repository at this point
Copy the full SHA c6ac6f2View commit details -
build: introduce ci targets for lint/benchmark
Introduce two new targets we will populate with actions once merged into all branches we need to support through CI. PR-URL: #5921 Reviewed-By: Brian White <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: João Reis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f75751 - Browse repository at this point
Copy the full SHA 3f75751View commit details -
test: refactor http-end-throw-socket-handling
Remove timer to avoid the test timing out occasionally. PR-URL: #5676 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a40b0cb - Browse repository at this point
Copy the full SHA a40b0cbView commit details -
doc: consolidate timers docs in timers.markdown
Rather than attempting to keep two versions of docs for timers up to date, keep them in timers.markdown, and leave references to them in globals.markdown. Add setImmediate and clearImmediate to globals.markdown. Change "To schedule" to "Schedules" in timers.markdown. PR-URL: #5837 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bec8aa - Browse repository at this point
Copy the full SHA 8bec8aaView commit details -
doc: clarify that __dirname is module local
Fixes: #5525 PR-URL: #6018 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ae5d02 - Browse repository at this point
Copy the full SHA 0ae5d02View commit details -
doc: minor argument formatting in stream.markdown
Fixes: #4350 PR-URL: #6016 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7337ef6 - Browse repository at this point
Copy the full SHA 7337ef6View commit details -
tools: remove disabling of already-disabled rule
`require-buffer` is only enabled in the `lib` directory. There is no need to disable it in `test`. PR-URL: #6013 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7491fdc - Browse repository at this point
Copy the full SHA 7491fdcView commit details -
doc: add 'Command Line Options' to 'View on single page'
Includes cli.markdown in all.markdown PR-URL: #6011 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce17371 - Browse repository at this point
Copy the full SHA ce17371View commit details -
doc: clarify stdout/stderr arguments to callback
Clarify that the arguments to child_process.execFile and child_process.exec callback can be Buffer or strings. Fixes: #3389 PR-URL: #6015 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f12c386 - Browse repository at this point
Copy the full SHA f12c386View commit details -
doc: document unspecified behavior for buf.write* methods
Per #1161, when the buf.write*() methods are given anything other than what they expect, indicate that the behavior is unspecified. Fixes: #1161 PR-URL: #5925 Reviewed-By: Claudio Rodriguez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f879f5e - Browse repository at this point
Copy the full SHA f879f5eView commit details -
test: fix error message checks in test-module-loading
PR-URL: #5986 Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6052ced - Browse repository at this point
Copy the full SHA 6052cedView commit details -
test: fix test-dns.js flakiness
Use empty string instead of `www.google.com` for tests where we are just doing parameter evaluation. This will avoid DNS lookups which appear to be causing flakiness on Raspberry Pi devices in CI. PR-URL: #5996 Fixes: #5554 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0127c2b - Browse repository at this point
Copy the full SHA 0127c2bView commit details -
doc: note assert.throws() pitfall
PR-URL: #6029 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd25984 - Browse repository at this point
Copy the full SHA dd25984View commit details -
test: fix flaky test-net-socket-timeout-unref
Throw immediately on socket timeout rather than checking boolean in exit handler. PR-URL: #6003 Fixes: #5128 Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ab1237 - Browse repository at this point
Copy the full SHA 2ab1237View commit details -
doc: use HTTPS for links where possible
Provide encrypted links to freenode IRC. PR-URL: #6019 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa9fb03 - Browse repository at this point
Copy the full SHA aa9fb03View commit details -
path: fix win32.isAbsolute() inconsistency
This commit fixes an inconsistency in absolute path checking compared to the absolute path detection used by the other path.win32 functions. Fixes: #6027 PR-URL: #6028 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c40079 - Browse repository at this point
Copy the full SHA 1c40079View commit details -
test: explicitly set global in test-repl
The test intentionally assigns a global. Use `global` namespace to make it clear that it is intentional and not an accidental leak. PR-URL: #6026 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02f2ebd - Browse repository at this point
Copy the full SHA 02f2ebdView commit details -
test: make arch available in status files
The value is retrieved from `process.arch` in node itself. PR-URL: #5997 Reviewed-By: João Reis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7db7a82 - Browse repository at this point
Copy the full SHA 7db7a82View commit details -
test: be explicit about polluting of
global
There was a comment in `test-domain-crypto.js` indicating that the pollution of the `global` object with a `domain` property was intentional. Provide more information in the comment so someone may easily determine why. Use `global.domain` rather than declaring `domain` without the `var` keyword to more clearly signal that the pollution is intentional. PR-URL: #6017 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc8fcc5 - Browse repository at this point
Copy the full SHA cc8fcc5View commit details -
test: make use of globals explicit
Use `global` to be explicit that a global variable is intended. PR-URL: #6014 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 059b607 - Browse repository at this point
Copy the full SHA 059b607View commit details -
assert: Check typed array view type in deepEqual
Do not convert typed arrays to `Buffer` for deepEqual since their values may not be accurately represented by 8-bit ints. Instead perform binary comparison of underlying `ArrayBuffer`s, but only when the array types match. Never apply any kind of optimization for floating-point typed arrays since bit pattern equality is not the right kind of check for them. PR-URL: #5910 Reviewed-By: Benjamin Gruenbaum <[email protected]> Fixes: #5907
Configuration menu - View commit details
-
Copy full SHA for 0f5a51a - Browse repository at this point
Copy the full SHA 0f5a51aView commit details -
tools: remove obsolete lint config file
All JS files have been moved out of the `src` directory so the `.eslintrc` file in that directory can also be removed. PR-URL: #5959 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Klauke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50a062e - Browse repository at this point
Copy the full SHA 50a062eView commit details -
meta: add "joining a wg" section to WORKING_GROUPS.md
In the WORKING_GROUPS.md documentation, it is described how to start a wg, but not how to join an existing wg. This commit addresses that issue. Fixes: #5448 PR-URL: #5488 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8317778 - Browse repository at this point
Copy the full SHA 8317778View commit details -
doc: refine child_process detach behaviour
this adds an example of a long running node process that actually executes node code. Also it mentions the not to harmonic detach behaviours of the different platforms, whereas detaching on unix requires ignoring the child_process' stdio explicitely. PR-URL: #5330 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 781290b - Browse repository at this point
Copy the full SHA 781290bView commit details -
2016-04-05, Version 5.10.1 (Stable) Release
Notable changes: http: * Enclose IPv6 Host header in square brackets. This will enable proper seperation of the host adress from any port reference (Mihai Potra) #5314 path: * Make win32.isAbsolute more consistent (Brian White) #6028
Myles Borins committedApr 5, 2016 Configuration menu - View commit details
-
Copy full SHA for 6888706 - Browse repository at this point
Copy the full SHA 6888706View commit details