- Jan 22, 2015
-
-
Calvin Metcalf authored
Updates the docs for the crypto.pseudoRandomBytes function to more explicitly detail how it's the same as crypto.randomBytes just without a safety net (e.g. it doesn't throw an error when there is low entropy). PR-URL: https://github.com/iojs/io.js/pull/545 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Fix up a node reference that was missed in commit daf9562d. PR-URL: https://github.com/iojs/io.js/pull/538 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
No out-of-tree patches, yay! PR-URL: https://github.com/iojs/io.js/pull/555 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Rod Vagg authored
PR-URL: https://github.com/iojs/io.js/pull/508 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Bert Belder authored
`url.format()` doesn't take a `path` option; the change that introduced it was reverted in 913addbf. PR: https://github.com/iojs/io.js/pull/546 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Jackson Tian authored
These flags were defined as constants, but could be overwritten when exported from fs. This commit exports the flags as read only properties of fs. PR-URL: https://github.com/iojs/io.js/pull/507 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
This commit replaces a number of var statements throughout the lib code with const statements. PR-URL: https://github.com/iojs/io.js/pull/541 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 21, 2015
-
-
Ben Noordhuis authored
Fixes a NULL pointer dereference with unterminated template literals. This is a back-port of commit v8/v8-git-mirror@02218ad from the V8 master branch, see https://code.google.com/p/v8/issues/detail?id=3820. PR-URL: https://github.com/iojs/io.js/pull/534 Reviewed-By:
Caitlin Potter <caitpotter88@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Vladimir Kurchatkin authored
Since setting object properties in C++ can be slow, pass data to JS using preallocated smalloc buffer and create object in JS instead. PR-URL: https://github.com/iojs/io.js/pull/469 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/516 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Trevor Norris authored
Mark several methods "override" in order to remove build warnings. PR-URL: https://github.com/iojs/io.js/pull/531 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Cheng Zhao authored
This can make node_is_initialized correctly set to true for applications that use node::Init to embed iojs. PR-URL: https://github.com/iojs/io.js/pull/225/ Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Remove a few unused or barely used macros from src/node_file.cc. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Rename the misnomers ASSERT_IS_STRING_OR_BUFFER and ASSERT_IS_BUFFER. Said macros don't assert, they throw a TypeError and return. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Add ASSERT counterparts to the CHECK_EQ/CHECK_NE/etc. family of macros. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Commit 29313483 added EventEmitter#getMaxListeners() but introduced a regression when people abuse EventEmitter.prototype.on.call() to call EventEmitter#on() on a non-EE object. Add a workaround for that. Fixes: https://github.com/iojs/io.js/issues/523 PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
Add missing commas in parallel/test-event-emitter-get-max-listeners. Comma-less style is fine and dandy but it throws off vim's autoindent. PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
Commit 3e1b1dd4 missed a few files in test/parallel, this commit rectifies that. Only test/parallel/test-url.js still has a copyright header. I left it in because the original author is neither an io.js contributor nor a StrongLoop employee. PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
Define fs constants using const, as the newer version of v8 supports it, and appears to be capable of optimizing. PR-URL: https://github.com/iojs/io.js/pull/522 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 20, 2015
-
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes * V8 upgrade from 3.31 to 4.1, this is not a major upgrade, the version number "4.1" signifies tracking towards Chrome 41. The 3.31 branch is now not tracking towards a stable release. * Re-enable Windows XP / 2003 support * npm upgrade to 2.2.0 * Improved FreeBSD support
-
toastynerd authored
dlopen takes exactly 2 arguments, check for exactly 2 PR-URL: https://github.com/iojs/io.js/pull/515 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
cjihrig authored
This commit adds a code field to the error returned by nullCheck(). Fixes: https://github.com/iojs/io.js/issues/517 PR-URL: https://github.com/iojs/io.js/pull/519 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
3ac49419 introduced a bug as it attempted to access properties of an undefined variable. This commit cleans up the offending code. Fixes: https://github.com/iojs/io.js/issues/510 PR-URL: https://github.com/iojs/io.js/pull/514 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Bert Belder authored
The duplicate warning was fixed by e1fe270f, but returned as of 9f45799d. Hopefully this will fix the issue for good. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Bert Belder authored
Chrome still runs on Windows XP, so there is no reason that iojs couldn't. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Timothy J Fontaine authored
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes: https://github.com/joyent/node/issues/6440 Original-PR-URL: https://github.com/joyent/node/pull/9037 Signed-off-by:
Julien Gilli <julien.gilli@joyent.com> Fixes: https://github.com/iojs/io.js/issues/340 PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Reland the changes from commit 11c1bae7 ("lib: make --debug-port work with cluster") that were temporarily backed out to cherry-pick commits from joyent/node. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Timothy J Fontaine authored
unref one superfluous timer (as the test suite already has a global timeout), and improve the state machine to iterate the messages more reliably. Ultimately make the test complete more quickly. Original-PR-URL: [unknown] Signed-off-by:
Julien Gilli <julien.gilli@joyent.com> PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Temporarily revert the changes to test/ from commit 11c1bae7 ("lib: make --debug-port work with cluster") to ease cherry-picks from joyent/node. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Move sequential/test-debug-port-from-cmdline to test/parallel. Per the previous commit, it should now be possible to run the test in parallel with other debugger tests. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Julien Gilli authored
Make this test less prone to race conditions by using synchronous interprocess communication instead of a timer to determine when the child process is ready to receive messages from its parent. Also, remove a superfluous timer since the tests suite already makes tests time out after a while. Original-PR-URL: https://github.com/joyent/node/pull/9049 Reviewed-By:
Timothy J Fontaine <tjfontaine@gmail.com> PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
- Jan 19, 2015
-
-
Xiaowei Li authored
Let REPL enter multiline mode if user's input contains unterminated template literals. PR-URL: https://github.com/iojs/io.js/pull/333 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Johan Bergström authored
PR-URL: https://github.com/iojs/io.js/pull/505 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Glen Keane authored
PR-URL: https://github.com/iojs/io.js/pull/444 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Roman Reiss authored
Reduces the previously pretty-printed configuration dictionary to a single line wrapped at 78 characters. This makes warning messages which appear before this print more visible to the user. PR-URL: https://github.com/iojs/io.js/pull/483 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Saúl Ibarra Corretgé <saghul@gmail.com>
-
Jay Jaeho Lee authored
This is following-up fix for https://codereview.chromium.org/813873007/. This bug currently breaks node-inspector client to work. PR-URL: https://github.com/iojs/io.js/pull/494 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Thomas Jensen authored
util.isPrimitive was used in place of util.isBuffer. PR-URL: https://github.com/iojs/io.js/pull/496 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Yosuke Furukawa authored
Fix up the tcp raw benchmarks after an internal API change. PR-URL: https://github.com/iojs/io.js/pull/495 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 18, 2015
-
-
Ben Noordhuis authored
deps/v8/benchmarks/regexp.js clobbers the RegExp global, breaking util.format() and console.log(). Unclobber it to keep the other benchmarks working. Fixes the following error when running benchmark/misc/v8-bench.js: $ out/Release/iojs benchmark/misc/v8-bench.js util.js:84 if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { ^ TypeError: object is not a function at Object.exports.debuglog (util.js:84:9) at timers.js:12:29 at NativeModule.compile (node.js:800:5) at NativeModule.require (node.js:769:18) at net.js:5:14 at NativeModule.compile (node.js:800:5) at NativeModule.require (node.js:769:18) at tty.js:4:11 at NativeModule.compile (node.js:800:5) at Function.NativeModule.require (node.js:769:18) This could alternatively be addressed by caching the RegExp global in lib/util.js. That's not a bad approach and I considered it but doing it for just RegExp and not other globals would be half-baked. Maybe the more thorough approach where we cache all globals at start-up is something for a follow-up pull request. Fixes: https://github.com/iojs/io.js/pull/475 PR-URL: https://github.com/iojs/io.js/pull/489 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com>
-